@askexenow/exe-os 0.9.265 → 0.9.266
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/deploy/compose/.env.example +4 -2
- package/deploy/compose/docker-compose.yml +6 -4
- package/deploy/compose/generate-env.ts +5 -2
- package/dist/active-agent-2XJJZFEW.js +25 -0
- package/dist/active-agent-JZ4PHIAK.js +26 -0
- package/dist/agentic-ontology-J4B525DT.js +25 -0
- package/dist/backfill-metadata-TWEC6BJD.js +597 -0
- package/dist/backfill-metadata-VGZLCJWZ.js +597 -0
- package/dist/behaviors-BPIVFAGY.js +25 -0
- package/dist/bin/agentic-ontology-backfill.js +5 -5
- package/dist/bin/agentic-reflection-backfill.js +6 -6
- package/dist/bin/agentic-semantic-label.js +5 -5
- package/dist/bin/backfill-conversations.js +4 -4
- package/dist/bin/backfill-responses.js +4 -4
- package/dist/bin/backfill-vectors.js +5 -5
- package/dist/bin/bulk-sync-postgres.js +6 -6
- package/dist/bin/cc-doctor.js +6 -1
- package/dist/bin/cleanup-stale-review-tasks.js +9 -9
- package/dist/bin/cli.js +15 -15
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +5 -5
- package/dist/bin/exe-boot.js +16 -16
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +4 -4
- package/dist/bin/exe-dispatch.js +9 -9
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +7 -7
- package/dist/bin/exe-forget.js +6 -6
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +6 -1
- package/dist/bin/exe-heartbeat.js +9 -9
- package/dist/bin/exe-kill.js +12 -12
- package/dist/bin/exe-launch-agent.js +16 -16
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +10 -10
- package/dist/bin/exe-pending-notifications.js +9 -9
- package/dist/bin/exe-pending-reviews.js +9 -9
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +11 -11
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +14 -14
- package/dist/bin/exe-settings.js +4 -4
- package/dist/bin/exe-start-codex.js +11 -11
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +10 -10
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +10 -10
- package/dist/bin/graph-backfill.js +4 -4
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +7 -7
- package/dist/bin/install.js +6 -6
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.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/scan-tasks.js +9 -9
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/capacity-monitor-3QORC56J.js +49 -0
- package/dist/capacity-monitor-FWRBCZCZ.js +49 -0
- package/dist/catchup-brief-242H63OP.js +151 -0
- package/dist/catchup-brief-T7W2ARRB.js +151 -0
- package/dist/catchup-brief-VJDLXJHJ.js +151 -0
- package/dist/chunk-2FDYA3GS.js +75 -0
- package/dist/chunk-2V33IVZF.js +1148 -0
- package/dist/chunk-2W5NQOQJ.js +333 -0
- package/dist/chunk-32QR5EHE.js +244 -0
- package/dist/chunk-3DBROKA6.js +382 -0
- package/dist/chunk-3DS2YHAT.js +204 -0
- package/dist/chunk-3O2ZD7YV.js +227 -0
- package/dist/chunk-43O2PZH7.js +214 -0
- package/dist/chunk-4AHL6I7X.js +284 -0
- package/dist/chunk-5GBPXJIH.js +50 -0
- package/dist/chunk-5IXN2532.js +58 -0
- package/dist/chunk-5SH5TR45.js +731 -0
- package/dist/chunk-5XGMTWKW.js +128 -0
- package/dist/chunk-6AQAILCS.js +13696 -0
- package/dist/chunk-72KQJZBH.js +382 -0
- package/dist/chunk-7B2AENJ3.js +1345 -0
- package/dist/chunk-7GKMYFVR.js +551 -0
- package/dist/chunk-7HUGVJHW.js +1021 -0
- package/dist/chunk-7HWBGXDV.js +333 -0
- package/dist/chunk-7ROGPDW6.js +197 -0
- package/dist/chunk-7ZMLNURG.js +513 -0
- package/dist/chunk-A3G4UXNA.js +280 -0
- package/dist/chunk-A4T6U3XZ.js +371 -0
- package/dist/chunk-ADJNRFEK.js +13696 -0
- package/dist/chunk-AVJTW67M.js +513 -0
- package/dist/chunk-B6RC7DAC.js +1090 -0
- package/dist/chunk-BAOJLZVC.js +244 -0
- package/dist/chunk-BCUMPA7J.js +159 -0
- package/dist/chunk-BH2ST7KK.js +183 -0
- package/dist/chunk-C4BIYP5C.js +129 -0
- package/dist/chunk-CBUZG6OC.js +89 -0
- package/dist/chunk-CGQRWCCP.js +81 -0
- package/dist/chunk-CLX4WQHT.js +214 -0
- package/dist/chunk-D4CQZL46.js +76 -0
- package/dist/chunk-DEBLYXA2.js +56 -0
- package/dist/chunk-EDNUE5L3.js +38 -0
- package/dist/chunk-ESNHLTLC.js +1073 -0
- package/dist/chunk-FICUAZEA.js +128 -0
- package/dist/chunk-FP6U5PSY.js +818 -0
- package/dist/chunk-G55UTKFR.js +89 -0
- package/dist/chunk-GIJUXLK5.js +330 -0
- package/dist/chunk-GVSSEGIV.js +348 -0
- package/dist/chunk-GYOOZ725.js +330 -0
- package/dist/chunk-HCULUL4D.js +447 -0
- package/dist/chunk-HDRQKH7R.js +1051 -0
- package/dist/chunk-HHBN7Y7R.js +197 -0
- package/dist/chunk-IQBXQ7GF.js +1073 -0
- package/dist/chunk-ITF6GEJI.js +2091 -0
- package/dist/chunk-IXHVSWLM.js +58 -0
- package/dist/chunk-J3ZFONT4.js +1921 -0
- package/dist/chunk-JEOFG274.js +394 -0
- package/dist/chunk-JH7ISOIJ.js +33 -0
- package/dist/chunk-JVRMAVPN.js +731 -0
- package/dist/chunk-KBYRYSXT.js +3951 -0
- package/dist/chunk-KECNXWD6.js +1051 -0
- package/dist/chunk-KIYCHS35.js +128 -0
- package/dist/chunk-KUP3D6G2.js +1345 -0
- package/dist/chunk-KXS5HHDH.js +54 -0
- package/dist/chunk-LVZW4WQY.js +221 -0
- package/dist/chunk-LWOCCDSB.js +240 -0
- package/dist/chunk-M4HRKRSE.js +30 -0
- package/dist/chunk-MPG5DR3K.js +244 -0
- package/dist/chunk-NOG2LVBA.js +159 -0
- package/dist/chunk-NP3CYOEY.js +290 -0
- package/dist/chunk-OVQOKLYA.js +210 -0
- package/dist/chunk-OW26ML36.js +1148 -0
- package/dist/chunk-P2DOIWQG.js +260 -0
- package/dist/chunk-P2QTTEYP.js +3951 -0
- package/dist/chunk-P5IKFL7B.js +85 -0
- package/dist/chunk-PD2LUPHD.js +377 -0
- package/dist/chunk-PF5EFIAH.js +818 -0
- package/dist/chunk-PK3NFO76.js +551 -0
- package/dist/chunk-QKMFMJTU.js +171 -0
- package/dist/chunk-R77M74QM.js +13696 -0
- package/dist/chunk-RHZ2CRJU.js +3556 -0
- package/dist/chunk-RLR4LVO5.js +1090 -0
- package/dist/chunk-RMDDSWFH.js +495 -0
- package/dist/chunk-RPLEZ74B.js +95 -0
- package/dist/chunk-RXMVPGH2.js +346 -0
- package/dist/chunk-S2ARWNS6.js +135 -0
- package/dist/chunk-SHPIATX7.js +90 -0
- package/dist/chunk-SQUZ3TI2.js +668 -0
- package/dist/chunk-SUGBKORD.js +1148 -0
- package/dist/chunk-T2XD7XL2.js +346 -0
- package/dist/chunk-TAIYLROT.js +127 -0
- package/dist/chunk-TCD4XCBS.js +495 -0
- package/dist/chunk-TSBMSHMM.js +163 -0
- package/dist/chunk-U776PBU6.js +488 -0
- package/dist/chunk-UTVNIAOF.js +284 -0
- package/dist/chunk-VF6VT4MR.js +70 -0
- package/dist/chunk-VZXLYUKS.js +171 -0
- package/dist/chunk-WIAHPJDS.js +58 -0
- package/dist/chunk-WM5ELLT4.js +54 -0
- package/dist/chunk-WUUSPOCC.js +1921 -0
- package/dist/chunk-WXHAMPK4.js +81 -0
- package/dist/chunk-WYNZ23XH.js +262 -0
- package/dist/chunk-WZOQLU2Y.js +127 -0
- package/dist/chunk-X24GBZKR.js +157 -0
- package/dist/chunk-X5FRF5MG.js +13696 -0
- package/dist/chunk-XBPLYFBA.js +204 -0
- package/dist/chunk-XDGKFXFW.js +363 -0
- package/dist/chunk-XIT6ONPY.js +630 -0
- package/dist/chunk-XNRJ5JHU.js +377 -0
- package/dist/chunk-XREWTPZM.js +123 -0
- package/dist/chunk-XURCA5VD.js +297 -0
- package/dist/chunk-Y55VFZJB.js +50 -0
- package/dist/chunk-YIH2YMWP.js +76 -0
- package/dist/chunk-YZMCCT73.js +97 -0
- package/dist/chunk-ZTP3VV23.js +447 -0
- package/dist/co-activation-JOYR73H2.js +72 -0
- package/dist/co-occurrence-G7RRJ3DB.js +74 -0
- package/dist/core-memory-6KK55Z65.js +110 -0
- package/dist/core-memory-QRS6GBXL.js +110 -0
- package/dist/crdt-sync-QWK65Z5A.js +33 -0
- package/dist/crm-webhook-BNUS3USD.js +10 -0
- package/dist/crm-webhook-ZTIRFVAH.js +10 -0
- package/dist/cto-delegation-gate-DNZJGBS7.js +206 -0
- package/dist/cto-delegation-gate-YI3LK7VY.js +206 -0
- package/dist/daemon-orchestration-7LVOHYKA.js +135 -0
- package/dist/daemon-orchestration-SDQNWI3K.js +135 -0
- package/dist/db-backup-5ENHDNZI.js +33 -0
- package/dist/dreaming-PGJOCGAM.js +32 -0
- package/dist/dreaming-UNHHGOU3.js +32 -0
- package/dist/exe-drift-QQJMUQXA.js +68 -0
- package/dist/exe-export-BEZZSQB4.js +73 -0
- package/dist/exe-export-TQGI2VBT.js +73 -0
- package/dist/exe-import-2SR2UP3D.js +76 -0
- package/dist/exe-import-73Q4VLFK.js +76 -0
- package/dist/exe-key-6JHEINOM.js +579 -0
- package/dist/exe-key-RIRPIFK6.js +579 -0
- package/dist/exe-snapshot-NDMDQJOH.js +164 -0
- package/dist/exe-snapshot-PVCBPMPJ.js +164 -0
- package/dist/fast-db-init-22OBOPTN.js +7 -0
- package/dist/fast-db-init-M6ZYYGAL.js +7 -0
- package/dist/gateway/index.js +8 -8
- package/dist/git-staleness-4DGYC3RY.js +110 -0
- package/dist/git-task-sweep-CUR7R2ZM.js +40 -0
- package/dist/git-task-sweep-YG3IVGK3.js +40 -0
- package/dist/global-procedures-TYDNKM7V.js +20 -0
- package/dist/graph-auto-extract-I6B5HWTP.js +162 -0
- package/dist/hooks/bug-report-worker.js +11 -11
- package/dist/hooks/codex-stop-task-finalizer.js +11 -11
- package/dist/hooks/commit-complete.js +11 -11
- package/dist/hooks/error-recall.js +6 -6
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +10 -10
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +11 -11
- package/dist/hooks/pre-tool-use.js +14 -14
- package/dist/hooks/prompt-submit.js +20 -20
- package/dist/hooks/session-end.js +15 -15
- package/dist/hooks/session-start.js +10 -10
- package/dist/hooks/stop.js +14 -14
- package/dist/hooks/subagent-stop.js +10 -10
- package/dist/hooks/summary-worker.js +14 -14
- package/dist/index.js +17 -17
- package/dist/installer-4LP73C3M.js +38 -0
- package/dist/installer-AUVLNS4D.js +296 -0
- package/dist/installer-KCRLQSQH.js +38 -0
- package/dist/installer-KGXYUOIV.js +296 -0
- package/dist/installer-UI6TNJGO.js +342 -0
- package/dist/installer-Z7NPD4PD.js +342 -0
- package/dist/lib/cloud-sync.js +4 -4
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-daemon-client.js +6 -0
- package/dist/lib/db.js +2 -2
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +39 -38
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/messaging.js +9 -9
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +5 -5
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +4 -4
- package/dist/lib/store.js +4 -4
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +10 -10
- package/dist/lib/tmux-routing.js +8 -8
- package/dist/lib/token-spend.js +3 -3
- package/dist/mcp/register-tools.js +53 -52
- package/dist/mcp/server.js +54 -53
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +12 -12
- package/dist/mcp/tools/deactivate-behavior.js +5 -5
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +12 -12
- package/dist/mcp/tools/send-message.js +11 -11
- package/dist/mcp/tools/update-task.js +11 -11
- package/dist/mcp-http-config-LN5ITKGS.js +27 -0
- package/dist/mcp-http-config-V43VHNEH.js +27 -0
- package/dist/memory-cards-S36DCEY4.js +174 -0
- package/dist/memory-graph-extractor-66YL4V4B.js +17 -0
- package/dist/memory-poisoning-defense-MXWE6CTY.js +225 -0
- package/dist/memory-reflection-W676LUX5.js +238 -0
- package/dist/notifications-OFLXZTDZ.js +45 -0
- package/dist/notifications-XAV4V7T5.js +45 -0
- package/dist/orchestration-events-MJLWJ2H2.js +25 -0
- package/dist/orchestrator-AIAKV5ST.js +33 -0
- package/dist/orchestrator-VK7D6I36.js +33 -0
- package/dist/pipeline-router-DXH5QVUH.js +13 -0
- package/dist/pipeline-router-EV6C5S33.js +13 -0
- package/dist/plan-limits-TQMLKZBG.js +26 -0
- package/dist/project-boot-4XTXHDG4.js +299 -0
- package/dist/projection-worker-NAYVNSI4.js +964 -0
- package/dist/reranker-KHZI7HQK.js +19 -0
- package/dist/reranker-UPMS3OX7.js +19 -0
- package/dist/reranker-ZN73HWSB.js +19 -0
- package/dist/review-polling-3UEZSPNT.js +124 -0
- package/dist/review-polling-KBDX3ILL.js +124 -0
- package/dist/runtime/index.js +11 -11
- package/dist/session-events-2CHOLA6D.js +36 -0
- package/dist/session-events-HM22KEHN.js +36 -0
- package/dist/session-kill-telemetry-LUPVYGZX.js +29 -0
- package/dist/session-scope-EPZZZHHJ.js +86 -0
- package/dist/session-scope-ZGE6GHMS.js +86 -0
- package/dist/setup-wizard-KNWH54HW.js +12 -0
- package/dist/skill-refinement-C4GNWV4F.js +157 -0
- package/dist/skill-refinement-CAUIE4YM.js +157 -0
- package/dist/steward-gate-MZ2DV36N.js +13 -0
- package/dist/task-enforcement-6OMXG6EA.js +333 -0
- package/dist/task-enforcement-JFSF6QDD.js +333 -0
- package/dist/task-scope-4HJSCJ7L.js +35 -0
- package/dist/task-scope-7HYE4AS6.js +35 -0
- package/dist/tasks-crud-JJL6MMJF.js +77 -0
- package/dist/tasks-crud-KMIPDHBZ.js +77 -0
- package/dist/tasks-notify-5D6LF52K.js +38 -0
- package/dist/tasks-notify-JNGGXFUY.js +38 -0
- package/dist/tasks-review-N6I5UC7G.js +47 -0
- package/dist/tasks-review-USHAMO5N.js +47 -0
- package/dist/telemetry-upload-BV2M2NND.js +739 -0
- package/dist/telemetry-upload-Y7QPDJW4.js +739 -0
- package/dist/token-budget-2LUZOFO7.js +84 -0
- package/dist/tool-telemetry-5JT6DPVK.js +17 -0
- package/dist/tui/App.js +16 -16
- package/dist/tui-data-DMAKZMGD.js +258 -0
- package/dist/tui-data-X7NI6ZQ3.js +258 -0
- package/dist/wiki-acl-QHGGWX63.js +111 -0
- package/dist/worker-gate-4XKUOFWO.js +21 -0
- package/dist/worker-gate-TPZBOXOA.js +21 -0
- package/dist/workflow-engine-F3URLOPA.js +28 -0
- package/dist/workflow-engine-OFOL446Z.js +28 -0
- package/dist/worktree-V3NVP7MV.js +26 -0
- package/dist/worktree-sweep-2CADL43Y.js +19 -0
- package/package.json +1 -1
- package/release-notes.json +16 -15
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getClient
|
|
3
|
+
} from "./chunk-RHZ2CRJU.js";
|
|
4
|
+
import "./chunk-2I23RPSI.js";
|
|
5
|
+
import "./chunk-P2DOIWQG.js";
|
|
6
|
+
import "./chunk-FXU7JOXK.js";
|
|
7
|
+
import "./chunk-VXIMSRTO.js";
|
|
8
|
+
import "./chunk-LYH5HE24.js";
|
|
9
|
+
import "./chunk-MLKGABMK.js";
|
|
10
|
+
|
|
11
|
+
// src/lib/graph-auto-extract.ts
|
|
12
|
+
import { readFileSync, statSync } from "fs";
|
|
13
|
+
var TECH_NAMES = [
|
|
14
|
+
"PostgreSQL",
|
|
15
|
+
"SQLCipher",
|
|
16
|
+
"Cloudflare Workers",
|
|
17
|
+
"Redis",
|
|
18
|
+
"ClickHouse",
|
|
19
|
+
"Prisma",
|
|
20
|
+
"TypeORM",
|
|
21
|
+
"pgvector",
|
|
22
|
+
"Docker",
|
|
23
|
+
"nginx",
|
|
24
|
+
"Tailscale",
|
|
25
|
+
"BullMQ",
|
|
26
|
+
"Tauri",
|
|
27
|
+
"Remotion",
|
|
28
|
+
"libsql",
|
|
29
|
+
"Turso",
|
|
30
|
+
"SQLite",
|
|
31
|
+
"Node\\.js"
|
|
32
|
+
];
|
|
33
|
+
var TECH_PATTERN = new RegExp(`\\b(${TECH_NAMES.join("|")})\\b`, "gi");
|
|
34
|
+
function entityId(name, type) {
|
|
35
|
+
return `auto:${type}:${name.toLowerCase().replace(/[^a-z0-9]/g, "-")}`;
|
|
36
|
+
}
|
|
37
|
+
function extractFromMarkdown(filePath) {
|
|
38
|
+
const content = readFileSync(filePath, "utf8");
|
|
39
|
+
const entities = [];
|
|
40
|
+
const relationships = [];
|
|
41
|
+
const seen = /* @__PURE__ */ new Set();
|
|
42
|
+
function addEntity(name, type, description) {
|
|
43
|
+
const key = `${type}:${name.toLowerCase()}`;
|
|
44
|
+
if (!seen.has(key)) {
|
|
45
|
+
seen.add(key);
|
|
46
|
+
entities.push({ name, type, sourceFile: filePath, description });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
for (const match of content.matchAll(/([a-z0-9-]+\.askexe\.com)/g)) {
|
|
50
|
+
addEntity(match[1], "domain");
|
|
51
|
+
}
|
|
52
|
+
for (const match of content.matchAll(/\b(exe-[a-z-]+|exed)\b/g)) {
|
|
53
|
+
addEntity(match[1], "service");
|
|
54
|
+
}
|
|
55
|
+
for (const match of content.matchAll(TECH_PATTERN)) {
|
|
56
|
+
addEntity(match[1], "technology");
|
|
57
|
+
}
|
|
58
|
+
for (const match of content.matchAll(/^###\s+(.+?)\s*\(.*?(\d{4}-\d{2}-\d{2}).*?\)/gm)) {
|
|
59
|
+
addEntity(match[1], "decision", `Captured ${match[2]}`);
|
|
60
|
+
}
|
|
61
|
+
for (const match of content.matchAll(/Kill:\s*(\S+)\s*\(→\s*(\S+)\)/g)) {
|
|
62
|
+
relationships.push({
|
|
63
|
+
source: match[2],
|
|
64
|
+
sourceType: "domain",
|
|
65
|
+
target: match[1],
|
|
66
|
+
targetType: "domain",
|
|
67
|
+
type: "REPLACES",
|
|
68
|
+
sourceFile: filePath
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
for (const match of content.matchAll(/(\S+)\s+routes?\s+(?:to|through)\s+(\S+)/gi)) {
|
|
72
|
+
relationships.push({
|
|
73
|
+
source: match[1],
|
|
74
|
+
sourceType: "concept",
|
|
75
|
+
target: match[2],
|
|
76
|
+
targetType: "concept",
|
|
77
|
+
type: "ROUTES_TO",
|
|
78
|
+
sourceFile: filePath
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
for (const match of content.matchAll(/(\S+)\s+connects?\s+to\s+(\S+)/gi)) {
|
|
82
|
+
relationships.push({
|
|
83
|
+
source: match[1],
|
|
84
|
+
sourceType: "concept",
|
|
85
|
+
target: match[2],
|
|
86
|
+
targetType: "concept",
|
|
87
|
+
type: "CONNECTS_TO",
|
|
88
|
+
sourceFile: filePath
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
return { entities, relationships };
|
|
92
|
+
}
|
|
93
|
+
async function upsertExtractedGraph(extracted) {
|
|
94
|
+
const client = getClient();
|
|
95
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
96
|
+
let entitiesStored = 0;
|
|
97
|
+
let relsStored = 0;
|
|
98
|
+
for (const e of extracted.entities) {
|
|
99
|
+
const id = entityId(e.name, e.type);
|
|
100
|
+
const props = JSON.stringify({
|
|
101
|
+
source_file: e.sourceFile,
|
|
102
|
+
source_type: "auto_extract",
|
|
103
|
+
...e.description ? { description: e.description } : {}
|
|
104
|
+
});
|
|
105
|
+
try {
|
|
106
|
+
await client.execute({
|
|
107
|
+
sql: `INSERT INTO entities (id, name, type, first_seen, last_seen, properties)
|
|
108
|
+
VALUES (?, ?, ?, ?, ?, ?)
|
|
109
|
+
ON CONFLICT(name, type) DO UPDATE SET last_seen = ?, properties = ?`,
|
|
110
|
+
args: [id, e.name, e.type, now, now, props, now, props]
|
|
111
|
+
});
|
|
112
|
+
entitiesStored++;
|
|
113
|
+
} catch {
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
for (const r of extracted.relationships) {
|
|
117
|
+
const sourceId = entityId(r.source, r.sourceType);
|
|
118
|
+
const targetId = entityId(r.target, r.targetType);
|
|
119
|
+
const relId = `auto:rel:${sourceId}-${r.type}-${targetId}`;
|
|
120
|
+
const props = JSON.stringify({
|
|
121
|
+
source_file: r.sourceFile,
|
|
122
|
+
source_type: "auto_extract"
|
|
123
|
+
});
|
|
124
|
+
try {
|
|
125
|
+
await client.execute({
|
|
126
|
+
sql: `INSERT INTO relationships (id, source_entity_id, target_entity_id, type, weight, timestamp, properties)
|
|
127
|
+
VALUES (?, ?, ?, ?, 1.0, ?, ?)
|
|
128
|
+
ON CONFLICT(source_entity_id, target_entity_id, type) DO UPDATE SET timestamp = ?`,
|
|
129
|
+
args: [relId, sourceId, targetId, r.type, now, props, now]
|
|
130
|
+
});
|
|
131
|
+
relsStored++;
|
|
132
|
+
} catch {
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return { entities: entitiesStored, relationships: relsStored };
|
|
136
|
+
}
|
|
137
|
+
async function autoExtractGraphEntities(projectRoot) {
|
|
138
|
+
const root = projectRoot ?? process.cwd();
|
|
139
|
+
const candidates = [
|
|
140
|
+
`${root}/.planning/ARCHITECTURE.md`,
|
|
141
|
+
`${root}/ARCHITECTURE.md`,
|
|
142
|
+
`${root}/exe/ARCHITECTURE.md`
|
|
143
|
+
];
|
|
144
|
+
let totalEntities = 0;
|
|
145
|
+
let totalRels = 0;
|
|
146
|
+
for (const filePath of candidates) {
|
|
147
|
+
try {
|
|
148
|
+
statSync(filePath);
|
|
149
|
+
const extracted = extractFromMarkdown(filePath);
|
|
150
|
+
const result = await upsertExtractedGraph(extracted);
|
|
151
|
+
totalEntities += result.entities;
|
|
152
|
+
totalRels += result.relationships;
|
|
153
|
+
} catch {
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return { entities: totalEntities, relationships: totalRels };
|
|
157
|
+
}
|
|
158
|
+
export {
|
|
159
|
+
autoExtractGraphEntities,
|
|
160
|
+
extractFromMarkdown,
|
|
161
|
+
upsertExtractedGraph
|
|
162
|
+
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-HCULUL4D.js";
|
|
4
|
+
import "../chunk-MPG5DR3K.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-CGQRWCCP.js";
|
|
8
|
+
import "../chunk-KBYRYSXT.js";
|
|
9
|
+
import "../chunk-A3G4UXNA.js";
|
|
10
10
|
import "../chunk-5CHYEKMH.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-TSBMSHMM.js";
|
|
13
13
|
import "../chunk-MVW62NIZ.js";
|
|
14
14
|
import "../chunk-OYNKIAVW.js";
|
|
15
15
|
import "../chunk-CX6GL3ZJ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-XIT6ONPY.js";
|
|
17
17
|
import "../chunk-XJUUWHVN.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-C4BIYP5C.js";
|
|
20
20
|
import "../chunk-CVYC6DUW.js";
|
|
21
21
|
import "../chunk-OPU3NYOO.js";
|
|
22
22
|
import "../chunk-GJV3WDWM.js";
|
|
23
23
|
import "../chunk-MP2AFCGL.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-VF6VT4MR.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
getClient
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-RHZ2CRJU.js";
|
|
29
29
|
import "../chunk-2I23RPSI.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-P2DOIWQG.js";
|
|
31
31
|
import "../chunk-FXU7JOXK.js";
|
|
32
32
|
import "../chunk-MOZ2YQ54.js";
|
|
33
33
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-HCULUL4D.js";
|
|
4
|
+
import "../chunk-MPG5DR3K.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-CGQRWCCP.js";
|
|
8
8
|
import {
|
|
9
9
|
listTasks
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-KBYRYSXT.js";
|
|
11
|
+
import "../chunk-A3G4UXNA.js";
|
|
12
12
|
import "../chunk-5CHYEKMH.js";
|
|
13
13
|
import "../chunk-4JERP7NT.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-TSBMSHMM.js";
|
|
15
15
|
import "../chunk-MVW62NIZ.js";
|
|
16
16
|
import "../chunk-OYNKIAVW.js";
|
|
17
17
|
import "../chunk-CX6GL3ZJ.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-XIT6ONPY.js";
|
|
19
19
|
import "../chunk-XJUUWHVN.js";
|
|
20
20
|
import "../chunk-NGP6LSV2.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-C4BIYP5C.js";
|
|
22
22
|
import "../chunk-CVYC6DUW.js";
|
|
23
23
|
import "../chunk-OPU3NYOO.js";
|
|
24
24
|
import "../chunk-GJV3WDWM.js";
|
|
25
25
|
import "../chunk-MP2AFCGL.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-VF6VT4MR.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-RHZ2CRJU.js";
|
|
31
31
|
import "../chunk-2I23RPSI.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-P2DOIWQG.js";
|
|
33
33
|
import "../chunk-FXU7JOXK.js";
|
|
34
34
|
import "../chunk-MOZ2YQ54.js";
|
|
35
35
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-43O2PZH7.js";
|
|
5
|
+
import "../chunk-KBYRYSXT.js";
|
|
6
|
+
import "../chunk-A3G4UXNA.js";
|
|
7
7
|
import "../chunk-5CHYEKMH.js";
|
|
8
8
|
import "../chunk-4JERP7NT.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-TSBMSHMM.js";
|
|
10
10
|
import "../chunk-MVW62NIZ.js";
|
|
11
11
|
import "../chunk-OYNKIAVW.js";
|
|
12
12
|
import "../chunk-CX6GL3ZJ.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-XIT6ONPY.js";
|
|
14
14
|
import "../chunk-XJUUWHVN.js";
|
|
15
15
|
import "../chunk-NGP6LSV2.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-C4BIYP5C.js";
|
|
17
17
|
import "../chunk-CVYC6DUW.js";
|
|
18
18
|
import "../chunk-OPU3NYOO.js";
|
|
19
19
|
import "../chunk-GJV3WDWM.js";
|
|
20
20
|
import "../chunk-MP2AFCGL.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-VF6VT4MR.js";
|
|
22
22
|
import "../chunk-HYZV25LY.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-RHZ2CRJU.js";
|
|
24
24
|
import "../chunk-2I23RPSI.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-P2DOIWQG.js";
|
|
26
26
|
import "../chunk-FXU7JOXK.js";
|
|
27
27
|
import "../chunk-MOZ2YQ54.js";
|
|
28
28
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -81,13 +81,13 @@ async function main() {
|
|
|
81
81
|
const changedFiles = getChangedFiles(commitHash);
|
|
82
82
|
let client;
|
|
83
83
|
try {
|
|
84
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
84
|
+
const { fastDbInit } = await import("../fast-db-init-M6ZYYGAL.js");
|
|
85
85
|
client = await fastDbInit();
|
|
86
86
|
} catch {
|
|
87
87
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
90
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-JJL6MMJF.js");
|
|
91
91
|
const tasks = await listTasks({
|
|
92
92
|
assignedTo: agentId,
|
|
93
93
|
status: "in_progress",
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-SUGBKORD.js";
|
|
8
8
|
import {
|
|
9
9
|
initStore
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-FP6U5PSY.js";
|
|
11
11
|
import "../chunk-CHCA3ZM2.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-OVQOKLYA.js";
|
|
13
13
|
import "../chunk-SH45SJQW.js";
|
|
14
14
|
import {
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-BH2ST7KK.js";
|
|
17
17
|
import "../chunk-Y25OJWOQ.js";
|
|
18
18
|
import "../chunk-CVYC6DUW.js";
|
|
19
19
|
import "../chunk-GJV3WDWM.js";
|
|
@@ -21,9 +21,9 @@ import "../chunk-MP2AFCGL.js";
|
|
|
21
21
|
import "../chunk-HYZV25LY.js";
|
|
22
22
|
import {
|
|
23
23
|
getClient
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-RHZ2CRJU.js";
|
|
25
25
|
import "../chunk-2I23RPSI.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-P2DOIWQG.js";
|
|
27
27
|
import "../chunk-FXU7JOXK.js";
|
|
28
28
|
import "../chunk-K333WOW4.js";
|
|
29
29
|
import {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BH2ST7KK.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-RHZ2CRJU.js";
|
|
10
10
|
import "../chunk-2I23RPSI.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-P2DOIWQG.js";
|
|
12
12
|
import "../chunk-FXU7JOXK.js";
|
|
13
13
|
import "../chunk-VXIMSRTO.js";
|
|
14
14
|
import "../chunk-LYH5HE24.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-BCUMPA7J.js";
|
|
5
5
|
import {
|
|
6
6
|
classifyError,
|
|
7
7
|
detectError,
|
|
@@ -15,7 +15,7 @@ import "../chunk-YSU7JB7H.js";
|
|
|
15
15
|
import "../chunk-SH45SJQW.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-BH2ST7KK.js";
|
|
19
19
|
import {
|
|
20
20
|
getSessionKey
|
|
21
21
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -23,9 +23,9 @@ import "../chunk-GJV3WDWM.js";
|
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
getCoordinatorName
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-RHZ2CRJU.js";
|
|
27
27
|
import "../chunk-2I23RPSI.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-P2DOIWQG.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
30
|
import {
|
|
31
31
|
EXE_AI_DIR,
|
|
@@ -115,7 +115,7 @@ process.stdin.on("end", async () => {
|
|
|
115
115
|
if (filePath) {
|
|
116
116
|
const { initStore } = await import("../lib/store.js");
|
|
117
117
|
await initStore({ lightweight: true });
|
|
118
|
-
const { recordFileRead } = await import("../git-staleness-
|
|
118
|
+
const { recordFileRead } = await import("../git-staleness-4DGYC3RY.js");
|
|
119
119
|
await recordFileRead(
|
|
120
120
|
data.session_id,
|
|
121
121
|
agent.agentId,
|
|
@@ -321,7 +321,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
321
321
|
if (taskData.taskId) {
|
|
322
322
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
323
323
|
await cpInit();
|
|
324
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
324
|
+
const { writeCheckpoint } = await import("../tasks-crud-JJL6MMJF.js");
|
|
325
325
|
await writeCheckpoint({
|
|
326
326
|
taskId: taskData.taskId,
|
|
327
327
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BH2ST7KK.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-RHZ2CRJU.js";
|
|
10
10
|
import "../chunk-2I23RPSI.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-P2DOIWQG.js";
|
|
12
12
|
import "../chunk-FXU7JOXK.js";
|
|
13
13
|
import "../chunk-VXIMSRTO.js";
|
|
14
14
|
import "../chunk-LYH5HE24.js";
|
|
@@ -55,7 +55,7 @@ process.stdin.on("end", async () => {
|
|
|
55
55
|
pass = false;
|
|
56
56
|
}
|
|
57
57
|
try {
|
|
58
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
58
|
+
const { fastDbInit } = await import("../fast-db-init-M6ZYYGAL.js");
|
|
59
59
|
await fastDbInit();
|
|
60
60
|
const { getClient } = await import("../lib/database.js");
|
|
61
61
|
const client = getClient();
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-10T05:28:22.455Z",
|
|
4
4
|
"hashes": {
|
|
5
|
-
"bug-report-worker.js": "
|
|
6
|
-
"codex-stop-task-finalizer.js": "
|
|
7
|
-
"commit-complete.js": "
|
|
8
|
-
"error-recall.js": "
|
|
9
|
-
"exe-heartbeat-hook.js": "
|
|
5
|
+
"bug-report-worker.js": "02dc806c6b146865696cae2002c39d0635ca9dec8fbe9336e4526623237a7ca5",
|
|
6
|
+
"codex-stop-task-finalizer.js": "e88eab00c4e8e5908a9de416106a7664b38b25c80294087f0c94a3fda9ea7619",
|
|
7
|
+
"commit-complete.js": "1740c122d05d7c404b71ca116f7acc4af347af7ce72ae59ce5f43bf60072fa53",
|
|
8
|
+
"error-recall.js": "f79bd519758158bdf48ba99a4df9da649b1020b261c9660f48f1773fd4e7638b",
|
|
9
|
+
"exe-heartbeat-hook.js": "f255e7466606211780bb6ef3f3a738aa63aecd90d21ac324d4cc325fc70d0f11",
|
|
10
10
|
"ingest-worker.js": "1f6a591f863d5bc540b0e11bb382d3ba13cf761709e4a82313f6f1d9fb9c18e2",
|
|
11
|
-
"ingest.js": "
|
|
12
|
-
"instructions-loaded.js": "
|
|
13
|
-
"notification.js": "
|
|
14
|
-
"post-compact.js": "
|
|
15
|
-
"post-tool-combined.js": "
|
|
16
|
-
"pre-compact.js": "
|
|
17
|
-
"pre-tool-use.js": "
|
|
18
|
-
"prompt-submit.js": "
|
|
19
|
-
"session-end.js": "
|
|
20
|
-
"session-start.js": "
|
|
21
|
-
"stop.js": "
|
|
22
|
-
"subagent-stop.js": "
|
|
23
|
-
"summary-worker.js": "
|
|
11
|
+
"ingest.js": "f9e1a3bc18b45ffcf044b750b7e7ac9db118857cf4d11cd4847151d2acefa72f",
|
|
12
|
+
"instructions-loaded.js": "651afff980daadd3068e57b488d36cc4e33c7e4791588c4376cc1538ea10a92e",
|
|
13
|
+
"notification.js": "3e639218d0191034182411c68fb646ddaad36e3fd6b328c612edb827ae3676d8",
|
|
14
|
+
"post-compact.js": "439bfd668586321c87cb2052e01512ebad9d38e50fab3f42853e77b890fd1fb0",
|
|
15
|
+
"post-tool-combined.js": "e59a059c867ca518672cc33c665be66d1c25e46d75a4bc867c441c1ed120b9da",
|
|
16
|
+
"pre-compact.js": "3d3462ab9d07fef8cd1d50c296fd5126c708366c60a69cb480bec491745e6897",
|
|
17
|
+
"pre-tool-use.js": "ac45286d898c8a23a664218b34cc3ce51be7754cd3300fdedea710b64f82f72b",
|
|
18
|
+
"prompt-submit.js": "6fcf0d66a58776d30b31185be8a894617620279c53e56d5af524efa938b5113f",
|
|
19
|
+
"session-end.js": "316ed4f1b79e20ded80610d74da699a722b75dfaa5cce07c936539adc97447fe",
|
|
20
|
+
"session-start.js": "c67aee17f286bf2d192bd4208d6338d016753c90af431f59edc9de5109ac140a",
|
|
21
|
+
"stop.js": "68b1ae1cacc19da22969e18c9c6bf4c026e99c1a4e9db785c4b44f4e40ef6bf1",
|
|
22
|
+
"subagent-stop.js": "426bfeaa0e851624f2e3748c4a1a9a4a2ba9e8c03cdc5c385b188697644efcf6",
|
|
23
|
+
"summary-worker.js": "5a342ac993804210a9c11e58575c549892d31c3a728f1558cb8484753547d68d"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BH2ST7KK.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-RHZ2CRJU.js";
|
|
8
8
|
import "../chunk-2I23RPSI.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-P2DOIWQG.js";
|
|
10
10
|
import "../chunk-FXU7JOXK.js";
|
|
11
11
|
import "../chunk-VXIMSRTO.js";
|
|
12
12
|
import "../chunk-LYH5HE24.js";
|
|
@@ -42,7 +42,7 @@ process.stdin.on("end", async () => {
|
|
|
42
42
|
process.exit(0);
|
|
43
43
|
}
|
|
44
44
|
try {
|
|
45
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
45
|
+
const { fastDbInit } = await import("../fast-db-init-M6ZYYGAL.js");
|
|
46
46
|
await fastDbInit();
|
|
47
47
|
const { getClient } = await import("../lib/database.js");
|
|
48
48
|
const { randomUUID } = await import("crypto");
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-BH2ST7KK.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-KBYRYSXT.js";
|
|
8
|
+
import "../chunk-A3G4UXNA.js";
|
|
9
9
|
import "../chunk-5CHYEKMH.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-TSBMSHMM.js";
|
|
12
12
|
import "../chunk-MVW62NIZ.js";
|
|
13
13
|
import "../chunk-OYNKIAVW.js";
|
|
14
14
|
import "../chunk-CX6GL3ZJ.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-XIT6ONPY.js";
|
|
16
16
|
import "../chunk-XJUUWHVN.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-C4BIYP5C.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-VF6VT4MR.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-RHZ2CRJU.js";
|
|
26
26
|
import "../chunk-2I23RPSI.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-P2DOIWQG.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
29
29
|
import "../chunk-MOZ2YQ54.js";
|
|
30
30
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -74,7 +74,7 @@ ${identity}`);
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
try {
|
|
77
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-M6ZYYGAL.js");
|
|
78
78
|
await fastDbInit();
|
|
79
79
|
const { getClient } = await import("../lib/database.js");
|
|
80
80
|
const client = getClient();
|
|
@@ -52,7 +52,7 @@ ${context}`
|
|
|
52
52
|
try {
|
|
53
53
|
const payload = JSON.parse(input);
|
|
54
54
|
const toolName = String(payload.tool_name ?? "");
|
|
55
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
55
|
+
const { getActiveAgent } = await import("../active-agent-JZ4PHIAK.js");
|
|
56
56
|
const driftAgent = getActiveAgent();
|
|
57
57
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
58
58
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -111,7 +111,7 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
111
111
|
}
|
|
112
112
|
try {
|
|
113
113
|
const payload = JSON.parse(input);
|
|
114
|
-
const { getActiveAgent: getInvAgent } = await import("../active-agent-
|
|
114
|
+
const { getActiveAgent: getInvAgent } = await import("../active-agent-JZ4PHIAK.js");
|
|
115
115
|
const invAgent = getInvAgent();
|
|
116
116
|
const { trackToolResult } = await import("../investigation-tracker-WSCY4XBP.js");
|
|
117
117
|
trackToolResult({
|
|
@@ -128,12 +128,12 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
128
128
|
}
|
|
129
129
|
try {
|
|
130
130
|
const data = JSON.parse(input);
|
|
131
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
131
|
+
const { getActiveAgent } = await import("../active-agent-JZ4PHIAK.js");
|
|
132
132
|
const { detectError } = await import("../lib/error-detector.js");
|
|
133
133
|
const agent = getActiveAgent();
|
|
134
134
|
try {
|
|
135
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
136
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
135
|
+
const { fastDbInit } = await import("../fast-db-init-M6ZYYGAL.js");
|
|
136
|
+
const { recordSessionEvent } = await import("../session-events-2CHOLA6D.js");
|
|
137
137
|
const client = await fastDbInit();
|
|
138
138
|
const toolName = String(data.tool_name ?? "unknown");
|
|
139
139
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VZXLYUKS.js";
|
|
5
5
|
import "../chunk-Q3GLQDZI.js";
|
|
6
6
|
import "../chunk-MEIHREPM.js";
|
|
7
7
|
import "../chunk-Z2AEOVEZ.js";
|
|
@@ -9,32 +9,32 @@ import "../chunk-7IZWLMTP.js";
|
|
|
9
9
|
import "../chunk-SH45SJQW.js";
|
|
10
10
|
import {
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-BH2ST7KK.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-KBYRYSXT.js";
|
|
16
|
+
import "../chunk-A3G4UXNA.js";
|
|
17
17
|
import "../chunk-5CHYEKMH.js";
|
|
18
18
|
import "../chunk-4JERP7NT.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-TSBMSHMM.js";
|
|
20
20
|
import "../chunk-MVW62NIZ.js";
|
|
21
21
|
import "../chunk-OYNKIAVW.js";
|
|
22
22
|
import "../chunk-CX6GL3ZJ.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-XIT6ONPY.js";
|
|
24
24
|
import "../chunk-XJUUWHVN.js";
|
|
25
25
|
import "../chunk-NGP6LSV2.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-C4BIYP5C.js";
|
|
27
27
|
import "../chunk-CVYC6DUW.js";
|
|
28
28
|
import "../chunk-OPU3NYOO.js";
|
|
29
29
|
import "../chunk-GJV3WDWM.js";
|
|
30
30
|
import "../chunk-MP2AFCGL.js";
|
|
31
31
|
import "../chunk-3XX3CDKF.js";
|
|
32
32
|
import "../chunk-PWMMIGVQ.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-VF6VT4MR.js";
|
|
34
34
|
import "../chunk-HYZV25LY.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-RHZ2CRJU.js";
|
|
36
36
|
import "../chunk-2I23RPSI.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-P2DOIWQG.js";
|
|
38
38
|
import "../chunk-FXU7JOXK.js";
|
|
39
39
|
import "../chunk-MOZ2YQ54.js";
|
|
40
40
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -68,7 +68,7 @@ process.stdin.on("end", async () => {
|
|
|
68
68
|
const agent = getActiveAgent();
|
|
69
69
|
const sections = [];
|
|
70
70
|
try {
|
|
71
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
71
|
+
const { fastDbInit } = await import("../fast-db-init-M6ZYYGAL.js");
|
|
72
72
|
const client = await fastDbInit();
|
|
73
73
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
74
74
|
const pcScope = sessionScopeFilter();
|