@askexenow/exe-os 0.9.150 → 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/{backfill-metadata-7IANPCAL.js → backfill-metadata-PPI5QFYW.js} +1 -1
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +5 -4
- package/dist/bin/cleanup-stale-review-tasks.js +2 -2
- package/dist/bin/cli.js +10 -10
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +6 -6
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +1 -1
- package/dist/bin/exe-dispatch.js +2 -2
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +2 -2
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +4 -4
- package/dist/bin/exe-heartbeat.js +2 -2
- package/dist/bin/exe-kill.js +3 -3
- package/dist/bin/exe-launch-agent.js +5 -5
- package/dist/bin/exe-new-employee.js +4 -4
- package/dist/bin/exe-pending-messages.js +3 -3
- package/dist/bin/exe-pending-notifications.js +2 -2
- package/dist/bin/exe-pending-reviews.js +2 -2
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +3 -3
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +11 -10
- package/dist/bin/exe-settings.js +1 -1
- package/dist/bin/exe-start-codex.js +5 -5
- package/dist/bin/exe-start-opencode.js +2 -2
- package/dist/bin/exe-status.js +3 -3
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +2 -2
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/install.js +3 -3
- package/dist/bin/intercom-check.js +3 -3
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-J3SVO7LJ.js → capacity-monitor-5IVGAQ34.js} +2 -2
- package/dist/{catchup-brief-AIFZT456.js → catchup-brief-HFJR32Q3.js} +3 -3
- package/dist/{chunk-72XIEBYJ.js → chunk-25NSQUZ3.js} +1 -1
- package/dist/{chunk-Z43CJQ7T.js → chunk-3ZU7RTMF.js} +33 -7
- package/dist/{chunk-26VUCVSE.js → chunk-4IEQIUBZ.js} +1 -1
- package/dist/{chunk-EYTMNAU7.js → chunk-4PDXCEXT.js} +5 -5
- package/dist/{chunk-7JTZNHA4.js → chunk-4RKL53PD.js} +3 -2
- package/dist/{chunk-DJVXUJIR.js → chunk-5U5MI4VH.js} +29 -29
- package/dist/{chunk-GIAAHYMW.js → chunk-7WEVNBV2.js} +1 -1
- package/dist/{chunk-JM4A2E5A.js → chunk-AFMQR776.js} +1 -1
- package/dist/{chunk-3JR37K7C.js → chunk-AMVDQ7HH.js} +9 -5
- package/dist/{chunk-O2Y4WJYW.js → chunk-BPBUSSYF.js} +192 -5
- package/dist/{chunk-BQ3KXWA7.js → chunk-CBLNQNWT.js} +1 -1
- package/dist/{chunk-XQSGAG2G.js → chunk-CF4DZKKE.js} +1 -1
- package/dist/{chunk-DMBFPZOP.js → chunk-EYQ3DHHI.js} +3 -3
- package/dist/{chunk-X2XE65WV.js → chunk-H5STRY47.js} +9 -4
- package/dist/{chunk-7HONLLJ2.js → chunk-HZNQYDAN.js} +2 -2
- package/dist/{chunk-4K7HJL37.js → chunk-IWGGTD5D.js} +1 -1
- package/dist/{chunk-WR45FP7O.js → chunk-JJA6F6NA.js} +1 -1
- package/dist/{chunk-LJX5SV6L.js → chunk-JUM3EUB2.js} +2 -2
- package/dist/{chunk-IGYF67K3.js → chunk-L5WTOR3T.js} +2 -2
- package/dist/{chunk-3VHX5XFJ.js → chunk-LIJC4CRF.js} +1 -1
- package/dist/{chunk-FSH4VWSL.js → chunk-M37FGM3X.js} +2 -2
- package/dist/{chunk-XWQKCCCO.js → chunk-MWRHXGAB.js} +7 -0
- package/dist/{chunk-5NQKE3X4.js → chunk-OQYZQR24.js} +1 -1
- package/dist/{chunk-LLDY5HPV.js → chunk-PC6Y4ATU.js} +1 -1
- package/dist/{chunk-4WIWYUU2.js → chunk-PMCXWAVQ.js} +2 -2
- package/dist/{chunk-TCKZYGC5.js → chunk-SGLVCPZP.js} +1 -1
- package/dist/{chunk-XEH3USTI.js → chunk-SJKOILTX.js} +1 -1
- package/dist/{chunk-DSKUPORS.js → chunk-UQE5R5PM.js} +1 -1
- package/dist/{chunk-EEXG4ZJS.js → chunk-VJW3E5KW.js} +7 -7
- package/dist/{chunk-CRS6YTBM.js → chunk-WPNWFI4A.js} +1 -1
- package/dist/{chunk-GPHURFBS.js → chunk-WZMS6X56.js} +1 -1
- package/dist/{chunk-IT2JDL5L.js → chunk-XQC5BNCJ.js} +14 -9
- package/dist/{chunk-LBX2VQCC.js → chunk-YOH3ABTS.js} +1 -1
- package/dist/{crm-webhook-AJYXEFZD.js → crm-webhook-SOUYMO3X.js} +2 -2
- package/dist/{cto-delegation-gate-7OIN66NU.js → cto-delegation-gate-UGCMXYAO.js} +1 -1
- package/dist/{daemon-orchestration-EHONVEHN.js → daemon-orchestration-MD34RKQZ.js} +3 -3
- package/dist/{exe-export-IVFME5VN.js → exe-export-UDQU7MMM.js} +3 -3
- package/dist/{exe-import-O76AYBUE.js → exe-import-OY42LQL4.js} +3 -3
- package/dist/{fast-db-init-NCOIEAM6.js → fast-db-init-TLOT2K43.js} +1 -1
- package/dist/gateway/index.js +5 -5
- package/dist/{git-task-sweep-NOXCELFQ.js → git-task-sweep-D4IKRGCV.js} +2 -2
- package/dist/{global-procedures-FXWQ35RU.js → global-procedures-ISPSC4B5.js} +2 -2
- package/dist/{hook-integrity-PR4BPZBT.js → hook-integrity-SA7S2SNI.js} +1 -1
- package/dist/hooks/bug-report-worker.js +3 -3
- package/dist/hooks/codex-stop-task-finalizer.js +3 -3
- package/dist/hooks/commit-complete.js +4 -4
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +2 -2
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hooks/pre-tool-use.js +6 -6
- package/dist/hooks/prompt-submit.js +102 -38
- package/dist/hooks/session-end.js +6 -6
- package/dist/hooks/session-start.js +5 -5
- package/dist/hooks/stop.js +5 -5
- package/dist/hooks/subagent-stop.js +2 -2
- package/dist/hooks/summary-worker.js +5 -5
- package/dist/index.js +8 -8
- package/dist/{installer-5NAISFMT.js → installer-3YHQ5DJZ.js} +2 -2
- package/dist/{installer-FTGXXYRA.js → installer-4YIOBAFV.js} +2 -2
- package/dist/{installer-Q4IWV2GB.js → installer-SPQDAGPW.js} +2 -2
- package/dist/lib/cloud-sync.js +1 -1
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/exe-daemon.js +51 -34
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +2 -2
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +25 -25
- package/dist/mcp/server.js +26 -26
- package/dist/mcp/tools/create-task.js +3 -3
- package/dist/mcp/tools/list-tasks.js +3 -3
- package/dist/mcp/tools/send-message.js +3 -3
- package/dist/mcp/tools/update-task.js +3 -3
- package/dist/{mcp-http-config-PSQCITKG.js → mcp-http-config-JBNX3DAR.js} +1 -1
- package/dist/{notifications-LD563XOM.js → notifications-76XXO4Q7.js} +1 -1
- package/dist/{orchestrator-WQGPXMLN.js → orchestrator-XAT2JSBT.js} +2 -2
- package/dist/{push-notifications-KDYFOJRI.js → push-notifications-NSYLKFXR.js} +1 -1
- package/dist/{review-polling-J3R7MLT4.js → review-polling-E24XBNSI.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-XDDQ3M4A.js → session-events-CCXFQRFW.js} +2 -2
- package/dist/{session-scope-6MAGVHBA.js → session-scope-7QCZF3MJ.js} +1 -1
- package/dist/{setup-wizard-WJ73A2FY.js → setup-wizard-FA6YEYER.js} +1 -1
- package/dist/signal-paths-4GOIRLGH.js +19 -0
- package/dist/{task-enforcement-3RV64YVR.js → task-enforcement-NITY7TBM.js} +1 -1
- package/dist/{task-scope-2T3WIQQY.js → task-scope-YZDSPORL.js} +1 -1
- package/dist/{tasks-crud-B2BGA44L.js → tasks-crud-W5BFKNUS.js} +1 -1
- package/dist/{tasks-review-ZO3QDMT7.js → tasks-review-VXMELVLA.js} +1 -1
- package/dist/tui/App.js +10 -10
- package/dist/{tui-data-UAPARPDX.js → tui-data-FQYUPCYX.js} +1 -1
- package/dist/{worker-gate-TG6PR2S5.js → worker-gate-OZCNSASA.js} +1 -1
- package/dist/{workflow-engine-VIFLD5IV.js → workflow-engine-DA3AWD45.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +104 -104
- /package/dist/{chunk-II3NQJGV.js → chunk-U3B3TVLQ.js} +0 -0
- /package/dist/{chunk-34XNU32S.js → chunk-UIOTTKLS.js} +0 -0
- /package/dist/{chunk-OLVZBBVO.js → chunk-YABPRFBT.js} +0 -0
- /package/dist/{chunk-BF4W2VDS.js → chunk-YH7VB655.js} +0 -0
- /package/dist/{core-memory-MT7P34HU.js → core-memory-ONZIJYGR.js} +0 -0
- /package/dist/{exe-key-6HV5GYHH.js → exe-key-FC67RNXI.js} +0 -0
|
@@ -167,7 +167,10 @@ async function pushToPostgres(records) {
|
|
|
167
167
|
const changed = await prisma.$executeRawUnsafe(
|
|
168
168
|
`INSERT INTO raw.raw_events (id, source, source_id, event_type, payload, metadata, timestamp)
|
|
169
169
|
VALUES (gen_random_uuid(), 'cloud_sync', $1, 'memory', $2::jsonb, $3::jsonb, $4)
|
|
170
|
-
ON CONFLICT (source, source_id, event_type) DO
|
|
170
|
+
ON CONFLICT (source, source_id, event_type) DO UPDATE SET
|
|
171
|
+
payload = EXCLUDED.payload,
|
|
172
|
+
metadata = EXCLUDED.metadata,
|
|
173
|
+
processed_at = NULL`,
|
|
171
174
|
String(rec.id ?? ""),
|
|
172
175
|
JSON.stringify(rec),
|
|
173
176
|
JSON.stringify({ agent_id: rec.agent_id, project_name: rec.project_name, tool_name: rec.tool_name }),
|
|
@@ -506,8 +509,8 @@ async function cloudSync(config) {
|
|
|
506
509
|
sql: `INSERT INTO memories
|
|
507
510
|
(id, agent_id, agent_role, session_id, timestamp,
|
|
508
511
|
tool_name, project_name, has_error, raw_text, version,
|
|
509
|
-
author_device_id, scope)
|
|
510
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
512
|
+
author_device_id, scope, memory_type)
|
|
513
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
511
514
|
ON CONFLICT(id) DO UPDATE SET
|
|
512
515
|
agent_id = excluded.agent_id,
|
|
513
516
|
agent_role = excluded.agent_role,
|
|
@@ -520,10 +523,10 @@ async function cloudSync(config) {
|
|
|
520
523
|
version = excluded.version,
|
|
521
524
|
author_device_id = excluded.author_device_id,
|
|
522
525
|
scope = excluded.scope,
|
|
526
|
+
memory_type = COALESCE(excluded.memory_type, memories.memory_type),
|
|
523
527
|
vector = COALESCE(memories.vector, excluded.vector),
|
|
524
528
|
importance = COALESCE(memories.importance, excluded.importance),
|
|
525
529
|
confidence = COALESCE(memories.confidence, excluded.confidence),
|
|
526
|
-
memory_type = COALESCE(memories.memory_type, excluded.memory_type),
|
|
527
530
|
tier = COALESCE(memories.tier, excluded.tier),
|
|
528
531
|
strength = COALESCE(memories.strength, excluded.strength)`,
|
|
529
532
|
args: [
|
|
@@ -538,7 +541,8 @@ async function cloudSync(config) {
|
|
|
538
541
|
sqlSafe(rec.raw_text ?? ""),
|
|
539
542
|
sqlSafe(rec.version ?? 0),
|
|
540
543
|
sqlSafe(rec.author_device_id),
|
|
541
|
-
sqlSafe(rec.scope ?? "business")
|
|
544
|
+
sqlSafe(rec.scope ?? "business"),
|
|
545
|
+
sqlSafe(rec.memory_type)
|
|
542
546
|
]
|
|
543
547
|
}));
|
|
544
548
|
if (stmts.length > 0) await client.batch(stmts, "write");
|
|
@@ -587,8 +591,8 @@ async function cloudSync(config) {
|
|
|
587
591
|
sql: `INSERT INTO memories
|
|
588
592
|
(id, agent_id, agent_role, session_id, timestamp,
|
|
589
593
|
tool_name, project_name, has_error, raw_text, version,
|
|
590
|
-
author_device_id, scope)
|
|
591
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
594
|
+
author_device_id, scope, memory_type)
|
|
595
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
592
596
|
ON CONFLICT(id) DO UPDATE SET
|
|
593
597
|
agent_id = excluded.agent_id,
|
|
594
598
|
agent_role = excluded.agent_role,
|
|
@@ -601,10 +605,10 @@ async function cloudSync(config) {
|
|
|
601
605
|
version = excluded.version,
|
|
602
606
|
author_device_id = excluded.author_device_id,
|
|
603
607
|
scope = excluded.scope,
|
|
608
|
+
memory_type = COALESCE(excluded.memory_type, memories.memory_type),
|
|
604
609
|
vector = COALESCE(memories.vector, excluded.vector),
|
|
605
610
|
importance = COALESCE(memories.importance, excluded.importance),
|
|
606
611
|
confidence = COALESCE(memories.confidence, excluded.confidence),
|
|
607
|
-
memory_type = COALESCE(memories.memory_type, excluded.memory_type),
|
|
608
612
|
tier = COALESCE(memories.tier, excluded.tier),
|
|
609
613
|
strength = COALESCE(memories.strength, excluded.strength)`,
|
|
610
614
|
args: [
|
|
@@ -619,7 +623,8 @@ async function cloudSync(config) {
|
|
|
619
623
|
sqlSafe(rec.raw_text ?? ""),
|
|
620
624
|
sqlSafe(rec.version ?? 0),
|
|
621
625
|
sqlSafe(rec.author_device_id),
|
|
622
|
-
sqlSafe(rec.scope ?? "business")
|
|
626
|
+
sqlSafe(rec.scope ?? "business"),
|
|
627
|
+
sqlSafe(rec.memory_type)
|
|
623
628
|
]
|
|
624
629
|
}));
|
|
625
630
|
await client.batch(stmts, "write");
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
shouldKillIdleSession,
|
|
39
39
|
shouldKillSession,
|
|
40
40
|
shouldNudgeEmployee
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3ZU7RTMF.js";
|
|
42
42
|
import "./chunk-CO2SF5SB.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-VJW3E5KW.js";
|
|
44
|
+
import "./chunk-4PDXCEXT.js";
|
|
45
45
|
import "./chunk-LOQCOHEW.js";
|
|
46
46
|
import "./chunk-TXSJ2L5O.js";
|
|
47
47
|
import "./chunk-64WZEXXA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exportOrchestration
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JJA6F6NA.js";
|
|
5
|
+
import "./chunk-MWRHXGAB.js";
|
|
6
6
|
import {
|
|
7
7
|
disposeStore,
|
|
8
8
|
initStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-25NSQUZ3.js";
|
|
10
10
|
import "./chunk-BRXDLJBU.js";
|
|
11
11
|
import "./chunk-MP2AFCGL.js";
|
|
12
12
|
import "./chunk-MBYJEE3B.js";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
importOrchestration,
|
|
4
4
|
validatePackage
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-JJA6F6NA.js";
|
|
6
|
+
import "./chunk-MWRHXGAB.js";
|
|
7
7
|
import {
|
|
8
8
|
disposeStore,
|
|
9
9
|
initStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-25NSQUZ3.js";
|
|
11
11
|
import "./chunk-BRXDLJBU.js";
|
|
12
12
|
import "./chunk-MP2AFCGL.js";
|
|
13
13
|
import "./chunk-MBYJEE3B.js";
|
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,
|
|
@@ -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";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
getGlobalProceduresBlock,
|
|
4
4
|
loadGlobalProcedures,
|
|
5
5
|
storeGlobalProcedure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YOH3ABTS.js";
|
|
7
|
+
import "./chunk-MWRHXGAB.js";
|
|
8
8
|
import "./chunk-MBYJEE3B.js";
|
|
9
9
|
import "./chunk-EOO32RJZ.js";
|
|
10
10
|
import "./chunk-FXU7JOXK.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";
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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,14 +4,14 @@ 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
11
|
} from "../chunk-UHL4QL5E.js";
|
|
12
12
|
import {
|
|
13
13
|
initStore
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-25NSQUZ3.js";
|
|
15
15
|
import "../chunk-BRXDLJBU.js";
|
|
16
16
|
import "../chunk-CVYC6DUW.js";
|
|
17
17
|
import "../chunk-GJV3WDWM.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";
|
|
@@ -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}
|
|
@@ -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();
|
|
@@ -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");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
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";
|
|
@@ -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();
|
|
@@ -110,8 +110,8 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
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 ?? {});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
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";
|
|
@@ -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();
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
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";
|
|
@@ -163,15 +163,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
163
163
|
process.exit(0);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
166
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-UGCMXYAO.js");
|
|
167
167
|
const gatedAgent = getGatedAgent();
|
|
168
168
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
169
169
|
const filePath = data.tool_input?.file_path ?? "";
|
|
170
170
|
if (filePath) {
|
|
171
171
|
try {
|
|
172
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
172
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
173
173
|
await fastDbInit();
|
|
174
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
174
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-UGCMXYAO.js");
|
|
175
175
|
const decision = await evaluateDelegationGate({
|
|
176
176
|
agentId: agent.agentId,
|
|
177
177
|
toolName: data.tool_name,
|
|
@@ -216,7 +216,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
216
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);
|
|
217
217
|
if (isUpdateTaskDone) {
|
|
218
218
|
try {
|
|
219
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
219
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
220
220
|
const client = await fastDbInit();
|
|
221
221
|
const taskId = String(toolInput.task_id ?? "");
|
|
222
222
|
const ptScope = sessionScopeFilter();
|
|
@@ -274,7 +274,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
274
274
|
}
|
|
275
275
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
276
276
|
try {
|
|
277
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
277
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
278
278
|
const client = await fastDbInit();
|
|
279
279
|
const dlScope = sessionScopeFilter();
|
|
280
280
|
const result = await client.execute({
|