nanocodex 0.6.6 → 0.6.7
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.md +297 -6
- package/THIRD-PARTY-LICENSES +23 -0
- package/browser/Agent.d.mts +5 -4
- package/browser/Agent.mjs +4 -0
- package/browser/Claude.d.mts +4 -0
- package/browser/Claude.mjs +11 -0
- package/browser/InlineAgent.mjs +19 -1
- package/browser/host.d.mts +54 -1
- package/browser/host.mjs +65 -16
- package/browser/hostManagedWebSocket.mjs +11 -2
- package/browser/index.d.mts +3 -10
- package/browser/index.mjs +2 -5
- package/browser/socket-observations.mjs +203 -0
- package/cloud/Decorator.d.mts +2 -2
- package/cloud/Decorator.mjs +1 -0
- package/cloud/Dialog.d.mts +13 -0
- package/cloud/Dialog.mjs +52 -6
- package/cloud/Transport.d.mts +0 -11
- package/cloud/Transport.mjs +1 -386
- package/cloud/actions/account.d.mts +12 -0
- package/cloud/actions/account.mjs +11 -0
- package/cloud/actions/agent.mjs +3 -0
- package/cloud/actions/connection.d.mts +3 -1
- package/cloud/actions/connection.mjs +19 -4
- package/cloud/index.d.mts +1 -1
- package/cloud/index.mjs +1 -1
- package/cloud/internal.mjs +19 -4
- package/cloud/mercator.mjs +1 -1
- package/cloud/mock.d.mts +17 -0
- package/cloud/mock.mjs +392 -0
- package/cloud/types.d.mts +3 -1
- package/cloudflare/Agent.d.mts +2 -0
- package/cloudflare/Agent.mjs +88 -2
- package/cloudflare/agent-settings.d.mts +1 -1
- package/cloudflare/agent-settings.mjs +9 -0
- package/cloudflare/egress.mjs +9 -6
- package/cloudflare/gateway-responses.d.mts +1 -0
- package/cloudflare/gateway-responses.mjs +2 -2
- package/cloudflare/managed-auth.d.mts +4 -4
- package/cloudflare/managed-auth.mjs +14 -2
- package/cloudflare/managed-live.d.mts +6 -0
- package/cloudflare/managed-live.mjs +56 -1
- package/cloudflare/workers-ai-responses.d.mts +2 -1
- package/cloudflare/workers-ai-responses.mjs +80 -6
- package/host/Agent.d.mts +6 -2
- package/host/Claude.d.mts +3 -0
- package/host/Claude.mjs +2 -0
- package/host/index.d.mts +6 -10
- package/host/index.mjs +2 -5
- package/index.d.mts +11 -10
- package/index.mjs +0 -5
- package/internal.mjs +28 -3
- package/managed/Agent.d.mts +6 -2
- package/managed/Agent.mjs +39 -5
- package/managed/ManagedError.d.mts +3 -0
- package/node/Agent.d.mts +6 -2
- package/node/Agent.mjs +14 -1
- package/node/Claude.d.mts +4 -0
- package/node/Claude.mjs +24 -0
- package/node/host.mjs +18 -9
- package/node/index.d.mts +6 -10
- package/node/index.mjs +2 -5
- package/package.json +41 -9
- package/pkg-node/nanocodex.d.ts +109 -0
- package/pkg-node/nanocodex.js +818 -51
- package/pkg-node/nanocodex_bg.wasm.d.ts +47 -3
- package/pkg-web/.nanocodex-bindgen-stamp +3 -3
- package/pkg-web/nanocodex-build.json +1 -1
- package/pkg-web/nanocodex.d.ts +156 -3
- package/pkg-web/nanocodex.js +813 -51
- package/pkg-web/nanocodex_bg.js +813 -51
- package/pkg-web/nanocodex_bg.wasm +0 -0
- package/pkg-web/nanocodex_bg.wasm.d.ts +47 -3
- package/pkg-web/nanocodex_worker.js +1 -1
- package/runtime/claude-host.mjs +308 -0
- package/runtime/claude-subscription.mjs +79 -0
- package/runtime/claude.d.mts +112 -0
- package/runtime/claude.mjs +221 -0
- package/runtime/code-effect-identity.mjs +123 -0
- package/runtime/harnesses.mjs +51 -0
- package/runtime/mcp-payment.mjs +8 -0
- package/runtime/mcp-runtime.d.mts +10 -0
- package/runtime/mcp-runtime.mjs +242 -57
- package/runtime/mercator.mjs +2 -0
- package/runtime/quickjs-evaluator.mjs +23 -11
- package/runtime/response-controls.mjs +1 -6
- package/runtime/responses-http.mjs +4 -2
- package/runtime/retry-after.d.mts +10 -0
- package/runtime/retry-after.mjs +86 -0
- package/runtime/steer-receipt.mjs +8 -1
- package/runtime/subagent-routing.d.mts +4 -2
- package/runtime/subagent-routing.mjs +7 -2
- package/runtime/subagents.d.mts +8 -3
- package/services/account.d.mts +76 -0
- package/services/account.mjs +151 -0
- package/services/hosted.mjs +72 -0
- package/services/index.d.mts +95 -0
- package/services/index.mjs +192 -0
- package/services/scope.mjs +36 -0
- package/{runtime/tempo-provider.d.mts → tempo/index.d.mts} +20 -1
- package/{runtime/tempo-provider.mjs → tempo/index.mjs} +39 -3
- package/tools/browser/browserShell.mjs +18 -8
- package/tools/browser/python.worker.mjs +17 -1
- package/tools/browser/threadGit.mjs +12 -2
- package/tools/environment.d.mts +8 -0
- package/tools/environment.mjs +10 -0
- package/tools/index.d.mts +6 -3
- package/types.d.mts +104 -4
- package/worker/Claude.d.mts +4 -0
- package/worker/Claude.mjs +11 -0
- package/worker/ClaudeSubscription.d.mts +24 -0
- package/worker/ClaudeSubscription.mjs +9 -0
- package/worker/index.d.mts +9 -0
- package/worker/index.mjs +4 -0
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
4
|
export const __wbg_browservoice_free: (a: number, b: number) => void;
|
|
5
5
|
export const __wbg_chatgptsubscription_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_claudesubscription_free: (a: number, b: number) => void;
|
|
6
7
|
export const __wbg_managedbrowservoice_free: (a: number, b: number) => void;
|
|
8
|
+
export const __wbg_nanoclaude_free: (a: number, b: number) => void;
|
|
7
9
|
export const __wbg_nanocodex_free: (a: number, b: number) => void;
|
|
8
10
|
export const __wbg_turn_free: (a: number, b: number) => void;
|
|
9
11
|
export const __wbg_turnresult_free: (a: number, b: number) => void;
|
|
@@ -33,6 +35,13 @@ export const chatgptsubscription_open: (a: number, b: number) => number;
|
|
|
33
35
|
export const chatgptsubscription_recover: (a: number, b: number, c: number) => number;
|
|
34
36
|
export const chatgptsubscription_startLogin: (a: number) => number;
|
|
35
37
|
export const chatgptsubscription_status: (a: number) => number;
|
|
38
|
+
export const claudesubscription_completeLogin: (a: number, b: number, c: number) => number;
|
|
39
|
+
export const claudesubscription_credential: (a: number) => number;
|
|
40
|
+
export const claudesubscription_logout: (a: number) => number;
|
|
41
|
+
export const claudesubscription_open: (a: number, b: number) => number;
|
|
42
|
+
export const claudesubscription_recover: (a: number, b: number, c: number) => number;
|
|
43
|
+
export const claudesubscription_startLogin: (a: number) => number;
|
|
44
|
+
export const claudesubscription_status: (a: number) => number;
|
|
36
45
|
export const managedbrowservoice_agentEvent: (a: number, b: number, c: number, d: number) => void;
|
|
37
46
|
export const managedbrowservoice_appendContext: (a: number, b: number, c: number, d: number) => void;
|
|
38
47
|
export const managedbrowservoice_appendSpeech: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -54,6 +63,25 @@ export const managedbrowservoice_sidebandOpened: (a: number, b: number) => void;
|
|
|
54
63
|
export const managedbrowservoice_sidebandUrl: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
55
64
|
export const managedbrowservoice_start: (a: number, b: number, c: number, d: number) => void;
|
|
56
65
|
export const managedbrowservoice_stop: (a: number, b: number) => void;
|
|
66
|
+
export const nanoclaude_agentId: (a: number, b: number) => void;
|
|
67
|
+
export const nanoclaude_cancel: (a: number) => number;
|
|
68
|
+
export const nanoclaude_checkpoint: (a: number, b: number) => void;
|
|
69
|
+
export const nanoclaude_closeSubagent: (a: number, b: number, c: number) => number;
|
|
70
|
+
export const nanoclaude_compact: (a: number) => number;
|
|
71
|
+
export const nanoclaude_create: (a: number, b: number) => number;
|
|
72
|
+
export const nanoclaude_interruptSubagent: (a: number, b: number, c: number) => number;
|
|
73
|
+
export const nanoclaude_listSubagents: (a: number, b: number, c: number) => number;
|
|
74
|
+
export const nanoclaude_prompt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
75
|
+
export const nanoclaude_promptContent: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
76
|
+
export const nanoclaude_routePrompt: (a: number, b: number, c: number) => number;
|
|
77
|
+
export const nanoclaude_sendSubagentMessage: (a: number, b: number, c: number) => number;
|
|
78
|
+
export const nanoclaude_sessionId: (a: number, b: number) => void;
|
|
79
|
+
export const nanoclaude_setEventForwarding: (a: number, b: number) => void;
|
|
80
|
+
export const nanoclaude_shutdown: (a: number) => number;
|
|
81
|
+
export const nanoclaude_snapshot: (a: number, b: number) => void;
|
|
82
|
+
export const nanoclaude_spawnSubagent: (a: number, b: number, c: number) => number;
|
|
83
|
+
export const nanoclaude_spawnSubagents: (a: number, b: number, c: number) => number;
|
|
84
|
+
export const nanoclaude_waitSubagents: (a: number, b: number, c: number) => number;
|
|
57
85
|
export const nanocodex_agentId: (a: number, b: number) => void;
|
|
58
86
|
export const nanocodex_appendDeveloperMessage: (a: number, b: number, c: number) => number;
|
|
59
87
|
export const nanocodex_browserVoice: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -89,6 +117,7 @@ export const nativeSpawnContractVersion: () => number;
|
|
|
89
117
|
export const pruneDurableReceipts: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
90
118
|
export const turn_accepted: (a: number) => number;
|
|
91
119
|
export const turn_cancel: (a: number) => number;
|
|
120
|
+
export const turn_hostTurnId: (a: number) => number;
|
|
92
121
|
export const turn_result: (a: number) => number;
|
|
93
122
|
export const turn_steer: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
94
123
|
export const turn_steerContent: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -96,9 +125,24 @@ export const turn_withdrawSteer: (a: number, b: number, c: number) => number;
|
|
|
96
125
|
export const turnresult_finalMessage: (a: number, b: number) => void;
|
|
97
126
|
export const turnresult_snapshot: (a: number, b: number) => void;
|
|
98
127
|
export const turnresult_usage: (a: number, b: number) => void;
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
128
|
+
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
129
|
+
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
130
|
+
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
131
|
+
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
132
|
+
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
133
|
+
export const intounderlyingbytesource_pull: (a: number, b: number) => number;
|
|
134
|
+
export const intounderlyingbytesource_start: (a: number, b: number) => void;
|
|
135
|
+
export const intounderlyingbytesource_type: (a: number) => number;
|
|
136
|
+
export const intounderlyingsink_abort: (a: number, b: number) => number;
|
|
137
|
+
export const intounderlyingsink_close: (a: number) => number;
|
|
138
|
+
export const intounderlyingsink_write: (a: number, b: number) => number;
|
|
139
|
+
export const intounderlyingsource_cancel: (a: number) => void;
|
|
140
|
+
export const intounderlyingsource_pull: (a: number, b: number) => number;
|
|
141
|
+
export const __wasm_bindgen_func_elem_2405: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
142
|
+
export const __wasm_bindgen_func_elem_31681: (a: number, b: number, c: number, d: number) => void;
|
|
143
|
+
export const __wasm_bindgen_func_elem_31683: (a: number, b: number, c: number, d: number) => void;
|
|
144
|
+
export const __wasm_bindgen_func_elem_18576: (a: number, b: number, c: number) => void;
|
|
145
|
+
export const __wasm_bindgen_func_elem_18364: (a: number, b: number) => void;
|
|
102
146
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
103
147
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
104
148
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
wasm-bindgen 0.2.126
|
|
2
2
|
build-mode=release
|
|
3
3
|
worker-bundler-v1-simd
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
4064656468 6087
|
|
5
|
+
1310013661 14696
|
|
6
6
|
1601142751 2004
|
|
7
7
|
271501285 630
|
|
8
8
|
2360453989 252
|
|
9
9
|
98157300 1906
|
|
10
10
|
2504064109 4134
|
|
11
11
|
wasm-opt version 132 (version_132)
|
|
12
|
-
|
|
12
|
+
320720267 8725400
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":1,"revision":"
|
|
1
|
+
{"schema":1,"revision":"883da8e807f5104d0c16cd6f569b7af1d6737da0","dirty":false,"sourceWasmSha256":"e5ac77977580e2494adf1a8bb603e64cf474444ca93af981c94f878a0404b1cb","artifacts":{"nanocodex.js":"24afcbed1a61cabd6d386ab2e6f192476d60abb6e0c1c5ea52928639a3bf2b94","nanocodex.d.ts":"918130e31189f78700595082cff3717897521fcb6d4c32da5ed499895a95babf","nanocodex_bg.js":"9c0cf3fad432efc8ace7990505b72862d75945e39439a7ebdad132e391efe6e2","nanocodex_bg.wasm":"bae2c591f064b4f57a03b4e908c45bf69c5bd205553aacbded5750fdcf0773f8","nanocodex_worker.js":"0182d184c262293e1545a3e7bb1cf556461784ff85bda86115f730f5a2928e35","package.json":"1239d4d885dcad42201a27ed9324f8f0f760b78700d8db9ced39a511cffe7eae"}}
|
package/pkg-web/nanocodex.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* The `ReadableStreamType` enum.
|
|
5
|
+
*
|
|
6
|
+
* *This API requires the following crate features to be activated: `ReadableStreamType`*
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type ReadableStreamType = "bytes";
|
|
3
10
|
|
|
4
11
|
/**
|
|
5
12
|
* Rust-owned Codex browser voice protocol and Agent bridge.
|
|
@@ -182,6 +189,56 @@ export class ChatGptSubscription {
|
|
|
182
189
|
status(): Promise<string>;
|
|
183
190
|
}
|
|
184
191
|
|
|
192
|
+
/**
|
|
193
|
+
* Host-only lifecycle handle. Authorization URL/status are the only browser-safe results.
|
|
194
|
+
*/
|
|
195
|
+
export class ClaudeSubscription {
|
|
196
|
+
private constructor();
|
|
197
|
+
free(): void;
|
|
198
|
+
[Symbol.dispose](): void;
|
|
199
|
+
completeLogin(private_code: string): Promise<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Private capability: never expose through account API, tool result, or trace.
|
|
202
|
+
*/
|
|
203
|
+
credential(): Promise<string>;
|
|
204
|
+
logout(): Promise<void>;
|
|
205
|
+
static open(encoded: string): Promise<ClaudeSubscription>;
|
|
206
|
+
/**
|
|
207
|
+
* Invalidate only the rejected credential; next credential() performs bounded refresh.
|
|
208
|
+
*/
|
|
209
|
+
recover(encoded: string): Promise<boolean>;
|
|
210
|
+
startLogin(): Promise<string>;
|
|
211
|
+
status(): Promise<string>;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export class IntoUnderlyingByteSource {
|
|
215
|
+
private constructor();
|
|
216
|
+
free(): void;
|
|
217
|
+
[Symbol.dispose](): void;
|
|
218
|
+
cancel(): void;
|
|
219
|
+
pull(controller: ReadableByteStreamController): Promise<any>;
|
|
220
|
+
start(controller: ReadableByteStreamController): void;
|
|
221
|
+
readonly autoAllocateChunkSize: number;
|
|
222
|
+
readonly type: ReadableStreamType;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export class IntoUnderlyingSink {
|
|
226
|
+
private constructor();
|
|
227
|
+
free(): void;
|
|
228
|
+
[Symbol.dispose](): void;
|
|
229
|
+
abort(reason: any): Promise<any>;
|
|
230
|
+
close(): Promise<any>;
|
|
231
|
+
write(chunk: any): Promise<any>;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export class IntoUnderlyingSource {
|
|
235
|
+
private constructor();
|
|
236
|
+
free(): void;
|
|
237
|
+
[Symbol.dispose](): void;
|
|
238
|
+
cancel(): void;
|
|
239
|
+
pull(controller: ReadableStreamDefaultController): Promise<any>;
|
|
240
|
+
}
|
|
241
|
+
|
|
185
242
|
/**
|
|
186
243
|
* Standalone Rust-owned browser voice protocol for a remote managed Agent.
|
|
187
244
|
*
|
|
@@ -349,6 +406,54 @@ export class ManagedBrowserVoice {
|
|
|
349
406
|
stop(): string;
|
|
350
407
|
}
|
|
351
408
|
|
|
409
|
+
/**
|
|
410
|
+
* Opt-in Claude-native WASM lifecycle. Authentication remains host-owned.
|
|
411
|
+
*/
|
|
412
|
+
export class Nanoclaude {
|
|
413
|
+
private constructor();
|
|
414
|
+
free(): void;
|
|
415
|
+
[Symbol.dispose](): void;
|
|
416
|
+
/**
|
|
417
|
+
* Cancels nonterminal prompts issued by this handle (not an in-flight compact).
|
|
418
|
+
*/
|
|
419
|
+
cancel(): Promise<void>;
|
|
420
|
+
checkpoint(): string;
|
|
421
|
+
closeSubagent(task: string): Promise<string>;
|
|
422
|
+
compact(): Promise<void>;
|
|
423
|
+
/**
|
|
424
|
+
* Creates only explicitly supplied Claude capabilities.
|
|
425
|
+
*/
|
|
426
|
+
static create(config_json: string): Promise<Nanoclaude>;
|
|
427
|
+
interruptSubagent(task: string): Promise<string>;
|
|
428
|
+
listSubagents(task: string): Promise<string>;
|
|
429
|
+
/**
|
|
430
|
+
* Accepts text using the shared Turn/TurnResult and durable request-ID path.
|
|
431
|
+
*/
|
|
432
|
+
prompt(input: string, request_id?: string | null, cancel_on_admission?: boolean | null): Turn;
|
|
433
|
+
/**
|
|
434
|
+
* Accepts ordered multimodal JSON content: text, image URLs or data URLs,
|
|
435
|
+
* and inline `file` documents (PDF or plain text). Local paths are rejected.
|
|
436
|
+
*/
|
|
437
|
+
promptContent(content_json: string, request_id?: string | null, cancel_on_admission?: boolean | null): Turn;
|
|
438
|
+
/**
|
|
439
|
+
* Atomically steers the active Claude turn or starts a new one, for live
|
|
440
|
+
* frontends such as realtime voice. Returns `undefined` when steered.
|
|
441
|
+
*/
|
|
442
|
+
routePrompt(instruction: string): Promise<Turn | undefined>;
|
|
443
|
+
sendSubagentMessage(task: string): Promise<string>;
|
|
444
|
+
setEventForwarding(enabled: boolean): void;
|
|
445
|
+
shutdown(): Promise<void>;
|
|
446
|
+
/**
|
|
447
|
+
* Claude checkpoints are stored natively by durability, not OpenAI snapshots.
|
|
448
|
+
*/
|
|
449
|
+
snapshot(): string;
|
|
450
|
+
spawnSubagent(task: string): Promise<string>;
|
|
451
|
+
spawnSubagents(tasks_json: string): Promise<string>;
|
|
452
|
+
waitSubagents(task: string): Promise<string>;
|
|
453
|
+
readonly agentId: string;
|
|
454
|
+
readonly sessionId: string;
|
|
455
|
+
}
|
|
456
|
+
|
|
352
457
|
/**
|
|
353
458
|
* JavaScript binding over the shared Rust agent lifecycle.
|
|
354
459
|
*/
|
|
@@ -598,6 +703,10 @@ export class Turn {
|
|
|
598
703
|
* Rejects if the turn is already terminal or its driver stopped.
|
|
599
704
|
*/
|
|
600
705
|
cancel(): Promise<void>;
|
|
706
|
+
/**
|
|
707
|
+
* Host-only lifecycle identity, including turns without a durable request ID.
|
|
708
|
+
*/
|
|
709
|
+
hostTurnId(): Promise<string>;
|
|
601
710
|
/**
|
|
602
711
|
* Waits for the final assistant message.
|
|
603
712
|
*
|
|
@@ -685,7 +794,9 @@ export interface InitOutput {
|
|
|
685
794
|
readonly memory: WebAssembly.Memory;
|
|
686
795
|
readonly __wbg_browservoice_free: (a: number, b: number) => void;
|
|
687
796
|
readonly __wbg_chatgptsubscription_free: (a: number, b: number) => void;
|
|
797
|
+
readonly __wbg_claudesubscription_free: (a: number, b: number) => void;
|
|
688
798
|
readonly __wbg_managedbrowservoice_free: (a: number, b: number) => void;
|
|
799
|
+
readonly __wbg_nanoclaude_free: (a: number, b: number) => void;
|
|
689
800
|
readonly __wbg_nanocodex_free: (a: number, b: number) => void;
|
|
690
801
|
readonly __wbg_turn_free: (a: number, b: number) => void;
|
|
691
802
|
readonly __wbg_turnresult_free: (a: number, b: number) => void;
|
|
@@ -715,6 +826,13 @@ export interface InitOutput {
|
|
|
715
826
|
readonly chatgptsubscription_recover: (a: number, b: number, c: number) => number;
|
|
716
827
|
readonly chatgptsubscription_startLogin: (a: number) => number;
|
|
717
828
|
readonly chatgptsubscription_status: (a: number) => number;
|
|
829
|
+
readonly claudesubscription_completeLogin: (a: number, b: number, c: number) => number;
|
|
830
|
+
readonly claudesubscription_credential: (a: number) => number;
|
|
831
|
+
readonly claudesubscription_logout: (a: number) => number;
|
|
832
|
+
readonly claudesubscription_open: (a: number, b: number) => number;
|
|
833
|
+
readonly claudesubscription_recover: (a: number, b: number, c: number) => number;
|
|
834
|
+
readonly claudesubscription_startLogin: (a: number) => number;
|
|
835
|
+
readonly claudesubscription_status: (a: number) => number;
|
|
718
836
|
readonly managedbrowservoice_agentEvent: (a: number, b: number, c: number, d: number) => void;
|
|
719
837
|
readonly managedbrowservoice_appendContext: (a: number, b: number, c: number, d: number) => void;
|
|
720
838
|
readonly managedbrowservoice_appendSpeech: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -736,6 +854,25 @@ export interface InitOutput {
|
|
|
736
854
|
readonly managedbrowservoice_sidebandUrl: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
737
855
|
readonly managedbrowservoice_start: (a: number, b: number, c: number, d: number) => void;
|
|
738
856
|
readonly managedbrowservoice_stop: (a: number, b: number) => void;
|
|
857
|
+
readonly nanoclaude_agentId: (a: number, b: number) => void;
|
|
858
|
+
readonly nanoclaude_cancel: (a: number) => number;
|
|
859
|
+
readonly nanoclaude_checkpoint: (a: number, b: number) => void;
|
|
860
|
+
readonly nanoclaude_closeSubagent: (a: number, b: number, c: number) => number;
|
|
861
|
+
readonly nanoclaude_compact: (a: number) => number;
|
|
862
|
+
readonly nanoclaude_create: (a: number, b: number) => number;
|
|
863
|
+
readonly nanoclaude_interruptSubagent: (a: number, b: number, c: number) => number;
|
|
864
|
+
readonly nanoclaude_listSubagents: (a: number, b: number, c: number) => number;
|
|
865
|
+
readonly nanoclaude_prompt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
866
|
+
readonly nanoclaude_promptContent: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
867
|
+
readonly nanoclaude_routePrompt: (a: number, b: number, c: number) => number;
|
|
868
|
+
readonly nanoclaude_sendSubagentMessage: (a: number, b: number, c: number) => number;
|
|
869
|
+
readonly nanoclaude_sessionId: (a: number, b: number) => void;
|
|
870
|
+
readonly nanoclaude_setEventForwarding: (a: number, b: number) => void;
|
|
871
|
+
readonly nanoclaude_shutdown: (a: number) => number;
|
|
872
|
+
readonly nanoclaude_snapshot: (a: number, b: number) => void;
|
|
873
|
+
readonly nanoclaude_spawnSubagent: (a: number, b: number, c: number) => number;
|
|
874
|
+
readonly nanoclaude_spawnSubagents: (a: number, b: number, c: number) => number;
|
|
875
|
+
readonly nanoclaude_waitSubagents: (a: number, b: number, c: number) => number;
|
|
739
876
|
readonly nanocodex_agentId: (a: number, b: number) => void;
|
|
740
877
|
readonly nanocodex_appendDeveloperMessage: (a: number, b: number, c: number) => number;
|
|
741
878
|
readonly nanocodex_browserVoice: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -771,6 +908,7 @@ export interface InitOutput {
|
|
|
771
908
|
readonly pruneDurableReceipts: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
772
909
|
readonly turn_accepted: (a: number) => number;
|
|
773
910
|
readonly turn_cancel: (a: number) => number;
|
|
911
|
+
readonly turn_hostTurnId: (a: number) => number;
|
|
774
912
|
readonly turn_result: (a: number) => number;
|
|
775
913
|
readonly turn_steer: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
776
914
|
readonly turn_steerContent: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
@@ -778,9 +916,24 @@ export interface InitOutput {
|
|
|
778
916
|
readonly turnresult_finalMessage: (a: number, b: number) => void;
|
|
779
917
|
readonly turnresult_snapshot: (a: number, b: number) => void;
|
|
780
918
|
readonly turnresult_usage: (a: number, b: number) => void;
|
|
781
|
-
readonly
|
|
782
|
-
readonly
|
|
783
|
-
readonly
|
|
919
|
+
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
920
|
+
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
921
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
922
|
+
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
923
|
+
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
924
|
+
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
|
|
925
|
+
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
|
|
926
|
+
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
927
|
+
readonly intounderlyingsink_abort: (a: number, b: number) => number;
|
|
928
|
+
readonly intounderlyingsink_close: (a: number) => number;
|
|
929
|
+
readonly intounderlyingsink_write: (a: number, b: number) => number;
|
|
930
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
931
|
+
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
932
|
+
readonly __wasm_bindgen_func_elem_2405: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
933
|
+
readonly __wasm_bindgen_func_elem_31681: (a: number, b: number, c: number, d: number) => void;
|
|
934
|
+
readonly __wasm_bindgen_func_elem_31683: (a: number, b: number, c: number, d: number) => void;
|
|
935
|
+
readonly __wasm_bindgen_func_elem_18576: (a: number, b: number, c: number) => void;
|
|
936
|
+
readonly __wasm_bindgen_func_elem_18364: (a: number, b: number) => void;
|
|
784
937
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
785
938
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
786
939
|
readonly __wbindgen_export3: (a: number) => void;
|