@quolu/aishell 0.3.3 → 0.3.5
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 +18 -1
- package/README.md +18 -3
- package/dist/AIShell.app/Contents/Helpers/aishell-mcp +0 -0
- package/dist/AIShell.app/Contents/Helpers/aishell-run-supervisor +0 -0
- package/dist/AIShell.app/Contents/Info.plist +2 -2
- package/dist/AIShell.app/Contents/MacOS/AIShell +0 -0
- package/dist/AIShell.app/Contents/_CodeSignature/CodeResources +11 -2
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -44,6 +44,20 @@ summaryから省略された証拠だけartifact_readで読んで。
|
|
|
44
44
|
| `runtime_status` | 未設定・停止中も含む許可root、停止、worktree、次操作の状態取得 |
|
|
45
45
|
| `runtime_open_manager` | root追加またはAI操作再開のため管理アプリを開く |
|
|
46
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しない。
|
|
60
|
+
|
|
47
61
|
## なぜAIShellか
|
|
48
62
|
|
|
49
63
|
statelessな連携では、モデルがworkspaceを何度もscanし、command出力から状態を再構成しやすい。AIShellは状態を持つOS側の仕事をモデルより下へ置き、後続turnが全再scanではなくdeltaと一次証拠を要求できるようにする。
|
|
@@ -114,10 +128,13 @@ codex mcp get aishell
|
|
|
114
128
|
codex mcp remove aishell
|
|
115
129
|
```
|
|
116
130
|
|
|
117
|
-
|
|
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本を公開する。
|
|
118
134
|
|
|
119
135
|
```sh
|
|
120
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
|
|
121
138
|
```
|
|
122
139
|
|
|
123
140
|
full profileにはfile一覧・read、SHA-256競合検出付きatomic update、copy/move/rename/Trash、直接process実行、app discovery/launch、runtime status、管理アプリの前面化が含まれる。
|
package/README.md
CHANGED
|
@@ -38,12 +38,22 @@ The default profile exposes five high-density development tools plus two always-
|
|
|
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
|
|
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
44
|
| `runtime_status` | Allowed-root, pause, worktree, and next-action state, including while paused or unconfigured |
|
|
45
45
|
| `runtime_open_manager` | Open the manager app to add roots or resume AI operations |
|
|
46
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.
|
|
56
|
+
|
|
47
57
|
## Why AIShell
|
|
48
58
|
|
|
49
59
|
Typical stateless integrations repeatedly ask the model to rediscover workspace state and interpret command output. AIShell keeps the stateful, OS-facing part below the model so later turns can ask for deltas and primary evidence instead of rescanning everything.
|
|
@@ -114,10 +124,11 @@ Remove the registration with:
|
|
|
114
124
|
codex mcp remove aishell
|
|
115
125
|
```
|
|
116
126
|
|
|
117
|
-
|
|
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:
|
|
118
128
|
|
|
119
129
|
```sh
|
|
120
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
|
|
121
132
|
```
|
|
122
133
|
|
|
123
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.
|
|
@@ -127,6 +138,10 @@ The full profile includes file listing and reads, atomic SHA-256-guarded updates
|
|
|
127
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.
|
|
128
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.
|
|
129
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.
|
|
130
145
|
- Text updates may use SHA-256 or expected old text as a precondition. Deletes go to Trash.
|
|
131
146
|
- The manager app can stop normal operations globally. Runtime status and manager activation remain available while stopped.
|
|
132
147
|
|
|
Binary file
|
|
Binary file
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
<key>CFBundlePackageType</key>
|
|
18
18
|
<string>APPL</string>
|
|
19
19
|
<key>CFBundleShortVersionString</key>
|
|
20
|
-
<string>0.3.
|
|
20
|
+
<string>0.3.5</string>
|
|
21
21
|
<key>CFBundleVersion</key>
|
|
22
|
-
<string>
|
|
22
|
+
<string>9</string>
|
|
23
23
|
<key>LSApplicationCategoryType</key>
|
|
24
24
|
<string>public.app-category.utilities</string>
|
|
25
25
|
<key>LSMinimumSystemVersion</key>
|
|
Binary file
|
|
@@ -10,10 +10,19 @@
|
|
|
10
10
|
<dict>
|
|
11
11
|
<key>cdhash</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
GxWGE+OBtGFk8LqNVjuVkDvNOJA=
|
|
14
14
|
</data>
|
|
15
15
|
<key>requirement</key>
|
|
16
|
-
<string>cdhash H"
|
|
16
|
+
<string>cdhash H"1b158613e381b46164f0ba8d563b95903bcd3890"</string>
|
|
17
|
+
</dict>
|
|
18
|
+
<key>Helpers/aishell-run-supervisor</key>
|
|
19
|
+
<dict>
|
|
20
|
+
<key>cdhash</key>
|
|
21
|
+
<data>
|
|
22
|
+
ppzjYZ96+CrXPbs4DTGK12LWV3I=
|
|
23
|
+
</data>
|
|
24
|
+
<key>requirement</key>
|
|
25
|
+
<string>cdhash H"a69ce3619f7af82ad73dbb380d318ad762d65772"</string>
|
|
17
26
|
</dict>
|
|
18
27
|
</dict>
|
|
19
28
|
<key>rules</key>
|