nanocodex 0.6.0 → 0.6.1
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 +1 -1
- package/package.json +2 -2
- package/pkg-node/nanocodex.js +40 -40
- package/pkg-node/nanocodex_bg.wasm.d.ts +3 -3
- package/pkg-web/.nanocodex-bindgen-stamp +1 -1
- package/pkg-web/nanocodex-build.json +1 -1
- package/pkg-web/nanocodex.d.ts +3 -3
- package/pkg-web/nanocodex.js +40 -40
- package/pkg-web/nanocodex_bg.js +40 -40
- package/pkg-web/nanocodex_bg.wasm +0 -0
- package/pkg-web/nanocodex_bg.wasm.d.ts +3 -3
package/README.md
CHANGED
|
@@ -1133,7 +1133,7 @@ package manager or build step:
|
|
|
1133
1133
|
|
|
1134
1134
|
```html
|
|
1135
1135
|
<script type="module">
|
|
1136
|
-
import { Agent, Transport } from "https://cdn.jsdelivr.net/npm/nanocodex@0.6.
|
|
1136
|
+
import { Agent, Transport } from "https://cdn.jsdelivr.net/npm/nanocodex@0.6.1/host/index.mjs";
|
|
1137
1137
|
const agent = await Agent.create({
|
|
1138
1138
|
transport: Transport.hostManaged({
|
|
1139
1139
|
websocketUrl: "/api/responses",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nanocodex",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Viem-style Node and browser bindings for the Nanocodex WASM agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"isomorphic-git": "^1.41.5",
|
|
164
164
|
"minisearch": "7.2.0",
|
|
165
165
|
"mppx": "0.9.1",
|
|
166
|
-
"nanocodex-tools": "0.6.
|
|
166
|
+
"nanocodex-tools": "0.6.1",
|
|
167
167
|
"ox": "1.6.2",
|
|
168
168
|
"pako": "2.1.0",
|
|
169
169
|
"pyodide": "314.0.5",
|
package/pkg-node/nanocodex.js
CHANGED
|
@@ -2078,10 +2078,10 @@ function __wbg_get_imports() {
|
|
|
2078
2078
|
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
2079
2079
|
getObject(arg0)._wbg_cb_unref();
|
|
2080
2080
|
},
|
|
2081
|
-
|
|
2081
|
+
__wbg_beginCodeTurn_9d03c60dd41b6887: function(arg0, arg1) {
|
|
2082
2082
|
globalThis.nanocodexHost.beginCodeTurn(getStringFromWasm0(arg0, arg1));
|
|
2083
2083
|
},
|
|
2084
|
-
|
|
2084
|
+
__wbg_bindSubagentSession_6d544b7c01e801a8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2085
2085
|
globalThis.nanocodexHost.bindSubagentSession(arg0 >>> 0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6), arg7 === 0 ? undefined : getStringFromWasm0(arg7, arg8));
|
|
2086
2086
|
}, arguments); },
|
|
2087
2087
|
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
@@ -2092,50 +2092,50 @@ function __wbg_get_imports() {
|
|
|
2092
2092
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
2093
2093
|
return addHeapObject(ret);
|
|
2094
2094
|
}, arguments); },
|
|
2095
|
-
|
|
2095
|
+
__wbg_cancelCodeTurn_8e52123e715f375c: function(arg0, arg1) {
|
|
2096
2096
|
globalThis.nanocodexHost.cancelCodeTurn(getStringFromWasm0(arg0, arg1));
|
|
2097
2097
|
},
|
|
2098
|
-
|
|
2098
|
+
__wbg_cancelCode_a6bcc4b70c761f57: function(arg0, arg1) {
|
|
2099
2099
|
globalThis.nanocodexHost.cancelCode(getStringFromWasm0(arg0, arg1));
|
|
2100
2100
|
},
|
|
2101
2101
|
__wbg_chatgptsubscription_new: function(arg0) {
|
|
2102
2102
|
const ret = ChatGptSubscription.__wrap(arg0);
|
|
2103
2103
|
return addHeapObject(ret);
|
|
2104
2104
|
},
|
|
2105
|
-
|
|
2105
|
+
__wbg_close_a04f6518437cef7d: function(arg0) {
|
|
2106
2106
|
globalThis.nanocodexHost.close(arg0 >>> 0);
|
|
2107
2107
|
},
|
|
2108
|
-
|
|
2108
|
+
__wbg_connect_5f65d03237babc23: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) {
|
|
2109
2109
|
const ret = globalThis.nanocodexHost.connect(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5), arg6 !== 0, getStringFromWasm0(arg7, arg8), getStringFromWasm0(arg9, arg10), arg11 === 0 ? undefined : getStringFromWasm0(arg11, arg12));
|
|
2110
2110
|
return addHeapObject(ret);
|
|
2111
2111
|
}, arguments); },
|
|
2112
|
-
|
|
2112
|
+
__wbg_durabilityAcquire_b7a03d147660feb8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2113
2113
|
const ret = globalThis.nanocodexHost.durabilityAcquire(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2114
2114
|
return addHeapObject(ret);
|
|
2115
2115
|
}, arguments); },
|
|
2116
|
-
|
|
2116
|
+
__wbg_durabilityReadRecord_260ed210b8b79c22: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2117
2117
|
const ret = globalThis.nanocodexHost.durabilityReadRecord(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2118
2118
|
return addHeapObject(ret);
|
|
2119
2119
|
}, arguments); },
|
|
2120
|
-
|
|
2120
|
+
__wbg_durabilityReadRecords_87ab48d306805c9b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2121
2121
|
const ret = globalThis.nanocodexHost.durabilityReadRecords(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2122
2122
|
return addHeapObject(ret);
|
|
2123
2123
|
}, arguments); },
|
|
2124
|
-
|
|
2124
|
+
__wbg_durabilityReplace_55e5c819a9821bdd: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) {
|
|
2125
2125
|
const ret = globalThis.nanocodexHost.durabilityReplace(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9), getStringFromWasm0(arg10, arg11), getStringFromWasm0(arg12, arg13));
|
|
2126
2126
|
return addHeapObject(ret);
|
|
2127
2127
|
}, arguments); },
|
|
2128
|
-
|
|
2128
|
+
__wbg_emitEvent_8c01f9863ad2b765: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2129
2129
|
globalThis.nanocodexHost.emitEvent(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4 >>> 0, arg5 === 0 ? undefined : getStringFromWasm0(arg5, arg6));
|
|
2130
2130
|
}, arguments); },
|
|
2131
|
-
|
|
2131
|
+
__wbg_error_abe8ded95df29694: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2132
2132
|
console.error(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
2133
2133
|
}, arguments); },
|
|
2134
|
-
|
|
2134
|
+
__wbg_executeCode_19479426f5b611e4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2135
2135
|
const ret = globalThis.nanocodexHost.executeCode(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
2136
2136
|
return addHeapObject(ret);
|
|
2137
2137
|
}, arguments); },
|
|
2138
|
-
|
|
2138
|
+
__wbg_executeTool_85bf34963222d156: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2139
2139
|
const ret = globalThis.nanocodexHost.executeTool(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9));
|
|
2140
2140
|
return addHeapObject(ret);
|
|
2141
2141
|
}, arguments); },
|
|
@@ -2226,7 +2226,7 @@ function __wbg_get_imports() {
|
|
|
2226
2226
|
const a = state0.a;
|
|
2227
2227
|
state0.a = 0;
|
|
2228
2228
|
try {
|
|
2229
|
-
return
|
|
2229
|
+
return __wasm_bindgen_func_elem_19796(a, state0.b, arg0, arg1);
|
|
2230
2230
|
} finally {
|
|
2231
2231
|
state0.a = a;
|
|
2232
2232
|
}
|
|
@@ -2237,11 +2237,11 @@ function __wbg_get_imports() {
|
|
|
2237
2237
|
state0.a = 0;
|
|
2238
2238
|
}
|
|
2239
2239
|
},
|
|
2240
|
-
|
|
2240
|
+
__wbg_nextCodeUpdate_8fbd56a43f3df181: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2241
2241
|
const ret = globalThis.nanocodexHost.nextCodeUpdate(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2242
2242
|
return addHeapObject(ret);
|
|
2243
2243
|
}, arguments); },
|
|
2244
|
-
|
|
2244
|
+
__wbg_next_bbe3673a074dbf9f: function() { return handleError(function (arg0) {
|
|
2245
2245
|
const ret = globalThis.nanocodexHost.next(arg0 >>> 0);
|
|
2246
2246
|
return addHeapObject(ret);
|
|
2247
2247
|
}, arguments); },
|
|
@@ -2271,14 +2271,14 @@ function __wbg_get_imports() {
|
|
|
2271
2271
|
__wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
|
|
2272
2272
|
queueMicrotask(getObject(arg0));
|
|
2273
2273
|
},
|
|
2274
|
-
|
|
2274
|
+
__wbg_readWorkspaceFile_f9d18a18442f243e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2275
2275
|
const ret = globalThis.nanocodexHost.readWorkspaceFile(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2276
2276
|
return addHeapObject(ret);
|
|
2277
2277
|
}, arguments); },
|
|
2278
|
-
|
|
2278
|
+
__wbg_releaseSubagentSession_2a9616886b245be5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2279
2279
|
globalThis.nanocodexHost.releaseSubagentSession(arg0 >>> 0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2280
2280
|
}, arguments); },
|
|
2281
|
-
|
|
2281
|
+
__wbg_removeWorkspaceFile_44c762d4bf1064ae: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2282
2282
|
const ret = globalThis.nanocodexHost.removeWorkspaceFile(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2283
2283
|
return addHeapObject(ret);
|
|
2284
2284
|
}, arguments); },
|
|
@@ -2290,11 +2290,11 @@ function __wbg_get_imports() {
|
|
|
2290
2290
|
const ret = getObject(arg0).resolvedOptions();
|
|
2291
2291
|
return addHeapObject(ret);
|
|
2292
2292
|
},
|
|
2293
|
-
|
|
2293
|
+
__wbg_send_ee8b4ad42d0f7efc: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2294
2294
|
const ret = globalThis.nanocodexHost.send(arg0 >>> 0, getStringFromWasm0(arg1, arg2));
|
|
2295
2295
|
return addHeapObject(ret);
|
|
2296
2296
|
}, arguments); },
|
|
2297
|
-
|
|
2297
|
+
__wbg_setTimeout_89e132b0e6698769: function(arg0, arg1) {
|
|
2298
2298
|
const ret = globalThis.setTimeout(getObject(arg0), arg1);
|
|
2299
2299
|
return addHeapObject(ret);
|
|
2300
2300
|
},
|
|
@@ -2302,7 +2302,7 @@ function __wbg_get_imports() {
|
|
|
2302
2302
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
2303
2303
|
return ret;
|
|
2304
2304
|
}, arguments); },
|
|
2305
|
-
|
|
2305
|
+
__wbg_sleep_dc8e77fe31567aaa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2306
2306
|
const ret = globalThis.nanocodexHost.sleep(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
|
|
2307
2307
|
return addHeapObject(ret);
|
|
2308
2308
|
}, arguments); },
|
|
@@ -2322,15 +2322,15 @@ function __wbg_get_imports() {
|
|
|
2322
2322
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2323
2323
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2324
2324
|
},
|
|
2325
|
-
|
|
2325
|
+
__wbg_subscriptionCompareAndSwap_ba12617b080fe5f5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2326
2326
|
const ret = globalThis.nanocodexHost.subscriptionCompareAndSwap(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2327
2327
|
return addHeapObject(ret);
|
|
2328
2328
|
}, arguments); },
|
|
2329
|
-
|
|
2329
|
+
__wbg_subscriptionLoad_bce36277ba2a5ead: function() { return handleError(function (arg0, arg1) {
|
|
2330
2330
|
const ret = globalThis.nanocodexHost.subscriptionLoad(getStringFromWasm0(arg0, arg1));
|
|
2331
2331
|
return addHeapObject(ret);
|
|
2332
2332
|
}, arguments); },
|
|
2333
|
-
|
|
2333
|
+
__wbg_subscriptionRequest_b288322d3f1070ab: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2334
2334
|
const ret = globalThis.nanocodexHost.subscriptionRequest(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2335
2335
|
return addHeapObject(ret);
|
|
2336
2336
|
}, arguments); },
|
|
@@ -2342,14 +2342,14 @@ function __wbg_get_imports() {
|
|
|
2342
2342
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
2343
2343
|
return addHeapObject(ret);
|
|
2344
2344
|
},
|
|
2345
|
-
|
|
2345
|
+
__wbg_toolDefinitions_5dfac2ebbc2cc178: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2346
2346
|
const ret = globalThis.nanocodexHost.toolDefinitions(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
2347
2347
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2348
2348
|
const len1 = WASM_VECTOR_LEN;
|
|
2349
2349
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2350
2350
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2351
2351
|
}, arguments); },
|
|
2352
|
-
|
|
2352
|
+
__wbg_toolMode_401a7c9641c5c508: function(arg0, arg1, arg2, arg3) {
|
|
2353
2353
|
const ret = globalThis.nanocodexHost.toolMode(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
2354
2354
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2355
2355
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -2364,22 +2364,22 @@ function __wbg_get_imports() {
|
|
|
2364
2364
|
const ret = TurnResult.__wrap(arg0);
|
|
2365
2365
|
return addHeapObject(ret);
|
|
2366
2366
|
},
|
|
2367
|
-
|
|
2367
|
+
__wbg_waitCode_f7b57572e31c1de3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2368
2368
|
const ret = globalThis.nanocodexHost.waitCode(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2369
2369
|
return addHeapObject(ret);
|
|
2370
2370
|
}, arguments); },
|
|
2371
|
-
|
|
2371
|
+
__wbg_writeWorkspaceFile_934eb8c315f298a9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2372
2372
|
const ret = globalThis.nanocodexHost.writeWorkspaceFile(getStringFromWasm0(arg0, arg1), getObject(arg2), getStringFromWasm0(arg3, arg4));
|
|
2373
2373
|
return addHeapObject(ret);
|
|
2374
2374
|
}, arguments); },
|
|
2375
2375
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
2376
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2377
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2376
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2810, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2377
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_19794);
|
|
2378
2378
|
return addHeapObject(ret);
|
|
2379
2379
|
},
|
|
2380
2380
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
2381
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
2382
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2381
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 507, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2382
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_4594);
|
|
2383
2383
|
return addHeapObject(ret);
|
|
2384
2384
|
},
|
|
2385
2385
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -2406,14 +2406,14 @@ function __wbg_get_imports() {
|
|
|
2406
2406
|
};
|
|
2407
2407
|
}
|
|
2408
2408
|
|
|
2409
|
-
function
|
|
2410
|
-
wasm.
|
|
2409
|
+
function __wasm_bindgen_func_elem_4594(arg0, arg1) {
|
|
2410
|
+
wasm.__wasm_bindgen_func_elem_4594(arg0, arg1);
|
|
2411
2411
|
}
|
|
2412
2412
|
|
|
2413
|
-
function
|
|
2413
|
+
function __wasm_bindgen_func_elem_19794(arg0, arg1, arg2) {
|
|
2414
2414
|
try {
|
|
2415
2415
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2416
|
-
wasm.
|
|
2416
|
+
wasm.__wasm_bindgen_func_elem_19794(retptr, arg0, arg1, addHeapObject(arg2));
|
|
2417
2417
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2418
2418
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2419
2419
|
if (r1) {
|
|
@@ -2424,8 +2424,8 @@ function __wasm_bindgen_func_elem_19791(arg0, arg1, arg2) {
|
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
2426
|
|
|
2427
|
-
function
|
|
2428
|
-
wasm.
|
|
2427
|
+
function __wasm_bindgen_func_elem_19796(arg0, arg1, arg2, arg3) {
|
|
2428
|
+
wasm.__wasm_bindgen_func_elem_19796(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2429
2429
|
}
|
|
2430
2430
|
|
|
2431
2431
|
const BrowserVoiceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -95,9 +95,9 @@ export const turn_withdrawSteer: (a: number, b: number, c: number) => number;
|
|
|
95
95
|
export const turnresult_finalMessage: (a: number, b: number) => void;
|
|
96
96
|
export const turnresult_snapshot: (a: number, b: number) => void;
|
|
97
97
|
export const turnresult_usage: (a: number, b: number) => void;
|
|
98
|
-
export const
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
98
|
+
export const __wasm_bindgen_func_elem_19794: (a: number, b: number, c: number, d: number) => void;
|
|
99
|
+
export const __wasm_bindgen_func_elem_19796: (a: number, b: number, c: number, d: number) => void;
|
|
100
|
+
export const __wasm_bindgen_func_elem_4594: (a: number, b: number) => void;
|
|
101
101
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
102
102
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
103
103
|
export const __wbindgen_export3: (a: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":1,"revision":"
|
|
1
|
+
{"schema":1,"revision":"e5f4ae23b856ade4cb61ab8b9be6ca5223e0046e","dirty":false,"sourceWasmSha256":"e727ec83da5edf2aea17388bd5b15489ec2361842df23c91237443b2194892cb","artifacts":{"nanocodex.js":"f43c12d8eaa4a45dc67b02a1d7786d22bbae5dd25add0ca25e9b23666eed5fc1","nanocodex.d.ts":"23ddc04c96c21b0731d96bd5c361d44c8a0372e5f623d701e56527ba170a74a2","nanocodex_bg.js":"96e2e4ae929969e1039373b79b58463d40c8e8c70a0baec5152057d143a6b89d","nanocodex_bg.wasm":"aad3c5223bd3110aec2e9a7626b82e193dced6b3eb140893e015480b1e765564","nanocodex_worker.js":"cc34f0bba38a928752eb147dc75fc1c6b9ced408027b07f7cf237451152a8de9","package.json":"1239d4d885dcad42201a27ed9324f8f0f760b78700d8db9ced39a511cffe7eae"}}
|
package/pkg-web/nanocodex.d.ts
CHANGED
|
@@ -773,9 +773,9 @@ export interface InitOutput {
|
|
|
773
773
|
readonly turnresult_finalMessage: (a: number, b: number) => void;
|
|
774
774
|
readonly turnresult_snapshot: (a: number, b: number) => void;
|
|
775
775
|
readonly turnresult_usage: (a: number, b: number) => void;
|
|
776
|
-
readonly
|
|
777
|
-
readonly
|
|
778
|
-
readonly
|
|
776
|
+
readonly __wasm_bindgen_func_elem_19794: (a: number, b: number, c: number, d: number) => void;
|
|
777
|
+
readonly __wasm_bindgen_func_elem_19796: (a: number, b: number, c: number, d: number) => void;
|
|
778
|
+
readonly __wasm_bindgen_func_elem_4594: (a: number, b: number) => void;
|
|
779
779
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
780
780
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
781
781
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg-web/nanocodex.js
CHANGED
|
@@ -2069,10 +2069,10 @@ function __wbg_get_imports() {
|
|
|
2069
2069
|
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
2070
2070
|
getObject(arg0)._wbg_cb_unref();
|
|
2071
2071
|
},
|
|
2072
|
-
|
|
2072
|
+
__wbg_beginCodeTurn_9d03c60dd41b6887: function(arg0, arg1) {
|
|
2073
2073
|
globalThis.nanocodexHost.beginCodeTurn(getStringFromWasm0(arg0, arg1));
|
|
2074
2074
|
},
|
|
2075
|
-
|
|
2075
|
+
__wbg_bindSubagentSession_6d544b7c01e801a8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2076
2076
|
globalThis.nanocodexHost.bindSubagentSession(arg0 >>> 0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6), arg7 === 0 ? undefined : getStringFromWasm0(arg7, arg8));
|
|
2077
2077
|
}, arguments); },
|
|
2078
2078
|
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
@@ -2083,50 +2083,50 @@ function __wbg_get_imports() {
|
|
|
2083
2083
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
2084
2084
|
return addHeapObject(ret);
|
|
2085
2085
|
}, arguments); },
|
|
2086
|
-
|
|
2086
|
+
__wbg_cancelCodeTurn_8e52123e715f375c: function(arg0, arg1) {
|
|
2087
2087
|
globalThis.nanocodexHost.cancelCodeTurn(getStringFromWasm0(arg0, arg1));
|
|
2088
2088
|
},
|
|
2089
|
-
|
|
2089
|
+
__wbg_cancelCode_a6bcc4b70c761f57: function(arg0, arg1) {
|
|
2090
2090
|
globalThis.nanocodexHost.cancelCode(getStringFromWasm0(arg0, arg1));
|
|
2091
2091
|
},
|
|
2092
2092
|
__wbg_chatgptsubscription_new: function(arg0) {
|
|
2093
2093
|
const ret = ChatGptSubscription.__wrap(arg0);
|
|
2094
2094
|
return addHeapObject(ret);
|
|
2095
2095
|
},
|
|
2096
|
-
|
|
2096
|
+
__wbg_close_a04f6518437cef7d: function(arg0) {
|
|
2097
2097
|
globalThis.nanocodexHost.close(arg0 >>> 0);
|
|
2098
2098
|
},
|
|
2099
|
-
|
|
2099
|
+
__wbg_connect_5f65d03237babc23: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) {
|
|
2100
2100
|
const ret = globalThis.nanocodexHost.connect(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5), arg6 !== 0, getStringFromWasm0(arg7, arg8), getStringFromWasm0(arg9, arg10), arg11 === 0 ? undefined : getStringFromWasm0(arg11, arg12));
|
|
2101
2101
|
return addHeapObject(ret);
|
|
2102
2102
|
}, arguments); },
|
|
2103
|
-
|
|
2103
|
+
__wbg_durabilityAcquire_b7a03d147660feb8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2104
2104
|
const ret = globalThis.nanocodexHost.durabilityAcquire(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2105
2105
|
return addHeapObject(ret);
|
|
2106
2106
|
}, arguments); },
|
|
2107
|
-
|
|
2107
|
+
__wbg_durabilityReadRecord_260ed210b8b79c22: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2108
2108
|
const ret = globalThis.nanocodexHost.durabilityReadRecord(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2109
2109
|
return addHeapObject(ret);
|
|
2110
2110
|
}, arguments); },
|
|
2111
|
-
|
|
2111
|
+
__wbg_durabilityReadRecords_87ab48d306805c9b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2112
2112
|
const ret = globalThis.nanocodexHost.durabilityReadRecords(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2113
2113
|
return addHeapObject(ret);
|
|
2114
2114
|
}, arguments); },
|
|
2115
|
-
|
|
2115
|
+
__wbg_durabilityReplace_55e5c819a9821bdd: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) {
|
|
2116
2116
|
const ret = globalThis.nanocodexHost.durabilityReplace(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9), getStringFromWasm0(arg10, arg11), getStringFromWasm0(arg12, arg13));
|
|
2117
2117
|
return addHeapObject(ret);
|
|
2118
2118
|
}, arguments); },
|
|
2119
|
-
|
|
2119
|
+
__wbg_emitEvent_8c01f9863ad2b765: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2120
2120
|
globalThis.nanocodexHost.emitEvent(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4 >>> 0, arg5 === 0 ? undefined : getStringFromWasm0(arg5, arg6));
|
|
2121
2121
|
}, arguments); },
|
|
2122
|
-
|
|
2122
|
+
__wbg_error_abe8ded95df29694: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2123
2123
|
console.error(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
2124
2124
|
}, arguments); },
|
|
2125
|
-
|
|
2125
|
+
__wbg_executeCode_19479426f5b611e4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2126
2126
|
const ret = globalThis.nanocodexHost.executeCode(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
2127
2127
|
return addHeapObject(ret);
|
|
2128
2128
|
}, arguments); },
|
|
2129
|
-
|
|
2129
|
+
__wbg_executeTool_85bf34963222d156: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2130
2130
|
const ret = globalThis.nanocodexHost.executeTool(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9));
|
|
2131
2131
|
return addHeapObject(ret);
|
|
2132
2132
|
}, arguments); },
|
|
@@ -2217,7 +2217,7 @@ function __wbg_get_imports() {
|
|
|
2217
2217
|
const a = state0.a;
|
|
2218
2218
|
state0.a = 0;
|
|
2219
2219
|
try {
|
|
2220
|
-
return
|
|
2220
|
+
return __wasm_bindgen_func_elem_19796(a, state0.b, arg0, arg1);
|
|
2221
2221
|
} finally {
|
|
2222
2222
|
state0.a = a;
|
|
2223
2223
|
}
|
|
@@ -2228,11 +2228,11 @@ function __wbg_get_imports() {
|
|
|
2228
2228
|
state0.a = 0;
|
|
2229
2229
|
}
|
|
2230
2230
|
},
|
|
2231
|
-
|
|
2231
|
+
__wbg_nextCodeUpdate_8fbd56a43f3df181: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2232
2232
|
const ret = globalThis.nanocodexHost.nextCodeUpdate(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2233
2233
|
return addHeapObject(ret);
|
|
2234
2234
|
}, arguments); },
|
|
2235
|
-
|
|
2235
|
+
__wbg_next_bbe3673a074dbf9f: function() { return handleError(function (arg0) {
|
|
2236
2236
|
const ret = globalThis.nanocodexHost.next(arg0 >>> 0);
|
|
2237
2237
|
return addHeapObject(ret);
|
|
2238
2238
|
}, arguments); },
|
|
@@ -2262,14 +2262,14 @@ function __wbg_get_imports() {
|
|
|
2262
2262
|
__wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
|
|
2263
2263
|
queueMicrotask(getObject(arg0));
|
|
2264
2264
|
},
|
|
2265
|
-
|
|
2265
|
+
__wbg_readWorkspaceFile_f9d18a18442f243e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2266
2266
|
const ret = globalThis.nanocodexHost.readWorkspaceFile(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2267
2267
|
return addHeapObject(ret);
|
|
2268
2268
|
}, arguments); },
|
|
2269
|
-
|
|
2269
|
+
__wbg_releaseSubagentSession_2a9616886b245be5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2270
2270
|
globalThis.nanocodexHost.releaseSubagentSession(arg0 >>> 0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2271
2271
|
}, arguments); },
|
|
2272
|
-
|
|
2272
|
+
__wbg_removeWorkspaceFile_44c762d4bf1064ae: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2273
2273
|
const ret = globalThis.nanocodexHost.removeWorkspaceFile(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2274
2274
|
return addHeapObject(ret);
|
|
2275
2275
|
}, arguments); },
|
|
@@ -2281,11 +2281,11 @@ function __wbg_get_imports() {
|
|
|
2281
2281
|
const ret = getObject(arg0).resolvedOptions();
|
|
2282
2282
|
return addHeapObject(ret);
|
|
2283
2283
|
},
|
|
2284
|
-
|
|
2284
|
+
__wbg_send_ee8b4ad42d0f7efc: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2285
2285
|
const ret = globalThis.nanocodexHost.send(arg0 >>> 0, getStringFromWasm0(arg1, arg2));
|
|
2286
2286
|
return addHeapObject(ret);
|
|
2287
2287
|
}, arguments); },
|
|
2288
|
-
|
|
2288
|
+
__wbg_setTimeout_89e132b0e6698769: function(arg0, arg1) {
|
|
2289
2289
|
const ret = globalThis.setTimeout(getObject(arg0), arg1);
|
|
2290
2290
|
return addHeapObject(ret);
|
|
2291
2291
|
},
|
|
@@ -2293,7 +2293,7 @@ function __wbg_get_imports() {
|
|
|
2293
2293
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
2294
2294
|
return ret;
|
|
2295
2295
|
}, arguments); },
|
|
2296
|
-
|
|
2296
|
+
__wbg_sleep_dc8e77fe31567aaa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2297
2297
|
const ret = globalThis.nanocodexHost.sleep(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
|
|
2298
2298
|
return addHeapObject(ret);
|
|
2299
2299
|
}, arguments); },
|
|
@@ -2313,15 +2313,15 @@ function __wbg_get_imports() {
|
|
|
2313
2313
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2314
2314
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2315
2315
|
},
|
|
2316
|
-
|
|
2316
|
+
__wbg_subscriptionCompareAndSwap_ba12617b080fe5f5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2317
2317
|
const ret = globalThis.nanocodexHost.subscriptionCompareAndSwap(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2318
2318
|
return addHeapObject(ret);
|
|
2319
2319
|
}, arguments); },
|
|
2320
|
-
|
|
2320
|
+
__wbg_subscriptionLoad_bce36277ba2a5ead: function() { return handleError(function (arg0, arg1) {
|
|
2321
2321
|
const ret = globalThis.nanocodexHost.subscriptionLoad(getStringFromWasm0(arg0, arg1));
|
|
2322
2322
|
return addHeapObject(ret);
|
|
2323
2323
|
}, arguments); },
|
|
2324
|
-
|
|
2324
|
+
__wbg_subscriptionRequest_b288322d3f1070ab: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2325
2325
|
const ret = globalThis.nanocodexHost.subscriptionRequest(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2326
2326
|
return addHeapObject(ret);
|
|
2327
2327
|
}, arguments); },
|
|
@@ -2333,14 +2333,14 @@ function __wbg_get_imports() {
|
|
|
2333
2333
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
2334
2334
|
return addHeapObject(ret);
|
|
2335
2335
|
},
|
|
2336
|
-
|
|
2336
|
+
__wbg_toolDefinitions_5dfac2ebbc2cc178: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2337
2337
|
const ret = globalThis.nanocodexHost.toolDefinitions(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
2338
2338
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2339
2339
|
const len1 = WASM_VECTOR_LEN;
|
|
2340
2340
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2341
2341
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2342
2342
|
}, arguments); },
|
|
2343
|
-
|
|
2343
|
+
__wbg_toolMode_401a7c9641c5c508: function(arg0, arg1, arg2, arg3) {
|
|
2344
2344
|
const ret = globalThis.nanocodexHost.toolMode(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
2345
2345
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2346
2346
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -2355,22 +2355,22 @@ function __wbg_get_imports() {
|
|
|
2355
2355
|
const ret = TurnResult.__wrap(arg0);
|
|
2356
2356
|
return addHeapObject(ret);
|
|
2357
2357
|
},
|
|
2358
|
-
|
|
2358
|
+
__wbg_waitCode_f7b57572e31c1de3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2359
2359
|
const ret = globalThis.nanocodexHost.waitCode(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2360
2360
|
return addHeapObject(ret);
|
|
2361
2361
|
}, arguments); },
|
|
2362
|
-
|
|
2362
|
+
__wbg_writeWorkspaceFile_934eb8c315f298a9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2363
2363
|
const ret = globalThis.nanocodexHost.writeWorkspaceFile(getStringFromWasm0(arg0, arg1), getObject(arg2), getStringFromWasm0(arg3, arg4));
|
|
2364
2364
|
return addHeapObject(ret);
|
|
2365
2365
|
}, arguments); },
|
|
2366
2366
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
2367
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2368
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2367
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2810, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2368
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_19794);
|
|
2369
2369
|
return addHeapObject(ret);
|
|
2370
2370
|
},
|
|
2371
2371
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
2372
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
2373
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2372
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 507, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2373
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_4594);
|
|
2374
2374
|
return addHeapObject(ret);
|
|
2375
2375
|
},
|
|
2376
2376
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -2397,14 +2397,14 @@ function __wbg_get_imports() {
|
|
|
2397
2397
|
};
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
2400
|
-
function
|
|
2401
|
-
wasm.
|
|
2400
|
+
function __wasm_bindgen_func_elem_4594(arg0, arg1) {
|
|
2401
|
+
wasm.__wasm_bindgen_func_elem_4594(arg0, arg1);
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
|
-
function
|
|
2404
|
+
function __wasm_bindgen_func_elem_19794(arg0, arg1, arg2) {
|
|
2405
2405
|
try {
|
|
2406
2406
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2407
|
-
wasm.
|
|
2407
|
+
wasm.__wasm_bindgen_func_elem_19794(retptr, arg0, arg1, addHeapObject(arg2));
|
|
2408
2408
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2409
2409
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2410
2410
|
if (r1) {
|
|
@@ -2415,8 +2415,8 @@ function __wasm_bindgen_func_elem_19791(arg0, arg1, arg2) {
|
|
|
2415
2415
|
}
|
|
2416
2416
|
}
|
|
2417
2417
|
|
|
2418
|
-
function
|
|
2419
|
-
wasm.
|
|
2418
|
+
function __wasm_bindgen_func_elem_19796(arg0, arg1, arg2, arg3) {
|
|
2419
|
+
wasm.__wasm_bindgen_func_elem_19796(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2420
2420
|
}
|
|
2421
2421
|
|
|
2422
2422
|
const BrowserVoiceFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/pkg-web/nanocodex_bg.js
CHANGED
|
@@ -2064,10 +2064,10 @@ export function __wbg___wbindgen_throw_344f42d3211c4765(arg0, arg1) {
|
|
|
2064
2064
|
export function __wbg__wbg_cb_unref_fffb441def202758(arg0) {
|
|
2065
2065
|
getObject(arg0)._wbg_cb_unref();
|
|
2066
2066
|
}
|
|
2067
|
-
export function
|
|
2067
|
+
export function __wbg_beginCodeTurn_9d03c60dd41b6887(arg0, arg1) {
|
|
2068
2068
|
globalThis.nanocodexHost.beginCodeTurn(getStringFromWasm0(arg0, arg1));
|
|
2069
2069
|
}
|
|
2070
|
-
export function
|
|
2070
|
+
export function __wbg_bindSubagentSession_6d544b7c01e801a8() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
|
|
2071
2071
|
globalThis.nanocodexHost.bindSubagentSession(arg0 >>> 0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6), arg7 === 0 ? undefined : getStringFromWasm0(arg7, arg8));
|
|
2072
2072
|
}, arguments); }
|
|
2073
2073
|
export function __wbg_call_8a2dd23819f8a60a() { return handleError(function (arg0, arg1) {
|
|
@@ -2078,50 +2078,50 @@ export function __wbg_call_a6e5c5dce5018821() { return handleError(function (arg
|
|
|
2078
2078
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
2079
2079
|
return addHeapObject(ret);
|
|
2080
2080
|
}, arguments); }
|
|
2081
|
-
export function
|
|
2081
|
+
export function __wbg_cancelCodeTurn_8e52123e715f375c(arg0, arg1) {
|
|
2082
2082
|
globalThis.nanocodexHost.cancelCodeTurn(getStringFromWasm0(arg0, arg1));
|
|
2083
2083
|
}
|
|
2084
|
-
export function
|
|
2084
|
+
export function __wbg_cancelCode_a6bcc4b70c761f57(arg0, arg1) {
|
|
2085
2085
|
globalThis.nanocodexHost.cancelCode(getStringFromWasm0(arg0, arg1));
|
|
2086
2086
|
}
|
|
2087
2087
|
export function __wbg_chatgptsubscription_new(arg0) {
|
|
2088
2088
|
const ret = ChatGptSubscription.__wrap(arg0);
|
|
2089
2089
|
return addHeapObject(ret);
|
|
2090
2090
|
}
|
|
2091
|
-
export function
|
|
2091
|
+
export function __wbg_close_a04f6518437cef7d(arg0) {
|
|
2092
2092
|
globalThis.nanocodexHost.close(arg0 >>> 0);
|
|
2093
2093
|
}
|
|
2094
|
-
export function
|
|
2094
|
+
export function __wbg_connect_5f65d03237babc23() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) {
|
|
2095
2095
|
const ret = globalThis.nanocodexHost.connect(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5), arg6 !== 0, getStringFromWasm0(arg7, arg8), getStringFromWasm0(arg9, arg10), arg11 === 0 ? undefined : getStringFromWasm0(arg11, arg12));
|
|
2096
2096
|
return addHeapObject(ret);
|
|
2097
2097
|
}, arguments); }
|
|
2098
|
-
export function
|
|
2098
|
+
export function __wbg_durabilityAcquire_b7a03d147660feb8() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2099
2099
|
const ret = globalThis.nanocodexHost.durabilityAcquire(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2100
2100
|
return addHeapObject(ret);
|
|
2101
2101
|
}, arguments); }
|
|
2102
|
-
export function
|
|
2102
|
+
export function __wbg_durabilityReadRecord_260ed210b8b79c22() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2103
2103
|
const ret = globalThis.nanocodexHost.durabilityReadRecord(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2104
2104
|
return addHeapObject(ret);
|
|
2105
2105
|
}, arguments); }
|
|
2106
|
-
export function
|
|
2106
|
+
export function __wbg_durabilityReadRecords_87ab48d306805c9b() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2107
2107
|
const ret = globalThis.nanocodexHost.durabilityReadRecords(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2108
2108
|
return addHeapObject(ret);
|
|
2109
2109
|
}, arguments); }
|
|
2110
|
-
export function
|
|
2110
|
+
export function __wbg_durabilityReplace_55e5c819a9821bdd() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) {
|
|
2111
2111
|
const ret = globalThis.nanocodexHost.durabilityReplace(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9), getStringFromWasm0(arg10, arg11), getStringFromWasm0(arg12, arg13));
|
|
2112
2112
|
return addHeapObject(ret);
|
|
2113
2113
|
}, arguments); }
|
|
2114
|
-
export function
|
|
2114
|
+
export function __wbg_emitEvent_8c01f9863ad2b765() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2115
2115
|
globalThis.nanocodexHost.emitEvent(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4 >>> 0, arg5 === 0 ? undefined : getStringFromWasm0(arg5, arg6));
|
|
2116
2116
|
}, arguments); }
|
|
2117
|
-
export function
|
|
2117
|
+
export function __wbg_error_abe8ded95df29694() { return handleError(function (arg0, arg1, arg2) {
|
|
2118
2118
|
console.error(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
2119
2119
|
}, arguments); }
|
|
2120
|
-
export function
|
|
2120
|
+
export function __wbg_executeCode_19479426f5b611e4() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2121
2121
|
const ret = globalThis.nanocodexHost.executeCode(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
2122
2122
|
return addHeapObject(ret);
|
|
2123
2123
|
}, arguments); }
|
|
2124
|
-
export function
|
|
2124
|
+
export function __wbg_executeTool_85bf34963222d156() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
|
|
2125
2125
|
const ret = globalThis.nanocodexHost.executeTool(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7), getStringFromWasm0(arg8, arg9));
|
|
2126
2126
|
return addHeapObject(ret);
|
|
2127
2127
|
}, arguments); }
|
|
@@ -2212,7 +2212,7 @@ export function __wbg_new_typed_1824d93f294193e5(arg0, arg1) {
|
|
|
2212
2212
|
const a = state0.a;
|
|
2213
2213
|
state0.a = 0;
|
|
2214
2214
|
try {
|
|
2215
|
-
return
|
|
2215
|
+
return __wasm_bindgen_func_elem_19796(a, state0.b, arg0, arg1);
|
|
2216
2216
|
} finally {
|
|
2217
2217
|
state0.a = a;
|
|
2218
2218
|
}
|
|
@@ -2223,11 +2223,11 @@ export function __wbg_new_typed_1824d93f294193e5(arg0, arg1) {
|
|
|
2223
2223
|
state0.a = 0;
|
|
2224
2224
|
}
|
|
2225
2225
|
}
|
|
2226
|
-
export function
|
|
2226
|
+
export function __wbg_nextCodeUpdate_8fbd56a43f3df181() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2227
2227
|
const ret = globalThis.nanocodexHost.nextCodeUpdate(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2228
2228
|
return addHeapObject(ret);
|
|
2229
2229
|
}, arguments); }
|
|
2230
|
-
export function
|
|
2230
|
+
export function __wbg_next_bbe3673a074dbf9f() { return handleError(function (arg0) {
|
|
2231
2231
|
const ret = globalThis.nanocodexHost.next(arg0 >>> 0);
|
|
2232
2232
|
return addHeapObject(ret);
|
|
2233
2233
|
}, arguments); }
|
|
@@ -2257,14 +2257,14 @@ export function __wbg_queueMicrotask_0ab5b2d2393e99b9(arg0) {
|
|
|
2257
2257
|
export function __wbg_queueMicrotask_6a09b7bc46549209(arg0) {
|
|
2258
2258
|
queueMicrotask(getObject(arg0));
|
|
2259
2259
|
}
|
|
2260
|
-
export function
|
|
2260
|
+
export function __wbg_readWorkspaceFile_f9d18a18442f243e() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2261
2261
|
const ret = globalThis.nanocodexHost.readWorkspaceFile(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2262
2262
|
return addHeapObject(ret);
|
|
2263
2263
|
}, arguments); }
|
|
2264
|
-
export function
|
|
2264
|
+
export function __wbg_releaseSubagentSession_2a9616886b245be5() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2265
2265
|
globalThis.nanocodexHost.releaseSubagentSession(arg0 >>> 0, getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2266
2266
|
}, arguments); }
|
|
2267
|
-
export function
|
|
2267
|
+
export function __wbg_removeWorkspaceFile_44c762d4bf1064ae() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2268
2268
|
const ret = globalThis.nanocodexHost.removeWorkspaceFile(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2269
2269
|
return addHeapObject(ret);
|
|
2270
2270
|
}, arguments); }
|
|
@@ -2276,11 +2276,11 @@ export function __wbg_resolvedOptions_ce0ede387898d6bd(arg0) {
|
|
|
2276
2276
|
const ret = getObject(arg0).resolvedOptions();
|
|
2277
2277
|
return addHeapObject(ret);
|
|
2278
2278
|
}
|
|
2279
|
-
export function
|
|
2279
|
+
export function __wbg_send_ee8b4ad42d0f7efc() { return handleError(function (arg0, arg1, arg2) {
|
|
2280
2280
|
const ret = globalThis.nanocodexHost.send(arg0 >>> 0, getStringFromWasm0(arg1, arg2));
|
|
2281
2281
|
return addHeapObject(ret);
|
|
2282
2282
|
}, arguments); }
|
|
2283
|
-
export function
|
|
2283
|
+
export function __wbg_setTimeout_89e132b0e6698769(arg0, arg1) {
|
|
2284
2284
|
const ret = globalThis.setTimeout(getObject(arg0), arg1);
|
|
2285
2285
|
return addHeapObject(ret);
|
|
2286
2286
|
}
|
|
@@ -2288,7 +2288,7 @@ export function __wbg_set_8535240470bf2500() { return handleError(function (arg0
|
|
|
2288
2288
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
2289
2289
|
return ret;
|
|
2290
2290
|
}, arguments); }
|
|
2291
|
-
export function
|
|
2291
|
+
export function __wbg_sleep_dc8e77fe31567aaa() { return handleError(function (arg0, arg1, arg2) {
|
|
2292
2292
|
const ret = globalThis.nanocodexHost.sleep(getStringFromWasm0(arg0, arg1), arg2 >>> 0);
|
|
2293
2293
|
return addHeapObject(ret);
|
|
2294
2294
|
}, arguments); }
|
|
@@ -2308,15 +2308,15 @@ export function __wbg_static_accessor_WINDOW_f2829a2234d7819e() {
|
|
|
2308
2308
|
const ret = typeof window === 'undefined' ? null : window;
|
|
2309
2309
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2310
2310
|
}
|
|
2311
|
-
export function
|
|
2311
|
+
export function __wbg_subscriptionCompareAndSwap_ba12617b080fe5f5() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2312
2312
|
const ret = globalThis.nanocodexHost.subscriptionCompareAndSwap(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2313
2313
|
return addHeapObject(ret);
|
|
2314
2314
|
}, arguments); }
|
|
2315
|
-
export function
|
|
2315
|
+
export function __wbg_subscriptionLoad_bce36277ba2a5ead() { return handleError(function (arg0, arg1) {
|
|
2316
2316
|
const ret = globalThis.nanocodexHost.subscriptionLoad(getStringFromWasm0(arg0, arg1));
|
|
2317
2317
|
return addHeapObject(ret);
|
|
2318
2318
|
}, arguments); }
|
|
2319
|
-
export function
|
|
2319
|
+
export function __wbg_subscriptionRequest_b288322d3f1070ab() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2320
2320
|
const ret = globalThis.nanocodexHost.subscriptionRequest(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2321
2321
|
return addHeapObject(ret);
|
|
2322
2322
|
}, arguments); }
|
|
@@ -2328,14 +2328,14 @@ export function __wbg_then_6ec10ae38b3e92f7(arg0, arg1) {
|
|
|
2328
2328
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
2329
2329
|
return addHeapObject(ret);
|
|
2330
2330
|
}
|
|
2331
|
-
export function
|
|
2331
|
+
export function __wbg_toolDefinitions_5dfac2ebbc2cc178() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2332
2332
|
const ret = globalThis.nanocodexHost.toolDefinitions(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
2333
2333
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2334
2334
|
const len1 = WASM_VECTOR_LEN;
|
|
2335
2335
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2336
2336
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2337
2337
|
}, arguments); }
|
|
2338
|
-
export function
|
|
2338
|
+
export function __wbg_toolMode_401a7c9641c5c508(arg0, arg1, arg2, arg3) {
|
|
2339
2339
|
const ret = globalThis.nanocodexHost.toolMode(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
2340
2340
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2341
2341
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -2350,22 +2350,22 @@ export function __wbg_turnresult_new(arg0) {
|
|
|
2350
2350
|
const ret = TurnResult.__wrap(arg0);
|
|
2351
2351
|
return addHeapObject(ret);
|
|
2352
2352
|
}
|
|
2353
|
-
export function
|
|
2353
|
+
export function __wbg_waitCode_f7b57572e31c1de3() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2354
2354
|
const ret = globalThis.nanocodexHost.waitCode(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
2355
2355
|
return addHeapObject(ret);
|
|
2356
2356
|
}, arguments); }
|
|
2357
|
-
export function
|
|
2357
|
+
export function __wbg_writeWorkspaceFile_934eb8c315f298a9() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2358
2358
|
const ret = globalThis.nanocodexHost.writeWorkspaceFile(getStringFromWasm0(arg0, arg1), getObject(arg2), getStringFromWasm0(arg3, arg4));
|
|
2359
2359
|
return addHeapObject(ret);
|
|
2360
2360
|
}, arguments); }
|
|
2361
2361
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
|
2362
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
2363
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2362
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2810, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
2363
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_19794);
|
|
2364
2364
|
return addHeapObject(ret);
|
|
2365
2365
|
}
|
|
2366
2366
|
export function __wbindgen_cast_0000000000000002(arg0, arg1) {
|
|
2367
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
2368
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2367
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 507, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2368
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_4594);
|
|
2369
2369
|
return addHeapObject(ret);
|
|
2370
2370
|
}
|
|
2371
2371
|
export function __wbindgen_cast_0000000000000003(arg0) {
|
|
@@ -2385,14 +2385,14 @@ export function __wbindgen_object_clone_ref(arg0) {
|
|
|
2385
2385
|
export function __wbindgen_object_drop_ref(arg0) {
|
|
2386
2386
|
takeObject(arg0);
|
|
2387
2387
|
}
|
|
2388
|
-
function
|
|
2389
|
-
wasm.
|
|
2388
|
+
function __wasm_bindgen_func_elem_4594(arg0, arg1) {
|
|
2389
|
+
wasm.__wasm_bindgen_func_elem_4594(arg0, arg1);
|
|
2390
2390
|
}
|
|
2391
2391
|
|
|
2392
|
-
function
|
|
2392
|
+
function __wasm_bindgen_func_elem_19794(arg0, arg1, arg2) {
|
|
2393
2393
|
try {
|
|
2394
2394
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2395
|
-
wasm.
|
|
2395
|
+
wasm.__wasm_bindgen_func_elem_19794(retptr, arg0, arg1, addHeapObject(arg2));
|
|
2396
2396
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2397
2397
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2398
2398
|
if (r1) {
|
|
@@ -2403,8 +2403,8 @@ function __wasm_bindgen_func_elem_19791(arg0, arg1, arg2) {
|
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
2405
|
|
|
2406
|
-
function
|
|
2407
|
-
wasm.
|
|
2406
|
+
function __wasm_bindgen_func_elem_19796(arg0, arg1, arg2, arg3) {
|
|
2407
|
+
wasm.__wasm_bindgen_func_elem_19796(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
2410
2410
|
const BrowserVoiceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
Binary file
|
|
@@ -95,9 +95,9 @@ export const turn_withdrawSteer: (a: number, b: number, c: number) => number;
|
|
|
95
95
|
export const turnresult_finalMessage: (a: number, b: number) => void;
|
|
96
96
|
export const turnresult_snapshot: (a: number, b: number) => void;
|
|
97
97
|
export const turnresult_usage: (a: number, b: number) => void;
|
|
98
|
-
export const
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
98
|
+
export const __wasm_bindgen_func_elem_19794: (a: number, b: number, c: number, d: number) => void;
|
|
99
|
+
export const __wasm_bindgen_func_elem_19796: (a: number, b: number, c: number, d: number) => void;
|
|
100
|
+
export const __wasm_bindgen_func_elem_4594: (a: number, b: number) => void;
|
|
101
101
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
102
102
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
103
103
|
export const __wbindgen_export3: (a: number) => void;
|