{"_id":"@appilot-labs/appilot-headless-cli","_rev":"5-59564fd9f2d554fce2fedce70da97806","name":"@appilot-labs/appilot-headless-cli","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@appilot-labs/appilot-headless-cli","version":"1.0.0","_id":"@appilot-labs/appilot-headless-cli@1.0.0","maintainers":[{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"}],"bin":{"appilot-headless":"dist/cli.js"},"dist":{"shasum":"47360e3f1476bf8db03e477ebf815fd123e5afd4","tarball":"https://registry.npmjs.org/@appilot-labs/appilot-headless-cli/-/appilot-headless-cli-1.0.0.tgz","fileCount":4,"integrity":"sha512-e4ptZAZtGYF4YHslG/0C0Vxm2/+STFVPscNRb3GPCD8jfDa2MrJfalkGEZr4KnEnVwLAuoIJlonKl5FsH7NbJg==","signatures":[{"sig":"MEUCIQD50NNKjl71yjxC6Kj05zNKgUkGM2aYoivHlSBuoSyggAIgcV33m7C38pFdnv9EiZ87ThJaIkas12/96po96awiZxk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18736},"main":"./dist/cli.js","types":"./dist/cli.d.ts","gitHead":"d973350c62861ca25bb29788815a3d84a0a629c2","scripts":{"test":"tsx tests/*.test.ts","build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"},"_npmVersion":"10.9.8","description":"Appilot headless CLI——直接对接 headless 服务 API（projects/snapshots/tasks），无壳依赖。","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@appilot-labs/appilot-headless":"^1.0.0","@appilot-labs/appilot-scheduler":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/appilot-headless-cli_1.0.0_1788523034410_0.24312949044576482","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@appilot-labs/appilot-headless-cli","version":"1.0.1","_id":"@appilot-labs/appilot-headless-cli@1.0.1","maintainers":[{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"}],"homepage":"https://github.com/wxy/appilot#readme","bugs":{"url":"https://github.com/wxy/appilot/issues"},"bin":{"appilot-headless":"dist/cli.js"},"dist":{"shasum":"80cbc6ca6ed506576daf5b081edfc224623c80b0","tarball":"https://registry.npmjs.org/@appilot-labs/appilot-headless-cli/-/appilot-headless-cli-1.0.1.tgz","fileCount":4,"integrity":"sha512-SOOGla7bcuq/Q55t80nH8AlruHx7stcYMN1H6mDDbjmKPcDHLJ2CCOO3/KEPRJDsO1TiMhHq0vmg2Oux2sod+w==","signatures":[{"sig":"MEUCICRcqHYZ/aWM0Ev7SGP5DAWDLCr/9s6N+bCPpSAZPzOyAiEAyoF8FTUYYmx4HPacs4gzBTaVQOjWGHELVv5BPqt2w1U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appilot-labs%2fappilot-headless-cli@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18830},"main":"./dist/cli.js","types":"./dist/cli.d.ts","gitHead":"5c252be4290d90c830b0c155364397374b8d9a49","scripts":{"test":"tsx tests/*.test.ts","build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c954ff8-c3d3-4a95-9876-25605c8648dc"}},"repository":{"url":"git+https://github.com/wxy/appilot.git","type":"git"},"_npmVersion":"11.19.0","description":"Appilot headless CLI——直接对接 headless 服务 API（projects/snapshots/tasks），无壳依赖。","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@appilot-labs/appilot-headless":"^1.0.0","@appilot-labs/appilot-scheduler":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/appilot-headless-cli_1.0.1_1788528554816_0.7420247592393938","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@appilot-labs/appilot-headless-cli","version":"1.1.0","_id":"@appilot-labs/appilot-headless-cli@1.1.0","maintainers":[{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"}],"homepage":"https://github.com/wxy/appilot#readme","bugs":{"url":"https://github.com/wxy/appilot/issues"},"bin":{"appilot-headless":"dist/cli.js"},"dist":{"shasum":"5299f797a143fabc584630e98f878e472d5d982c","tarball":"https://registry.npmjs.org/@appilot-labs/appilot-headless-cli/-/appilot-headless-cli-1.1.0.tgz","fileCount":5,"integrity":"sha512-86zbFUQHBYuaiCq9MgqBkNUaI5rokh+xyQNwdYW+QGjK95UKbbCWn/e1L58tyW02JmUjuHBYWMqr5d/TvQtbdQ==","signatures":[{"sig":"MEQCIHQ8maJs10EP7VDry40OAb44eOB1LGB0vPikZGg6SIMCAiA7/mF4dDaLMeurKfy4CsGf0d6V3lH/+eCRYGCCMzyy7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appilot-labs%2fappilot-headless-cli@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19717},"main":"./dist/cli.js","types":"./dist/cli.d.ts","gitHead":"64558c1cc40ae87223257e92cafd77c298c2ec34","scripts":{"test":"tsx tests/*.test.ts","build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c954ff8-c3d3-4a95-9876-25605c8648dc"}},"repository":{"url":"git+https://github.com/wxy/appilot.git","type":"git"},"_npmVersion":"11.19.0","description":"Appilot headless CLI——直接对接 headless 服务 API（projects/snapshots/tasks），无壳依赖。","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@appilot-labs/appilot-headless":"^1.1.0","@appilot-labs/appilot-scheduler":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/appilot-headless-cli_1.1.0_1789095134022_0.46559195849432533","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@appilot-labs/appilot-headless-cli","version":"1.2.0","_id":"@appilot-labs/appilot-headless-cli@1.2.0","maintainers":[{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"}],"homepage":"https://github.com/wxy/appilot#readme","bugs":{"url":"https://github.com/wxy/appilot/issues"},"bin":{"appilot-headless":"dist/cli.js"},"dist":{"shasum":"4c0b931fc6c005fad8de3bc32f84f5fee9ed0625","tarball":"https://registry.npmjs.org/@appilot-labs/appilot-headless-cli/-/appilot-headless-cli-1.2.0.tgz","fileCount":5,"integrity":"sha512-YGColhF756F562VyY07ens51cWBEuyS2AhlExerAPyJLukh3KO2QIOveQxEaU4omu5WrbwgXBviPqp3IgfZ8XA==","signatures":[{"sig":"MEUCIBLtkp+MC5egBKrHt9EzaDrW1Mow5/PJL04ismNwuYUaAiEA2KPDoHP4UKNYHZwNyASidWrMB8I0kuJU074Pa/2ERfM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appilot-labs%2fappilot-headless-cli@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19715},"main":"./dist/cli.js","types":"./dist/cli.d.ts","gitHead":"3ea1abe5c6936110f705374bfab423fbd7c63d78","scripts":{"test":"tsx tests/*.test.ts","build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c954ff8-c3d3-4a95-9876-25605c8648dc"}},"repository":{"url":"git+https://github.com/wxy/appilot.git","type":"git"},"_npmVersion":"11.19.0","description":"Appilot headless CLI——直接对接 headless 服务 API（projects/snapshots/tasks），无壳依赖。","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@appilot-labs/appilot-headless":"^1.2.0","@appilot-labs/appilot-scheduler":"^1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/appilot-headless-cli_1.2.0_1789293907702_0.5128400937066586","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"_id":"@appilot-labs/appilot-headless-cli@1.3.0","bin":{"appilot-headless":"dist/cli.js"},"bugs":{"url":"https://github.com/wxy/appilot/issues"},"dist":{"shasum":"279691a9ddd8061f243150038fd390ca3a5023c1","tarball":"https://registry.npmjs.org/@appilot-labs/appilot-headless-cli/-/appilot-headless-cli-1.3.0.tgz","fileCount":5,"integrity":"sha512-BLXkZwcDhxOhHqV82MG8cAqftprfMt5LERKkYWvc55NYNK9RVhzZVMadZFOSM4URorufphSUKnjT43BcBCtBkQ==","signatures":[{"sig":"MEQCIA9gacZv/AdQVTFtvdGjJUFhF+ypIjpK+QcJY713IhC5AiBzkpgM1AKabjSrk8z6krW5xTYOXlp+Rd3K7v6h91sYhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBjSVz02OGhBywbmHkYS1Y6ZvgLedJ1pxNxm0E7ldN6sAiEAlN9/iTpuzPuZKun1x7gpOPucBXTvfoS0XB1j1GjXmP4="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appilot-labs%2fappilot-headless-cli@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20138},"main":"./dist/cli.js","name":"@appilot-labs/appilot-headless-cli","types":"./dist/cli.d.ts","gitHead":"882db82752073f5736d32ae6b116e3c97d3ac87e","license":"GPL-3.0-or-later","scripts":{"test":"tsx tests/*.test.ts","build":"tsc -p tsconfig.json","typecheck":"tsc --noEmit -p tsconfig.json","prepublishOnly":"npm run build"},"version":"1.3.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c954ff8-c3d3-4a95-9876-25605c8648dc"}},"homepage":"https://github.com/wxy/appilot#readme","repository":{"url":"git+https://github.com/wxy/appilot.git","type":"git"},"_npmVersion":"11.19.0","description":"Appilot headless CLI——直接对接 headless 服务 API（projects/snapshots/tasks），无壳依赖。","directories":{},"maintainers":[{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"@appilot-labs/appilot-headless":"^1.3.0","@appilot-labs/appilot-scheduler":"^1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","typescript":"^5.7.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/appilot-headless-cli_1.3.0_1790422535200_0.0972251357038445"}}},"time":{"created":"2026-09-04T11:57:14.156Z","modified":"2026-09-26T11:35:35.605Z","1.0.0":"2026-09-04T11:57:14.531Z","1.0.1":"2026-09-04T13:29:14.942Z","1.1.0":"2026-09-11T02:52:14.161Z","1.2.0":"2026-09-13T10:05:07.839Z","1.3.0":"2026-09-26T11:35:35.289Z"},"bugs":{"url":"https://github.com/wxy/appilot/issues"},"homepage":"https://github.com/wxy/appilot#readme","repository":{"url":"git+https://github.com/wxy/appilot.git","type":"git"},"description":"Appilot headless CLI——直接对接 headless 服务 API（projects/snapshots/tasks），无壳依赖。","maintainers":[{"name":"xingyu.wang","email":"xingyu.wang@gmail.com"}],"readme":"<!-- 中文版说明（仓库内提供）。English: [README.md](./README.md) -->\n# @appilot-labs/appilot-headless-cli\n\n直接对接 headless 服务 API 的命令行工具（项目 / 排名快照 / 任务 / 租约），\n无任何壳依赖。与 Electron / DSH / daemon 读写同一共享 SQLite 数据库。\n\n## 用法\n\n```bash\n# 打印共享数据库路径\nappilot-headless db\n\n# 项目注册表\nappilot-headless projects list\nappilot-headless projects get <name>\nappilot-headless projects register <path> [--name <name>]\nappilot-headless projects remove <name>\n\n# 排名快照\nappilot-headless snapshots latest <project> [--product <id>]\nappilot-headless snapshots history <project> [--product <id>] [--keyword <kw>] [--limit <n>]\nappilot-headless snapshots prune <project> [--before <iso>]   # 默认清 90 天前\n\n# 任务与调度观测\nappilot-headless tasks list [--source dsh|electron|cli|scheduler]\nappilot-headless lease status          # 当前租约主\nappilot-headless run <taskId>          # 显式触发\n```\n\n输出一律 JSON（stdout）；错误写 stderr 并以非零码退出，适合脚本 / agent 消费。\n\n## 环境变量\n\n| 变量 | 说明 |\n| --- | --- |\n| `APPILOT_DB_FILE` | 覆盖数据库路径（测试/隔离用） |\n","readmeFilename":"README.zh.md","license":"GPL-3.0-or-later"}