pi-fabric 0.113.1 → 0.115.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.
Files changed (69) hide show
  1. package/dist/chunks/{chunk-G2GKA6TH.js → chunk-3PYRBP3O.js} +2 -2
  2. package/dist/chunks/{chunk-7PPIKFT5.js → chunk-4GGBND7V.js} +2 -2
  3. package/dist/chunks/{chunk-J2HUD36Z.js → chunk-5X35KXBV.js} +14 -2
  4. package/dist/chunks/{chunk-J2HUD36Z.js.map → chunk-5X35KXBV.js.map} +2 -2
  5. package/dist/chunks/{chunk-VYWJVAK5.js → chunk-6EVAHJAR.js} +2 -2
  6. package/dist/chunks/{chunk-GUZG4GGT.js → chunk-7C5IEIQK.js} +2 -2
  7. package/dist/chunks/{chunk-4WCEZL6Y.js → chunk-CUWIRPRV.js} +2 -2
  8. package/dist/chunks/{chunk-XDZMXORT.js → chunk-EQYQICUY.js} +3 -3
  9. package/dist/chunks/{chunk-NOQUJUXT.js → chunk-HITKWKYD.js} +2 -1
  10. package/dist/chunks/{chunk-NOQUJUXT.js.map → chunk-HITKWKYD.js.map} +2 -2
  11. package/dist/chunks/{chunk-R4RROLJ4.js → chunk-IQXNJNDI.js} +8 -7
  12. package/dist/chunks/chunk-IQXNJNDI.js.map +7 -0
  13. package/dist/chunks/{chunk-HFRDSGA6.js → chunk-M3MBDI2X.js} +4 -4
  14. package/dist/chunks/{chunk-B54Z662X.js → chunk-PTZ5DKAB.js} +25 -5
  15. package/dist/chunks/chunk-PTZ5DKAB.js.map +7 -0
  16. package/dist/chunks/{chunk-UQWBZKAN.js → chunk-QCCPR3U5.js} +3 -3
  17. package/dist/chunks/{chunk-NWST4TDR.js → chunk-UPPQ3QOH.js} +2 -2
  18. package/dist/chunks/{chunk-T2CJJASQ.js → chunk-VTNUU2VK.js} +3 -3
  19. package/dist/components/configuration.js +4 -4
  20. package/dist/core/action-registry.d.ts.map +1 -1
  21. package/dist/core/action-registry.js +1 -1
  22. package/dist/core/tool-result-proxy.d.ts +2 -0
  23. package/dist/core/tool-result-proxy.d.ts.map +1 -1
  24. package/dist/extension-bootstrap.js +6 -6
  25. package/dist/fabric-runtime-state.js +20 -7
  26. package/dist/fabric-runtime-state.js.map +2 -2
  27. package/dist/index.js +6 -6
  28. package/dist/jev/auth.d.ts +2 -0
  29. package/dist/jev/auth.d.ts.map +1 -1
  30. package/dist/jev/client.js +3 -3
  31. package/dist/jev/model-key.d.ts +3 -2
  32. package/dist/jev/model-key.d.ts.map +1 -1
  33. package/dist/jev/observation.js +3 -3
  34. package/dist/jev/routes.d.ts +11 -1
  35. package/dist/jev/routes.d.ts.map +1 -1
  36. package/dist/jev.d.ts +2 -2
  37. package/dist/jev.d.ts.map +1 -1
  38. package/dist/jev.js +17 -9
  39. package/dist/providers/captured-tools-provider.d.ts.map +1 -1
  40. package/dist/providers/jev-provider.js +7 -7
  41. package/dist/providers/pi-tools-provider.d.ts.map +1 -1
  42. package/dist/residency/host.js +5 -5
  43. package/dist/residency/pi-entry.js +5 -5
  44. package/dist/runtime/monty-runtime.js +3 -3
  45. package/dist/ui/settings.js +6 -5
  46. package/dist/ui/settings.js.map +2 -2
  47. package/docs/configuration.md +4 -4
  48. package/docs/jev-decisions.md +1 -0
  49. package/docs/jev.md +4 -2
  50. package/docs/providers.md +3 -0
  51. package/package.json +2 -2
  52. package/skillsets/python/fabric-exec/SKILL.md +1 -1
  53. package/skillsets/python/fabric-foreman/SKILL.md +1 -1
  54. package/skillsets/python/fabric-jev/SKILL.md +2 -2
  55. package/skillsets/typescript/fabric-exec/SKILL.md +1 -1
  56. package/skillsets/typescript/fabric-foreman/SKILL.md +1 -1
  57. package/skillsets/typescript/fabric-jev/SKILL.md +2 -2
  58. package/dist/chunks/chunk-B54Z662X.js.map +0 -7
  59. package/dist/chunks/chunk-R4RROLJ4.js.map +0 -7
  60. /package/dist/chunks/{chunk-G2GKA6TH.js.map → chunk-3PYRBP3O.js.map} +0 -0
  61. /package/dist/chunks/{chunk-7PPIKFT5.js.map → chunk-4GGBND7V.js.map} +0 -0
  62. /package/dist/chunks/{chunk-VYWJVAK5.js.map → chunk-6EVAHJAR.js.map} +0 -0
  63. /package/dist/chunks/{chunk-GUZG4GGT.js.map → chunk-7C5IEIQK.js.map} +0 -0
  64. /package/dist/chunks/{chunk-4WCEZL6Y.js.map → chunk-CUWIRPRV.js.map} +0 -0
  65. /package/dist/chunks/{chunk-XDZMXORT.js.map → chunk-EQYQICUY.js.map} +0 -0
  66. /package/dist/chunks/{chunk-HFRDSGA6.js.map → chunk-M3MBDI2X.js.map} +0 -0
  67. /package/dist/chunks/{chunk-UQWBZKAN.js.map → chunk-QCCPR3U5.js.map} +0 -0
  68. /package/dist/chunks/{chunk-NWST4TDR.js.map → chunk-UPPQ3QOH.js.map} +0 -0
  69. /package/dist/chunks/{chunk-T2CJJASQ.js.map → chunk-VTNUU2VK.js.map} +0 -0
@@ -8,7 +8,7 @@ import {
8
8
  agentParticipantRecords,
9
9
  loadModelUsage,
10
10
  useBudgetLedger
11
- } from "./chunk-NWST4TDR.js";
11
+ } from "./chunk-UPPQ3QOH.js";
12
12
  import {
13
13
  MeshStore
14
14
  } from "./chunk-KBYSGB7E.js";
@@ -815,4 +815,4 @@ export {
815
815
  residentIdleDecision,
816
816
  runResidentHostFromConfigPath
817
817
  };
818
- //# sourceMappingURL=chunk-G2GKA6TH.js.map
818
+ //# sourceMappingURL=chunk-3PYRBP3O.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJevModelId
3
- } from "./chunk-B54Z662X.js";
3
+ } from "./chunk-PTZ5DKAB.js";
4
4
 
5
5
  // src/jev/validation.ts
6
6
  import { Value } from "typebox/value";
@@ -149,4 +149,4 @@ export {
149
149
  checkSchema,
150
150
  checkValue
151
151
  };
152
- //# sourceMappingURL=chunk-7PPIKFT5.js.map
152
+ //# sourceMappingURL=chunk-4GGBND7V.js.map
@@ -12,12 +12,24 @@ var createJevAuthProvider = () => ({
12
12
  stream: noChat,
13
13
  streamSimple: noChat
14
14
  });
15
+ var createSubqAuthProvider = () => ({
16
+ id: "subq",
17
+ name: "SubQ Snap (System One)",
18
+ baseUrl: "https://api.subq.ai/v1",
19
+ auth: { apiKey: envApiKeyAuth("SubQ API key", ["SUBQ_API_KEY"]) },
20
+ getModels: () => [],
21
+ stream: noChat,
22
+ streamSimple: noChat
23
+ });
15
24
  function registerJevAuth(pi) {
16
- if (typeof pi.registerProvider === "function") pi.registerProvider(createJevAuthProvider());
25
+ if (typeof pi.registerProvider !== "function") return;
26
+ pi.registerProvider(createJevAuthProvider());
27
+ pi.registerProvider(createSubqAuthProvider());
17
28
  }
18
29
 
19
30
  export {
20
31
  createJevAuthProvider,
32
+ createSubqAuthProvider,
21
33
  registerJevAuth
22
34
  };
23
- //# sourceMappingURL=chunk-J2HUD36Z.js.map
35
+ //# sourceMappingURL=chunk-5X35KXBV.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/jev/auth.ts"],
4
- "sourcesContent": ["import { envApiKeyAuth, type Provider } from \"@earendil-works/pi-ai\";\nimport type { ExtensionAPI } from \"@earendil-works/pi-coding-agent\";\n\nconst noChat = (): never => { throw new Error(\"Jev supplies typed judgments, not chat generation\"); };\n\n/** Auth-only native provider: /login support without advertising a chat API.\n * Pi 0.99's createProvider requires an operation API, so use the native contract\n * directly instead of inventing a chat model or an empty API implementation.\n */\nexport const createJevAuthProvider = (): Provider => ({\n id: \"jev\",\n name: \"Jev (TypeSafe System One)\",\n baseUrl: \"https://api.typesafe.ai/v1\",\n auth: { apiKey: envApiKeyAuth(\"TypeSafe API key\", [\"TYPESAFE_API_KEY\"]) },\n getModels: () => [],\n stream: noChat,\n streamSimple: noChat,\n});\nexport function registerJevAuth(pi: ExtensionAPI): void {\n // Keep lightweight test/managed adapters without provider registration usable.\n if (typeof pi.registerProvider === \"function\") pi.registerProvider(createJevAuthProvider());\n}\n"],
5
- "mappings": ";AAAA,SAAS,qBAAoC;AAG7C,IAAM,SAAS,MAAa;AAAE,QAAM,IAAI,MAAM,mDAAmD;AAAG;AAM7F,IAAM,wBAAwB,OAAiB;AAAA,EACpD,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,SAAS;AAAA,EACT,MAAM,EAAE,QAAQ,cAAc,oBAAoB,CAAC,kBAAkB,CAAC,EAAE;AAAA,EACxE,WAAW,MAAM,CAAC;AAAA,EAClB,QAAQ;AAAA,EACR,cAAc;AAChB;AACO,SAAS,gBAAgB,IAAwB;AAEtD,MAAI,OAAO,GAAG,qBAAqB,WAAY,IAAG,iBAAiB,sBAAsB,CAAC;AAC5F;",
4
+ "sourcesContent": ["import { envApiKeyAuth, type Provider } from \"@earendil-works/pi-ai\";\nimport type { ExtensionAPI } from \"@earendil-works/pi-coding-agent\";\n\nconst noChat = (): never => { throw new Error(\"Jev supplies typed judgments, not chat generation\"); };\n\n/** Auth-only native provider: /login support without advertising a chat API.\n * Pi 0.99's createProvider requires an operation API, so use the native contract\n * directly instead of inventing a chat model or an empty API implementation.\n */\nexport const createJevAuthProvider = (): Provider => ({\n id: \"jev\",\n name: \"Jev (TypeSafe System One)\",\n baseUrl: \"https://api.typesafe.ai/v1\",\n auth: { apiKey: envApiKeyAuth(\"TypeSafe API key\", [\"TYPESAFE_API_KEY\"]) },\n getModels: () => [],\n stream: noChat,\n streamSimple: noChat,\n});\n/** The same auth-only contract for SubQ's System One route: `/login subq`. */\nexport const createSubqAuthProvider = (): Provider => ({\n id: \"subq\",\n name: \"SubQ Snap (System One)\",\n baseUrl: \"https://api.subq.ai/v1\",\n auth: { apiKey: envApiKeyAuth(\"SubQ API key\", [\"SUBQ_API_KEY\"]) },\n getModels: () => [],\n stream: noChat,\n streamSimple: noChat,\n});\nexport function registerJevAuth(pi: ExtensionAPI): void {\n // Keep lightweight test/managed adapters without provider registration usable.\n if (typeof pi.registerProvider !== \"function\") return;\n pi.registerProvider(createJevAuthProvider());\n pi.registerProvider(createSubqAuthProvider());\n}\n"],
5
+ "mappings": ";AAAA,SAAS,qBAAoC;AAG7C,IAAM,SAAS,MAAa;AAAE,QAAM,IAAI,MAAM,mDAAmD;AAAG;AAM7F,IAAM,wBAAwB,OAAiB;AAAA,EACpD,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,SAAS;AAAA,EACT,MAAM,EAAE,QAAQ,cAAc,oBAAoB,CAAC,kBAAkB,CAAC,EAAE;AAAA,EACxE,WAAW,MAAM,CAAC;AAAA,EAClB,QAAQ;AAAA,EACR,cAAc;AAChB;AAEO,IAAM,yBAAyB,OAAiB;AAAA,EACrD,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,SAAS;AAAA,EACT,MAAM,EAAE,QAAQ,cAAc,gBAAgB,CAAC,cAAc,CAAC,EAAE;AAAA,EAChE,WAAW,MAAM,CAAC;AAAA,EAClB,QAAQ;AAAA,EACR,cAAc;AAChB;AACO,SAAS,gBAAgB,IAAwB;AAEtD,MAAI,OAAO,GAAG,qBAAqB,WAAY;AAC/C,KAAG,iBAAiB,sBAAsB,CAAC;AAC3C,KAAG,iBAAiB,uBAAuB,CAAC;AAC9C;",
6
6
  "names": []
7
7
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PK4NIJEV.js";
4
4
  import {
5
5
  object
6
- } from "./chunk-7PPIKFT5.js";
6
+ } from "./chunk-4GGBND7V.js";
7
7
  import {
8
8
  validationMessage
9
9
  } from "./chunk-A5XF3ZPJ.js";
@@ -283,4 +283,4 @@ export {
283
283
  JevObservationHost,
284
284
  JevSubscription
285
285
  };
286
- //# sourceMappingURL=chunk-VYWJVAK5.js.map
286
+ //# sourceMappingURL=chunk-6EVAHJAR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJevModelId
3
- } from "./chunk-B54Z662X.js";
3
+ } from "./chunk-PTZ5DKAB.js";
4
4
 
5
5
  // src/jev/decision-profiles.ts
6
6
  var DECISION_MAX_BYTES = 16 * 1024 * 1024;
@@ -154,4 +154,4 @@ export {
154
154
  approvalActionOverridesValue,
155
155
  actionApprovalOverride
156
156
  };
157
- //# sourceMappingURL=chunk-GUZG4GGT.js.map
157
+ //# sourceMappingURL=chunk-7C5IEIQK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeJsonAtomic
3
- } from "./chunk-T2CJJASQ.js";
3
+ } from "./chunk-VTNUU2VK.js";
4
4
  import {
5
5
  stableJsonHash
6
6
  } from "./chunk-3YZUQESG.js";
@@ -131,4 +131,4 @@ export {
131
131
  FabricComponentConfiguration,
132
132
  watchComponentConfiguration
133
133
  };
134
- //# sourceMappingURL=chunk-4WCEZL6Y.js.map
134
+ //# sourceMappingURL=chunk-CUWIRPRV.js.map
@@ -6,14 +6,14 @@ import {
6
6
  checkResponse,
7
7
  jsonText,
8
8
  reportedUsage
9
- } from "./chunk-7PPIKFT5.js";
9
+ } from "./chunk-4GGBND7V.js";
10
10
  import {
11
11
  runAbortable
12
12
  } from "./chunk-7TB7NXSL.js";
13
13
  import {
14
14
  JEV_TYPESAFE_ROUTE,
15
15
  resolveJevUpstreamModel
16
- } from "./chunk-B54Z662X.js";
16
+ } from "./chunk-PTZ5DKAB.js";
17
17
 
18
18
  // src/jev/client.ts
19
19
  import { execFile } from "node:child_process";
@@ -178,4 +178,4 @@ export {
178
178
  JevCredentials,
179
179
  JevClient
180
180
  };
181
- //# sourceMappingURL=chunk-XDZMXORT.js.map
181
+ //# sourceMappingURL=chunk-EQYQICUY.js.map
@@ -1848,6 +1848,7 @@ var ActionRegistry = class {
1848
1848
  action,
1849
1849
  args: snapshotArguments(catalog.args),
1850
1850
  toolCallId: nestedToolCallId,
1851
+ parentToolCallId: context.parentToolCallId,
1851
1852
  value: providerValue,
1852
1853
  ...context.signal ? { signal: context.signal } : {}
1853
1854
  })) : providerValue;
@@ -2285,4 +2286,4 @@ export {
2285
2286
  scoreActionSearch,
2286
2287
  ActionRegistry
2287
2288
  };
2288
- //# sourceMappingURL=chunk-NOQUJUXT.js.map
2289
+ //# sourceMappingURL=chunk-HITKWKYD.js.map