auriga-cli 1.1.0 → 1.4.1

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
@@ -57,6 +57,9 @@ Installs selected skills via `npx skills add`, targeting both Claude Code and Co
57
57
  | planning-with-files | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | File-based task planning and progress tracking |
58
58
  | playwright-cli | [microsoft/playwright-cli](https://github.com/microsoft/playwright-cli) | Browser automation and testing |
59
59
  | ui-ux-pro-max | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX design and development enhancement |
60
+ | deep-review | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Multi-dimensional PR review orchestrator (required + conditional reviewers + punch list) |
61
+ | test-designer | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Independent-Evaluation test designer for TDD red phase |
62
+ | parallel-implementation | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | Slice planner for parallel multi-subagent code writing |
60
63
 
61
64
  Supports both project and global installation scopes.
62
65
 
@@ -76,7 +79,7 @@ Installs Claude Code hooks into a chosen scope. Each hook is self-contained unde
76
79
 
77
80
  | Hook | Description |
78
81
  |---|---|
79
- | notify | Native macOS notification when Claude needs your attention. Auto-installs `terminal-notifier` via Homebrew. Customize sound and icon by editing `.claude/hooks/notify/config.json` and replacing `.claude/hooks/notify/icon.png`. macOS-only at runtime; silent no-op on other platforms. |
82
+ | notify | Native macOS notification when Claude needs your attention. Shows the brand mark in the small app-icon position, with click-to-activate that brings the originating terminal back to the foreground. Auto-installs `alerter` via Homebrew (`vjeantet/tap/alerter`). Customize sound and icon by editing `.claude/hooks/notify/config.json` and replacing `.claude/hooks/notify/icon.png`. macOS-only at runtime; silent no-op on other platforms. |
80
83
 
81
84
  Scope choices:
82
85
 
@@ -90,7 +93,7 @@ Re-running the installer preserves your customized `config.json` and `icon.png`,
90
93
 
91
94
  - Node.js >= 18
92
95
  - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (required for Plugins and Hooks modules)
93
- - [Homebrew](https://brew.sh) (recommended for the `notify` hook to install `terminal-notifier`)
96
+ - [Homebrew](https://brew.sh) (recommended for the `notify` hook to install `alerter`)
94
97
 
95
98
  ## License
96
99
 
package/README.zh-CN.md CHANGED
@@ -57,6 +57,9 @@ npx auriga-cli
57
57
  | planning-with-files | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) | 文件化任务计划与进度跟踪 |
58
58
  | playwright-cli | [microsoft/playwright-cli](https://github.com/microsoft/playwright-cli) | 浏览器自动化与测试 |
59
59
  | ui-ux-pro-max | [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) | UI/UX 设计与开发增强 |
60
+ | deep-review | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | 多维度 PR review 编排器(必选 + 条件 + punch list 汇总) |
61
+ | test-designer | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | TDD 红灯阶段的 Independent Evaluation 测试设计器 |
62
+ | parallel-implementation | [Ben2pc/g-claude-code-plugins](https://github.com/Ben2pc/g-claude-code-plugins) | 多 subagent 并行写代码时的切片计划器 |
60
63
 
61
64
  支持 project 和 global 两种安装范围。
62
65
 
@@ -76,7 +79,7 @@ npx auriga-cli
76
79
 
77
80
  | Hook | 说明 |
78
81
  |---|---|
79
- | notify | 当 Claude 需要你关注时弹一条原生 macOS 通知。会自动通过 Homebrew 安装 `terminal-notifier`。改 `.claude/hooks/notify/config.json` 即可换提示音、替换 `.claude/hooks/notify/icon.png` 即可换图标。仅 macOS 运行时生效,其它平台静默 no-op。 |
82
+ | notify | 当 Claude 需要你关注时弹一条原生 macOS 通知。在通知小图标位显示品牌图,点击通知可把发起 Claude 的终端拉回前台。会自动通过 Homebrew 安装 `alerter`(`vjeantet/tap/alerter`)。改 `.claude/hooks/notify/config.json` 即可换提示音、替换 `.claude/hooks/notify/icon.png` 即可换图标。仅 macOS 运行时生效,其它平台静默 no-op。 |
80
83
 
81
84
  作用域选择:
82
85
 
@@ -90,7 +93,7 @@ npx auriga-cli
90
93
 
91
94
  - Node.js >= 18
92
95
  - [Claude Code](https://docs.anthropic.com/en/docs/claude-code)(Plugins 和 Hooks 模块需要)
93
- - [Homebrew](https://brew.sh)(`notify` hook 用来安装 `terminal-notifier`,可选)
96
+ - [Homebrew](https://brew.sh)(`notify` hook 用来安装 `alerter`,可选)
94
97
 
95
98
  ## License
96
99
 
package/dist/hooks.d.ts CHANGED
@@ -73,6 +73,7 @@ export declare function removeHookFromSettings(settings: SettingsFile, marker: s
73
73
  removed: number;
74
74
  };
75
75
  type Scope = "project-local" | "project" | "user";
76
+ export declare function depBinary(dep: HookDep): string;
76
77
  export declare function loadHooksConfig(packageRoot: string): HooksConfig;
77
78
  export interface InstallHookResult {
78
79
  hook: string;
package/dist/hooks.js CHANGED
@@ -12,7 +12,12 @@ import { exec, fetchExtraContentBinary, log, withEsc, } from "./utils.js";
12
12
  // for every user running `npx auriga-cli`. Validate every untrusted value
13
13
  // once at load time, then trust it through the rest of the install flow.
14
14
  const HOOK_NAME_RE = /^[a-z][a-z0-9-]*$/;
15
- const DEP_NAME_RE = /^[a-z0-9][a-z0-9._+-]*$/;
15
+ // Matches a flat brew formula name (`jq`, `pngquant`) OR a fully
16
+ // qualified tap-prefixed name (`vjeantet/tap/alerter`) — up to 2
17
+ // slashes separating segments. Each segment is the same charset as
18
+ // the flat-name form. No shell metachars; safe to pass to `brew install`
19
+ // as a single argv item.
20
+ const DEP_NAME_RE = /^[a-z0-9][a-z0-9._+-]*(\/[a-z0-9][a-z0-9._+-]*){0,2}$/;
16
21
  const EVENT_NAME_RE = /^[A-Za-z][A-Za-z0-9_-]*$/;
17
22
  // Whitelist for hook command templates. The registry is fetched from raw
18
23
  // GitHub at runtime, and the command string is written verbatim into
@@ -252,9 +257,19 @@ function scopeChoices() {
252
257
  },
253
258
  ];
254
259
  }
260
+ // brew package names can be tap-prefixed (`vjeantet/tap/alerter`) but
261
+ // the binary the formula installs into PATH is the bare formula name
262
+ // (`alerter`). Strip the tap prefix to get the binary to `which` for.
263
+ // Hook authors with a brew package whose binary name doesn't match the
264
+ // formula name will need to ship a wrapper `bin` field in the future;
265
+ // no such hook exists today.
266
+ export function depBinary(dep) {
267
+ const segments = dep.name.split("/");
268
+ return segments[segments.length - 1];
269
+ }
255
270
  function depReady(dep) {
256
271
  try {
257
- exec(`which ${dep.name}`);
272
+ exec(`which ${depBinary(dep)}`);
258
273
  return true;
259
274
  }
260
275
  catch {
package/dist/skills.js CHANGED
@@ -2,11 +2,17 @@ import fs from "node:fs";
2
2
  import path from "node:path";
3
3
  import { checkbox, select } from "@inquirer/prompts";
4
4
  import { exec, log, withEsc } from "./utils.js";
5
+ // Curated default-on set: skills that the workflow in the root CLAUDE.md
6
+ // directly references. Anything else in skills-lock.json is surfaced via
7
+ // installRecommendedSkills as an opt-in utility.
5
8
  const WORKFLOW_SKILLS = [
6
9
  "brainstorming",
10
+ "deep-review",
11
+ "parallel-implementation",
7
12
  "planning-with-files",
8
13
  "playwright-cli",
9
14
  "systematic-debugging",
15
+ "test-designer",
10
16
  "test-driven-development",
11
17
  "ui-ux-pro-max",
12
18
  "verification-before-completion",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auriga-cli",
3
- "version": "1.1.0",
3
+ "version": "1.4.1",
4
4
  "description": "Interactive CLI to install Claude Code harness modules (Workflow, Skills, Recommended Skills, Plugins, Hooks)",
5
5
  "type": "module",
6
6
  "bin": {