@askexenow/exe-os 0.9.294 → 0.9.296
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/cloudflared/config.yml.example +14 -9
- package/deploy/compose/docker-compose.yml +86 -8
- package/deploy/compose/sso-edge/default.conf.template +87 -0
- package/deploy/compose/sso-edge/entrypoint.sh +23 -0
- package/deploy/compose/sso-edge/sso-redirect.conf +63 -0
- package/deploy/stack-manifests/v0.9.json +2 -2
- package/dist/active-agent-AFX2FODG.js +28 -0
- package/dist/active-agent-E2IJA7YX.js +27 -0
- package/dist/agentic-ontology-A2YUZK5O.js +25 -0
- package/dist/assets/com.askexe.exed.plist +4 -1
- package/dist/backfill-metadata-OC7EOD5U.js +600 -0
- package/dist/behaviors-H5ZOVHDH.js +46 -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 +6 -6
- package/dist/bin/backfill-responses.js +6 -6
- package/dist/bin/backfill-vectors.js +8 -8
- package/dist/bin/bulk-sync-postgres.js +7 -7
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +11 -11
- package/dist/bin/cli.js +16 -16
- package/dist/bin/deferred-daemon-restart.js +1 -1
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +21 -18
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +7 -7
- package/dist/bin/exe-dispatch.js +11 -11
- package/dist/bin/exe-doctor.js +3 -2
- 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 -4
- package/dist/bin/exe-heartbeat.js +11 -11
- package/dist/bin/exe-kill.js +14 -14
- package/dist/bin/exe-launch-agent.js +18 -18
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +12 -12
- package/dist/bin/exe-pending-notifications.js +11 -11
- package/dist/bin/exe-pending-reviews.js +11 -11
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +13 -13
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +16 -16
- package/dist/bin/exe-settings.js +39 -9
- package/dist/bin/exe-start-codex.js +11 -11
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +12 -12
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +12 -12
- 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-launchd.js +13 -6
- package/dist/bin/install.js +26 -14
- 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 +11 -11
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/bin/stack-update.js +2 -2
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/capability-cards-4USI7CUW.js +89 -0
- package/dist/capacity-monitor-WLCBTEYR.js +51 -0
- package/dist/catchup-brief-ZR3NX6LZ.js +175 -0
- package/dist/chunk-22TVSRQQ.js +226 -0
- package/dist/chunk-2E43UXRH.js +395 -0
- package/dist/chunk-2PIGT6UJ.js +460 -0
- package/dist/chunk-3XTMW2MZ.js +535 -0
- package/dist/chunk-465PQFTH.js +262 -0
- package/dist/chunk-5CCXU2AW.js +129 -0
- package/dist/chunk-5D6MPWR7.js +1094 -0
- package/dist/chunk-5Q4MR6SL.js +123 -0
- package/dist/chunk-6327RBWR.js +345 -0
- package/dist/chunk-6MZZREZY.js +199 -0
- package/dist/chunk-7DI2Q4O5.js +1186 -0
- package/dist/chunk-7PW5VNIY.js +122 -0
- package/dist/chunk-7T7Y56HW.js +43 -0
- package/dist/chunk-7UHCWCLT.js +128 -0
- package/dist/chunk-A2ZUMF6L.js +1350 -0
- package/dist/chunk-AKV44JEH.js +185 -0
- package/dist/chunk-ANHWGX5N.js +735 -0
- package/dist/chunk-BQ3P4TKD.js +97 -0
- package/dist/chunk-BUZMT3KZ.js +604 -0
- package/dist/chunk-C2SBESBO.js +210 -0
- package/dist/chunk-CLSXZUZW.js +51 -0
- package/dist/chunk-CONHLVAR.js +1079 -0
- package/dist/chunk-D3WTZPFX.js +456 -0
- package/dist/chunk-DE6SOIYL.js +197 -0
- package/dist/chunk-EIVNMA3Q.js +284 -0
- package/dist/chunk-EJIF4FNT.js +12 -0
- package/dist/chunk-FDFOW564.js +171 -0
- package/dist/chunk-GZUBJ5EC.js +127 -0
- package/dist/chunk-HGZITN22.js +105 -0
- package/dist/chunk-HSRKDU6X.js +362 -0
- package/dist/chunk-IIEN2PHV.js +85 -0
- package/dist/chunk-JQ56VLMM.js +567 -0
- package/dist/chunk-JVHHXRFY.js +280 -0
- package/dist/chunk-JXCXGZ3S.js +55 -0
- package/dist/chunk-K5ZO532Q.js +4388 -0
- package/dist/chunk-K6CAAMXF.js +97 -0
- package/dist/chunk-KA26YTNU.js +81 -0
- package/dist/chunk-KMUW5C3R.js +381 -0
- package/dist/chunk-KOO3J5PV.js +20 -0
- package/dist/chunk-LSV7OFIH.js +290 -0
- package/dist/chunk-LSVFDVNY.js +1158 -0
- package/dist/chunk-LXDQTW32.js +230 -0
- package/dist/chunk-MEP7OUVZ.js +181 -0
- package/dist/chunk-MN2B2LKS.js +240 -0
- package/dist/chunk-N2EAYPYQ.js +1352 -0
- package/dist/chunk-N7I2A667.js +70 -0
- package/dist/chunk-NLZHVIOP.js +630 -0
- package/dist/chunk-NUH5TRZL.js +227 -0
- package/dist/chunk-OAHEIH3G.js +167 -0
- package/dist/chunk-OBHRQGCK.js +58 -0
- package/dist/chunk-ODFA7B2V.js +54 -0
- package/dist/chunk-OSNUP45F.js +731 -0
- package/dist/chunk-OTPRHBTO.js +33 -0
- package/dist/chunk-P6MUA4QU.js +157 -0
- package/dist/chunk-PGIOFKSK.js +2093 -0
- package/dist/chunk-PSE7VHWK.js +50 -0
- package/dist/chunk-QIFUVZFW.js +331 -0
- package/dist/chunk-RDPXKTVK.js +221 -0
- package/dist/chunk-RKYTYJGB.js +76 -0
- package/dist/chunk-RXLR6EFM.js +348 -0
- package/dist/chunk-SDB67PQJ.js +159 -0
- package/dist/chunk-SF2T7MP3.js +402 -0
- package/dist/chunk-SLU3FRFQ.js +2133 -0
- package/dist/chunk-SNDZJ5IV.js +214 -0
- package/dist/chunk-STEEAABW.js +448 -0
- package/dist/chunk-TUTWNHIQ.js +244 -0
- package/dist/chunk-UDP35QBR.js +30 -0
- package/dist/chunk-UKFHNJBI.js +85 -0
- package/dist/chunk-VC2DTK2X.js +382 -0
- package/dist/chunk-VRRAE5JX.js +836 -0
- package/dist/chunk-VVJTBQPR.js +38 -0
- package/dist/chunk-W3EQ362K.js +581 -0
- package/dist/chunk-WHIXIFHC.js +2242 -0
- package/dist/chunk-WRNGJJNR.js +377 -0
- package/dist/chunk-WUKHLCBE.js +3313 -0
- package/dist/chunk-WVPLHGDG.js +150 -0
- package/dist/chunk-XJZBSTL5.js +204 -0
- package/dist/chunk-Y3PMNUM5.js +304 -0
- package/dist/chunk-YHVS4QOV.js +14597 -0
- package/dist/chunk-YJ2OYAOC.js +668 -0
- package/dist/chunk-YYAD2GXX.js +128 -0
- package/dist/chunk-ZQML7EWE.js +333 -0
- package/dist/co-activation-XJLH46OX.js +74 -0
- package/dist/co-occurrence-GNN2X526.js +95 -0
- package/dist/code-context-index-OCPRLFG5.js +30 -0
- package/dist/core-memory-J4W2IYOF.js +110 -0
- package/dist/crdt-sync-QCBTSHIH.js +33 -0
- package/dist/crm-webhook-EM442VUW.js +10 -0
- package/dist/cto-delegation-gate-MLJMVHBK.js +280 -0
- package/dist/daemon-orchestration-2VNLZVTW.js +139 -0
- package/dist/db-backup-VUGFTPJ4.js +43 -0
- package/dist/doc-graph-extractor-PNRSFPSS.js +133 -0
- package/dist/dreaming-SK5VEQRF.js +34 -0
- package/dist/entity-boost-TQWWJUC2.js +375 -0
- package/dist/exe-drift-N34UPO7S.js +70 -0
- package/dist/exe-export-KACBKGVV.js +77 -0
- package/dist/exe-import-GXGDWACG.js +80 -0
- package/dist/exe-key-XPDOZBWW.js +673 -0
- package/dist/exe-snapshot-32GQKGQ5.js +338 -0
- package/dist/fast-db-init-F3TDD5VV.js +7 -0
- package/dist/gateway/index.js +8 -8
- package/dist/git-staleness-J45WNYRF.js +112 -0
- package/dist/git-task-sweep-BTGVQPFB.js +42 -0
- package/dist/global-procedures-6JCQWU4D.js +22 -0
- package/dist/graph-auto-extract-3ZQNXTPC.js +183 -0
- package/dist/hooks/bug-report-worker.js +13 -13
- package/dist/hooks/codex-stop-task-finalizer.js +13 -13
- package/dist/hooks/commit-complete.js +13 -13
- package/dist/hooks/error-recall.js +6 -6
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest-worker.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +12 -12
- package/dist/hooks/post-tool-combined.js +6 -6
- package/dist/hooks/pre-compact.js +16 -16
- package/dist/hooks/pre-tool-use.js +16 -16
- package/dist/hooks/prompt-submit.js +24 -24
- package/dist/hooks/session-end.js +21 -21
- package/dist/hooks/session-start.js +12 -12
- package/dist/hooks/stop.js +19 -19
- package/dist/hooks/subagent-stop.js +12 -12
- package/dist/hooks/summary-worker.js +19 -19
- package/dist/index.js +19 -19
- package/dist/installer-5VPFY7SB.js +298 -0
- package/dist/installer-OENFPMA2.js +344 -0
- package/dist/installer-OIX4QOG5.js +40 -0
- package/dist/lib/cloud-sync.js +7 -7
- package/dist/lib/consolidation.js +6 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-daemon-client.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/embed-worker.js +1 -0
- package/dist/lib/embedder.js +7 -3
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon-client.js +2 -2
- package/dist/lib/exe-daemon.js +160 -79
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/messaging.js +11 -11
- 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 +6 -6
- package/dist/lib/store.js +4 -4
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +12 -12
- package/dist/lib/tmux-routing.js +12 -10
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +3 -3
- package/dist/lib/transport.js +2 -2
- package/dist/mcp/register-tools.js +62 -61
- package/dist/mcp/server.js +63 -62
- 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 +14 -14
- package/dist/mcp/tools/deactivate-behavior.js +7 -7
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +14 -14
- package/dist/mcp/tools/send-message.js +13 -13
- package/dist/mcp/tools/update-task.js +13 -13
- package/dist/mcp-http-config-PQTOLCTP.js +29 -0
- package/dist/memory-cards-4RVDZIY2.js +180 -0
- package/dist/memory-graph-extractor-L6YC7G4M.js +22 -0
- package/dist/memory-poisoning-defense-4YVJYH4G.js +224 -0
- package/dist/memory-queue-client-MVAUOZNJ.js +16 -0
- package/dist/memory-reflection-SHHDQNOH.js +244 -0
- package/dist/message-queue-client-DCKZT6X2.js +92 -0
- package/dist/notifications-JFR3G42W.js +47 -0
- package/dist/orchestration-events-MGCGPTDN.js +27 -0
- package/dist/orchestrator-DAFL2YZB.js +35 -0
- package/dist/pipeline-router-WWSZVPCH.js +15 -0
- package/dist/plan-limits-C7XCSDZC.js +28 -0
- package/dist/project-boot-N3NTBVLE.js +299 -0
- package/dist/projection-worker-MTPAPCWX.js +1084 -0
- package/dist/prospective-memory-BTIVUJSB.js +232 -0
- package/dist/reranker-UA6WVESJ.js +19 -0
- package/dist/retrieval-health-7XNZJEBF.js +12 -0
- package/dist/review-polling-4ALGMXC3.js +126 -0
- package/dist/runtime/index.js +13 -13
- package/dist/self-query-router-MROFQLQB.js +192 -0
- package/dist/session-events-CK44XOU4.js +38 -0
- package/dist/session-kill-telemetry-MT6ITDOG.js +31 -0
- package/dist/session-scope-3XDBWV65.js +88 -0
- package/dist/setup-wizard-X6DOD7MC.js +12 -0
- package/dist/skill-refinement-G2CCY3GM.js +159 -0
- package/dist/stack-update-JF7F56AS.js +84 -0
- package/dist/steward-gate-YF2CYXE7.js +15 -0
- package/dist/task-enforcement-YN6HK7NE.js +506 -0
- package/dist/task-scope-CVK6ISCZ.js +37 -0
- package/dist/tasks-crud-NTNET4JE.js +79 -0
- package/dist/tasks-notify-4LJVFPCV.js +40 -0
- package/dist/tasks-review-3V4WOIRG.js +49 -0
- package/dist/telemetry-upload-5PNUKGTM.js +741 -0
- package/dist/token-budget-E46G7ZAQ.js +86 -0
- package/dist/tool-capability-index-JDSMKJER.js +10 -0
- package/dist/tool-telemetry-J3NLS3LJ.js +17 -0
- package/dist/tui/App.js +18 -18
- package/dist/tui-data-6DOMUUCM.js +260 -0
- package/dist/wiki-acl-5UK37LKF.js +111 -0
- package/dist/worker-gate-FM7AEC7G.js +21 -0
- package/dist/workflow-engine-2EDUHUIY.js +28 -0
- package/dist/worktree-7YKKJIYR.js +28 -0
- package/dist/worktree-sweep-C3ELFGDN.js +21 -0
- package/package.json +1 -1
- package/release-notes.json +88 -88
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import {
|
|
2
|
+
entityId,
|
|
3
|
+
normalizeEntityName
|
|
4
|
+
} from "./chunk-6OAAN25C.js";
|
|
5
|
+
import "./chunk-GUMRIUI5.js";
|
|
6
|
+
import "./chunk-I7AW4237.js";
|
|
7
|
+
import {
|
|
8
|
+
getClient
|
|
9
|
+
} from "./chunk-WUKHLCBE.js";
|
|
10
|
+
import "./chunk-2I23RPSI.js";
|
|
11
|
+
import "./chunk-2E43UXRH.js";
|
|
12
|
+
import "./chunk-PNQDP3OA.js";
|
|
13
|
+
import "./chunk-7HLWBYH7.js";
|
|
14
|
+
import "./chunk-FXU7JOXK.js";
|
|
15
|
+
import "./chunk-R36FAN53.js";
|
|
16
|
+
import "./chunk-LYH5HE24.js";
|
|
17
|
+
import "./chunk-MLKGABMK.js";
|
|
18
|
+
|
|
19
|
+
// src/lib/graph-auto-extract.ts
|
|
20
|
+
import { readFileSync, statSync } from "fs";
|
|
21
|
+
var TECH_NAMES = [
|
|
22
|
+
"PostgreSQL",
|
|
23
|
+
"SQLCipher",
|
|
24
|
+
"Cloudflare Workers",
|
|
25
|
+
"Redis",
|
|
26
|
+
"ClickHouse",
|
|
27
|
+
"Prisma",
|
|
28
|
+
"TypeORM",
|
|
29
|
+
"pgvector",
|
|
30
|
+
"Docker",
|
|
31
|
+
"nginx",
|
|
32
|
+
"Tailscale",
|
|
33
|
+
"BullMQ",
|
|
34
|
+
"Tauri",
|
|
35
|
+
"Remotion",
|
|
36
|
+
"libsql",
|
|
37
|
+
"Turso",
|
|
38
|
+
"SQLite",
|
|
39
|
+
"Node\\.js"
|
|
40
|
+
];
|
|
41
|
+
var TECH_PATTERN = new RegExp(`\\b(${TECH_NAMES.join("|")})\\b`, "gi");
|
|
42
|
+
function extractFromMarkdown(filePath) {
|
|
43
|
+
const content = readFileSync(filePath, "utf8");
|
|
44
|
+
const entities = [];
|
|
45
|
+
const relationships = [];
|
|
46
|
+
const seen = /* @__PURE__ */ new Set();
|
|
47
|
+
function addEntity(name, type, description) {
|
|
48
|
+
const key = `${type}:${name.toLowerCase()}`;
|
|
49
|
+
if (!seen.has(key)) {
|
|
50
|
+
seen.add(key);
|
|
51
|
+
entities.push({ name, type, sourceFile: filePath, description });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
for (const match of content.matchAll(/([a-z0-9-]+\.askexe\.com)/g)) {
|
|
55
|
+
addEntity(match[1], "domain");
|
|
56
|
+
}
|
|
57
|
+
for (const match of content.matchAll(/\b(exe-[a-z-]+|exed)\b/g)) {
|
|
58
|
+
addEntity(match[1], "service");
|
|
59
|
+
}
|
|
60
|
+
for (const match of content.matchAll(TECH_PATTERN)) {
|
|
61
|
+
addEntity(match[1], "technology");
|
|
62
|
+
}
|
|
63
|
+
for (const match of content.matchAll(/^###\s+(.+?)\s*\(.*?(\d{4}-\d{2}-\d{2}).*?\)/gm)) {
|
|
64
|
+
addEntity(match[1], "decision", `Captured ${match[2]}`);
|
|
65
|
+
}
|
|
66
|
+
for (const match of content.matchAll(/Kill:\s*(\S+)\s*\(→\s*(\S+)\)/g)) {
|
|
67
|
+
relationships.push({
|
|
68
|
+
source: match[2],
|
|
69
|
+
sourceType: "domain",
|
|
70
|
+
target: match[1],
|
|
71
|
+
targetType: "domain",
|
|
72
|
+
type: "REPLACES",
|
|
73
|
+
sourceFile: filePath
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
for (const match of content.matchAll(/(\S+)\s+routes?\s+(?:to|through)\s+(\S+)/gi)) {
|
|
77
|
+
relationships.push({
|
|
78
|
+
source: match[1],
|
|
79
|
+
sourceType: "concept",
|
|
80
|
+
target: match[2],
|
|
81
|
+
targetType: "concept",
|
|
82
|
+
type: "ROUTES_TO",
|
|
83
|
+
sourceFile: filePath
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
for (const match of content.matchAll(/(\S+)\s+connects?\s+to\s+(\S+)/gi)) {
|
|
87
|
+
relationships.push({
|
|
88
|
+
source: match[1],
|
|
89
|
+
sourceType: "concept",
|
|
90
|
+
target: match[2],
|
|
91
|
+
targetType: "concept",
|
|
92
|
+
type: "CONNECTS_TO",
|
|
93
|
+
sourceFile: filePath
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
return { entities, relationships };
|
|
97
|
+
}
|
|
98
|
+
async function upsertExtractedGraph(extracted) {
|
|
99
|
+
const client = getClient();
|
|
100
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
101
|
+
let entitiesStored = 0;
|
|
102
|
+
let relsStored = 0;
|
|
103
|
+
const actualEntityIds = /* @__PURE__ */ new Map();
|
|
104
|
+
for (const e of extracted.entities) {
|
|
105
|
+
const normalizedName = normalizeEntityName(e.name);
|
|
106
|
+
const normalizedType = e.type.toLowerCase();
|
|
107
|
+
const id = entityId(normalizedName, normalizedType);
|
|
108
|
+
const props = JSON.stringify({
|
|
109
|
+
source_file: e.sourceFile,
|
|
110
|
+
source_type: "auto_extract",
|
|
111
|
+
...e.description ? { description: e.description } : {}
|
|
112
|
+
});
|
|
113
|
+
try {
|
|
114
|
+
await client.execute({
|
|
115
|
+
sql: `INSERT INTO entities (id, name, type, first_seen, last_seen, properties)
|
|
116
|
+
VALUES (?, ?, ?, ?, ?, ?)
|
|
117
|
+
ON CONFLICT(name, type) DO UPDATE SET last_seen = ?, properties = ?`,
|
|
118
|
+
args: [id, normalizedName, normalizedType, now, now, props, now, props]
|
|
119
|
+
});
|
|
120
|
+
const actual = await client.execute({
|
|
121
|
+
sql: "SELECT id FROM entities WHERE LOWER(name) = LOWER(?) AND type = ? LIMIT 1",
|
|
122
|
+
args: [normalizedName, normalizedType]
|
|
123
|
+
});
|
|
124
|
+
actualEntityIds.set(
|
|
125
|
+
`${normalizedType}:${normalizedName}`,
|
|
126
|
+
actual.rows[0]?.id ? String(actual.rows[0].id) : id
|
|
127
|
+
);
|
|
128
|
+
entitiesStored++;
|
|
129
|
+
} catch {
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
for (const r of extracted.relationships) {
|
|
133
|
+
const sourceName = normalizeEntityName(r.source);
|
|
134
|
+
const targetName = normalizeEntityName(r.target);
|
|
135
|
+
const sourceType = r.sourceType.toLowerCase();
|
|
136
|
+
const targetType = r.targetType.toLowerCase();
|
|
137
|
+
const sourceId = actualEntityIds.get(`${sourceType}:${sourceName}`) ?? entityId(sourceName, sourceType);
|
|
138
|
+
const targetId = actualEntityIds.get(`${targetType}:${targetName}`) ?? entityId(targetName, targetType);
|
|
139
|
+
if (sourceId === targetId) continue;
|
|
140
|
+
const relId = `auto:rel:${sourceId}-${r.type}-${targetId}`;
|
|
141
|
+
const props = JSON.stringify({
|
|
142
|
+
source_file: r.sourceFile,
|
|
143
|
+
source_type: "auto_extract"
|
|
144
|
+
});
|
|
145
|
+
try {
|
|
146
|
+
await client.execute({
|
|
147
|
+
sql: `INSERT INTO relationships (id, source_entity_id, target_entity_id, type, weight, timestamp, properties)
|
|
148
|
+
VALUES (?, ?, ?, ?, 1.0, ?, ?)
|
|
149
|
+
ON CONFLICT(source_entity_id, target_entity_id, type) DO UPDATE SET timestamp = ?`,
|
|
150
|
+
args: [relId, sourceId, targetId, r.type, now, props, now]
|
|
151
|
+
});
|
|
152
|
+
relsStored++;
|
|
153
|
+
} catch {
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return { entities: entitiesStored, relationships: relsStored };
|
|
157
|
+
}
|
|
158
|
+
async function autoExtractGraphEntities(projectRoot) {
|
|
159
|
+
const root = projectRoot ?? process.cwd();
|
|
160
|
+
const candidates = [
|
|
161
|
+
`${root}/.planning/ARCHITECTURE.md`,
|
|
162
|
+
`${root}/ARCHITECTURE.md`,
|
|
163
|
+
`${root}/exe/ARCHITECTURE.md`
|
|
164
|
+
];
|
|
165
|
+
let totalEntities = 0;
|
|
166
|
+
let totalRels = 0;
|
|
167
|
+
for (const filePath of candidates) {
|
|
168
|
+
try {
|
|
169
|
+
statSync(filePath);
|
|
170
|
+
const extracted = extractFromMarkdown(filePath);
|
|
171
|
+
const result = await upsertExtractedGraph(extracted);
|
|
172
|
+
totalEntities += result.entities;
|
|
173
|
+
totalRels += result.relationships;
|
|
174
|
+
} catch {
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return { entities: totalEntities, relationships: totalRels };
|
|
178
|
+
}
|
|
179
|
+
export {
|
|
180
|
+
autoExtractGraphEntities,
|
|
181
|
+
extractFromMarkdown,
|
|
182
|
+
upsertExtractedGraph
|
|
183
|
+
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-STEEAABW.js";
|
|
4
|
+
import "../chunk-TUTWNHIQ.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-KA26YTNU.js";
|
|
8
|
+
import "../chunk-K5ZO532Q.js";
|
|
9
|
+
import "../chunk-JVHHXRFY.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
11
|
import "../chunk-4FVVJ7ME.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-Y3PMNUM5.js";
|
|
13
|
+
import "../chunk-KOO3J5PV.js";
|
|
14
|
+
import "../chunk-22TVSRQQ.js";
|
|
15
15
|
import "../chunk-SSTLTIF3.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-NLZHVIOP.js";
|
|
17
17
|
import "../chunk-QRTJNSKU.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-5CCXU2AW.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-N7I2A667.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
getClient
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-WUKHLCBE.js";
|
|
29
29
|
import "../chunk-2I23RPSI.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-2E43UXRH.js";
|
|
31
31
|
import "../chunk-PNQDP3OA.js";
|
|
32
32
|
import "../chunk-7HLWBYH7.js";
|
|
33
33
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-STEEAABW.js";
|
|
4
|
+
import "../chunk-TUTWNHIQ.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-KA26YTNU.js";
|
|
8
8
|
import {
|
|
9
9
|
listTasks
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-K5ZO532Q.js";
|
|
11
|
+
import "../chunk-JVHHXRFY.js";
|
|
12
12
|
import "../chunk-4JERP7NT.js";
|
|
13
13
|
import "../chunk-4FVVJ7ME.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-Y3PMNUM5.js";
|
|
15
|
+
import "../chunk-KOO3J5PV.js";
|
|
16
|
+
import "../chunk-22TVSRQQ.js";
|
|
17
17
|
import "../chunk-SSTLTIF3.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-NLZHVIOP.js";
|
|
19
19
|
import "../chunk-QRTJNSKU.js";
|
|
20
20
|
import "../chunk-NGP6LSV2.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-5CCXU2AW.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-N7I2A667.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-WUKHLCBE.js";
|
|
31
31
|
import "../chunk-2I23RPSI.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-2E43UXRH.js";
|
|
33
33
|
import "../chunk-PNQDP3OA.js";
|
|
34
34
|
import "../chunk-7HLWBYH7.js";
|
|
35
35
|
import "../chunk-FXU7JOXK.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-SNDZJ5IV.js";
|
|
5
|
+
import "../chunk-K5ZO532Q.js";
|
|
6
|
+
import "../chunk-JVHHXRFY.js";
|
|
7
7
|
import "../chunk-4JERP7NT.js";
|
|
8
8
|
import "../chunk-4FVVJ7ME.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-Y3PMNUM5.js";
|
|
10
|
+
import "../chunk-KOO3J5PV.js";
|
|
11
|
+
import "../chunk-22TVSRQQ.js";
|
|
12
12
|
import "../chunk-SSTLTIF3.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-NLZHVIOP.js";
|
|
14
14
|
import "../chunk-QRTJNSKU.js";
|
|
15
15
|
import "../chunk-NGP6LSV2.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-5CCXU2AW.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-N7I2A667.js";
|
|
22
22
|
import "../chunk-HYZV25LY.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-WUKHLCBE.js";
|
|
24
24
|
import "../chunk-2I23RPSI.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-2E43UXRH.js";
|
|
26
26
|
import "../chunk-PNQDP3OA.js";
|
|
27
27
|
import "../chunk-7HLWBYH7.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -83,13 +83,13 @@ async function main() {
|
|
|
83
83
|
const changedFiles = getChangedFiles(commitHash);
|
|
84
84
|
let client;
|
|
85
85
|
try {
|
|
86
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
86
|
+
const { fastDbInit } = await import("../fast-db-init-F3TDD5VV.js");
|
|
87
87
|
client = await fastDbInit();
|
|
88
88
|
} catch {
|
|
89
89
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
92
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-NTNET4JE.js");
|
|
93
93
|
const tasks = await listTasks({
|
|
94
94
|
assignedTo: agentId,
|
|
95
95
|
status: "in_progress",
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-N2EAYPYQ.js";
|
|
8
8
|
import "../chunk-AB4PAQYK.js";
|
|
9
9
|
import {
|
|
10
10
|
initStore
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-VRRAE5JX.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-OTVEIJUQ.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-C2SBESBO.js";
|
|
15
15
|
import "../chunk-SH45SJQW.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-AKV44JEH.js";
|
|
19
19
|
import "../chunk-Y25OJWOQ.js";
|
|
20
20
|
import "../chunk-CVYC6DUW.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
@@ -23,9 +23,9 @@ import "../chunk-MP2AFCGL.js";
|
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
getClient
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-WUKHLCBE.js";
|
|
27
27
|
import "../chunk-2I23RPSI.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-2E43UXRH.js";
|
|
29
29
|
import "../chunk-PNQDP3OA.js";
|
|
30
30
|
import "../chunk-7HLWBYH7.js";
|
|
31
31
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AKV44JEH.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-WUKHLCBE.js";
|
|
10
10
|
import "../chunk-2I23RPSI.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-2E43UXRH.js";
|
|
12
12
|
import "../chunk-PNQDP3OA.js";
|
|
13
13
|
import "../chunk-7HLWBYH7.js";
|
|
14
14
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
import "../chunk-VT2B5BHM.js";
|
|
5
5
|
import {
|
|
6
6
|
writeMemoryViaDaemon
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-JXCXGZ3S.js";
|
|
8
8
|
import "../chunk-MEWGYH6Z.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-W3EQ362K.js";
|
|
10
10
|
import "../chunk-QOZQ2MYZ.js";
|
|
11
11
|
import "../chunk-AHMUF6RO.js";
|
|
12
12
|
import "../chunk-Y25OJWOQ.js";
|
|
13
13
|
import "../chunk-OPU3NYOO.js";
|
|
14
14
|
import "../chunk-GJV3WDWM.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-7T7Y56HW.js";
|
|
16
16
|
import "../chunk-7L2EV3XX.js";
|
|
17
17
|
import "../chunk-HYZV25LY.js";
|
|
18
18
|
import "../chunk-R36FAN53.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-OAHEIH3G.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-AKV44JEH.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-WUKHLCBE.js";
|
|
27
27
|
import "../chunk-2I23RPSI.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-2E43UXRH.js";
|
|
29
29
|
import "../chunk-PNQDP3OA.js";
|
|
30
30
|
import "../chunk-7HLWBYH7.js";
|
|
31
31
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -117,7 +117,7 @@ process.stdin.on("end", async () => {
|
|
|
117
117
|
if (filePath) {
|
|
118
118
|
const { initStore } = await import("../lib/store.js");
|
|
119
119
|
await initStore({ lightweight: true });
|
|
120
|
-
const { recordFileRead } = await import("../git-staleness-
|
|
120
|
+
const { recordFileRead } = await import("../git-staleness-J45WNYRF.js");
|
|
121
121
|
await recordFileRead(
|
|
122
122
|
data.session_id,
|
|
123
123
|
agent.agentId,
|
|
@@ -323,7 +323,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
323
323
|
if (taskData.taskId) {
|
|
324
324
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
325
325
|
await cpInit();
|
|
326
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
326
|
+
const { writeCheckpoint } = await import("../tasks-crud-NTNET4JE.js");
|
|
327
327
|
await writeCheckpoint({
|
|
328
328
|
taskId: taskData.taskId,
|
|
329
329
|
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-AKV44JEH.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-WUKHLCBE.js";
|
|
10
10
|
import "../chunk-2I23RPSI.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-2E43UXRH.js";
|
|
12
12
|
import "../chunk-PNQDP3OA.js";
|
|
13
13
|
import "../chunk-7HLWBYH7.js";
|
|
14
14
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -57,7 +57,7 @@ process.stdin.on("end", async () => {
|
|
|
57
57
|
pass = false;
|
|
58
58
|
}
|
|
59
59
|
try {
|
|
60
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
60
|
+
const { fastDbInit } = await import("../fast-db-init-F3TDD5VV.js");
|
|
61
61
|
await fastDbInit();
|
|
62
62
|
const { getClient } = await import("../lib/database.js");
|
|
63
63
|
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-19T05:54:30.968Z",
|
|
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": "
|
|
10
|
-
"ingest-worker.js": "
|
|
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": "
|
|
5
|
+
"bug-report-worker.js": "c10ff847bf83ea88f1f36c8ba3fb99d9dcdc37f93891003376ed1a890e9a898c",
|
|
6
|
+
"codex-stop-task-finalizer.js": "a9508868c93792a71320064bbe81eb63ac22924f457d1ecfdebd85c7a3b06878",
|
|
7
|
+
"commit-complete.js": "692b10164b9aac3a1552311495efc6a2e405003d25d21f449134ddf272858f87",
|
|
8
|
+
"error-recall.js": "121b7e5a7a3858b71ce008de4089b9c4334513a3027c4643539329af4b52af45",
|
|
9
|
+
"exe-heartbeat-hook.js": "7861fff9db3f63244338b458109f7f7a42574ccf6c87d9c60b82d703265610c4",
|
|
10
|
+
"ingest-worker.js": "8a2dd6b2d0340a00f84983b83f446e8d5df844a4ec38868c1413a85f004f135c",
|
|
11
|
+
"ingest.js": "ae2c0237b60c9e5c7f1e4dcd06b1e7562ddfc1a265ddb73fc4311434502f6e27",
|
|
12
|
+
"instructions-loaded.js": "51e12aec561405e10e5735174f087031e8d4154b70643ea1e1df47c8b4e9f806",
|
|
13
|
+
"notification.js": "91788b398bd11f5aa1aa51d33d59ca7ee865df10cff7bcc6e51fc1f08582dbc0",
|
|
14
|
+
"post-compact.js": "7d622e0620d8a625ee07af872450880c1a1f75547f57f672297f311cec587cf5",
|
|
15
|
+
"post-tool-combined.js": "1637132b3a574be64743038be8c429e03553d244225d93f2235bf5e36ce0659c",
|
|
16
|
+
"pre-compact.js": "ddce10166af9130182017ce843bf2c36ea8db1baacf21d1801d7f499d3042b8e",
|
|
17
|
+
"pre-tool-use.js": "502597095cfe87dac8420ae8f0537cffb44aee00401684f9a209bddc09f9a28b",
|
|
18
|
+
"prompt-submit.js": "91a140cf1b1e1897238e91cb0d3ee2691b0246f1c2e5a5b23dc08a3209963289",
|
|
19
|
+
"session-end.js": "a16765d825cccf2ca590c3a4c303a2cc6b2ace2315250140e6cb584a5bb03ef4",
|
|
20
|
+
"session-start.js": "96e828ffb7930f4672f8524dc78b0c7e0d97007f344d387f904a8fd5c4112f75",
|
|
21
|
+
"stop.js": "74728dfc979393bdb7da707ea6df536dc4a533d472e46ec085f982ae49f1be93",
|
|
22
|
+
"subagent-stop.js": "528f779077fcd53164630911549425e1ed63c31b482226bdef1ac5e150ec14c0",
|
|
23
|
+
"summary-worker.js": "737c05beb500770a34a5246bbc355c7f791c5bd13b2654b4a00b4896b08d9a0a"
|
|
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-AKV44JEH.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-WUKHLCBE.js";
|
|
8
8
|
import "../chunk-2I23RPSI.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-2E43UXRH.js";
|
|
10
10
|
import "../chunk-PNQDP3OA.js";
|
|
11
11
|
import "../chunk-7HLWBYH7.js";
|
|
12
12
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -44,7 +44,7 @@ process.stdin.on("end", async () => {
|
|
|
44
44
|
process.exit(0);
|
|
45
45
|
}
|
|
46
46
|
try {
|
|
47
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
47
|
+
const { fastDbInit } = await import("../fast-db-init-F3TDD5VV.js");
|
|
48
48
|
await fastDbInit();
|
|
49
49
|
const { getClient } = await import("../lib/database.js");
|
|
50
50
|
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-AKV44JEH.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-K5ZO532Q.js";
|
|
8
|
+
import "../chunk-JVHHXRFY.js";
|
|
9
9
|
import "../chunk-4JERP7NT.js";
|
|
10
10
|
import "../chunk-4FVVJ7ME.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-Y3PMNUM5.js";
|
|
12
|
+
import "../chunk-KOO3J5PV.js";
|
|
13
|
+
import "../chunk-22TVSRQQ.js";
|
|
14
14
|
import "../chunk-SSTLTIF3.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-NLZHVIOP.js";
|
|
16
16
|
import "../chunk-QRTJNSKU.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-5CCXU2AW.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-N7I2A667.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-WUKHLCBE.js";
|
|
26
26
|
import "../chunk-2I23RPSI.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-2E43UXRH.js";
|
|
28
28
|
import "../chunk-PNQDP3OA.js";
|
|
29
29
|
import "../chunk-7HLWBYH7.js";
|
|
30
30
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -76,7 +76,7 @@ ${identity}`);
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
try {
|
|
79
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
79
|
+
const { fastDbInit } = await import("../fast-db-init-F3TDD5VV.js");
|
|
80
80
|
await fastDbInit();
|
|
81
81
|
const { getClient } = await import("../lib/database.js");
|
|
82
82
|
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-AFX2FODG.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-AFX2FODG.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-AFX2FODG.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-F3TDD5VV.js");
|
|
136
|
+
const { recordSessionEvent } = await import("../session-events-CK44XOU4.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 ?? {});
|
|
@@ -157,7 +157,7 @@ result: ${toolResponse.slice(0, 8e3)}`,
|
|
|
157
157
|
}
|
|
158
158
|
const { loadConfigSync } = await import("../lib/config.js");
|
|
159
159
|
if (loadConfigSync().autoIngestion) {
|
|
160
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
160
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-MVAUOZNJ.js");
|
|
161
161
|
const { buildPostToolMemoryEntry } = await import("../lib/post-tool-memory.js");
|
|
162
162
|
const entry = buildPostToolMemoryEntry(data, agent);
|
|
163
163
|
if (entry) await writeMemoryViaDaemon(entry);
|