@wrongstack/core 0.313.1 → 0.316.1
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/dist/chronicle/index.js +31 -31
- package/dist/chronicle/legacy-journal-import.d.ts +0 -6
- package/dist/chronicle/metrics-ingest.d.ts +14 -0
- package/dist/chronicle/metrics-schema.d.ts +10 -1
- package/dist/chronicle/metrics-store.d.ts +20 -2
- package/dist/chronicle/project-server.js +39 -31
- package/dist/chronicle/sink.d.ts +13 -0
- package/dist/chronicle/sqlite-journal.d.ts +20 -2
- package/dist/{chunk-WOEZV3Q4.js → chunk-25LSLC3G.js} +2 -1
- package/dist/{chunk-AI4LLQ2U.js → chunk-27QIURLN.js} +229 -12
- package/dist/{chunk-I45KAW2N.js → chunk-3AGWVSS7.js} +38 -450
- package/dist/chunk-3BDV7RL3.js +211 -0
- package/dist/{chunk-NFAYHPRH.js → chunk-3ECENVHL.js} +10 -8
- package/dist/{chunk-FW5LDDMJ.js → chunk-45WI72ZB.js} +1576 -1156
- package/dist/{chunk-AT4V4XGI.js → chunk-4BMVPOHO.js} +539 -313
- package/dist/{chunk-YBUJCZ57.js → chunk-4I7HGVVA.js} +17 -5
- package/dist/{chunk-JVGPR3TS.js → chunk-4LCZVJVF.js} +7 -55
- package/dist/{chunk-4ZHTKJHM.js → chunk-4SJNS7OB.js} +36 -2
- package/dist/{chunk-AD7ZFZCS.js → chunk-5BMIE7QG.js} +3 -3
- package/dist/{chunk-IQ35HMQL.js → chunk-5YPSXQXM.js} +71 -24
- package/dist/chunk-6FHWXLPT.js +10 -0
- package/dist/{chunk-FIV4IJL7.js → chunk-6H5GEOET.js} +163 -20
- package/dist/{chunk-VB3H5WWB.js → chunk-6NWEVFEL.js} +2 -2
- package/dist/{chunk-E6I5RXVK.js → chunk-AYW5YINX.js} +2 -2
- package/dist/{chunk-DEIQMBD2.js → chunk-B7F4WVP4.js} +2 -2
- package/dist/{chunk-XQ2XGIBF.js → chunk-BPBKKBUK.js} +6 -7
- package/dist/{chunk-K4YUNKU7.js → chunk-BYD345OX.js} +2 -2
- package/dist/{chunk-LZDDLNCZ.js → chunk-C27KDLOX.js} +4 -4
- package/dist/{chunk-6AKOTGLM.js → chunk-CU546ESW.js} +7 -7
- package/dist/{chunk-ZZ4V3WIZ.js → chunk-DLHHXUAM.js} +10 -1
- package/dist/{chunk-BAKVJLEV.js → chunk-DOTHQSJ2.js} +28 -16
- package/dist/{chunk-KBZGE6LN.js → chunk-DYLPMV4Q.js} +4 -3
- package/dist/{chunk-52RTVH4M.js → chunk-F3JWNST7.js} +2 -2
- package/dist/{chunk-WEBMSQP2.js → chunk-FC2ZGRF3.js} +21 -4
- package/dist/{chunk-FHAMQS7Q.js → chunk-FCBTO76Z.js} +76 -146
- package/dist/{chunk-4LJJYBAU.js → chunk-FHZVFYSL.js} +9 -1
- package/dist/{chunk-W4A6QA3D.js → chunk-FWNLEZYG.js} +4 -3
- package/dist/{chunk-OJZEX73F.js → chunk-GDQ7CZRQ.js} +5 -1
- package/dist/{chunk-QVOVMXJR.js → chunk-GJJGJB2R.js} +32 -9
- package/dist/{chunk-4XV6IR37.js → chunk-HI3JGZR2.js} +7 -6
- package/dist/{chunk-FSWCWSTS.js → chunk-HMLIGAU7.js} +26 -26
- package/dist/{chunk-PFXFQQRT.js → chunk-HXKZ7OBQ.js} +7 -43
- package/dist/{chunk-2FQL4PDC.js → chunk-I7DALG7J.js} +5 -5
- package/dist/{chunk-GM54GJBU.js → chunk-IRUTEHCE.js} +3 -3
- package/dist/{chunk-TYW2GI5I.js → chunk-J2WRWR37.js} +40 -13
- package/dist/{chunk-ZEHUCJHY.js → chunk-JFPJ6LLQ.js} +2 -2
- package/dist/chunk-JMULFFLN.js +9 -0
- package/dist/{chunk-RD6DEE36.js → chunk-JO4MGB6Z.js} +94 -8
- package/dist/{chunk-5DSMEVA4.js → chunk-K6BXGITA.js} +7 -7
- package/dist/{chunk-O74MJHXU.js → chunk-KZMSZV32.js} +2 -2
- package/dist/{chunk-GFJOMSHG.js → chunk-LA7CLDRW.js} +6 -2
- package/dist/{chunk-M2WF6AXG.js → chunk-LSMMOS2Z.js} +7 -3
- package/dist/{chunk-ASX6AW36.js → chunk-LXWCMQNJ.js} +3 -3
- package/dist/{chunk-WZO23AWO.js → chunk-M27LIEKV.js} +72 -22
- package/dist/{chunk-JTHKOYWU.js → chunk-MJPHJRAL.js} +15 -15
- package/dist/{chunk-G5AAKEEZ.js → chunk-MTL4O5YR.js} +5 -5
- package/dist/chunk-NHJ75HXY.js +1 -0
- package/dist/{chunk-ZYU2YOJ6.js → chunk-NIOAGFPB.js} +29 -15
- package/dist/{chunk-Y2GE5TSI.js → chunk-NS52ISWS.js} +2 -2
- package/dist/{chunk-UIWONWVG.js → chunk-NSOFPKGT.js} +541 -148
- package/dist/{chunk-RCQYT2I4.js → chunk-NVIZG63R.js} +2 -2
- package/dist/{chunk-EPC3GZD4.js → chunk-OOYZPOXM.js} +2 -2
- package/dist/{chunk-7ZHZE5EO.js → chunk-OSGLYW5J.js} +2 -2
- package/dist/{chunk-CE4ZOCOI.js → chunk-PFCMSSUF.js} +9 -9
- package/dist/{chunk-GFXZTHNI.js → chunk-PGRVXIMY.js} +5 -5
- package/dist/{chunk-JJPMWPB6.js → chunk-PISBFBJN.js} +6 -6
- package/dist/chunk-POOOIWE5.js +9 -0
- package/dist/{chunk-5RP3QTRL.js → chunk-PQNS3U7Z.js} +20 -3
- package/dist/{chunk-3E244UDA.js → chunk-QSTSJOCK.js} +52 -6
- package/dist/{chunk-YUPMXOGP.js → chunk-RFQMOKWK.js} +3 -3
- package/dist/chunk-RTOTNK3P.js +484 -0
- package/dist/{chunk-SN2DQRL6.js → chunk-RXKSDUAU.js} +7 -7
- package/dist/{chunk-T3KGZBU5.js → chunk-S45JPKQN.js} +189 -43
- package/dist/{chunk-YNCVSFGF.js → chunk-SAFHACFA.js} +4 -1
- package/dist/{chunk-KI4L2DUL.js → chunk-TCCHINEF.js} +114 -19
- package/dist/{chunk-AWNQ6ED6.js → chunk-THEGTRAG.js} +7 -2
- package/dist/{chunk-2KKODIQU.js → chunk-TR4LQE7L.js} +15 -15
- package/dist/{chunk-GPQ3NJPR.js → chunk-TWJMGXCI.js} +3 -3
- package/dist/{chunk-H72H4XDU.js → chunk-U45AXT5D.js} +9 -9
- package/dist/{chunk-62V2AFVG.js → chunk-U4FWBSO3.js} +160 -73
- package/dist/{chunk-A455ATZB.js → chunk-UBGDX6FI.js} +8 -1
- package/dist/chunk-UJILKYES.js +75 -0
- package/dist/{chunk-KSJ5UTP7.js → chunk-ULMAQV3T.js} +84 -4
- package/dist/{chunk-CB2HFKTP.js → chunk-VVBP6KGT.js} +1 -1
- package/dist/{chunk-RPOA7IAE.js → chunk-W5VITDM2.js} +43 -25
- package/dist/{chunk-QRTG4XTI.js → chunk-WAHQVNWT.js} +7 -1
- package/dist/{chunk-SQP64RCS.js → chunk-WGGYRBXH.js} +3019 -2976
- package/dist/{chunk-K3G6JBUC.js → chunk-WLYKU45P.js} +679 -141
- package/dist/chunk-WP7BVANJ.js +53 -0
- package/dist/{chunk-GAZEWQEZ.js → chunk-XF4VUMKW.js} +2 -2
- package/dist/{chunk-PAAWLLZX.js → chunk-Y5YXDM7D.js} +2 -2
- package/dist/{chunk-65RDIOR2.js → chunk-YOPAUVU4.js} +162 -44
- package/dist/{chunk-FFSX2QDQ.js → chunk-YPT4A46F.js} +3 -3
- package/dist/chunk-YWXT3JNM.js +425 -0
- package/dist/{chunk-EFEHDQGY.js → chunk-ZHZ2Y2DH.js} +64 -10
- package/dist/{chunk-CQQL4ZOQ.js → chunk-ZT7JNIGX.js} +4 -3
- package/dist/coordination/agent-monitor.d.ts +9 -1
- package/dist/coordination/agent-subagent-runner.d.ts +1 -1
- package/dist/coordination/agents/agent-prompts.d.ts +8 -0
- package/dist/coordination/agents/index.d.ts +33 -1
- package/dist/coordination/agents/index.js +52 -22
- package/dist/coordination/agents/phase3-wave1-platform.d.ts +1 -3
- package/dist/coordination/agents/phase3-wave2-meta.d.ts +1 -3
- package/dist/coordination/agents/phase8-wave3-products.d.ts +1 -3
- package/dist/coordination/agents/phase9-wave4-platform-meta.d.ts +1 -3
- package/dist/coordination/agents/project-agent-identity.d.ts +11 -11
- package/dist/coordination/agents/types.d.ts +13 -2
- package/dist/coordination/brain-monitor.d.ts +30 -7
- package/dist/coordination/collab-debug.d.ts +1 -1
- package/dist/coordination/collab-pause.d.ts +1 -1
- package/dist/coordination/delegate-tool.d.ts +7 -5
- package/dist/coordination/director-kanban-queue-helpers.d.ts +1 -0
- package/dist/coordination/director-options.d.ts +7 -0
- package/dist/coordination/director-spawn-model.d.ts +17 -0
- package/dist/coordination/director-tools.d.ts +2 -2
- package/dist/coordination/director.d.ts +12 -0
- package/dist/coordination/dispatcher.d.ts +8 -0
- package/dist/coordination/fleet-bus.d.ts +35 -4
- package/dist/coordination/fleet-supervisor.d.ts +10 -2
- package/dist/coordination/fleet.d.ts +16 -7
- package/dist/coordination/index.d.ts +4 -0
- package/dist/coordination/index.js +86 -49
- package/dist/coordination/kanban-dispatch-port.d.ts +2 -2
- package/dist/coordination/mailbox-http-router.d.ts +4 -3
- package/dist/coordination/mailbox-http-validation.d.ts +1 -1
- package/dist/coordination/mailbox-project-server.js +15 -15
- package/dist/coordination/mailbox-types.d.ts +24 -6
- package/dist/coordination/model-tier-leader.d.ts +122 -0
- package/dist/coordination/model-tier.d.ts +122 -0
- package/dist/coordination/multi-agent-coordinator.d.ts +24 -0
- package/dist/coordination/origin-session.d.ts +16 -0
- package/dist/coordination/provider-status-tracker.d.ts +37 -5
- package/dist/coordination/session-note-hub.d.ts +44 -0
- package/dist/coordination/session-note-tool.d.ts +10 -0
- package/dist/core/agent.d.ts +1 -1
- package/dist/core/context.d.ts +22 -3
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +130 -38
- package/dist/core/request-conversation-binding.d.ts +37 -0
- package/dist/core/session-notes.d.ts +25 -0
- package/dist/core/system-prompt-builder.d.ts +11 -2
- package/dist/core/system-prompt-variants.d.ts +78 -0
- package/dist/design/index.js +3 -3
- package/dist/execution/auto-compaction-middleware.d.ts +11 -0
- package/dist/execution/autonomy-brain.d.ts +2 -1
- package/dist/execution/autonomy-prompt-contributor.d.ts +7 -2
- package/dist/execution/compaction-core.d.ts +4 -4
- package/dist/execution/eternal-autonomy.d.ts +1 -1
- package/dist/execution/index.js +138 -129
- package/dist/execution/model-runtime.d.ts +0 -7
- package/dist/execution/parallel-eternal-engine.d.ts +7 -7
- package/dist/extension/index.js +3 -3
- package/dist/goal/index.js +6 -6
- package/dist/hooks/index.js +3 -3
- package/dist/hq/index.js +14 -12
- package/dist/hq/persistence/event-log.d.ts +0 -1
- package/dist/hq/persistence.d.ts +4 -4
- package/dist/hq/publisher.d.ts +2 -0
- package/dist/index.d.ts +14 -11
- package/dist/index.js +728 -635
- package/dist/infrastructure/index.d.ts +4 -4
- package/dist/infrastructure/index.js +281 -260
- package/dist/infrastructure/token-counter.d.ts +9 -0
- package/dist/kernel/events/agent-events.d.ts +77 -3
- package/dist/kernel/events/brain-events.d.ts +12 -0
- package/dist/kernel/events/provider-events.d.ts +7 -1
- package/dist/kernel/events/session-events.d.ts +14 -0
- package/dist/kernel/events/tool-events.d.ts +13 -0
- package/dist/kernel/index.js +4 -4
- package/dist/mailbox-attach.d.ts +1 -1
- package/dist/models/index.js +10 -9
- package/dist/observability/event-bridge.d.ts +25 -5
- package/dist/observability/index.d.ts +9 -8
- package/dist/observability/index.js +459 -351
- package/dist/observability/tool-usage-source.d.ts +65 -0
- package/dist/plugin/index.d.ts +5 -0
- package/dist/plugin/index.js +66 -50
- package/dist/plugins/auto-review-plugin.d.ts +3 -2
- package/dist/plugins/review-finding-commands.d.ts +0 -8
- package/dist/{review-finding-store-DKAV3AS6.js → plugins/review-finding-store.js} +7 -6
- package/dist/plugins/review-finding-types.js +19 -0
- package/dist/plugins/review-report-integration.js +21 -0
- package/dist/{review-report-store-OWY3EC3N.js → plugins/review-report-store.js} +7 -6
- package/dist/plugins/review-report-types.js +13 -0
- package/dist/prompts/index.js +5 -5
- package/dist/registry/index.js +3 -3
- package/dist/registry/tool-registry.d.ts +59 -9
- package/dist/{registry-R23UBE7H.js → registry-7N4O3E7W.js} +5 -5
- package/dist/security/capabilities.d.ts +6 -0
- package/dist/security/file-permissions.d.ts +1 -1
- package/dist/security/index.js +47 -33
- package/dist/security/permission-policy.d.ts +12 -1
- package/dist/security/secret-scrubber.d.ts +15 -0
- package/dist/session-catalog/index.d.ts +1 -0
- package/dist/session-catalog/index.js +19 -14
- package/dist/session-catalog/project-server.js +30 -13
- package/dist/session-catalog/protocol.d.ts +32 -1
- package/dist/session-catalog/registry.d.ts +17 -1
- package/dist/session-catalog/session-agents.d.ts +56 -0
- package/dist/session-catalog/store-rebuild.d.ts +14 -0
- package/dist/session-catalog/store-schema.d.ts +26 -0
- package/dist/session-catalog/store.d.ts +27 -1
- package/dist/session-note-attach.d.ts +9 -0
- package/dist/skills/index.js +5 -5
- package/dist/statusline/index.d.ts +43 -0
- package/dist/statusline/index.js +102 -0
- package/dist/storage/board-store-port.d.ts +2 -2
- package/dist/storage/config-loader/in-project-policy.d.ts +29 -0
- package/dist/storage/config-loader.d.ts +3 -2
- package/dist/storage/file-session-writer.d.ts +4 -2
- package/dist/storage/goal-coordination.d.ts +6 -1
- package/dist/storage/goal-kanban.d.ts +4 -1
- package/dist/storage/index.d.ts +12 -4
- package/dist/storage/index.js +76 -61
- package/dist/storage/input-history-store.d.ts +2 -4
- package/dist/storage/memory-curator.d.ts +133 -0
- package/dist/storage/session-agent-attribution.d.ts +39 -0
- package/dist/storage/session-doctor.d.ts +109 -0
- package/dist/storage/session-event-bridge.d.ts +5 -7
- package/dist/storage/session-outcome.d.ts +42 -0
- package/dist/storage/session-recovery.d.ts +55 -0
- package/dist/storage/session-store/load-session-data.d.ts +11 -0
- package/dist/storage/session-store/prune-helpers.d.ts +1 -1
- package/dist/storage/session-store/resume-session.d.ts +0 -2
- package/dist/storage/session-store/types.d.ts +8 -0
- package/dist/storage/session-store.d.ts +3 -3
- package/dist/storage/session-summary-tracker.d.ts +8 -1
- package/dist/storage/session-write-buffer.d.ts +18 -0
- package/dist/storage/session-writer-truncate.d.ts +2 -0
- package/dist/tasking/index.js +2 -2
- package/dist/tools/fallback-manage-tools.d.ts +6 -4
- package/dist/tools/index.js +21 -21
- package/dist/tools/model-tier-set-tool.d.ts +66 -0
- package/dist/types/agent-bridge.d.ts +2 -1
- package/dist/types/config/mcp-features.d.ts +7 -0
- package/dist/types/config/model-tiers.d.ts +148 -0
- package/dist/types/config/root.d.ts +9 -0
- package/dist/types/config/tools.d.ts +73 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/types/context.d.ts +2 -0
- package/dist/types/default-config.d.ts +6 -0
- package/dist/types/errors.d.ts +2 -1
- package/dist/types/index.d.ts +11 -9
- package/dist/types/index.js +25 -15
- package/dist/types/multi-agent.d.ts +43 -0
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/provider.d.ts +15 -0
- package/dist/types/runtime-capability-manifest.d.ts +1 -1
- package/dist/types/secret-scrubber.d.ts +15 -0
- package/dist/types/session-markers.d.ts +37 -10
- package/dist/types/session-markers.js +1 -1
- package/dist/types/session-timeline.d.ts +197 -0
- package/dist/types/session-timeline.js +12 -0
- package/dist/types/session.d.ts +172 -11
- package/dist/types/system-prompt.d.ts +27 -0
- package/dist/utils/config-backup.d.ts +9 -1
- package/dist/utils/heap-watchdog.js +2 -2
- package/dist/utils/index.js +50 -48
- package/dist/utils/message-invariants.d.ts +4 -1
- package/dist/utils/regex-guard.d.ts +1 -1
- package/dist/utils/socket-path.d.ts +1 -1
- package/dist/utils/token-estimate.d.ts +6 -2
- package/dist/utils/wstack-paths.d.ts +2 -0
- package/dist/wiring/proxy-rewrite.d.ts +28 -0
- package/dist/wiring/proxy-rewrite.js +7 -1
- package/dist/worktree/index.js +2 -2
- package/instructions/agents/explore-companion.md +45 -18
- package/instructions/agents/memory-curator.md +34 -22
- package/instructions/coordination/director-preamble.md +12 -7
- package/instructions/coordination/subagent-baseline.md +26 -5
- package/instructions/leader-after-task.md +4 -1
- package/instructions/llm/chimera-review.md +30 -9
- package/instructions/llm/memory-curator.md +31 -0
- package/instructions/sections/tool/delegation-compact.md +2 -0
- package/instructions/sections/tool/delegation-full.md +5 -1
- package/instructions/sections/tool/mailbox-compact.md +5 -1
- package/instructions/sections/tool/mailbox-full.md +3 -0
- package/instructions/sections/tool/session-note-compact.md +3 -0
- package/instructions/sections/tool/session-note-full.md +15 -0
- package/instructions/system-lite.md +9 -4
- package/instructions/system-pro.md +66 -143
- package/instructions/system.md +73 -175
- package/package.json +32 -4
- package/dist/chunk-2BUUIMQB.js +0 -225
- package/dist/chunk-FAYRX2AD.js +0 -13
- package/dist/chunk-H5E77KUJ.js +0 -15
- package/dist/chunk-M7BS2K6U.js +0 -1
- package/dist/coordination/agents.d.ts +0 -8
- package/dist/coordination/transport.d.ts +0 -2
- package/dist/storage/session-writer/session-writer-summary-tracker.d.ts +0 -28
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// src/plugins/review-report-types.ts
|
|
2
|
+
var ReportNotFoundError = class extends Error {
|
|
3
|
+
reportId;
|
|
4
|
+
constructor(reportId) {
|
|
5
|
+
super(`Review report not found: ${reportId}`);
|
|
6
|
+
this.name = "ReportNotFoundError";
|
|
7
|
+
this.reportId = reportId;
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var InvalidReportTransitionError = class extends Error {
|
|
11
|
+
from;
|
|
12
|
+
to;
|
|
13
|
+
constructor(from, to, reason) {
|
|
14
|
+
const msg = reason ?? `Invalid report transition from "${from}" to "${to}"`;
|
|
15
|
+
super(msg);
|
|
16
|
+
this.name = "InvalidReportTransitionError";
|
|
17
|
+
this.from = from;
|
|
18
|
+
this.to = to;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var REPORT_TRANSITION_MATRIX = {
|
|
22
|
+
open: /* @__PURE__ */ new Set(["actioned", "completed", "skipped"]),
|
|
23
|
+
actioned: /* @__PURE__ */ new Set(["completed", "skipped"]),
|
|
24
|
+
completed: /* @__PURE__ */ new Set(["open"]),
|
|
25
|
+
skipped: /* @__PURE__ */ new Set(["open"])
|
|
26
|
+
};
|
|
27
|
+
function validateReportTransition(from, to) {
|
|
28
|
+
if (from === to) return;
|
|
29
|
+
const allowed = REPORT_TRANSITION_MATRIX[from];
|
|
30
|
+
if (!allowed?.has(to)) {
|
|
31
|
+
throw new InvalidReportTransitionError(from, to);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function reportEventTypeFor(to) {
|
|
35
|
+
switch (to) {
|
|
36
|
+
case "actioned":
|
|
37
|
+
return "actioned";
|
|
38
|
+
case "completed":
|
|
39
|
+
return "completed";
|
|
40
|
+
case "skipped":
|
|
41
|
+
return "skipped";
|
|
42
|
+
default:
|
|
43
|
+
return "reopened";
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
ReportNotFoundError,
|
|
49
|
+
InvalidReportTransitionError,
|
|
50
|
+
validateReportTransition,
|
|
51
|
+
reportEventTypeFor
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=chunk-WP7BVANJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DefaultPromptStore,
|
|
3
3
|
migratePromptEntry
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PGRVXIMY.js";
|
|
5
5
|
import {
|
|
6
6
|
PROMPT_CATEGORY_LABELS,
|
|
7
7
|
isBuiltinCategory
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
DefaultPromptLoader,
|
|
229
229
|
renderPrompt
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=chunk-
|
|
231
|
+
//# sourceMappingURL=chunk-XF4VUMKW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DefaultSecretScrubber
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSTSJOCK.js";
|
|
4
4
|
|
|
5
5
|
// src/security/error-sanitize.ts
|
|
6
6
|
import { homedir } from "node:os";
|
|
@@ -71,4 +71,4 @@ export {
|
|
|
71
71
|
scrubErrorDetail,
|
|
72
72
|
scrubErrorText
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=chunk-
|
|
74
|
+
//# sourceMappingURL=chunk-Y5YXDM7D.js.map
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createHqPublisherFromEnv
|
|
3
|
-
} from "./chunk-ZYU2YOJ6.js";
|
|
4
1
|
import {
|
|
5
2
|
recordPromptJournalEntry
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RFQMOKWK.js";
|
|
7
4
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
5
|
+
createHqPublisherFromEnv
|
|
6
|
+
} from "./chunk-NIOAGFPB.js";
|
|
10
7
|
import {
|
|
11
8
|
ExtensionRegistry
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MTL4O5YR.js";
|
|
10
|
+
import {
|
|
11
|
+
JsonlReportStore
|
|
12
|
+
} from "./chunk-HXKZ7OBQ.js";
|
|
13
13
|
import {
|
|
14
14
|
getSharedProjectMailbox,
|
|
15
15
|
mailboxSessionTag,
|
|
16
|
-
resolveMailboxIdentity
|
|
17
|
-
|
|
16
|
+
resolveMailboxIdentity,
|
|
17
|
+
sessionNoteHub
|
|
18
|
+
} from "./chunk-JO4MGB6Z.js";
|
|
18
19
|
import {
|
|
19
20
|
MAILBOX_AWARENESS_INTERVAL_MS,
|
|
20
21
|
MAILBOX_HEARTBEAT_INTERVAL_MS,
|
|
21
22
|
PULSE_MIN_READ_INTERVAL_MS,
|
|
22
23
|
resolveProjectDir
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IRUTEHCE.js";
|
|
24
25
|
import {
|
|
25
26
|
MAILBOX_TYPE_PROPERTIES,
|
|
26
|
-
acceptMailboxMessageForSession
|
|
27
|
-
|
|
27
|
+
acceptMailboxMessageForSession,
|
|
28
|
+
isMailboxLeader
|
|
29
|
+
} from "./chunk-FWNLEZYG.js";
|
|
28
30
|
import {
|
|
29
31
|
buildBtwBlock,
|
|
30
32
|
consumeBtwNotes,
|
|
@@ -32,15 +34,7 @@ import {
|
|
|
32
34
|
} from "./chunk-SQJVFEBV.js";
|
|
33
35
|
import {
|
|
34
36
|
runProviderWithRetry
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import {
|
|
37
|
-
Pipeline,
|
|
38
|
-
RunController,
|
|
39
|
-
TOKENS
|
|
40
|
-
} from "./chunk-Y2GE5TSI.js";
|
|
41
|
-
import {
|
|
42
|
-
effectiveInputTokens
|
|
43
|
-
} from "./chunk-NFAYHPRH.js";
|
|
37
|
+
} from "./chunk-U45AXT5D.js";
|
|
44
38
|
import {
|
|
45
39
|
clearPendingNextSteps,
|
|
46
40
|
consumeAutonomousContinue,
|
|
@@ -50,28 +44,37 @@ import {
|
|
|
50
44
|
hasOpenTodos,
|
|
51
45
|
sizeSignals,
|
|
52
46
|
truncateForEvent
|
|
53
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-M27LIEKV.js";
|
|
54
48
|
import {
|
|
55
49
|
isRuntimeContextInput,
|
|
56
50
|
providerBoundToRequest,
|
|
57
51
|
recordToolOutputEvidence,
|
|
58
52
|
recordUserIntentEvidence,
|
|
59
|
-
resolveEventSessionId
|
|
60
|
-
|
|
53
|
+
resolveEventSessionId,
|
|
54
|
+
resolveOwningSessionId
|
|
55
|
+
} from "./chunk-ZHZ2Y2DH.js";
|
|
61
56
|
import {
|
|
62
57
|
estimateMessageTokens,
|
|
63
58
|
estimateRequestTokens,
|
|
64
59
|
getCalibrationState,
|
|
65
60
|
realAnchoredInputTokens,
|
|
66
61
|
recordActualUsage
|
|
67
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HMLIGAU7.js";
|
|
68
63
|
import {
|
|
69
64
|
capSageLines,
|
|
70
65
|
splitSageOutputBlock
|
|
71
66
|
} from "./chunk-SVT4RNTR.js";
|
|
72
67
|
import {
|
|
73
68
|
wstackGlobalRoot
|
|
74
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-SAFHACFA.js";
|
|
70
|
+
import {
|
|
71
|
+
Pipeline,
|
|
72
|
+
RunController,
|
|
73
|
+
TOKENS
|
|
74
|
+
} from "./chunk-NS52ISWS.js";
|
|
75
|
+
import {
|
|
76
|
+
effectiveInputTokens
|
|
77
|
+
} from "./chunk-3ECENVHL.js";
|
|
75
78
|
import {
|
|
76
79
|
isTextBlock,
|
|
77
80
|
isToolUseBlock
|
|
@@ -79,7 +82,7 @@ import {
|
|
|
79
82
|
import {
|
|
80
83
|
AgentError,
|
|
81
84
|
toWrongStackError
|
|
82
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-25LSLC3G.js";
|
|
83
86
|
import {
|
|
84
87
|
toErrorMessage
|
|
85
88
|
} from "./chunk-TBRL2RCC.js";
|
|
@@ -398,15 +401,19 @@ function attachMailboxCheckerInner(a, source) {
|
|
|
398
401
|
if (hqPublisher) {
|
|
399
402
|
a.ctx.registerAgentHook(() => hqPublisher.close());
|
|
400
403
|
}
|
|
401
|
-
const surface = source ??
|
|
404
|
+
const surface = source ?? a.ctx.meta["source"] ?? "cli";
|
|
402
405
|
if (!a.ctx.meta["source"]) a.ctx.meta["source"] = surface;
|
|
403
406
|
const baseIdOf = () => {
|
|
404
407
|
const fieldId = a.ctx.agentId && a.ctx.agentId !== "unknown" ? a.ctx.agentId : void 0;
|
|
405
408
|
return a.ctx.meta["agentId"] ?? fieldId ?? "leader";
|
|
406
409
|
};
|
|
410
|
+
const identitySessionId = () => {
|
|
411
|
+
const owning = a.ctx.meta["sessionId"];
|
|
412
|
+
return typeof owning === "string" && owning.length > 0 ? owning : a.ctx.session.id;
|
|
413
|
+
};
|
|
407
414
|
let registeredAs = "";
|
|
408
415
|
const ensureRegistered = () => {
|
|
409
|
-
const derived = `${baseIdOf()}@${mailboxSessionTag(
|
|
416
|
+
const derived = `${baseIdOf()}@${mailboxSessionTag(identitySessionId())}`;
|
|
410
417
|
if (a.ctx.meta["globalAgentId"] !== derived) {
|
|
411
418
|
a.ctx.meta["globalAgentId"] = derived;
|
|
412
419
|
}
|
|
@@ -417,7 +424,7 @@ function attachMailboxCheckerInner(a, source) {
|
|
|
417
424
|
agentId: derived,
|
|
418
425
|
name: `${identity.name} [${surface}]`,
|
|
419
426
|
role: identity.role,
|
|
420
|
-
sessionId:
|
|
427
|
+
sessionId: identitySessionId(),
|
|
421
428
|
pid: process.pid,
|
|
422
429
|
source: surface
|
|
423
430
|
}).catch((err) => {
|
|
@@ -433,7 +440,15 @@ function attachMailboxCheckerInner(a, source) {
|
|
|
433
440
|
const HEARTBEAT_INTERVAL_MS = MAILBOX_HEARTBEAT_INTERVAL_MS;
|
|
434
441
|
const heartbeatTimer = setInterval(() => {
|
|
435
442
|
const id = ensureRegistered();
|
|
436
|
-
|
|
443
|
+
const identity = resolveMailboxIdentity(a.ctx);
|
|
444
|
+
getMailbox().heartbeat({
|
|
445
|
+
agentId: id,
|
|
446
|
+
sessionId: identitySessionId(),
|
|
447
|
+
name: `${identity.name} [${surface}]`,
|
|
448
|
+
role: identity.role,
|
|
449
|
+
pid: process.pid,
|
|
450
|
+
source: surface
|
|
451
|
+
}).catch(() => {
|
|
437
452
|
});
|
|
438
453
|
}, HEARTBEAT_INTERVAL_MS);
|
|
439
454
|
heartbeatTimer.unref?.();
|
|
@@ -445,7 +460,7 @@ function attachMailboxCheckerInner(a, source) {
|
|
|
445
460
|
agentId: () => ensureRegistered(),
|
|
446
461
|
role: () => resolveMailboxIdentity(a.ctx).role,
|
|
447
462
|
aliases: [baseIdOf()],
|
|
448
|
-
sessionId: () =>
|
|
463
|
+
sessionId: () => identitySessionId(),
|
|
449
464
|
// ACK is deferred to the session-affinity wrapper so messages dropped
|
|
450
465
|
// by the filter are NOT marked as read by this agent.
|
|
451
466
|
ack: false
|
|
@@ -459,7 +474,7 @@ function attachMailboxCheckerInner(a, source) {
|
|
|
459
474
|
};
|
|
460
475
|
const applySessionAffinityFilter = (checker, ack) => {
|
|
461
476
|
return async () => {
|
|
462
|
-
const currentSessionId =
|
|
477
|
+
const currentSessionId = identitySessionId();
|
|
463
478
|
const agentId = ack ? ensureRegistered() : null;
|
|
464
479
|
const messages = await checker();
|
|
465
480
|
const filtered = [];
|
|
@@ -491,7 +506,10 @@ function attachMailboxCheckerInner(a, source) {
|
|
|
491
506
|
include: (m) => !MAILBOX_TYPE_PROPERTIES[m.type]?.outOfBand,
|
|
492
507
|
ack: false
|
|
493
508
|
});
|
|
494
|
-
const sessionScopedCheckMailboxAwareness = applySessionAffinityFilter(
|
|
509
|
+
const sessionScopedCheckMailboxAwareness = applySessionAffinityFilter(
|
|
510
|
+
checkMailboxAwareness,
|
|
511
|
+
false
|
|
512
|
+
);
|
|
495
513
|
const AWARENESS_FALLBACK_INTERVAL_MS = MAILBOX_AWARENESS_INTERVAL_MS;
|
|
496
514
|
const AWARENESS_PUSH_DEBOUNCE_MS = 500;
|
|
497
515
|
let pollInFlight = false;
|
|
@@ -571,12 +589,91 @@ function attachFleetPulse(a, cfg) {
|
|
|
571
589
|
}
|
|
572
590
|
}
|
|
573
591
|
|
|
592
|
+
// src/core/session-notes.ts
|
|
593
|
+
var META_KEY = "_sessionNotes";
|
|
594
|
+
var MAX_PENDING = 20;
|
|
595
|
+
var MAX_BODY = 2e3;
|
|
596
|
+
function readQueue(ctx) {
|
|
597
|
+
const raw = ctx.meta[META_KEY];
|
|
598
|
+
return Array.isArray(raw) ? raw : [];
|
|
599
|
+
}
|
|
600
|
+
function clipBody(body) {
|
|
601
|
+
const trimmed = body.trim();
|
|
602
|
+
if (trimmed.length <= MAX_BODY) return trimmed;
|
|
603
|
+
return `${trimmed.slice(0, MAX_BODY)}\u2026`;
|
|
604
|
+
}
|
|
605
|
+
function enqueueSessionNote(ctx, note) {
|
|
606
|
+
const body = clipBody(note.body);
|
|
607
|
+
if (!body) return readQueue(ctx).length;
|
|
608
|
+
const next = [
|
|
609
|
+
...readQueue(ctx),
|
|
610
|
+
{
|
|
611
|
+
from: note.from.trim() || "unknown",
|
|
612
|
+
kind: note.kind,
|
|
613
|
+
body,
|
|
614
|
+
...note.subject?.trim() ? { subject: note.subject.trim() } : {}
|
|
615
|
+
}
|
|
616
|
+
].slice(-MAX_PENDING);
|
|
617
|
+
ctx.meta[META_KEY] = next;
|
|
618
|
+
return next.length;
|
|
619
|
+
}
|
|
620
|
+
function pendingSessionNoteCount(ctx) {
|
|
621
|
+
return readQueue(ctx).length;
|
|
622
|
+
}
|
|
623
|
+
function consumeSessionNotes(ctx) {
|
|
624
|
+
const notes = readQueue(ctx);
|
|
625
|
+
if (notes.length > 0) delete ctx.meta[META_KEY];
|
|
626
|
+
return notes;
|
|
627
|
+
}
|
|
628
|
+
function buildSessionNoteBlock(notes) {
|
|
629
|
+
const items = notes.map((n) => {
|
|
630
|
+
const header = n.subject ? `[SESSION ${n.kind.toUpperCase()} from ${n.from} \u2014 ${n.subject}]` : `[SESSION ${n.kind.toUpperCase()} from ${n.from}]`;
|
|
631
|
+
return `${header}
|
|
632
|
+
${n.body}`;
|
|
633
|
+
});
|
|
634
|
+
return [
|
|
635
|
+
"[Same-session notes \u2014 in-process, not mailbox. Fold into the current task;",
|
|
636
|
+
"do not restart unless a steer contradicts the goal.]",
|
|
637
|
+
"",
|
|
638
|
+
...items
|
|
639
|
+
].join("\n");
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
// src/session-note-attach.ts
|
|
643
|
+
function attachSessionNotes(a) {
|
|
644
|
+
const agentId = typeof a.ctx.agentId === "string" && a.ctx.agentId ? a.ctx.agentId : "unknown";
|
|
645
|
+
const aliases = [];
|
|
646
|
+
if (agentId === "leader" || isMailboxLeader(agentId)) aliases.push("leader");
|
|
647
|
+
const off = sessionNoteHub.register({
|
|
648
|
+
sessionId: () => {
|
|
649
|
+
try {
|
|
650
|
+
return resolveOwningSessionId(a.ctx);
|
|
651
|
+
} catch {
|
|
652
|
+
return void 0;
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
agentId,
|
|
656
|
+
aliases,
|
|
657
|
+
deliver: (note) => {
|
|
658
|
+
enqueueSessionNote(a.ctx, note);
|
|
659
|
+
},
|
|
660
|
+
events: a.events
|
|
661
|
+
});
|
|
662
|
+
if (typeof a.ctx.registerAgentHook !== "function") {
|
|
663
|
+
off();
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
a.ctx.registerAgentHook(() => {
|
|
667
|
+
off();
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
|
|
574
671
|
// src/core/queued-messages.ts
|
|
575
|
-
var
|
|
672
|
+
var META_KEY2 = "_queuedMessagesAwareness";
|
|
576
673
|
var MAX_ITEMS = 20;
|
|
577
674
|
var MAX_PREVIEW_CHARS = 500;
|
|
578
675
|
function read(ctx) {
|
|
579
|
-
const raw = ctx.meta[
|
|
676
|
+
const raw = ctx.meta[META_KEY2];
|
|
580
677
|
if (!raw || typeof raw !== "object") return void 0;
|
|
581
678
|
const s = raw;
|
|
582
679
|
return Array.isArray(s.items) && Array.isArray(s.seen) ? s : void 0;
|
|
@@ -593,10 +690,10 @@ function setQueuedMessagesSnapshot(ctx, texts) {
|
|
|
593
690
|
const items = texts.map(toPreview).filter((t) => t.length > 0).slice(0, MAX_ITEMS);
|
|
594
691
|
const prev = read(ctx);
|
|
595
692
|
if (items.length === 0 && (!prev || prev.seen.length === 0)) {
|
|
596
|
-
if (prev) delete ctx.meta[
|
|
693
|
+
if (prev) delete ctx.meta[META_KEY2];
|
|
597
694
|
return;
|
|
598
695
|
}
|
|
599
|
-
ctx.meta[
|
|
696
|
+
ctx.meta[META_KEY2] = { items, seen: prev?.seen ?? [] };
|
|
600
697
|
}
|
|
601
698
|
function peekQueuedMessages(ctx) {
|
|
602
699
|
return read(ctx)?.items ?? [];
|
|
@@ -606,10 +703,10 @@ function consumeQueuedMessagesUpdate(ctx) {
|
|
|
606
703
|
if (!s) return null;
|
|
607
704
|
if (sameList(s.items, s.seen)) return null;
|
|
608
705
|
if (s.items.length === 0) {
|
|
609
|
-
delete ctx.meta[
|
|
706
|
+
delete ctx.meta[META_KEY2];
|
|
610
707
|
return null;
|
|
611
708
|
}
|
|
612
|
-
ctx.meta[
|
|
709
|
+
ctx.meta[META_KEY2] = { items: s.items, seen: s.items };
|
|
613
710
|
return s.items;
|
|
614
711
|
}
|
|
615
712
|
function buildQueuedMessagesBlock(items) {
|
|
@@ -1163,6 +1260,7 @@ function signalAbortReason(signal) {
|
|
|
1163
1260
|
}
|
|
1164
1261
|
function createAgentLoopHandler(a, handlers) {
|
|
1165
1262
|
const checkMailbox = attachMailboxChecker(a);
|
|
1263
|
+
attachSessionNotes(a);
|
|
1166
1264
|
const fleetPulseCfg = (() => {
|
|
1167
1265
|
try {
|
|
1168
1266
|
return typeof a.container?.has === "function" && a.container.has(TOKENS.ConfigStore) ? a.container.resolve(TOKENS.ConfigStore).get().fleet?.pulse : void 0;
|
|
@@ -1193,6 +1291,11 @@ function createAgentLoopHandler(a, handlers) {
|
|
|
1193
1291
|
onMailboxBlock?.(block);
|
|
1194
1292
|
}
|
|
1195
1293
|
}
|
|
1294
|
+
function injectPendingSessionNotes() {
|
|
1295
|
+
const notes = consumeSessionNotes(a.ctx);
|
|
1296
|
+
if (notes.length === 0) return;
|
|
1297
|
+
foldBlockIntoConversation({ type: "text", text: buildSessionNoteBlock(notes) });
|
|
1298
|
+
}
|
|
1196
1299
|
function injectQueueAwareness() {
|
|
1197
1300
|
const items = consumeQueuedMessagesUpdate(a.ctx);
|
|
1198
1301
|
if (!items) return;
|
|
@@ -1334,6 +1437,7 @@ ${text}` : text;
|
|
|
1334
1437
|
index: i
|
|
1335
1438
|
});
|
|
1336
1439
|
injectPendingBtwNotes((block) => pendingMailboxBlocks.push(block));
|
|
1440
|
+
injectPendingSessionNotes();
|
|
1337
1441
|
injectQueueAwareness();
|
|
1338
1442
|
if (pendingLoopSteer) {
|
|
1339
1443
|
foldBlockIntoConversation({ type: "text", text: pendingLoopSteer });
|
|
@@ -1832,7 +1936,7 @@ function createAgentToolHandler(a) {
|
|
|
1832
1936
|
);
|
|
1833
1937
|
}
|
|
1834
1938
|
if (sessionEvents.length > 0) {
|
|
1835
|
-
await a.ctx.session.appendBatch(sessionEvents);
|
|
1939
|
+
await (a.ctx.activeRunSessionWriter ?? a.ctx.session).appendBatch(sessionEvents);
|
|
1836
1940
|
}
|
|
1837
1941
|
const pendingContext = a.ctx.pendingPostToolContext;
|
|
1838
1942
|
a.ctx.pendingPostToolContext = void 0;
|
|
@@ -1843,7 +1947,7 @@ function createAgentToolHandler(a) {
|
|
|
1843
1947
|
}
|
|
1844
1948
|
try {
|
|
1845
1949
|
await a.ctx.flushConversationJournal();
|
|
1846
|
-
await a.ctx.session.flush();
|
|
1950
|
+
await (a.ctx.activeRunSessionWriter ?? a.ctx.session).flush();
|
|
1847
1951
|
} catch (err) {
|
|
1848
1952
|
(a.logger.debug ?? a.logger.warn)?.(
|
|
1849
1953
|
`tool result boundary flush failed: ${toErrorMessage(err)}`
|
|
@@ -2037,6 +2141,8 @@ var Agent = class _Agent {
|
|
|
2037
2141
|
const builder = this.container.safeResolve(TOKENS.SystemPromptBuilder);
|
|
2038
2142
|
if (builder) {
|
|
2039
2143
|
const onlineAgents = Array.isArray(this.ctx.meta["promptOnlineAgents"]) ? this.ctx.meta["promptOnlineAgents"] : void 0;
|
|
2144
|
+
const systemVariant = this.ctx.meta["systemPromptVariant"];
|
|
2145
|
+
const autonomy = this.ctx.meta["autonomy"];
|
|
2040
2146
|
this.ctx.systemPrompt = await builder.build({
|
|
2041
2147
|
cwd: this.ctx.cwd,
|
|
2042
2148
|
projectRoot: this.ctx.projectRoot,
|
|
@@ -2044,7 +2150,9 @@ var Agent = class _Agent {
|
|
|
2044
2150
|
catalogTools: this.ctx.catalogTools,
|
|
2045
2151
|
provider: this.ctx.provider.id,
|
|
2046
2152
|
model: opts.model ?? this.ctx.model,
|
|
2047
|
-
onlineAgents
|
|
2153
|
+
onlineAgents,
|
|
2154
|
+
...systemVariant === "lite" || systemVariant === "pro" || systemVariant === "default" ? { systemVariant } : {},
|
|
2155
|
+
...typeof autonomy === "string" ? { autonomy } : {}
|
|
2048
2156
|
});
|
|
2049
2157
|
}
|
|
2050
2158
|
}
|
|
@@ -2182,6 +2290,11 @@ var CONTINUE_PHRASES = /* @__PURE__ */ new Set([
|
|
|
2182
2290
|
"devam etsen",
|
|
2183
2291
|
"devam et hadi",
|
|
2184
2292
|
"hadi devam",
|
|
2293
|
+
"bir tur daha",
|
|
2294
|
+
"bir tur daha at",
|
|
2295
|
+
"bir tur daha bakalim",
|
|
2296
|
+
"bir tur daha atalim",
|
|
2297
|
+
"bir tur daha at bakalim",
|
|
2185
2298
|
// ── Other Latin-script (light coverage) ──
|
|
2186
2299
|
"weiter",
|
|
2187
2300
|
// de
|
|
@@ -2456,6 +2569,11 @@ export {
|
|
|
2456
2569
|
buildMailboxBlock,
|
|
2457
2570
|
injectPendingMailboxMessages,
|
|
2458
2571
|
attachMailboxChecker,
|
|
2572
|
+
enqueueSessionNote,
|
|
2573
|
+
pendingSessionNoteCount,
|
|
2574
|
+
consumeSessionNotes,
|
|
2575
|
+
buildSessionNoteBlock,
|
|
2576
|
+
attachSessionNotes,
|
|
2459
2577
|
setQueuedMessagesSnapshot,
|
|
2460
2578
|
peekQueuedMessages,
|
|
2461
2579
|
consumeQueuedMessagesUpdate,
|
|
@@ -2467,4 +2585,4 @@ export {
|
|
|
2467
2585
|
resolveContinuation,
|
|
2468
2586
|
InputBuilder
|
|
2469
2587
|
};
|
|
2470
|
-
//# sourceMappingURL=chunk-
|
|
2588
|
+
//# sourceMappingURL=chunk-YOPAUVU4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FORBIDDEN_PROTO_KEYS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B7F4WVP4.js";
|
|
4
4
|
import {
|
|
5
5
|
atomicWrite
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OSGLYW5J.js";
|
|
7
7
|
|
|
8
8
|
// src/utils/config-json.ts
|
|
9
9
|
import * as fs from "node:fs/promises";
|
|
@@ -359,4 +359,4 @@ export {
|
|
|
359
359
|
mcpServerToolPrefix,
|
|
360
360
|
mcpQualifiedToolName
|
|
361
361
|
};
|
|
362
|
-
//# sourceMappingURL=chunk-
|
|
362
|
+
//# sourceMappingURL=chunk-YPT4A46F.js.map
|