@nyte-ai/plugin 0.0.19 → 0.0.21
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/dist/chunks/{billing-tm34gm2p.js → billing-wbe8w0te.js} +2 -0
- package/dist/chunks/{billing-v3hg5rc7.js → billing-wqjabjnc.js} +1 -1
- package/dist/src/acp/connection.js +1 -1
- package/dist/src/acp/index.js +1 -1
- package/dist/src/bash-description.js +4 -1
- package/dist/src/claude-code-sdk/index.js +1 -2
- package/dist/src/claude-code-sdk/session.js +1 -1
- package/package.json +4 -4
|
@@ -137,6 +137,8 @@ class ClaudeCodeSession2 {
|
|
|
137
137
|
systemPrompt: { type: "preset", preset: "claude_code" },
|
|
138
138
|
includePartialMessages: true,
|
|
139
139
|
mcpServers: { [NYTE_SERVER2]: this.#server },
|
|
140
|
+
disallowedTools: ["Bash"],
|
|
141
|
+
allowedTools: ["Grep", "Glob"],
|
|
140
142
|
permissionMode: "default",
|
|
141
143
|
canUseTool: async (name, input, { signal, toolUseID, agentID }) => {
|
|
142
144
|
if (name.startsWith(NYTE_TOOL_PREFIX2))
|
package/dist/src/acp/index.js
CHANGED
|
@@ -5,7 +5,10 @@ var parameters = standard(Type.Object({
|
|
|
5
5
|
command: Type.String({ description: "The shell command to run." }),
|
|
6
6
|
description: Type.String({
|
|
7
7
|
description: "Clear, concise description of what this command does in 5-10 words, in active voice."
|
|
8
|
-
})
|
|
8
|
+
}),
|
|
9
|
+
background: Type.Optional(Type.Boolean({
|
|
10
|
+
description: "Start the command and return a job id with its first output instead of waiting for it to exit. Use for servers, watchers, and other long-lived commands, without a trailing &. The command keeps running across turns, and you are told when it exits; read its output or stop it with the job tool. Do not use it to speed up ordinary commands."
|
|
11
|
+
}))
|
|
9
12
|
}));
|
|
10
13
|
var bash_description_default = {
|
|
11
14
|
id: "bash-description",
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "../../chunks/billing-ye3wk5r3.js";
|
|
17
17
|
import {
|
|
18
18
|
ClaudeCodeSession2
|
|
19
|
-
} from "../../chunks/billing-
|
|
19
|
+
} from "../../chunks/billing-wbe8w0te.js";
|
|
20
20
|
import {
|
|
21
21
|
mirrorArguments3,
|
|
22
22
|
userBlocks3,
|
|
@@ -53,7 +53,6 @@ var CLAUDE_CODE_HAS_ITS_OWN = new Set([
|
|
|
53
53
|
"write",
|
|
54
54
|
"edit",
|
|
55
55
|
"list",
|
|
56
|
-
"bash",
|
|
57
56
|
"web_search",
|
|
58
57
|
"question"
|
|
59
58
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/plugin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -148,9 +148,9 @@
|
|
|
148
148
|
"@agentclientprotocol/sdk": "1.9.0",
|
|
149
149
|
"@anthropic-ai/claude-agent-sdk": "0.3.296",
|
|
150
150
|
"@earendil-works/pi-codemode": "1.0.0",
|
|
151
|
-
"@nyte-ai/ai": "0.0.
|
|
152
|
-
"@nyte-ai/core": "0.0.
|
|
153
|
-
"@nyte-ai/schema": "0.0.
|
|
151
|
+
"@nyte-ai/ai": "0.0.21",
|
|
152
|
+
"@nyte-ai/core": "0.0.21",
|
|
153
|
+
"@nyte-ai/schema": "0.0.21",
|
|
154
154
|
"@opentelemetry/api": "^1.9.1",
|
|
155
155
|
"@opentelemetry/exporter-trace-otlp-http": "^0.223.0",
|
|
156
156
|
"@opentelemetry/resources": "^2.12.0",
|