@askexenow/exe-os 0.9.300 → 0.9.301
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/erp-nginx/nginx.conf +6 -3
- package/dist/active-agent-UNJO6AJ2.js +27 -0
- package/dist/active-agent-Y5LSIMVC.js +28 -0
- package/dist/agentic-ontology-QEV7GI3T.js +25 -0
- package/dist/backfill-metadata-RQZ4BN7G.js +600 -0
- package/dist/behaviors-A3L5CWMK.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 +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 +7 -7
- package/dist/bin/cc-doctor.js +4 -4
- 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 +23 -18
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +7 -7
- package/dist/bin/exe-dispatch.js +9 -9
- package/dist/bin/exe-doctor.js +2 -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 +4 -4
- 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 +7 -7
- 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/exe-watchdog.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/capability-cards-VTGDTOZ4.js +89 -0
- package/dist/capacity-monitor-G2MAJPRP.js +51 -0
- package/dist/catchup-brief-VBGEJQRS.js +175 -0
- package/dist/chunk-24JVDLQJ.js +345 -0
- package/dist/chunk-2T3OYZMR.js +1158 -0
- package/dist/chunk-3ABY3QDX.js +199 -0
- package/dist/chunk-3G3ECFB5.js +668 -0
- package/dist/chunk-3LHOFGHT.js +280 -0
- package/dist/chunk-3RA62PNQ.js +58 -0
- package/dist/chunk-3XRS5AVV.js +567 -0
- package/dist/chunk-3YK7X5FD.js +1186 -0
- package/dist/chunk-4L6PVYFE.js +54 -0
- package/dist/chunk-4O67LBMK.js +377 -0
- package/dist/chunk-4OIU3N6U.js +167 -0
- package/dist/chunk-5SYYMNPE.js +30 -0
- package/dist/chunk-5TO5PH7O.js +304 -0
- package/dist/chunk-5XD2Y463.js +402 -0
- package/dist/chunk-63AENHJC.js +123 -0
- package/dist/chunk-673IFJYB.js +731 -0
- package/dist/chunk-7AWH47AR.js +448 -0
- package/dist/chunk-7P4B6AEP.js +227 -0
- package/dist/chunk-7VHOALNC.js +244 -0
- package/dist/chunk-ASJHCAVL.js +38 -0
- package/dist/chunk-DICIFTCS.js +150 -0
- package/dist/chunk-DIFI5JDC.js +76 -0
- package/dist/chunk-DPOIJ5SM.js +284 -0
- package/dist/chunk-FAZNXNA5.js +33 -0
- package/dist/chunk-FCHG5RC4.js +197 -0
- package/dist/chunk-FFKSPZO2.js +157 -0
- package/dist/chunk-FNHYH5U6.js +331 -0
- package/dist/chunk-FWPDAQ6Q.js +1350 -0
- package/dist/chunk-FZB73QOI.js +210 -0
- package/dist/chunk-GJBR6QLD.js +630 -0
- package/dist/chunk-GRSYAHKI.js +535 -0
- package/dist/chunk-J5HFRVNW.js +362 -0
- package/dist/chunk-J6SD7LT2.js +171 -0
- package/dist/chunk-JURL2S27.js +128 -0
- package/dist/chunk-KPUYYOFS.js +122 -0
- package/dist/chunk-LAFARYU5.js +456 -0
- package/dist/chunk-LSDXEHKL.js +381 -0
- package/dist/chunk-MS2EOZJQ.js +290 -0
- package/dist/chunk-MUIMJGSQ.js +128 -0
- package/dist/chunk-NJMPNYBS.js +427 -0
- package/dist/chunk-OJACH2JF.js +128 -0
- package/dist/chunk-OO4IFABD.js +382 -0
- package/dist/chunk-Q65NCNL4.js +1352 -0
- package/dist/chunk-QIGS2LRT.js +735 -0
- package/dist/chunk-S73ZAJ2S.js +262 -0
- package/dist/chunk-SJ4UF7YK.js +1094 -0
- package/dist/chunk-SOZ7D77I.js +204 -0
- package/dist/chunk-TDX2LK2M.js +240 -0
- package/dist/chunk-U5RKGLV6.js +50 -0
- package/dist/chunk-UFGTHBHP.js +127 -0
- package/dist/chunk-ULCYWCPI.js +1079 -0
- package/dist/chunk-V6LOEOXG.js +3372 -0
- package/dist/chunk-VAZOVAW4.js +2162 -0
- package/dist/chunk-VEUQVKKT.js +185 -0
- package/dist/chunk-VIDDJ5RF.js +214 -0
- package/dist/chunk-VNB4ROYG.js +348 -0
- package/dist/chunk-VWUQFZFB.js +395 -0
- package/dist/chunk-W77GRCNA.js +85 -0
- package/dist/chunk-WVMG4ZRH.js +14597 -0
- package/dist/chunk-WYVOTRRZ.js +129 -0
- package/dist/chunk-XQQ7D4I4.js +85 -0
- package/dist/chunk-YHJPTIPR.js +836 -0
- package/dist/chunk-YLKS7KKC.js +2145 -0
- package/dist/chunk-YU3KEVCO.js +333 -0
- package/dist/chunk-ZDPU3JTF.js +221 -0
- package/dist/chunk-ZDY4LYAJ.js +81 -0
- package/dist/chunk-ZG33AACD.js +70 -0
- package/dist/chunk-ZKHPZ6KN.js +181 -0
- package/dist/chunk-ZO2TM5N5.js +97 -0
- package/dist/chunk-ZSUACDQC.js +4388 -0
- package/dist/co-activation-XM25BLZM.js +74 -0
- package/dist/co-occurrence-CKEMDPWO.js +95 -0
- package/dist/core-memory-ZDA76EU3.js +110 -0
- package/dist/crdt-sync-BJKZB6T6.js +33 -0
- package/dist/crm-webhook-E5PAFAUN.js +10 -0
- package/dist/cto-delegation-gate-EMY6ZZ2F.js +280 -0
- package/dist/daemon-orchestration-Y5Y6YNE3.js +143 -0
- package/dist/db-backup-HFJ53IBU.js +43 -0
- package/dist/doc-graph-extractor-ID45AQ2P.js +133 -0
- package/dist/dreaming-N6B7KBIE.js +34 -0
- package/dist/exe-drift-CPUEAPIU.js +70 -0
- package/dist/exe-export-4RTGDV53.js +77 -0
- package/dist/exe-import-AZMIF34Z.js +80 -0
- package/dist/exe-key-LJV23AJI.js +673 -0
- package/dist/exe-snapshot-ZOZBW7V6.js +338 -0
- package/dist/fast-db-init-ATRZGHOL.js +7 -0
- package/dist/gateway/index.js +8 -8
- package/dist/git-staleness-XNOKI4D3.js +112 -0
- package/dist/git-task-sweep-3MO4OVND.js +42 -0
- package/dist/global-procedures-EBAPPWGZ.js +22 -0
- package/dist/graph-auto-extract-VJOUQBPK.js +183 -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 +11 -11
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +12 -12
- package/dist/hooks/pre-tool-use.js +14 -14
- package/dist/hooks/prompt-submit.js +26 -24
- package/dist/hooks/session-end.js +15 -15
- package/dist/hooks/session-start.js +12 -12
- 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-37KFNAWE.js +344 -0
- package/dist/installer-F55NR4E2.js +298 -0
- package/dist/installer-KOYBUS4J.js +40 -0
- package/dist/lib/cloud-sync.js +7 -7
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- 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 +40 -40
- 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 +6 -6
- 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 +54 -54
- package/dist/mcp/server.js +55 -55
- 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 +7 -7
- 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-7KJZI7UD.js +31 -0
- package/dist/memory-cards-ZIT7ZKL5.js +180 -0
- package/dist/memory-graph-extractor-LY2VORZT.js +22 -0
- package/dist/memory-poisoning-defense-SEM25TY5.js +224 -0
- package/dist/memory-reflection-J2W7CJ7C.js +244 -0
- package/dist/notifications-RLMSI4YE.js +47 -0
- package/dist/orchestration-events-TGQYA72K.js +27 -0
- package/dist/orchestrator-JQD5G3CW.js +35 -0
- package/dist/pipeline-router-3Q3YBYSM.js +15 -0
- package/dist/plan-limits-YGXTYCW4.js +28 -0
- package/dist/project-boot-TDOZKKDR.js +299 -0
- package/dist/projection-worker-TMKUSVGD.js +1084 -0
- package/dist/prospective-memory-CNJDBNWF.js +232 -0
- package/dist/reranker-YQIRNGDM.js +19 -0
- package/dist/retrieval-health-M5BVB7EV.js +12 -0
- package/dist/review-polling-ZMB3OBPC.js +126 -0
- package/dist/runtime/index.js +11 -11
- package/dist/session-events-UTMCKDIN.js +38 -0
- package/dist/session-kill-telemetry-FRQA5MVD.js +31 -0
- package/dist/session-scope-2BD6QLNI.js +88 -0
- package/dist/setup-wizard-W64I6SHC.js +12 -0
- package/dist/skill-refinement-FXCXTUS2.js +159 -0
- package/dist/steward-gate-JDR3SLH3.js +15 -0
- package/dist/task-enforcement-WCEA4FZI.js +506 -0
- package/dist/task-scope-L5GDL2AV.js +37 -0
- package/dist/tasks-crud-S36AFYYM.js +79 -0
- package/dist/tasks-notify-W2W2BJRB.js +40 -0
- package/dist/tasks-review-34WV7BX2.js +49 -0
- package/dist/telemetry-upload-3CSVO3J7.js +741 -0
- package/dist/token-budget-ZG2MQ5GD.js +86 -0
- package/dist/tool-telemetry-ODL4F2CW.js +17 -0
- package/dist/tui/App.js +16 -16
- package/dist/tui-data-Z5UF7KEI.js +260 -0
- package/dist/wiki-acl-SZFHCEC4.js +111 -0
- package/dist/worker-gate-OOO6BWZ6.js +21 -0
- package/dist/workflow-engine-QY3IFFR2.js +28 -0
- package/dist/worktree-CNOQZBNT.js +28 -0
- package/dist/worktree-sweep-SE7ITXC4.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-EDMVA3PT.js";
|
|
5
|
+
import "./chunk-I7AW4237.js";
|
|
6
|
+
import "./chunk-GUMRIUI5.js";
|
|
7
|
+
import {
|
|
8
|
+
getClient
|
|
9
|
+
} from "./chunk-V6LOEOXG.js";
|
|
10
|
+
import "./chunk-2I23RPSI.js";
|
|
11
|
+
import "./chunk-VWUQFZFB.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-7AWH47AR.js";
|
|
4
|
+
import "../chunk-7VHOALNC.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-ZDY4LYAJ.js";
|
|
8
|
+
import "../chunk-ZSUACDQC.js";
|
|
9
|
+
import "../chunk-3LHOFGHT.js";
|
|
10
10
|
import "../chunk-4FVVJ7ME.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-5TO5PH7O.js";
|
|
13
13
|
import "../chunk-KOO3J5PV.js";
|
|
14
14
|
import "../chunk-22TVSRQQ.js";
|
|
15
15
|
import "../chunk-SSTLTIF3.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-GJBR6QLD.js";
|
|
17
17
|
import "../chunk-QRTJNSKU.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-WYVOTRRZ.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-ZG33AACD.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
getClient
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-V6LOEOXG.js";
|
|
29
29
|
import "../chunk-2I23RPSI.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-VWUQFZFB.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-7AWH47AR.js";
|
|
4
|
+
import "../chunk-7VHOALNC.js";
|
|
5
5
|
import {
|
|
6
6
|
fastDbInit
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-ZDY4LYAJ.js";
|
|
8
8
|
import {
|
|
9
9
|
listTasks
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-ZSUACDQC.js";
|
|
11
|
+
import "../chunk-3LHOFGHT.js";
|
|
12
12
|
import "../chunk-4FVVJ7ME.js";
|
|
13
13
|
import "../chunk-4JERP7NT.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-5TO5PH7O.js";
|
|
15
15
|
import "../chunk-KOO3J5PV.js";
|
|
16
16
|
import "../chunk-22TVSRQQ.js";
|
|
17
17
|
import "../chunk-SSTLTIF3.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-GJBR6QLD.js";
|
|
19
19
|
import "../chunk-QRTJNSKU.js";
|
|
20
20
|
import "../chunk-NGP6LSV2.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-WYVOTRRZ.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-ZG33AACD.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-V6LOEOXG.js";
|
|
31
31
|
import "../chunk-2I23RPSI.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-VWUQFZFB.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-VIDDJ5RF.js";
|
|
5
|
+
import "../chunk-ZSUACDQC.js";
|
|
6
|
+
import "../chunk-3LHOFGHT.js";
|
|
7
7
|
import "../chunk-4FVVJ7ME.js";
|
|
8
8
|
import "../chunk-4JERP7NT.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-5TO5PH7O.js";
|
|
10
10
|
import "../chunk-KOO3J5PV.js";
|
|
11
11
|
import "../chunk-22TVSRQQ.js";
|
|
12
12
|
import "../chunk-SSTLTIF3.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-GJBR6QLD.js";
|
|
14
14
|
import "../chunk-QRTJNSKU.js";
|
|
15
15
|
import "../chunk-NGP6LSV2.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-WYVOTRRZ.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-ZG33AACD.js";
|
|
22
22
|
import "../chunk-HYZV25LY.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-V6LOEOXG.js";
|
|
24
24
|
import "../chunk-2I23RPSI.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-VWUQFZFB.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-ATRZGHOL.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-S36AFYYM.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-Q65NCNL4.js";
|
|
8
8
|
import "../chunk-AB4PAQYK.js";
|
|
9
9
|
import {
|
|
10
10
|
initStore
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-YHJPTIPR.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-OTVEIJUQ.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-FZB73QOI.js";
|
|
15
15
|
import "../chunk-SH45SJQW.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-VEUQVKKT.js";
|
|
19
19
|
import "../chunk-Y25OJWOQ.js";
|
|
20
20
|
import "../chunk-CVYC6DUW.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
import "../chunk-HYZV25LY.js";
|
|
27
27
|
import {
|
|
28
28
|
getClient
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-V6LOEOXG.js";
|
|
30
30
|
import "../chunk-2I23RPSI.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-VWUQFZFB.js";
|
|
32
32
|
import "../chunk-PNQDP3OA.js";
|
|
33
33
|
import "../chunk-7HLWBYH7.js";
|
|
34
34
|
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-VEUQVKKT.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-V6LOEOXG.js";
|
|
10
10
|
import "../chunk-2I23RPSI.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-VWUQFZFB.js";
|
|
12
12
|
import "../chunk-PNQDP3OA.js";
|
|
13
13
|
import "../chunk-7HLWBYH7.js";
|
|
14
14
|
import "../chunk-FXU7JOXK.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-4OIU3N6U.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-VEUQVKKT.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-V6LOEOXG.js";
|
|
27
27
|
import "../chunk-2I23RPSI.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-VWUQFZFB.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-XNOKI4D3.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-S36AFYYM.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-VEUQVKKT.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-V6LOEOXG.js";
|
|
10
10
|
import "../chunk-2I23RPSI.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-VWUQFZFB.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-ATRZGHOL.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-20T06:10:25.924Z",
|
|
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": "ce65f274c4d63c74a4aec8c4fc902092f195893d5d6409cd0d13cce5b2212845",
|
|
6
|
+
"codex-stop-task-finalizer.js": "2bc9151a9a47870452355e8a87c24810e624e7c418c2a48035ac319d619f354d",
|
|
7
|
+
"commit-complete.js": "f8c7b2f89c8b79047fd9f91aec8b70590b695f9842394f2dd478dda1b9ed2898",
|
|
8
|
+
"error-recall.js": "3d97a3ddd7c9e14121bf6c8c905867541d181d091eb21f2956dd920bac22dd76",
|
|
9
|
+
"exe-heartbeat-hook.js": "f6d7e5eeb218dc59de2f92f60805ae29948c32ac5eb39d20db3a267e4d72be08",
|
|
10
10
|
"ingest-worker.js": "ded8cbc573f2d1dca5059c54c531ec88e2b65f78411bc50904129d87b42597b4",
|
|
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": "13f170db2e7f7d7c354bca0f50ae63dea57ff49cf45a01483668c640e9d54eae",
|
|
12
|
+
"instructions-loaded.js": "db7777563c1b50a6221c6533fe68e7229ae314e82068dfb4cb03790e383722a7",
|
|
13
|
+
"notification.js": "9160d1f6060e43019da2ee4be5c23ab8e3752471dd8738ce70839a66ddb7ef58",
|
|
14
|
+
"post-compact.js": "adc97ec8e83c752e40c238094db2fc39b929e1ceaea2d75fbb3be13ce34b67cd",
|
|
15
|
+
"post-tool-combined.js": "3c018fffd80fc6cb9e20b9e1cc3e740b346b25c95dff74e1376b567282693055",
|
|
16
|
+
"pre-compact.js": "ada048dcdd88c106db7d0784dcc5a8e3b6a8e9c48a05a86706b9bc4c658728f6",
|
|
17
|
+
"pre-tool-use.js": "315c8558d4005e2164e18e79a4bc63c34118b88b54e8428cb7f241b2c160f2df",
|
|
18
|
+
"prompt-submit.js": "0a10daccfea483c4cd0d1c6e38798d42dab9890ac2cf3d9edafde6ad379fddfb",
|
|
19
|
+
"session-end.js": "bad7152d21dba2b8a44732d393a25c509dd7f4829054907398a7fa29598adc26",
|
|
20
|
+
"session-start.js": "42f1e006a74871917a5fad89bc659689475bf5503fb5ce55505e1b16ff8be1f4",
|
|
21
|
+
"stop.js": "16d7bc2b3f727839f189ecde35dec0f59e5277eebdc3dca0ec447a898048e84d",
|
|
22
|
+
"subagent-stop.js": "df516e1307f8d3276a9b709e16c2d60584ace0e6ebd6061b3b0ff4951ca8e5e9",
|
|
23
|
+
"summary-worker.js": "10b4c0bfab6046b9ebc3b65e6952a07e11e850a653f80e2ffaf774a24bea7f36"
|
|
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-VEUQVKKT.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-V6LOEOXG.js";
|
|
8
8
|
import "../chunk-2I23RPSI.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-VWUQFZFB.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-ATRZGHOL.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-VEUQVKKT.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-ZSUACDQC.js";
|
|
8
|
+
import "../chunk-3LHOFGHT.js";
|
|
9
9
|
import "../chunk-4FVVJ7ME.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-5TO5PH7O.js";
|
|
12
12
|
import "../chunk-KOO3J5PV.js";
|
|
13
13
|
import "../chunk-22TVSRQQ.js";
|
|
14
14
|
import "../chunk-SSTLTIF3.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-GJBR6QLD.js";
|
|
16
16
|
import "../chunk-QRTJNSKU.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-WYVOTRRZ.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-ZG33AACD.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-V6LOEOXG.js";
|
|
26
26
|
import "../chunk-2I23RPSI.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-VWUQFZFB.js";
|
|
28
28
|
import "../chunk-PNQDP3OA.js";
|
|
29
29
|
import "../chunk-7HLWBYH7.js";
|
|
30
30
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -47,7 +47,7 @@ if (!process.env.AGENT_ID) {
|
|
|
47
47
|
}
|
|
48
48
|
var timeout = setTimeout(() => {
|
|
49
49
|
process.exit(0);
|
|
50
|
-
},
|
|
50
|
+
}, 15e3);
|
|
51
51
|
timeout.unref();
|
|
52
52
|
var MAX_INPUT_SIZE = 1e6;
|
|
53
53
|
var input = "";
|
|
@@ -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-ATRZGHOL.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-Y5LSIMVC.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-Y5LSIMVC.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-Y5LSIMVC.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-ATRZGHOL.js");
|
|
136
|
+
const { recordSessionEvent } = await import("../session-events-UTMCKDIN.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 ?? {});
|