@e4779/pi-fabric 0.92.24-fork.4 → 0.92.41-fork.6

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 (271) hide show
  1. package/README.md +2 -1
  2. package/dist/actors/host-event-payload.d.ts.map +1 -1
  3. package/dist/actors/types.d.ts +1 -1
  4. package/dist/actors/types.d.ts.map +1 -1
  5. package/dist/agents/completion-inbox.d.ts +15 -0
  6. package/dist/agents/completion-inbox.d.ts.map +1 -0
  7. package/dist/agents/handoff.d.ts.map +1 -1
  8. package/dist/agents/manager.d.ts +1 -0
  9. package/dist/agents/manager.d.ts.map +1 -1
  10. package/dist/agents/request.d.ts +4 -0
  11. package/dist/agents/request.d.ts.map +1 -1
  12. package/dist/agents/thinking-transfer.d.ts.map +1 -1
  13. package/dist/agents/transports/process-utils.d.ts.map +1 -1
  14. package/dist/agents.js +3 -2
  15. package/dist/agents.js.map +1 -1
  16. package/dist/build-identity.d.ts +21 -0
  17. package/dist/build-identity.d.ts.map +1 -0
  18. package/dist/chunks/{chunk-RERA6YWA.js → chunk-2A2NWQ36.js} +13 -5
  19. package/dist/chunks/chunk-2A2NWQ36.js.map +7 -0
  20. package/dist/chunks/{chunk-OTCASLY2.js → chunk-2QAOC3BO.js} +1 -1
  21. package/dist/chunks/chunk-2QAOC3BO.js.map +7 -0
  22. package/dist/chunks/{chunk-2PZWDVJB.js → chunk-2SWRVIYJ.js} +21 -9
  23. package/dist/chunks/chunk-2SWRVIYJ.js.map +7 -0
  24. package/dist/chunks/{chunk-4JETKRFE.js → chunk-36B4AIRT.js} +2 -2
  25. package/dist/chunks/{chunk-KFZYTGF5.js → chunk-3TXOQ5MG.js} +60 -46
  26. package/dist/chunks/chunk-3TXOQ5MG.js.map +7 -0
  27. package/dist/chunks/{chunk-VWSXAEX6.js → chunk-4NUTVNS2.js} +44 -202
  28. package/dist/chunks/chunk-4NUTVNS2.js.map +7 -0
  29. package/dist/chunks/{chunk-VYXFSUWU.js → chunk-77PDIBK2.js} +12 -1
  30. package/dist/chunks/{chunk-VYXFSUWU.js.map → chunk-77PDIBK2.js.map} +2 -2
  31. package/dist/chunks/{chunk-X7G62ZGH.js → chunk-7BG5COXB.js} +8 -3
  32. package/dist/chunks/{chunk-X7G62ZGH.js.map → chunk-7BG5COXB.js.map} +2 -2
  33. package/dist/chunks/{chunk-IYQ5MNCW.js → chunk-7VAZ4N43.js} +42 -24
  34. package/dist/chunks/chunk-7VAZ4N43.js.map +7 -0
  35. package/dist/chunks/chunk-A4VP7HDF.js +226 -0
  36. package/dist/chunks/chunk-A4VP7HDF.js.map +7 -0
  37. package/dist/chunks/chunk-B54Z662X.js +127 -0
  38. package/dist/chunks/chunk-B54Z662X.js.map +7 -0
  39. package/dist/chunks/{chunk-4SSMGBF4.js → chunk-CGL7QP4A.js} +58 -8
  40. package/dist/chunks/chunk-CGL7QP4A.js.map +7 -0
  41. package/dist/chunks/{chunk-32BNQ75J.js → chunk-FLKGJPCN.js} +99 -3
  42. package/dist/chunks/chunk-FLKGJPCN.js.map +7 -0
  43. package/dist/chunks/{chunk-QX3TUAWO.js → chunk-GGETIGM5.js} +487 -707
  44. package/dist/chunks/chunk-GGETIGM5.js.map +7 -0
  45. package/dist/chunks/{chunk-WVH324VF.js → chunk-IJL3QK3J.js} +3 -1
  46. package/dist/chunks/chunk-IJL3QK3J.js.map +7 -0
  47. package/dist/chunks/{chunk-3CPWRPCE.js → chunk-IK6PPFWG.js} +17 -6
  48. package/dist/chunks/chunk-IK6PPFWG.js.map +7 -0
  49. package/dist/chunks/{chunk-ZMIJ6AT4.js → chunk-IUCVOZRX.js} +3 -3
  50. package/dist/chunks/{chunk-3ZX76BVU.js → chunk-K6DHXXF5.js} +12 -10
  51. package/dist/chunks/chunk-K6DHXXF5.js.map +7 -0
  52. package/dist/chunks/{chunk-NPHCGLGH.js → chunk-MW5VI7IW.js} +135 -31
  53. package/dist/chunks/chunk-MW5VI7IW.js.map +7 -0
  54. package/dist/chunks/{chunk-BOTRGFQQ.js → chunk-NHMICIEU.js} +26 -19
  55. package/dist/chunks/chunk-NHMICIEU.js.map +7 -0
  56. package/dist/chunks/{chunk-Y7KNRAFL.js → chunk-PMSIZLV6.js} +29 -3
  57. package/dist/chunks/chunk-PMSIZLV6.js.map +7 -0
  58. package/dist/chunks/{chunk-7OH6DD3S.js → chunk-Q4XJ4PYL.js} +529 -168
  59. package/dist/chunks/chunk-Q4XJ4PYL.js.map +7 -0
  60. package/dist/chunks/chunk-RKRVOBVO.js +134 -0
  61. package/dist/chunks/chunk-RKRVOBVO.js.map +7 -0
  62. package/dist/chunks/{chunk-M3S7XITB.js → chunk-TGAVMUOS.js} +29 -13
  63. package/dist/chunks/chunk-TGAVMUOS.js.map +7 -0
  64. package/dist/chunks/chunk-TX6E5W7H.js +50 -0
  65. package/dist/chunks/chunk-TX6E5W7H.js.map +7 -0
  66. package/dist/chunks/{chunk-X3OD47CL.js → chunk-UR2K6WK6.js} +8 -11
  67. package/dist/chunks/chunk-UR2K6WK6.js.map +7 -0
  68. package/dist/chunks/{chunk-Z63R5GVN.js → chunk-WHBJDTCR.js} +6 -2
  69. package/dist/chunks/chunk-WHBJDTCR.js.map +7 -0
  70. package/dist/chunks/{chunk-RRGTKHXZ.js → chunk-X7XFT57O.js} +9 -140
  71. package/dist/chunks/{chunk-RRGTKHXZ.js.map → chunk-X7XFT57O.js.map} +4 -4
  72. package/dist/chunks/chunk-YV2PHCDB.js +108 -0
  73. package/dist/chunks/chunk-YV2PHCDB.js.map +7 -0
  74. package/dist/chunks/chunk-Z64PRP7A.js +156 -0
  75. package/dist/chunks/chunk-Z64PRP7A.js.map +7 -0
  76. package/dist/components/configuration.d.ts +42 -0
  77. package/dist/components/configuration.d.ts.map +1 -0
  78. package/dist/components/configuration.js +19 -0
  79. package/dist/components/configuration.js.map +7 -0
  80. package/dist/components/control.d.ts +76 -0
  81. package/dist/components/control.d.ts.map +1 -0
  82. package/dist/components/loader.d.ts +12 -0
  83. package/dist/components/loader.d.ts.map +1 -1
  84. package/dist/components/provider-component.d.ts +1 -1
  85. package/dist/components/provider-component.d.ts.map +1 -1
  86. package/dist/components/supervisor.d.ts.map +1 -1
  87. package/dist/components/types.d.ts +2 -0
  88. package/dist/components/types.d.ts.map +1 -1
  89. package/dist/components/validation.d.ts +6 -0
  90. package/dist/components/validation.d.ts.map +1 -0
  91. package/dist/config.d.ts +14 -2
  92. package/dist/config.d.ts.map +1 -1
  93. package/dist/core/action-registry.d.ts +9 -0
  94. package/dist/core/action-registry.d.ts.map +1 -1
  95. package/dist/core/action-registry.js +6 -4
  96. package/dist/core/approval-controller.d.ts +5 -1
  97. package/dist/core/approval-controller.d.ts.map +1 -1
  98. package/dist/core/auto-approval-classifier.d.ts +11 -0
  99. package/dist/core/auto-approval-classifier.d.ts.map +1 -1
  100. package/dist/core/compact-controller.d.ts.map +1 -1
  101. package/dist/core/fabric-state-paths.d.ts +2 -0
  102. package/dist/core/fabric-state-paths.d.ts.map +1 -0
  103. package/dist/core/media-sanitize.d.ts +46 -0
  104. package/dist/core/media-sanitize.d.ts.map +1 -0
  105. package/dist/core/model-resolution.d.ts +23 -5
  106. package/dist/core/model-resolution.d.ts.map +1 -1
  107. package/dist/core/semantic-search.d.ts +56 -0
  108. package/dist/core/semantic-search.d.ts.map +1 -0
  109. package/dist/core/shell-jobs.d.ts.map +1 -1
  110. package/dist/core/shell-middleware.d.ts +4 -0
  111. package/dist/core/shell-middleware.d.ts.map +1 -0
  112. package/dist/execution-service.d.ts +3 -1
  113. package/dist/execution-service.d.ts.map +1 -1
  114. package/dist/fabric-exec-tool.d.ts.map +1 -1
  115. package/dist/fabric-runtime-state.d.ts +2 -0
  116. package/dist/fabric-runtime-state.d.ts.map +1 -1
  117. package/dist/fabric-runtime-state.js +1595 -239
  118. package/dist/fabric-runtime-state.js.map +4 -4
  119. package/dist/fabric-state.d.ts +2 -0
  120. package/dist/fabric-state.d.ts.map +1 -1
  121. package/dist/index.d.ts.map +1 -1
  122. package/dist/index.js +284 -60
  123. package/dist/index.js.map +4 -4
  124. package/dist/jev/browser.d.ts.map +1 -1
  125. package/dist/jev/browser.js +1 -1
  126. package/dist/jev/client.d.ts +8 -2
  127. package/dist/jev/client.d.ts.map +1 -1
  128. package/dist/jev/client.js +3 -2
  129. package/dist/jev/config.d.ts.map +1 -1
  130. package/dist/jev/model-key.d.ts +9 -2
  131. package/dist/jev/model-key.d.ts.map +1 -1
  132. package/dist/jev/observation.js +4 -3
  133. package/dist/jev/routes.d.ts +69 -0
  134. package/dist/jev/routes.d.ts.map +1 -0
  135. package/dist/jev/validation.d.ts.map +1 -1
  136. package/dist/jev.d.ts +1 -0
  137. package/dist/jev.d.ts.map +1 -1
  138. package/dist/jev.js +35 -9
  139. package/dist/mcp.d.ts.map +1 -1
  140. package/dist/mcp.js +9 -2
  141. package/dist/mcp.js.map +2 -2
  142. package/dist/output-budget.d.ts.map +1 -1
  143. package/dist/prewalk/arm.d.ts.map +1 -1
  144. package/dist/prewalk/controller.d.ts +57 -6
  145. package/dist/prewalk/controller.d.ts.map +1 -1
  146. package/dist/prewalk/fs-drift.d.ts.map +1 -1
  147. package/dist/prewalk/handoff.d.ts +5 -25
  148. package/dist/prewalk/handoff.d.ts.map +1 -1
  149. package/dist/prewalk/messages.d.ts +24 -0
  150. package/dist/prewalk/messages.d.ts.map +1 -0
  151. package/dist/prewalk/model-switch.d.ts +3 -0
  152. package/dist/prewalk/model-switch.d.ts.map +1 -0
  153. package/dist/prewalk/plan.d.ts +46 -0
  154. package/dist/prewalk/plan.d.ts.map +1 -0
  155. package/dist/prewalk/return.d.ts +16 -0
  156. package/dist/prewalk/return.d.ts.map +1 -0
  157. package/dist/protocol.d.ts +11 -1
  158. package/dist/protocol.d.ts.map +1 -1
  159. package/dist/protocol.js +3 -1
  160. package/dist/providers/agents-actions.d.ts.map +1 -1
  161. package/dist/providers/agents-provider.d.ts.map +1 -1
  162. package/dist/providers/captured-tools-provider.d.ts.map +1 -1
  163. package/dist/providers/components-provider.d.ts +5 -3
  164. package/dist/providers/components-provider.d.ts.map +1 -1
  165. package/dist/providers/jev-provider.d.ts +2 -0
  166. package/dist/providers/jev-provider.d.ts.map +1 -1
  167. package/dist/providers/jev-provider.js +8 -7
  168. package/dist/providers/mcp-descriptor-cache.d.ts +2 -0
  169. package/dist/providers/mcp-descriptor-cache.d.ts.map +1 -1
  170. package/dist/providers/pi-tools-provider.d.ts.map +1 -1
  171. package/dist/providers/prewalk-provider.d.ts +19 -0
  172. package/dist/providers/prewalk-provider.d.ts.map +1 -0
  173. package/dist/repeat-guard.d.ts +4 -0
  174. package/dist/repeat-guard.d.ts.map +1 -1
  175. package/dist/residency/actor-client.d.ts +2 -2
  176. package/dist/residency/actor-client.d.ts.map +1 -1
  177. package/dist/residency/actor-client.js +2 -2
  178. package/dist/residency/client.d.ts +3 -0
  179. package/dist/residency/client.d.ts.map +1 -1
  180. package/dist/residency/host.d.ts.map +1 -1
  181. package/dist/residency/host.js +10 -8
  182. package/dist/residency/pi-entry.js +10 -8
  183. package/dist/residency/pi-entry.js.map +1 -1
  184. package/dist/residency/protocol.d.ts +15 -2
  185. package/dist/residency/protocol.d.ts.map +1 -1
  186. package/dist/runtime/core-override-guest-types.js +2 -2
  187. package/dist/runtime/cpython-runtime.d.ts +2 -0
  188. package/dist/runtime/cpython-runtime.d.ts.map +1 -1
  189. package/dist/runtime/cpython-runtime.js +7 -3
  190. package/dist/runtime/cpython-runtime.js.map +2 -2
  191. package/dist/runtime/guest-types.d.ts +1 -1
  192. package/dist/runtime/guest-types.d.ts.map +1 -1
  193. package/dist/runtime/guest-types.js +1 -1
  194. package/dist/runtime/monty-runtime.js +5 -3
  195. package/dist/runtime/monty-runtime.js.map +2 -2
  196. package/dist/runtime/node-process-runtime.d.ts.map +1 -1
  197. package/dist/runtime/node-process-runtime.js +3 -3
  198. package/dist/runtime/quickjs-runtime.d.ts.map +1 -1
  199. package/dist/runtime/quickjs-runtime.js +1 -1
  200. package/dist/runtime/typescript-kernel.js +8 -8
  201. package/dist/runtime-state-builtins.d.ts.map +1 -1
  202. package/dist/schema/policy.d.ts.map +1 -1
  203. package/dist/ui/code-preview-shell.d.ts.map +1 -1
  204. package/dist/ui/controller.d.ts.map +1 -1
  205. package/dist/ui/conversation-native-reader.d.ts.map +1 -1
  206. package/dist/ui/conversation-native-reader.js.map +2 -2
  207. package/dist/ui/dashboard.js +2 -2
  208. package/dist/ui/settings-section-context.d.ts +1 -0
  209. package/dist/ui/settings-section-context.d.ts.map +1 -1
  210. package/dist/ui/settings-sections-agents.d.ts.map +1 -1
  211. package/dist/ui/settings-sections-execution.d.ts +1 -1
  212. package/dist/ui/settings-sections-execution.d.ts.map +1 -1
  213. package/dist/ui/settings-sections.d.ts +1 -0
  214. package/dist/ui/settings-sections.d.ts.map +1 -1
  215. package/dist/ui/settings-values.d.ts +1 -0
  216. package/dist/ui/settings-values.d.ts.map +1 -1
  217. package/dist/ui/settings.d.ts.map +1 -1
  218. package/dist/ui/settings.js +57 -17
  219. package/dist/ui/settings.js.map +2 -2
  220. package/dist/ui/spinner.d.ts +8 -1
  221. package/dist/ui/spinner.d.ts.map +1 -1
  222. package/dist/ui/widget.d.ts +12 -1
  223. package/dist/ui/widget.d.ts.map +1 -1
  224. package/dist/worker.js +1 -3
  225. package/dist/worker.js.map +2 -2
  226. package/docs/agents.md +35 -11
  227. package/docs/architecture.md +1 -1
  228. package/docs/components.md +30 -1
  229. package/docs/configuration.md +23 -15
  230. package/docs/foreman.md +65 -0
  231. package/docs/jev.md +77 -4
  232. package/docs/programmatic-compaction.md +12 -7
  233. package/docs/shell-middleware.md +61 -0
  234. package/docs/skills.md +2 -1
  235. package/package.json +5 -4
  236. package/skillsets/python/fabric-exec/SKILL.md +1 -1
  237. package/skillsets/python/fabric-exec/references/agents.md +1 -1
  238. package/skillsets/python/fabric-exec/references/mcp.md +1 -1
  239. package/skillsets/python/fabric-foreman/SKILL.md +249 -0
  240. package/skillsets/python/fabric-guide/SKILL.md +2 -1
  241. package/skillsets/python/fabric-jev/SKILL.md +2 -2
  242. package/skillsets/typescript/fabric-exec/SKILL.md +9 -3
  243. package/skillsets/typescript/fabric-exec/references/agents.md +5 -3
  244. package/skillsets/typescript/fabric-foreman/SKILL.md +240 -0
  245. package/skillsets/typescript/fabric-guide/SKILL.md +2 -1
  246. package/skillsets/typescript/fabric-jev/SKILL.md +2 -2
  247. package/dist/chunks/chunk-2IAVP4O2.js +0 -447
  248. package/dist/chunks/chunk-2IAVP4O2.js.map +0 -7
  249. package/dist/chunks/chunk-2PZWDVJB.js.map +0 -7
  250. package/dist/chunks/chunk-32BNQ75J.js.map +0 -7
  251. package/dist/chunks/chunk-3CPWRPCE.js.map +0 -7
  252. package/dist/chunks/chunk-3ZX76BVU.js.map +0 -7
  253. package/dist/chunks/chunk-4SSMGBF4.js.map +0 -7
  254. package/dist/chunks/chunk-7OH6DD3S.js.map +0 -7
  255. package/dist/chunks/chunk-BOTRGFQQ.js.map +0 -7
  256. package/dist/chunks/chunk-IYQ5MNCW.js.map +0 -7
  257. package/dist/chunks/chunk-KFZYTGF5.js.map +0 -7
  258. package/dist/chunks/chunk-M3S7XITB.js.map +0 -7
  259. package/dist/chunks/chunk-NPHCGLGH.js.map +0 -7
  260. package/dist/chunks/chunk-OTCASLY2.js.map +0 -7
  261. package/dist/chunks/chunk-QX3TUAWO.js.map +0 -7
  262. package/dist/chunks/chunk-RERA6YWA.js.map +0 -7
  263. package/dist/chunks/chunk-TSRKCXNI.js +0 -17
  264. package/dist/chunks/chunk-TSRKCXNI.js.map +0 -7
  265. package/dist/chunks/chunk-VWSXAEX6.js.map +0 -7
  266. package/dist/chunks/chunk-WVH324VF.js.map +0 -7
  267. package/dist/chunks/chunk-X3OD47CL.js.map +0 -7
  268. package/dist/chunks/chunk-Y7KNRAFL.js.map +0 -7
  269. package/dist/chunks/chunk-Z63R5GVN.js.map +0 -7
  270. /package/dist/chunks/{chunk-4JETKRFE.js.map → chunk-36B4AIRT.js.map} +0 -0
  271. /package/dist/chunks/{chunk-ZMIJ6AT4.js.map → chunk-IUCVOZRX.js.map} +0 -0
@@ -7,6 +7,10 @@ import {
7
7
  buildModelSource,
8
8
  modelKey
9
9
  } from "../chunks/chunk-CQFP2RCP.js";
10
+ import {
11
+ listCachedMcpServerNames,
12
+ mcpDescriptorCachePath
13
+ } from "../chunks/chunk-Z64PRP7A.js";
10
14
  import {
11
15
  DynamicBorder
12
16
  } from "../chunks/chunk-XB3RJVT4.js";
@@ -24,18 +28,22 @@ import {
24
28
  loadFabricConfigForScope,
25
29
  maxExecutorMemoryLimitBytes,
26
30
  saveFabricConfig
27
- } from "../chunks/chunk-VWSXAEX6.js";
31
+ } from "../chunks/chunk-4NUTVNS2.js";
28
32
  import "../chunks/chunk-OKOHRXGF.js";
29
33
  import "../chunks/chunk-RAO6TQFP.js";
30
34
  import "../chunks/chunk-KAD7UWT2.js";
35
+ import "../chunks/chunk-A4VP7HDF.js";
31
36
  import {
32
37
  THINKING_LEVELS,
33
38
  thinkingLabel
34
39
  } from "../chunks/chunk-MGWQOKBV.js";
40
+ import "../chunks/chunk-UR2K6WK6.js";
35
41
  import {
36
- isJevApprovalModel
37
- } from "../chunks/chunk-X3OD47CL.js";
42
+ isJevApprovalModel,
43
+ jevClassifierModels
44
+ } from "../chunks/chunk-B54Z662X.js";
38
45
  import "../chunks/chunk-YU62DDKK.js";
46
+ import "../chunks/chunk-3YZUQESG.js";
39
47
 
40
48
  // src/ui/settings-component.ts
41
49
  import {
@@ -126,6 +134,7 @@ var executorMemoryLimitOptions = (maximumBytes = QUICKJS_MAX_MEMORY_LIMIT_BYTES)
126
134
  var formatUsd = (value) => value <= 0 ? "Off" : `$${value.toFixed(2)}`;
127
135
  var formatTokens = (value) => value <= 0 ? "Off" : value >= 1e6 ? `${value / 1e6}M` : value >= 1e3 ? `${value / 1e3}k` : String(value);
128
136
  var formatToolCount = (count) => `${count} ${count === 1 ? "tool" : "tools"}`;
137
+ var formatBlockedCount = (count) => `${count} blocked`;
129
138
  var formatCompactionThreshold = (config, modelKey2) => {
130
139
  const tokens = config.compaction.tokenThresholds[modelKey2];
131
140
  if (tokens !== void 0) return `${formatTokens(tokens)} tokens`;
@@ -233,9 +242,9 @@ var summaryFor = (id, config) => {
233
242
  case "approvals":
234
243
  return config.approvals.execute;
235
244
  case "mcp":
236
- return config.mcp.enabled ? "enabled" : "disabled";
245
+ return config.mcp.enabled ? config.mcp.jev.semanticSearch ? "enabled \xB7 semantic" : "enabled" : "disabled";
237
246
  case "prewalk":
238
- return `${config.prewalk.enabled === false ? "off \xB7 " : ""}${config.prewalk.mode} \xB7 ${config.prewalk.model || PREWALK_MODEL_UNSET_LABEL}${config.prewalk.thinking ? ` \xB7 ${thinkingLabel(config.prewalk.thinking)}` : ""}${config.prewalk.alwaysRearm ? " \xB7 repeat" : ""}`;
247
+ return `${config.prewalk.enabled === false ? "off \xB7 " : ""}${config.prewalk.mode} \xB7 ${config.prewalk.model || PREWALK_MODEL_UNSET_LABEL}${config.prewalk.thinking ? ` \xB7 ${thinkingLabel(config.prewalk.thinking)}` : ""}${config.prewalk.requirePlan ? " \xB7 plan" : ""}${config.prewalk.alwaysRearm ? " \xB7 repeat" : ""}`;
239
248
  case "agents":
240
249
  return `${config.agents.runner}/${config.agents.transport}`;
241
250
  case "capture":
@@ -881,33 +890,29 @@ var buildApprovalsSection = ({ config, theme, options, persist }) => {
881
890
  "Approval policy for Fabric and model-requested native tool calls. Auto routes each call through a dedicated safety classifier and escalates uncertain actions to you.",
882
891
  () => [
883
892
  setting("approvals.model", "Auto model", config.approvals.model || INHERIT_VALUE, {
884
- description: "Pi or Jev model used as the auto-mode safety classifier. Inherit uses the active session model. Jev requires /login jev or TYPESAFE_API_KEY and the configured minimum safety probability (default 0.50); lower scores and errors require explicit approval. No executable classifier tools.",
893
+ description: "Pi or Jev model used as the auto-mode safety classifier. Inherit uses the active session model. Jev requires /login jev (TypeSafe), the existing openrouter credential (OpenRouter), or the existing vercel-ai-gateway credential (Vercel AI Gateway) and the configured minimum safety probability (default 0.50); lower scores and errors require explicit approval. No executable classifier tools.",
885
894
  submenu: modelPickerSubmenu(
886
895
  theme,
887
896
  {
888
897
  ...options.modelSource,
889
898
  models: [
890
899
  ...options.modelSource.models.filter((model) => !isJevApprovalModel(`${model.provider}/${model.id}`)),
891
- ...[.../* @__PURE__ */ new Set([config.jev.model, "jev-latest", "jev-1.13"])].map((model) => ({
892
- provider: "pi-fabric",
893
- id: `typesafe/${model}`,
894
- name: `Jev (TypeSafe safety classifier \xB7 ${model})`
895
- }))
900
+ ...jevClassifierModels(config.jev.model)
896
901
  ]
897
902
  },
898
903
  {
899
- headerText: "Safety classifier for auto approval policies. Inherit uses the active Pi model. Jev uses typed judgments, not chat; authenticate with /login jev.",
904
+ headerText: "Safety classifier for auto approval policies. Inherit uses the active Pi model. Jev uses typed judgments, not chat; authenticate with /login jev for TypeSafe, /login openrouter for OpenRouter, or /login vercel-ai-gateway for Vercel AI Gateway.",
900
905
  inheritName: "Use the active Pi session model"
901
906
  }
902
907
  )
903
908
  }),
904
909
  ...isJevApprovalModel(config.approvals.model) ? [
905
910
  setting("jev.autoApprovalThreshold", "Jev minimum probability", String(config.jev.autoApprovalThreshold), {
906
- description: "Minimum safety probability for automatic approval (0\u20131, default 0.50). Lower values allow more actions; 0 allows every valid judgment. Errors still require approval.",
911
+ description: "Minimum safety probability for automatic approval (0\u20131, default 0.50). Lower values allow more actions; secrets and destructive verdicts still escalate. Errors still require approval.",
907
912
  submenu: probabilitySubmenu(
908
913
  theme,
909
914
  "Jev minimum probability",
910
- "Enter a probability from 0 to 1 (default 0.50). Higher values are more conservative. 0 allows every valid judgment; 1 requires a probability of 1. Errors and incomplete evidence still require approval."
915
+ "Enter a probability from 0 to 1 (default 0.50). Higher values are more conservative. 0 allows every judgment whose secrets and destructive verdicts are clean; 1 requires a probability of 1. Errors and missing user text still require approval."
911
916
  )
912
917
  })
913
918
  ] : [],
@@ -936,7 +941,27 @@ var buildApprovalsSection = ({ config, theme, options, persist }) => {
936
941
  )
937
942
  });
938
943
  };
939
- var buildMcpSection = ({ config, theme, persist }) => {
944
+ var buildMcpSection = ({ config, theme, persist, apply, options }) => {
945
+ const blockedItem = setting(
946
+ "mcp.jev.blockedServers",
947
+ "Block from Jev",
948
+ formatBlockedCount(config.mcp.jev.blockedServers.length),
949
+ {
950
+ description: "Cached MCP servers. Toggle to block sending that server's tool metadata to Jev. Unlisted and future servers stay allowed."
951
+ }
952
+ );
953
+ blockedItem.submenu = listSubmenu(
954
+ theme,
955
+ "mcp.jev.blockedServers",
956
+ "Block from Jev",
957
+ "Cached MCP servers. Toggle to block sending that server's tool metadata to Jev. Unlisted and future servers stay allowed.",
958
+ options.cachedMcpServers ?? [],
959
+ config.mcp.jev.blockedServers,
960
+ (selected) => {
961
+ apply("mcp.jev.blockedServers", selected);
962
+ blockedItem.currentValue = formatBlockedCount(selected.length);
963
+ }
964
+ );
940
965
  return setting("mcp", "MCP", summaryFor("mcp", config), {
941
966
  description: "Model Context Protocol provider discovery and invocation.",
942
967
  submenu: sectionSubmenu(
@@ -983,7 +1008,12 @@ var buildMcpSection = ({ config, theme, persist }) => {
983
1008
  "MCP revalidate budget",
984
1009
  "Wall-clock budget for the session-start background MCP revalidation."
985
1010
  )
986
- })
1011
+ }),
1012
+ setting("mcp.jev.semanticSearch", "Jev semantic search", config.mcp.jev.semanticSearch ? "true" : "false", {
1013
+ description: 'Opt-in: tools.search({ query, searchMode: "semantic" }) ranks actions with Jev. Default search stays lexical. Cached and future MCP servers are eligible unless blocked below.',
1014
+ values: BOOLEANS
1015
+ }),
1016
+ blockedItem
987
1017
  ],
988
1018
  persist
989
1019
  )
@@ -1016,6 +1046,15 @@ var buildPrewalkSection = ({ config, theme, options, persist }) => {
1016
1046
  values: BOOLEANS
1017
1047
  }
1018
1048
  ),
1049
+ setting(
1050
+ "prewalk.requirePlan",
1051
+ "Plan checkpoint first",
1052
+ config.prewalk.requirePlan ? "true" : "false",
1053
+ {
1054
+ description: "Frontier-first planning: on the mutation boundary that would hand off, ask Main to write the plan (outcome, remaining steps, exact files, verification) and keep working on the frontier model. The handoff then fires at the next successful mutation, and Fabric delivers the recorded plan directly in the executor continuation or task. After two reminders without a plan it hands off unplanned with a warning. Disable to hand off on the first mutation, as before.",
1055
+ values: BOOLEANS
1056
+ }
1057
+ ),
1019
1058
  setting(
1020
1059
  "prewalk.detectShellWrites",
1021
1060
  "Detect shell writes",
@@ -1249,7 +1288,7 @@ var buildAgentsSection = ({ config, theme, apply, options, persist }) => {
1249
1288
  values: BOOLEANS
1250
1289
  }),
1251
1290
  setting("agents.notifyOnComplete", "Notify on complete", config.agents.notifyOnComplete ? "true" : "false", {
1252
- description: "Post a message when a background agent completes.",
1291
+ description: "Show background completion notices and deliver unread results to Main at a safe boundary. Results already received through wait or terminal status do not wake Main again.",
1253
1292
  values: BOOLEANS
1254
1293
  })
1255
1294
  ],
@@ -1954,6 +1993,7 @@ async function openFabricSettings(context, deps) {
1954
1993
  keepVisibleCandidates,
1955
1994
  modelSource,
1956
1995
  claudeModelSource,
1996
+ cachedMcpServers: listCachedMcpServerNames(mcpDescriptorCachePath(context.cwd)),
1957
1997
  ...activeModelKey ? { activeModelKey } : {}
1958
1998
  });
1959
1999
  };