@cortexkit/pi-magic-context 0.38.0 → 0.39.0

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 CHANGED
@@ -94,7 +94,9 @@ Session discovery follows the active host. Relative `pi.subagent_extensions` are
94
94
  "$schema": "https://raw.githubusercontent.com/cortexkit/magic-context/master/assets/magic-context.schema.json",
95
95
  "enabled": true,
96
96
  "historian": {
97
- "model": "anthropic/claude-haiku-4-5"
97
+ "pi": {
98
+ "model": "anthropic/claude-haiku-4-5"
99
+ }
98
100
  },
99
101
  "embedding": {
100
102
  "provider": "local"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./index-wckvcay0.js";
3
+ } from "./index-1yh8g550.js";
4
4
 
5
5
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs
6
6
  async function QuickJSRaw(moduleArg = {}) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./index-wckvcay0.js";
3
+ } from "./index-1yh8g550.js";
4
4
 
5
5
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.mjs
6
6
  async function QuickJSRaw(moduleArg = {}) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./index-wckvcay0.js";
3
+ } from "./index-1yh8g550.js";
4
4
 
5
5
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.mjs
6
6
  async function QuickJSRaw(moduleArg = {}) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __require
3
- } from "./index-wckvcay0.js";
3
+ } from "./index-1yh8g550.js";
4
4
 
5
5
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.mjs
6
6
  async function QuickJSRaw(moduleArg = {}) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  assertSync
3
3
  } from "./index-9xexf8s7.js";
4
- import"./index-wckvcay0.js";
4
+ import"./index-1yh8g550.js";
5
5
 
6
6
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.mjs
7
7
  var QuickJSAsyncFFI = class {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  assertSync
3
3
  } from "./index-9xexf8s7.js";
4
- import"./index-wckvcay0.js";
4
+ import"./index-1yh8g550.js";
5
5
 
6
6
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.mjs
7
7
  var QuickJSAsyncFFI = class {
@@ -1,4 +1,4 @@
1
- import"./index-wckvcay0.js";
1
+ import"./index-1yh8g550.js";
2
2
 
3
3
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs
4
4
  var QuickJSFFI = class {
@@ -1,4 +1,4 @@
1
- import"./index-wckvcay0.js";
1
+ import"./index-1yh8g550.js";
2
2
 
3
3
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.mjs
4
4
  var QuickJSFFI = class {
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
27
- });
22
+ if (mod && typeof mod === "object" || typeof mod === "function") {
23
+ for (let key of __getOwnPropNames(mod))
24
+ if (!__hasOwnProp.call(to, key))
25
+ __defProp(to, key, {
26
+ get: __accessProp.bind(mod, key),
27
+ enumerable: true
28
+ });
29
+ }
28
30
  if (canCache)
29
31
  cache.set(mod, to);
30
32
  return to;
@@ -34,17 +34,17 @@ import {
34
34
  } from "./index-9xexf8s7.js";
35
35
  import {
36
36
  __require
37
- } from "./index-wckvcay0.js";
37
+ } from "./index-1yh8g550.js";
38
38
 
39
39
  // ../../node_modules/.bun/quickjs-emscripten-core@0.32.0/node_modules/quickjs-emscripten-core/dist/index.mjs
40
40
  async function newQuickJSWASMModuleFromVariant(variantOrPromise) {
41
- let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule: QuickJSWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-ES6BEMUI-atfbtnbp.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
41
+ let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule: QuickJSWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-ES6BEMUI-1yjdz59c.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
42
42
  wasmModule.type = "sync";
43
43
  let ffi = new QuickJSFFI(wasmModule);
44
44
  return new QuickJSWASMModule2(wasmModule, ffi);
45
45
  }
46
46
  async function newQuickJSAsyncWASMModuleFromVariant(variantOrPromise) {
47
- let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSAsyncFFI, { QuickJSAsyncWASMModule: QuickJSAsyncWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-asyncify-2EFITU5U-7xckhw8w.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
47
+ let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSAsyncFFI, { QuickJSAsyncWASMModule: QuickJSAsyncWASMModule2 }] = await Promise.all([variant.importModuleLoader().then(smartUnwrap), variant.importFFI(), import("./module-asyncify-2EFITU5U-fdkx4fhy.js").then(smartUnwrap)]), wasmModule = await wasmModuleLoader();
48
48
  wasmModule.type = "async";
49
49
  let ffi = new QuickJSAsyncFFI(wasmModule);
50
50
  return new QuickJSAsyncWASMModule2(wasmModule, ffi);
@@ -163,19 +163,19 @@ var TestQuickJSWASMModule = class {
163
163
  };
164
164
 
165
165
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.mjs
166
- var variant = { type: "sync", importFFI: () => import("./ffi-9wvt2wwz.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-bkktz927.js").then((mod) => mod.default) };
166
+ var variant = { type: "sync", importFFI: () => import("./ffi-yx2hpf4p.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-ss4g4spn.js").then((mod) => mod.default) };
167
167
  var src_default = variant;
168
168
 
169
169
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-sync@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs
170
- var variant2 = { type: "sync", importFFI: () => import("./ffi-t8b862vx.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-ap8t3st0.js").then((mod) => mod.default) };
170
+ var variant2 = { type: "sync", importFFI: () => import("./ffi-qnrt0y78.js").then((mod) => mod.QuickJSFFI), importModuleLoader: () => import("./emscripten-module-49k43zfy.js").then((mod) => mod.default) };
171
171
  var src_default2 = variant2;
172
172
 
173
173
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-debug-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.mjs
174
- var variant3 = { type: "async", importFFI: () => import("./ffi-d8pnn3mn.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-r5h7aghp.js").then((mod) => mod.default) };
174
+ var variant3 = { type: "async", importFFI: () => import("./ffi-bbm9vkfa.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-jfs3d1dq.js").then((mod) => mod.default) };
175
175
  var src_default3 = variant3;
176
176
 
177
177
  // ../../node_modules/.bun/@jitl+quickjs-wasmfile-release-asyncify@0.32.0/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.mjs
178
- var variant4 = { type: "async", importFFI: () => import("./ffi-04jzypzk.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-682pfzaa.js").then((mod) => mod.default) };
178
+ var variant4 = { type: "async", importFFI: () => import("./ffi-kb5r0x1j.js").then((mod) => mod.QuickJSAsyncFFI), importModuleLoader: () => import("./emscripten-module-ex4v0x4z.js").then((mod) => mod.default) };
179
179
  var src_default4 = variant4;
180
180
 
181
181
  // ../../node_modules/.bun/quickjs-emscripten@0.32.0/node_modules/quickjs-emscripten/dist/chunk-OHAYRCBA.mjs
@@ -204,48 +204,48 @@ async function newAsyncContext(options) {
204
204
  return (await newQuickJSAsyncWASMModule()).newContext(options);
205
205
  }
206
206
  export {
207
- shouldInterruptAfterDeadline,
208
- setDebugMode,
209
- newVariant,
210
- newQuickJSWASMModuleFromVariant,
211
- newQuickJSWASMModule,
212
- newQuickJSAsyncWASMModuleFromVariant,
213
- newQuickJSAsyncWASMModule,
214
- newAsyncRuntime,
215
- newAsyncContext,
216
- memoizePromiseFactory,
217
- isSuccess,
218
- isFail,
219
- getQuickJSSync,
220
- getQuickJS,
221
- errors_exports as errors,
222
- debugLog,
223
- createDisposableArray,
224
- assertSync,
225
- WeakLifetime,
226
- UsingDisposable,
227
- TestQuickJSWASMModule,
228
- StaticLifetime,
229
- Scope,
230
- src_default2 as RELEASE_SYNC,
231
- src_default4 as RELEASE_ASYNC,
232
- QuickJSWASMModule,
233
- QuickJSRuntime,
234
- QuickJSDeferredPromise,
235
- QuickJSContext,
236
- QuickJSAsyncWASMModule,
237
- QuickJSAsyncRuntime,
238
- QuickJSAsyncContext,
239
- Lifetime,
240
- JSPromiseStateEnum,
241
- IsEqualOp,
242
- IntrinsicsFlags,
243
- GetOwnPropertyNamesFlags,
244
- EvalFlags,
245
- DisposableSuccess,
246
- DisposableResult,
247
- DisposableFail,
248
- DefaultIntrinsics,
207
+ src_default3 as DEBUG_ASYNC,
249
208
  src_default as DEBUG_SYNC,
250
- src_default3 as DEBUG_ASYNC
209
+ DefaultIntrinsics,
210
+ DisposableFail,
211
+ DisposableResult,
212
+ DisposableSuccess,
213
+ EvalFlags,
214
+ GetOwnPropertyNamesFlags,
215
+ IntrinsicsFlags,
216
+ IsEqualOp,
217
+ JSPromiseStateEnum,
218
+ Lifetime,
219
+ QuickJSAsyncContext,
220
+ QuickJSAsyncRuntime,
221
+ QuickJSAsyncWASMModule,
222
+ QuickJSContext,
223
+ QuickJSDeferredPromise,
224
+ QuickJSRuntime,
225
+ QuickJSWASMModule,
226
+ src_default4 as RELEASE_ASYNC,
227
+ src_default2 as RELEASE_SYNC,
228
+ Scope,
229
+ StaticLifetime,
230
+ TestQuickJSWASMModule,
231
+ UsingDisposable,
232
+ WeakLifetime,
233
+ assertSync,
234
+ createDisposableArray,
235
+ debugLog,
236
+ errors_exports as errors,
237
+ getQuickJS,
238
+ getQuickJSSync,
239
+ isFail,
240
+ isSuccess,
241
+ memoizePromiseFactory,
242
+ newAsyncContext,
243
+ newAsyncRuntime,
244
+ newQuickJSAsyncWASMModule,
245
+ newQuickJSAsyncWASMModuleFromVariant,
246
+ newQuickJSWASMModule,
247
+ newQuickJSWASMModuleFromVariant,
248
+ newVariant,
249
+ setDebugMode,
250
+ shouldInterruptAfterDeadline
251
251
  };