@askexenow/exe-os 0.9.231 → 0.9.233
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-GJDG4CAW.js → active-agent-JD6BCCFZ.js} +5 -5
- package/dist/{active-agent-WOP3ZHLN.js → active-agent-RCXBLWQS.js} +5 -5
- package/dist/{agent-context-ZPDQOAD2.js → agent-context-AZTTMUHP.js} +1 -1
- package/dist/{agent-heartbeat-AWTVGE4C.js → agent-heartbeat-I5UPGXAU.js} +1 -1
- package/dist/{agent-loop-7UM2ENGU.js → agent-loop-NUIWAL3Z.js} +1 -1
- package/dist/{agentic-ontology-ASORFII6.js → agentic-ontology-PAYLA3Q6.js} +2 -2
- package/dist/{asana-JN2UF47A.js → asana-MRQ2OQMJ.js} +1 -1
- package/dist/{backfill-metadata-7WHAJKVL.js → backfill-metadata-DQ7CJSYU.js} +7 -7
- package/dist/{background-jobs-VTOMOTNA.js → background-jobs-RWL46VRD.js} +3 -3
- package/dist/{bash-XA65M6T6.js → bash-HOHKSOU3.js} +1 -1
- package/dist/{behaviors-36T3O2DC.js → behaviors-I7JQLV6G.js} +5 -5
- package/dist/bin/age-ontology-load.js +3 -3
- 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 +11 -11
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +13 -13
- package/dist/bin/cli.js +24 -21
- package/dist/bin/deferred-daemon-restart.js +1 -1
- package/dist/bin/exe-agent-config.js +5 -5
- package/dist/bin/exe-agent.js +6 -6
- package/dist/bin/exe-assign.js +11 -11
- package/dist/bin/exe-boot.js +25 -25
- package/dist/bin/exe-call.js +6 -6
- package/dist/bin/exe-cloud.js +9 -9
- package/dist/bin/exe-dispatch.js +13 -13
- 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 +4 -4
- package/dist/bin/exe-heartbeat.js +14 -14
- package/dist/bin/exe-kill.js +17 -17
- package/dist/bin/exe-launch-agent.js +21 -21
- package/dist/bin/exe-new-employee.js +10 -10
- package/dist/bin/exe-pending-messages.js +14 -14
- package/dist/bin/exe-pending-notifications.js +13 -13
- package/dist/bin/exe-pending-reviews.js +14 -14
- package/dist/bin/exe-rename.js +6 -6
- package/dist/bin/exe-review.js +16 -16
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +19 -19
- package/dist/bin/exe-settings.js +8 -8
- package/dist/bin/exe-start-codex.js +15 -15
- package/dist/bin/exe-start-opencode.js +11 -11
- package/dist/bin/exe-status.js +14 -14
- package/dist/bin/exe-support.js +4 -4
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +13 -13
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/graph-layer-benchmark.js +1 -1
- package/dist/bin/import-history.js +10 -10
- package/dist/bin/install.js +40 -24
- package/dist/bin/intercom-check.js +6 -6
- package/dist/bin/list-providers.js +1 -1
- package/dist/bin/mcp-sessions.js +3 -3
- package/dist/bin/orchestration-metrics.js +6 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +5 -5
- package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +13 -13
- package/dist/bin/setup.js +4 -4
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/update.js +3 -12
- package/dist/bin/verify-stack.js +1 -1
- package/dist/bin/vps-backup.js +1 -1
- package/dist/bin/vps-health-gate.js +2 -2
- package/dist/{branding-I2TDZFUH.js → branding-I7YYX4FM.js} +2 -2
- package/dist/{browser-sanitizer-MRSSEJZE.js → browser-sanitizer-Q3GWRYKI.js} +1 -1
- package/dist/{browser-session-store-RF45DSJR.js → browser-session-store-TSD4PCY7.js} +1 -1
- package/dist/{capacity-monitor-PRUTCTKE.js → capacity-monitor-4EFUNBHQ.js} +14 -14
- package/dist/{catchup-brief-E2UK24I7.js → catchup-brief-AREGE4U6.js} +16 -16
- package/dist/{chunk-PW2YH2ZR.js → chunk-2EBKU2XN.js} +1 -1
- package/dist/{chunk-Q7RGLXQO.js → chunk-2ORPA23Y.js} +1 -1
- package/dist/{chunk-7DNX45WB.js → chunk-2QRT6G4V.js} +1 -1
- package/dist/{chunk-UKCXMU5W.js → chunk-35AKID7J.js} +6 -6
- package/dist/{chunk-6YZ4MT2L.js → chunk-3HH4YLLN.js} +7 -7
- package/dist/{chunk-LRRMS5OF.js → chunk-3L4A54VE.js} +11 -11
- package/dist/{chunk-OE6SYHTC.js → chunk-4DIB3GXJ.js} +1 -1
- package/dist/{chunk-3MK3R5E6.js → chunk-4TKI4VW7.js} +4 -4
- package/dist/{chunk-FIPU4BDF.js → chunk-5NIUTWV4.js} +1 -1
- package/dist/{chunk-J5VSABXD.js → chunk-5O5NXKDM.js} +2 -2
- package/dist/{chunk-JBKA7F5V.js → chunk-5SYO2FD7.js} +471 -446
- package/dist/{chunk-3EFVHTTG.js → chunk-5UH67CWJ.js} +1 -1
- package/dist/{chunk-GKM7RYN3.js → chunk-6HYAEYQ3.js} +7 -6
- package/dist/{chunk-GVP5U4WL.js → chunk-6OJJF4WP.js} +1 -1
- package/dist/{chunk-JGZS4U4X.js → chunk-AVICWQYY.js} +1 -1
- package/dist/{chunk-GTTLP5WK.js → chunk-B4KT7ZX4.js} +117 -109
- package/dist/{chunk-X3AVWFWW.js → chunk-BRFH5X7G.js} +1 -1
- package/dist/{chunk-Q5GUJUDW.js → chunk-BWHBPDYB.js} +1 -1
- package/dist/{chunk-ETSREHYC.js → chunk-BZWKTFEB.js} +2 -2
- package/dist/{chunk-NXF7NZEA.js → chunk-C2D37S73.js} +7 -7
- package/dist/{chunk-2V5UDX2O.js → chunk-C36GJWKH.js} +3 -3
- package/dist/{chunk-2EHYQKJR.js → chunk-CGBH7RVU.js} +5 -5
- package/dist/{chunk-26PUEPOY.js → chunk-CKTFH5RQ.js} +3 -3
- package/dist/{chunk-UV4ZHXUP.js → chunk-CNCTKOX2.js} +1 -1
- package/dist/{chunk-D4IVTUNN.js → chunk-D5C56WO3.js} +1 -1
- package/dist/{chunk-I2CDSGQW.js → chunk-DIO7YUAT.js} +1 -1
- package/dist/{chunk-A2G6WCUO.js → chunk-EMOIEQ4A.js} +1 -1
- package/dist/{chunk-HQMEOIUJ.js → chunk-EPWDTS2Q.js} +1 -1
- package/dist/{chunk-6MP5NOOR.js → chunk-ESKBZN4Q.js} +1 -1
- package/dist/{chunk-3CLQFRM6.js → chunk-F4CQKTVZ.js} +26 -4
- package/dist/{chunk-GFCQJZTO.js → chunk-F4TCKCKK.js} +2 -2
- package/dist/{chunk-I32QME33.js → chunk-FOP5EAJZ.js} +10 -10
- package/dist/{chunk-N4C2RMEO.js → chunk-G5WLNJSC.js} +2 -2
- package/dist/{chunk-2VZ6SY2R.js → chunk-GBCZXOWU.js} +7 -3
- package/dist/{chunk-5X3ISBHJ.js → chunk-GQHV2QYL.js} +11 -11
- package/dist/{chunk-QYUWMF3P.js → chunk-HBJZ5QZI.js} +1 -1
- package/dist/{chunk-WUFPA6LR.js → chunk-HIWXAE6E.js} +2 -2
- package/dist/{chunk-CHT3THVG.js → chunk-J2QQMTCD.js} +1 -1
- package/dist/{chunk-G4LLKD4Z.js → chunk-J5MOKLCJ.js} +1 -1
- package/dist/{chunk-B5AEHLZQ.js → chunk-JFUVMMBE.js} +3 -3
- package/dist/{chunk-YADYM2DE.js → chunk-JL3K5OTS.js} +1 -1
- package/dist/{chunk-GGV3PFUW.js → chunk-JZMVLAZ2.js} +1 -1
- package/dist/{chunk-7NNXBDOO.js → chunk-KDJRFJDL.js} +26 -16
- package/dist/{chunk-R2E4TV5V.js → chunk-L6LDDOYW.js} +1 -1
- package/dist/{chunk-5HF7X4WH.js → chunk-LEK3ANCA.js} +19 -19
- package/dist/{chunk-UILBQ5PU.js → chunk-LQZULPXV.js} +2 -2
- package/dist/{chunk-MKVFPQH2.js → chunk-LWQ3PFSR.js} +2 -2
- package/dist/{chunk-ZVSG2KKG.js → chunk-MBHZDXGN.js} +1 -1
- package/dist/{chunk-HO5SBL4B.js → chunk-MDE2ZNWZ.js} +2 -2
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/{chunk-SJI7LQUK.js → chunk-MOMOSSS3.js} +3 -3
- package/dist/{chunk-SSMXRAE2.js → chunk-O4MTX7JR.js} +3 -3
- package/dist/{chunk-WEMIJFOX.js → chunk-OHCRCEPG.js} +26 -12
- package/dist/{chunk-Z3TT2SVJ.js → chunk-OMHTKVHC.js} +1 -1
- package/dist/{chunk-WA67SFFZ.js → chunk-PJPPO6EF.js} +1 -1
- package/dist/{chunk-FF62UWIJ.js → chunk-Q4GHOMRW.js} +1 -1
- package/dist/{chunk-J5WI42RB.js → chunk-QRHVGJOB.js} +19 -19
- package/dist/{chunk-ADJXHBEU.js → chunk-QUTBXURR.js} +1 -1
- package/dist/{chunk-2AWEIMVH.js → chunk-RJAKV7GY.js} +1 -1
- package/dist/{chunk-OHPRXEUA.js → chunk-SL7SYDNI.js} +1 -1
- package/dist/{chunk-JZ2JEXEM.js → chunk-TFYTFEPR.js} +2 -2
- package/dist/{chunk-TNTFEWU5.js → chunk-TRZ5KA2R.js} +10 -5
- package/dist/{chunk-YZKJLGWL.js → chunk-UODVZGBQ.js} +1 -1
- package/dist/{chunk-AZSCW64F.js → chunk-UPMHG7ET.js} +1 -1
- package/dist/{chunk-DGOGCPYU.js → chunk-UWQ3XCDG.js} +2 -2
- package/dist/{chunk-NRFVWJHP.js → chunk-UZIJDYDA.js} +2 -2
- package/dist/{chunk-L24HYX62.js → chunk-VHKL4S4T.js} +2 -2
- package/dist/{chunk-IQT43SDJ.js → chunk-VI2FJY2M.js} +4 -4
- package/dist/{chunk-QHIGMP2M.js → chunk-VJ6HKJMQ.js} +1 -1
- package/dist/{chunk-UJOSFVWG.js → chunk-VTLUUTWI.js} +10 -9
- package/dist/{chunk-V3QAAU2U.js → chunk-VXVI75ED.js} +3 -3
- package/dist/{chunk-VW6UDG7E.js → chunk-WD7JP4LN.js} +2 -2
- package/dist/{chunk-F2UFRUVY.js → chunk-WDSSDXXM.js} +3 -3
- package/dist/{chunk-RMPAMMYW.js → chunk-WJH6IM7Q.js} +1 -1
- package/dist/{chunk-2RS2DR47.js → chunk-WJV6N65Y.js} +2 -2
- package/dist/{chunk-EOVABUV3.js → chunk-WKVBGGSZ.js} +2 -2
- package/dist/{chunk-OI6MVDSY.js → chunk-XPRYBSMJ.js} +1 -1
- package/dist/{chunk-36DAY227.js → chunk-Y2PQS2GI.js} +2 -2
- package/dist/{chunk-EHKIJPVX.js → chunk-YVN2WG5T.js} +1 -1
- package/dist/{chunk-CTFKTUYN.js → chunk-YXRY4LH2.js} +1 -1
- package/dist/{chunk-ECQBG62Y.js → chunk-Z7A6DTIN.js} +1 -1
- package/dist/{chunk-XWOXF4NK.js → chunk-ZEYDN4ER.js} +1 -1
- package/dist/{chunk-DLXTKVBO.js → chunk-ZOPLM7G3.js} +2 -2
- package/dist/{co-activation-AJZTQHI3.js → co-activation-XS7CDNIK.js} +4 -4
- package/dist/{co-occurrence-FGEJIMMV.js → co-occurrence-R5D6WB4A.js} +4 -4
- package/dist/{code-context-index-KHUYATRB.js → code-context-index-FCQOPUEA.js} +5 -5
- package/dist/{content-extractor-CUJOBFBU.js → content-extractor-SPSH5X33.js} +1 -1
- package/dist/{conversation-entity-extractor-TW4W57K4.js → conversation-entity-extractor-EYSI4DKM.js} +1 -1
- package/dist/{conversation-wiki-populator-GNFRTS7X.js → conversation-wiki-populator-YU35LNRK.js} +2 -2
- package/dist/{core-memory-6JYJS3A3.js → core-memory-2BTZ2RKT.js} +1 -1
- package/dist/{crdt-sync-K25AKQAD.js → crdt-sync-NEINCZF7.js} +2 -2
- package/dist/{crm-bridge-NG5WJMGF.js → crm-bridge-BVTB6LZK.js} +1 -1
- package/dist/{crm-webhook-ZL2YFSFK.js → crm-webhook-RMHBLDL4.js} +3 -3
- package/dist/{cto-delegation-gate-VRGO7IQ2.js → cto-delegation-gate-D3TEAQGU.js} +12 -12
- package/dist/{daemon-auth-WFQMMNSD.js → daemon-auth-2IZACWSG.js} +3 -3
- package/dist/{daemon-orchestration-5TO3CHJQ.js → daemon-orchestration-Y7SJSLBI.js} +15 -15
- package/dist/{daemon-protocol-4FUHT5NH.js → daemon-protocol-XW2OLNBS.js} +1 -1
- package/dist/{db-backup-MSQKO6M5.js → db-backup-C44Q44WQ.js} +3 -3
- package/dist/{devtools-J4QYYO7U.js → devtools-5PEATRYE.js} +1 -1
- package/dist/{discord-7UHIZNJ3.js → discord-LMZKIYWB.js} +1 -1
- package/dist/{dispatch-ack-RMVFHO4I.js → dispatch-ack-JYCKAWKZ.js} +1 -1
- package/dist/dreaming-YKXGUTVR.js +12 -0
- package/dist/{email-T6PQUUY6.js → email-UENAIKRN.js} +1 -1
- package/dist/{entity-boost-7MB2IYAE.js → entity-boost-T5IYWWDZ.js} +2 -2
- package/dist/{exe-drift-2KHRPBUK.js → exe-drift-B5ZMICND.js} +5 -5
- package/dist/{exe-export-DC4MYDXH.js → exe-export-4A74HNYL.js} +8 -8
- package/dist/{exe-import-KTTZOAAA.js → exe-import-UZSWB6RS.js} +8 -8
- package/dist/{exe-key-A6WNNU4Q.js → exe-key-VRUDYTN5.js} +5 -5
- package/dist/{exe-org-JRBBON5H.js → exe-org-3FNET2J7.js} +3 -3
- package/dist/{exe-snapshot-NJ6BFROA.js → exe-snapshot-EMYU745D.js} +9 -9
- package/dist/{factory-UQSRMKJW.js → factory-CTFAGZUA.js} +1 -1
- package/dist/fast-db-init-IXMJATO6.js +7 -0
- package/dist/{file-edit-YORRFENG.js → file-edit-AZAJPCA3.js} +1 -1
- package/dist/{file-read-RMQFDE5L.js → file-read-VACF23NC.js} +1 -1
- package/dist/{file-write-VO4MQW5Y.js → file-write-B2RPT5U7.js} +1 -1
- package/dist/{founder-context-3N6BMG7B.js → founder-context-BQ5NBDUV.js} +3 -3
- package/dist/gateway/index.js +10 -10
- package/dist/{gateway-client-V7NH35Q2.js → gateway-client-YGSA5QMC.js} +2 -2
- package/dist/{git-staleness-JW57ZGEJ.js → git-staleness-DFHISHY2.js} +4 -4
- package/dist/{git-task-sweep-WJAABZK5.js → git-task-sweep-5MTDROCJ.js} +13 -13
- package/dist/{glob-2LXRC3F5.js → glob-7PWH7WKL.js} +1 -1
- package/dist/{global-procedures-NY3W7L5Q.js → global-procedures-45Z53UIF.js} +5 -5
- package/dist/{graph-auto-extract-5GZ34NXS.js → graph-auto-extract-I37N7WQN.js} +4 -4
- package/dist/{graph-query-YZ4RZEIL.js → graph-query-UTLL5MKN.js} +1 -1
- package/dist/{graph-rag-S5SBJW5J.js → graph-rag-G3EG5Q6L.js} +1 -1
- package/dist/{grep-OY7KCRLQ.js → grep-HWIDXHRC.js} +1 -1
- package/dist/{hook-integrity-OKSYTGVP.js → hook-integrity-SB53Y7UK.js} +2 -2
- package/dist/hooks/bug-report-worker.js +14 -14
- package/dist/hooks/codex-stop-task-finalizer.js +15 -15
- package/dist/hooks/commit-complete.js +16 -16
- package/dist/hooks/error-recall.js +10 -10
- package/dist/hooks/exe-heartbeat-hook.js +6 -6
- package/dist/hooks/ingest-worker.js +6 -6
- package/dist/hooks/ingest.js +15 -15
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +7 -7
- package/dist/hooks/post-compact.js +15 -15
- package/dist/hooks/post-tool-combined.js +7 -7
- package/dist/hooks/pre-compact.js +20 -20
- package/dist/hooks/pre-tool-use.js +20 -20
- package/dist/hooks/prompt-submit.js +31 -31
- package/dist/hooks/session-end.js +27 -27
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +22 -22
- package/dist/hooks/subagent-stop.js +15 -15
- package/dist/hooks/summary-worker.js +23 -23
- package/dist/{hooks-RPTZV5KX.js → hooks-LDCFYHDF.js} +1 -1
- package/dist/{imessage-CE5USLTI.js → imessage-6UOZB5VN.js} +1 -1
- package/dist/index.js +21 -21
- package/dist/{installer-UAMA6ZVH.js → installer-3MSU3GSG.js} +7 -7
- package/dist/{installer-GMIVB2JS.js → installer-OSIEPXXH.js} +7 -7
- package/dist/{installer-OBYQ6O3C.js → installer-SCPRAYJN.js} +7 -7
- package/dist/{intercom-queue-USIXVVJQ.js → intercom-queue-RNM6EPGA.js} +1 -1
- package/dist/{key-backup-status-TVFMMWTT.js → key-backup-status-OZ2CXUDW.js} +2 -2
- package/dist/{keyword-extractor-OGQRRVTB.js → keyword-extractor-UJHFWVZE.js} +1 -1
- package/dist/lib/agent-config.js +3 -3
- package/dist/lib/cloud-sync.js +9 -7
- package/dist/lib/cloudflare-dns.js +1 -1
- package/dist/lib/config.js +2 -2
- package/dist/lib/consolidation.js +8 -8
- package/dist/lib/crypto.js +1 -1
- package/dist/lib/database.js +4 -4
- package/dist/lib/db-daemon-client.js +4 -4
- package/dist/lib/db.js +4 -4
- package/dist/lib/device-registry.js +2 -2
- package/dist/lib/embedder.js +5 -5
- package/dist/lib/employee-templates.js +6 -6
- package/dist/lib/employees.js +4 -4
- package/dist/lib/error-detector.js +1 -1
- package/dist/lib/exe-daemon-client.js +4 -4
- package/dist/lib/exe-daemon.js +53 -53
- 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 +4 -4
- package/dist/lib/keychain.js +2 -2
- package/dist/lib/license.js +3 -3
- package/dist/lib/messaging.js +13 -13
- package/dist/lib/post-tool-memory.js +1 -1
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +5 -5
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +6 -6
- package/dist/lib/session-wrappers.js +2 -2
- package/dist/lib/skill-learning.js +6 -6
- package/dist/lib/status-brief.js +1 -1
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +5 -5
- package/dist/lib/tasks.js +13 -13
- package/dist/lib/tmux-routing.js +12 -12
- package/dist/lib/tmux-status.js +1 -1
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +5 -5
- 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-7QVCYARF.js → license-gate-XJDIL6OZ.js} +4 -4
- package/dist/mcp/register-tools.js +65 -65
- package/dist/mcp/server.js +89 -68
- package/dist/mcp/tools/complete-reminder.js +6 -6
- package/dist/mcp/tools/create-reminder.js +6 -6
- package/dist/mcp/tools/create-task.js +15 -15
- package/dist/mcp/tools/deactivate-behavior.js +7 -7
- package/dist/mcp/tools/list-reminders.js +6 -6
- package/dist/mcp/tools/list-tasks.js +15 -15
- package/dist/mcp/tools/send-message.js +15 -15
- package/dist/mcp/tools/update-task.js +14 -14
- package/dist/{mcp-diagnostics-5T5OZ52S.js → mcp-diagnostics-TSBY62UQ.js} +1 -1
- package/dist/{mcp-disconnect-tracker-VINUVEZJ.js → mcp-disconnect-tracker-MB23DRS6.js} +1 -1
- package/dist/{mcp-http-config-YPF4WGU5.js → mcp-http-config-KBPJ4QNG.js} +5 -5
- package/dist/{memory-cards-XHZEOX7Q.js → memory-cards-ICBAONHA.js} +4 -4
- package/dist/{memory-graph-extractor-J3K7B4GC.js → memory-graph-extractor-B33AXVOW.js} +5 -5
- package/dist/{memory-poisoning-defense-I76FGNHK.js → memory-poisoning-defense-KNQGXMQ2.js} +4 -4
- package/dist/{memory-queue-WEVFXPZO.js → memory-queue-FTNBWLS4.js} +3 -3
- package/dist/{memory-queue-client-5XBHYAQR.js → memory-queue-client-DHSHEIHQ.js} +6 -6
- package/dist/{memory-reflection-YJGI6IDI.js → memory-reflection-H6WTTBDO.js} +4 -4
- package/dist/{message-queue-client-FUKX43JD.js → message-queue-client-KAJN6TIJ.js} +1 -1
- package/dist/{notifications-MEW6QY57.js → notifications-A3OLWT3R.js} +12 -12
- package/dist/{oauth-server-CCZPDTZJ.js → oauth-server-QEXRSXEP.js} +1 -1
- package/dist/{orchestration-events-LXVPJL6S.js → orchestration-events-CLOS2654.js} +5 -5
- package/dist/{orchestration-phase-HXRKMZXM.js → orchestration-phase-SGA7PJ5G.js} +3 -3
- package/dist/{orchestrator-HGTR4YIR.js → orchestrator-H7PCVWFN.js} +14 -14
- package/dist/{permission-presets-UPVLJWZD.js → permission-presets-E3DZK46K.js} +1 -1
- package/dist/{permissions-C4EMHPDD.js → permissions-6MCWUDCD.js} +1 -1
- package/dist/{pg-ssl-GD3332YS.js → pg-ssl-7JXQFL4I.js} +1 -1
- package/dist/pipeline-router-EXS46KX2.js +12 -0
- package/dist/{plan-limits-NFQVRHS5.js → plan-limits-4JH2GWCP.js} +6 -6
- package/dist/{prediction-log-C2BD3AHR.js → prediction-log-OMWHW7FL.js} +2 -2
- package/dist/{preferences-5ARPMYE7.js → preferences-ERXO6SMJ.js} +1 -1
- package/dist/{preflight-TZOGLBZU.js → preflight-EAH2MI76.js} +1 -1
- package/dist/{project-boot-JIGOSGCN.js → project-boot-2NFMLUZ3.js} +2 -2
- package/dist/{project-name-4SKOH2UO.js → project-name-EWG5KAZP.js} +1 -1
- package/dist/{projection-worker-JZQTL4NU.js → projection-worker-B4TWS2FX.js} +5 -5
- package/dist/{push-notifications-3GNJ5SZS.js → push-notifications-E2XXEWJZ.js} +3 -3
- package/dist/{reranker-67X4YJEW.js → reranker-7IPGFTAV.js} +3 -3
- package/dist/{review-gate-I66GDXNR.js → review-gate-IUNS6GQU.js} +1 -1
- package/dist/{review-polling-ILAI4FDS.js → review-polling-CFLEDNJ6.js} +13 -13
- package/dist/runtime/index.js +15 -15
- package/dist/{self-query-router-QMK5ZSZR.js → self-query-router-PYVVFXJT.js} +1 -1
- package/dist/{session-events-Y2YPBY3Q.js → session-events-DLHFZHDF.js} +13 -13
- package/dist/{session-kill-telemetry-JHSI7D3F.js → session-kill-telemetry-6FDEUGO5.js} +5 -5
- package/dist/{session-scope-CUDNSN62.js → session-scope-EHSZJLAT.js} +12 -12
- package/dist/setup-wizard-5O5OQOXH.js +12 -0
- package/dist/{shard-manager-ON2WWCRM.js → shard-manager-G6MHCO7X.js} +3 -3
- package/dist/{signal-KF2LIO7Y.js → signal-7UIRTYGZ.js} +1 -1
- package/dist/{signal-paths-5ZTWCBUX.js → signal-paths-4GOIRLGH.js} +1 -1
- package/dist/{skill-refinement-YCCQ5W7C.js → skill-refinement-ALEPGNC6.js} +4 -4
- package/dist/{slack-JRDUD5Z7.js → slack-GCOYBZUK.js} +1 -1
- package/dist/{stack-update-ZIMV4OEQ.js → stack-update-NO5MNARG.js} +4 -4
- package/dist/steward-gate-H2VKZNW2.js +12 -0
- package/dist/{support-outbox-HIJVUDA2.js → support-outbox-KEJ73I3F.js} +1 -1
- package/dist/{task-enforcement-MGHY6IJV.js → task-enforcement-YXMYVVLM.js} +12 -12
- package/dist/{task-scanner-5OQBNC2N.js → task-scanner-QEM5CO2Y.js} +1 -1
- package/dist/{task-scope-N6GNTTVY.js → task-scope-7TDJLRUR.js} +12 -12
- package/dist/{tasks-crud-2FX6NTL2.js → tasks-crud-CHPEFXSN.js} +12 -12
- package/dist/{tasks-review-5NFMLQJG.js → tasks-review-OID7RS2I.js} +12 -12
- package/dist/{telegram-COCYUCT7.js → telegram-RGVD4LUY.js} +1 -1
- package/dist/{telemetry-QKWQKAUC.js → telemetry-43X3GT3R.js} +1 -1
- package/dist/{telemetry-upload-APVDPCEV.js → telemetry-upload-ZBGLL62D.js} +8 -8
- package/dist/{token-budget-6IQNYKLR.js → token-budget-OQ6XR5EK.js} +4 -4
- package/dist/{tool-capability-index-UUNF7VPA.js → tool-capability-index-WIV4K3FB.js} +2 -2
- package/dist/{tool-gates-RNWEH5IK.js → tool-gates-3IC7DK4R.js} +1 -1
- package/dist/{tool-gates-6A6LE4DZ.js → tool-gates-GXSYBVK4.js} +1 -1
- package/dist/{tool-registry-KL24CAFR.js → tool-registry-5XN3FUYL.js} +1 -1
- package/dist/{tool-telemetry-SJSIL5M5.js → tool-telemetry-NKCCCPQJ.js} +2 -2
- package/dist/tui/App.js +44 -44
- package/dist/{tui-data-DT4WV54Q.js → tui-data-MVYA3OR6.js} +12 -12
- package/dist/{typed-messages-53Q7L3LB.js → typed-messages-TKDGVPHS.js} +1 -1
- package/dist/{update-check-5IL5I3E2.js → update-check-MKHO7H6B.js} +1 -1
- package/dist/{webhook-VXGIH7PN.js → webhook-LCW7UP4L.js} +1 -1
- package/dist/{webhook-pipe-4WPFGGFD.js → webhook-pipe-LY4XEDL7.js} +1 -1
- package/dist/{whatsapp-PSMKCDS7.js → whatsapp-SILL4V64.js} +1 -1
- package/dist/{whatsapp-accounts-4OKWFRWL.js → whatsapp-accounts-BWRZUY23.js} +1 -1
- package/dist/{whatsapp-config-ZG5LX4O4.js → whatsapp-config-W63RQ3AU.js} +1 -1
- package/dist/{wiki-acl-XCT6QQGP.js → wiki-acl-RMP5KXYK.js} +1 -1
- package/dist/{wiki-client-KE622HKY.js → wiki-client-MAFYBXCQ.js} +1 -1
- package/dist/{worker-gate-SN6WCY4Q.js → worker-gate-42USIUF6.js} +3 -3
- package/dist/{workflow-engine-2RQLJXDG.js → workflow-engine-6UBYDBVR.js} +3 -3
- package/dist/{working-memory-Z3EB3FW6.js → working-memory-PKUUMWZK.js} +1 -1
- package/dist/{worktree-BO7QQ32T.js → worktree-Q6Y5IHSI.js} +6 -6
- package/package.json +2 -2
- package/dist/chunk-R5U7XKVJ.js +0 -16
- package/dist/dreaming-UL7T5ZXA.js +0 -12
- package/dist/fast-db-init-QYMFD4FX.js +0 -7
- package/dist/pipeline-router-7VGJ7635.js +0 -12
- package/dist/setup-wizard-RBUTEZB2.js +0 -12
- package/dist/steward-gate-6IKH335D.js +0 -12
- /package/dist/{chunk-7EZCYO76.js → chunk-ARETQ22D.js} +0 -0
- /package/dist/{chunk-EEAKFEEA.js → chunk-FUVINDE3.js} +0 -0
- /package/dist/{chunk-3JP3FY33.js → chunk-HTUJBTBM.js} +0 -0
- /package/dist/{chunk-IW53DAYO.js → chunk-N345XXAA.js} +0 -0
- /package/dist/{chunk-WWPX2LLP.js → chunk-SDKRRTP6.js} +0 -0
- /package/dist/{chunk-EGWPJQRQ.js → chunk-SNYDRHV3.js} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
findScopedDuplicate,
|
|
7
7
|
governMemoryRecord,
|
|
8
8
|
schedulePostWriteMemoryHygiene
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N345XXAA.js";
|
|
10
10
|
import {
|
|
11
11
|
orgBus
|
|
12
12
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
ensureSchema,
|
|
16
16
|
getClient,
|
|
17
17
|
initTurso
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VTLUUTWI.js";
|
|
19
19
|
import {
|
|
20
20
|
EMBEDDING_DIM
|
|
21
21
|
} from "./chunk-FXU7JOXK.js";
|
|
22
22
|
import {
|
|
23
23
|
getMasterKey
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KDJRFJDL.js";
|
|
25
25
|
import {
|
|
26
26
|
loadConfig
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TRZ5KA2R.js";
|
|
28
28
|
|
|
29
29
|
// src/lib/store.ts
|
|
30
30
|
var _debugStore = process.env.EXE_DEBUG === "1";
|
|
@@ -65,7 +65,7 @@ function recordShardFailure(project, error) {
|
|
|
65
65
|
`[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
|
|
66
66
|
`
|
|
67
67
|
);
|
|
68
|
-
void import("./orchestration-events-
|
|
68
|
+
void import("./orchestration-events-CLOS2654.js").then(({ recordOrchestrationEventBestEffort }) => {
|
|
69
69
|
recordOrchestrationEventBestEffort({
|
|
70
70
|
eventType: "shard.circuit_open",
|
|
71
71
|
source: "store.recordShardFailure",
|
|
@@ -149,7 +149,7 @@ async function initStore(options) {
|
|
|
149
149
|
if (!options?.lightweight) {
|
|
150
150
|
try {
|
|
151
151
|
if (process.env.EXE_DISABLE_SHARDING !== "1") {
|
|
152
|
-
const { initShardManager } = await import("./shard-manager-
|
|
152
|
+
const { initShardManager } = await import("./shard-manager-G6MHCO7X.js");
|
|
153
153
|
initShardManager(hexKey);
|
|
154
154
|
}
|
|
155
155
|
} catch (e) {
|
|
@@ -162,7 +162,7 @@ async function initStore(options) {
|
|
|
162
162
|
);
|
|
163
163
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
164
164
|
try {
|
|
165
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
165
|
+
const { loadGlobalProcedures } = await import("./global-procedures-45Z53UIF.js");
|
|
166
166
|
await loadGlobalProcedures();
|
|
167
167
|
} catch (e) {
|
|
168
168
|
logStoreWarn("catch", e);
|
|
@@ -290,7 +290,7 @@ async function writeMemory(record) {
|
|
|
290
290
|
founder_id: record.founder_id ?? null
|
|
291
291
|
};
|
|
292
292
|
try {
|
|
293
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
293
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-KNQGXMQ2.js");
|
|
294
294
|
const poisonResult = await checkMemoryPoisoning({
|
|
295
295
|
memoryId: dbRow.id,
|
|
296
296
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -314,10 +314,10 @@ async function writeMemory(record) {
|
|
|
314
314
|
timestamp: record.timestamp
|
|
315
315
|
});
|
|
316
316
|
const MAX_PENDING = 1e3;
|
|
317
|
-
if (_pendingRecords.length
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
317
|
+
if (_pendingRecords.length >= MAX_PENDING) {
|
|
318
|
+
_pendingRecords.shift();
|
|
319
|
+
process.stderr.write(`[exe-os] \u26A0 Memory buffer full (${MAX_PENDING}) \u2014 oldest record dropped. This indicates sustained high write volume.
|
|
320
|
+
`);
|
|
321
321
|
}
|
|
322
322
|
if (_flushTimer === null) {
|
|
323
323
|
_flushTimer = setInterval(() => {
|
|
@@ -346,7 +346,7 @@ async function flushBatch() {
|
|
|
346
346
|
let _extractKeywords = null;
|
|
347
347
|
let _keywordsToString = null;
|
|
348
348
|
try {
|
|
349
|
-
const mod = await import("./keyword-extractor-
|
|
349
|
+
const mod = await import("./keyword-extractor-UJHFWVZE.js");
|
|
350
350
|
_extractKeywords = mod.extractKeywords;
|
|
351
351
|
_keywordsToString = mod.keywordsToString;
|
|
352
352
|
} catch {
|
|
@@ -478,19 +478,19 @@ async function flushBatch() {
|
|
|
478
478
|
}
|
|
479
479
|
_nextVersion = baseVersion;
|
|
480
480
|
try {
|
|
481
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
481
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-ICBAONHA.js");
|
|
482
482
|
await insertMemoryCardsForBatch(batch);
|
|
483
483
|
} catch (e) {
|
|
484
484
|
logStoreWarn("catch", e);
|
|
485
485
|
}
|
|
486
486
|
try {
|
|
487
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
487
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-PAYLA3Q6.js");
|
|
488
488
|
await insertOntologyForBatch(batch);
|
|
489
489
|
} catch (e) {
|
|
490
490
|
logStoreWarn("catch", e);
|
|
491
491
|
}
|
|
492
492
|
try {
|
|
493
|
-
const { extractGraphForBatch } = await import("./memory-graph-extractor-
|
|
493
|
+
const { extractGraphForBatch } = await import("./memory-graph-extractor-B33AXVOW.js");
|
|
494
494
|
await extractGraphForBatch(batch);
|
|
495
495
|
} catch (e) {
|
|
496
496
|
logStoreWarn("catch", e);
|
|
@@ -498,7 +498,7 @@ async function flushBatch() {
|
|
|
498
498
|
schedulePostWriteMemoryHygiene(batch.map((row) => row.id));
|
|
499
499
|
_pendingRecords.splice(0, batch.length);
|
|
500
500
|
try {
|
|
501
|
-
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-
|
|
501
|
+
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-G6MHCO7X.js");
|
|
502
502
|
if (process.env.EXE_DISABLE_SHARDING !== "1" && isShardingEnabled()) {
|
|
503
503
|
const byProject = /* @__PURE__ */ new Map();
|
|
504
504
|
let skippedUnknown = 0;
|
|
@@ -575,7 +575,7 @@ function buildRawVisibilityFilter(options, columnPrefix) {
|
|
|
575
575
|
async function searchMemories(queryVector, agentId, options) {
|
|
576
576
|
let client;
|
|
577
577
|
try {
|
|
578
|
-
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-
|
|
578
|
+
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-G6MHCO7X.js");
|
|
579
579
|
if (isShardingEnabled() && options?.projectName && shardExists(options.projectName)) {
|
|
580
580
|
client = await getReadyShardClient(options.projectName);
|
|
581
581
|
} else {
|
|
@@ -603,7 +603,7 @@ async function searchMemories(queryVector, agentId, options) {
|
|
|
603
603
|
AND COALESCE(confidence, 0.7) >= 0.3`;
|
|
604
604
|
const args = [agentId];
|
|
605
605
|
try {
|
|
606
|
-
const { founderScopeFilter } = await import("./founder-context-
|
|
606
|
+
const { founderScopeFilter } = await import("./founder-context-BQ5NBDUV.js");
|
|
607
607
|
const founderFilter = founderScopeFilter(options?.founderId);
|
|
608
608
|
sql += founderFilter.sql;
|
|
609
609
|
args.push(...founderFilter.args.filter((a) => a !== null));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildClaudeHttpMcpEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q4GHOMRW.js";
|
|
4
4
|
import {
|
|
5
5
|
loadPreferences
|
|
6
6
|
} from "./chunk-GNHN5HRQ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-L3TB7CC3.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WJH6IM7Q.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5UH67CWJ.js";
|
|
23
23
|
import {
|
|
24
24
|
OllamaProvider
|
|
25
25
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
retryWithBackoff,
|
|
50
50
|
routeMessage,
|
|
51
51
|
validateGatewayConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-5O5NXKDM.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
} from "./chunk-ONKIWA3R.js";
|
|
68
68
|
import {
|
|
69
69
|
__export
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-MLKGABMK.js";
|
|
71
71
|
|
|
72
72
|
// src/gateway/index.ts
|
|
73
73
|
var gateway_exports = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GQHV2QYL.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QRHVGJOB.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/tools/update-task.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -39,7 +39,7 @@ function registerUpdateTask(server) {
|
|
|
39
39
|
const status = rawStatus;
|
|
40
40
|
let callerAgentId;
|
|
41
41
|
try {
|
|
42
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
42
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-JD6BCCFZ.js");
|
|
43
43
|
callerAgentId = getAgent().agentId;
|
|
44
44
|
} catch {
|
|
45
45
|
}
|
|
@@ -3,15 +3,21 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LEK3ANCA.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VTLUUTWI.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/hybrid-search.ts
|
|
12
12
|
var RRF_K = 60;
|
|
13
13
|
var _cardinalityCache = /* @__PURE__ */ new Map();
|
|
14
14
|
var CARDINALITY_TTL_MS = 6e4;
|
|
15
|
+
setInterval(() => {
|
|
16
|
+
const now = Date.now();
|
|
17
|
+
for (const [key, entry] of _cardinalityCache) {
|
|
18
|
+
if (now > entry.expires) _cardinalityCache.delete(key);
|
|
19
|
+
}
|
|
20
|
+
}, 5 * 60 * 1e3).unref();
|
|
15
21
|
async function getCachedCardinality(agentId) {
|
|
16
22
|
const cached = _cardinalityCache.get(agentId);
|
|
17
23
|
if (cached && Date.now() < cached.expires) return cached.count;
|
|
@@ -204,7 +210,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
204
210
|
let inferredTerms = [];
|
|
205
211
|
if (config.selfQueryRouter) {
|
|
206
212
|
try {
|
|
207
|
-
const { routeQuery } = await import("./self-query-router-
|
|
213
|
+
const { routeQuery } = await import("./self-query-router-PYVVFXJT.js");
|
|
208
214
|
const routed = await routeQuery(queryText, config.selfQueryModel, agentId);
|
|
209
215
|
effectiveQuery = routed.semanticQuery;
|
|
210
216
|
_isBroadQuery = routed.isBroadQuery;
|
|
@@ -240,7 +246,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
240
246
|
let rerankerAvailable = false;
|
|
241
247
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
242
248
|
try {
|
|
243
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
249
|
+
const { isRerankerAvailable } = await import("./reranker-7IPGFTAV.js");
|
|
244
250
|
rerankerAvailable = isRerankerAvailable();
|
|
245
251
|
} catch {
|
|
246
252
|
}
|
|
@@ -261,7 +267,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
261
267
|
if (config.fileGrepEnabled === true && !process.env.VITEST) {
|
|
262
268
|
try {
|
|
263
269
|
if (process.env.EXE_IS_DAEMON !== "1") {
|
|
264
|
-
const { getProjectName } = await import("./project-name-
|
|
270
|
+
const { getProjectName } = await import("./project-name-EWG5KAZP.js");
|
|
265
271
|
const projectRoot = process.cwd();
|
|
266
272
|
const projectName = getProjectName(projectRoot);
|
|
267
273
|
if (projectName && projectName !== "tmp") {
|
|
@@ -295,7 +301,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
295
301
|
]).catch(() => []),
|
|
296
302
|
includeStructuredCards ? (async () => {
|
|
297
303
|
try {
|
|
298
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
304
|
+
const { searchMemoryCards } = await import("./memory-cards-ICBAONHA.js");
|
|
299
305
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
300
306
|
} catch {
|
|
301
307
|
return [];
|
|
@@ -304,7 +310,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
304
310
|
// Reflection insights: patterns, contradictions, summaries across sessions
|
|
305
311
|
includeStructuredCards ? (async () => {
|
|
306
312
|
try {
|
|
307
|
-
const { searchReflections } = await import("./memory-reflection-
|
|
313
|
+
const { searchReflections } = await import("./memory-reflection-H6WTTBDO.js");
|
|
308
314
|
const insights = await searchReflections(effectiveQuery, agentId, 5);
|
|
309
315
|
return insights.map((ins) => ({
|
|
310
316
|
id: ins.id,
|
|
@@ -380,7 +386,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
380
386
|
let entityBoostRan = false;
|
|
381
387
|
if (merged.length > 0) {
|
|
382
388
|
try {
|
|
383
|
-
const { applyEntityBoost } = await import("./entity-boost-
|
|
389
|
+
const { applyEntityBoost } = await import("./entity-boost-T5IYWWDZ.js");
|
|
384
390
|
const boosted = await applyEntityBoost(merged, effectiveQuery, getClient());
|
|
385
391
|
merged = boosted.results;
|
|
386
392
|
graphContextMap = boosted.graphContext;
|
|
@@ -404,7 +410,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
404
410
|
try {
|
|
405
411
|
let rerankedRecords;
|
|
406
412
|
if (graphContextMap.size > 0) {
|
|
407
|
-
const { rerankWithContext } = await import("./reranker-
|
|
413
|
+
const { rerankWithContext } = await import("./reranker-7IPGFTAV.js");
|
|
408
414
|
const candidates = merged.map((m) => ({
|
|
409
415
|
text: m.raw_text,
|
|
410
416
|
context: graphContextMap.get(m.id)
|
|
@@ -412,7 +418,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
412
418
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
413
419
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
414
420
|
} else {
|
|
415
|
-
const { rerank } = await import("./reranker-
|
|
421
|
+
const { rerank } = await import("./reranker-7IPGFTAV.js");
|
|
416
422
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
417
423
|
}
|
|
418
424
|
if (rerankedRecords.length > 0) {
|
|
@@ -487,6 +493,14 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
487
493
|
}
|
|
488
494
|
} catch {
|
|
489
495
|
}
|
|
496
|
+
try {
|
|
497
|
+
const backupPath = logPath + ".1";
|
|
498
|
+
const bstat = fs.statSync(backupPath);
|
|
499
|
+
if (Date.now() - bstat.mtimeMs > 30 * 24 * 60 * 60 * 1e3) {
|
|
500
|
+
fs.unlinkSync(backupPath);
|
|
501
|
+
}
|
|
502
|
+
} catch {
|
|
503
|
+
}
|
|
490
504
|
fs.appendFileSync(logPath, JSON.stringify(logEntry) + "\n");
|
|
491
505
|
} catch {
|
|
492
506
|
}
|
|
@@ -725,7 +739,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
725
739
|
}
|
|
726
740
|
if (results.length >= 2) {
|
|
727
741
|
try {
|
|
728
|
-
const { recordCoActivations } = await import("./co-activation-
|
|
742
|
+
const { recordCoActivations } = await import("./co-activation-XS7CDNIK.js");
|
|
729
743
|
const ids = results.slice(0, 10).map((r) => r.id);
|
|
730
744
|
void recordCoActivations(ids);
|
|
731
745
|
} catch {
|
|
@@ -733,7 +747,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
733
747
|
}
|
|
734
748
|
if (options?.includeStructuredCards !== true) return results;
|
|
735
749
|
try {
|
|
736
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
750
|
+
const { searchMemoryCards } = await import("./memory-cards-ICBAONHA.js");
|
|
737
751
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
738
752
|
if (cardResults.length > 0) {
|
|
739
753
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DIO7YUAT.js";
|
|
4
4
|
import {
|
|
5
5
|
queueIntercom
|
|
6
6
|
} from "./chunk-QI4IXJN7.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-4JERP7NT.js";
|
|
11
11
|
import {
|
|
12
12
|
registerSession
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J5MOKLCJ.js";
|
|
14
14
|
import {
|
|
15
15
|
getTransport
|
|
16
16
|
} from "./chunk-MVW62NIZ.js";
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
} from "./chunk-CX6GL3ZJ.js";
|
|
20
20
|
import {
|
|
21
21
|
recordOrchestrationEventBestEffort
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YXRY4LH2.js";
|
|
23
23
|
import {
|
|
24
24
|
getAgentRuntime,
|
|
25
25
|
normalizeCcModelName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6OJJF4WP.js";
|
|
27
27
|
import {
|
|
28
28
|
RUNTIME_TABLE
|
|
29
29
|
} from "./chunk-NGP6LSV2.js";
|
|
30
30
|
import {
|
|
31
31
|
PlanLimitError,
|
|
32
32
|
assertEmployeeLimitSync
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VXVI75ED.js";
|
|
34
34
|
import {
|
|
35
35
|
getSessionKey
|
|
36
36
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-MP2AFCGL.js";
|
|
46
46
|
import {
|
|
47
47
|
ensureAgentSymlink
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-WJH6IM7Q.js";
|
|
49
49
|
import {
|
|
50
50
|
expandDualPrefixTools
|
|
51
51
|
} from "./chunk-HYZV25LY.js";
|
|
@@ -57,13 +57,13 @@ import {
|
|
|
57
57
|
isCoordinatorName,
|
|
58
58
|
loadEmployees,
|
|
59
59
|
loadEmployeesSync
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-VTLUUTWI.js";
|
|
61
61
|
import {
|
|
62
62
|
loadDeviceId
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-D5C56WO3.js";
|
|
64
64
|
import {
|
|
65
65
|
EXE_AI_DIR
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-TRZ5KA2R.js";
|
|
67
67
|
import {
|
|
68
68
|
atomicWriteJsonSync,
|
|
69
69
|
atomicWriteSync
|
|
@@ -472,7 +472,7 @@ async function createTaskCore(input) {
|
|
|
472
472
|
let hasHttpAgentContext = false;
|
|
473
473
|
if (!callerSession) {
|
|
474
474
|
try {
|
|
475
|
-
const { getAgentContext: getAgentContext2 } = await import("./agent-context-
|
|
475
|
+
const { getAgentContext: getAgentContext2 } = await import("./agent-context-AZTTMUHP.js");
|
|
476
476
|
const agentContext = getAgentContext2();
|
|
477
477
|
hasHttpAgentContext = Boolean(agentContext);
|
|
478
478
|
callerSession = agentContext?.sessionHint ?? "";
|
|
@@ -503,7 +503,7 @@ async function createTaskCore(input) {
|
|
|
503
503
|
if (isCoordinatorSession) {
|
|
504
504
|
earlySessionScope = resolved;
|
|
505
505
|
} else {
|
|
506
|
-
const { getSessionProject } = await import("./session-scope-
|
|
506
|
+
const { getSessionProject } = await import("./session-scope-EHSZJLAT.js");
|
|
507
507
|
const sessionProject = getSessionProject(resolved);
|
|
508
508
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
509
509
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -761,7 +761,7 @@ async function queryTaskRows(opts) {
|
|
|
761
761
|
}
|
|
762
762
|
if (opts.founderId !== null) {
|
|
763
763
|
try {
|
|
764
|
-
const { founderScopeFilter } = await import("./founder-context-
|
|
764
|
+
const { founderScopeFilter } = await import("./founder-context-BQ5NBDUV.js");
|
|
765
765
|
const founderFilter = founderScopeFilter(opts.founderId);
|
|
766
766
|
const cleaned = founderFilter.sql.replace(/^\s*AND\s+/, "");
|
|
767
767
|
conditions.push(cleaned);
|
|
@@ -951,7 +951,7 @@ async function updateTaskStatus(input) {
|
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
953
|
try {
|
|
954
|
-
const { reviewSignalPath, taskSignalDir } = await import("./signal-paths-
|
|
954
|
+
const { reviewSignalPath, taskSignalDir } = await import("./signal-paths-4GOIRLGH.js");
|
|
955
955
|
const scope = row.session_scope ? String(row.session_scope) : "default";
|
|
956
956
|
const dir = taskSignalDir(scope);
|
|
957
957
|
const { mkdirSync: mkdirSync3, writeFileSync: writeFileSync2 } = await import("fs");
|
|
@@ -970,7 +970,7 @@ async function updateTaskStatus(input) {
|
|
|
970
970
|
} catch {
|
|
971
971
|
}
|
|
972
972
|
try {
|
|
973
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
973
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-A3OLWT3R.js");
|
|
974
974
|
await writeNotification2({
|
|
975
975
|
agentId: reviewer,
|
|
976
976
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1376,7 +1376,7 @@ ${input.result ?? ""}`;
|
|
|
1376
1376
|
}
|
|
1377
1377
|
if (shouldWriteCompletionMemory && input.result) {
|
|
1378
1378
|
try {
|
|
1379
|
-
const { writeMemoryViaDaemon } = await import("./memory-queue-client-
|
|
1379
|
+
const { writeMemoryViaDaemon } = await import("./memory-queue-client-DHSHEIHQ.js");
|
|
1380
1380
|
await writeMemoryViaDaemon({
|
|
1381
1381
|
raw_text: input.result,
|
|
1382
1382
|
agent_id: String(row.assigned_to),
|
|
@@ -1479,7 +1479,7 @@ ${input.result ?? ""}`;
|
|
|
1479
1479
|
}
|
|
1480
1480
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1481
1481
|
try {
|
|
1482
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1482
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-ALEPGNC6.js");
|
|
1483
1483
|
await incrementSkillSuccess(
|
|
1484
1484
|
String(row.assigned_to),
|
|
1485
1485
|
row.project_name ? String(row.project_name) : null
|
|
@@ -1489,7 +1489,7 @@ ${input.result ?? ""}`;
|
|
|
1489
1489
|
}
|
|
1490
1490
|
if (input.status === "done" || input.status === "needs_review" || input.status === "cancelled" || input.status === "closed") {
|
|
1491
1491
|
try {
|
|
1492
|
-
const { clearQueueForAgent } = await import("./intercom-queue-
|
|
1492
|
+
const { clearQueueForAgent } = await import("./intercom-queue-RNM6EPGA.js");
|
|
1493
1493
|
clearQueueForAgent(String(row.assigned_to));
|
|
1494
1494
|
} catch {
|
|
1495
1495
|
}
|
|
@@ -1743,7 +1743,7 @@ async function getGroupResults(groupId) {
|
|
|
1743
1743
|
}));
|
|
1744
1744
|
}
|
|
1745
1745
|
async function getAggregatedGroupResults(groupId) {
|
|
1746
|
-
const { parseMessage, isTypedMessage } = await import("./typed-messages-
|
|
1746
|
+
const { parseMessage, isTypedMessage } = await import("./typed-messages-TKDGVPHS.js");
|
|
1747
1747
|
const client = getClient();
|
|
1748
1748
|
const groupCheck = await client.execute({
|
|
1749
1749
|
sql: "SELECT id FROM task_groups WHERE id = ?",
|
|
@@ -2913,7 +2913,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2913
2913
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2914
2914
|
};
|
|
2915
2915
|
}
|
|
2916
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
2916
|
+
const { isAtCapacity } = await import("./capacity-monitor-4EFUNBHQ.js");
|
|
2917
2917
|
if (!isAtCapacity(pane)) {
|
|
2918
2918
|
return {
|
|
2919
2919
|
atCapacity: false,
|
|
@@ -118,7 +118,7 @@ async function executeSendWhatsapp(params) {
|
|
|
118
118
|
if (!checkOutboundRateLimit("whatsapp")) {
|
|
119
119
|
throw new Error(`Outbound rate limit exceeded for WhatsApp (max ${OUTBOUND_RATE_LIMIT_PER_HOUR}/hour)`);
|
|
120
120
|
}
|
|
121
|
-
const { getAccountByName, getDefaultAccount } = await import("./whatsapp-accounts-
|
|
121
|
+
const { getAccountByName, getDefaultAccount } = await import("./whatsapp-accounts-BWRZUY23.js");
|
|
122
122
|
const account = params.account ? getAccountByName(params.account) : getDefaultAccount();
|
|
123
123
|
if (!account) {
|
|
124
124
|
throw new Error(
|
|
@@ -300,7 +300,7 @@ async function executeAction(action, record, executor, triggerName) {
|
|
|
300
300
|
await executeUpdateWiki(resolvedParams);
|
|
301
301
|
break;
|
|
302
302
|
case "asana": {
|
|
303
|
-
const { loadAsanaConfig, executeAsanaOperation } = await import("./asana-
|
|
303
|
+
const { loadAsanaConfig, executeAsanaOperation } = await import("./asana-MRQ2OQMJ.js");
|
|
304
304
|
const asanaConfig = loadAsanaConfig();
|
|
305
305
|
if (!asanaConfig) throw new Error("Asana not configured: set ASANA_API_TOKEN env var");
|
|
306
306
|
const operation = resolvedParams.operation ?? resolvedParams._operation;
|
|
@@ -2,13 +2,11 @@ import {
|
|
|
2
2
|
atomicWriteJson,
|
|
3
3
|
ensurePrivateDir
|
|
4
4
|
} from "./chunk-LYH5HE24.js";
|
|
5
|
-
import {
|
|
6
|
-
__require
|
|
7
|
-
} from "./chunk-R5U7XKVJ.js";
|
|
8
5
|
|
|
9
6
|
// src/lib/config.ts
|
|
10
7
|
import { readFile, writeFile } from "fs/promises";
|
|
11
8
|
import { readFileSync, writeFileSync, existsSync, renameSync, readdirSync } from "fs";
|
|
9
|
+
import { execSync } from "child_process";
|
|
12
10
|
import path from "path";
|
|
13
11
|
import os from "os";
|
|
14
12
|
function resolveDataDir() {
|
|
@@ -32,7 +30,7 @@ function resolveDataDir() {
|
|
|
32
30
|
const sudoUser = process.env.SUDO_USER;
|
|
33
31
|
if (sudoUser) {
|
|
34
32
|
try {
|
|
35
|
-
const sudoHome =
|
|
33
|
+
const sudoHome = execSync(`getent passwd ${sudoUser} | cut -d: -f6`, { encoding: "utf8" }).trim();
|
|
36
34
|
const sudoDir = path.join(sudoHome, ".exe-os");
|
|
37
35
|
if (existsSync(sudoDir)) return sudoDir;
|
|
38
36
|
} catch {
|
|
@@ -41,12 +39,19 @@ function resolveDataDir() {
|
|
|
41
39
|
try {
|
|
42
40
|
const homeBase = "/home";
|
|
43
41
|
if (existsSync(homeBase)) {
|
|
42
|
+
const candidates = [];
|
|
44
43
|
for (const user of readdirSync(homeBase)) {
|
|
45
44
|
const candidate = path.join(homeBase, user, ".exe-os");
|
|
46
45
|
if (existsSync(path.join(candidate, "config.json")) || existsSync(path.join(candidate, "memories.db"))) {
|
|
47
|
-
|
|
46
|
+
candidates.push(candidate);
|
|
48
47
|
}
|
|
49
48
|
}
|
|
49
|
+
if (candidates.length === 1) {
|
|
50
|
+
return candidates[0];
|
|
51
|
+
} else if (candidates.length > 1) {
|
|
52
|
+
process.stderr.write(`[exe-os] Multiple exe-os installs found in /home/. Set EXE_OS_DIR to specify which one.
|
|
53
|
+
`);
|
|
54
|
+
}
|
|
50
55
|
}
|
|
51
56
|
} catch {
|
|
52
57
|
}
|