@askexenow/exe-os 0.9.154 → 0.9.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/compose/.env.example +25 -39
- package/deploy/compose/cloudflared/config.yml.example +29 -0
- package/deploy/compose/docker-compose.yml +94 -0
- package/deploy/compose/gateway.json +11 -1
- package/deploy/compose/generate-env.ts +18 -4
- package/deploy/compose/init-db.sql +55 -0
- package/dist/{active-agent-IVY5D7DJ.js → active-agent-GHJBTJRF.js} +4 -4
- package/dist/{active-agent-JN7A2D2E.js → active-agent-RY74REEW.js} +4 -4
- package/dist/{agentic-ontology-NU5FACOX.js → agentic-ontology-FP67RCR6.js} +1 -1
- package/dist/{backfill-metadata-XBWBPBN2.js → backfill-metadata-W7FUQRD7.js} +5 -5
- package/dist/{background-jobs-IUB22CRF.js → background-jobs-XYVQT4HN.js} +2 -2
- package/dist/{behaviors-4USTCRU7.js → behaviors-KA64SSPT.js} +4 -4
- package/dist/bin/age-ontology-load.js +2 -2
- package/dist/bin/agentic-ontology-backfill.js +7 -7
- package/dist/bin/agentic-reflection-backfill.js +8 -8
- package/dist/bin/agentic-semantic-label.js +7 -7
- package/dist/bin/backfill-conversations.js +7 -7
- package/dist/bin/backfill-responses.js +7 -7
- package/dist/bin/backfill-vectors.js +9 -9
- package/dist/bin/bulk-sync-postgres.js +8 -8
- package/dist/bin/cc-doctor.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +9 -9
- package/dist/bin/cli.js +18 -18
- package/dist/bin/exe-agent-config.js +4 -4
- package/dist/bin/exe-agent.js +5 -5
- package/dist/bin/exe-assign.js +9 -9
- package/dist/bin/exe-boot.js +16 -16
- package/dist/bin/exe-call.js +5 -5
- package/dist/bin/exe-cloud.js +7 -7
- package/dist/bin/exe-dispatch.js +9 -9
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +8 -8
- package/dist/bin/exe-healthcheck.js +3 -3
- package/dist/bin/exe-heartbeat.js +9 -9
- package/dist/bin/exe-kill.js +12 -12
- package/dist/bin/exe-launch-agent.js +12 -12
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-pending-messages.js +10 -10
- package/dist/bin/exe-pending-notifications.js +9 -9
- package/dist/bin/exe-pending-reviews.js +9 -9
- package/dist/bin/exe-rename.js +5 -5
- package/dist/bin/exe-review.js +11 -11
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +13 -13
- package/dist/bin/exe-settings.js +7 -7
- package/dist/bin/exe-start-codex.js +12 -12
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +10 -10
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/git-sweep.js +9 -9
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/install.js +7 -7
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
- package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
- package/dist/bin/scan-tasks.js +9 -9
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +6 -6
- package/dist/bin/stack-update.js +2 -2
- package/dist/{branding-EHDA3CCK.js → branding-YUEILP4B.js} +1 -1
- package/dist/{capacity-monitor-VJLRBE7S.js → capacity-monitor-WAZTZAR5.js} +10 -10
- package/dist/{catchup-brief-T2RPTOTZ.js → catchup-brief-PKETW4ND.js} +11 -11
- package/dist/{chunk-OSPZOCPU.js → chunk-23UPL4NU.js} +3 -3
- package/dist/{chunk-TME75K53.js → chunk-2X5G7F5C.js} +3 -3
- package/dist/{chunk-23H5ZURC.js → chunk-3AN3RTUT.js} +4 -4
- package/dist/{chunk-XYFPCAA2.js → chunk-452JBQHH.js} +1 -1
- package/dist/{chunk-TOWAZ5IV.js → chunk-4GXRETYL.js} +16 -1
- package/dist/{chunk-AL7JZARP.js → chunk-4ZQDR3MI.js} +1 -1
- package/dist/{chunk-DW6P7UVY.js → chunk-66QQPSWI.js} +2 -2
- package/dist/{chunk-LHMOPUZE.js → chunk-6F46227N.js} +6 -6
- package/dist/{chunk-LVEOCWPL.js → chunk-77QEF6FR.js} +2 -2
- package/dist/{chunk-VRKPBY6D.js → chunk-7G44AU2D.js} +1 -1
- package/dist/{chunk-3RJBXMWJ.js → chunk-7VIH6LOQ.js} +2 -2
- package/dist/{chunk-5KUJDZ3J.js → chunk-7XRGVVG6.js} +3 -3
- package/dist/{chunk-NL4YO6I2.js → chunk-A6LSJC2O.js} +1 -1
- package/dist/{chunk-DMUNYW65.js → chunk-AK7S4GRC.js} +3 -3
- package/dist/{chunk-6M65LFNM.js → chunk-BRHV6CJT.js} +2 -2
- package/dist/{chunk-KSOPUPQX.js → chunk-CGLSVN6N.js} +9 -9
- package/dist/{chunk-Q7TTJD4A.js → chunk-CK5ZKW25.js} +1 -1
- package/dist/{chunk-K4KAPZC7.js → chunk-CMFLJNP6.js} +1 -1
- package/dist/{chunk-6YUACQQA.js → chunk-CTOQYEKJ.js} +1 -1
- package/dist/{chunk-UREIHGOQ.js → chunk-CXGOW4EJ.js} +3 -3
- package/dist/{chunk-6HFZ2KUC.js → chunk-DH65L4XI.js} +1 -1
- package/dist/{chunk-W6SKR3HZ.js → chunk-E2O7YYDS.js} +2 -2
- package/dist/{chunk-2G2KOWBI.js → chunk-EVB53OQD.js} +11 -11
- package/dist/{chunk-H5STRY47.js → chunk-F7ITFLVR.js} +1 -1
- package/dist/{chunk-SFZUC72J.js → chunk-FOG7AEEO.js} +2 -2
- package/dist/{chunk-T2B7637C.js → chunk-G2RRAFCH.js} +1 -1
- package/dist/{chunk-EYQIEK5M.js → chunk-GUCKE3GK.js} +1 -1
- package/dist/{chunk-KIUU4PNX.js → chunk-H2CFBUGF.js} +1 -1
- package/dist/{chunk-VB23RNNI.js → chunk-HBPFK6AO.js} +1 -1
- package/dist/{chunk-3I44JXWH.js → chunk-HDQJMTBG.js} +2 -2
- package/dist/{chunk-66RYFM6Z.js → chunk-HF6TVN2J.js} +3 -3
- package/dist/{chunk-3CZBCOYI.js → chunk-HH6ZCDZH.js} +2 -2
- package/dist/{chunk-Y3Z6QHUR.js → chunk-INWPOOB6.js} +1 -1
- package/dist/{chunk-DTT4TRFR.js → chunk-IRVLV6C5.js} +1 -1
- package/dist/{chunk-EHXOWGQG.js → chunk-IXJ4SLKR.js} +2 -2
- package/dist/{chunk-K23KJITV.js → chunk-J73N5EJ6.js} +2 -2
- package/dist/{chunk-OHYMA6C3.js → chunk-JFEFVLLD.js} +7 -7
- package/dist/{chunk-IWSXQKSB.js → chunk-JTHPKHKC.js} +1 -1
- package/dist/{chunk-KUPUTWQX.js → chunk-JYYWHPQC.js} +7 -7
- package/dist/{chunk-SE2DYYVB.js → chunk-KL5VDEBT.js} +1 -1
- package/dist/{chunk-ULFBLCIP.js → chunk-KPB5SN3Q.js} +1 -1
- package/dist/{chunk-L3JRSHHU.js → chunk-KZXC3G3P.js} +2 -2
- package/dist/{chunk-F2WGMIFZ.js → chunk-LVWXGZER.js} +1 -1
- package/dist/{chunk-HYRYMZRT.js → chunk-LWABYGNF.js} +1 -1
- package/dist/{chunk-G7IQNOSY.js → chunk-MBXAWOYB.js} +1 -1
- package/dist/{chunk-OC7Q4LOK.js → chunk-OCFYT3LE.js} +40 -9
- package/dist/{chunk-GCNWCYJI.js → chunk-ONKIWA3R.js} +2 -2
- package/dist/{chunk-2GUTGEFX.js → chunk-PELAHAJR.js} +1 -1
- package/dist/{chunk-VZDPV32D.js → chunk-PY7QM2C7.js} +3 -3
- package/dist/{chunk-Z6UYJ7HZ.js → chunk-Q46X2YPY.js} +4 -4
- package/dist/{chunk-PE6NCL7A.js → chunk-Q55XPOXU.js} +1 -1
- package/dist/{chunk-DWLDYEGO.js → chunk-RTNRPBQP.js} +10 -10
- package/dist/{chunk-EOO32RJZ.js → chunk-RVSGXGWG.js} +1 -1
- package/dist/{chunk-UIAYIZNR.js → chunk-RZE4KMRO.js} +2 -2
- package/dist/{chunk-V4MKR32F.js → chunk-S6DDN7IS.js} +2 -2
- package/dist/{chunk-TH2OFEQH.js → chunk-SEENMPG7.js} +2 -2
- package/dist/{chunk-GCB4MHTG.js → chunk-SNN634YS.js} +1 -1
- package/dist/{chunk-LWJ4AMMY.js → chunk-T5YT64SZ.js} +1 -1
- package/dist/{chunk-NNT2ZNMC.js → chunk-TJEETRHD.js} +1 -1
- package/dist/{chunk-45APPAB2.js → chunk-TM3WWKNB.js} +5 -5
- package/dist/{chunk-3S2HQUP6.js → chunk-U56WZR5E.js} +6 -6
- package/dist/{chunk-UJ2KUF4C.js → chunk-U5GTF2JP.js} +1 -1
- package/dist/{chunk-MLL5ICNL.js → chunk-UWUF5NWA.js} +7 -7
- package/dist/{chunk-XEN5RMGU.js → chunk-V5Y323LO.js} +1 -1
- package/dist/{chunk-XMRDT4PB.js → chunk-WZTQUBIE.js} +1 -1
- package/dist/{chunk-ICKEGWWP.js → chunk-X5O3FKRU.js} +1 -1
- package/dist/{chunk-4MN44ORL.js → chunk-XIGJOVTD.js} +1 -1
- package/dist/{chunk-2BTXFKAV.js → chunk-XIZR2YLR.js} +70 -71
- package/dist/{chunk-ABVCJBON.js → chunk-ZIJR3H2O.js} +2 -2
- package/dist/{chunk-3OGN523Z.js → chunk-ZPM2RMK2.js} +3 -3
- package/dist/{code-context-index-I5A7I4JQ.js → code-context-index-XZ22G57G.js} +4 -4
- package/dist/{conversation-wiki-populator-RSJ44BRO.js → conversation-wiki-populator-HVROKOEU.js} +1 -1
- package/dist/{crdt-sync-B7IUR3BR.js → crdt-sync-5JERNXAI.js} +1 -1
- package/dist/{crm-bridge-4QZRMOF7.js → crm-bridge-BVTB6LZK.js} +1 -1
- package/dist/{crm-webhook-YU7PDS7U.js → crm-webhook-DGL6XEOQ.js} +2 -2
- package/dist/{cto-delegation-gate-JDDOHVQL.js → cto-delegation-gate-UFSXT2CA.js} +8 -8
- package/dist/{daemon-auth-F47P6HTC.js → daemon-auth-H4EJ7KAQ.js} +2 -2
- package/dist/{daemon-orchestration-5OYKXYSR.js → daemon-orchestration-IP2LHJJK.js} +11 -11
- package/dist/{db-backup-W56YOLMC.js → db-backup-7UOCAPHO.js} +2 -2
- package/dist/{exe-drift-DXRU4SXJ.js → exe-drift-FNK7OXMY.js} +4 -4
- package/dist/{exe-export-X3AWJONG.js → exe-export-LLKDWX7F.js} +6 -6
- package/dist/{exe-import-GC5HO3TD.js → exe-import-XVAR7ZVC.js} +6 -6
- package/dist/{exe-key-R3ER4MYY.js → exe-key-E3YOJ2ME.js} +3 -3
- package/dist/{exe-org-OOO7KJVZ.js → exe-org-FEX66BTG.js} +2 -2
- package/dist/{fast-db-init-5DTYG5FZ.js → fast-db-init-SMQC6S3C.js} +1 -1
- package/dist/gateway/index.js +9 -9
- package/dist/{git-staleness-SVUTMS2F.js → git-staleness-HE6QCRSC.js} +3 -3
- package/dist/{git-task-sweep-EQHX4LXT.js → git-task-sweep-NWHG3FWG.js} +9 -9
- package/dist/{global-procedures-P7VOE476.js → global-procedures-KNA62DIE.js} +4 -4
- package/dist/{graph-auto-extract-UI374EYL.js → graph-auto-extract-4EZVBWQN.js} +3 -3
- package/dist/{hook-integrity-SA7S2SNI.js → hook-integrity-P3Z3HKMR.js} +1 -1
- package/dist/hooks/bug-report-worker.js +10 -10
- package/dist/hooks/codex-stop-task-finalizer.js +10 -10
- package/dist/hooks/commit-complete.js +11 -11
- package/dist/hooks/error-recall.js +7 -7
- package/dist/hooks/exe-heartbeat-hook.js +4 -4
- package/dist/hooks/ingest-worker.js +5 -5
- package/dist/hooks/ingest.js +12 -12
- package/dist/hooks/instructions-loaded.js +5 -5
- package/dist/hooks/notification.js +5 -5
- package/dist/hooks/post-compact.js +10 -10
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +15 -15
- package/dist/hooks/pre-tool-use.js +14 -14
- package/dist/hooks/prompt-submit.js +59 -20
- package/dist/hooks/session-end.js +19 -19
- package/dist/hooks/session-start.js +9 -9
- package/dist/hooks/stop.js +17 -17
- package/dist/hooks/subagent-stop.js +10 -10
- package/dist/hooks/summary-worker.js +18 -18
- package/dist/index.js +17 -17
- package/dist/{installer-L72MRJPI.js → installer-4GPRFPIU.js} +6 -6
- package/dist/{installer-SLJ3YCHB.js → installer-MMXK6EHQ.js} +6 -6
- package/dist/{installer-LX2TU7RS.js → installer-TAFFG7WH.js} +6 -6
- package/dist/{key-backup-status-ORNMJEEA.js → key-backup-status-KQUGSNVJ.js} +1 -1
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +6 -6
- package/dist/lib/config.js +1 -1
- package/dist/lib/consolidation.js +6 -6
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-daemon-client.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +4 -4
- package/dist/lib/employee-templates.js +5 -5
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon-client.js +3 -3
- package/dist/lib/exe-daemon.js +39 -39
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +3 -3
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +9 -9
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/skill-learning.js +5 -5
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +9 -9
- package/dist/lib/tmux-routing.js +8 -8
- package/dist/lib/token-spend.js +4 -4
- package/dist/{license-gate-J5YN264E.js → license-gate-OAPGTQXF.js} +3 -3
- package/dist/mcp/register-tools.js +57 -57
- package/dist/mcp/server.js +58 -58
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +11 -11
- package/dist/mcp/tools/deactivate-behavior.js +6 -6
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +11 -11
- package/dist/mcp/tools/send-message.js +11 -11
- package/dist/mcp/tools/update-task.js +10 -10
- package/dist/{mcp-http-config-T76QB243.js → mcp-http-config-FPHVLE3N.js} +4 -4
- package/dist/{memory-cards-NTRYLVOU.js → memory-cards-VYZSCHZR.js} +3 -3
- package/dist/{memory-poisoning-defense-OJ2DEGBA.js → memory-poisoning-defense-NGJ63VZE.js} +3 -3
- package/dist/{memory-queue-NYIGZNCG.js → memory-queue-2SHTE6GU.js} +2 -2
- package/dist/{memory-queue-client-YJOLYALV.js → memory-queue-client-M7NHD4GY.js} +5 -5
- package/dist/{memory-reflection-4YOUTIMO.js → memory-reflection-XXN375ZD.js} +3 -3
- package/dist/{notifications-SF2XN5JE.js → notifications-Z6Q2SEHP.js} +8 -8
- package/dist/{orchestration-phase-FXKZYK6R.js → orchestration-phase-D3PNCSUY.js} +2 -2
- package/dist/{orchestrator-2W3VNAKG.js → orchestrator-RHJGFMAS.js} +10 -10
- package/dist/{plan-limits-LEM76SOQ.js → plan-limits-GCKK3L6F.js} +5 -5
- package/dist/{projection-worker-RQHV4VIR.js → projection-worker-GHWA6NEA.js} +2 -2
- package/dist/{push-notifications-NSYLKFXR.js → push-notifications-VJZFCUFZ.js} +2 -2
- package/dist/{reranker-OMADCS3D.js → reranker-JJRY3V3V.js} +2 -2
- package/dist/{review-polling-HD26LRW2.js → review-polling-XUIKH7HF.js} +9 -9
- package/dist/runtime/index.js +11 -11
- package/dist/{session-events-NYMENC3B.js → session-events-KURSY7LK.js} +9 -9
- package/dist/{session-kill-telemetry-LJU2MMZC.js → session-kill-telemetry-PD4UM5FM.js} +4 -4
- package/dist/{session-scope-QIDIKKFB.js → session-scope-5MOCMTAM.js} +8 -8
- package/dist/{setup-wizard-ANL7CVWX.js → setup-wizard-6SW2ND2B.js} +2 -2
- package/dist/{shard-manager-SP4YL5JQ.js → shard-manager-6JBG2K5X.js} +2 -2
- package/dist/{skill-refinement-3W3CIIG3.js → skill-refinement-JBZRPZKW.js} +3 -3
- package/dist/{task-enforcement-YXEOTTUG.js → task-enforcement-2WCWSZQ3.js} +8 -8
- package/dist/{task-scope-XXPTORGS.js → task-scope-HW6BE2PI.js} +8 -8
- package/dist/{tasks-crud-3UCNTXKQ.js → tasks-crud-WACRTPQK.js} +8 -8
- package/dist/{tasks-review-IPOWGI4L.js → tasks-review-LIWD4PGN.js} +8 -8
- package/dist/{token-budget-NP22DW2M.js → token-budget-5QD4ZSDX.js} +3 -3
- package/dist/{tool-capability-index-OBZXORBP.js → tool-capability-index-LBDYUK6L.js} +1 -1
- package/dist/{tool-telemetry-5JF2OAHG.js → tool-telemetry-2VGSVV3J.js} +1 -1
- package/dist/tui/App.js +21 -21
- package/dist/{tui-data-Z7FCER3K.js → tui-data-UKFAWSNP.js} +8 -8
- package/dist/{worker-gate-PJYHXNUB.js → worker-gate-NJRW5QYT.js} +2 -2
- package/dist/{workflow-engine-GA7JS7X2.js → workflow-engine-ICAQJSYT.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +104 -104
- package/stack.release.json +2 -2
- /package/dist/{chunk-ZYETFCDX.js → chunk-E5PVJXIP.js} +0 -0
- /package/dist/{chunk-J2OPV5FE.js → chunk-FMBRO3D7.js} +0 -0
- /package/dist/{chunk-NQND3GFO.js → chunk-J2KP4ZDX.js} +0 -0
- /package/dist/{chunk-PBBIAKN5.js → chunk-LKKKOWTH.js} +0 -0
- /package/dist/{chunk-LYMBXTEO.js → chunk-LZLXG7TK.js} +0 -0
- /package/dist/{chunk-7E6ZBXO7.js → chunk-PYDL42BL.js} +0 -0
- /package/dist/{chunk-7U664OM4.js → chunk-RES22KSZ.js} +0 -0
- /package/dist/{core-memory-KL5BOUXU.js → core-memory-QRQ62AZY.js} +0 -0
- /package/dist/{entity-boost-LIBVNNXO.js → entity-boost-MDWFYORT.js} +0 -0
- /package/dist/{message-queue-client-NTLKYGVO.js → message-queue-client-BJZEA6RV.js} +0 -0
- /package/dist/{oauth-server-TOWAZR4K.js → oauth-server-UM2TQJLJ.js} +0 -0
- /package/dist/{webhook-pipe-PJOFVBD3.js → webhook-pipe-VSLEA26V.js} +0 -0
- /package/dist/{wiki-acl-ZRCU7XYC.js → wiki-acl-RZCXSF5O.js} +0 -0
- /package/dist/{wiki-client-MMVRPTPK.js → wiki-client-NZR7RW4I.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCrdtSyncEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J2KP4ZDX.js";
|
|
4
4
|
import {
|
|
5
5
|
decryptSyncBlob,
|
|
6
6
|
encryptSyncBlob,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
loadEmployees,
|
|
13
13
|
registerBinSymlinks,
|
|
14
14
|
saveEmployees
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EVB53OQD.js";
|
|
16
16
|
import {
|
|
17
17
|
loadDeviceId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TJEETRHD.js";
|
|
19
19
|
import {
|
|
20
20
|
EXE_AI_DIR
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4GXRETYL.js";
|
|
22
22
|
import {
|
|
23
23
|
atomicWriteJsonSync,
|
|
24
24
|
atomicWriteSync,
|
|
@@ -173,7 +173,7 @@ async function pushToPostgres(records) {
|
|
|
173
173
|
processed_at = NULL`,
|
|
174
174
|
String(rec.id ?? ""),
|
|
175
175
|
JSON.stringify(rec),
|
|
176
|
-
JSON.stringify({ agent_id: rec.agent_id, project_name: rec.project_name, tool_name: rec.tool_name }),
|
|
176
|
+
JSON.stringify({ agent_id: rec.agent_id, project_name: rec.project_name, tool_name: rec.tool_name, memory_type: rec.memory_type ?? "raw" }),
|
|
177
177
|
rec.timestamp ? new Date(String(rec.timestamp)) : /* @__PURE__ */ new Date()
|
|
178
178
|
);
|
|
179
179
|
inserted += Number(changed ?? 0);
|
|
@@ -485,7 +485,7 @@ async function cloudSync(config) {
|
|
|
485
485
|
let pulled = 0;
|
|
486
486
|
if (pullResult.records.length > 0) {
|
|
487
487
|
if (isCrdtSyncEnabled()) {
|
|
488
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
488
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-5JERNXAI.js");
|
|
489
489
|
initCrdtDoc();
|
|
490
490
|
importExistingMemories(
|
|
491
491
|
pullResult.records.map((rec) => ({
|
|
@@ -871,7 +871,7 @@ async function cloudSync(config) {
|
|
|
871
871
|
}
|
|
872
872
|
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
873
873
|
try {
|
|
874
|
-
const { getLatestBackup } = await import("./db-backup-
|
|
874
|
+
const { getLatestBackup } = await import("./db-backup-7UOCAPHO.js");
|
|
875
875
|
const latestBackup = getLatestBackup();
|
|
876
876
|
if (latestBackup) {
|
|
877
877
|
const backupSize = statSync(latestBackup).size;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getToolCapabilityIndex
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FMBRO3D7.js";
|
|
4
4
|
import {
|
|
5
5
|
getCachedLicenseGate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HBPFK6AO.js";
|
|
7
7
|
import {
|
|
8
8
|
getToolUsageStats
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RES22KSZ.js";
|
|
10
10
|
import {
|
|
11
11
|
AUTO_WAKE_MAX_RETRIES
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TM3WWKNB.js";
|
|
13
13
|
import {
|
|
14
14
|
listRecentSessionEvents
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MBXAWOYB.js";
|
|
16
16
|
import {
|
|
17
17
|
isRerankerAvailable,
|
|
18
18
|
rerankWithScores
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WZTQUBIE.js";
|
|
20
20
|
import {
|
|
21
21
|
getEntityByName,
|
|
22
22
|
getEntityNeighbors,
|
|
@@ -37,66 +37,66 @@ import {
|
|
|
37
37
|
searchCodeContext,
|
|
38
38
|
searchCodeContextSemantic,
|
|
39
39
|
traceCodeSymbol
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-S6DDN7IS.js";
|
|
41
41
|
import {
|
|
42
42
|
runDriftProbes
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KPB5SN3Q.js";
|
|
44
44
|
import {
|
|
45
45
|
exportOrchestration,
|
|
46
46
|
importOrchestration,
|
|
47
47
|
validatePackage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LWABYGNF.js";
|
|
49
49
|
import {
|
|
50
50
|
loadOrchestrationPhase,
|
|
51
51
|
setOrchestrationPhase
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-DH65L4XI.js";
|
|
53
53
|
import {
|
|
54
54
|
createOrRefreshResumeTask
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-AK7S4GRC.js";
|
|
56
56
|
import {
|
|
57
57
|
registerCompleteReminder
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-G2RRAFCH.js";
|
|
59
59
|
import {
|
|
60
60
|
registerDeactivateBehavior
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CXGOW4EJ.js";
|
|
62
62
|
import {
|
|
63
63
|
registerSendMessage
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-HDQJMTBG.js";
|
|
65
65
|
import {
|
|
66
66
|
registerCreateTask
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-U56WZR5E.js";
|
|
68
68
|
import {
|
|
69
69
|
registerListTasks
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RZE4KMRO.js";
|
|
71
71
|
import {
|
|
72
72
|
registerUpdateTask
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-23UPL4NU.js";
|
|
74
74
|
import {
|
|
75
75
|
registerCreateReminder
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-4ZQDR3MI.js";
|
|
77
77
|
import {
|
|
78
78
|
registerListReminders
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-CK5ZKW25.js";
|
|
80
80
|
import {
|
|
81
81
|
completeReminder,
|
|
82
82
|
createReminder,
|
|
83
83
|
listReminders
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-7G44AU2D.js";
|
|
85
85
|
import {
|
|
86
86
|
status
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-7XRGVVG6.js";
|
|
88
88
|
import {
|
|
89
89
|
TOKENS_PER_IDLE_MINUTE,
|
|
90
90
|
countKillsSince,
|
|
91
91
|
sumTokensSavedSince
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-V5Y323LO.js";
|
|
93
93
|
import {
|
|
94
94
|
getAgentSpend
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-PELAHAJR.js";
|
|
96
96
|
import {
|
|
97
97
|
createSchedule,
|
|
98
98
|
parseHumanCron
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-KZXC3G3P.js";
|
|
100
100
|
import {
|
|
101
101
|
exportGraphHTML,
|
|
102
102
|
generateGraphReport
|
|
@@ -108,39 +108,39 @@ import {
|
|
|
108
108
|
import {
|
|
109
109
|
formatReport,
|
|
110
110
|
runAudit
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-6F46227N.js";
|
|
112
112
|
import {
|
|
113
113
|
runHealthCheck
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-J73N5EJ6.js";
|
|
115
115
|
import {
|
|
116
116
|
hasFailures,
|
|
117
117
|
runHealth,
|
|
118
118
|
runTest
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-66QQPSWI.js";
|
|
120
120
|
import {
|
|
121
121
|
findSimilarTrajectories,
|
|
122
122
|
hashSignature
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-2X5G7F5C.js";
|
|
124
124
|
import {
|
|
125
125
|
deactivateBehavior,
|
|
126
126
|
listBehaviorsByDomain,
|
|
127
127
|
listSharedSkills,
|
|
128
128
|
storeBehavior
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-SNN634YS.js";
|
|
130
130
|
import {
|
|
131
131
|
countUnconsolidated,
|
|
132
132
|
groupMemories,
|
|
133
133
|
runConsolidation,
|
|
134
134
|
selectUnconsolidated
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-BRHV6CJT.js";
|
|
136
136
|
import {
|
|
137
137
|
renderClientCOOTemplate
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-Q55XPOXU.js";
|
|
139
139
|
import {
|
|
140
140
|
deactivateGlobalProcedure,
|
|
141
141
|
loadGlobalProcedures,
|
|
142
142
|
storeGlobalProcedure
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-INWPOOB6.js";
|
|
144
144
|
import {
|
|
145
145
|
PLATFORM_PROCEDURES
|
|
146
146
|
} from "./chunk-MWRHXGAB.js";
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
cloudSync,
|
|
150
150
|
getCloudReuploadRequired,
|
|
151
151
|
markCloudReuploadRequired
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-UWUF5NWA.js";
|
|
153
153
|
import {
|
|
154
154
|
encryptSyncBlob,
|
|
155
155
|
isSyncCryptoInitialized
|
|
@@ -159,28 +159,28 @@ import {
|
|
|
159
159
|
} from "./chunk-X2Z5GT3V.js";
|
|
160
160
|
import {
|
|
161
161
|
embed
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-XIGJOVTD.js";
|
|
163
163
|
import {
|
|
164
164
|
readMcpHttpEvents,
|
|
165
165
|
summarizeMcpTransport,
|
|
166
166
|
writeMcpTransportSummary
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-T5YT64SZ.js";
|
|
168
168
|
import {
|
|
169
169
|
updateTask
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-JYYWHPQC.js";
|
|
171
171
|
import {
|
|
172
172
|
fastDbInit
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-PYDL42BL.js";
|
|
174
174
|
import {
|
|
175
175
|
MAX_CONCURRENT_WORKERS
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-7VIH6LOQ.js";
|
|
177
177
|
import {
|
|
178
178
|
hybridSearch,
|
|
179
179
|
recentRecords
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-CGLSVN6N.js";
|
|
181
181
|
import {
|
|
182
182
|
getActiveAgent
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-77QEF6FR.js";
|
|
184
184
|
import {
|
|
185
185
|
attachDocumentMetadata,
|
|
186
186
|
flushBatch,
|
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
reserveVersions,
|
|
189
189
|
vectorToBlob,
|
|
190
190
|
writeMemory
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-RTNRPBQP.js";
|
|
192
192
|
import {
|
|
193
193
|
getMySession,
|
|
194
194
|
resolveExeSession,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
sessionScopeFilter,
|
|
197
197
|
updateTaskStatus,
|
|
198
198
|
writeCheckpoint
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-OCFYT3LE.js";
|
|
200
200
|
import {
|
|
201
201
|
listSessions
|
|
202
202
|
} from "./chunk-64WZEXXA.js";
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
getAgentRuntime,
|
|
208
208
|
loadAgentConfig,
|
|
209
209
|
setAgentRuntime
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-H2CFBUGF.js";
|
|
211
211
|
import {
|
|
212
212
|
DEFAULT_RUNTIME
|
|
213
213
|
} from "./chunk-NGP6LSV2.js";
|
|
@@ -216,7 +216,7 @@ import {
|
|
|
216
216
|
assertEmployeeLimit,
|
|
217
217
|
assertFeature,
|
|
218
218
|
assertMemoryLimit
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-ZPM2RMK2.js";
|
|
220
220
|
import {
|
|
221
221
|
getProjectName
|
|
222
222
|
} from "./chunk-OPU3NYOO.js";
|
|
@@ -229,10 +229,10 @@ import {
|
|
|
229
229
|
isScheduledTrigger,
|
|
230
230
|
loadTriggers,
|
|
231
231
|
sanitizeParam
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-E5PVJXIP.js";
|
|
233
233
|
import {
|
|
234
234
|
pushConversationToCRM
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-ONKIWA3R.js";
|
|
236
236
|
import {
|
|
237
237
|
EMPLOYEES_PATH,
|
|
238
238
|
addEmployee,
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
loadEmployeesSync,
|
|
250
250
|
saveEmployees,
|
|
251
251
|
updateIdentity
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-EVB53OQD.js";
|
|
253
253
|
import {
|
|
254
254
|
getMasterKey
|
|
255
255
|
} from "./chunk-6D23UNXU.js";
|
|
@@ -265,11 +265,11 @@ import {
|
|
|
265
265
|
readCachedLicenseToken,
|
|
266
266
|
saveLicense,
|
|
267
267
|
validateLicense
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-TJEETRHD.js";
|
|
269
269
|
import {
|
|
270
270
|
EXE_AI_DIR,
|
|
271
271
|
loadConfig
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-4GXRETYL.js";
|
|
273
273
|
|
|
274
274
|
// src/mcp/tools/memory.ts
|
|
275
275
|
import { z as z10 } from "zod";
|
|
@@ -442,7 +442,7 @@ function registerRecallMyMemory(server) {
|
|
|
442
442
|
let federatedCount = 0;
|
|
443
443
|
if (!recent && query && results.length < FEDERATION_THRESHOLD) {
|
|
444
444
|
try {
|
|
445
|
-
const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-
|
|
445
|
+
const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-XZ22G57G.js");
|
|
446
446
|
const codeResults = await Promise.race([
|
|
447
447
|
searchCodeContextSemantic2(query, { limit: 5 }),
|
|
448
448
|
new Promise((_, rej) => setTimeout(() => rej(new Error("timeout")), 2e3))
|
|
@@ -912,7 +912,7 @@ async function searchConversations(query, limit) {
|
|
|
912
912
|
}
|
|
913
913
|
async function searchWiki(query, limit) {
|
|
914
914
|
try {
|
|
915
|
-
const { createWikiClient, chatInWorkspace, listWorkspaces } = await import("./wiki-client-
|
|
915
|
+
const { createWikiClient, chatInWorkspace, listWorkspaces } = await import("./wiki-client-NZR7RW4I.js");
|
|
916
916
|
const client = await createWikiClient();
|
|
917
917
|
if (!client) return [];
|
|
918
918
|
const workspaces = await listWorkspaces(client);
|
|
@@ -1453,7 +1453,7 @@ async function handleSupersede(input) {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
try {
|
|
1455
1455
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
1456
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1456
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GHJBTJRF.js");
|
|
1457
1457
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
1458
1458
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
1459
1459
|
const client = getClient2();
|
|
@@ -1562,9 +1562,9 @@ function registerMemory(server) {
|
|
|
1562
1562
|
return handleSupersede(input);
|
|
1563
1563
|
}
|
|
1564
1564
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1565
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1565
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-GHJBTJRF.js");
|
|
1566
1566
|
const { agentId } = getActiveAgent2();
|
|
1567
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1567
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-QRQ62AZY.js");
|
|
1568
1568
|
if (action === "core_get") {
|
|
1569
1569
|
const entries = await getCoreMemory(agentId);
|
|
1570
1570
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2173,7 +2173,7 @@ function registerResumeEmployee(server) {
|
|
|
2173
2173
|
};
|
|
2174
2174
|
}
|
|
2175
2175
|
try {
|
|
2176
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2176
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-WACRTPQK.js");
|
|
2177
2177
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2178
2178
|
for (const row of openTasks.rows) {
|
|
2179
2179
|
const status2 = String(row.status);
|
|
@@ -3214,8 +3214,8 @@ function registerIngestDocument(server) {
|
|
|
3214
3214
|
},
|
|
3215
3215
|
async (input) => {
|
|
3216
3216
|
try {
|
|
3217
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
3218
|
-
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-
|
|
3217
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-GCKK3L6F.js");
|
|
3218
|
+
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-GCKK3L6F.js");
|
|
3219
3219
|
await assertFeature2("wiki");
|
|
3220
3220
|
await assertMemoryLimit2();
|
|
3221
3221
|
const result3 = await ingestDocument(input);
|
|
@@ -3473,7 +3473,7 @@ var GRAPH_API_VERSION = "v21.0";
|
|
|
3473
3473
|
var GRAPH_API_BASE = `https://graph.facebook.com/${GRAPH_API_VERSION}`;
|
|
3474
3474
|
var DEFAULT_GATEWAY_SEND_URL = "http://127.0.0.1:3100/api/send";
|
|
3475
3475
|
async function lookupPhoneByName(name) {
|
|
3476
|
-
const apiToken = process.env.CRM_API_TOKEN;
|
|
3476
|
+
const apiToken = process.env.EXE_CRM_ADMIN_TOKEN || process.env.CRM_API_TOKEN;
|
|
3477
3477
|
const graphqlUrl = process.env.CRM_GRAPHQL_URL || "http://localhost:3000";
|
|
3478
3478
|
if (!apiToken) return null;
|
|
3479
3479
|
const parts = name.trim().split(/\s+/);
|
|
@@ -5335,7 +5335,7 @@ async function getAgentSessionLoad() {
|
|
|
5335
5335
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5336
5336
|
}
|
|
5337
5337
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5338
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5338
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-HW6BE2PI.js");
|
|
5339
5339
|
const client = getClient2();
|
|
5340
5340
|
const scope = sessionScopeFilter2();
|
|
5341
5341
|
for (const s of liveAgentSessions) {
|
|
@@ -6928,7 +6928,7 @@ function registerCreateTrigger(server) {
|
|
|
6928
6928
|
}
|
|
6929
6929
|
},
|
|
6930
6930
|
async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
|
|
6931
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
6931
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-GCKK3L6F.js");
|
|
6932
6932
|
const gatedActions = {
|
|
6933
6933
|
send_whatsapp: "external_agents",
|
|
6934
6934
|
update_wiki: "wiki"
|
|
@@ -7832,7 +7832,7 @@ function registerConfig(server) {
|
|
|
7832
7832
|
const existing = loadEmployeesSync2();
|
|
7833
7833
|
if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
|
|
7834
7834
|
try {
|
|
7835
|
-
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-
|
|
7835
|
+
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-GCKK3L6F.js");
|
|
7836
7836
|
await assertEmployeeLimit2();
|
|
7837
7837
|
} catch (e) {
|
|
7838
7838
|
return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
|
|
@@ -7873,7 +7873,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
|
|
|
7873
7873
|
}
|
|
7874
7874
|
try {
|
|
7875
7875
|
const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
|
|
7876
|
-
const { resolvePackageRoot } = await import("./installer-
|
|
7876
|
+
const { resolvePackageRoot } = await import("./installer-4GPRFPIU.js");
|
|
7877
7877
|
generateSessionWrappers(resolvePackageRoot());
|
|
7878
7878
|
} catch {
|
|
7879
7879
|
}
|
|
@@ -7909,7 +7909,7 @@ function registerListWikiPages(server) {
|
|
|
7909
7909
|
}
|
|
7910
7910
|
},
|
|
7911
7911
|
async ({ workspace, folder }) => {
|
|
7912
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
7912
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-GCKK3L6F.js");
|
|
7913
7913
|
await assertFeature2("wiki");
|
|
7914
7914
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
7915
7915
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -8009,7 +8009,7 @@ function registerGetWikiPage(server) {
|
|
|
8009
8009
|
}
|
|
8010
8010
|
},
|
|
8011
8011
|
async ({ workspace, document_id, title }) => {
|
|
8012
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
8012
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-GCKK3L6F.js");
|
|
8013
8013
|
await assertFeature2("wiki");
|
|
8014
8014
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
8015
8015
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -8204,7 +8204,7 @@ function registerWiki(server) {
|
|
|
8204
8204
|
if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
|
|
8205
8205
|
const { action: _action, user_id, ...legacyArgs } = input;
|
|
8206
8206
|
if (user_id && legacyArgs.workspace) {
|
|
8207
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
8207
|
+
const { checkWikiAccess } = await import("./wiki-acl-RZCXSF5O.js");
|
|
8208
8208
|
const { allowed } = await checkWikiAccess(
|
|
8209
8209
|
String(user_id),
|
|
8210
8210
|
String(legacyArgs.workspace),
|
|
@@ -9004,11 +9004,11 @@ async function getExeDbReadClient() {
|
|
|
9004
9004
|
}
|
|
9005
9005
|
if (!prismaPromise3) {
|
|
9006
9006
|
prismaPromise3 = (async () => {
|
|
9007
|
-
const
|
|
9008
|
-
if (
|
|
9007
|
+
const dbUrl = process.env.DATABASE_URL || process.env.MCP_READONLY_DATABASE_URL;
|
|
9008
|
+
if (dbUrl) {
|
|
9009
9009
|
const { Pool } = await import("pg");
|
|
9010
9010
|
const { pgSslConfig } = await import("./pg-ssl-7JXQFL4I.js");
|
|
9011
|
-
const pool = new Pool({ connectionString:
|
|
9011
|
+
const pool = new Pool({ connectionString: dbUrl, ...pgSslConfig() });
|
|
9012
9012
|
return {
|
|
9013
9013
|
async $queryRawUnsafe(query, ...values) {
|
|
9014
9014
|
const result3 = await pool.query(query, values);
|
|
@@ -9019,7 +9019,6 @@ async function getExeDbReadClient() {
|
|
|
9019
9019
|
}
|
|
9020
9020
|
};
|
|
9021
9021
|
}
|
|
9022
|
-
console.warn("[exe-db-read] WARNING: MCP_READONLY_DATABASE_URL not set \u2014 falling back to admin role");
|
|
9023
9022
|
const explicitPath = process.env.EXE_OS_PRISMA_CLIENT_PATH;
|
|
9024
9023
|
if (explicitPath) {
|
|
9025
9024
|
const mod2 = await import(pathToFileURL3(explicitPath).href);
|
|
@@ -9375,7 +9374,7 @@ function registerWorkflowTool(server) {
|
|
|
9375
9374
|
getWorkflowInstance,
|
|
9376
9375
|
listWorkflowInstances,
|
|
9377
9376
|
approveWorkflowStep
|
|
9378
|
-
} = await import("./workflow-engine-
|
|
9377
|
+
} = await import("./workflow-engine-ICAQJSYT.js");
|
|
9379
9378
|
try {
|
|
9380
9379
|
switch (input.action) {
|
|
9381
9380
|
case "create_workflow": {
|
|
@@ -10554,7 +10553,7 @@ function registerCodeContext(server) {
|
|
|
10554
10553
|
const index = buildCodeContextIndex(opts);
|
|
10555
10554
|
let graphExtract;
|
|
10556
10555
|
try {
|
|
10557
|
-
const { autoExtractGraphEntities } = await import("./graph-auto-extract-
|
|
10556
|
+
const { autoExtractGraphEntities } = await import("./graph-auto-extract-4EZVBWQN.js");
|
|
10558
10557
|
graphExtract = await autoExtractGraphEntities(opts.projectRoot);
|
|
10559
10558
|
} catch {
|
|
10560
10559
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GNHN5HRQ.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-452JBQHH.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_HOOKS,
|
|
9
9
|
isLegacyHomeDirHookCommand,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-L3TB7CC3.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JTHPKHKC.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
getClient,
|
|
4
4
|
isInitialized,
|
|
5
5
|
loadEmployees
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EVB53OQD.js";
|
|
7
7
|
import {
|
|
8
8
|
PLAN_LIMITS,
|
|
9
9
|
checkLicense,
|
|
10
10
|
isFeatureAllowed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TJEETRHD.js";
|
|
12
12
|
import {
|
|
13
13
|
EXE_AI_DIR
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4GXRETYL.js";
|
|
15
15
|
|
|
16
16
|
// src/lib/plan-limits.ts
|
|
17
17
|
import { readFileSync, existsSync } from "fs";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
searchCodeContext,
|
|
9
9
|
searchCodeContextSemantic,
|
|
10
10
|
traceCodeSymbol
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S6DDN7IS.js";
|
|
12
12
|
import "./chunk-I7AW4237.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-E2O7YYDS.js";
|
|
14
14
|
import "./chunk-3H4VU65X.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-CMFLJNP6.js";
|
|
16
|
+
import "./chunk-4GXRETYL.js";
|
|
17
17
|
import "./chunk-LYH5HE24.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
export {
|
package/dist/{conversation-wiki-populator-RSJ44BRO.js → conversation-wiki-populator-HVROKOEU.js}
RENAMED
|
@@ -12,7 +12,7 @@ var DEFAULT_WORKSPACE = "conversations";
|
|
|
12
12
|
var MIN_NAME_LENGTH = 3;
|
|
13
13
|
var SKIP_NAMES = /* @__PURE__ */ new Set(["unknown", "none", "n/a", "null", "undefined"]);
|
|
14
14
|
async function populateWikiFromExtraction(extraction, msg, agentResponse, agentName) {
|
|
15
|
-
const { createWikiClient, chatInWorkspace, listWorkspaces } = await import("./wiki-client-
|
|
15
|
+
const { createWikiClient, chatInWorkspace, listWorkspaces } = await import("./wiki-client-NZR7RW4I.js");
|
|
16
16
|
const client = await createWikiClient();
|
|
17
17
|
if (!client) {
|
|
18
18
|
return { created: 0, updated: 0, skipped: extraction.entities.length };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OCFYT3LE.js";
|
|
4
4
|
import "./chunk-LOQCOHEW.js";
|
|
5
5
|
import "./chunk-TXSJ2L5O.js";
|
|
6
6
|
import "./chunk-64WZEXXA.js";
|
|
@@ -8,24 +8,24 @@ import "./chunk-A7KEWR6S.js";
|
|
|
8
8
|
import "./chunk-X347L57O.js";
|
|
9
9
|
import "./chunk-GZIAQYGI.js";
|
|
10
10
|
import "./chunk-ZQX6UOP6.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-H2CFBUGF.js";
|
|
12
12
|
import "./chunk-NGP6LSV2.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ZPM2RMK2.js";
|
|
14
14
|
import "./chunk-OPU3NYOO.js";
|
|
15
15
|
import "./chunk-CVYC6DUW.js";
|
|
16
16
|
import "./chunk-GJV3WDWM.js";
|
|
17
17
|
import "./chunk-MP2AFCGL.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-JTHPKHKC.js";
|
|
19
19
|
import "./chunk-HYZV25LY.js";
|
|
20
20
|
import {
|
|
21
21
|
getClient,
|
|
22
22
|
getEmployeeByRole,
|
|
23
23
|
loadEmployeesSync
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-EVB53OQD.js";
|
|
25
|
+
import "./chunk-RVSGXGWG.js";
|
|
26
26
|
import "./chunk-FXU7JOXK.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-TJEETRHD.js";
|
|
28
|
+
import "./chunk-4GXRETYL.js";
|
|
29
29
|
import "./chunk-LYH5HE24.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
|