@askexenow/exe-os 0.9.148 → 0.9.153
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/{active-agent-NCZCDDZ2.js → active-agent-HDUT3T3I.js} +2 -2
- package/dist/{active-agent-KMQCNXXD.js → active-agent-XHERKXH6.js} +2 -2
- package/dist/{agentic-ontology-SQR74CO7.js → agentic-ontology-GMK3MB3U.js} +1 -1
- package/dist/{backfill-metadata-KMDWLDXU.js → backfill-metadata-PPI5QFYW.js} +3 -3
- package/dist/{behaviors-4U2N5L4E.js → behaviors-JG75DNG3.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +8 -7
- package/dist/bin/cleanup-stale-review-tasks.js +5 -5
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +13 -13
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +5 -5
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +5 -5
- package/dist/bin/exe-kill.js +28 -6
- package/dist/bin/exe-launch-agent.js +10 -10
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +6 -6
- package/dist/bin/exe-pending-notifications.js +5 -5
- package/dist/bin/exe-pending-reviews.js +5 -5
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +7 -7
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +15 -14
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +6 -6
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +5 -5
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +5 -5
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +3 -3
- package/dist/bin/stack-update.js +21 -0
- package/dist/{capacity-monitor-Q5M5SVRC.js → capacity-monitor-5IVGAQ34.js} +6 -6
- package/dist/{catchup-brief-IPNSW7RQ.js → catchup-brief-HFJR32Q3.js} +7 -7
- package/dist/{chunk-Y6TS42WD.js → chunk-25NSQUZ3.js} +6 -6
- package/dist/{chunk-2BPO7VQF.js → chunk-3ZU7RTMF.js} +35 -9
- package/dist/{chunk-MKUVEDUE.js → chunk-4IEQIUBZ.js} +2 -2
- package/dist/{chunk-ONMRBKAX.js → chunk-4PDXCEXT.js} +37 -42
- package/dist/{chunk-J4RAXKTC.js → chunk-4RKL53PD.js} +5 -4
- package/dist/{chunk-AERGE6GC.js → chunk-5NSTNICM.js} +1 -1
- package/dist/{chunk-FNMNKYVH.js → chunk-5U5MI4VH.js} +56 -56
- package/dist/{chunk-TOXHEZN5.js → chunk-7WEVNBV2.js} +2 -2
- package/dist/{chunk-UPL5FEZY.js → chunk-AFMQR776.js} +1 -1
- package/dist/{chunk-XK7VZFCC.js → chunk-AMVDQ7HH.js} +12 -8
- package/dist/{chunk-AGFWOII2.js → chunk-BPBUSSYF.js} +196 -9
- package/dist/{chunk-MBA4NNTS.js → chunk-BR5UVRA2.js} +1 -1
- package/dist/{chunk-4GLEFA2X.js → chunk-BV2JVO2U.js} +1 -1
- package/dist/{chunk-LL5EY6OQ.js → chunk-CBLNQNWT.js} +1 -1
- package/dist/{chunk-VYVESELG.js → chunk-CF4DZKKE.js} +2 -2
- package/dist/{chunk-PMWDO5FR.js → chunk-CO2SF5SB.js} +1 -1
- package/dist/{chunk-ARGBV4PP.js → chunk-EOU4ZLRZ.js} +1 -1
- package/dist/{chunk-CGQ5PWS3.js → chunk-EYQ3DHHI.js} +4 -4
- package/dist/{chunk-JH7Z2AZ7.js → chunk-GJMHN45Z.js} +1 -1
- package/dist/{chunk-X2XE65WV.js → chunk-H5STRY47.js} +9 -4
- package/dist/chunk-HZNQYDAN.js +94 -0
- package/dist/{chunk-DBXKWFTK.js → chunk-IWGGTD5D.js} +3 -3
- package/dist/{chunk-JF3Q5YKI.js → chunk-JJA6F6NA.js} +2 -2
- package/dist/{chunk-NJKERRSG.js → chunk-JUM3EUB2.js} +2 -2
- package/dist/{chunk-ZMJHXDZR.js → chunk-L5WTOR3T.js} +3 -3
- package/dist/{chunk-YPSN64BU.js → chunk-LIJC4CRF.js} +1 -1
- package/dist/{chunk-DTLASDQM.js → chunk-LM7TQYLW.js} +1 -1
- package/dist/{chunk-B4HAUSVQ.js → chunk-M37FGM3X.js} +2 -2
- package/dist/{chunk-TH6HTK2L.js → chunk-MBYJEE3B.js} +5 -1
- package/dist/{chunk-YOG7TWMO.js → chunk-MNIJA5BL.js} +1 -1
- package/dist/{chunk-XWQKCCCO.js → chunk-MWRHXGAB.js} +7 -0
- package/dist/{chunk-FG4Z2XFU.js → chunk-OEPEY47B.js} +1 -1
- package/dist/{chunk-ZUAXTH6Z.js → chunk-OQYZQR24.js} +2 -2
- package/dist/{chunk-3MLGUSKS.js → chunk-PC6Y4ATU.js} +1 -1
- package/dist/{chunk-4EINMZNO.js → chunk-PMCXWAVQ.js} +2 -2
- package/dist/{chunk-2OATM2JZ.js → chunk-Q7GVSS2J.js} +1 -1
- package/dist/{chunk-LJML7HT2.js → chunk-RAMU6E5T.js} +1 -1
- package/dist/{chunk-26UVGP3I.js → chunk-SFV2XRPY.js} +1 -1
- package/dist/{chunk-EHNSK2Y4.js → chunk-SGLVCPZP.js} +2 -2
- package/dist/{chunk-QB66MH2V.js → chunk-SJKOILTX.js} +1 -1
- package/dist/{chunk-NFHFNPTN.js → chunk-UHL4QL5E.js} +1 -1
- package/dist/{chunk-IFACD7E6.js → chunk-UPAEAL6K.js} +3 -3
- package/dist/{chunk-HHMHL4FB.js → chunk-UQE5R5PM.js} +2 -2
- package/dist/{chunk-3FIWKONP.js → chunk-VJW3E5KW.js} +14 -14
- package/dist/{chunk-MKPSMRVX.js → chunk-WLSSSDAR.js} +1 -1
- package/dist/{chunk-LC53LVOT.js → chunk-WPNWFI4A.js} +2 -2
- package/dist/{chunk-VK2AWQ6D.js → chunk-WZMS6X56.js} +2 -2
- package/dist/{chunk-VNTDQUOG.js → chunk-XQC5BNCJ.js} +17 -12
- package/dist/{chunk-UPMKSFBU.js → chunk-YOH3ABTS.js} +2 -2
- package/dist/{chunk-ZZLTJXKR.js → chunk-ZGKU4PMY.js} +2 -2
- package/dist/{crdt-sync-XMC6LT2Q.js → crdt-sync-3VQP2ISB.js} +1 -1
- package/dist/{crm-webhook-QMHD5YYQ.js → crm-webhook-SOUYMO3X.js} +2 -2
- package/dist/{cto-delegation-gate-BTZWAA4E.js → cto-delegation-gate-UGCMXYAO.js} +4 -4
- package/dist/{daemon-orchestration-HFODCB52.js → daemon-orchestration-MD34RKQZ.js} +7 -7
- package/dist/{exe-drift-SED6KQTZ.js → exe-drift-L5ZHO3CZ.js} +2 -2
- package/dist/{exe-export-ADSWDE5U.js → exe-export-UDQU7MMM.js} +5 -5
- package/dist/{exe-import-WFLNGJZP.js → exe-import-OY42LQL4.js} +5 -5
- package/dist/{exe-key-4L32R46F.js → exe-key-FC67RNXI.js} +1 -1
- package/dist/{fast-db-init-HVAVS35N.js → fast-db-init-TLOT2K43.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-BY4ZK6MW.js → git-staleness-MSTOMG55.js} +1 -1
- package/dist/{git-task-sweep-RSRASAHB.js → git-task-sweep-D4IKRGCV.js} +5 -5
- package/dist/{global-procedures-EKYSVONR.js → global-procedures-ISPSC4B5.js} +3 -3
- package/dist/{graph-auto-extract-HWZ5GVXZ.js → graph-auto-extract-D4I7DF2S.js} +1 -1
- package/dist/{hook-integrity-PR4BPZBT.js → hook-integrity-SA7S2SNI.js} +1 -1
- package/dist/hooks/bug-report-worker.js +6 -6
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- package/dist/hooks/commit-complete.js +7 -7
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +9 -9
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +6 -6
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +7 -7
- package/dist/hooks/pre-tool-use.js +19 -10
- package/dist/hooks/prompt-submit.js +109 -45
- package/dist/hooks/session-end.js +11 -11
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +10 -10
- package/dist/hooks/subagent-stop.js +6 -6
- package/dist/hooks/summary-worker.js +10 -10
- package/dist/index.js +12 -12
- package/dist/{installer-X5FEYJIA.js → installer-3YHQ5DJZ.js} +4 -4
- package/dist/{installer-RLKOACKG.js → installer-4YIOBAFV.js} +4 -4
- package/dist/{installer-W4NY3OBF.js → installer-SPQDAGPW.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +61 -44
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +5 -5
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +5 -5
- package/dist/lib/tmux-routing.js +4 -4
- package/dist/lib/token-spend.js +2 -2
- package/dist/mcp/register-tools.js +42 -42
- package/dist/mcp/server.js +43 -43
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +7 -7
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +7 -7
- package/dist/mcp/tools/send-message.js +7 -7
- package/dist/mcp/tools/update-task.js +6 -6
- package/dist/{mcp-http-config-6YLW4PFG.js → mcp-http-config-JBNX3DAR.js} +2 -2
- package/dist/{memory-cards-UAQCO4QR.js → memory-cards-SYVGSLXW.js} +1 -1
- package/dist/{memory-poisoning-defense-VWITZ4WO.js → memory-poisoning-defense-T7AC4LZN.js} +1 -1
- package/dist/{memory-reflection-JQC4ZSUD.js → memory-reflection-FNJU7VFC.js} +1 -1
- package/dist/{notifications-YDOKTVCH.js → notifications-76XXO4Q7.js} +4 -4
- package/dist/{orchestrator-BZ2D6ZM6.js → orchestrator-XAT2JSBT.js} +6 -6
- package/dist/{plan-limits-KUTODKG6.js → plan-limits-IAUNTZUW.js} +2 -2
- package/dist/{projection-worker-UY7R2EQJ.js → projection-worker-S6LYSY22.js} +1 -1
- package/dist/{push-notifications-KDYFOJRI.js → push-notifications-NSYLKFXR.js} +1 -1
- package/dist/{review-polling-DORNZ2KI.js → review-polling-E24XBNSI.js} +5 -5
- package/dist/runtime/index.js +7 -7
- package/dist/{session-events-5WR5RVDK.js → session-events-CCXFQRFW.js} +5 -5
- package/dist/{session-kill-telemetry-DHSQV2CI.js → session-kill-telemetry-TX5NCPUV.js} +2 -2
- package/dist/{session-scope-D4Q62ZOZ.js → session-scope-7QCZF3MJ.js} +4 -4
- package/dist/{setup-wizard-QVNTI3T4.js → setup-wizard-FA6YEYER.js} +1 -1
- package/dist/signal-paths-4GOIRLGH.js +19 -0
- package/dist/{task-enforcement-OYCQXBBC.js → task-enforcement-NITY7TBM.js} +4 -4
- package/dist/{task-scope-WWRNU2LU.js → task-scope-YZDSPORL.js} +4 -4
- package/dist/{tasks-crud-75AUVZPO.js → tasks-crud-W5BFKNUS.js} +4 -4
- package/dist/{tasks-review-UMZN5ZPQ.js → tasks-review-VXMELVLA.js} +4 -4
- package/dist/{token-budget-62TYDIMI.js → token-budget-LJC7HHKB.js} +1 -1
- package/dist/{tool-telemetry-JL6NY3KP.js → tool-telemetry-L3WQDRMH.js} +1 -1
- package/dist/tui/App.js +13 -13
- package/dist/{tui-data-C5I2YU4C.js → tui-data-FQYUPCYX.js} +4 -4
- package/dist/{worker-gate-Q5Y6B5N7.js → worker-gate-OZCNSASA.js} +1 -1
- package/dist/{workflow-engine-KAKVU7NC.js → workflow-engine-DA3AWD45.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +115 -115
- package/dist/chunk-QHQJ7DLL.js +0 -153
- /package/dist/{chunk-524VLFFY.js → chunk-BRXDLJBU.js} +0 -0
- /package/dist/{chunk-H6ADW3YC.js → chunk-OU7SLHNA.js} +0 -0
- /package/dist/{chunk-TSCZMB3P.js → chunk-PJCTBGWN.js} +0 -0
- /package/dist/{chunk-TKEDF7KV.js → chunk-U3B3TVLQ.js} +0 -0
- /package/dist/{chunk-7B5DQGXG.js → chunk-UIOTTKLS.js} +0 -0
- /package/dist/{chunk-A3A2E42I.js → chunk-VN6UUZNO.js} +0 -0
- /package/dist/{chunk-UJMDHPIN.js → chunk-YABPRFBT.js} +0 -0
- /package/dist/{chunk-ZBA74MMX.js → chunk-YH7VB655.js} +0 -0
- /package/dist/{core-memory-C3JLISAU.js → core-memory-ONZIJYGR.js} +0 -0
- /package/dist/{wiki-acl-5EC5VNYG.js → wiki-acl-UE3CRAPQ.js} +0 -0
package/dist/gateway/index.js
CHANGED
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-JUM3EUB2.js";
|
|
15
15
|
import {
|
|
16
16
|
IMessageAdapter
|
|
17
17
|
} from "../chunk-FLSASUV3.js";
|
|
18
18
|
import {
|
|
19
19
|
createCRMWebhookHandler,
|
|
20
20
|
parseTwentyWebhook
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-AFMQR776.js";
|
|
22
22
|
import {
|
|
23
23
|
WhatsAppAdapter
|
|
24
24
|
} from "../chunk-ECSNSHZ7.js";
|
|
@@ -56,8 +56,8 @@ import {
|
|
|
56
56
|
retryWithBackoff,
|
|
57
57
|
routeMessage,
|
|
58
58
|
validateGatewayConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-UQE5R5PM.js";
|
|
60
|
+
import "../chunk-CBLNQNWT.js";
|
|
61
61
|
import {
|
|
62
62
|
OllamaProvider
|
|
63
63
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
getDefaultAccount,
|
|
72
72
|
loadAccounts
|
|
73
73
|
} from "../chunk-YGAAZN3E.js";
|
|
74
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-YH7VB655.js";
|
|
75
75
|
import {
|
|
76
76
|
createPerson,
|
|
77
77
|
findPersonByContact,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
pushInboundMessageToCRM
|
|
83
83
|
} from "../chunk-GCNWCYJI.js";
|
|
84
84
|
import "../chunk-MP2AFCGL.js";
|
|
85
|
-
import "../chunk-
|
|
85
|
+
import "../chunk-MBYJEE3B.js";
|
|
86
86
|
import "../chunk-EOO32RJZ.js";
|
|
87
87
|
import "../chunk-FXU7JOXK.js";
|
|
88
88
|
import "../chunk-TOWAZ5IV.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getRecentCommits,
|
|
5
5
|
matchScore,
|
|
6
6
|
sweepTasks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-M37FGM3X.js";
|
|
8
|
+
import "./chunk-4PDXCEXT.js";
|
|
9
9
|
import "./chunk-LOQCOHEW.js";
|
|
10
10
|
import "./chunk-TXSJ2L5O.js";
|
|
11
11
|
import "./chunk-64WZEXXA.js";
|
|
@@ -15,14 +15,14 @@ import "./chunk-GZIAQYGI.js";
|
|
|
15
15
|
import "./chunk-ZQX6UOP6.js";
|
|
16
16
|
import "./chunk-KIUU4PNX.js";
|
|
17
17
|
import "./chunk-NGP6LSV2.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-5NSTNICM.js";
|
|
19
19
|
import "./chunk-OPU3NYOO.js";
|
|
20
20
|
import "./chunk-CVYC6DUW.js";
|
|
21
21
|
import "./chunk-GJV3WDWM.js";
|
|
22
22
|
import "./chunk-MP2AFCGL.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-LM7TQYLW.js";
|
|
24
24
|
import "./chunk-HYZV25LY.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-MBYJEE3B.js";
|
|
26
26
|
import "./chunk-EOO32RJZ.js";
|
|
27
27
|
import "./chunk-FXU7JOXK.js";
|
|
28
28
|
import "./chunk-NNT2ZNMC.js";
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
getGlobalProceduresBlock,
|
|
4
4
|
loadGlobalProcedures,
|
|
5
5
|
storeGlobalProcedure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YOH3ABTS.js";
|
|
7
|
+
import "./chunk-MWRHXGAB.js";
|
|
8
|
+
import "./chunk-MBYJEE3B.js";
|
|
9
9
|
import "./chunk-EOO32RJZ.js";
|
|
10
10
|
import "./chunk-FXU7JOXK.js";
|
|
11
11
|
import "./chunk-TOWAZ5IV.js";
|
|
@@ -67,7 +67,7 @@ async function verifyOrBlock(hookPath) {
|
|
|
67
67
|
process.stderr.write(`[SECURITY] Hook tamper detected: ${filename} \u2014 ${result.reason}
|
|
68
68
|
`);
|
|
69
69
|
try {
|
|
70
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
70
|
+
const { pushNotifyAsync } = await import("./push-notifications-NSYLKFXR.js");
|
|
71
71
|
pushNotifyAsync({
|
|
72
72
|
event: "security_alert",
|
|
73
73
|
title: "Hook tamper detected",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VJW3E5KW.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-UIOTTKLS.js";
|
|
7
|
+
import "../chunk-4PDXCEXT.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-TXSJ2L5O.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
@@ -14,16 +14,16 @@ import "../chunk-GZIAQYGI.js";
|
|
|
14
14
|
import "../chunk-ZQX6UOP6.js";
|
|
15
15
|
import "../chunk-KIUU4PNX.js";
|
|
16
16
|
import "../chunk-NGP6LSV2.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-5NSTNICM.js";
|
|
18
18
|
import "../chunk-OPU3NYOO.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-GJV3WDWM.js";
|
|
21
21
|
import "../chunk-MP2AFCGL.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-LM7TQYLW.js";
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
getClient
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-MBYJEE3B.js";
|
|
27
27
|
import "../chunk-EOO32RJZ.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
29
29
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VJW3E5KW.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-UIOTTKLS.js";
|
|
7
7
|
import {
|
|
8
8
|
listTasks
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-4PDXCEXT.js";
|
|
10
10
|
import "../chunk-LOQCOHEW.js";
|
|
11
11
|
import "../chunk-TXSJ2L5O.js";
|
|
12
12
|
import "../chunk-64WZEXXA.js";
|
|
@@ -16,16 +16,16 @@ import "../chunk-GZIAQYGI.js";
|
|
|
16
16
|
import "../chunk-ZQX6UOP6.js";
|
|
17
17
|
import "../chunk-KIUU4PNX.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-5NSTNICM.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-CVYC6DUW.js";
|
|
22
22
|
import "../chunk-GJV3WDWM.js";
|
|
23
23
|
import "../chunk-MP2AFCGL.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-LM7TQYLW.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
canCoordinate
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-MBYJEE3B.js";
|
|
29
29
|
import "../chunk-EOO32RJZ.js";
|
|
30
30
|
import "../chunk-FXU7JOXK.js";
|
|
31
31
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-M37FGM3X.js";
|
|
5
|
+
import "../chunk-4PDXCEXT.js";
|
|
6
6
|
import "../chunk-LOQCOHEW.js";
|
|
7
7
|
import "../chunk-TXSJ2L5O.js";
|
|
8
8
|
import "../chunk-64WZEXXA.js";
|
|
@@ -12,14 +12,14 @@ import "../chunk-GZIAQYGI.js";
|
|
|
12
12
|
import "../chunk-ZQX6UOP6.js";
|
|
13
13
|
import "../chunk-KIUU4PNX.js";
|
|
14
14
|
import "../chunk-NGP6LSV2.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-5NSTNICM.js";
|
|
16
16
|
import "../chunk-OPU3NYOO.js";
|
|
17
17
|
import "../chunk-CVYC6DUW.js";
|
|
18
18
|
import "../chunk-GJV3WDWM.js";
|
|
19
19
|
import "../chunk-MP2AFCGL.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-LM7TQYLW.js";
|
|
21
21
|
import "../chunk-HYZV25LY.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-MBYJEE3B.js";
|
|
23
23
|
import "../chunk-EOO32RJZ.js";
|
|
24
24
|
import "../chunk-FXU7JOXK.js";
|
|
25
25
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -63,13 +63,13 @@ async function main() {
|
|
|
63
63
|
const changedFiles = getChangedFiles(commitHash);
|
|
64
64
|
let client;
|
|
65
65
|
try {
|
|
66
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
66
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
67
67
|
client = await fastDbInit();
|
|
68
68
|
} catch {
|
|
69
69
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
72
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-W5BFKNUS.js");
|
|
73
73
|
const tasks = await listTasks({
|
|
74
74
|
assignedTo: agentId,
|
|
75
75
|
status: "in_progress",
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-BPBUSSYF.js";
|
|
8
8
|
import "../chunk-SH45SJQW.js";
|
|
9
9
|
import {
|
|
10
10
|
getActiveAgent
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-UHL4QL5E.js";
|
|
12
12
|
import {
|
|
13
13
|
initStore
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-25NSQUZ3.js";
|
|
15
|
+
import "../chunk-BRXDLJBU.js";
|
|
16
16
|
import "../chunk-CVYC6DUW.js";
|
|
17
17
|
import "../chunk-GJV3WDWM.js";
|
|
18
18
|
import "../chunk-MP2AFCGL.js";
|
|
19
19
|
import "../chunk-HYZV25LY.js";
|
|
20
20
|
import {
|
|
21
21
|
getClient
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-MBYJEE3B.js";
|
|
23
23
|
import "../chunk-EOO32RJZ.js";
|
|
24
24
|
import "../chunk-FXU7JOXK.js";
|
|
25
25
|
import "../chunk-6D23UNXU.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UHL4QL5E.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-MBYJEE3B.js";
|
|
10
10
|
import "../chunk-EOO32RJZ.js";
|
|
11
11
|
import "../chunk-FXU7JOXK.js";
|
|
12
12
|
import "../chunk-TOWAZ5IV.js";
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerWorkerPid,
|
|
3
3
|
tryAcquireWorkerSlot
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LIJC4CRF.js";
|
|
5
5
|
import {
|
|
6
6
|
recordApiCall
|
|
7
7
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import "../chunk-SH45SJQW.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-UHL4QL5E.js";
|
|
19
19
|
import {
|
|
20
20
|
getSessionKey
|
|
21
21
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -23,7 +23,7 @@ import "../chunk-GJV3WDWM.js";
|
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
getCoordinatorName
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-MBYJEE3B.js";
|
|
27
27
|
import "../chunk-EOO32RJZ.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
29
29
|
import {
|
|
@@ -114,7 +114,7 @@ process.stdin.on("end", async () => {
|
|
|
114
114
|
if (filePath) {
|
|
115
115
|
const { initStore } = await import("../lib/store.js");
|
|
116
116
|
await initStore({ lightweight: true });
|
|
117
|
-
const { recordFileRead } = await import("../git-staleness-
|
|
117
|
+
const { recordFileRead } = await import("../git-staleness-MSTOMG55.js");
|
|
118
118
|
await recordFileRead(
|
|
119
119
|
data.session_id,
|
|
120
120
|
agent.agentId,
|
|
@@ -213,7 +213,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
213
213
|
);
|
|
214
214
|
if (existsSync(bugWorkerPath) && tryAcquireWorkerSlot()) {
|
|
215
215
|
try {
|
|
216
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
216
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-SA7S2SNI.js");
|
|
217
217
|
const c = verifyHookIntegrity(bugWorkerPath);
|
|
218
218
|
if (!c.verified) {
|
|
219
219
|
process.stderr.write(`[SECURITY] Hook tamper: bug-report-worker.js \u2014 ${c.reason}
|
|
@@ -275,7 +275,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
275
275
|
);
|
|
276
276
|
if (existsSync(summaryWorkerPath) && tryAcquireWorkerSlot()) {
|
|
277
277
|
try {
|
|
278
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
278
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-SA7S2SNI.js");
|
|
279
279
|
const c = verifyHookIntegrity(summaryWorkerPath);
|
|
280
280
|
if (!c.verified) {
|
|
281
281
|
process.stderr.write(`[SECURITY] Hook tamper: summary-worker.js \u2014 ${c.reason}
|
|
@@ -320,7 +320,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
320
320
|
if (taskData.taskId) {
|
|
321
321
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
322
322
|
await cpInit();
|
|
323
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
323
|
+
const { writeCheckpoint } = await import("../tasks-crud-W5BFKNUS.js");
|
|
324
324
|
await writeCheckpoint({
|
|
325
325
|
taskId: taskData.taskId,
|
|
326
326
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -357,7 +357,7 @@ WARNING: You are writing code without running the build pipeline. If this task a
|
|
|
357
357
|
);
|
|
358
358
|
if (existsSync(commitWorkerPath) && tryAcquireWorkerSlot()) {
|
|
359
359
|
try {
|
|
360
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
360
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-SA7S2SNI.js");
|
|
361
361
|
const c = verifyHookIntegrity(commitWorkerPath);
|
|
362
362
|
if (!c.verified) {
|
|
363
363
|
process.stderr.write(`[SECURITY] Hook tamper: commit-complete.js \u2014 ${c.reason}
|
|
@@ -461,7 +461,7 @@ WARNING: You are writing code without running the build pipeline. If this task a
|
|
|
461
461
|
process.exit(0);
|
|
462
462
|
}
|
|
463
463
|
try {
|
|
464
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
464
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-SA7S2SNI.js");
|
|
465
465
|
const check = verifyHookIntegrity(workerPath);
|
|
466
466
|
if (!check.verified) {
|
|
467
467
|
process.stderr.write(`[SECURITY] Hook tamper detected: ingest-worker.js \u2014 ${check.reason}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UHL4QL5E.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
7
|
import {
|
|
8
8
|
getIdentityInjection
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-MBYJEE3B.js";
|
|
10
10
|
import "../chunk-EOO32RJZ.js";
|
|
11
11
|
import "../chunk-FXU7JOXK.js";
|
|
12
12
|
import "../chunk-TOWAZ5IV.js";
|
|
@@ -49,7 +49,7 @@ process.stdin.on("end", async () => {
|
|
|
49
49
|
pass = false;
|
|
50
50
|
}
|
|
51
51
|
try {
|
|
52
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
52
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
53
53
|
await fastDbInit();
|
|
54
54
|
const { getClient } = await import("../lib/database.js");
|
|
55
55
|
const client = getClient();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UHL4QL5E.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-MBYJEE3B.js";
|
|
8
8
|
import "../chunk-EOO32RJZ.js";
|
|
9
9
|
import "../chunk-FXU7JOXK.js";
|
|
10
10
|
import "../chunk-TOWAZ5IV.js";
|
|
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
|
|
|
36
36
|
process.exit(0);
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
39
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
40
40
|
await fastDbInit();
|
|
41
41
|
const { getClient } = await import("../lib/database.js");
|
|
42
42
|
const { randomUUID } = await import("crypto");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UHL4QL5E.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-4PDXCEXT.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-TXSJ2L5O.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
@@ -14,14 +14,14 @@ import "../chunk-GZIAQYGI.js";
|
|
|
14
14
|
import "../chunk-ZQX6UOP6.js";
|
|
15
15
|
import "../chunk-KIUU4PNX.js";
|
|
16
16
|
import "../chunk-NGP6LSV2.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-5NSTNICM.js";
|
|
18
18
|
import "../chunk-OPU3NYOO.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-GJV3WDWM.js";
|
|
21
21
|
import "../chunk-MP2AFCGL.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-LM7TQYLW.js";
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-MBYJEE3B.js";
|
|
25
25
|
import "../chunk-EOO32RJZ.js";
|
|
26
26
|
import "../chunk-FXU7JOXK.js";
|
|
27
27
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -67,7 +67,7 @@ ${identity}`);
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
try {
|
|
70
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
70
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
71
71
|
await fastDbInit();
|
|
72
72
|
const { getClient } = await import("../lib/database.js");
|
|
73
73
|
const client = getClient();
|
|
@@ -47,7 +47,7 @@ ${context}`
|
|
|
47
47
|
try {
|
|
48
48
|
const payload = JSON.parse(input);
|
|
49
49
|
const toolName = String(payload.tool_name ?? "");
|
|
50
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
50
|
+
const { getActiveAgent } = await import("../active-agent-XHERKXH6.js");
|
|
51
51
|
const driftAgent = getActiveAgent();
|
|
52
52
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
53
53
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -106,12 +106,12 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
106
106
|
}
|
|
107
107
|
try {
|
|
108
108
|
const data = JSON.parse(input);
|
|
109
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
109
|
+
const { getActiveAgent } = await import("../active-agent-XHERKXH6.js");
|
|
110
110
|
const { detectError } = await import("../lib/error-detector.js");
|
|
111
111
|
const agent = getActiveAgent();
|
|
112
112
|
try {
|
|
113
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
114
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
113
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
114
|
+
const { recordSessionEvent } = await import("../session-events-CCXFQRFW.js");
|
|
115
115
|
const client = await fastDbInit();
|
|
116
116
|
const toolName = String(data.tool_name ?? "unknown");
|
|
117
117
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UHL4QL5E.js";
|
|
5
5
|
import {
|
|
6
6
|
checkpointActiveTask,
|
|
7
7
|
writeContinuityCheckpoint
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-U3B3TVLQ.js";
|
|
9
9
|
import "../chunk-EHXOWGQG.js";
|
|
10
10
|
import "../chunk-EYQIEK5M.js";
|
|
11
11
|
import "../chunk-W6SKR3HZ.js";
|
|
@@ -13,7 +13,7 @@ import "../chunk-3H4VU65X.js";
|
|
|
13
13
|
import "../chunk-K4KAPZC7.js";
|
|
14
14
|
import {
|
|
15
15
|
sessionScopeFilter
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-4PDXCEXT.js";
|
|
17
17
|
import "../chunk-LOQCOHEW.js";
|
|
18
18
|
import "../chunk-TXSJ2L5O.js";
|
|
19
19
|
import "../chunk-64WZEXXA.js";
|
|
@@ -23,14 +23,14 @@ import "../chunk-GZIAQYGI.js";
|
|
|
23
23
|
import "../chunk-ZQX6UOP6.js";
|
|
24
24
|
import "../chunk-KIUU4PNX.js";
|
|
25
25
|
import "../chunk-NGP6LSV2.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-5NSTNICM.js";
|
|
27
27
|
import "../chunk-OPU3NYOO.js";
|
|
28
28
|
import "../chunk-CVYC6DUW.js";
|
|
29
29
|
import "../chunk-GJV3WDWM.js";
|
|
30
30
|
import "../chunk-MP2AFCGL.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-LM7TQYLW.js";
|
|
32
32
|
import "../chunk-HYZV25LY.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-MBYJEE3B.js";
|
|
34
34
|
import "../chunk-EOO32RJZ.js";
|
|
35
35
|
import "../chunk-FXU7JOXK.js";
|
|
36
36
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -60,7 +60,7 @@ process.stdin.on("end", async () => {
|
|
|
60
60
|
const agent = getActiveAgent();
|
|
61
61
|
const sections = [];
|
|
62
62
|
try {
|
|
63
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
63
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
64
64
|
const client = await fastDbInit();
|
|
65
65
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
66
66
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,10 +2,10 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-UHL4QL5E.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-4PDXCEXT.js";
|
|
9
9
|
import "../chunk-LOQCOHEW.js";
|
|
10
10
|
import "../chunk-TXSJ2L5O.js";
|
|
11
11
|
import "../chunk-64WZEXXA.js";
|
|
@@ -15,19 +15,19 @@ import "../chunk-GZIAQYGI.js";
|
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
16
|
import "../chunk-KIUU4PNX.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-5NSTNICM.js";
|
|
19
19
|
import "../chunk-OPU3NYOO.js";
|
|
20
20
|
import {
|
|
21
21
|
getSessionKey
|
|
22
22
|
} from "../chunk-CVYC6DUW.js";
|
|
23
23
|
import "../chunk-GJV3WDWM.js";
|
|
24
24
|
import "../chunk-MP2AFCGL.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-LM7TQYLW.js";
|
|
26
26
|
import "../chunk-HYZV25LY.js";
|
|
27
27
|
import {
|
|
28
28
|
canCoordinate,
|
|
29
29
|
loadEmployeesSync
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-MBYJEE3B.js";
|
|
31
31
|
import "../chunk-EOO32RJZ.js";
|
|
32
32
|
import "../chunk-FXU7JOXK.js";
|
|
33
33
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -128,6 +128,15 @@ If MCP is down, tell the user: "MCP disconnected. Run /mcp to reconnect."`
|
|
|
128
128
|
const targetDir = cdMatch[1];
|
|
129
129
|
const currentProject = process.cwd().split("/").pop();
|
|
130
130
|
if (targetDir && currentProject && targetDir !== currentProject && !command.includes("worktree")) {
|
|
131
|
+
const taskContext = process.env.EXE_CURRENT_TASK_CONTEXT ?? "";
|
|
132
|
+
const targetInTaskScope = taskContext.toLowerCase().includes(targetDir.toLowerCase());
|
|
133
|
+
if (targetInTaskScope) {
|
|
134
|
+
const output2 = JSON.stringify({
|
|
135
|
+
systemMessage: `\u2139\uFE0F Cross-repo access to ${targetDir} allowed \u2014 referenced in your current task context.`
|
|
136
|
+
});
|
|
137
|
+
process.stdout.write(output2);
|
|
138
|
+
process.exit(0);
|
|
139
|
+
}
|
|
131
140
|
const output = JSON.stringify({
|
|
132
141
|
systemMessage: `\u26A0\uFE0F CROSS-REPO WARNING: You are in ${currentProject} but this command operates on ${targetDir}. Stay in your repo. "Commit all" means all changes in THIS repo, not other repos. If ${targetDir} needs work, create_task to dispatch it to that project's agent.`
|
|
133
142
|
});
|
|
@@ -154,15 +163,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
154
163
|
process.exit(0);
|
|
155
164
|
}
|
|
156
165
|
}
|
|
157
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
166
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-UGCMXYAO.js");
|
|
158
167
|
const gatedAgent = getGatedAgent();
|
|
159
168
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
160
169
|
const filePath = data.tool_input?.file_path ?? "";
|
|
161
170
|
if (filePath) {
|
|
162
171
|
try {
|
|
163
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
172
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
164
173
|
await fastDbInit();
|
|
165
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
174
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-UGCMXYAO.js");
|
|
166
175
|
const decision = await evaluateDelegationGate({
|
|
167
176
|
agentId: agent.agentId,
|
|
168
177
|
toolName: data.tool_name,
|
|
@@ -207,7 +216,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
207
216
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
208
217
|
if (isUpdateTaskDone) {
|
|
209
218
|
try {
|
|
210
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
219
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
211
220
|
const client = await fastDbInit();
|
|
212
221
|
const taskId = String(toolInput.task_id ?? "");
|
|
213
222
|
const ptScope = sessionScopeFilter();
|
|
@@ -265,7 +274,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
265
274
|
}
|
|
266
275
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
267
276
|
try {
|
|
268
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
277
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
269
278
|
const client = await fastDbInit();
|
|
270
279
|
const dlScope = sessionScopeFilter();
|
|
271
280
|
const result = await client.execute({
|