@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.
@@ -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))
@@ -15,7 +15,7 @@ import { processEnvironment } from "@nyte-ai/core";
15
15
  // package.json
16
16
  var package_default = {
17
17
  name: "@nyte-ai/plugin",
18
- version: "0.0.19",
18
+ version: "0.0.21",
19
19
  private: false,
20
20
  license: "MIT",
21
21
  repository: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AcpProcess2
3
- } from "../../chunks/billing-v3hg5rc7.js";
3
+ } from "../../chunks/billing-wqjabjnc.js";
4
4
  import"../../chunks/billing-svrhh5a5.js";
5
5
  import"../../chunks/billing-9nn3yp18.js";
6
6
  export {
@@ -8,7 +8,7 @@ import {
8
8
  import"../../chunks/billing-svrhh5a5.js";
9
9
  import {
10
10
  AcpProcess2
11
- } from "../../chunks/billing-v3hg5rc7.js";
11
+ } from "../../chunks/billing-wqjabjnc.js";
12
12
  import"../../chunks/billing-4vz9pxyx.js";
13
13
  import {
14
14
  registryEntries2,
@@ -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-tm34gm2p.js";
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
  ]);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ClaudeCodeSession2
3
- } from "../../chunks/billing-tm34gm2p.js";
3
+ } from "../../chunks/billing-wbe8w0te.js";
4
4
  import"../../chunks/billing-ye3wk5r3.js";
5
5
  export {
6
6
  ClaudeCodeSession2 as ClaudeCodeSession
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyte-ai/plugin",
3
- "version": "0.0.19",
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.19",
152
- "@nyte-ai/core": "0.0.19",
153
- "@nyte-ai/schema": "0.0.19",
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",