@e4779/pi-fabric 0.92.28-fork.5 → 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 (236) hide show
  1. package/README.md +2 -1
  2. package/dist/actors/types.d.ts +1 -1
  3. package/dist/actors/types.d.ts.map +1 -1
  4. package/dist/agents/completion-inbox.d.ts +15 -0
  5. package/dist/agents/completion-inbox.d.ts.map +1 -0
  6. package/dist/agents/handoff.d.ts.map +1 -1
  7. package/dist/agents/manager.d.ts +1 -0
  8. package/dist/agents/manager.d.ts.map +1 -1
  9. package/dist/agents/thinking-transfer.d.ts.map +1 -1
  10. package/dist/agents/transports/process-utils.d.ts.map +1 -1
  11. package/dist/agents.js +3 -3
  12. package/dist/build-identity.d.ts +21 -0
  13. package/dist/build-identity.d.ts.map +1 -0
  14. package/dist/chunks/{chunk-CIODQX77.js → chunk-2A2NWQ36.js} +3 -3
  15. package/dist/chunks/{chunk-OTCASLY2.js → chunk-2QAOC3BO.js} +1 -1
  16. package/dist/chunks/chunk-2QAOC3BO.js.map +7 -0
  17. package/dist/chunks/{chunk-BYOGRJME.js → chunk-2SWRVIYJ.js} +10 -7
  18. package/dist/chunks/chunk-2SWRVIYJ.js.map +7 -0
  19. package/dist/chunks/{chunk-ZHJNWM6A.js → chunk-36B4AIRT.js} +2 -2
  20. package/dist/chunks/{chunk-JOEFBOFN.js → chunk-3TXOQ5MG.js} +55 -45
  21. package/dist/chunks/chunk-3TXOQ5MG.js.map +7 -0
  22. package/dist/chunks/{chunk-G7UJLM33.js → chunk-4NUTVNS2.js} +40 -6
  23. package/dist/chunks/chunk-4NUTVNS2.js.map +7 -0
  24. package/dist/chunks/{chunk-X7G62ZGH.js → chunk-7BG5COXB.js} +8 -3
  25. package/dist/chunks/{chunk-X7G62ZGH.js.map → chunk-7BG5COXB.js.map} +2 -2
  26. package/dist/chunks/{chunk-IYQ5MNCW.js → chunk-7VAZ4N43.js} +42 -24
  27. package/dist/chunks/chunk-7VAZ4N43.js.map +7 -0
  28. package/dist/chunks/{chunk-KI277YNS.js → chunk-A4VP7HDF.js} +10 -2
  29. package/dist/chunks/chunk-A4VP7HDF.js.map +7 -0
  30. package/dist/chunks/chunk-B54Z662X.js +127 -0
  31. package/dist/chunks/chunk-B54Z662X.js.map +7 -0
  32. package/dist/chunks/{chunk-QLV2IZ3F.js → chunk-CGL7QP4A.js} +58 -7
  33. package/dist/chunks/chunk-CGL7QP4A.js.map +7 -0
  34. package/dist/chunks/{chunk-WG24VI7K.js → chunk-FLKGJPCN.js} +44 -2
  35. package/dist/chunks/chunk-FLKGJPCN.js.map +7 -0
  36. package/dist/chunks/{chunk-M7W57BRC.js → chunk-GGETIGM5.js} +487 -707
  37. package/dist/chunks/chunk-GGETIGM5.js.map +7 -0
  38. package/dist/chunks/{chunk-FAMBJFFF.js → chunk-IJL3QK3J.js} +3 -1
  39. package/dist/chunks/chunk-IJL3QK3J.js.map +7 -0
  40. package/dist/chunks/{chunk-RZKN534S.js → chunk-IK6PPFWG.js} +17 -6
  41. package/dist/chunks/chunk-IK6PPFWG.js.map +7 -0
  42. package/dist/chunks/{chunk-D6YSBP3R.js → chunk-IUCVOZRX.js} +3 -3
  43. package/dist/chunks/{chunk-ULLIZPBH.js → chunk-K6DHXXF5.js} +9 -7
  44. package/dist/chunks/chunk-K6DHXXF5.js.map +7 -0
  45. package/dist/chunks/{chunk-NPHCGLGH.js → chunk-MW5VI7IW.js} +135 -31
  46. package/dist/chunks/chunk-MW5VI7IW.js.map +7 -0
  47. package/dist/chunks/{chunk-RWDKJ24D.js → chunk-NHMICIEU.js} +2 -2
  48. package/dist/chunks/{chunk-M3ZNZ6EZ.js → chunk-PMSIZLV6.js} +2 -1
  49. package/dist/chunks/chunk-PMSIZLV6.js.map +7 -0
  50. package/dist/chunks/{chunk-RAEGNBRA.js → chunk-Q4XJ4PYL.js} +529 -168
  51. package/dist/chunks/chunk-Q4XJ4PYL.js.map +7 -0
  52. package/dist/chunks/{chunk-7TX532EG.js → chunk-RKRVOBVO.js} +2 -2
  53. package/dist/chunks/{chunk-M3S7XITB.js → chunk-TGAVMUOS.js} +29 -13
  54. package/dist/chunks/chunk-TGAVMUOS.js.map +7 -0
  55. package/dist/chunks/{chunk-JNMTTJMQ.js → chunk-TX6E5W7H.js} +1 -1
  56. package/dist/chunks/{chunk-JNMTTJMQ.js.map → chunk-TX6E5W7H.js.map} +1 -1
  57. package/dist/chunks/{chunk-X3OD47CL.js → chunk-UR2K6WK6.js} +8 -11
  58. package/dist/chunks/chunk-UR2K6WK6.js.map +7 -0
  59. package/dist/chunks/{chunk-Z63R5GVN.js → chunk-WHBJDTCR.js} +6 -2
  60. package/dist/chunks/chunk-WHBJDTCR.js.map +7 -0
  61. package/dist/chunks/{chunk-RRGTKHXZ.js → chunk-X7XFT57O.js} +9 -140
  62. package/dist/chunks/{chunk-RRGTKHXZ.js.map → chunk-X7XFT57O.js.map} +4 -4
  63. package/dist/chunks/chunk-YV2PHCDB.js +108 -0
  64. package/dist/chunks/chunk-YV2PHCDB.js.map +7 -0
  65. package/dist/chunks/chunk-Z64PRP7A.js +156 -0
  66. package/dist/chunks/chunk-Z64PRP7A.js.map +7 -0
  67. package/dist/components/configuration.js +5 -4
  68. package/dist/components/provider-component.d.ts +1 -1
  69. package/dist/components/provider-component.d.ts.map +1 -1
  70. package/dist/config.d.ts +10 -0
  71. package/dist/config.d.ts.map +1 -1
  72. package/dist/core/action-registry.d.ts +8 -0
  73. package/dist/core/action-registry.d.ts.map +1 -1
  74. package/dist/core/action-registry.js +6 -4
  75. package/dist/core/approval-controller.d.ts +5 -1
  76. package/dist/core/approval-controller.d.ts.map +1 -1
  77. package/dist/core/auto-approval-classifier.d.ts +11 -0
  78. package/dist/core/auto-approval-classifier.d.ts.map +1 -1
  79. package/dist/core/compact-controller.d.ts.map +1 -1
  80. package/dist/core/fabric-state-paths.d.ts +2 -0
  81. package/dist/core/fabric-state-paths.d.ts.map +1 -0
  82. package/dist/core/media-sanitize.d.ts +3 -2
  83. package/dist/core/media-sanitize.d.ts.map +1 -1
  84. package/dist/core/model-resolution.d.ts +3 -2
  85. package/dist/core/model-resolution.d.ts.map +1 -1
  86. package/dist/core/semantic-search.d.ts +56 -0
  87. package/dist/core/semantic-search.d.ts.map +1 -0
  88. package/dist/core/shell-jobs.d.ts.map +1 -1
  89. package/dist/core/shell-middleware.d.ts +4 -0
  90. package/dist/core/shell-middleware.d.ts.map +1 -0
  91. package/dist/execution-service.d.ts.map +1 -1
  92. package/dist/fabric-exec-tool.d.ts.map +1 -1
  93. package/dist/fabric-runtime-state.d.ts +2 -0
  94. package/dist/fabric-runtime-state.d.ts.map +1 -1
  95. package/dist/fabric-runtime-state.js +1213 -208
  96. package/dist/fabric-runtime-state.js.map +4 -4
  97. package/dist/fabric-state.d.ts +2 -0
  98. package/dist/fabric-state.d.ts.map +1 -1
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +226 -49
  101. package/dist/index.js.map +4 -4
  102. package/dist/jev/client.d.ts +8 -2
  103. package/dist/jev/client.d.ts.map +1 -1
  104. package/dist/jev/client.js +3 -2
  105. package/dist/jev/config.d.ts.map +1 -1
  106. package/dist/jev/model-key.d.ts +9 -2
  107. package/dist/jev/model-key.d.ts.map +1 -1
  108. package/dist/jev/observation.js +4 -4
  109. package/dist/jev/routes.d.ts +69 -0
  110. package/dist/jev/routes.d.ts.map +1 -0
  111. package/dist/jev/validation.d.ts.map +1 -1
  112. package/dist/jev.d.ts +1 -0
  113. package/dist/jev.d.ts.map +1 -1
  114. package/dist/jev.js +34 -9
  115. package/dist/mcp.d.ts.map +1 -1
  116. package/dist/mcp.js +9 -2
  117. package/dist/mcp.js.map +2 -2
  118. package/dist/prewalk/arm.d.ts.map +1 -1
  119. package/dist/prewalk/controller.d.ts +57 -6
  120. package/dist/prewalk/controller.d.ts.map +1 -1
  121. package/dist/prewalk/fs-drift.d.ts.map +1 -1
  122. package/dist/prewalk/handoff.d.ts +5 -25
  123. package/dist/prewalk/handoff.d.ts.map +1 -1
  124. package/dist/prewalk/messages.d.ts +24 -0
  125. package/dist/prewalk/messages.d.ts.map +1 -0
  126. package/dist/prewalk/model-switch.d.ts +3 -0
  127. package/dist/prewalk/model-switch.d.ts.map +1 -0
  128. package/dist/prewalk/plan.d.ts +46 -0
  129. package/dist/prewalk/plan.d.ts.map +1 -0
  130. package/dist/prewalk/return.d.ts +16 -0
  131. package/dist/prewalk/return.d.ts.map +1 -0
  132. package/dist/protocol.d.ts +10 -1
  133. package/dist/protocol.d.ts.map +1 -1
  134. package/dist/protocol.js +3 -1
  135. package/dist/providers/agents-actions.d.ts.map +1 -1
  136. package/dist/providers/agents-provider.d.ts.map +1 -1
  137. package/dist/providers/jev-provider.d.ts +2 -0
  138. package/dist/providers/jev-provider.d.ts.map +1 -1
  139. package/dist/providers/jev-provider.js +8 -8
  140. package/dist/providers/mcp-descriptor-cache.d.ts +2 -0
  141. package/dist/providers/mcp-descriptor-cache.d.ts.map +1 -1
  142. package/dist/providers/pi-tools-provider.d.ts.map +1 -1
  143. package/dist/providers/prewalk-provider.d.ts +19 -0
  144. package/dist/providers/prewalk-provider.d.ts.map +1 -0
  145. package/dist/repeat-guard.d.ts +4 -0
  146. package/dist/repeat-guard.d.ts.map +1 -1
  147. package/dist/residency/actor-client.js +2 -2
  148. package/dist/residency/client.d.ts +3 -0
  149. package/dist/residency/client.d.ts.map +1 -1
  150. package/dist/residency/host.d.ts.map +1 -1
  151. package/dist/residency/host.js +10 -9
  152. package/dist/residency/pi-entry.js +10 -9
  153. package/dist/residency/pi-entry.js.map +1 -1
  154. package/dist/residency/protocol.d.ts +4 -0
  155. package/dist/residency/protocol.d.ts.map +1 -1
  156. package/dist/runtime/core-override-guest-types.js +2 -2
  157. package/dist/runtime/cpython-runtime.d.ts +2 -0
  158. package/dist/runtime/cpython-runtime.d.ts.map +1 -1
  159. package/dist/runtime/cpython-runtime.js +7 -3
  160. package/dist/runtime/cpython-runtime.js.map +2 -2
  161. package/dist/runtime/guest-types.d.ts +1 -1
  162. package/dist/runtime/guest-types.d.ts.map +1 -1
  163. package/dist/runtime/guest-types.js +1 -1
  164. package/dist/runtime/monty-runtime.js +5 -4
  165. package/dist/runtime/monty-runtime.js.map +2 -2
  166. package/dist/runtime/node-process-runtime.js +3 -3
  167. package/dist/runtime/quickjs-runtime.d.ts.map +1 -1
  168. package/dist/runtime/quickjs-runtime.js +1 -1
  169. package/dist/runtime/typescript-kernel.js +5 -5
  170. package/dist/runtime-state-builtins.d.ts.map +1 -1
  171. package/dist/ui/code-preview-shell.d.ts.map +1 -1
  172. package/dist/ui/conversation-native-reader.d.ts.map +1 -1
  173. package/dist/ui/conversation-native-reader.js.map +2 -2
  174. package/dist/ui/dashboard.js +2 -2
  175. package/dist/ui/settings-section-context.d.ts +1 -0
  176. package/dist/ui/settings-section-context.d.ts.map +1 -1
  177. package/dist/ui/settings-sections-agents.d.ts.map +1 -1
  178. package/dist/ui/settings-sections-execution.d.ts +1 -1
  179. package/dist/ui/settings-sections-execution.d.ts.map +1 -1
  180. package/dist/ui/settings-sections.d.ts +1 -0
  181. package/dist/ui/settings-sections.d.ts.map +1 -1
  182. package/dist/ui/settings-values.d.ts +1 -0
  183. package/dist/ui/settings-values.d.ts.map +1 -1
  184. package/dist/ui/settings.d.ts.map +1 -1
  185. package/dist/ui/settings.js +57 -18
  186. package/dist/ui/settings.js.map +2 -2
  187. package/dist/ui/spinner.d.ts +8 -1
  188. package/dist/ui/spinner.d.ts.map +1 -1
  189. package/dist/worker.js +3 -13
  190. package/dist/worker.js.map +2 -2
  191. package/docs/agents.md +35 -11
  192. package/docs/configuration.md +18 -12
  193. package/docs/foreman.md +65 -0
  194. package/docs/jev.md +11 -3
  195. package/docs/programmatic-compaction.md +12 -7
  196. package/docs/shell-middleware.md +61 -0
  197. package/docs/skills.md +2 -1
  198. package/package.json +5 -4
  199. package/skillsets/python/fabric-exec/SKILL.md +1 -1
  200. package/skillsets/python/fabric-exec/references/agents.md +1 -1
  201. package/skillsets/python/fabric-exec/references/mcp.md +1 -1
  202. package/skillsets/python/fabric-foreman/SKILL.md +249 -0
  203. package/skillsets/python/fabric-guide/SKILL.md +2 -1
  204. package/skillsets/python/fabric-jev/SKILL.md +2 -2
  205. package/skillsets/typescript/fabric-exec/SKILL.md +4 -2
  206. package/skillsets/typescript/fabric-exec/references/agents.md +3 -3
  207. package/skillsets/typescript/fabric-foreman/SKILL.md +240 -0
  208. package/skillsets/typescript/fabric-guide/SKILL.md +2 -1
  209. package/skillsets/typescript/fabric-jev/SKILL.md +2 -2
  210. package/dist/chunks/chunk-2IAVP4O2.js +0 -447
  211. package/dist/chunks/chunk-2IAVP4O2.js.map +0 -7
  212. package/dist/chunks/chunk-BJOJX2UW.js +0 -59
  213. package/dist/chunks/chunk-BJOJX2UW.js.map +0 -7
  214. package/dist/chunks/chunk-BYOGRJME.js.map +0 -7
  215. package/dist/chunks/chunk-FAMBJFFF.js.map +0 -7
  216. package/dist/chunks/chunk-G7UJLM33.js.map +0 -7
  217. package/dist/chunks/chunk-IYQ5MNCW.js.map +0 -7
  218. package/dist/chunks/chunk-JOEFBOFN.js.map +0 -7
  219. package/dist/chunks/chunk-KI277YNS.js.map +0 -7
  220. package/dist/chunks/chunk-M3S7XITB.js.map +0 -7
  221. package/dist/chunks/chunk-M3ZNZ6EZ.js.map +0 -7
  222. package/dist/chunks/chunk-M7W57BRC.js.map +0 -7
  223. package/dist/chunks/chunk-NPHCGLGH.js.map +0 -7
  224. package/dist/chunks/chunk-OTCASLY2.js.map +0 -7
  225. package/dist/chunks/chunk-QLV2IZ3F.js.map +0 -7
  226. package/dist/chunks/chunk-RAEGNBRA.js.map +0 -7
  227. package/dist/chunks/chunk-RZKN534S.js.map +0 -7
  228. package/dist/chunks/chunk-ULLIZPBH.js.map +0 -7
  229. package/dist/chunks/chunk-WG24VI7K.js.map +0 -7
  230. package/dist/chunks/chunk-X3OD47CL.js.map +0 -7
  231. package/dist/chunks/chunk-Z63R5GVN.js.map +0 -7
  232. /package/dist/chunks/{chunk-CIODQX77.js.map → chunk-2A2NWQ36.js.map} +0 -0
  233. /package/dist/chunks/{chunk-ZHJNWM6A.js.map → chunk-36B4AIRT.js.map} +0 -0
  234. /package/dist/chunks/{chunk-D6YSBP3R.js.map → chunk-IUCVOZRX.js.map} +0 -0
  235. /package/dist/chunks/{chunk-RWDKJ24D.js.map → chunk-NHMICIEU.js.map} +0 -0
  236. /package/dist/chunks/{chunk-7TX532EG.js.map → chunk-RKRVOBVO.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,19 +28,22 @@ import {
24
28
  loadFabricConfigForScope,
25
29
  maxExecutorMemoryLimitBytes,
26
30
  saveFabricConfig
27
- } from "../chunks/chunk-G7UJLM33.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";
31
- import "../chunks/chunk-KI277YNS.js";
35
+ import "../chunks/chunk-A4VP7HDF.js";
32
36
  import {
33
37
  THINKING_LEVELS,
34
38
  thinkingLabel
35
39
  } from "../chunks/chunk-MGWQOKBV.js";
40
+ import "../chunks/chunk-UR2K6WK6.js";
36
41
  import {
37
- isJevApprovalModel
38
- } from "../chunks/chunk-X3OD47CL.js";
42
+ isJevApprovalModel,
43
+ jevClassifierModels
44
+ } from "../chunks/chunk-B54Z662X.js";
39
45
  import "../chunks/chunk-YU62DDKK.js";
46
+ import "../chunks/chunk-3YZUQESG.js";
40
47
 
41
48
  // src/ui/settings-component.ts
42
49
  import {
@@ -127,6 +134,7 @@ var executorMemoryLimitOptions = (maximumBytes = QUICKJS_MAX_MEMORY_LIMIT_BYTES)
127
134
  var formatUsd = (value) => value <= 0 ? "Off" : `$${value.toFixed(2)}`;
128
135
  var formatTokens = (value) => value <= 0 ? "Off" : value >= 1e6 ? `${value / 1e6}M` : value >= 1e3 ? `${value / 1e3}k` : String(value);
129
136
  var formatToolCount = (count) => `${count} ${count === 1 ? "tool" : "tools"}`;
137
+ var formatBlockedCount = (count) => `${count} blocked`;
130
138
  var formatCompactionThreshold = (config, modelKey2) => {
131
139
  const tokens = config.compaction.tokenThresholds[modelKey2];
132
140
  if (tokens !== void 0) return `${formatTokens(tokens)} tokens`;
@@ -234,9 +242,9 @@ var summaryFor = (id, config) => {
234
242
  case "approvals":
235
243
  return config.approvals.execute;
236
244
  case "mcp":
237
- return config.mcp.enabled ? "enabled" : "disabled";
245
+ return config.mcp.enabled ? config.mcp.jev.semanticSearch ? "enabled \xB7 semantic" : "enabled" : "disabled";
238
246
  case "prewalk":
239
- 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" : ""}`;
240
248
  case "agents":
241
249
  return `${config.agents.runner}/${config.agents.transport}`;
242
250
  case "capture":
@@ -882,33 +890,29 @@ var buildApprovalsSection = ({ config, theme, options, persist }) => {
882
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.",
883
891
  () => [
884
892
  setting("approvals.model", "Auto model", config.approvals.model || INHERIT_VALUE, {
885
- 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.",
886
894
  submenu: modelPickerSubmenu(
887
895
  theme,
888
896
  {
889
897
  ...options.modelSource,
890
898
  models: [
891
899
  ...options.modelSource.models.filter((model) => !isJevApprovalModel(`${model.provider}/${model.id}`)),
892
- ...[.../* @__PURE__ */ new Set([config.jev.model, "jev-latest", "jev-1.13"])].map((model) => ({
893
- provider: "pi-fabric",
894
- id: `typesafe/${model}`,
895
- name: `Jev (TypeSafe safety classifier \xB7 ${model})`
896
- }))
900
+ ...jevClassifierModels(config.jev.model)
897
901
  ]
898
902
  },
899
903
  {
900
- 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.",
901
905
  inheritName: "Use the active Pi session model"
902
906
  }
903
907
  )
904
908
  }),
905
909
  ...isJevApprovalModel(config.approvals.model) ? [
906
910
  setting("jev.autoApprovalThreshold", "Jev minimum probability", String(config.jev.autoApprovalThreshold), {
907
- 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.",
908
912
  submenu: probabilitySubmenu(
909
913
  theme,
910
914
  "Jev minimum probability",
911
- "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."
912
916
  )
913
917
  })
914
918
  ] : [],
@@ -937,7 +941,27 @@ var buildApprovalsSection = ({ config, theme, options, persist }) => {
937
941
  )
938
942
  });
939
943
  };
940
- 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
+ );
941
965
  return setting("mcp", "MCP", summaryFor("mcp", config), {
942
966
  description: "Model Context Protocol provider discovery and invocation.",
943
967
  submenu: sectionSubmenu(
@@ -984,7 +1008,12 @@ var buildMcpSection = ({ config, theme, persist }) => {
984
1008
  "MCP revalidate budget",
985
1009
  "Wall-clock budget for the session-start background MCP revalidation."
986
1010
  )
987
- })
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
988
1017
  ],
989
1018
  persist
990
1019
  )
@@ -1017,6 +1046,15 @@ var buildPrewalkSection = ({ config, theme, options, persist }) => {
1017
1046
  values: BOOLEANS
1018
1047
  }
1019
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
+ ),
1020
1058
  setting(
1021
1059
  "prewalk.detectShellWrites",
1022
1060
  "Detect shell writes",
@@ -1250,7 +1288,7 @@ var buildAgentsSection = ({ config, theme, apply, options, persist }) => {
1250
1288
  values: BOOLEANS
1251
1289
  }),
1252
1290
  setting("agents.notifyOnComplete", "Notify on complete", config.agents.notifyOnComplete ? "true" : "false", {
1253
- 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.",
1254
1292
  values: BOOLEANS
1255
1293
  })
1256
1294
  ],
@@ -1955,6 +1993,7 @@ async function openFabricSettings(context, deps) {
1955
1993
  keepVisibleCandidates,
1956
1994
  modelSource,
1957
1995
  claudeModelSource,
1996
+ cachedMcpServers: listCachedMcpServerNames(mcpDescriptorCachePath(context.cwd)),
1958
1997
  ...activeModelKey ? { activeModelKey } : {}
1959
1998
  });
1960
1999
  };