@askexenow/exe-os 0.9.145 → 0.9.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-agent-HUDSZRUG.js → active-agent-KMQCNXXD.js} +6 -6
- package/dist/{active-agent-GJOJUEMF.js → active-agent-NCZCDDZ2.js} +6 -6
- package/dist/{agent-context-HH7TL5ZP.js → agent-context-AZTTMUHP.js} +1 -1
- package/dist/agent-heartbeat-I5UPGXAU.js +60 -0
- package/dist/{agent-loop-OCJFYO72.js → agent-loop-NUIWAL3Z.js} +1 -1
- package/dist/{agentic-ontology-5PGUVMDP.js → agentic-ontology-SQR74CO7.js} +2 -2
- package/dist/{asana-BSDR6NW4.js → asana-MRQ2OQMJ.js} +1 -1
- package/dist/assets/wezterm.lua +68 -0
- package/dist/{backfill-metadata-ZDJ5B37R.js → backfill-metadata-KMDWLDXU.js} +7 -7
- package/dist/{background-jobs-4N4JSZVZ.js → background-jobs-IUB22CRF.js} +4 -4
- package/dist/{bash-X54PZMOG.js → bash-HOHKSOU3.js} +1 -1
- package/dist/{behaviors-TXLHEM5J.js → behaviors-4U2N5L4E.js} +6 -6
- package/dist/bin/age-ontology-load.js +4 -4
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +9 -9
- package/dist/bin/backfill-responses.js +9 -9
- package/dist/bin/backfill-vectors.js +12 -14
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +12 -11
- package/dist/bin/cli.js +19 -19
- package/dist/bin/customer-readiness.js +47 -0
- package/dist/bin/exe-agent-config.js +6 -6
- package/dist/bin/exe-agent.js +8 -8
- package/dist/bin/exe-assign.js +11 -11
- package/dist/bin/exe-boot.js +39 -32
- package/dist/bin/exe-call.js +9 -11
- package/dist/bin/exe-cloud.js +10 -12
- package/dist/bin/exe-dispatch.js +12 -11
- package/dist/bin/exe-doctor.js +2 -2
- package/dist/bin/exe-export-behaviors.js +10 -10
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +18 -18
- package/dist/bin/exe-healthcheck.js +5 -5
- package/dist/bin/exe-heartbeat.js +19 -14
- package/dist/bin/exe-kill.js +9 -9
- package/dist/bin/exe-launch-agent.js +16 -18
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-pending-messages.js +13 -12
- package/dist/bin/exe-pending-notifications.js +12 -11
- package/dist/bin/exe-pending-reviews.js +20 -13
- package/dist/bin/exe-rename.js +9 -11
- package/dist/bin/exe-review.js +14 -13
- package/dist/bin/exe-search.js +8 -10
- package/dist/bin/exe-session-cleanup.js +19 -19
- package/dist/bin/exe-settings.js +11 -13
- package/dist/bin/exe-start-codex.js +15 -15
- package/dist/bin/exe-start-opencode.js +11 -11
- package/dist/bin/exe-status.js +13 -12
- package/dist/bin/exe-support.js +5 -5
- package/dist/bin/exe-team.js +6 -6
- package/dist/bin/git-sweep.js +12 -11
- package/dist/bin/graph-backfill.js +10 -10
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/graph-layer-benchmark.js +1 -1
- package/dist/bin/install.js +38 -12
- package/dist/bin/intercom-check.js +14 -8
- package/dist/bin/list-providers.js +1 -1
- package/dist/bin/postgres-agentic-reflection-backfill.js +6 -6
- package/dist/bin/postgres-agentic-semantic-backfill.js +5 -5
- package/dist/bin/pre-publish.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +48 -49
- package/dist/bin/setup.js +6 -5
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +66 -10
- package/dist/bin/update.js +1 -1
- package/dist/{branding-52J2ILJX.js → branding-EHDA3CCK.js} +4 -6
- package/dist/{capacity-monitor-HWN2JX5W.js → capacity-monitor-Q5M5SVRC.js} +13 -12
- package/dist/{catchup-brief-UERCIVM5.js → catchup-brief-IPNSW7RQ.js} +14 -13
- package/dist/{chunk-GK5VMHSN.js → chunk-26UVGP3I.js} +1 -1
- package/dist/{chunk-CDDRSIGK.js → chunk-2BPO7VQF.js} +80 -70
- package/dist/{chunk-7PTII6F4.js → chunk-2OATM2JZ.js} +1 -1
- package/dist/{chunk-AJ2XDY27.js → chunk-3FIWKONP.js} +10 -12
- package/dist/{chunk-53VUIKOE.js → chunk-3MLGUSKS.js} +1 -1
- package/dist/{chunk-OYCQ6PFC.js → chunk-4EINMZNO.js} +6 -6
- package/dist/{chunk-JUITBJ7J.js → chunk-4GLEFA2X.js} +1 -1
- package/dist/{chunk-BY4OTURZ.js → chunk-4MN44ORL.js} +1 -1
- package/dist/{chunk-MUVPQCQA.js → chunk-6HFZ2KUC.js} +1 -3
- package/dist/{chunk-F7JVVLGH.js → chunk-6YUACQQA.js} +2 -4
- package/dist/{chunk-UVH6FA5E.js → chunk-7B5DQGXG.js} +1 -1
- package/dist/{chunk-XEA6DSLR.js → chunk-AERGE6GC.js} +4 -6
- package/dist/{chunk-NQAZ2CP7.js → chunk-AGFWOII2.js} +11 -11
- package/dist/{chunk-RWJY7KMP.js → chunk-ARGBV4PP.js} +46 -13
- package/dist/{chunk-VRD452MQ.js → chunk-B4HAUSVQ.js} +2 -2
- package/dist/{chunk-VX4X2O6J.js → chunk-CGQ5PWS3.js} +6 -6
- package/dist/{chunk-RNN4MZDN.js → chunk-DBXKWFTK.js} +3 -3
- package/dist/{chunk-Y2VVTK2E.js → chunk-DTLASDQM.js} +1 -1
- package/dist/{chunk-K3PSCQLK.js → chunk-DW6P7UVY.js} +4 -6
- package/dist/{chunk-B6Q6WAD7.js → chunk-EHNSK2Y4.js} +1 -1
- package/dist/{chunk-7PEYIW53.js → chunk-EHXOWGQG.js} +2 -2
- package/dist/{chunk-6BUUY7FG.js → chunk-EOO32RJZ.js} +2 -4
- package/dist/{chunk-MFGARIVE.js → chunk-EYQIEK5M.js} +2 -4
- package/dist/{chunk-NT6R4ATM.js → chunk-FG4Z2XFU.js} +1 -1
- package/dist/{chunk-32LFUJVG.js → chunk-FNMNKYVH.js} +221 -110
- package/dist/{chunk-CWPE6QVM.js → chunk-GNHN5HRQ.js} +2 -4
- package/dist/{chunk-WLEVAIL5.js → chunk-GP6G6EQI.js} +1 -1
- package/dist/{chunk-KLRP6ZG3.js → chunk-HHMHL4FB.js} +251 -96
- package/dist/{chunk-O7YD7JYE.js → chunk-I7AW4237.js} +18 -4
- package/dist/{chunk-TFZZL3QF.js → chunk-ICKEGWWP.js} +2 -4
- package/dist/{chunk-SR6D65DA.js → chunk-IFACD7E6.js} +3 -3
- package/dist/{chunk-I4WAKJ6W.js → chunk-J4RAXKTC.js} +3 -3
- package/dist/{chunk-65UQ7H5U.js → chunk-JF3Q5YKI.js} +4 -6
- package/dist/{chunk-RWURKLS3.js → chunk-JH7Z2AZ7.js} +1 -1
- package/dist/{chunk-5WTYETQO.js → chunk-K4KAPZC7.js} +4 -8
- package/dist/{chunk-G3VR3MJI.js → chunk-KIUU4PNX.js} +4 -8
- package/dist/{chunk-4F56OUR7.js → chunk-LC53LVOT.js} +2 -2
- package/dist/{chunk-W7NQE65M.js → chunk-LJML7HT2.js} +1 -1
- package/dist/{chunk-V4O2APMI.js → chunk-LL5EY6OQ.js} +1 -1
- package/dist/{chunk-DCJ42FEN.js → chunk-LWJ4AMMY.js} +2 -4
- package/dist/{chunk-GCMT6RWI.js → chunk-LYH5HE24.js} +3 -14
- package/dist/{chunk-63UVIM7S.js → chunk-MBA4NNTS.js} +2 -4
- package/dist/{chunk-7KR5PV4P.js → chunk-MKPSMRVX.js} +1 -1
- package/dist/{chunk-C4EVFN7J.js → chunk-MKUVEDUE.js} +2 -2
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-MLXJ5EZG.js +90 -0
- package/dist/{chunk-BXCJOACQ.js → chunk-NFHFNPTN.js} +3 -5
- package/dist/{chunk-2R3N4DQY.js → chunk-NJKERRSG.js} +3 -3
- package/dist/{chunk-I5VJNTDL.js → chunk-NNT2ZNMC.js} +5 -7
- package/dist/{chunk-O7CTVDC3.js → chunk-ODEGQCWW.js} +8 -8
- package/dist/{chunk-H4YONWQX.js → chunk-ONMRBKAX.js} +229 -108
- package/dist/{chunk-NE6RPW5C.js → chunk-PMWDO5FR.js} +1 -1
- package/dist/{chunk-IPSFAUK5.js → chunk-QB66MH2V.js} +4 -4
- package/dist/{chunk-XAHIVBTU.js → chunk-QHQJ7DLL.js} +6 -6
- package/dist/{chunk-NA3MXUU6.js → chunk-TH6HTK2L.js} +17 -15
- package/dist/{chunk-H4KUTL2T.js → chunk-TKEDF7KV.js} +1 -1
- package/dist/{chunk-KHV55ME4.js → chunk-TOWAZ5IV.js} +95 -118
- package/dist/{chunk-IBVB2NGY.js → chunk-TOXHEZN5.js} +47 -4
- package/dist/{chunk-H6OEU54G.js → chunk-UJMDHPIN.js} +91 -39
- package/dist/{chunk-UWBU44UP.js → chunk-UPL5FEZY.js} +1 -1
- package/dist/{chunk-ER3UJ2VL.js → chunk-UPMKSFBU.js} +2 -2
- package/dist/{chunk-X7DJ2QZW.js → chunk-V4MKR32F.js} +4 -6
- package/dist/{chunk-HV75RBMK.js → chunk-VB23RNNI.js} +1 -1
- package/dist/{chunk-56T5TMNK.js → chunk-VK2AWQ6D.js} +2 -2
- package/dist/{chunk-UXDQ4ERA.js → chunk-VNTDQUOG.js} +21 -18
- package/dist/{chunk-KQTGSD23.js → chunk-VYVESELG.js} +13 -9
- package/dist/{chunk-S465RWY7.js → chunk-W6SKR3HZ.js} +3 -5
- package/dist/{chunk-CQCURHDV.js → chunk-X2XE65WV.js} +12 -10
- package/dist/{chunk-XQ2ZBOAD.js → chunk-XK7VZFCC.js} +22 -9
- package/dist/{chunk-5F3EXHT7.js → chunk-XMRDT4PB.js} +2 -4
- package/dist/{chunk-MPXPPKJ4.js → chunk-XWQKCCCO.js} +3 -3
- package/dist/{chunk-7APRWURX.js → chunk-Y6TS42WD.js} +10 -12
- package/dist/{chunk-WTJS6PCC.js → chunk-YOG7TWMO.js} +1 -1
- package/dist/{chunk-QSSABSCM.js → chunk-YPSN64BU.js} +6 -6
- package/dist/{chunk-WJW564IP.js → chunk-ZBA74MMX.js} +2 -2
- package/dist/{chunk-VXQDZH5T.js → chunk-ZMJHXDZR.js} +3 -3
- package/dist/{chunk-BHV7PX5V.js → chunk-ZUAXTH6Z.js} +2 -2
- package/dist/{chunk-K6MMN6AW.js → chunk-ZZLTJXKR.js} +3 -5
- package/dist/{code-context-index-SRTAWCZQ.js → code-context-index-I5A7I4JQ.js} +7 -7
- package/dist/{content-extractor-H4IPL533.js → content-extractor-M7ISRONU.js} +1 -1
- package/dist/{conversation-entity-extractor-IZ3ECP4A.js → conversation-entity-extractor-EYSI4DKM.js} +3 -3
- package/dist/{conversation-wiki-populator-K4BQXHHO.js → conversation-wiki-populator-RSJ44BRO.js} +2 -2
- package/dist/{core-memory-JZ34WT5R.js → core-memory-C3JLISAU.js} +1 -1
- package/dist/{crdt-sync-4TOVD4QN.js → crdt-sync-XMC6LT2Q.js} +2 -2
- package/dist/{crm-bridge-27QVOWPI.js → crm-bridge-4QZRMOF7.js} +1 -1
- package/dist/{crm-webhook-77XHBWL7.js → crm-webhook-QMHD5YYQ.js} +3 -3
- package/dist/{cto-delegation-gate-AWENA4VT.js → cto-delegation-gate-BTZWAA4E.js} +11 -10
- package/dist/{daemon-auth-Z7O3LO23.js → daemon-auth-F47P6HTC.js} +4 -4
- package/dist/{daemon-orchestration-BG4NPWOK.js → daemon-orchestration-HFODCB52.js} +14 -13
- package/dist/{daemon-protocol-N7MOJ4U3.js → daemon-protocol-XW2OLNBS.js} +1 -1
- package/dist/{db-backup-E34JMBZD.js → db-backup-W56YOLMC.js} +4 -4
- package/dist/{devtools-ZL5NCINM.js → devtools-5PEATRYE.js} +1 -1
- package/dist/{discord-QOFQKX6S.js → discord-LMZKIYWB.js} +1 -1
- package/dist/dispatch-ack-JYCKAWKZ.js +13 -0
- package/dist/{email-NY5HB4WA.js → email-UENAIKRN.js} +1 -1
- package/dist/{entity-boost-V6KSRGG4.js → entity-boost-LIBVNNXO.js} +2 -2
- package/dist/{exe-drift-YFWCC26O.js → exe-drift-SED6KQTZ.js} +6 -6
- package/dist/{exe-export-YRACBEUY.js → exe-export-ADSWDE5U.js} +9 -9
- package/dist/{exe-import-DY57L2OI.js → exe-import-WFLNGJZP.js} +9 -9
- package/dist/{exe-key-U2JJH4MO.js → exe-key-4L32R46F.js} +5 -7
- package/dist/{exe-org-45OTYZZJ.js → exe-org-OOO7KJVZ.js} +4 -4
- package/dist/{factory-2PB537KA.js → factory-CTFAGZUA.js} +1 -1
- package/dist/fast-db-init-HVAVS35N.js +7 -0
- package/dist/{file-edit-GSXUFUDC.js → file-edit-AZAJPCA3.js} +1 -1
- package/dist/{file-read-Z3F3PUCK.js → file-read-VACF23NC.js} +1 -1
- package/dist/{file-write-X77JXZ2C.js → file-write-B2RPT5U7.js} +1 -1
- package/dist/gateway/index.js +10 -10
- package/dist/{gateway-client-IPKKEYKY.js → gateway-client-5EUMMEZZ.js} +2 -2
- package/dist/{git-staleness-I662R7RL.js → git-staleness-BY4ZK6MW.js} +5 -5
- package/dist/{git-task-sweep-XWFCP2HA.js → git-task-sweep-RSRASAHB.js} +12 -11
- package/dist/{glob-2PWAXTZ2.js → glob-7PWH7WKL.js} +1 -1
- package/dist/{global-procedures-IEIJBCAH.js → global-procedures-EKYSVONR.js} +7 -7
- package/dist/graph-auto-extract-HWZ5GVXZ.js +161 -0
- package/dist/{graph-query-NCDYOT4Y.js → graph-query-SE6T5XC4.js} +1 -1
- package/dist/{graph-rag-2YLGRBW5.js → graph-rag-G3EG5Q6L.js} +3 -3
- package/dist/{grep-GTV6WAZ4.js → grep-HWIDXHRC.js} +1 -1
- package/dist/{hook-integrity-LLPJPAXW.js → hook-integrity-PR4BPZBT.js} +2 -2
- package/dist/hooks/bug-report-worker.js +13 -12
- package/dist/hooks/codex-stop-task-finalizer.js +16 -13
- package/dist/hooks/commit-complete.js +14 -13
- package/dist/hooks/error-recall.js +9 -12
- package/dist/hooks/exe-heartbeat-hook.js +6 -6
- package/dist/hooks/ingest-worker.js +9 -9
- package/dist/hooks/ingest.js +16 -19
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/notification.js +12 -10
- package/dist/hooks/post-compact.js +13 -12
- package/dist/hooks/post-tool-combined.js +6 -6
- package/dist/hooks/pre-compact.js +18 -17
- package/dist/hooks/pre-tool-use.js +19 -20
- package/dist/hooks/prompt-submit.js +78 -39
- package/dist/hooks/session-end.js +22 -21
- package/dist/hooks/session-start.js +31 -25
- package/dist/hooks/stop.js +20 -22
- package/dist/hooks/subagent-stop.js +13 -12
- package/dist/hooks/summary-worker.js +21 -20
- package/dist/{hooks-UK2AYRCA.js → hooks-LDCFYHDF.js} +1 -1
- package/dist/{imessage-LINH4V4D.js → imessage-6UOZB5VN.js} +1 -1
- package/dist/index.js +19 -18
- package/dist/{installer-PB63JTTG.js → installer-RLKOACKG.js} +9 -9
- package/dist/{installer-SSR2OOLO.js → installer-W4NY3OBF.js} +13 -11
- package/dist/{installer-ZONYB3XK.js → installer-X5FEYJIA.js} +9 -9
- package/dist/{intercom-queue-MMZT2MA2.js → intercom-queue-K3DVKSPJ.js} +1 -1
- package/dist/{key-backup-status-4WKIQOAS.js → key-backup-status-ORNMJEEA.js} +4 -6
- package/dist/lib/agent-config.js +4 -4
- package/dist/lib/cloud-sync.js +8 -8
- package/dist/lib/cloudflare-dns.js +1 -1
- package/dist/lib/config.js +3 -5
- package/dist/lib/consolidation.js +8 -8
- package/dist/lib/crypto.js +1 -1
- package/dist/lib/database.js +5 -5
- package/dist/lib/db-daemon-client.js +5 -5
- package/dist/lib/db.js +5 -5
- package/dist/lib/device-registry.js +4 -6
- package/dist/lib/embedder.js +6 -6
- package/dist/lib/employee-templates.js +8 -8
- package/dist/lib/employees.js +7 -5
- package/dist/lib/error-detector.js +1 -1
- package/dist/lib/exe-daemon-client.js +5 -5
- package/dist/lib/exe-daemon.js +143 -52
- package/dist/lib/file-grep.js +1 -1
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +5 -5
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +4 -4
- package/dist/lib/messaging.js +12 -11
- package/dist/lib/post-tool-memory.js +3 -3
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +6 -6
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +1 -1
- package/dist/lib/session-wrappers.js +1 -1
- package/dist/lib/skill-learning.js +7 -7
- package/dist/lib/status-brief.js +1 -1
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +6 -6
- package/dist/lib/tasks.js +14 -11
- package/dist/lib/tmux-routing.js +11 -10
- package/dist/lib/tmux-status.js +1 -1
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +6 -6
- package/dist/lib/transport.js +1 -1
- package/dist/lib/ws-auth.js +1 -1
- package/dist/lib/ws-client.js +2 -2
- package/dist/license-gate-J5YN264E.js +14 -0
- package/dist/mcp/register-tools.js +63 -62
- package/dist/mcp/server.js +65 -64
- package/dist/mcp/tools/complete-reminder.js +7 -7
- package/dist/mcp/tools/create-reminder.js +7 -7
- package/dist/mcp/tools/create-task.js +15 -13
- package/dist/mcp/tools/deactivate-behavior.js +8 -8
- package/dist/mcp/tools/list-reminders.js +7 -7
- package/dist/mcp/tools/list-tasks.js +14 -14
- package/dist/mcp/tools/send-message.js +14 -13
- package/dist/mcp/tools/update-task.js +13 -12
- package/dist/{mcp-diagnostics-CWMVPHVC.js → mcp-diagnostics-TSBY62UQ.js} +1 -1
- package/dist/{mcp-disconnect-tracker-RM3GEERR.js → mcp-disconnect-tracker-MB23DRS6.js} +1 -1
- package/dist/{mcp-http-config-PDGSOYNQ.js → mcp-http-config-6YLW4PFG.js} +6 -6
- package/dist/{memory-cards-OLE6MGO7.js → memory-cards-UAQCO4QR.js} +5 -5
- package/dist/{memory-poisoning-defense-OOHJIXIX.js → memory-poisoning-defense-VWITZ4WO.js} +5 -7
- package/dist/{memory-queue-TGWXMENR.js → memory-queue-NYIGZNCG.js} +4 -4
- package/dist/memory-queue-client-YJOLYALV.js +15 -0
- package/dist/{memory-reflection-Z7CT6JLY.js → memory-reflection-JQC4ZSUD.js} +5 -5
- package/dist/{message-queue-client-TWIA2GIH.js → message-queue-client-NTLKYGVO.js} +1 -1
- package/dist/{notifications-SREXGSAQ.js → notifications-YDOKTVCH.js} +11 -10
- package/dist/{oauth-server-NSWGKLLA.js → oauth-server-TOWAZR4K.js} +1 -1
- package/dist/{orchestration-phase-WLQMEP4M.js → orchestration-phase-FXKZYK6R.js} +4 -4
- package/dist/{orchestrator-CHQURQSC.js → orchestrator-BZ2D6ZM6.js} +13 -12
- package/dist/{permission-presets-3XKJNM6N.js → permission-presets-E3DZK46K.js} +1 -1
- package/dist/{permissions-EZH3ULLD.js → permissions-6MCWUDCD.js} +1 -1
- package/dist/{pg-ssl-4ZNXKUNH.js → pg-ssl-7JXQFL4I.js} +1 -1
- package/dist/{plan-limits-7L75PB33.js → plan-limits-KUTODKG6.js} +7 -7
- package/dist/{preferences-K2GKUQSJ.js → preferences-ERXO6SMJ.js} +3 -3
- package/dist/{project-name-OBIDABHE.js → project-name-EWG5KAZP.js} +1 -1
- package/dist/{projection-worker-HSGE44JA.js → projection-worker-UY7R2EQJ.js} +85 -8
- package/dist/{push-notifications-EOTMKJ6B.js → push-notifications-KDYFOJRI.js} +4 -4
- package/dist/{reranker-ME4CK2ZQ.js → reranker-OMADCS3D.js} +4 -4
- package/dist/{review-gate-M3U2YAW6.js → review-gate-IUNS6GQU.js} +1 -1
- package/dist/{review-polling-DQCN4TNM.js → review-polling-DORNZ2KI.js} +12 -11
- package/dist/runtime/index.js +14 -13
- package/dist/{self-query-router-TRPHL54X.js → self-query-router-37VB3PKQ.js} +1 -1
- package/dist/{session-events-ZZBFYL5Z.js → session-events-5WR5RVDK.js} +12 -12
- package/dist/{session-kill-telemetry-MUFET632.js → session-kill-telemetry-DHSQV2CI.js} +6 -6
- package/dist/{session-scope-QUUDZM2L.js → session-scope-D4Q62ZOZ.js} +13 -13
- package/dist/setup-wizard-QVNTI3T4.js +12 -0
- package/dist/{shard-manager-VYMJM7NR.js → shard-manager-SP4YL5JQ.js} +4 -4
- package/dist/{signal-C263RUND.js → signal-7UIRTYGZ.js} +1 -1
- package/dist/{slack-N7PL6QMX.js → slack-GCOYBZUK.js} +1 -1
- package/dist/{task-enforcement-WJ3S6JTL.js → task-enforcement-OYCQXBBC.js} +11 -10
- package/dist/{task-scanner-YHWRG4ZJ.js → task-scanner-QEM5CO2Y.js} +1 -1
- package/dist/{task-scope-V2CTRHG7.js → task-scope-WWRNU2LU.js} +11 -10
- package/dist/{tasks-crud-W2XPUGKK.js → tasks-crud-75AUVZPO.js} +13 -10
- package/dist/{tasks-review-BR2SBSYG.js → tasks-review-UMZN5ZPQ.js} +11 -10
- package/dist/{telegram-B54FFOXD.js → telegram-RGVD4LUY.js} +1 -1
- package/dist/{telemetry-7IQCPV4Q.js → telemetry-43X3GT3R.js} +1 -1
- package/dist/{token-budget-H2XSWO4D.js → token-budget-62TYDIMI.js} +5 -5
- package/dist/{tool-capability-index-5X2CCGIK.js → tool-capability-index-OBZXORBP.js} +2 -2
- package/dist/{tool-gates-SGFMDREY.js → tool-gates-3IC7DK4R.js} +1 -1
- package/dist/{tool-gates-3DNTD7G3.js → tool-gates-GXSYBVK4.js} +1 -1
- package/dist/{tool-registry-2VUAZXTW.js → tool-registry-5XN3FUYL.js} +1 -1
- package/dist/{tool-telemetry-NVPSPRYP.js → tool-telemetry-JL6NY3KP.js} +2 -2
- package/dist/tui/App.js +44 -43
- package/dist/{tui-data-QN4O565C.js → tui-data-C5I2YU4C.js} +11 -10
- package/dist/{update-check-ERUKV2G6.js → update-check-MKHO7H6B.js} +1 -1
- package/dist/{webhook-L5FGAUPJ.js → webhook-LCW7UP4L.js} +1 -1
- package/dist/{webhook-pipe-B7GJCJAI.js → webhook-pipe-PJOFVBD3.js} +1 -1
- package/dist/{whatsapp-7FK2PRWO.js → whatsapp-SILL4V64.js} +1 -1
- package/dist/{whatsapp-accounts-VIHRSLGB.js → whatsapp-accounts-BWRZUY23.js} +1 -1
- package/dist/{wiki-acl-R4IIHICT.js → wiki-acl-5EC5VNYG.js} +1 -1
- package/dist/{wiki-client-EUDJA7O2.js → wiki-client-MMVRPTPK.js} +1 -1
- package/dist/{worker-gate-3KDXLIJC.js → worker-gate-Q5Y6B5N7.js} +4 -4
- package/dist/{workflow-engine-GISKRYSO.js → workflow-engine-KAKVU7NC.js} +3 -3
- package/dist/{worktree-B3FHAHEM.js → worktree-OMPQEJH7.js} +1 -1
- package/package.json +2 -2
- package/release-notes.json +126 -126
- package/src/commands/exe/setup.md +1 -1
- package/dist/chunk-PNKVD2UK.js +0 -26
- package/dist/fast-db-init-67TQTHWT.js +0 -7
- package/dist/license-gate-JY2KFIKO.js +0 -14
- package/dist/memory-queue-client-RZP5F4EA.js +0 -15
- package/dist/setup-wizard-NXWCEK63.js +0 -12
- package/dist/{chunk-D5MPHVWH.js → chunk-524VLFFY.js} +0 -0
- package/dist/{chunk-HIQ5RDA7.js → chunk-A3A2E42I.js} +0 -0
- package/dist/{chunk-APRP5D27.js → chunk-H6ADW3YC.js} +0 -0
- package/dist/{chunk-AAVODJ4F.js → chunk-J2OPV5FE.js} +0 -0
- package/dist/{chunk-DBLBWWFS.js → chunk-S6DA6UKC.js} +3 -3
- /package/dist/{chunk-F3ULERRZ.js → chunk-TSCZMB3P.js} +0 -0
- /package/dist/{chunk-2HV2EQW2.js → chunk-WRU72I4S.js} +0 -0
|
@@ -2,10 +2,10 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-NFHFNPTN.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-ONMRBKAX.js";
|
|
9
9
|
import "../chunk-LOQCOHEW.js";
|
|
10
10
|
import "../chunk-TXSJ2L5O.js";
|
|
11
11
|
import "../chunk-64WZEXXA.js";
|
|
@@ -13,35 +13,34 @@ import "../chunk-3TXOH3SJ.js";
|
|
|
13
13
|
import "../chunk-RLCZBSUB.js";
|
|
14
14
|
import "../chunk-GZIAQYGI.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-KIUU4PNX.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-AERGE6GC.js";
|
|
19
|
+
import "../chunk-OPU3NYOO.js";
|
|
19
20
|
import {
|
|
20
21
|
getSessionKey
|
|
21
22
|
} from "../chunk-CVYC6DUW.js";
|
|
22
23
|
import "../chunk-GJV3WDWM.js";
|
|
23
24
|
import "../chunk-MP2AFCGL.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-DTLASDQM.js";
|
|
25
26
|
import "../chunk-HYZV25LY.js";
|
|
26
27
|
import {
|
|
27
28
|
canCoordinate,
|
|
28
29
|
loadEmployeesSync
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-TH6HTK2L.js";
|
|
31
|
+
import "../chunk-EOO32RJZ.js";
|
|
31
32
|
import "../chunk-FXU7JOXK.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-NNT2ZNMC.js";
|
|
33
34
|
import {
|
|
34
|
-
EXE_AI_DIR
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-PNKVD2UK.js";
|
|
35
|
+
EXE_AI_DIR
|
|
36
|
+
} from "../chunk-TOWAZ5IV.js";
|
|
37
|
+
import "../chunk-LYH5HE24.js";
|
|
38
|
+
import "../chunk-MLKGABMK.js";
|
|
39
39
|
|
|
40
40
|
// src/adapters/claude/hooks/pre-tool-use.ts
|
|
41
41
|
import { existsSync, writeFileSync, mkdirSync } from "fs";
|
|
42
42
|
import { execSync } from "child_process";
|
|
43
43
|
import path from "path";
|
|
44
|
-
init_config();
|
|
45
44
|
process.on("uncaughtException", () => process.exit(0));
|
|
46
45
|
process.on("unhandledRejection", () => process.exit(0));
|
|
47
46
|
if (!process.env.AGENT_ID) {
|
|
@@ -155,15 +154,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
155
154
|
process.exit(0);
|
|
156
155
|
}
|
|
157
156
|
}
|
|
158
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
157
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-BTZWAA4E.js");
|
|
159
158
|
const gatedAgent = getGatedAgent();
|
|
160
159
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
161
160
|
const filePath = data.tool_input?.file_path ?? "";
|
|
162
161
|
if (filePath) {
|
|
163
162
|
try {
|
|
164
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
163
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
165
164
|
await fastDbInit();
|
|
166
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
165
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-BTZWAA4E.js");
|
|
167
166
|
const decision = await evaluateDelegationGate({
|
|
168
167
|
agentId: agent.agentId,
|
|
169
168
|
toolName: data.tool_name,
|
|
@@ -208,7 +207,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
208
207
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
209
208
|
if (isUpdateTaskDone) {
|
|
210
209
|
try {
|
|
211
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
210
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
212
211
|
const client = await fastDbInit();
|
|
213
212
|
const taskId = String(toolInput.task_id ?? "");
|
|
214
213
|
const ptScope = sessionScopeFilter();
|
|
@@ -220,7 +219,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
220
219
|
const task = taskRow.rows[0];
|
|
221
220
|
const { hasRole: hasEngineerRole } = await import("../lib/employees.js");
|
|
222
221
|
if (hasEngineerRole(task.assigned_to, "Principal Engineer")) {
|
|
223
|
-
const { runReviewGate } = await import("../review-gate-
|
|
222
|
+
const { runReviewGate } = await import("../review-gate-IUNS6GQU.js");
|
|
224
223
|
const gate = runReviewGate({
|
|
225
224
|
taskCreatedAt: task.created_at,
|
|
226
225
|
result: toolInput.result
|
|
@@ -266,7 +265,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
266
265
|
}
|
|
267
266
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
268
267
|
try {
|
|
269
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
268
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
270
269
|
const client = await fastDbInit();
|
|
271
270
|
const dlScope = sessionScopeFilter();
|
|
272
271
|
const result = await client.execute({
|
|
@@ -2,24 +2,21 @@ import {
|
|
|
2
2
|
isCacheCold
|
|
3
3
|
} from "../chunk-6A7P74QV.js";
|
|
4
4
|
import "../chunk-YSU7JB7H.js";
|
|
5
|
-
import {
|
|
6
|
-
getProjectName
|
|
7
|
-
} from "../chunk-OPU3NYOO.js";
|
|
8
5
|
import {
|
|
9
6
|
hybridSearch,
|
|
10
7
|
lightweightSearch
|
|
11
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-AGFWOII2.js";
|
|
12
9
|
import "../chunk-SH45SJQW.js";
|
|
13
10
|
import {
|
|
14
11
|
getActiveAgent
|
|
15
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-NFHFNPTN.js";
|
|
16
13
|
import {
|
|
17
14
|
initStore
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-Y6TS42WD.js";
|
|
16
|
+
import "../chunk-524VLFFY.js";
|
|
20
17
|
import {
|
|
21
18
|
isExeSession
|
|
22
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-ONMRBKAX.js";
|
|
23
20
|
import "../chunk-LOQCOHEW.js";
|
|
24
21
|
import "../chunk-TXSJ2L5O.js";
|
|
25
22
|
import "../chunk-64WZEXXA.js";
|
|
@@ -27,40 +24,38 @@ import "../chunk-3TXOH3SJ.js";
|
|
|
27
24
|
import "../chunk-RLCZBSUB.js";
|
|
28
25
|
import "../chunk-GZIAQYGI.js";
|
|
29
26
|
import "../chunk-ZQX6UOP6.js";
|
|
30
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-KIUU4PNX.js";
|
|
31
28
|
import "../chunk-NGP6LSV2.js";
|
|
32
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-AERGE6GC.js";
|
|
30
|
+
import {
|
|
31
|
+
getProjectName
|
|
32
|
+
} from "../chunk-OPU3NYOO.js";
|
|
33
33
|
import {
|
|
34
34
|
getSessionKey
|
|
35
35
|
} from "../chunk-CVYC6DUW.js";
|
|
36
36
|
import "../chunk-GJV3WDWM.js";
|
|
37
37
|
import "../chunk-MP2AFCGL.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-DTLASDQM.js";
|
|
39
39
|
import "../chunk-HYZV25LY.js";
|
|
40
40
|
import {
|
|
41
41
|
canCoordinate
|
|
42
|
-
} from "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
} from "../chunk-TH6HTK2L.js";
|
|
43
|
+
import "../chunk-EOO32RJZ.js";
|
|
44
44
|
import "../chunk-FXU7JOXK.js";
|
|
45
45
|
import "../chunk-6D23UNXU.js";
|
|
46
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-NNT2ZNMC.js";
|
|
47
47
|
import {
|
|
48
48
|
EXE_AI_DIR,
|
|
49
|
-
init_config,
|
|
50
49
|
loadConfig,
|
|
51
50
|
loadConfigSync
|
|
52
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-TOWAZ5IV.js";
|
|
53
52
|
import {
|
|
54
53
|
atomicWriteJsonSync,
|
|
55
|
-
atomicWriteSync
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
import "../chunk-PNKVD2UK.js";
|
|
54
|
+
atomicWriteSync
|
|
55
|
+
} from "../chunk-LYH5HE24.js";
|
|
56
|
+
import "../chunk-MLKGABMK.js";
|
|
59
57
|
|
|
60
58
|
// src/adapters/claude/hooks/prompt-submit.ts
|
|
61
|
-
init_config();
|
|
62
|
-
init_secure_files();
|
|
63
|
-
init_config();
|
|
64
59
|
import { readFileSync, mkdirSync, existsSync, unlinkSync, statSync } from "fs";
|
|
65
60
|
import { execFileSync } from "child_process";
|
|
66
61
|
import path from "path";
|
|
@@ -140,7 +135,7 @@ process.stdin.on("end", async () => {
|
|
|
140
135
|
timeout: 2e3
|
|
141
136
|
}).trim();
|
|
142
137
|
if (currentSession) {
|
|
143
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
138
|
+
const { drainForSession } = await import("../intercom-queue-K3DVKSPJ.js");
|
|
144
139
|
const transport = (await import("../lib/transport.js")).getTransport();
|
|
145
140
|
const { getAgentRuntime } = await import("../lib/agent-config.js");
|
|
146
141
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
@@ -274,7 +269,7 @@ ${fresh.map(
|
|
|
274
269
|
atomicWriteSync(counterPath, String(count));
|
|
275
270
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
276
271
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
277
|
-
const { listBehaviors } = await import("../behaviors-
|
|
272
|
+
const { listBehaviors } = await import("../behaviors-4U2N5L4E.js");
|
|
278
273
|
const behaviors = await listBehaviors(agent.agentId);
|
|
279
274
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
280
275
|
if (active.length > 0) {
|
|
@@ -299,7 +294,7 @@ ${lines.join("\n")}`;
|
|
|
299
294
|
if (!lastCheckedAt) {
|
|
300
295
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
301
296
|
}
|
|
302
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
297
|
+
const { listBehaviorsSince } = await import("../behaviors-4U2N5L4E.js");
|
|
303
298
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
304
299
|
if (newBehaviors.length > 0) {
|
|
305
300
|
const lines = newBehaviors.map(
|
|
@@ -352,7 +347,7 @@ ${body}`;
|
|
|
352
347
|
let reviewContext = "";
|
|
353
348
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
354
349
|
try {
|
|
355
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
350
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-UMZN5ZPQ.js");
|
|
356
351
|
const sessionKey = getSessionKey();
|
|
357
352
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
358
353
|
let sessionScope;
|
|
@@ -407,7 +402,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
407
402
|
let coreMemoryContext = "";
|
|
408
403
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
409
404
|
try {
|
|
410
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
405
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-C3JLISAU.js");
|
|
411
406
|
const entries = await getCoreMemory(agent.agentId);
|
|
412
407
|
const block = formatCoreMemoryBlock(entries);
|
|
413
408
|
if (block) coreMemoryContext = block;
|
|
@@ -416,19 +411,63 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
416
411
|
}
|
|
417
412
|
let taskSignalContext = "";
|
|
418
413
|
try {
|
|
419
|
-
const
|
|
420
|
-
if (existsSync(
|
|
421
|
-
const
|
|
422
|
-
const
|
|
423
|
-
|
|
424
|
-
|
|
414
|
+
const signalDir = path.join(os.homedir(), ".exe-os", "task-signals");
|
|
415
|
+
if (existsSync(signalDir)) {
|
|
416
|
+
const { readdirSync } = await import("fs");
|
|
417
|
+
const agentPrefix = `${agent.agentId}.`;
|
|
418
|
+
const signalFiles = readdirSync(signalDir).filter(
|
|
419
|
+
(f) => f.endsWith(".pending") && f.startsWith(agentPrefix)
|
|
420
|
+
);
|
|
421
|
+
if (signalFiles.length > 0) {
|
|
422
|
+
const priorityRank = { p0: 0, p1: 1, p2: 2 };
|
|
423
|
+
let bestSignal = null;
|
|
424
|
+
let bestFile = "";
|
|
425
|
+
let bestRank = 999;
|
|
426
|
+
for (const file of signalFiles) {
|
|
427
|
+
try {
|
|
428
|
+
const raw = readFileSync(path.join(signalDir, file), "utf8");
|
|
429
|
+
const sig = JSON.parse(raw);
|
|
430
|
+
const rank = priorityRank[sig.priority] ?? 1;
|
|
431
|
+
if (rank < bestRank || !bestSignal) {
|
|
432
|
+
bestSignal = sig;
|
|
433
|
+
bestFile = file;
|
|
434
|
+
bestRank = rank;
|
|
435
|
+
}
|
|
436
|
+
} catch {
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
if (bestSignal) {
|
|
440
|
+
taskSignalContext = `
|
|
441
|
+
[\u{1F514} NEW TASK ASSIGNED] "${bestSignal.title}" [${bestSignal.priority}] from ${bestSignal.assigned_by}. Run get_task(task_id="${bestSignal.task_id}") and START WORKING NOW.
|
|
425
442
|
|
|
426
443
|
IMPORTANT: After completing your current task, you MUST address the new task above. Do not ignore it.`;
|
|
427
|
-
|
|
444
|
+
try {
|
|
445
|
+
const { writeDispatchAck } = await import("../dispatch-ack-JYCKAWKZ.js");
|
|
446
|
+
writeDispatchAck(bestSignal.task_id, agent.agentId);
|
|
447
|
+
} catch {
|
|
448
|
+
}
|
|
449
|
+
try {
|
|
450
|
+
unlinkSync(path.join(signalDir, bestFile));
|
|
451
|
+
} catch {
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
} catch {
|
|
457
|
+
}
|
|
458
|
+
let reviewSignalContext = "";
|
|
459
|
+
try {
|
|
460
|
+
const reviewSignalPath = path.join(os.homedir(), ".exe-os", "task-signals", `${agent.agentId}.review-pending`);
|
|
461
|
+
if (existsSync(reviewSignalPath)) {
|
|
462
|
+
const raw = readFileSync(reviewSignalPath, "utf8");
|
|
463
|
+
const signal = JSON.parse(raw);
|
|
464
|
+
reviewSignalContext = `
|
|
465
|
+
[\u{1F4CB} REVIEW READY] ${signal.assigned_to} completed "${signal.title}". Run list_tasks(status='needs_review') and process reviews NOW.`;
|
|
466
|
+
unlinkSync(reviewSignalPath);
|
|
428
467
|
}
|
|
429
468
|
} catch {
|
|
430
469
|
}
|
|
431
|
-
const combined = [cacheContext, coreMemoryContext, memoryContext, behaviorContext, identityContext, reviewContext, taskSignalContext, mcpStaleNotice].filter(Boolean).join("\n\n");
|
|
470
|
+
const combined = [cacheContext, coreMemoryContext, memoryContext, behaviorContext, identityContext, reviewContext, taskSignalContext, reviewSignalContext, mcpStaleNotice].filter(Boolean).join("\n\n");
|
|
432
471
|
if (combined.length > 0) {
|
|
433
472
|
const output = JSON.stringify({
|
|
434
473
|
hookSpecificOutput: {
|
|
@@ -458,8 +497,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
458
497
|
return;
|
|
459
498
|
}
|
|
460
499
|
try {
|
|
461
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
462
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
500
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
501
|
+
const { recordSessionEvent } = await import("../session-events-5WR5RVDK.js");
|
|
463
502
|
const client = await fastDbInit();
|
|
464
503
|
await recordSessionEvent(client, {
|
|
465
504
|
agentId: agent.agentId,
|
|
@@ -474,7 +513,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
474
513
|
}
|
|
475
514
|
if (!loadConfigSync().autoIngestion) return;
|
|
476
515
|
try {
|
|
477
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
516
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YJOLYALV.js");
|
|
478
517
|
await writeMemoryViaDaemon({
|
|
479
518
|
raw_text: prompt.slice(0, 2e3),
|
|
480
519
|
agent_id: agent.agentId,
|
|
@@ -6,18 +6,18 @@ import "../chunk-SH45SJQW.js";
|
|
|
6
6
|
import {
|
|
7
7
|
clearActiveAgent,
|
|
8
8
|
getActiveAgent
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-NFHFNPTN.js";
|
|
10
10
|
import {
|
|
11
11
|
writeContinuityCheckpoint
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-TKEDF7KV.js";
|
|
13
|
+
import "../chunk-EHXOWGQG.js";
|
|
14
|
+
import "../chunk-EYQIEK5M.js";
|
|
15
|
+
import "../chunk-W6SKR3HZ.js";
|
|
16
16
|
import "../chunk-3H4VU65X.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-K4KAPZC7.js";
|
|
18
18
|
import {
|
|
19
19
|
strictSessionScopeFilter
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-ONMRBKAX.js";
|
|
21
21
|
import "../chunk-LOQCOHEW.js";
|
|
22
22
|
import "../chunk-TXSJ2L5O.js";
|
|
23
23
|
import "../chunk-64WZEXXA.js";
|
|
@@ -25,25 +25,26 @@ import "../chunk-3TXOH3SJ.js";
|
|
|
25
25
|
import "../chunk-RLCZBSUB.js";
|
|
26
26
|
import "../chunk-GZIAQYGI.js";
|
|
27
27
|
import "../chunk-ZQX6UOP6.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-KIUU4PNX.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-AERGE6GC.js";
|
|
31
|
+
import "../chunk-OPU3NYOO.js";
|
|
31
32
|
import {
|
|
32
33
|
getSessionKey
|
|
33
34
|
} from "../chunk-CVYC6DUW.js";
|
|
34
35
|
import "../chunk-GJV3WDWM.js";
|
|
35
36
|
import "../chunk-MP2AFCGL.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-DTLASDQM.js";
|
|
37
38
|
import "../chunk-HYZV25LY.js";
|
|
38
39
|
import {
|
|
39
40
|
canCoordinate
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-TH6HTK2L.js";
|
|
42
|
+
import "../chunk-EOO32RJZ.js";
|
|
42
43
|
import "../chunk-FXU7JOXK.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-NNT2ZNMC.js";
|
|
45
|
+
import "../chunk-TOWAZ5IV.js";
|
|
46
|
+
import "../chunk-LYH5HE24.js";
|
|
47
|
+
import "../chunk-MLKGABMK.js";
|
|
47
48
|
|
|
48
49
|
// src/adapters/claude/hooks/session-end.ts
|
|
49
50
|
process.on("uncaughtException", () => process.exit(0));
|
|
@@ -71,7 +72,7 @@ process.stdin.on("end", async () => {
|
|
|
71
72
|
const agent = getActiveAgent();
|
|
72
73
|
if (agent.agentId !== "default") {
|
|
73
74
|
try {
|
|
74
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
75
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
75
76
|
const client = await fastDbInit();
|
|
76
77
|
const seScope = strictSessionScopeFilter();
|
|
77
78
|
const orphanResult = await client.execute({
|
|
@@ -146,7 +147,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
146
147
|
extraSections
|
|
147
148
|
});
|
|
148
149
|
try {
|
|
149
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
150
|
+
const { clearSessionFileReads } = await import("../git-staleness-BY4ZK6MW.js");
|
|
150
151
|
await clearSessionFileReads(data.session_id);
|
|
151
152
|
} catch {
|
|
152
153
|
}
|
|
@@ -160,7 +161,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
160
161
|
);
|
|
161
162
|
let commits = [];
|
|
162
163
|
try {
|
|
163
|
-
const { getRecentCommits } = await import("../git-task-sweep-
|
|
164
|
+
const { getRecentCommits } = await import("../git-task-sweep-RSRASAHB.js");
|
|
164
165
|
commits = getRecentCommits(30);
|
|
165
166
|
} catch {
|
|
166
167
|
}
|
|
@@ -170,7 +171,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
170
171
|
const title = String(row.title);
|
|
171
172
|
try {
|
|
172
173
|
if (commits.length > 0) {
|
|
173
|
-
const { findBestMatch } = await import("../git-task-sweep-
|
|
174
|
+
const { findBestMatch } = await import("../git-task-sweep-RSRASAHB.js");
|
|
174
175
|
let context;
|
|
175
176
|
try {
|
|
176
177
|
const ctxResult = await client.execute({
|
|
@@ -214,7 +215,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
214
215
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
215
216
|
}
|
|
216
217
|
try {
|
|
217
|
-
const { writeNotification } = await import("../notifications-
|
|
218
|
+
const { writeNotification } = await import("../notifications-YDOKTVCH.js");
|
|
218
219
|
await writeNotification({
|
|
219
220
|
agentId: agent.agentId,
|
|
220
221
|
agentRole: agent.agentRole,
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
init_config,
|
|
3
2
|
loadConfigSync
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-TOWAZ5IV.js";
|
|
4
|
+
import "../chunk-LYH5HE24.js";
|
|
5
|
+
import "../chunk-MLKGABMK.js";
|
|
7
6
|
|
|
8
7
|
// src/adapters/claude/hooks/session-start.ts
|
|
9
|
-
init_config();
|
|
10
8
|
import path from "path";
|
|
11
9
|
import { unlinkSync, existsSync, readFileSync } from "fs";
|
|
12
10
|
process.on("uncaughtException", () => process.exit(0));
|
|
@@ -33,9 +31,9 @@ process.stdin.on("end", async () => {
|
|
|
33
31
|
try {
|
|
34
32
|
const { getClient } = await import("../lib/database.js");
|
|
35
33
|
const { lightweightSearch } = await import("../lib/hybrid-search.js");
|
|
36
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
37
|
-
const { getProjectName } = await import("../project-name-
|
|
38
|
-
const {
|
|
34
|
+
const { getActiveAgent } = await import("../active-agent-KMQCNXXD.js");
|
|
35
|
+
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
36
|
+
const { getCurrentSessionScope } = await import("../task-scope-WWRNU2LU.js");
|
|
39
37
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
40
38
|
const data = JSON.parse(input);
|
|
41
39
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -52,7 +50,7 @@ process.stdin.on("end", async () => {
|
|
|
52
50
|
} catch {
|
|
53
51
|
}
|
|
54
52
|
}
|
|
55
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
53
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
56
54
|
await fastDbInit();
|
|
57
55
|
const agent = getActiveAgent();
|
|
58
56
|
const agentId = agent.agentId;
|
|
@@ -66,13 +64,16 @@ process.stdin.on("end", async () => {
|
|
|
66
64
|
if (existsSync(markerPath)) {
|
|
67
65
|
const marker = JSON.parse(readFileSync(markerPath, "utf-8"));
|
|
68
66
|
if (marker.taskId) {
|
|
69
|
-
const
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
const { queryTaskRows } = await import("../tasks-crud-75AUVZPO.js");
|
|
68
|
+
const markerRows = await queryTaskRows({
|
|
69
|
+
columns: "status",
|
|
70
|
+
sessionScope: sessionScope ?? null,
|
|
71
|
+
projectName: null,
|
|
72
|
+
limit: 1,
|
|
73
|
+
extraConditions: ["id = ?"],
|
|
74
|
+
extraArgs: [marker.taskId]
|
|
74
75
|
});
|
|
75
|
-
const status =
|
|
76
|
+
const status = markerRows[0]?.status;
|
|
76
77
|
if (!status || status !== "in_progress") {
|
|
77
78
|
unlinkSync(markerPath);
|
|
78
79
|
}
|
|
@@ -107,7 +108,7 @@ process.stdin.on("end", async () => {
|
|
|
107
108
|
query = `last actions on ${projectName}`;
|
|
108
109
|
header = "## Resuming Session\nHere's where you left off:";
|
|
109
110
|
try {
|
|
110
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
111
|
+
const { buildCatchupBrief } = await import("../catchup-brief-IPNSW7RQ.js");
|
|
111
112
|
const brief = await buildCatchupBrief(
|
|
112
113
|
agentId,
|
|
113
114
|
projectName,
|
|
@@ -119,7 +120,7 @@ process.stdin.on("end", async () => {
|
|
|
119
120
|
} catch {
|
|
120
121
|
}
|
|
121
122
|
try {
|
|
122
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
123
|
+
const { detectStaleFiles } = await import("../git-staleness-BY4ZK6MW.js");
|
|
123
124
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
124
125
|
if (staleFiles.length > 0) {
|
|
125
126
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -139,14 +140,19 @@ The following files have been modified since you last read them:
|
|
|
139
140
|
);
|
|
140
141
|
let taskBrief = "";
|
|
141
142
|
try {
|
|
142
|
-
const
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
const { queryTaskRows } = await import("../tasks-crud-75AUVZPO.js");
|
|
144
|
+
const taskResult = await queryTaskRows({
|
|
145
|
+
assignedTo: agentId,
|
|
146
|
+
status: ["open", "in_progress"],
|
|
147
|
+
columns: "id, title, priority, project_name, status",
|
|
148
|
+
sessionScope: sessionScope ?? void 0,
|
|
149
|
+
projectName: null,
|
|
150
|
+
// show tasks across projects in the brief
|
|
151
|
+
orderBy: "priority ASC",
|
|
152
|
+
limit: 100
|
|
147
153
|
});
|
|
148
|
-
if (taskResult.
|
|
149
|
-
const taskLines = taskResult.
|
|
154
|
+
if (taskResult.length > 0) {
|
|
155
|
+
const taskLines = taskResult.map(
|
|
150
156
|
(r) => `- [${String(r.priority).toUpperCase()}] ${r.title} (${r.project_name}) \u2014 ${r.status}`
|
|
151
157
|
);
|
|
152
158
|
taskBrief = `
|
|
@@ -189,7 +195,7 @@ You are **${title}**${role ? ` (${role})` : ""}. ${firstLine}
|
|
|
189
195
|
}
|
|
190
196
|
}
|
|
191
197
|
try {
|
|
192
|
-
const { loadOrchestrationPhase } = await import("../orchestration-phase-
|
|
198
|
+
const { loadOrchestrationPhase } = await import("../orchestration-phase-FXKZYK6R.js");
|
|
193
199
|
const phase = await loadOrchestrationPhase();
|
|
194
200
|
additionalContext += `## Orchestration Phase
|
|
195
201
|
${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user can switch phases anytime. ${phase.nextSuggestion}
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NFHFNPTN.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-ONMRBKAX.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-TXSJ2L5O.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
@@ -12,31 +12,29 @@ import "../chunk-3TXOH3SJ.js";
|
|
|
12
12
|
import "../chunk-RLCZBSUB.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
14
|
import "../chunk-ZQX6UOP6.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-KIUU4PNX.js";
|
|
16
16
|
import "../chunk-NGP6LSV2.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-AERGE6GC.js";
|
|
18
|
+
import "../chunk-OPU3NYOO.js";
|
|
18
19
|
import "../chunk-CVYC6DUW.js";
|
|
19
20
|
import "../chunk-GJV3WDWM.js";
|
|
20
21
|
import "../chunk-MP2AFCGL.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-DTLASDQM.js";
|
|
22
23
|
import "../chunk-HYZV25LY.js";
|
|
23
24
|
import {
|
|
24
25
|
canCoordinate
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-TH6HTK2L.js";
|
|
27
|
+
import "../chunk-EOO32RJZ.js";
|
|
27
28
|
import "../chunk-FXU7JOXK.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-NNT2ZNMC.js";
|
|
29
30
|
import {
|
|
30
31
|
EXE_AI_DIR,
|
|
31
|
-
init_config,
|
|
32
32
|
loadConfigSync
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-TOWAZ5IV.js";
|
|
34
|
+
import "../chunk-LYH5HE24.js";
|
|
35
|
+
import "../chunk-MLKGABMK.js";
|
|
36
36
|
|
|
37
37
|
// src/adapters/claude/hooks/stop.ts
|
|
38
|
-
init_config();
|
|
39
|
-
init_config();
|
|
40
38
|
import { spawn } from "child_process";
|
|
41
39
|
import { existsSync, openSync, closeSync, readFileSync, writeFileSync, mkdirSync } from "fs";
|
|
42
40
|
import path from "path";
|
|
@@ -120,8 +118,8 @@ process.stdin.on("end", async () => {
|
|
|
120
118
|
process.exit(0);
|
|
121
119
|
}
|
|
122
120
|
try {
|
|
123
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
124
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
121
|
+
const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
|
|
122
|
+
const { recordSessionEvent } = await import("../session-events-5WR5RVDK.js");
|
|
125
123
|
const client = await fastDbInit();
|
|
126
124
|
await recordSessionEvent(client, {
|
|
127
125
|
agentId: agent.agentId,
|
|
@@ -139,7 +137,7 @@ process.stdin.on("end", async () => {
|
|
|
139
137
|
if (existsSync(taskCachePath)) {
|
|
140
138
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
141
139
|
if (cached.taskId) {
|
|
142
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
140
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-62TYDIMI.js");
|
|
143
141
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
144
142
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
145
143
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -157,7 +155,7 @@ process.stdin.on("end", async () => {
|
|
|
157
155
|
}
|
|
158
156
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
159
157
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
160
|
-
import("../fast-db-init-
|
|
158
|
+
import("../fast-db-init-HVAVS35N.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
161
159
|
const stScope = sessionScopeFilter();
|
|
162
160
|
const tasks = await client.execute({
|
|
163
161
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -175,7 +173,7 @@ process.stdin.on("end", async () => {
|
|
|
175
173
|
"",
|
|
176
174
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
177
175
|
].join("\n");
|
|
178
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
176
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YJOLYALV.js");
|
|
179
177
|
await writeMemoryViaDaemon({
|
|
180
178
|
raw_text: checkpoint,
|
|
181
179
|
agent_id: agent.agentId,
|
|
@@ -228,7 +226,7 @@ Session: ${data.session_id}
|
|
|
228
226
|
|
|
229
227
|
## Recent Thread
|
|
230
228
|
${msgs.slice(-15).join("\n")}`;
|
|
231
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
229
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YJOLYALV.js");
|
|
232
230
|
await writeMemoryViaDaemon({
|
|
233
231
|
raw_text: summary,
|
|
234
232
|
agent_id: agent.agentId,
|
|
@@ -250,7 +248,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
250
248
|
} catch {
|
|
251
249
|
}
|
|
252
250
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
253
|
-
import("../fast-db-init-
|
|
251
|
+
import("../fast-db-init-HVAVS35N.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
254
252
|
const orScope = sessionScopeFilter();
|
|
255
253
|
return client.execute({
|
|
256
254
|
sql: `SELECT title, status FROM tasks
|
|
@@ -270,7 +268,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
270
268
|
});
|
|
271
269
|
}
|
|
272
270
|
if (AUTO_INGESTION_ENABLED) {
|
|
273
|
-
import("../memory-queue-client-
|
|
271
|
+
import("../memory-queue-client-YJOLYALV.js").then(
|
|
274
272
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
275
273
|
raw_text: message.slice(0, 5e3),
|
|
276
274
|
agent_id: agent.agentId,
|