@nyte-ai/plugin 0.0.0-stage → 0.0.19

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 (137) hide show
  1. package/LICENSE +21 -0
  2. package/THIRD-PARTY-NOTICES.md +866 -0
  3. package/dist/chunks/billing-0y7dfkp2.js +146 -0
  4. package/dist/chunks/billing-2v3g7rd9.js +190 -0
  5. package/dist/chunks/billing-3j77ss7y.js +86 -0
  6. package/dist/chunks/billing-3scqmkzb.js +559 -0
  7. package/dist/chunks/billing-4vz9pxyx.js +22 -0
  8. package/dist/chunks/billing-6z2kgtyt.js +51 -0
  9. package/dist/chunks/billing-8rjk35gr.js +444 -0
  10. package/dist/chunks/billing-9nn3yp18.js +176 -0
  11. package/dist/chunks/billing-9qc0eqh4.js +174 -0
  12. package/dist/chunks/billing-a9vqn66p.js +351 -0
  13. package/dist/chunks/billing-bv5zr32b.js +369 -0
  14. package/dist/chunks/billing-cy1rg619.js +302 -0
  15. package/dist/chunks/billing-ejx2hv52.js +323 -0
  16. package/dist/chunks/billing-h13r0byk.js +80 -0
  17. package/dist/chunks/billing-hg64tqf1.js +97 -0
  18. package/dist/chunks/billing-j643d12p.js +197 -0
  19. package/dist/chunks/billing-kn3d30b4.js +276 -0
  20. package/dist/chunks/billing-mvc33pv6.js +36 -0
  21. package/dist/chunks/billing-s4rrspsk.js +7 -0
  22. package/dist/chunks/billing-svrhh5a5.js +307 -0
  23. package/dist/chunks/billing-sxc70w72.js +161 -0
  24. package/dist/chunks/billing-t1qrxe16.js +41 -0
  25. package/dist/chunks/billing-tm34gm2p.js +528 -0
  26. package/dist/chunks/billing-tzr3cebf.js +20 -0
  27. package/dist/chunks/billing-v3hg5rc7.js +373 -0
  28. package/dist/chunks/billing-wmcbg6fw.js +52 -0
  29. package/dist/chunks/billing-ye3wk5r3.js +205 -0
  30. package/dist/chunks/billing-zfpm2rt0.js +29 -0
  31. package/dist/examples/claude-code/LICENSE +21 -0
  32. package/dist/examples/claude-code/billing.d.ts +7 -0
  33. package/dist/examples/claude-code/billing.js +11 -0
  34. package/dist/examples/claude-code/claude-cli.d.ts +35 -0
  35. package/dist/examples/claude-code/claude-cli.js +15 -0
  36. package/dist/examples/claude-code/env.d.ts +1 -0
  37. package/dist/examples/claude-code/env.js +6 -0
  38. package/dist/examples/claude-code/index.d.ts +24 -0
  39. package/dist/examples/claude-code/index.js +149 -0
  40. package/dist/examples/claude-code/inert-mcp.d.ts +1 -0
  41. package/dist/examples/claude-code/inert-mcp.js +6 -0
  42. package/dist/examples/claude-code/model-catalog.d.ts +27 -0
  43. package/dist/examples/claude-code/model-catalog.js +12 -0
  44. package/dist/examples/claude-code/process.d.ts +22 -0
  45. package/dist/examples/claude-code/process.js +25 -0
  46. package/dist/examples/claude-code/replay.d.ts +4 -0
  47. package/dist/examples/claude-code/replay.js +11 -0
  48. package/dist/examples/claude-code/stream.d.ts +3 -0
  49. package/dist/examples/claude-code/stream.js +16 -0
  50. package/dist/examples/claude-code/transcript.d.ts +83 -0
  51. package/dist/examples/claude-code/transcript.js +23 -0
  52. package/dist/examples/claude-code/turn-relay.d.ts +48 -0
  53. package/dist/examples/claude-code/turn-relay.js +9 -0
  54. package/dist/examples/claude-code/wire.d.ts +372 -0
  55. package/dist/examples/claude-code/wire.js +18 -0
  56. package/dist/src/acp/connection.d.ts +24 -0
  57. package/dist/src/acp/connection.js +8 -0
  58. package/dist/src/acp/index.d.ts +54 -0
  59. package/dist/src/acp/index.js +1005 -0
  60. package/dist/src/acp/registry.d.ts +18 -0
  61. package/dist/src/acp/registry.js +9 -0
  62. package/dist/src/acp/thread.d.ts +46 -0
  63. package/dist/src/acp/thread.js +7 -0
  64. package/dist/src/acp/transcript.d.ts +8 -0
  65. package/dist/src/acp/transcript.js +11 -0
  66. package/dist/src/acp/translate.d.ts +33 -0
  67. package/dist/src/acp/translate.js +20 -0
  68. package/dist/src/approvals/approvals.d.ts +189 -0
  69. package/dist/src/approvals/approvals.js +143 -0
  70. package/dist/src/approvals/schema.d.ts +169 -0
  71. package/dist/src/approvals/schema.js +18 -0
  72. package/dist/src/bash-description.d.ts +30 -0
  73. package/dist/src/bash-description.js +18 -0
  74. package/dist/src/browser-tools.d.ts +25 -0
  75. package/dist/src/browser-tools.js +246 -0
  76. package/dist/src/canvas/canvas-compile.d.ts +48 -0
  77. package/dist/src/canvas/canvas-compile.js +8 -0
  78. package/dist/src/canvas/canvas-libraries.d.ts +32 -0
  79. package/dist/src/canvas/canvas-libraries.js +6 -0
  80. package/dist/src/canvas/canvas-preview.d.ts +107 -0
  81. package/dist/src/canvas/canvas-preview.js +12 -0
  82. package/dist/src/canvas/canvas-protocol.d.ts +184 -0
  83. package/dist/src/canvas/canvas-protocol.js +75 -0
  84. package/dist/src/canvas/canvas.d.ts +50 -0
  85. package/dist/src/canvas/canvas.js +221 -0
  86. package/dist/src/canvas/schema.d.ts +47 -0
  87. package/dist/src/canvas/schema.js +8 -0
  88. package/dist/src/claude-code-sdk/index.d.ts +35 -0
  89. package/dist/src/claude-code-sdk/index.js +379 -0
  90. package/dist/src/claude-code-sdk/session.d.ts +50 -0
  91. package/dist/src/claude-code-sdk/session.js +7 -0
  92. package/dist/src/claude-code-sdk/transcript.d.ts +19 -0
  93. package/dist/src/claude-code-sdk/transcript.js +15 -0
  94. package/dist/src/claude-code-sdk/translate.d.ts +18 -0
  95. package/dist/src/claude-code-sdk/translate.js +20 -0
  96. package/dist/src/client/mount.d.ts +44 -0
  97. package/dist/src/client/mount.js +252 -0
  98. package/dist/src/client/notifications.d.ts +36 -0
  99. package/dist/src/client/notifications.js +24 -0
  100. package/dist/src/client/presentation.d.ts +362 -0
  101. package/dist/src/client/presentation.js +391 -0
  102. package/dist/src/client/transcript-tui.d.ts +23 -0
  103. package/dist/src/client/transcript-tui.js +20 -0
  104. package/dist/src/client/transcript.d.ts +23 -0
  105. package/dist/src/client/transcript.js +51 -0
  106. package/dist/src/client.d.ts +53 -0
  107. package/dist/src/client.js +22 -0
  108. package/dist/src/codemode-runtime.d.ts +11 -0
  109. package/dist/src/codemode-runtime.js +10 -0
  110. package/dist/src/codemode-worker.d.ts +1 -0
  111. package/dist/src/codemode-worker.js +2 -0
  112. package/dist/src/codemode.d.ts +21 -0
  113. package/dist/src/codemode.js +170 -0
  114. package/dist/src/core.d.ts +43 -0
  115. package/dist/src/core.js +11 -0
  116. package/dist/src/find-on-path.d.ts +4 -0
  117. package/dist/src/find-on-path.js +8 -0
  118. package/dist/src/openai-astra-context.d.ts +23 -0
  119. package/dist/src/openai-astra-context.js +14 -0
  120. package/dist/src/openai-compaction.d.ts +15 -0
  121. package/dist/src/openai-compaction.js +55 -0
  122. package/dist/src/question/client/questions-tui.d.ts +9 -0
  123. package/dist/src/question/client/questions-tui.js +19 -0
  124. package/dist/src/question/client/questions.d.ts +9 -0
  125. package/dist/src/question/client/questions.js +160 -0
  126. package/dist/src/question/question.d.ts +63 -0
  127. package/dist/src/question/question.js +9 -0
  128. package/dist/src/question/schema.d.ts +101 -0
  129. package/dist/src/question/schema.js +14 -0
  130. package/dist/src/rename.d.ts +79 -0
  131. package/dist/src/rename.js +91 -0
  132. package/dist/src/telemetry.d.ts +36 -0
  133. package/dist/src/telemetry.js +84 -0
  134. package/dist/src/web-search.d.ts +78 -0
  135. package/dist/src/web-search.js +219 -0
  136. package/package.json +190 -3
  137. package/README.md +0 -3
@@ -0,0 +1,219 @@
1
+ // src/web-search.ts
2
+ import { dev } from "@nyte-ai/core";
3
+ import { standard } from "@nyte-ai/schema";
4
+ import { Type } from "typebox";
5
+ import { Value } from "typebox/value";
6
+ var PROVIDERS = ["exa", "tavily", "firecrawl", "parallel"];
7
+ var providerSchema = Type.Union(PROVIDERS.map((name) => Type.Literal(name)));
8
+ var provider = {
9
+ id: "web_search.provider",
10
+ label: "Web search provider",
11
+ schema: standard(providerSchema),
12
+ choices: [
13
+ { value: "exa", label: "Exa" },
14
+ { value: "tavily", label: "Tavily" },
15
+ { value: "firecrawl", label: "Firecrawl" },
16
+ { value: "parallel", label: "Parallel" }
17
+ ],
18
+ default: "exa",
19
+ scope: "host"
20
+ };
21
+ var textBlocks = Type.Object({
22
+ content: Type.Array(Type.Object({ type: Type.String(), text: Type.Optional(Type.String()) }))
23
+ });
24
+ var tavilyResponse = Type.Object({
25
+ results: Type.Array(Type.Object({ url: Type.String(), title: Type.String(), content: Type.String() }))
26
+ });
27
+ var firecrawlResponse = Type.Object({
28
+ data: Type.Object({
29
+ web: Type.Array(Type.Object({
30
+ url: Type.String(),
31
+ title: Type.Optional(Type.Union([Type.String(), Type.Null()])),
32
+ description: Type.Optional(Type.Union([Type.String(), Type.Null()]))
33
+ }))
34
+ })
35
+ });
36
+ var parallelResponse = Type.Object({
37
+ structuredContent: Type.Object({
38
+ results: Type.Array(Type.Object({
39
+ url: Type.String(),
40
+ title: Type.Optional(Type.Union([Type.String(), Type.Null()])),
41
+ excerpts: Type.Array(Type.String())
42
+ }))
43
+ })
44
+ });
45
+ var adapters = {
46
+ async tavily({ query, key, fetch, signal }) {
47
+ const response = await fetch("https://api.tavily.com/search", {
48
+ method: "POST",
49
+ headers: {
50
+ "Content-Type": "application/json",
51
+ ...key === undefined ? { "X-Tavily-Access-Mode": "keyless" } : { Authorization: `Bearer ${key}` }
52
+ },
53
+ body: JSON.stringify({ query, search_depth: "basic", max_results: 8 }),
54
+ signal
55
+ });
56
+ const body = parse(await answered(response));
57
+ return Value.Check(tavilyResponse, body) ? body.results.map((hit) => ({ url: hit.url, title: hit.title, content: hit.content })) : [];
58
+ },
59
+ async exa({ query, key, fetch, signal }) {
60
+ const endpoint = new URL("https://mcp.exa.ai/mcp");
61
+ if (key !== undefined)
62
+ endpoint.searchParams.set("exaApiKey", key);
63
+ const result = await callTool(fetch, endpoint, undefined, "web_search_exa", { query, numResults: 8 }, signal);
64
+ const text = Value.Check(textBlocks, result) ? result.content.find((block) => block.text !== undefined)?.text ?? "" : "";
65
+ return text.split(/\n\n---\n\n/).flatMap((block) => {
66
+ const url = field(block, "URL");
67
+ return url === null ? [] : [
68
+ {
69
+ url,
70
+ title: field(block, "Title"),
71
+ content: block.match(/^(?:Highlights|Text):\s*\n?([\s\S]*)$/m)?.[1]?.trim() ?? null
72
+ }
73
+ ];
74
+ });
75
+ },
76
+ async firecrawl({ query, key, fetch, signal }) {
77
+ const result = await callTool(fetch, new URL("https://mcp.firecrawl.dev/v2/mcp"), key, "firecrawl_search", { query, limit: 8 }, signal);
78
+ const text = Value.Check(textBlocks, result) ? result.content.find((block) => block.text !== undefined)?.text ?? "" : "";
79
+ const body = parse(text);
80
+ return Value.Check(firecrawlResponse, body) ? body.data.web.map((hit) => ({
81
+ url: hit.url,
82
+ title: hit.title ?? null,
83
+ content: hit.description ?? null
84
+ })) : [];
85
+ },
86
+ async parallel({ query, key, fetch, signal }) {
87
+ const result = await callTool(fetch, new URL("https://search.parallel.ai/mcp"), key, "web_search", { objective: query, search_queries: [query] }, signal);
88
+ return Value.Check(parallelResponse, result) ? result.structuredContent.results.map((hit) => ({
89
+ url: hit.url,
90
+ title: hit.title ?? null,
91
+ content: hit.excerpts.length === 0 ? null : hit.excerpts.join(`
92
+
93
+ `)
94
+ })) : [];
95
+ }
96
+ };
97
+ async function callTool(fetch, url, key, tool, args, signal) {
98
+ const response = await fetch(url, {
99
+ method: "POST",
100
+ headers: {
101
+ Accept: "application/json, text/event-stream",
102
+ "Content-Type": "application/json",
103
+ ...key === undefined ? {} : { Authorization: `Bearer ${key}` }
104
+ },
105
+ body: JSON.stringify({
106
+ jsonrpc: "2.0",
107
+ id: 1,
108
+ method: "tools/call",
109
+ params: { name: tool, arguments: args }
110
+ }),
111
+ signal
112
+ });
113
+ const body = await answered(response);
114
+ const frames = [
115
+ body,
116
+ ...body.split(`
117
+ `).flatMap((line) => line.startsWith("data: ") ? [line.slice(6)] : [])
118
+ ];
119
+ for (const frame of frames) {
120
+ const message = parse(frame);
121
+ if (typeof message === "object" && message !== null && "result" in message)
122
+ return message.result;
123
+ }
124
+ return;
125
+ }
126
+ async function answered(response) {
127
+ const body = await response.text();
128
+ if (!response.ok)
129
+ throw new Error(`HTTP ${response.status}: ${body.trim().slice(0, 200) || response.statusText}`);
130
+ return body;
131
+ }
132
+ function parse(text) {
133
+ try {
134
+ return JSON.parse(text);
135
+ } catch {
136
+ return;
137
+ }
138
+ }
139
+ function field(block, name) {
140
+ const value = block.match(new RegExp(`^${name}:\\s*(.+)$`, "m"))?.[1]?.trim();
141
+ return value === undefined || value === "" || value === "N/A" ? null : value;
142
+ }
143
+ var parameters = standard(Type.Object({ query: Type.String({ minLength: 1, description: "What to search the web for." }) }));
144
+ function webSearch(api) {
145
+ return {
146
+ name: "web_search",
147
+ description: "Search the web for current information beyond your knowledge cutoff. Returns titles, URLs and excerpts.",
148
+ parameters,
149
+ class: (args) => ({ kind: "custom", label: `Searching ${args.query}` }),
150
+ effects: "none",
151
+ approval: "never",
152
+ replay: "safe",
153
+ async execute(args, invocation) {
154
+ const value = await api.contribute.settings.value(provider.id);
155
+ const name = PROVIDERS.find((known) => known === value) ?? provider.default;
156
+ const results = await invocation.memo("results", async () => {
157
+ const key = await api.storage.secrets.get(name);
158
+ dev("web-search", "search", {
159
+ call: invocation.call,
160
+ provider: name,
161
+ keyed: key !== undefined
162
+ });
163
+ const hits = await adapters[name]({
164
+ query: args.query,
165
+ key,
166
+ fetch: globalThis.fetch,
167
+ signal: AbortSignal.any([invocation.signal, AbortSignal.timeout(25000)])
168
+ });
169
+ return hits.map((hit) => ({ url: hit.url, title: hit.title, content: hit.content }));
170
+ });
171
+ const text = results.length === 0 ? "No results. Try a different query." : results.map((hit) => `## ${hit.title ?? hit.url}
172
+ ${hit.url}${hit.content === null ? "" : `
173
+
174
+ ${hit.content}`}`).join(`
175
+
176
+ `);
177
+ return { content: [{ kind: "text", text }] };
178
+ }
179
+ };
180
+ }
181
+ var keyCommand = {
182
+ name: "websearch-key",
183
+ title: "Set a web search key",
184
+ description: "Store a web search provider's API key: <provider> <key>; no key removes it.",
185
+ complete(prefix) {
186
+ const typed = prefix.trimStart();
187
+ if (/\s/u.test(typed))
188
+ return [];
189
+ return PROVIDERS.filter((known) => known.startsWith(typed.toLowerCase())).map((known) => ({
190
+ value: `${known} `,
191
+ label: known
192
+ }));
193
+ },
194
+ async run(text, { api }) {
195
+ const [named = "", key = ""] = text.split(/\s+(.*)/su);
196
+ const chosen = PROVIDERS.find((known) => known === named.toLowerCase());
197
+ if (chosen === undefined)
198
+ throw new Error(`Name a provider first: ${PROVIDERS.join(", ")}.`);
199
+ if (key === "")
200
+ await api.storage.secrets.delete(chosen);
201
+ else
202
+ await api.storage.secrets.set(chosen, key);
203
+ return `Key for ${chosen} ${key === "" ? "removed" : "saved"}.`;
204
+ }
205
+ };
206
+ var web_search_default = {
207
+ id: "web-search",
208
+ contribute: {
209
+ settings: [provider],
210
+ commands: [keyCommand]
211
+ },
212
+ activate(api) {
213
+ api.contribute.tools.add(webSearch(api));
214
+ }
215
+ };
216
+ export {
217
+ adapters,
218
+ web_search_default as default
219
+ };
package/package.json CHANGED
@@ -1,6 +1,193 @@
1
1
  {
2
2
  "name": "@nyte-ai/plugin",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.19",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/interfaces-lab/nyte.git",
9
+ "directory": "packages/plugin"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "LICENSE",
14
+ "THIRD-PARTY-NOTICES.md"
15
+ ],
16
+ "type": "module",
17
+ "exports": {
18
+ "./core": {
19
+ "types": "./dist/src/core.d.ts",
20
+ "import": "./dist/src/core.js"
21
+ },
22
+ "./core/approvals": {
23
+ "types": "./dist/src/approvals/approvals.d.ts",
24
+ "import": "./dist/src/approvals/approvals.js"
25
+ },
26
+ "./core/acp": {
27
+ "types": "./dist/src/acp/index.d.ts",
28
+ "import": "./dist/src/acp/index.js"
29
+ },
30
+ "./core/bash-description": {
31
+ "types": "./dist/src/bash-description.d.ts",
32
+ "import": "./dist/src/bash-description.js"
33
+ },
34
+ "./core/browser-tools": {
35
+ "types": "./dist/src/browser-tools.d.ts",
36
+ "import": "./dist/src/browser-tools.js"
37
+ },
38
+ "./core/canvas": {
39
+ "types": "./dist/src/canvas/canvas.d.ts",
40
+ "import": "./dist/src/canvas/canvas.js"
41
+ },
42
+ "./core/canvas-compile": {
43
+ "types": "./dist/src/canvas/canvas-compile.d.ts",
44
+ "import": "./dist/src/canvas/canvas-compile.js"
45
+ },
46
+ "./core/canvas-preview": {
47
+ "types": "./dist/src/canvas/canvas-preview.d.ts",
48
+ "import": "./dist/src/canvas/canvas-preview.js"
49
+ },
50
+ "./core/claude-code": {
51
+ "types": "./dist/examples/claude-code/index.d.ts",
52
+ "import": "./dist/examples/claude-code/index.js"
53
+ },
54
+ "./core/claude-code-sdk": {
55
+ "types": "./dist/src/claude-code-sdk/index.d.ts",
56
+ "import": "./dist/src/claude-code-sdk/index.js"
57
+ },
58
+ "./core/codemode": {
59
+ "types": "./dist/src/codemode.d.ts",
60
+ "import": "./dist/src/codemode.js"
61
+ },
62
+ "./core/codemode-runtime": {
63
+ "types": "./dist/src/codemode-runtime.d.ts",
64
+ "import": "./dist/src/codemode-runtime.js"
65
+ },
66
+ "./core/codemode-worker": {
67
+ "types": "./dist/src/codemode-worker.d.ts",
68
+ "import": "./dist/src/codemode-worker.js"
69
+ },
70
+ "./core/openai-astra-context": {
71
+ "types": "./dist/src/openai-astra-context.d.ts",
72
+ "import": "./dist/src/openai-astra-context.js"
73
+ },
74
+ "./core/openai-compaction": {
75
+ "types": "./dist/src/openai-compaction.d.ts",
76
+ "import": "./dist/src/openai-compaction.js"
77
+ },
78
+ "./core/question": {
79
+ "types": "./dist/src/question/question.d.ts",
80
+ "import": "./dist/src/question/question.js"
81
+ },
82
+ "./core/rename": {
83
+ "types": "./dist/src/rename.d.ts",
84
+ "import": "./dist/src/rename.js"
85
+ },
86
+ "./core/telemetry": {
87
+ "types": "./dist/src/telemetry.d.ts",
88
+ "import": "./dist/src/telemetry.js"
89
+ },
90
+ "./core/web-search": {
91
+ "types": "./dist/src/web-search.d.ts",
92
+ "import": "./dist/src/web-search.js"
93
+ },
94
+ "./client": {
95
+ "types": "./dist/src/client.d.ts",
96
+ "import": "./dist/src/client.js"
97
+ },
98
+ "./client/mount": {
99
+ "types": "./dist/src/client/mount.d.ts",
100
+ "import": "./dist/src/client/mount.js"
101
+ },
102
+ "./client/notifications": {
103
+ "types": "./dist/src/client/notifications.d.ts",
104
+ "import": "./dist/src/client/notifications.js"
105
+ },
106
+ "./client/presentation": {
107
+ "types": "./dist/src/client/presentation.d.ts",
108
+ "import": "./dist/src/client/presentation.js"
109
+ },
110
+ "./client/questions": {
111
+ "types": "./dist/src/question/client/questions.d.ts",
112
+ "import": "./dist/src/question/client/questions.js"
113
+ },
114
+ "./client/questions-tui": {
115
+ "types": "./dist/src/question/client/questions-tui.d.ts",
116
+ "import": "./dist/src/question/client/questions-tui.js"
117
+ },
118
+ "./client/transcript": {
119
+ "types": "./dist/src/client/transcript.d.ts",
120
+ "import": "./dist/src/client/transcript.js"
121
+ },
122
+ "./client/transcript-tui": {
123
+ "types": "./dist/src/client/transcript-tui.d.ts",
124
+ "import": "./dist/src/client/transcript-tui.js"
125
+ },
126
+ "./approvals/schema": {
127
+ "types": "./dist/src/approvals/schema.d.ts",
128
+ "import": "./dist/src/approvals/schema.js"
129
+ },
130
+ "./canvas/protocol": {
131
+ "types": "./dist/src/canvas/canvas-protocol.d.ts",
132
+ "import": "./dist/src/canvas/canvas-protocol.js"
133
+ },
134
+ "./canvas/schema": {
135
+ "types": "./dist/src/canvas/schema.d.ts",
136
+ "import": "./dist/src/canvas/schema.js"
137
+ },
138
+ "./question/schema": {
139
+ "types": "./dist/src/question/schema.d.ts",
140
+ "import": "./dist/src/question/schema.js"
141
+ }
142
+ },
143
+ "publishConfig": {
144
+ "access": "public",
145
+ "provenance": true
146
+ },
147
+ "dependencies": {
148
+ "@agentclientprotocol/sdk": "1.9.0",
149
+ "@anthropic-ai/claude-agent-sdk": "0.3.296",
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",
154
+ "@opentelemetry/api": "^1.9.1",
155
+ "@opentelemetry/exporter-trace-otlp-http": "^0.223.0",
156
+ "@opentelemetry/resources": "^2.12.0",
157
+ "@opentelemetry/sdk-trace": "^2.12.0",
158
+ "@opentelemetry/semantic-conventions": "^1.43.0",
159
+ "es-module-lexer": "2.3.2",
160
+ "sucrase": "3.35.1",
161
+ "typebox": "1.3.36",
162
+ "zod": "4.5.4"
163
+ },
164
+ "devDependencies": {
165
+ "@opentui/core": "^0.6.6",
166
+ "@types/node": "^26.6.5",
167
+ "@types/react": "19.3.0",
168
+ "react": "19.3.0",
169
+ "typescript": "6.0.3",
170
+ "vitest": "^5.0.5"
171
+ },
172
+ "peerDependencies": {
173
+ "@opentui/core": "^0.6.5",
174
+ "react": "^19.2.0"
175
+ },
176
+ "peerDependenciesMeta": {
177
+ "@opentui/core": {
178
+ "optional": true
179
+ },
180
+ "react": {
181
+ "optional": true
182
+ }
183
+ },
184
+ "engines": {
185
+ "node": ">=26.4.0"
186
+ },
187
+ "scripts": {
188
+ "clean": "rm -rf node_modules .turbo",
189
+ "test": "vitest --run",
190
+ "typecheck": "tsrs --noEmit",
191
+ "build:package": "bun ../../scripts/sdk-packages.mjs build plugin"
192
+ }
6
193
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.