@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.
- package/README.md +2 -1
- package/dist/actors/types.d.ts +1 -1
- package/dist/actors/types.d.ts.map +1 -1
- package/dist/agents/completion-inbox.d.ts +15 -0
- package/dist/agents/completion-inbox.d.ts.map +1 -0
- package/dist/agents/handoff.d.ts.map +1 -1
- package/dist/agents/manager.d.ts +1 -0
- package/dist/agents/manager.d.ts.map +1 -1
- package/dist/agents/thinking-transfer.d.ts.map +1 -1
- package/dist/agents/transports/process-utils.d.ts.map +1 -1
- package/dist/agents.js +3 -3
- package/dist/build-identity.d.ts +21 -0
- package/dist/build-identity.d.ts.map +1 -0
- package/dist/chunks/{chunk-CIODQX77.js → chunk-2A2NWQ36.js} +3 -3
- package/dist/chunks/{chunk-OTCASLY2.js → chunk-2QAOC3BO.js} +1 -1
- package/dist/chunks/chunk-2QAOC3BO.js.map +7 -0
- package/dist/chunks/{chunk-BYOGRJME.js → chunk-2SWRVIYJ.js} +10 -7
- package/dist/chunks/chunk-2SWRVIYJ.js.map +7 -0
- package/dist/chunks/{chunk-ZHJNWM6A.js → chunk-36B4AIRT.js} +2 -2
- package/dist/chunks/{chunk-JOEFBOFN.js → chunk-3TXOQ5MG.js} +55 -45
- package/dist/chunks/chunk-3TXOQ5MG.js.map +7 -0
- package/dist/chunks/{chunk-G7UJLM33.js → chunk-4NUTVNS2.js} +40 -6
- package/dist/chunks/chunk-4NUTVNS2.js.map +7 -0
- package/dist/chunks/{chunk-X7G62ZGH.js → chunk-7BG5COXB.js} +8 -3
- package/dist/chunks/{chunk-X7G62ZGH.js.map → chunk-7BG5COXB.js.map} +2 -2
- package/dist/chunks/{chunk-IYQ5MNCW.js → chunk-7VAZ4N43.js} +42 -24
- package/dist/chunks/chunk-7VAZ4N43.js.map +7 -0
- package/dist/chunks/{chunk-KI277YNS.js → chunk-A4VP7HDF.js} +10 -2
- package/dist/chunks/chunk-A4VP7HDF.js.map +7 -0
- package/dist/chunks/chunk-B54Z662X.js +127 -0
- package/dist/chunks/chunk-B54Z662X.js.map +7 -0
- package/dist/chunks/{chunk-QLV2IZ3F.js → chunk-CGL7QP4A.js} +58 -7
- package/dist/chunks/chunk-CGL7QP4A.js.map +7 -0
- package/dist/chunks/{chunk-WG24VI7K.js → chunk-FLKGJPCN.js} +44 -2
- package/dist/chunks/chunk-FLKGJPCN.js.map +7 -0
- package/dist/chunks/{chunk-M7W57BRC.js → chunk-GGETIGM5.js} +487 -707
- package/dist/chunks/chunk-GGETIGM5.js.map +7 -0
- package/dist/chunks/{chunk-FAMBJFFF.js → chunk-IJL3QK3J.js} +3 -1
- package/dist/chunks/chunk-IJL3QK3J.js.map +7 -0
- package/dist/chunks/{chunk-RZKN534S.js → chunk-IK6PPFWG.js} +17 -6
- package/dist/chunks/chunk-IK6PPFWG.js.map +7 -0
- package/dist/chunks/{chunk-D6YSBP3R.js → chunk-IUCVOZRX.js} +3 -3
- package/dist/chunks/{chunk-ULLIZPBH.js → chunk-K6DHXXF5.js} +9 -7
- package/dist/chunks/chunk-K6DHXXF5.js.map +7 -0
- package/dist/chunks/{chunk-NPHCGLGH.js → chunk-MW5VI7IW.js} +135 -31
- package/dist/chunks/chunk-MW5VI7IW.js.map +7 -0
- package/dist/chunks/{chunk-RWDKJ24D.js → chunk-NHMICIEU.js} +2 -2
- package/dist/chunks/{chunk-M3ZNZ6EZ.js → chunk-PMSIZLV6.js} +2 -1
- package/dist/chunks/chunk-PMSIZLV6.js.map +7 -0
- package/dist/chunks/{chunk-RAEGNBRA.js → chunk-Q4XJ4PYL.js} +529 -168
- package/dist/chunks/chunk-Q4XJ4PYL.js.map +7 -0
- package/dist/chunks/{chunk-7TX532EG.js → chunk-RKRVOBVO.js} +2 -2
- package/dist/chunks/{chunk-M3S7XITB.js → chunk-TGAVMUOS.js} +29 -13
- package/dist/chunks/chunk-TGAVMUOS.js.map +7 -0
- package/dist/chunks/{chunk-JNMTTJMQ.js → chunk-TX6E5W7H.js} +1 -1
- package/dist/chunks/{chunk-JNMTTJMQ.js.map → chunk-TX6E5W7H.js.map} +1 -1
- package/dist/chunks/{chunk-X3OD47CL.js → chunk-UR2K6WK6.js} +8 -11
- package/dist/chunks/chunk-UR2K6WK6.js.map +7 -0
- package/dist/chunks/{chunk-Z63R5GVN.js → chunk-WHBJDTCR.js} +6 -2
- package/dist/chunks/chunk-WHBJDTCR.js.map +7 -0
- package/dist/chunks/{chunk-RRGTKHXZ.js → chunk-X7XFT57O.js} +9 -140
- package/dist/chunks/{chunk-RRGTKHXZ.js.map → chunk-X7XFT57O.js.map} +4 -4
- package/dist/chunks/chunk-YV2PHCDB.js +108 -0
- package/dist/chunks/chunk-YV2PHCDB.js.map +7 -0
- package/dist/chunks/chunk-Z64PRP7A.js +156 -0
- package/dist/chunks/chunk-Z64PRP7A.js.map +7 -0
- package/dist/components/configuration.js +5 -4
- package/dist/components/provider-component.d.ts +1 -1
- package/dist/components/provider-component.d.ts.map +1 -1
- package/dist/config.d.ts +10 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/core/action-registry.d.ts +8 -0
- package/dist/core/action-registry.d.ts.map +1 -1
- package/dist/core/action-registry.js +6 -4
- package/dist/core/approval-controller.d.ts +5 -1
- package/dist/core/approval-controller.d.ts.map +1 -1
- package/dist/core/auto-approval-classifier.d.ts +11 -0
- package/dist/core/auto-approval-classifier.d.ts.map +1 -1
- package/dist/core/compact-controller.d.ts.map +1 -1
- package/dist/core/fabric-state-paths.d.ts +2 -0
- package/dist/core/fabric-state-paths.d.ts.map +1 -0
- package/dist/core/media-sanitize.d.ts +3 -2
- package/dist/core/media-sanitize.d.ts.map +1 -1
- package/dist/core/model-resolution.d.ts +3 -2
- package/dist/core/model-resolution.d.ts.map +1 -1
- package/dist/core/semantic-search.d.ts +56 -0
- package/dist/core/semantic-search.d.ts.map +1 -0
- package/dist/core/shell-jobs.d.ts.map +1 -1
- package/dist/core/shell-middleware.d.ts +4 -0
- package/dist/core/shell-middleware.d.ts.map +1 -0
- package/dist/execution-service.d.ts.map +1 -1
- package/dist/fabric-exec-tool.d.ts.map +1 -1
- package/dist/fabric-runtime-state.d.ts +2 -0
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +1213 -208
- package/dist/fabric-runtime-state.js.map +4 -4
- package/dist/fabric-state.d.ts +2 -0
- package/dist/fabric-state.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +226 -49
- package/dist/index.js.map +4 -4
- package/dist/jev/client.d.ts +8 -2
- package/dist/jev/client.d.ts.map +1 -1
- package/dist/jev/client.js +3 -2
- package/dist/jev/config.d.ts.map +1 -1
- package/dist/jev/model-key.d.ts +9 -2
- package/dist/jev/model-key.d.ts.map +1 -1
- package/dist/jev/observation.js +4 -4
- package/dist/jev/routes.d.ts +69 -0
- package/dist/jev/routes.d.ts.map +1 -0
- package/dist/jev/validation.d.ts.map +1 -1
- package/dist/jev.d.ts +1 -0
- package/dist/jev.d.ts.map +1 -1
- package/dist/jev.js +34 -9
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +9 -2
- package/dist/mcp.js.map +2 -2
- package/dist/prewalk/arm.d.ts.map +1 -1
- package/dist/prewalk/controller.d.ts +57 -6
- package/dist/prewalk/controller.d.ts.map +1 -1
- package/dist/prewalk/fs-drift.d.ts.map +1 -1
- package/dist/prewalk/handoff.d.ts +5 -25
- package/dist/prewalk/handoff.d.ts.map +1 -1
- package/dist/prewalk/messages.d.ts +24 -0
- package/dist/prewalk/messages.d.ts.map +1 -0
- package/dist/prewalk/model-switch.d.ts +3 -0
- package/dist/prewalk/model-switch.d.ts.map +1 -0
- package/dist/prewalk/plan.d.ts +46 -0
- package/dist/prewalk/plan.d.ts.map +1 -0
- package/dist/prewalk/return.d.ts +16 -0
- package/dist/prewalk/return.d.ts.map +1 -0
- package/dist/protocol.d.ts +10 -1
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +3 -1
- package/dist/providers/agents-actions.d.ts.map +1 -1
- package/dist/providers/agents-provider.d.ts.map +1 -1
- package/dist/providers/jev-provider.d.ts +2 -0
- package/dist/providers/jev-provider.d.ts.map +1 -1
- package/dist/providers/jev-provider.js +8 -8
- package/dist/providers/mcp-descriptor-cache.d.ts +2 -0
- package/dist/providers/mcp-descriptor-cache.d.ts.map +1 -1
- package/dist/providers/pi-tools-provider.d.ts.map +1 -1
- package/dist/providers/prewalk-provider.d.ts +19 -0
- package/dist/providers/prewalk-provider.d.ts.map +1 -0
- package/dist/repeat-guard.d.ts +4 -0
- package/dist/repeat-guard.d.ts.map +1 -1
- package/dist/residency/actor-client.js +2 -2
- package/dist/residency/client.d.ts +3 -0
- package/dist/residency/client.d.ts.map +1 -1
- package/dist/residency/host.d.ts.map +1 -1
- package/dist/residency/host.js +10 -9
- package/dist/residency/pi-entry.js +10 -9
- package/dist/residency/pi-entry.js.map +1 -1
- package/dist/residency/protocol.d.ts +4 -0
- package/dist/residency/protocol.d.ts.map +1 -1
- package/dist/runtime/core-override-guest-types.js +2 -2
- package/dist/runtime/cpython-runtime.d.ts +2 -0
- package/dist/runtime/cpython-runtime.d.ts.map +1 -1
- package/dist/runtime/cpython-runtime.js +7 -3
- package/dist/runtime/cpython-runtime.js.map +2 -2
- package/dist/runtime/guest-types.d.ts +1 -1
- package/dist/runtime/guest-types.d.ts.map +1 -1
- package/dist/runtime/guest-types.js +1 -1
- package/dist/runtime/monty-runtime.js +5 -4
- package/dist/runtime/monty-runtime.js.map +2 -2
- package/dist/runtime/node-process-runtime.js +3 -3
- package/dist/runtime/quickjs-runtime.d.ts.map +1 -1
- package/dist/runtime/quickjs-runtime.js +1 -1
- package/dist/runtime/typescript-kernel.js +5 -5
- package/dist/runtime-state-builtins.d.ts.map +1 -1
- package/dist/ui/code-preview-shell.d.ts.map +1 -1
- package/dist/ui/conversation-native-reader.d.ts.map +1 -1
- package/dist/ui/conversation-native-reader.js.map +2 -2
- package/dist/ui/dashboard.js +2 -2
- package/dist/ui/settings-section-context.d.ts +1 -0
- package/dist/ui/settings-section-context.d.ts.map +1 -1
- package/dist/ui/settings-sections-agents.d.ts.map +1 -1
- package/dist/ui/settings-sections-execution.d.ts +1 -1
- package/dist/ui/settings-sections-execution.d.ts.map +1 -1
- package/dist/ui/settings-sections.d.ts +1 -0
- package/dist/ui/settings-sections.d.ts.map +1 -1
- package/dist/ui/settings-values.d.ts +1 -0
- package/dist/ui/settings-values.d.ts.map +1 -1
- package/dist/ui/settings.d.ts.map +1 -1
- package/dist/ui/settings.js +57 -18
- package/dist/ui/settings.js.map +2 -2
- package/dist/ui/spinner.d.ts +8 -1
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/worker.js +3 -13
- package/dist/worker.js.map +2 -2
- package/docs/agents.md +35 -11
- package/docs/configuration.md +18 -12
- package/docs/foreman.md +65 -0
- package/docs/jev.md +11 -3
- package/docs/programmatic-compaction.md +12 -7
- package/docs/shell-middleware.md +61 -0
- package/docs/skills.md +2 -1
- package/package.json +5 -4
- package/skillsets/python/fabric-exec/SKILL.md +1 -1
- package/skillsets/python/fabric-exec/references/agents.md +1 -1
- package/skillsets/python/fabric-exec/references/mcp.md +1 -1
- package/skillsets/python/fabric-foreman/SKILL.md +249 -0
- package/skillsets/python/fabric-guide/SKILL.md +2 -1
- package/skillsets/python/fabric-jev/SKILL.md +2 -2
- package/skillsets/typescript/fabric-exec/SKILL.md +4 -2
- package/skillsets/typescript/fabric-exec/references/agents.md +3 -3
- package/skillsets/typescript/fabric-foreman/SKILL.md +240 -0
- package/skillsets/typescript/fabric-guide/SKILL.md +2 -1
- package/skillsets/typescript/fabric-jev/SKILL.md +2 -2
- package/dist/chunks/chunk-2IAVP4O2.js +0 -447
- package/dist/chunks/chunk-2IAVP4O2.js.map +0 -7
- package/dist/chunks/chunk-BJOJX2UW.js +0 -59
- package/dist/chunks/chunk-BJOJX2UW.js.map +0 -7
- package/dist/chunks/chunk-BYOGRJME.js.map +0 -7
- package/dist/chunks/chunk-FAMBJFFF.js.map +0 -7
- package/dist/chunks/chunk-G7UJLM33.js.map +0 -7
- package/dist/chunks/chunk-IYQ5MNCW.js.map +0 -7
- package/dist/chunks/chunk-JOEFBOFN.js.map +0 -7
- package/dist/chunks/chunk-KI277YNS.js.map +0 -7
- package/dist/chunks/chunk-M3S7XITB.js.map +0 -7
- package/dist/chunks/chunk-M3ZNZ6EZ.js.map +0 -7
- package/dist/chunks/chunk-M7W57BRC.js.map +0 -7
- package/dist/chunks/chunk-NPHCGLGH.js.map +0 -7
- package/dist/chunks/chunk-OTCASLY2.js.map +0 -7
- package/dist/chunks/chunk-QLV2IZ3F.js.map +0 -7
- package/dist/chunks/chunk-RAEGNBRA.js.map +0 -7
- package/dist/chunks/chunk-RZKN534S.js.map +0 -7
- package/dist/chunks/chunk-ULLIZPBH.js.map +0 -7
- package/dist/chunks/chunk-WG24VI7K.js.map +0 -7
- package/dist/chunks/chunk-X3OD47CL.js.map +0 -7
- package/dist/chunks/chunk-Z63R5GVN.js.map +0 -7
- /package/dist/chunks/{chunk-CIODQX77.js.map → chunk-2A2NWQ36.js.map} +0 -0
- /package/dist/chunks/{chunk-ZHJNWM6A.js.map → chunk-36B4AIRT.js.map} +0 -0
- /package/dist/chunks/{chunk-D6YSBP3R.js.map → chunk-IUCVOZRX.js.map} +0 -0
- /package/dist/chunks/{chunk-RWDKJ24D.js.map → chunk-NHMICIEU.js.map} +0 -0
- /package/dist/chunks/{chunk-7TX532EG.js.map → chunk-RKRVOBVO.js.map} +0 -0
package/dist/ui/settings.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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
|
|
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
|
-
...
|
|
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;
|
|
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
|
|
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: "
|
|
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
|
};
|