auriga-cli 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -123,6 +123,12 @@ Re-running the installer preserves your customized `config.json` and `icon.png`,
123
123
  - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (required for Plugins and Hooks modules)
124
124
  - [Homebrew](https://brew.sh) (recommended for the `notify` hook to install `alerter`)
125
125
 
126
+ ## Development
127
+
128
+ - `npm test` — unit/integration tests (sub-second)
129
+ - `bash tests/ship-loop.test.sh` — ship-loop Stop hook tests (bash)
130
+ - `npm run test:e2e` — full tarball install e2e suite (~90-120s). Packs the actual npm tarball, installs it into a scratch project, and runs `auriga-cli install` against GitHub content pinned to the current HEAD SHA. The preflight uses `git branch -r --contains HEAD` — purely local, no network — so **HEAD must be reachable from a local remote ref** (a successful `git push` updates local remote refs synchronously; if someone else pushed, run `git fetch` first). The `plugins` and `--all` scenarios additionally require the `claude` CLI on PATH; they skip gracefully otherwise.
131
+
126
132
  ## License
127
133
 
128
134
  MIT
package/README.zh-CN.md CHANGED
@@ -123,6 +123,12 @@ npx auriga-cli
123
123
  - [Claude Code](https://docs.anthropic.com/en/docs/claude-code)(Plugins 和 Hooks 模块需要)
124
124
  - [Homebrew](https://brew.sh)(`notify` hook 用来安装 `alerter`,可选)
125
125
 
126
+ ## 开发
127
+
128
+ - `npm test` —— 单元/集成测试(亚秒)
129
+ - `bash tests/ship-loop.test.sh` —— ship-loop Stop hook 测试(bash)
130
+ - `npm run test:e2e` —— 完整的 tarball 安装 e2e 套件(~90-120s)。`npm pack` 打出真实 tarball,装到临时项目,对着 GitHub 上当前 HEAD SHA 对应的 content 跑 `auriga-cli install`。预检用 `git branch -r --contains HEAD`,纯本地、不发网络请求,因此 **HEAD 必须能被任何本地 remote ref 追溯到**(`git push` 成功时会同步更新本地 remote ref;如果是别人推的,先 `git fetch`)。`plugins` 和 `--all` 场景还要求 `claude` CLI 已在 PATH,否则这两条会优雅跳过。
131
+
126
132
  ## License
127
133
 
128
134
  MIT
package/dist/catalog.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-04-21T14:49:19.814Z",
2
+ "generatedAt": "2026-04-22T05:16:53.660Z",
3
3
  "workflowSkills": [
4
4
  {
5
5
  "name": "brainstorming",
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,16 @@
1
1
  {
2
2
  "name": "auriga-cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "Interactive CLI to install Claude Code harness modules (Workflow, Skills, Recommended Skills, Plugins, Hooks)",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Ben2pc/auriga-cli.git"
9
+ },
10
+ "homepage": "https://github.com/Ben2pc/auriga-cli#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/Ben2pc/auriga-cli/issues"
13
+ },
5
14
  "type": "module",
6
15
  "bin": {
7
16
  "auriga-cli": "dist/cli.js"
@@ -17,7 +26,9 @@
17
26
  "start": "node dist/cli.js",
18
27
  "pretest": "npm run build",
19
28
  "test": "tsc -p tsconfig.test.json && DEV=1 node --test --experimental-test-module-mocks dist-test/tests/hooks.test.js dist-test/tests/skills.test.js dist-test/tests/catalog.test.js dist-test/tests/cli-parse.test.js dist-test/tests/install-nontty.test.js dist-test/tests/guide.test.js dist-test/tests/validators.test.js dist-test/tests/entrypoint.test.js",
20
- "test:watch": "tsc -p tsconfig.test.json --watch & node --test --watch --experimental-test-module-mocks dist-test/tests/hooks.test.js dist-test/tests/skills.test.js dist-test/tests/catalog.test.js dist-test/tests/cli-parse.test.js dist-test/tests/install-nontty.test.js dist-test/tests/guide.test.js dist-test/tests/validators.test.js dist-test/tests/entrypoint.test.js"
29
+ "test:watch": "tsc -p tsconfig.test.json --watch & node --test --watch --experimental-test-module-mocks dist-test/tests/hooks.test.js dist-test/tests/skills.test.js dist-test/tests/catalog.test.js dist-test/tests/cli-parse.test.js dist-test/tests/install-nontty.test.js dist-test/tests/guide.test.js dist-test/tests/validators.test.js dist-test/tests/entrypoint.test.js",
30
+ "pretest:e2e": "npm run build",
31
+ "test:e2e": "tsc -p tsconfig.test.json && node --test dist-test/tests/e2e-install.test.js"
21
32
  },
22
33
  "engines": {
23
34
  "node": ">=18"