@quolu/aishell 0.3.2 → 0.3.4

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.ja.md CHANGED
@@ -32,7 +32,7 @@ codex mcp add aishell -- /opt/homebrew/bin/aishell-mcp
32
32
  summaryから省略された証拠だけartifact_readで読んで。
33
33
  ```
34
34
 
35
- 既定development profileは5本の高密度toolを提供する。
35
+ 既定profileは5本の高密度development toolと、常時利用できる2本の復旧control toolを提供する。
36
36
 
37
37
  | Tool | 役割 |
38
38
  |---|---|
@@ -41,6 +41,22 @@ summaryから省略された証拠だけartifact_readで読んで。
41
41
  | `search_context` | 直接起動した`rg` workerによるbudget付き検索context |
42
42
  | `run_check` | 直接process実行、主要diagnostic、完全stdout/stderr artifact |
43
43
  | `artifact_read` | 保持artifactのrange、tail、pattern周辺read |
44
+ | `runtime_status` | 未設定・停止中も含む許可root、停止、worktree、次操作の状態取得 |
45
+ | `runtime_open_manager` | root追加またはAI操作再開のため管理アプリを開く |
46
+
47
+ MCP serverへ`AISHELL_CAPABILITY_SET=expanded-v1`を設定すると、candidate surfaceへ明示opt-inできる。
48
+ 高密度development 9本と復旧control 2本を公開し、`run_observe`、`workspace_wait`、
49
+ `change_impact`、`apply_change_set`を追加する。既存toolにもmanaged run、artifact query、
50
+ semantic search、project profile、Git branch/worktree modeが加わる。
51
+
52
+ Codexでは次のように登録する。
53
+
54
+ ```sh
55
+ codex mcp add aishell --env AISHELL_CAPABILITY_SET=expanded-v1 -- /opt/homebrew/bin/aishell-mcp
56
+ ```
57
+
58
+ 未知値または空の`AISHELL_CAPABILITY_SET`と`AISHELL_TOOL_PROFILE`はtyped errorでstartup停止し、
59
+ 別profileへ黙ってfallbackしない。
44
60
 
45
61
  ## なぜAIShellか
46
62
 
@@ -112,10 +128,13 @@ codex mcp get aishell
112
128
  codex mcp remove aishell
113
129
  ```
114
130
 
115
- 互換用full profileは既存20 primitiveと5本のdevelopment toolを合わせた25 toolを提供する。
131
+ expanded capability未指定時の互換用full profileは全25 toolを提供する。既定7本は5本の
132
+ development toolと2本の復旧control toolで、full modeは残りのlegacy primitiveも公開する。
133
+ `expanded-v1`ではdevelopment 11本、full 29本を公開する。
116
134
 
117
135
  ```sh
118
136
  AISHELL_TOOL_PROFILE=full /opt/homebrew/bin/aishell-mcp
137
+ AISHELL_CAPABILITY_SET=expanded-v1 AISHELL_TOOL_PROFILE=full /opt/homebrew/bin/aishell-mcp
119
138
  ```
120
139
 
121
140
  full profileにはfile一覧・read、SHA-256競合検出付きatomic update、copy/move/rename/Trash、直接process実行、app discovery/launch、runtime status、管理アプリの前面化が含まれる。
package/README.md CHANGED
@@ -32,15 +32,27 @@ Use workspace_snapshot for the initial workspace context. Run the focused tests
32
32
  run_check, and read retained output with artifact_read only if the summary omits evidence.
33
33
  ```
34
34
 
35
- The default development profile exposes five high-density tools:
35
+ The default profile exposes five high-density development tools plus two always-available recovery controls:
36
36
 
37
37
  | Tool | Purpose |
38
38
  |---|---|
39
39
  | `workspace_snapshot` | Bounded initial workspace preview, reconciled change delta, Git state, and primary context |
40
40
  | `read_context` | Budgeted multi-file reads with SHA-256 identity and continuation |
41
- | `search_context` | Budgeted search context produced by a directly launched `rg` worker |
41
+ | `search_context` | Budgeted lexical context from a directly launched `rg` worker; the expanded capability also provides cursor-bound semantic definition/reference/symbol queries without lexical fallback |
42
42
  | `run_check` | Direct process execution, primary diagnostics, and complete stdout/stderr artifacts |
43
- | `artifact_read` | Range, tail, and pattern-centered reads from retained artifacts |
43
+ | `artifact_read` | Range, tail, and pattern-centered reads from retained artifacts; the expanded capability also searches and compares finalized managed-run artifacts |
44
+ | `runtime_status` | Allowed-root, pause, worktree, and next-action state, including while paused or unconfigured |
45
+ | `runtime_open_manager` | Open the manager app to add roots or resume AI operations |
46
+
47
+ Set `AISHELL_CAPABILITY_SET=expanded-v1` on the MCP server process to opt in to the candidate surface. It exposes nine high-density development tools plus the two recovery controls. The added tools are `run_observe`, `workspace_wait`, `change_impact`, and `apply_change_set`; existing tools gain closed managed-run, artifact query, semantic search, project-profile, and Git branch/worktree modes. Cross-run artifact operations require an explicit project path and reject live, expired, legacy-unbound, or different-project evidence instead of silently falling back to partial logs.
48
+
49
+ For Codex, register the expanded surface explicitly:
50
+
51
+ ```sh
52
+ codex mcp add aishell --env AISHELL_CAPABILITY_SET=expanded-v1 -- /opt/homebrew/bin/aishell-mcp
53
+ ```
54
+
55
+ Unknown or empty `AISHELL_CAPABILITY_SET` and `AISHELL_TOOL_PROFILE` values fail startup with typed errors; they never fall back to another profile.
44
56
 
45
57
  ## Why AIShell
46
58
 
@@ -112,10 +124,11 @@ Remove the registration with:
112
124
  codex mcp remove aishell
113
125
  ```
114
126
 
115
- The compatibility profile retains the original 20 primitives alongside the five development tools:
127
+ Without the expanded capability, the compatibility profile retains all 25 tools. The default seven are the five development tools plus the two recovery controls; full mode adds the remaining legacy primitives. With `expanded-v1`, development exposes 11 tools and full exposes 29:
116
128
 
117
129
  ```sh
118
130
  AISHELL_TOOL_PROFILE=full /opt/homebrew/bin/aishell-mcp
131
+ AISHELL_CAPABILITY_SET=expanded-v1 AISHELL_TOOL_PROFILE=full /opt/homebrew/bin/aishell-mcp
119
132
  ```
120
133
 
121
134
  The full profile includes file listing and reads, atomic SHA-256-guarded updates, copy/move/rename/Trash, direct process execution, app discovery and launch, runtime status, and manager activation.
@@ -125,6 +138,10 @@ The full profile includes file listing and reads, atomic SHA-256-guarded updates
125
138
  - AIShell never evaluates a shell command string. It resolves a development program from `PATH` to an executable URL and keeps arguments, environment, and working directory separate.
126
139
  - Direct launch of shell and wrapper basenames such as `sh`, `bash`, `zsh`, `env`, and `osascript` is rejected as a product rail, not advertised as a security boundary.
127
140
  - `run_check` is an open-world capability: an allowed worker may update files, launch child processes, or access the network. AI hosts may require approval before execution.
141
+ - npm projects may opt a `build`, `test`, or `lint` check into freshness caching with the closed
142
+ direct-Node `package.json` declaration documented in `docs/adr/0009-project-profile-contract.md`. Ordinary npm
143
+ scripts remain executable but cache-ineligible; AIShell does not infer arguments, inputs, or effects
144
+ from shell script text.
128
145
  - Text updates may use SHA-256 or expected old text as a precondition. Deletes go to Trash.
129
146
  - The manager app can stop normal operations globally. Runtime status and manager activation remain available while stopped.
130
147
 
@@ -17,9 +17,9 @@
17
17
  <key>CFBundlePackageType</key>
18
18
  <string>APPL</string>
19
19
  <key>CFBundleShortVersionString</key>
20
- <string>0.3.2</string>
20
+ <string>0.3.4</string>
21
21
  <key>CFBundleVersion</key>
22
- <string>7</string>
22
+ <string>8</string>
23
23
  <key>LSApplicationCategoryType</key>
24
24
  <string>public.app-category.utilities</string>
25
25
  <key>LSMinimumSystemVersion</key>
@@ -10,10 +10,19 @@
10
10
  <dict>
11
11
  <key>cdhash</key>
12
12
  <data>
13
- JRbqlAClD40Akx/45QsEw19Bp+w=
13
+ Ge4Dzh+MEHgbY60PDUm0GYbTpoU=
14
14
  </data>
15
15
  <key>requirement</key>
16
- <string>cdhash H"2516ea9400a50f8d00931ff8e50b04c35f41a7ec"</string>
16
+ <string>cdhash H"19ee03ce1f8c10781b63ad0f0d49b41986d3a685"</string>
17
+ </dict>
18
+ <key>Helpers/aishell-run-supervisor</key>
19
+ <dict>
20
+ <key>cdhash</key>
21
+ <data>
22
+ ok923ptOjLL4NSX3ymkwMEsJrIM=
23
+ </data>
24
+ <key>requirement</key>
25
+ <string>cdhash H"a24f76de9b4e8cb2f83525f7ca6930304b09ac83"</string>
17
26
  </dict>
18
27
  </dict>
19
28
  <key>rules</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quolu/aishell",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "A native macOS state runtime with high-density MCP tools for AI development",
5
5
  "license": "Apache-2.0",
6
6
  "author": "quolu",