@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.
- package/README.md +2 -1
- package/dist/actors/host-event-payload.d.ts.map +1 -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/request.d.ts +4 -0
- package/dist/agents/request.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 -2
- package/dist/agents.js.map +1 -1
- package/dist/build-identity.d.ts +21 -0
- package/dist/build-identity.d.ts.map +1 -0
- package/dist/chunks/{chunk-RERA6YWA.js → chunk-2A2NWQ36.js} +13 -5
- package/dist/chunks/chunk-2A2NWQ36.js.map +7 -0
- package/dist/chunks/{chunk-OTCASLY2.js → chunk-2QAOC3BO.js} +1 -1
- package/dist/chunks/chunk-2QAOC3BO.js.map +7 -0
- package/dist/chunks/{chunk-2PZWDVJB.js → chunk-2SWRVIYJ.js} +21 -9
- package/dist/chunks/chunk-2SWRVIYJ.js.map +7 -0
- package/dist/chunks/{chunk-4JETKRFE.js → chunk-36B4AIRT.js} +2 -2
- package/dist/chunks/{chunk-KFZYTGF5.js → chunk-3TXOQ5MG.js} +60 -46
- package/dist/chunks/chunk-3TXOQ5MG.js.map +7 -0
- package/dist/chunks/{chunk-VWSXAEX6.js → chunk-4NUTVNS2.js} +44 -202
- package/dist/chunks/chunk-4NUTVNS2.js.map +7 -0
- package/dist/chunks/{chunk-VYXFSUWU.js → chunk-77PDIBK2.js} +12 -1
- package/dist/chunks/{chunk-VYXFSUWU.js.map → chunk-77PDIBK2.js.map} +2 -2
- 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-A4VP7HDF.js +226 -0
- 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-4SSMGBF4.js → chunk-CGL7QP4A.js} +58 -8
- package/dist/chunks/chunk-CGL7QP4A.js.map +7 -0
- package/dist/chunks/{chunk-32BNQ75J.js → chunk-FLKGJPCN.js} +99 -3
- package/dist/chunks/chunk-FLKGJPCN.js.map +7 -0
- package/dist/chunks/{chunk-QX3TUAWO.js → chunk-GGETIGM5.js} +487 -707
- package/dist/chunks/chunk-GGETIGM5.js.map +7 -0
- package/dist/chunks/{chunk-WVH324VF.js → chunk-IJL3QK3J.js} +3 -1
- package/dist/chunks/chunk-IJL3QK3J.js.map +7 -0
- package/dist/chunks/{chunk-3CPWRPCE.js → chunk-IK6PPFWG.js} +17 -6
- package/dist/chunks/chunk-IK6PPFWG.js.map +7 -0
- package/dist/chunks/{chunk-ZMIJ6AT4.js → chunk-IUCVOZRX.js} +3 -3
- package/dist/chunks/{chunk-3ZX76BVU.js → chunk-K6DHXXF5.js} +12 -10
- 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-BOTRGFQQ.js → chunk-NHMICIEU.js} +26 -19
- package/dist/chunks/chunk-NHMICIEU.js.map +7 -0
- package/dist/chunks/{chunk-Y7KNRAFL.js → chunk-PMSIZLV6.js} +29 -3
- package/dist/chunks/chunk-PMSIZLV6.js.map +7 -0
- package/dist/chunks/{chunk-7OH6DD3S.js → chunk-Q4XJ4PYL.js} +529 -168
- package/dist/chunks/chunk-Q4XJ4PYL.js.map +7 -0
- package/dist/chunks/chunk-RKRVOBVO.js +134 -0
- package/dist/chunks/chunk-RKRVOBVO.js.map +7 -0
- package/dist/chunks/{chunk-M3S7XITB.js → chunk-TGAVMUOS.js} +29 -13
- package/dist/chunks/chunk-TGAVMUOS.js.map +7 -0
- package/dist/chunks/chunk-TX6E5W7H.js +50 -0
- package/dist/chunks/chunk-TX6E5W7H.js.map +7 -0
- 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.d.ts +42 -0
- package/dist/components/configuration.d.ts.map +1 -0
- package/dist/components/configuration.js +19 -0
- package/dist/components/configuration.js.map +7 -0
- package/dist/components/control.d.ts +76 -0
- package/dist/components/control.d.ts.map +1 -0
- package/dist/components/loader.d.ts +12 -0
- package/dist/components/loader.d.ts.map +1 -1
- package/dist/components/provider-component.d.ts +1 -1
- package/dist/components/provider-component.d.ts.map +1 -1
- package/dist/components/supervisor.d.ts.map +1 -1
- package/dist/components/types.d.ts +2 -0
- package/dist/components/types.d.ts.map +1 -1
- package/dist/components/validation.d.ts +6 -0
- package/dist/components/validation.d.ts.map +1 -0
- package/dist/config.d.ts +14 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/core/action-registry.d.ts +9 -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 +46 -0
- package/dist/core/media-sanitize.d.ts.map +1 -0
- package/dist/core/model-resolution.d.ts +23 -5
- 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 +3 -1
- 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 +1595 -239
- 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 +284 -60
- package/dist/index.js.map +4 -4
- package/dist/jev/browser.d.ts.map +1 -1
- package/dist/jev/browser.js +1 -1
- 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 -3
- 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 +35 -9
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +9 -2
- package/dist/mcp.js.map +2 -2
- package/dist/output-budget.d.ts.map +1 -1
- 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 +11 -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/captured-tools-provider.d.ts.map +1 -1
- package/dist/providers/components-provider.d.ts +5 -3
- package/dist/providers/components-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 -7
- 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.d.ts +2 -2
- package/dist/residency/actor-client.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 -8
- package/dist/residency/pi-entry.js +10 -8
- package/dist/residency/pi-entry.js.map +1 -1
- package/dist/residency/protocol.d.ts +15 -2
- 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 -3
- package/dist/runtime/monty-runtime.js.map +2 -2
- package/dist/runtime/node-process-runtime.d.ts.map +1 -1
- 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 +8 -8
- package/dist/runtime-state-builtins.d.ts.map +1 -1
- package/dist/schema/policy.d.ts.map +1 -1
- package/dist/ui/code-preview-shell.d.ts.map +1 -1
- package/dist/ui/controller.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 -17
- 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/ui/widget.d.ts +12 -1
- package/dist/ui/widget.d.ts.map +1 -1
- package/dist/worker.js +1 -3
- package/dist/worker.js.map +2 -2
- package/docs/agents.md +35 -11
- package/docs/architecture.md +1 -1
- package/docs/components.md +30 -1
- package/docs/configuration.md +23 -15
- package/docs/foreman.md +65 -0
- package/docs/jev.md +77 -4
- 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 +9 -3
- package/skillsets/typescript/fabric-exec/references/agents.md +5 -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-2PZWDVJB.js.map +0 -7
- package/dist/chunks/chunk-32BNQ75J.js.map +0 -7
- package/dist/chunks/chunk-3CPWRPCE.js.map +0 -7
- package/dist/chunks/chunk-3ZX76BVU.js.map +0 -7
- package/dist/chunks/chunk-4SSMGBF4.js.map +0 -7
- package/dist/chunks/chunk-7OH6DD3S.js.map +0 -7
- package/dist/chunks/chunk-BOTRGFQQ.js.map +0 -7
- package/dist/chunks/chunk-IYQ5MNCW.js.map +0 -7
- package/dist/chunks/chunk-KFZYTGF5.js.map +0 -7
- package/dist/chunks/chunk-M3S7XITB.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-QX3TUAWO.js.map +0 -7
- package/dist/chunks/chunk-RERA6YWA.js.map +0 -7
- package/dist/chunks/chunk-TSRKCXNI.js +0 -17
- package/dist/chunks/chunk-TSRKCXNI.js.map +0 -7
- package/dist/chunks/chunk-VWSXAEX6.js.map +0 -7
- package/dist/chunks/chunk-WVH324VF.js.map +0 -7
- package/dist/chunks/chunk-X3OD47CL.js.map +0 -7
- package/dist/chunks/chunk-Y7KNRAFL.js.map +0 -7
- package/dist/chunks/chunk-Z63R5GVN.js.map +0 -7
- /package/dist/chunks/{chunk-4JETKRFE.js.map → chunk-36B4AIRT.js.map} +0 -0
- /package/dist/chunks/{chunk-ZMIJ6AT4.js.map → chunk-IUCVOZRX.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,18 +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";
|
|
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
|
-
|
|
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
|
|
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
|
-
...
|
|
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;
|
|
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
|
|
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: "
|
|
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
|
};
|