@nyte-ai/plugin 0.0.21 → 0.0.24

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.
Files changed (83) hide show
  1. package/THIRD-PARTY-NOTICES.md +2 -38
  2. package/dist/chunks/{billing-2v3g7rd9.js → bash-description-2v3g7rd9.js} +1 -1
  3. package/dist/chunks/{billing-3j77ss7y.js → bash-description-3j77ss7y.js} +1 -1
  4. package/dist/chunks/{billing-bv5zr32b.js → bash-description-dnvgk30y.js} +2 -2
  5. package/dist/chunks/{billing-hg64tqf1.js → bash-description-hg64tqf1.js} +1 -1
  6. package/dist/chunks/{billing-wqjabjnc.js → bash-description-necnb2k7.js} +18 -23
  7. package/dist/chunks/{billing-mvc33pv6.js → bash-description-qnwggxq3.js} +1 -1
  8. package/dist/chunks/{billing-svrhh5a5.js → bash-description-svrhh5a5.js} +1 -1
  9. package/dist/chunks/{billing-wbe8w0te.js → bash-description-wbe8w0te.js} +1 -1
  10. package/dist/chunks/{billing-wmcbg6fw.js → bash-description-wmcbg6fw.js} +1 -1
  11. package/dist/chunks/{billing-sxc70w72.js → bash-description-yyd9jznf.js} +1 -1
  12. package/dist/chunks/{billing-kn3d30b4.js → bash-description-zz15raxk.js} +3 -3
  13. package/dist/src/acp/connection.js +3 -3
  14. package/dist/src/acp/index.js +6 -6
  15. package/dist/src/acp/registry.js +2 -2
  16. package/dist/src/acp/thread.d.ts +1 -1
  17. package/dist/src/acp/thread.js +2 -2
  18. package/dist/src/acp/transcript.d.ts +1 -1
  19. package/dist/src/acp/transcript.js +2 -2
  20. package/dist/src/acp/translate.d.ts +1 -1
  21. package/dist/src/acp/translate.js +1 -1
  22. package/dist/src/approvals/approvals.js +1 -1
  23. package/dist/src/approvals/schema.js +1 -1
  24. package/dist/src/canvas/canvas-compile.js +3 -3
  25. package/dist/src/canvas/canvas-libraries.js +1 -1
  26. package/dist/src/canvas/canvas-preview.js +3 -3
  27. package/dist/src/canvas/canvas-protocol.d.ts +1 -1
  28. package/dist/src/canvas/canvas-protocol.js +2 -2
  29. package/dist/src/canvas/canvas.js +5 -5
  30. package/dist/src/canvas/schema.js +3 -3
  31. package/dist/src/claude-code-sdk/index.js +6 -6
  32. package/dist/src/claude-code-sdk/session.js +2 -2
  33. package/dist/src/claude-code-sdk/transcript.d.ts +3 -1
  34. package/dist/src/claude-code-sdk/transcript.js +2 -2
  35. package/dist/src/claude-code-sdk/translate.js +1 -1
  36. package/dist/src/find-on-path.js +1 -1
  37. package/dist/src/question/client/questions-tui.js +1 -1
  38. package/dist/src/question/client/questions.js +1 -1
  39. package/dist/src/question/question.js +2 -2
  40. package/dist/src/question/schema.js +1 -1
  41. package/package.json +19 -23
  42. package/dist/chunks/billing-0y7dfkp2.js +0 -146
  43. package/dist/chunks/billing-3scqmkzb.js +0 -559
  44. package/dist/chunks/billing-8rjk35gr.js +0 -444
  45. package/dist/chunks/billing-9qc0eqh4.js +0 -174
  46. package/dist/chunks/billing-a9vqn66p.js +0 -351
  47. package/dist/chunks/billing-cy1rg619.js +0 -302
  48. package/dist/chunks/billing-ejx2hv52.js +0 -323
  49. package/dist/chunks/billing-j643d12p.js +0 -197
  50. package/dist/chunks/billing-s4rrspsk.js +0 -7
  51. package/dist/chunks/billing-t1qrxe16.js +0 -41
  52. package/dist/chunks/billing-tzr3cebf.js +0 -20
  53. package/dist/examples/claude-code/LICENSE +0 -21
  54. package/dist/examples/claude-code/billing.d.ts +0 -7
  55. package/dist/examples/claude-code/billing.js +0 -11
  56. package/dist/examples/claude-code/claude-cli.d.ts +0 -35
  57. package/dist/examples/claude-code/claude-cli.js +0 -15
  58. package/dist/examples/claude-code/env.d.ts +0 -1
  59. package/dist/examples/claude-code/env.js +0 -6
  60. package/dist/examples/claude-code/index.d.ts +0 -24
  61. package/dist/examples/claude-code/index.js +0 -149
  62. package/dist/examples/claude-code/inert-mcp.d.ts +0 -1
  63. package/dist/examples/claude-code/inert-mcp.js +0 -6
  64. package/dist/examples/claude-code/model-catalog.d.ts +0 -27
  65. package/dist/examples/claude-code/model-catalog.js +0 -12
  66. package/dist/examples/claude-code/process.d.ts +0 -22
  67. package/dist/examples/claude-code/process.js +0 -25
  68. package/dist/examples/claude-code/replay.d.ts +0 -4
  69. package/dist/examples/claude-code/replay.js +0 -11
  70. package/dist/examples/claude-code/stream.d.ts +0 -3
  71. package/dist/examples/claude-code/stream.js +0 -16
  72. package/dist/examples/claude-code/transcript.d.ts +0 -83
  73. package/dist/examples/claude-code/transcript.js +0 -23
  74. package/dist/examples/claude-code/turn-relay.d.ts +0 -48
  75. package/dist/examples/claude-code/turn-relay.js +0 -9
  76. package/dist/examples/claude-code/wire.d.ts +0 -372
  77. package/dist/examples/claude-code/wire.js +0 -18
  78. /package/dist/chunks/{billing-4vz9pxyx.js → bash-description-4vz9pxyx.js} +0 -0
  79. /package/dist/chunks/{billing-6z2kgtyt.js → bash-description-6z2kgtyt.js} +0 -0
  80. /package/dist/chunks/{billing-9nn3yp18.js → bash-description-9nn3yp18.js} +0 -0
  81. /package/dist/chunks/{billing-h13r0byk.js → bash-description-h13r0byk.js} +0 -0
  82. /package/dist/chunks/{billing-ye3wk5r3.js → bash-description-ye3wk5r3.js} +0 -0
  83. /package/dist/chunks/{billing-zfpm2rt0.js → bash-description-zfpm2rt0.js} +0 -0
@@ -45,39 +45,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
45
  SOFTWARE.
46
46
  ```
47
47
 
48
- ## pi-claude-code (`earendil-works/pi-claude-code`)
49
-
50
- - Repository: https://github.com/earendil-works/pi-claude-code
51
- - What: the Claude Code CLI provider, single-turn relay, transcript replay,
52
- process reuse, and billing guards in `packages/plugin/examples/claude-code`
53
- are adapted from commit `70abb65186592ca788b29b3db22c3160d629c41f`.
54
-
55
- License: MIT, with the following notice:
56
-
57
- ```text
58
- MIT License
59
-
60
- Copyright (c) 2026 Armin Ronacher
61
-
62
- Permission is hereby granted, free of charge, to any person obtaining a copy
63
- of this software and associated documentation files (the "Software"), to deal
64
- in the Software without restriction, including without limitation the rights
65
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
66
- copies of the Software, and to permit persons to whom the Software is
67
- furnished to do so, subject to the following conditions:
68
-
69
- The above copyright notice and this permission notice shall be included in all
70
- copies or substantial portions of the Software.
71
-
72
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
75
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
76
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
77
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78
- SOFTWARE.
79
- ```
80
-
81
48
  ## pi (`earendil-works/pi`)
82
49
 
83
50
  - Repository: https://github.com/earendil-works/pi
@@ -345,8 +312,8 @@ Copyright 2025 OpenAI
345
312
  front of the queue (`packages/tui/src/model/interactions.ts`) is its
346
313
  `onEmptySubmit`. The rename
347
314
  plugin's context construction, prompt, model fallback, and output cleanup
348
- (`packages/plugin/examples/rename.ts`) port OpenCode v2. The web-search
349
- plugin set (`packages/plugin/examples/web-search/`) ports its Exa, Firecrawl,
315
+ (`packages/plugin/src/rename.ts`) port OpenCode v2. The web-search
316
+ plugin set (`packages/plugin/src/web-search.ts`) ports its Exa, Firecrawl,
350
317
  Parallel, and Tavily adapters, its stateless MCP `tools/call` transport and
351
318
  response bounds, its result and error vocabulary, and its arrangement of one
352
319
  plugin per provider from OpenCode v2.
@@ -429,9 +396,6 @@ SOFTWARE.
429
396
  bypass, and connection tuning in `packages/host/src/sqlite*.ts` are adapted
430
397
  from `bf8ffe81a63c82d3de5fbaa9991fd5f30034a452`.
431
398
  - Homepage: https://t3.codes
432
- - What: the demo desktop app (`packages/demo/desktop`) follows T3 Code's
433
- control-surface shape — agents in a sidebar, a conversation workspace, a
434
- shared composer, and settings behind a dialog.
435
399
 
436
400
  License: MIT, with the following notice:
437
401
 
@@ -3,7 +3,7 @@ import {
3
3
  MIRROR_TOOL3,
4
4
  BACKGROUND_TOOL2,
5
5
  NYTE_TOOL_PREFIX2
6
- } from "./billing-ye3wk5r3.js";
6
+ } from "./bash-description-ye3wk5r3.js";
7
7
 
8
8
  // src/claude-code-sdk/transcript.ts
9
9
  import { randomUUID } from "node:crypto";
@@ -3,7 +3,7 @@ import {
3
3
  questionOutput2,
4
4
  questionParameters2,
5
5
  question3
6
- } from "./billing-6z2kgtyt.js";
6
+ } from "./bash-description-6z2kgtyt.js";
7
7
 
8
8
  // src/question/question.ts
9
9
  import { definePart, dev } from "@nyte-ai/core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CANVAS_LIBRARIES2
3
- } from "./billing-zfpm2rt0.js";
3
+ } from "./bash-description-zfpm2rt0.js";
4
4
 
5
5
  // src/canvas/canvas-protocol.ts
6
6
  var CANVAS_RUNTIME2 = 2;
@@ -113,7 +113,7 @@ var KIT2 = {
113
113
  LineChart: '{ series: { id: string, data: { x: number | string, y: number }[], tint?: Tint }[], height?: number = 240, xFormat?: (x) => string, yFormat?: (y) => string, curve?: "linear" | "monotone" | "step", area?: boolean, legend?: boolean }: a full chart with axes and a readout',
114
114
  BarChart: '{ data: Record<string, number | string>[], keys: (string | { key: string, label?: string, tint?: Tint })[], indexBy: string, height?: number = 240, layout?: "vertical" | "horizontal", mode?: "grouped" | "stacked" = "stacked", valueFormat?: (value: number) => string, legend?: boolean }: a full chart with axes and a readout with the total',
115
115
  PieChart: "{ data: { id: string, value: number, label?: string, tint?: Tint }[], height?: number = 240, donut?: boolean, valueFormat?: (value: number) => string, legend?: boolean }",
116
- Button: '{ variant?: "solid" | "outline" | "ghost" | "pill" | "chip", size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl", tone?: "neutral" | "primary" | "success" | "warning" | "danger", loading?: boolean, disabled?: boolean, onClick, children }',
116
+ Button: '{ variant?: "solid" | "outline" | "ghost", pill?: boolean, size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl", tone?: "neutral" | "primary" | "success" | "warning" | "danger", loading?: boolean, disabled?: boolean, onClick, children }',
117
117
  Tabs: "Tabs.Root { value?, defaultValue?, onValueChange? } > Tabs.List { children: Tabs.Tab { value, children }[] } + Tabs.Panel { value, children }",
118
118
  Select: "Select { value?, defaultValue?, onValueChange? } > SelectTrigger { children: <SelectValue /> } + SelectContent { children: SelectItem[] }",
119
119
  SelectTrigger: "see Select",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executable2,
3
3
  findOnPath2
4
- } from "./billing-4vz9pxyx.js";
4
+ } from "./bash-description-4vz9pxyx.js";
5
5
 
6
6
  // src/acp/registry.ts
7
7
  import { readFile, realpath } from "node:fs/promises";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AcpThread2
3
- } from "./billing-svrhh5a5.js";
3
+ } from "./bash-description-svrhh5a5.js";
4
4
 
5
5
  // src/acp/connection.ts
6
6
  import { randomUUID } from "node:crypto";
@@ -10,12 +10,12 @@ import {
10
10
  ndJsonStream,
11
11
  PROTOCOL_VERSION,
12
12
  RequestError
13
- } from "@agentclientprotocol/sdk";
13
+ } from "@agentclientprotocol/sdk/unstable";
14
14
  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.21",
18
+ version: "0.0.24",
19
19
  private: false,
20
20
  license: "MIT",
21
21
  repository: {
@@ -38,7 +38,6 @@ var package_default = {
38
38
  "./core/canvas": "./src/canvas/canvas.ts",
39
39
  "./core/canvas-compile": "./src/canvas/canvas-compile.ts",
40
40
  "./core/canvas-preview": "./src/canvas/canvas-preview.ts",
41
- "./core/claude-code": "./examples/claude-code/index.ts",
42
41
  "./core/claude-code-sdk": "./src/claude-code-sdk/index.ts",
43
42
  "./core/codemode": "./src/codemode.ts",
44
43
  "./core/codemode-runtime": "./src/codemode-runtime.ts",
@@ -96,10 +95,6 @@ var package_default = {
96
95
  types: "./dist/src/canvas/canvas-preview.d.ts",
97
96
  import: "./dist/src/canvas/canvas-preview.js"
98
97
  },
99
- "./core/claude-code": {
100
- types: "./dist/examples/claude-code/index.d.ts",
101
- import: "./dist/examples/claude-code/index.js"
102
- },
103
98
  "./core/claude-code-sdk": {
104
99
  types: "./dist/src/claude-code-sdk/index.d.ts",
105
100
  import: "./dist/src/claude-code-sdk/index.js"
@@ -199,33 +194,33 @@ var package_default = {
199
194
  "build:package": "bun ../../scripts/sdk-packages.mjs build plugin"
200
195
  },
201
196
  dependencies: {
202
- "@agentclientprotocol/sdk": "1.9.0",
203
- "@anthropic-ai/claude-agent-sdk": "0.3.296",
204
- "@earendil-works/pi-codemode": "1.0.0",
197
+ "@agentclientprotocol/sdk": "^2.0.0",
198
+ "@anthropic-ai/claude-agent-sdk": "^0.3.306",
199
+ "@earendil-works/pi-codemode": "^1.3.0",
205
200
  "@nyte-ai/ai": "workspace:*",
206
201
  "@nyte-ai/core": "workspace:*",
207
202
  "@nyte-ai/schema": "workspace:*",
208
- "@opentelemetry/api": "^1.9.1",
209
- "@opentelemetry/exporter-trace-otlp-http": "^0.223.0",
210
- "@opentelemetry/resources": "^2.12.0",
211
- "@opentelemetry/sdk-trace": "^2.12.0",
203
+ "@opentelemetry/api": "^1.10.0",
204
+ "@opentelemetry/exporter-trace-otlp-http": "^0.300.0",
205
+ "@opentelemetry/resources": "^3.0.0",
206
+ "@opentelemetry/sdk-trace": "^3.0.0",
212
207
  "@opentelemetry/semantic-conventions": "^1.43.0",
213
- "es-module-lexer": "2.3.2",
214
- sucrase: "3.35.1",
215
- typebox: "1.3.36",
216
- zod: "4.5.4"
208
+ "es-module-lexer": "^3.0.4",
209
+ sucrase: "^3.35.1",
210
+ typebox: "^1.4.2",
211
+ zod: "^4.6.7"
217
212
  },
218
213
  devDependencies: {
219
214
  "@opentui/core": "^0.6.6",
220
215
  "@types/node": "^26.6.5",
221
- "@types/react": "19.3.0",
222
- react: "19.3.0",
216
+ "@types/react": "^19.3.0",
217
+ react: "^19.3.1",
223
218
  typescript: "6.0.3",
224
219
  vitest: "^5.0.5"
225
220
  },
226
221
  peerDependencies: {
227
- "@opentui/core": "^0.6.5",
228
- react: "^19.2.0"
222
+ "@opentui/core": "^0.6.6",
223
+ react: "^19.3.1"
229
224
  },
230
225
  peerDependenciesMeta: {
231
226
  "@opentui/core": {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CANVAS_CODE_LIMIT2
3
- } from "./billing-bv5zr32b.js";
3
+ } from "./bash-description-dnvgk30y.js";
4
4
 
5
5
  // src/canvas/schema.ts
6
6
  import { definePart } from "@nyte-ai/core";
@@ -4,7 +4,7 @@ import {
4
4
  mirrorClass2,
5
5
  toolText2,
6
6
  Translator2
7
- } from "./billing-9nn3yp18.js";
7
+ } from "./bash-description-9nn3yp18.js";
8
8
 
9
9
  // src/acp/thread.ts
10
10
  import { posix } from "node:path";
@@ -5,7 +5,7 @@ import {
5
5
  emptyMessage3,
6
6
  mirrorCall2,
7
7
  Translator3
8
- } from "./billing-ye3wk5r3.js";
8
+ } from "./bash-description-ye3wk5r3.js";
9
9
 
10
10
  // src/claude-code-sdk/session.ts
11
11
  import { randomUUID } from "node:crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MIRROR_TOOL2
3
- } from "./billing-9nn3yp18.js";
3
+ } from "./bash-description-9nn3yp18.js";
4
4
 
5
5
  // src/acp/transcript.ts
6
6
  var RESULT_LIMIT = 2000;
@@ -4,7 +4,7 @@ import {
4
4
  initializeResult2,
5
5
  renderNotification2,
6
6
  clampCanvasHeight2
7
- } from "./billing-bv5zr32b.js";
7
+ } from "./bash-description-dnvgk30y.js";
8
8
 
9
9
  // src/canvas/canvas-preview.ts
10
10
  import { Type } from "typebox";
@@ -10,10 +10,10 @@ import {
10
10
  LIBRARY_EXPORTS2,
11
11
  canvasFilesComment2,
12
12
  KIT_EXPORTS2
13
- } from "./billing-bv5zr32b.js";
13
+ } from "./bash-description-dnvgk30y.js";
14
14
 
15
15
  // src/canvas/canvas-compile.ts
16
- import { init, parse } from "es-module-lexer";
16
+ import { init, parse } from "es-module-lexer/minimal";
17
17
  import { transform } from "sucrase";
18
18
  var EXTERNAL = new Map([
19
19
  ["react", { value: `globalThis.${CANVAS_GLOBAL2}.react`, names: REACT_EXPORTS2 }],
@@ -216,7 +216,7 @@ async function compileCanvas2(source, files = {}, limits = {}) {
216
216
  }
217
217
  if (errors.length > 0)
218
218
  return failed(errors);
219
- await init;
219
+ await init();
220
220
  const externals = new Set;
221
221
  const units = sources.flatMap(([name = "", text = ""]) => {
222
222
  const unit = checkFile(name, text, names, errors, externals);
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AcpProcess2
3
- } from "../../chunks/billing-wqjabjnc.js";
4
- import"../../chunks/billing-svrhh5a5.js";
5
- import"../../chunks/billing-9nn3yp18.js";
3
+ } from "../../chunks/bash-description-necnb2k7.js";
4
+ import"../../chunks/bash-description-svrhh5a5.js";
5
+ import"../../chunks/bash-description-9nn3yp18.js";
6
6
  export {
7
7
  AcpProcess2 as AcpProcess
8
8
  };
@@ -4,21 +4,21 @@ import {
4
4
  MIRROR_TOOL2,
5
5
  mirrorArguments2,
6
6
  mirrorClass2
7
- } from "../../chunks/billing-9nn3yp18.js";
8
- import"../../chunks/billing-svrhh5a5.js";
7
+ } from "../../chunks/bash-description-9nn3yp18.js";
8
+ import"../../chunks/bash-description-svrhh5a5.js";
9
9
  import {
10
10
  AcpProcess2
11
- } from "../../chunks/billing-wqjabjnc.js";
12
- import"../../chunks/billing-4vz9pxyx.js";
11
+ } from "../../chunks/bash-description-necnb2k7.js";
12
+ import"../../chunks/bash-description-4vz9pxyx.js";
13
13
  import {
14
14
  registryEntries2,
15
15
  installedAgents2
16
- } from "../../chunks/billing-hg64tqf1.js";
16
+ } from "../../chunks/bash-description-hg64tqf1.js";
17
17
  import {
18
18
  messageKey2,
19
19
  userBlocks2,
20
20
  transcriptText2
21
- } from "../../chunks/billing-wmcbg6fw.js";
21
+ } from "../../chunks/bash-description-wmcbg6fw.js";
22
22
 
23
23
  // src/acp/index.ts
24
24
  import {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  registryEntries2,
3
3
  installedAgents2
4
- } from "../../chunks/billing-hg64tqf1.js";
5
- import"../../chunks/billing-4vz9pxyx.js";
4
+ } from "../../chunks/bash-description-hg64tqf1.js";
5
+ import"../../chunks/bash-description-4vz9pxyx.js";
6
6
  export {
7
7
  installedAgents2 as installedAgents,
8
8
  registryEntries2 as registryEntries
@@ -1,4 +1,4 @@
1
- import type { ContentBlock, PromptResponse, RequestPermissionRequest, RequestPermissionResponse, SessionUpdate } from "@agentclientprotocol/sdk";
1
+ import type { ContentBlock, PromptResponse, RequestPermissionRequest, RequestPermissionResponse, SessionUpdate } from "@agentclientprotocol/sdk/unstable";
2
2
  import type { Api, AssistantMessageEventStream, Model } from "@nyte-ai/ai";
3
3
  import type { RuntimeCall, RuntimeVerdict } from "@nyte-ai/core";
4
4
  /** Decides a call the agent asks permission for, under the session's policy. */
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AcpThread2
3
- } from "../../chunks/billing-svrhh5a5.js";
4
- import"../../chunks/billing-9nn3yp18.js";
3
+ } from "../../chunks/bash-description-svrhh5a5.js";
4
+ import"../../chunks/bash-description-9nn3yp18.js";
5
5
  export {
6
6
  AcpThread2 as AcpThread
7
7
  };
@@ -1,4 +1,4 @@
1
- import type { ContentBlock } from "@agentclientprotocol/sdk";
1
+ import type { ContentBlock } from "@agentclientprotocol/sdk/unstable";
2
2
  import type { Message, UserMessage } from "@nyte-ai/ai";
3
3
  /** A message's identity for telling whether the agent's session already holds it. */
4
4
  export declare function messageKey(message: Message): string;
@@ -2,8 +2,8 @@ import {
2
2
  messageKey2,
3
3
  userBlocks2,
4
4
  transcriptText2
5
- } from "../../chunks/billing-wmcbg6fw.js";
6
- import"../../chunks/billing-9nn3yp18.js";
5
+ } from "../../chunks/bash-description-wmcbg6fw.js";
6
+ import"../../chunks/bash-description-9nn3yp18.js";
7
7
  export {
8
8
  messageKey2 as messageKey,
9
9
  transcriptText2 as transcriptText,
@@ -1,4 +1,4 @@
1
- import type { ToolCallContent, Usage } from "@agentclientprotocol/sdk";
1
+ import type { ToolCallContent, Usage } from "@agentclientprotocol/sdk/unstable";
2
2
  import type { Api, AssistantMessage, AssistantMessageEventStream, Model, ToolCall } from "@nyte-ai/ai";
3
3
  import type { ToolClass } from "@nyte-ai/schema";
4
4
  import { Type } from "typebox";
@@ -7,7 +7,7 @@ import {
7
7
  mirrorClass2,
8
8
  toolText2,
9
9
  Translator2
10
- } from "../../chunks/billing-9nn3yp18.js";
10
+ } from "../../chunks/bash-description-9nn3yp18.js";
11
11
  export {
12
12
  ACP_API2 as ACP_API,
13
13
  ACP_PROVIDER2 as ACP_PROVIDER,
@@ -4,7 +4,7 @@ import {
4
4
  APPROVAL_POLICIES2,
5
5
  approval2,
6
6
  openApprovals2
7
- } from "../../chunks/billing-h13r0byk.js";
7
+ } from "../../chunks/bash-description-h13r0byk.js";
8
8
 
9
9
  // src/approvals/approvals.ts
10
10
  import { posix } from "node:path";
@@ -6,7 +6,7 @@ import {
6
6
  approvalPrompt2,
7
7
  approval2,
8
8
  openApprovals2
9
- } from "../../chunks/billing-h13r0byk.js";
9
+ } from "../../chunks/bash-description-h13r0byk.js";
10
10
  export {
11
11
  APPROVAL_ACTIONS2 as APPROVAL_ACTIONS,
12
12
  APPROVAL_POLICIES2 as APPROVAL_POLICIES,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  compileCanvas2
3
- } from "../../chunks/billing-kn3d30b4.js";
4
- import"../../chunks/billing-bv5zr32b.js";
5
- import"../../chunks/billing-zfpm2rt0.js";
3
+ } from "../../chunks/bash-description-zz15raxk.js";
4
+ import"../../chunks/bash-description-dnvgk30y.js";
5
+ import"../../chunks/bash-description-zfpm2rt0.js";
6
6
  export {
7
7
  compileCanvas2 as compileCanvas
8
8
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CANVAS_LIBRARIES2
3
- } from "../../chunks/billing-zfpm2rt0.js";
3
+ } from "../../chunks/bash-description-zfpm2rt0.js";
4
4
  export {
5
5
  CANVAS_LIBRARIES2 as CANVAS_LIBRARIES
6
6
  };
@@ -2,9 +2,9 @@ import {
2
2
  CANVAS_PREVIEW_WIDTHS2,
3
3
  runCanvasPreview2,
4
4
  describeCanvasPreview2
5
- } from "../../chunks/billing-sxc70w72.js";
6
- import"../../chunks/billing-bv5zr32b.js";
7
- import"../../chunks/billing-zfpm2rt0.js";
5
+ } from "../../chunks/bash-description-yyd9jznf.js";
6
+ import"../../chunks/bash-description-dnvgk30y.js";
7
+ import"../../chunks/bash-description-zfpm2rt0.js";
8
8
  export {
9
9
  CANVAS_PREVIEW_WIDTHS2 as CANVAS_PREVIEW_WIDTHS,
10
10
  describeCanvasPreview2 as describeCanvasPreview,
@@ -65,7 +65,7 @@ export declare const KIT: {
65
65
  readonly LineChart: "{ series: { id: string, data: { x: number | string, y: number }[], tint?: Tint }[], height?: number = 240, xFormat?: (x) => string, yFormat?: (y) => string, curve?: \"linear\" | \"monotone\" | \"step\", area?: boolean, legend?: boolean }: a full chart with axes and a readout";
66
66
  readonly BarChart: "{ data: Record<string, number | string>[], keys: (string | { key: string, label?: string, tint?: Tint })[], indexBy: string, height?: number = 240, layout?: \"vertical\" | \"horizontal\", mode?: \"grouped\" | \"stacked\" = \"stacked\", valueFormat?: (value: number) => string, legend?: boolean }: a full chart with axes and a readout with the total";
67
67
  readonly PieChart: "{ data: { id: string, value: number, label?: string, tint?: Tint }[], height?: number = 240, donut?: boolean, valueFormat?: (value: number) => string, legend?: boolean }";
68
- readonly Button: "{ variant?: \"solid\" | \"outline\" | \"ghost\" | \"pill\" | \"chip\", size?: \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\", tone?: \"neutral\" | \"primary\" | \"success\" | \"warning\" | \"danger\", loading?: boolean, disabled?: boolean, onClick, children }";
68
+ readonly Button: "{ variant?: \"solid\" | \"outline\" | \"ghost\", pill?: boolean, size?: \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\", tone?: \"neutral\" | \"primary\" | \"success\" | \"warning\" | \"danger\", loading?: boolean, disabled?: boolean, onClick, children }";
69
69
  readonly Tabs: "Tabs.Root { value?, defaultValue?, onValueChange? } > Tabs.List { children: Tabs.Tab { value, children }[] } + Tabs.Panel { value, children }";
70
70
  readonly Select: "Select { value?, defaultValue?, onValueChange? } > SelectTrigger { children: <SelectValue /> } + SelectContent { children: SelectItem[] }";
71
71
  readonly SelectTrigger: "see Select";
@@ -34,8 +34,8 @@ import {
34
34
  readHostMessage2,
35
35
  clampCanvasHeight2,
36
36
  sanitizeCanvasVariables2
37
- } from "../../chunks/billing-bv5zr32b.js";
38
- import"../../chunks/billing-zfpm2rt0.js";
37
+ } from "../../chunks/bash-description-dnvgk30y.js";
38
+ import"../../chunks/bash-description-zfpm2rt0.js";
39
39
  export {
40
40
  CANVAS_CODE_LIMIT2 as CANVAS_CODE_LIMIT,
41
41
  CANVAS_DEFAULT_HEIGHT2 as CANVAS_DEFAULT_HEIGHT,
@@ -1,4 +1,4 @@
1
- import"../../chunks/billing-zfpm2rt0.js";
1
+ import"../../chunks/bash-description-zfpm2rt0.js";
2
2
  import {
3
3
  KIT_SPECIFIER2,
4
4
  CANVAS_ENTRY2,
@@ -9,17 +9,17 @@ import {
9
9
  LIBRARY_VERSIONS2,
10
10
  TINTS2,
11
11
  KIT2
12
- } from "../../chunks/billing-bv5zr32b.js";
12
+ } from "../../chunks/bash-description-dnvgk30y.js";
13
13
  import {
14
14
  compileCanvas2
15
- } from "../../chunks/billing-kn3d30b4.js";
15
+ } from "../../chunks/bash-description-zz15raxk.js";
16
16
  import {
17
17
  CANVAS_PREVIEW_WIDTHS2,
18
18
  describeCanvasPreview2
19
- } from "../../chunks/billing-sxc70w72.js";
19
+ } from "../../chunks/bash-description-yyd9jznf.js";
20
20
  import {
21
21
  canvas2
22
- } from "../../chunks/billing-mvc33pv6.js";
22
+ } from "../../chunks/bash-description-qnwggxq3.js";
23
23
 
24
24
  // src/canvas/canvas.ts
25
25
  import { definePart, followedTrace, traced } from "@nyte-ai/core";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  canvas2
3
- } from "../../chunks/billing-mvc33pv6.js";
4
- import"../../chunks/billing-bv5zr32b.js";
5
- import"../../chunks/billing-zfpm2rt0.js";
3
+ } from "../../chunks/bash-description-qnwggxq3.js";
4
+ import"../../chunks/bash-description-dnvgk30y.js";
5
+ import"../../chunks/bash-description-zfpm2rt0.js";
6
6
  export {
7
7
  canvas2 as canvas
8
8
  };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  findOnPath2
3
- } from "../../chunks/billing-4vz9pxyx.js";
3
+ } from "../../chunks/bash-description-4vz9pxyx.js";
4
4
  import {
5
5
  answerInput2
6
- } from "../../chunks/billing-6z2kgtyt.js";
6
+ } from "../../chunks/bash-description-6z2kgtyt.js";
7
7
  import {
8
8
  question2
9
- } from "../../chunks/billing-3j77ss7y.js";
9
+ } from "../../chunks/bash-description-3j77ss7y.js";
10
10
  import {
11
11
  CLAUDE_CODE_PROVIDER2,
12
12
  MIRROR_TOOL3,
13
13
  BACKGROUND_TOOL2,
14
14
  emptyMessage3,
15
15
  Translator3
16
- } from "../../chunks/billing-ye3wk5r3.js";
16
+ } from "../../chunks/bash-description-ye3wk5r3.js";
17
17
  import {
18
18
  ClaudeCodeSession2
19
- } from "../../chunks/billing-wbe8w0te.js";
19
+ } from "../../chunks/bash-description-wbe8w0te.js";
20
20
  import {
21
21
  mirrorArguments3,
22
22
  userBlocks3,
23
23
  messageKey3,
24
24
  sessionEntries2,
25
25
  flatPrompt2
26
- } from "../../chunks/billing-2v3g7rd9.js";
26
+ } from "../../chunks/bash-description-2v3g7rd9.js";
27
27
 
28
28
  // src/claude-code-sdk/index.ts
29
29
  import { randomUUID } from "node:crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ClaudeCodeSession2
3
- } from "../../chunks/billing-wbe8w0te.js";
4
- import"../../chunks/billing-ye3wk5r3.js";
3
+ } from "../../chunks/bash-description-wbe8w0te.js";
4
+ import"../../chunks/bash-description-ye3wk5r3.js";
5
5
  export {
6
6
  ClaudeCodeSession2 as ClaudeCodeSession
7
7
  };
@@ -1,7 +1,9 @@
1
1
  import type { SDKUserMessage, SessionStoreEntry } from "@anthropic-ai/claude-agent-sdk";
2
2
  import type { Message, UserMessage } from "@nyte-ai/ai";
3
3
  import { Type } from "typebox";
4
- type MessageParam = SDKUserMessage["message"];
4
+ type MessageParam = Exclude<SDKUserMessage["message"], {
5
+ role: "system";
6
+ }>;
5
7
  export type ContentBlock = Exclude<MessageParam["content"], string>[number];
6
8
  export declare const mirrorArguments: Type.TObject<{
7
9
  id: Type.TString;
@@ -4,8 +4,8 @@ import {
4
4
  messageKey3,
5
5
  sessionEntries2,
6
6
  flatPrompt2
7
- } from "../../chunks/billing-2v3g7rd9.js";
8
- import"../../chunks/billing-ye3wk5r3.js";
7
+ } from "../../chunks/bash-description-2v3g7rd9.js";
8
+ import"../../chunks/bash-description-ye3wk5r3.js";
9
9
  export {
10
10
  flatPrompt2 as flatPrompt,
11
11
  messageKey3 as messageKey,
@@ -7,7 +7,7 @@ import {
7
7
  emptyMessage3,
8
8
  mirrorCall2,
9
9
  Translator3
10
- } from "../../chunks/billing-ye3wk5r3.js";
10
+ } from "../../chunks/bash-description-ye3wk5r3.js";
11
11
  export {
12
12
  BACKGROUND_TOOL2 as BACKGROUND_TOOL,
13
13
  CLAUDE_CODE_PROVIDER2 as CLAUDE_CODE_PROVIDER,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executable2,
3
3
  findOnPath2
4
- } from "../chunks/billing-4vz9pxyx.js";
4
+ } from "../chunks/bash-description-4vz9pxyx.js";
5
5
  export {
6
6
  executable2 as executable,
7
7
  findOnPath2 as findOnPath
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  question3
3
- } from "../../../chunks/billing-6z2kgtyt.js";
3
+ } from "../../../chunks/bash-description-6z2kgtyt.js";
4
4
 
5
5
  // src/question/client/questions-tui.ts
6
6
  import { Box, Text } from "@opentui/core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  question3
3
- } from "../../../chunks/billing-6z2kgtyt.js";
3
+ } from "../../../chunks/bash-description-6z2kgtyt.js";
4
4
 
5
5
  // src/question/client/questions.tsx
6
6
  import { useId, useRef, useState } from "react";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  question2,
3
3
  question_default
4
- } from "../../chunks/billing-3j77ss7y.js";
5
- import"../../chunks/billing-6z2kgtyt.js";
4
+ } from "../../chunks/bash-description-3j77ss7y.js";
5
+ import"../../chunks/bash-description-6z2kgtyt.js";
6
6
  export {
7
7
  question_default as default,
8
8
  question2 as question