@askexenow/exe-os 0.9.302 → 0.9.303
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/README.md +7 -3
- package/deploy/compose/add-routes.sh +107 -0
- package/deploy/compose/docker-compose.yml +80 -14
- package/deploy/compose/gateway-watchdog.sh +223 -0
- package/deploy/compose/setup.sh +7 -8
- package/deploy/stack-manifests/v0.9.json +44 -1
- package/dist/{active-agent-GGQAP4QE.js → active-agent-F3TFM4GE.js} +4 -3
- package/dist/{active-agent-ODI6GGVD.js → active-agent-SJ2EH6WL.js} +4 -3
- package/dist/{agentic-ontology-M7T72M6V.js → agentic-ontology-B36CUQLH.js} +1 -1
- package/dist/{backfill-metadata-GSZP2BEW.js → backfill-metadata-HPLVG42J.js} +5 -4
- package/dist/{behaviors-JM6KFSXL.js → behaviors-KRP2Q5XL.js} +6 -5
- package/dist/bin/agentic-ontology-backfill.js +6 -5
- package/dist/bin/agentic-reflection-backfill.js +7 -6
- package/dist/bin/agentic-semantic-label.js +6 -5
- package/dist/bin/backfill-conversations.js +7 -6
- package/dist/bin/backfill-responses.js +7 -6
- package/dist/bin/backfill-vectors.js +9 -8
- package/dist/bin/bulk-sync-postgres.js +13 -12
- package/dist/bin/cc-doctor.js +5 -4
- package/dist/bin/cleanup-stale-review-tasks.js +13 -12
- package/dist/bin/cli.js +16 -16
- package/dist/bin/exe-agent-config.js +3 -2
- package/dist/bin/exe-agent.js +14 -13
- package/dist/bin/exe-assign.js +9 -8
- package/dist/bin/exe-boot.js +21 -20
- package/dist/bin/exe-call.js +5 -4
- package/dist/bin/exe-cloud.js +13 -12
- package/dist/bin/exe-config-dump.js +525 -0
- package/dist/bin/exe-dispatch.js +13 -12
- package/dist/bin/exe-doctor.js +2 -2
- package/dist/bin/exe-export-behaviors.js +8 -7
- package/dist/bin/exe-forget.js +7 -6
- package/dist/bin/exe-gateway.js +8 -7
- package/dist/bin/exe-healthcheck.js +7 -4
- package/dist/bin/exe-heartbeat.js +13 -12
- package/dist/bin/exe-kill.js +16 -15
- package/dist/bin/exe-launch-agent.js +40 -24
- package/dist/bin/exe-new-employee.js +9 -8
- package/dist/bin/exe-pending-messages.js +14 -13
- package/dist/bin/exe-pending-notifications.js +13 -12
- package/dist/bin/exe-pending-reviews.js +13 -12
- package/dist/bin/exe-rename.js +5 -4
- package/dist/bin/exe-review.js +15 -14
- package/dist/bin/exe-search-quality.js +282 -0
- package/dist/bin/exe-search.js +6 -5
- package/dist/bin/exe-session-cleanup.js +18 -17
- package/dist/bin/exe-settings.js +14 -13
- package/dist/bin/exe-start-codex.js +13 -12
- package/dist/bin/exe-start-opencode.js +9 -8
- package/dist/bin/exe-status.js +14 -13
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -3
- package/dist/bin/exe-timers.js +237 -0
- package/dist/bin/git-sweep.js +14 -13
- package/dist/bin/graph-backfill.js +7 -6
- package/dist/bin/graph-export.js +6 -5
- package/dist/bin/import-history.js +10 -9
- package/dist/bin/install-launchd.js +2 -2
- package/dist/bin/install.js +10 -9
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/scan-tasks.js +13 -12
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -4
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{capability-cards-BCTFKT4G.js → capability-cards-7FFJF4HF.js} +3 -2
- package/dist/{capacity-monitor-B4S3XEDO.js → capacity-monitor-G4XO7GNU.js} +14 -13
- package/dist/{catchup-brief-I35KHK62.js → catchup-brief-NBAN42X7.js} +16 -15
- package/dist/{chunk-HZEAAKCR.js → chunk-2DDRLHWF.js} +3 -3
- package/dist/{chunk-AAPPSMPH.js → chunk-2JESQBYU.js} +1 -1
- package/dist/{chunk-V6P7TPPA.js → chunk-3BE52GPB.js} +148 -2
- package/dist/{chunk-7FNELLMX.js → chunk-4GBTBZFC.js} +8 -8
- package/dist/{chunk-BEIYF4NS.js → chunk-4NWEVZKT.js} +3 -3
- package/dist/{chunk-MM7SWUQ4.js → chunk-4OTIVBY3.js} +1 -1
- package/dist/{chunk-MY36XDUK.js → chunk-4VHQ6QQ3.js} +1 -1
- package/dist/{chunk-4AN6KMVG.js → chunk-53LLDHLD.js} +1 -1
- package/dist/{chunk-YNALY3SX.js → chunk-5SYMJCBM.js} +1 -1
- package/dist/{chunk-7I43GVER.js → chunk-5Y2DO57X.js} +3 -3
- package/dist/{chunk-W65Z4SJS.js → chunk-624YJGMR.js} +1 -1
- package/dist/{chunk-3IJCP6ZH.js → chunk-6U6HNE2Y.js} +1 -1
- package/dist/{chunk-PBCRUNIK.js → chunk-75SBA2D4.js} +463 -137
- package/dist/{chunk-LD2JKEJT.js → chunk-7CMIKNAB.js} +4 -4
- package/dist/{chunk-RO7EXVSJ.js → chunk-7DAUFPDV.js} +1 -1
- package/dist/{chunk-KA5RK5HZ.js → chunk-7RGIYC7W.js} +2 -2
- package/dist/{chunk-OZRO37JW.js → chunk-7RMIXFMD.js} +4 -4
- package/dist/{chunk-EI7PBUIA.js → chunk-7WQ36FAD.js} +1 -1
- package/dist/{chunk-LTI2DLHY.js → chunk-ALVJ3CT3.js} +2 -2
- package/dist/{chunk-BUGMW7YF.js → chunk-B7BDXCKK.js} +11 -11
- package/dist/{chunk-P33JVGSP.js → chunk-BM3YRAE5.js} +1 -1
- package/dist/{chunk-OMCNFTSI.js → chunk-C5CR4XDV.js} +1 -1
- package/dist/{chunk-N76VTMMF.js → chunk-CCYRCRLW.js} +2 -2
- package/dist/{chunk-6X2YNVLB.js → chunk-CTIEJGO4.js} +3 -3
- package/dist/{chunk-WIL6LXNG.js → chunk-CTUQZ7LF.js} +1 -1
- package/dist/{chunk-35U72CD2.js → chunk-D3IYBLWN.js} +3 -3
- package/dist/{chunk-QNJPDIWY.js → chunk-D6INBP4F.js} +1 -1
- package/dist/{chunk-KHZQVLNZ.js → chunk-EW2P62CV.js} +46 -0
- package/dist/{chunk-OR7J7TIA.js → chunk-EWIW3R6V.js} +1 -1
- package/dist/{chunk-OVKNFTCL.js → chunk-FMJ4D5G6.js} +133 -22
- package/dist/{chunk-W3E4VEEJ.js → chunk-FTOUQEYH.js} +1 -1
- package/dist/{chunk-2LJDLQNO.js → chunk-G4SVYLPT.js} +1 -1
- package/dist/{chunk-AYMSIV7X.js → chunk-HDCP6CGI.js} +1 -1
- package/dist/{chunk-RHMWSUJB.js → chunk-HHKI2FBV.js} +2 -2
- package/dist/{chunk-LE7CDIOA.js → chunk-HU5SQUZX.js} +1 -1
- package/dist/{chunk-H2ISTRWU.js → chunk-HUO7WZFC.js} +1 -1
- package/dist/{chunk-HNLBHP6P.js → chunk-JAPPHNDZ.js} +3 -3
- package/dist/{chunk-TCJEFW5V.js → chunk-JBWYZAQE.js} +1 -1
- package/dist/{chunk-4LZ54YGA.js → chunk-JLOB72OV.js} +5 -5
- package/dist/{chunk-T62GAN7I.js → chunk-JPGU7XUA.js} +7 -7
- package/dist/{chunk-ZQ2QHGWE.js → chunk-KCJZJJJG.js} +20 -24
- package/dist/{chunk-KVHPBQV4.js → chunk-KLAVORDC.js} +1 -1
- package/dist/{chunk-ORNKGGFX.js → chunk-MDO5LEP7.js} +1 -1
- package/dist/{chunk-6ERZFDBS.js → chunk-MGKZPSXW.js} +1 -1
- package/dist/{chunk-PJTRAFL4.js → chunk-MO3G76UK.js} +3 -3
- package/dist/{chunk-P3SIFDES.js → chunk-N5G4T47B.js} +16 -4
- package/dist/{chunk-D6UICP3C.js → chunk-NME5E325.js} +81 -3
- package/dist/{chunk-ST3X3YMZ.js → chunk-NWUPOAFV.js} +4 -4
- package/dist/{chunk-US64UR5O.js → chunk-O2KITXII.js} +3 -3
- package/dist/{chunk-3YJMI422.js → chunk-OVQDDRGZ.js} +4 -4
- package/dist/{chunk-WHOT5NZ7.js → chunk-P4WXINQT.js} +14 -2
- package/dist/{chunk-RQUHAXMM.js → chunk-PHFPIUWU.js} +2 -0
- package/dist/{chunk-U724Z3S3.js → chunk-PNYUSBLA.js} +100 -37
- package/dist/{chunk-GSWGOGP5.js → chunk-PRU6NRJY.js} +5 -5
- package/dist/{chunk-SXJACGQ5.js → chunk-PTR4DP7H.js} +4 -4
- package/dist/{chunk-XKGNKH6V.js → chunk-PY6RG2DV.js} +1 -1
- package/dist/{chunk-QWLPAEG5.js → chunk-Q32XYR7C.js} +3 -3
- package/dist/{chunk-H7ZNSQ2E.js → chunk-QPA5UAXG.js} +2 -2
- package/dist/{chunk-YMSWCERY.js → chunk-QTDS7LFB.js} +3 -3
- package/dist/chunk-RQ7OVXUZ.js +81 -0
- package/dist/{chunk-IMJNYREY.js → chunk-S4OOC2EM.js} +1 -1
- package/dist/{chunk-Z3EXECOX.js → chunk-S76SQ6R5.js} +1 -1
- package/dist/{chunk-74TUYU5A.js → chunk-SCUUQ3VB.js} +1 -1
- package/dist/{chunk-7ZWC5HVG.js → chunk-UFYO4DLS.js} +1 -1
- package/dist/{chunk-ALH6QLYF.js → chunk-UI5WA22X.js} +2 -2
- package/dist/{chunk-BR74NYEF.js → chunk-UJJIFFIJ.js} +11 -11
- package/dist/{chunk-VME3UH4D.js → chunk-UN6KSHLI.js} +1 -1
- package/dist/{chunk-CXKR5Z5F.js → chunk-V7E4I7J5.js} +4 -0
- package/dist/chunk-VQRTO7IS.js +290 -0
- package/dist/{chunk-VDHUHXFF.js → chunk-VTMPER4B.js} +2 -2
- package/dist/{chunk-Y5ASPRP7.js → chunk-X37ENEN5.js} +17 -13
- package/dist/{chunk-TLOILHSL.js → chunk-XHJESIVW.js} +32 -14
- package/dist/chunk-XXJRZ75E.js +43 -0
- package/dist/{chunk-4FG6IX7U.js → chunk-Y4TYFJ37.js} +1 -1
- package/dist/{chunk-VLSYKMCJ.js → chunk-YHYWYSWK.js} +1 -1
- package/dist/{chunk-5YL4Y27D.js → chunk-YLAYKXX3.js} +1 -1
- package/dist/{chunk-RMRZXPUU.js → chunk-YLLUDO54.js} +1 -1
- package/dist/{token-budget-UMHRRDBT.js → chunk-ZXZU6NCE.js} +2 -9
- package/dist/{co-activation-OKAHEMPE.js → co-activation-W3DTVIXG.js} +3 -2
- package/dist/{co-occurrence-IHSPB53O.js → co-occurrence-JP6QO7DC.js} +5 -4
- package/dist/{code-context-index-KGY4LKCA.js → code-context-index-6SWHYPLZ.js} +3 -3
- package/dist/{conversation-entity-extractor-KXJSHRGJ.js → conversation-entity-extractor-KYOBXNID.js} +2 -2
- package/dist/{crdt-sync-K2G3C6XY.js → crdt-sync-V4MYKLOX.js} +1 -1
- package/dist/{crm-webhook-ERZSQ3CW.js → crm-webhook-PJZ37A2Q.js} +2 -2
- package/dist/{cto-delegation-gate-ZCJ53LBQ.js → cto-delegation-gate-72TPHIVT.js} +12 -11
- package/dist/daemon-auth-N6P2MZAV.js +17 -0
- package/dist/{daemon-orchestration-V6HALVDS.js → daemon-orchestration-7ESTK6HS.js} +16 -15
- package/dist/daemon-ready-signal-3L2MJT7C.js +13 -0
- package/dist/{db-backup-VZHSFUVA.js → db-backup-3CT2GJK2.js} +1 -1
- package/dist/{doc-graph-extractor-LQ2IFND2.js → doc-graph-extractor-ECZF4H6G.js} +5 -4
- package/dist/{dreaming-QAKUASYV.js → dreaming-BZZAZHL5.js} +13 -12
- package/dist/{exe-drift-H3UWNFFY.js → exe-drift-24KYGBPH.js} +4 -3
- package/dist/{exe-export-MN5D4JMT.js → exe-export-SONG5KUF.js} +7 -6
- package/dist/{exe-import-IFFMEVD7.js → exe-import-JJJL7E5D.js} +7 -6
- package/dist/{exe-key-RSZC72QK.js → exe-key-BRKHDMIX.js} +3 -2
- package/dist/{exe-snapshot-I622MPLS.js → exe-snapshot-436XVPEC.js} +16 -15
- package/dist/{fast-db-init-QEFVT7Q3.js → fast-db-init-4VL3ZQIH.js} +1 -1
- package/dist/{founder-context-3SOKEW76.js → founder-context-6KTVHGVC.js} +2 -2
- package/dist/gateway/index.js +18 -17
- package/dist/{git-staleness-E7RPQA5U.js → git-staleness-VFDGCAMO.js} +3 -2
- package/dist/{git-task-sweep-D3A2C5BW.js → git-task-sweep-KZ27TCNB.js} +13 -12
- package/dist/{global-procedures-POG4V6IK.js → global-procedures-LDKZ2IPH.js} +4 -3
- package/dist/{graph-auto-extract-E7KALNWA.js → graph-auto-extract-VA3SFHPF.js} +5 -4
- package/dist/{graph-rag-3RZN7JR3.js → graph-rag-HITZZ63L.js} +2 -2
- package/dist/hooks/bug-report-worker.js +15 -14
- package/dist/hooks/codex-stop-task-finalizer.js +15 -14
- package/dist/hooks/commit-complete.js +15 -14
- package/dist/hooks/error-recall.js +8 -7
- package/dist/hooks/exe-heartbeat-hook.js +4 -3
- package/dist/hooks/ingest-worker.js +3 -3
- package/dist/hooks/ingest.js +8 -7
- package/dist/hooks/instructions-loaded.js +5 -4
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +5 -4
- package/dist/hooks/post-compact.js +14 -13
- package/dist/hooks/post-tool-combined.js +7 -7
- package/dist/hooks/pre-compact.js +18 -17
- package/dist/hooks/pre-tool-use.js +18 -17
- package/dist/hooks/prompt-submit.js +28 -27
- package/dist/hooks/session-end.js +23 -22
- package/dist/hooks/session-start.js +46 -22
- package/dist/hooks/stop.js +22 -21
- package/dist/hooks/subagent-stop.js +14 -13
- package/dist/hooks/summary-worker.js +21 -20
- package/dist/index.js +25 -23
- package/dist/{installer-IXUX73JN.js → installer-7LYVKNUK.js} +10 -9
- package/dist/{installer-RCUPPZ7Y.js → installer-B6PUJTSR.js} +10 -9
- package/dist/{installer-HDD6OH5Z.js → installer-MSAJOOHK.js} +7 -6
- package/dist/lib/cloud-sync.js +13 -12
- package/dist/lib/consolidation.js +8 -7
- package/dist/lib/database.js +3 -2
- package/dist/lib/db-daemon-client.js +3 -3
- package/dist/lib/db.js +3 -2
- package/dist/lib/device-registry.js +3 -1
- package/dist/lib/embedder.js +3 -3
- package/dist/lib/employee-templates.js +5 -4
- package/dist/lib/employees.js +3 -2
- package/dist/lib/exe-daemon-client.js +2 -2
- package/dist/lib/exe-daemon.js +252 -402
- package/dist/lib/hybrid-search.js +6 -5
- package/dist/lib/identity.js +3 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -12
- package/dist/lib/reminders.js +4 -3
- package/dist/lib/schedules.js +6 -5
- package/dist/lib/session-registry.js +5 -4
- package/dist/lib/skill-learning.js +7 -6
- package/dist/lib/store.js +7 -4
- package/dist/lib/task-router.js +4 -3
- package/dist/lib/tasks.js +14 -13
- package/dist/lib/tmux-routing.js +16 -11
- package/dist/lib/token-spend.js +4 -3
- package/dist/{license-gate-V2UCK4KJ.js → license-gate-U7TC44UX.js} +3 -3
- package/dist/mcp/register-tools.js +70 -69
- package/dist/mcp/server.js +73 -72
- package/dist/mcp/tools/complete-reminder.js +5 -4
- package/dist/mcp/tools/create-reminder.js +5 -4
- package/dist/mcp/tools/create-task.js +16 -15
- package/dist/mcp/tools/deactivate-behavior.js +8 -7
- package/dist/mcp/tools/list-reminders.js +5 -4
- package/dist/mcp/tools/list-tasks.js +16 -15
- package/dist/mcp/tools/send-message.js +15 -14
- package/dist/mcp/tools/update-task.js +15 -14
- package/dist/{mcp-http-config-7LFFPNGV.js → mcp-http-config-DKDEXFVS.js} +4 -3
- package/dist/{memory-cards-BGI6MJRN.js → memory-cards-OMPYI2GY.js} +3 -2
- package/dist/{memory-graph-extractor-DTRRNWHZ.js → memory-graph-extractor-QARQCG53.js} +6 -5
- package/dist/{memory-poisoning-defense-MOCWJK6S.js → memory-poisoning-defense-4J5CPLJT.js} +3 -2
- package/dist/{memory-queue-client-DD4E5SIZ.js → memory-queue-client-2NURVA62.js} +3 -3
- package/dist/{memory-reflection-UKKTGZYR.js → memory-reflection-KSOFEZNV.js} +3 -2
- package/dist/{notifications-AMJ2K3MM.js → notifications-FAHXEFR2.js} +12 -11
- package/dist/{orchestration-events-MB4QVHTD.js → orchestration-events-2MVWZ2ET.js} +4 -3
- package/dist/orchestration-health-read-EJWVUARG.js +191 -0
- package/dist/{orchestrator-M7DJH6TN.js → orchestrator-DMM6AJVL.js} +14 -13
- package/dist/{pipeline-router-4LT5YG5P.js → pipeline-router-M3ESJZYK.js} +4 -3
- package/dist/{plan-limits-ENS7OJWP.js → plan-limits-BDOAH4DJ.js} +6 -5
- package/dist/{project-boot-6W5JPGSB.js → project-boot-DQZXRY5C.js} +25 -1
- package/dist/{projection-worker-WWXZK7QD.js → projection-worker-UBPNRKPX.js} +2 -2
- package/dist/{prospective-memory-VNGLPMS6.js → prospective-memory-OALGUYBS.js} +3 -2
- package/dist/{reranker-6XBS55FA.js → reranker-CTZ4SYCN.js} +1 -1
- package/dist/{retrieval-health-ATX5TIQ2.js → retrieval-health-P4ZMY4H3.js} +1 -1
- package/dist/{review-polling-E4ALHTQE.js → review-polling-VQUPLRWQ.js} +13 -12
- package/dist/runtime/index.js +20 -18
- package/dist/{session-events-3J6APMKN.js → session-events-4GHYBXXH.js} +13 -12
- package/dist/session-kill-telemetry-S445CSOH.js +63 -0
- package/dist/{session-scope-E54VIYTJ.js → session-scope-PPGKSJEL.js} +12 -11
- package/dist/{setup-wizard-XV736U5D.js → setup-wizard-ERES36LR.js} +1 -1
- package/dist/shared-rate-limit-store-QZPQEVE2.js +80 -0
- package/dist/{skill-refinement-FTURVWFN.js → skill-refinement-KITOKH6T.js} +3 -2
- package/dist/{stack-update-BIK2QHOE.js → stack-update-V7AJ425P.js} +5 -3
- package/dist/{steward-gate-YGU4VXPP.js → steward-gate-VLN2FTQD.js} +4 -3
- package/dist/{task-enforcement-GY3VTY6L.js → task-enforcement-XAPBTPBF.js} +12 -11
- package/dist/{task-scope-PYOK7OQ6.js → task-scope-ZGFHVDG5.js} +12 -11
- package/dist/{tasks-crud-HLJEJ2UU.js → tasks-crud-KIZREZSN.js} +12 -11
- package/dist/{tasks-notify-NGS3DWUJ.js → tasks-notify-3W3YIVF4.js} +13 -12
- package/dist/{tasks-review-BP5V2X34.js → tasks-review-F5PPITAJ.js} +12 -11
- package/dist/{telemetry-upload-AXYPFAPS.js → telemetry-upload-ZUFI5VH4.js} +8 -7
- package/dist/token-budget-7BD6ROHF.js +16 -0
- package/dist/{tool-capability-index-RHPVMMDD.js → tool-capability-index-335P663V.js} +1 -1
- package/dist/{tool-telemetry-BLSVABFJ.js → tool-telemetry-P6XVPFOF.js} +1 -1
- package/dist/tui/App.js +20 -19
- package/dist/{tui-data-EYPOFYLS.js → tui-data-QWJVWVTP.js} +12 -11
- package/dist/{worker-gate-SMFOBMMX.js → worker-gate-IHCMOXDF.js} +1 -1
- package/dist/{workflow-engine-TDJZ3TXB.js → workflow-engine-PJ7JAO6E.js} +2 -2
- package/dist/{worktree-XISIYRM4.js → worktree-4BR3ZQWN.js} +5 -4
- package/dist/{worktree-sweep-AS6GAR6X.js → worktree-sweep-XCPOF3RD.js} +6 -5
- package/package.json +8 -4
- package/release-notes.json +50 -88
- package/stack.release.json +47 -0
- package/dist/chunk-PHOQAVTK.js +0 -42
- package/dist/daemon-auth-BK7ON5ZH.js +0 -13
- package/dist/session-kill-telemetry-KOAHLRBT.js +0 -31
- package/dist/{chunk-NLHUA3YB.js → chunk-6JJBGPMF.js} +0 -0
- package/dist/{chunk-XDE5IGBX.js → chunk-ERAHOO7R.js} +0 -0
- package/dist/{chunk-LUGWK6QB.js → chunk-FF5DA4XP.js} +3 -3
- /package/dist/{chunk-FKFVNV7X.js → chunk-KYF3KSFT.js} +0 -0
- /package/dist/{chunk-GZSG2ZOX.js → chunk-O573H7LS.js} +0 -0
- /package/dist/{chunk-JTMKRUX6.js → chunk-PCU4ZMUA.js} +0 -0
- /package/dist/{chunk-PTDBHQX7.js → chunk-PGQMMD5P.js} +0 -0
- /package/dist/{chunk-GBV5PV5T.js → chunk-PP3RXZID.js} +0 -0
- /package/dist/{chunk-BGOMFGSW.js → chunk-Q5V3B6BP.js} +0 -0
- /package/dist/{chunk-UZATXREL.js → chunk-YH2IYVPW.js} +0 -0
- /package/dist/{chunk-YM3367VC.js → chunk-Z77S2QQU.js} +0 -0
- /package/dist/{core-memory-4OM7LR77.js → core-memory-VIWP7GJL.js} +0 -0
- /package/dist/{entity-boost-SFHIRXT5.js → entity-boost-VZ7ZEDVR.js} +0 -0
- /package/dist/{message-queue-client-QTC3VHJT.js → message-queue-client-32HOVUK7.js} +0 -0
- /package/dist/{oauth-server-BPN55EJM.js → oauth-server-V4H3SY7H.js} +0 -0
- /package/dist/{wiki-acl-45SIGG4O.js → wiki-acl-HNP5GGDA.js} +0 -0
|
@@ -0,0 +1,525 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AGENT_CONFIG_PATH,
|
|
3
|
+
loadAgentConfig
|
|
4
|
+
} from "../chunk-QB5JOGPK.js";
|
|
5
|
+
import {
|
|
6
|
+
DEFAULT_RUNTIME
|
|
7
|
+
} from "../chunk-NGP6LSV2.js";
|
|
8
|
+
import {
|
|
9
|
+
EMBEDDINGS_SENTINEL_PATH,
|
|
10
|
+
readSentinel,
|
|
11
|
+
resolveEmbeddingsEnabled
|
|
12
|
+
} from "../chunk-PHFPIUWU.js";
|
|
13
|
+
import {
|
|
14
|
+
EMPLOYEES_PATH,
|
|
15
|
+
loadEmployeesSync
|
|
16
|
+
} from "../chunk-N5G4T47B.js";
|
|
17
|
+
import "../chunk-2I23RPSI.js";
|
|
18
|
+
import "../chunk-Q5V3B6BP.js";
|
|
19
|
+
import "../chunk-PNQDP3OA.js";
|
|
20
|
+
import "../chunk-VQRTO7IS.js";
|
|
21
|
+
import "../chunk-7HLWBYH7.js";
|
|
22
|
+
import "../chunk-FXU7JOXK.js";
|
|
23
|
+
import {
|
|
24
|
+
CONFIG_PATH,
|
|
25
|
+
DB_PATH,
|
|
26
|
+
EXE_AI_DIR,
|
|
27
|
+
MODELS_DIR,
|
|
28
|
+
loadConfigSync
|
|
29
|
+
} from "../chunk-DFIOOK5R.js";
|
|
30
|
+
import "../chunk-65DBIEM2.js";
|
|
31
|
+
import {
|
|
32
|
+
isMainModule
|
|
33
|
+
} from "../chunk-6Y4B3QF6.js";
|
|
34
|
+
import "../chunk-MLKGABMK.js";
|
|
35
|
+
|
|
36
|
+
// src/bin/exe-config-dump.ts
|
|
37
|
+
import { readFileSync, existsSync } from "fs";
|
|
38
|
+
import os from "os";
|
|
39
|
+
import path from "path";
|
|
40
|
+
var SECRET_KEY_PATTERNS = [
|
|
41
|
+
"apikey",
|
|
42
|
+
"api_key",
|
|
43
|
+
"authtoken",
|
|
44
|
+
"auth_token",
|
|
45
|
+
"token",
|
|
46
|
+
"secret",
|
|
47
|
+
"password",
|
|
48
|
+
"passphrase",
|
|
49
|
+
"credential",
|
|
50
|
+
"private",
|
|
51
|
+
"signing",
|
|
52
|
+
"license"
|
|
53
|
+
// license.key contents + EXE_LICENSE_KEY
|
|
54
|
+
];
|
|
55
|
+
var NON_SECRET_SUFFIXES = [
|
|
56
|
+
"file",
|
|
57
|
+
"path",
|
|
58
|
+
"present",
|
|
59
|
+
"endpoint",
|
|
60
|
+
"url",
|
|
61
|
+
"dir",
|
|
62
|
+
"keyfile",
|
|
63
|
+
"cachefile"
|
|
64
|
+
];
|
|
65
|
+
function isSecretKey(keyPath) {
|
|
66
|
+
const last = (keyPath.split(".").pop() ?? keyPath).toLowerCase();
|
|
67
|
+
if (NON_SECRET_SUFFIXES.some((s) => last.endsWith(s))) return false;
|
|
68
|
+
const lower = keyPath.toLowerCase();
|
|
69
|
+
return SECRET_KEY_PATTERNS.some((p) => lower.includes(p));
|
|
70
|
+
}
|
|
71
|
+
function renderValue(keyPath, value) {
|
|
72
|
+
if (value === void 0) return "(unset)";
|
|
73
|
+
if (value === null) return "null";
|
|
74
|
+
if (isSecretKey(keyPath) && typeof value === "string" && value.length > 0) {
|
|
75
|
+
return `<redacted: present, ${value.length} chars>`;
|
|
76
|
+
}
|
|
77
|
+
if (typeof value === "string") {
|
|
78
|
+
if (/^(exe_sk_|sk-|sk_live_|sk_test_|ghp_|ghs_|eyJ|Bearer\s)/.test(value)) {
|
|
79
|
+
return `<redacted: looks-secret, ${value.length} chars>`;
|
|
80
|
+
}
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
if (typeof value === "object") return JSON.stringify(value);
|
|
84
|
+
return String(value);
|
|
85
|
+
}
|
|
86
|
+
function flatten(prefix, obj) {
|
|
87
|
+
const out = [];
|
|
88
|
+
for (const [k, v] of Object.entries(obj)) {
|
|
89
|
+
const keyPath = prefix ? `${prefix}.${k}` : k;
|
|
90
|
+
if (v !== null && typeof v === "object" && !Array.isArray(v)) {
|
|
91
|
+
out.push(...flatten(keyPath, v));
|
|
92
|
+
} else {
|
|
93
|
+
out.push({ key: keyPath, value: v });
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return out;
|
|
97
|
+
}
|
|
98
|
+
function resolveDataDir() {
|
|
99
|
+
return process.env.EXE_OS_DIR ?? process.env.EXE_MEM_DIR ?? EXE_AI_DIR;
|
|
100
|
+
}
|
|
101
|
+
function collectCodeDefaults() {
|
|
102
|
+
return {
|
|
103
|
+
id: "code-defaults",
|
|
104
|
+
origin: "baked into config.ts / runtime-table.ts (compile-time constants)",
|
|
105
|
+
present: true,
|
|
106
|
+
keys: [
|
|
107
|
+
{ key: "EXE_AI_DIR", value: EXE_AI_DIR, note: "resolved data dir base" },
|
|
108
|
+
{ key: "CONFIG_PATH", value: CONFIG_PATH },
|
|
109
|
+
{ key: "DB_PATH", value: DB_PATH },
|
|
110
|
+
{ key: "MODELS_DIR", value: MODELS_DIR },
|
|
111
|
+
{ key: "homedir", value: os.homedir() },
|
|
112
|
+
{ key: "default_runtime", value: DEFAULT_RUNTIME }
|
|
113
|
+
]
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function collectConfigJson() {
|
|
117
|
+
const dir = resolveDataDir();
|
|
118
|
+
const configPath = path.join(dir, "config.json");
|
|
119
|
+
const present = existsSync(configPath);
|
|
120
|
+
let config;
|
|
121
|
+
try {
|
|
122
|
+
config = loadConfigSync();
|
|
123
|
+
} catch {
|
|
124
|
+
config = {};
|
|
125
|
+
}
|
|
126
|
+
return {
|
|
127
|
+
id: "config.json",
|
|
128
|
+
origin: `${configPath}${present ? "" : " (absent \u2014 showing merged defaults)"}`,
|
|
129
|
+
present,
|
|
130
|
+
keys: flatten("", config)
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function collectEnvVars() {
|
|
134
|
+
const WATCHED = [
|
|
135
|
+
// Data dir / core
|
|
136
|
+
"EXE_OS_DIR",
|
|
137
|
+
"EXE_MEM_DIR",
|
|
138
|
+
"EXE_DB_ROOT",
|
|
139
|
+
"EXE_LOG_DIR",
|
|
140
|
+
"EXE_BACKUP_DIR",
|
|
141
|
+
"HOME",
|
|
142
|
+
"USERPROFILE",
|
|
143
|
+
"SUDO_USER",
|
|
144
|
+
// Embeddings / search
|
|
145
|
+
"EXE_EMBEDDINGS",
|
|
146
|
+
"EXE_EMBED_MODEL",
|
|
147
|
+
"EXE_EMBED_MODEL_URL",
|
|
148
|
+
"EXE_EMBED_MODEL_SHA256",
|
|
149
|
+
"EXE_EMBEDDING_DIM",
|
|
150
|
+
"EXE_EMBED_CONTEXT_SIZE",
|
|
151
|
+
"EXE_RERANK_MODEL_FILE",
|
|
152
|
+
// Runtime / agent
|
|
153
|
+
"EXE_RUNTIME",
|
|
154
|
+
"EXE_AGENT_MODEL",
|
|
155
|
+
"EXE_AGENT_REASONING_EFFORT",
|
|
156
|
+
"EXE_AGENT_ID",
|
|
157
|
+
"EXE_AGENT_ROLE",
|
|
158
|
+
"AGENT_ID",
|
|
159
|
+
"AGENT_ROLE",
|
|
160
|
+
"EXE_FOUNDER_ID",
|
|
161
|
+
"ANTHROPIC_MODEL",
|
|
162
|
+
"ANTHROPIC_BASE_URL",
|
|
163
|
+
// Daemon / MCP
|
|
164
|
+
"EXE_IS_DAEMON",
|
|
165
|
+
"EXE_MCP_PORT",
|
|
166
|
+
"EXE_MCP_MODE",
|
|
167
|
+
"EXE_MCP_HOST",
|
|
168
|
+
"EXE_DAEMON_SOCK",
|
|
169
|
+
"EXE_SERVER_MODE",
|
|
170
|
+
"EXE_TELEMETRY",
|
|
171
|
+
"EXE_DB_AUTHORITY",
|
|
172
|
+
"EXE_ARCHIVE_PURGE",
|
|
173
|
+
"EXE_CONTEXT_KILL_PCT",
|
|
174
|
+
// Cloud / gateway / wiki endpoints
|
|
175
|
+
"EXE_CLOUD_ENDPOINT",
|
|
176
|
+
"EXE_GATEWAY_URL",
|
|
177
|
+
"EXE_GOTRUE_URL",
|
|
178
|
+
"GOTRUE_URL",
|
|
179
|
+
"EXE_WIKI_API_URL",
|
|
180
|
+
"EXE_WIKI_URL",
|
|
181
|
+
"DATABASE_URL",
|
|
182
|
+
"EXE_USE_POSTGRES",
|
|
183
|
+
// Secrets (values REDACTED below)
|
|
184
|
+
"EXE_LICENSE_KEY",
|
|
185
|
+
"ANTHROPIC_API_KEY",
|
|
186
|
+
"ANTHROPIC_AUTH_TOKEN",
|
|
187
|
+
"OPENAI_API_KEY",
|
|
188
|
+
"OPENROUTER_API_KEY",
|
|
189
|
+
"EXE_GATEWAY_AUTH_TOKEN",
|
|
190
|
+
"EXE_WIKI_API_KEY",
|
|
191
|
+
"EXE_DAEMON_TOKEN",
|
|
192
|
+
"EXE_SUPPORT_ADMIN_TOKEN",
|
|
193
|
+
"ASKEXE_SUPPORT_ADMIN_TOKEN",
|
|
194
|
+
"GOTRUE_ADMIN_TOKEN",
|
|
195
|
+
"CRM_API_TOKEN",
|
|
196
|
+
"WHATSAPP_API_TOKEN"
|
|
197
|
+
];
|
|
198
|
+
const keys = [];
|
|
199
|
+
for (const name of WATCHED) {
|
|
200
|
+
const v = process.env[name];
|
|
201
|
+
if (v !== void 0 && v !== "") {
|
|
202
|
+
keys.push({ key: name, value: v });
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return {
|
|
206
|
+
id: "env",
|
|
207
|
+
origin: "process environment (overrides config.json where applicable)",
|
|
208
|
+
present: keys.length > 0,
|
|
209
|
+
keys
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function collectLicense() {
|
|
213
|
+
const keyPath = path.join(EXE_AI_DIR, "license.key");
|
|
214
|
+
const cachePath = path.join(EXE_AI_DIR, "license-cache.json");
|
|
215
|
+
const keys = [];
|
|
216
|
+
keys.push({ key: "license.keyFile", value: keyPath });
|
|
217
|
+
keys.push({ key: "license.keyPresent", value: existsSync(keyPath) });
|
|
218
|
+
if (existsSync(keyPath)) {
|
|
219
|
+
try {
|
|
220
|
+
const raw = readFileSync(keyPath, "utf8").trim();
|
|
221
|
+
keys.push({ key: "license.key", value: raw });
|
|
222
|
+
} catch {
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
keys.push({ key: "license.cacheFile", value: cachePath });
|
|
226
|
+
keys.push({ key: "license.cachePresent", value: existsSync(cachePath) });
|
|
227
|
+
if (process.env.EXE_LICENSE_KEY) {
|
|
228
|
+
keys.push({
|
|
229
|
+
key: "license.envOverride",
|
|
230
|
+
value: process.env.EXE_LICENSE_KEY,
|
|
231
|
+
note: "EXE_LICENSE_KEY set \u2014 overrides on-disk license.key"
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
return {
|
|
235
|
+
id: "license",
|
|
236
|
+
origin: `${keyPath} + ${cachePath} (plan resolved from signed JWT at runtime)`,
|
|
237
|
+
present: existsSync(keyPath) || existsSync(cachePath),
|
|
238
|
+
keys
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
function collectAgentConfig() {
|
|
242
|
+
const present = existsSync(AGENT_CONFIG_PATH);
|
|
243
|
+
const map = loadAgentConfig();
|
|
244
|
+
const keys = [];
|
|
245
|
+
for (const [agent, cfg] of Object.entries(map)) {
|
|
246
|
+
keys.push({ key: `${agent}.runtime`, value: cfg.runtime });
|
|
247
|
+
keys.push({ key: `${agent}.model`, value: cfg.model });
|
|
248
|
+
if (cfg.reasoning_effort) {
|
|
249
|
+
keys.push({ key: `${agent}.reasoning_effort`, value: cfg.reasoning_effort });
|
|
250
|
+
}
|
|
251
|
+
if (cfg.mcps) keys.push({ key: `${agent}.mcps`, value: cfg.mcps });
|
|
252
|
+
}
|
|
253
|
+
if (keys.length === 0) {
|
|
254
|
+
keys.push({ key: "(none)", value: "no per-agent overrides \u2014 all use org default", note: "" });
|
|
255
|
+
}
|
|
256
|
+
return {
|
|
257
|
+
id: "agent-config.json",
|
|
258
|
+
origin: `${AGENT_CONFIG_PATH}${present ? "" : " (absent)"}`,
|
|
259
|
+
present,
|
|
260
|
+
keys
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
function collectEmployees() {
|
|
264
|
+
const present = existsSync(EMPLOYEES_PATH);
|
|
265
|
+
const keys = [];
|
|
266
|
+
try {
|
|
267
|
+
const employees = loadEmployeesSync();
|
|
268
|
+
keys.push({ key: "count", value: employees.length });
|
|
269
|
+
for (const emp of employees) {
|
|
270
|
+
const e = emp;
|
|
271
|
+
keys.push({ key: `roster.${e.name ?? "?"}`, value: e.role ?? "employee" });
|
|
272
|
+
}
|
|
273
|
+
} catch {
|
|
274
|
+
keys.push({ key: "(error)", value: "roster unreadable" });
|
|
275
|
+
}
|
|
276
|
+
return {
|
|
277
|
+
id: "exe-employees.json",
|
|
278
|
+
origin: `${EMPLOYEES_PATH}${present ? "" : " (absent \u2014 empty roster)"}`,
|
|
279
|
+
present,
|
|
280
|
+
keys
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
function collectLaunchdPlist() {
|
|
284
|
+
const plistPath = path.join(
|
|
285
|
+
os.homedir(),
|
|
286
|
+
"Library",
|
|
287
|
+
"LaunchAgents",
|
|
288
|
+
"com.askexe.exed.plist"
|
|
289
|
+
);
|
|
290
|
+
const present = existsSync(plistPath);
|
|
291
|
+
const keys = [
|
|
292
|
+
{ key: "plistPath", value: plistPath },
|
|
293
|
+
{ key: "present", value: present },
|
|
294
|
+
{ key: "serviceTarget", value: "gui/<uid>/com.askexe.exed" }
|
|
295
|
+
];
|
|
296
|
+
if (present) {
|
|
297
|
+
try {
|
|
298
|
+
const xml = readFileSync(plistPath, "utf8");
|
|
299
|
+
const envBlock = xml.match(
|
|
300
|
+
/<key>EnvironmentVariables<\/key>\s*<dict>([\s\S]*?)<\/dict>/
|
|
301
|
+
);
|
|
302
|
+
if (envBlock?.[1]) {
|
|
303
|
+
const pairRe = /<key>([^<]+)<\/key>\s*<string>([^<]*)<\/string>/g;
|
|
304
|
+
let m;
|
|
305
|
+
while ((m = pairRe.exec(envBlock[1])) !== null) {
|
|
306
|
+
keys.push({ key: `env.${m[1]}`, value: m[2] });
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
} catch {
|
|
310
|
+
keys.push({ key: "(error)", value: "plist unreadable" });
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
return {
|
|
314
|
+
id: "launchd-plist",
|
|
315
|
+
origin: `${plistPath}${present ? "" : " (absent \u2014 daemon not installed via launchd)"}`,
|
|
316
|
+
present,
|
|
317
|
+
keys
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
function collectMcpConfig() {
|
|
321
|
+
const claudeJsonPath = path.join(os.homedir(), ".claude.json");
|
|
322
|
+
const present = existsSync(claudeJsonPath);
|
|
323
|
+
const keys = [
|
|
324
|
+
{ key: "configPath", value: claudeJsonPath },
|
|
325
|
+
{ key: "present", value: present }
|
|
326
|
+
];
|
|
327
|
+
if (present) {
|
|
328
|
+
try {
|
|
329
|
+
const raw = JSON.parse(readFileSync(claudeJsonPath, "utf8"));
|
|
330
|
+
const servers = raw.mcpServers;
|
|
331
|
+
if (servers) {
|
|
332
|
+
for (const [name, def] of Object.entries(servers)) {
|
|
333
|
+
const summary = def.command ?? def.url ?? def.type ?? "(defined)";
|
|
334
|
+
keys.push({ key: `mcpServers.${name}`, value: summary });
|
|
335
|
+
}
|
|
336
|
+
} else {
|
|
337
|
+
keys.push({ key: "mcpServers", value: "(none at top level)" });
|
|
338
|
+
}
|
|
339
|
+
} catch {
|
|
340
|
+
keys.push({ key: "(error)", value: ".claude.json unreadable/corrupt" });
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return {
|
|
344
|
+
id: "mcp-config",
|
|
345
|
+
origin: `${claudeJsonPath} > mcpServers${present ? "" : " (absent)"}`,
|
|
346
|
+
present,
|
|
347
|
+
keys
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
function collectEmbeddingsSwitch(config) {
|
|
351
|
+
const sentinelPresent = existsSync(EMBEDDINGS_SENTINEL_PATH);
|
|
352
|
+
const sentinelValue = readSentinel();
|
|
353
|
+
const resolved = resolveEmbeddingsEnabled(process.env.EXE_EMBEDDINGS, config);
|
|
354
|
+
const keys = [
|
|
355
|
+
{ key: "sentinelPath", value: EMBEDDINGS_SENTINEL_PATH },
|
|
356
|
+
{ key: "sentinelPresent", value: sentinelPresent },
|
|
357
|
+
{
|
|
358
|
+
key: "sentinelValue",
|
|
359
|
+
value: sentinelValue === null ? "(unset)" : sentinelValue
|
|
360
|
+
},
|
|
361
|
+
{ key: "env.EXE_EMBEDDINGS", value: process.env.EXE_EMBEDDINGS ?? "(unset)" },
|
|
362
|
+
{ key: "config.embeddingsEnabled", value: config.embeddingsEnabled },
|
|
363
|
+
{ key: "config.searchMode", value: config.searchMode },
|
|
364
|
+
{ key: "config.hookSearchMode", value: config.hookSearchMode },
|
|
365
|
+
{
|
|
366
|
+
key: "RESOLVED",
|
|
367
|
+
value: resolved,
|
|
368
|
+
note: "winner: env > sentinel > searchMode=hybrid > config flag > default OFF"
|
|
369
|
+
}
|
|
370
|
+
];
|
|
371
|
+
return {
|
|
372
|
+
id: "embeddings-switch",
|
|
373
|
+
origin: "resolveEmbeddingsEnabled(): env > sentinel > config (single source of truth)",
|
|
374
|
+
present: true,
|
|
375
|
+
keys
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
function collectBehaviorToggles(config) {
|
|
379
|
+
const keys = [
|
|
380
|
+
{ key: "orchestration.phase", value: config.orchestration?.phase },
|
|
381
|
+
{ key: "orchestration.phaseSetBy", value: config.orchestration?.phaseSetBy },
|
|
382
|
+
{ key: "autoIngestion", value: config.autoIngestion },
|
|
383
|
+
{ key: "autoRetrieval", value: config.autoRetrieval },
|
|
384
|
+
{ key: "graphRagEnabled", value: config.graphRagEnabled },
|
|
385
|
+
{ key: "consolidationEnabled", value: config.consolidationEnabled },
|
|
386
|
+
{ key: "skillLearning", value: config.skillLearning },
|
|
387
|
+
{ key: "wikiEnabled", value: config.wikiEnabled },
|
|
388
|
+
{ key: "sessionLifecycle.idleKillEnabled", value: config.sessionLifecycle?.idleKillEnabled },
|
|
389
|
+
{ key: "apiWatchdog.enabled", value: config.apiWatchdog?.enabled },
|
|
390
|
+
{ key: "autoUpdate.channel", value: config.autoUpdate?.channel },
|
|
391
|
+
{ key: "autoUpdate.autoInstall", value: config.autoUpdate?.autoInstall },
|
|
392
|
+
{ key: "exeHeartbeat.enabled", value: config.exeHeartbeat?.enabled }
|
|
393
|
+
];
|
|
394
|
+
return {
|
|
395
|
+
id: "behavior-toggles",
|
|
396
|
+
origin: "derived from config.json (company procedure / behavior switches)",
|
|
397
|
+
present: true,
|
|
398
|
+
keys
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
function gatherSurfaces() {
|
|
402
|
+
let config;
|
|
403
|
+
try {
|
|
404
|
+
config = loadConfigSync();
|
|
405
|
+
} catch {
|
|
406
|
+
config = {};
|
|
407
|
+
}
|
|
408
|
+
return [
|
|
409
|
+
collectCodeDefaults(),
|
|
410
|
+
collectConfigJson(),
|
|
411
|
+
collectEnvVars(),
|
|
412
|
+
collectLicense(),
|
|
413
|
+
collectAgentConfig(),
|
|
414
|
+
collectEmployees(),
|
|
415
|
+
collectLaunchdPlist(),
|
|
416
|
+
collectMcpConfig(),
|
|
417
|
+
collectEmbeddingsSwitch(config),
|
|
418
|
+
collectBehaviorToggles(config)
|
|
419
|
+
];
|
|
420
|
+
}
|
|
421
|
+
function printHuman(surfaces) {
|
|
422
|
+
console.log("");
|
|
423
|
+
console.log(" exe-os effective configuration (read-only dump)");
|
|
424
|
+
console.log(` data dir: ${resolveDataDir()}`);
|
|
425
|
+
console.log(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500");
|
|
426
|
+
for (const surface of surfaces) {
|
|
427
|
+
const flag = surface.present ? "\u25CF" : "\u25CB";
|
|
428
|
+
console.log("");
|
|
429
|
+
console.log(` ${flag} [${surface.id}]`);
|
|
430
|
+
console.log(` origin: ${surface.origin}`);
|
|
431
|
+
if (surface.keys.length === 0) {
|
|
432
|
+
console.log(" (no keys)");
|
|
433
|
+
continue;
|
|
434
|
+
}
|
|
435
|
+
const maxKey = Math.min(
|
|
436
|
+
48,
|
|
437
|
+
surface.keys.reduce((m, k) => Math.max(m, k.key.length), 0)
|
|
438
|
+
);
|
|
439
|
+
for (const rk of surface.keys) {
|
|
440
|
+
const rendered = renderValue(rk.key, rk.value);
|
|
441
|
+
const keyCol = rk.key.padEnd(maxKey);
|
|
442
|
+
const noteStr = rk.note ? ` \u2190 ${rk.note}` : "";
|
|
443
|
+
console.log(` ${keyCol} = ${rendered} (source: ${surface.id})${noteStr}`);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
console.log("");
|
|
447
|
+
console.log(" Secrets are redacted to presence + length. This command never");
|
|
448
|
+
console.log(" writes config. Re-run with --json for machine-readable output.");
|
|
449
|
+
console.log("");
|
|
450
|
+
}
|
|
451
|
+
function printJson(surfaces) {
|
|
452
|
+
const out = {
|
|
453
|
+
dataDir: resolveDataDir(),
|
|
454
|
+
generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
455
|
+
readOnly: true,
|
|
456
|
+
surfaces: surfaces.map((s) => ({
|
|
457
|
+
id: s.id,
|
|
458
|
+
origin: s.origin,
|
|
459
|
+
present: s.present,
|
|
460
|
+
keys: s.keys.map((k) => ({
|
|
461
|
+
key: k.key,
|
|
462
|
+
value: redactForJson(k.key, k.value),
|
|
463
|
+
source: s.id,
|
|
464
|
+
note: k.note
|
|
465
|
+
}))
|
|
466
|
+
}))
|
|
467
|
+
};
|
|
468
|
+
console.log(JSON.stringify(out, null, 2));
|
|
469
|
+
}
|
|
470
|
+
function redactForJson(keyPath, value) {
|
|
471
|
+
if (typeof value === "string" && value.length > 0) {
|
|
472
|
+
if (isSecretKey(keyPath)) {
|
|
473
|
+
return { redacted: true, present: true, length: value.length };
|
|
474
|
+
}
|
|
475
|
+
if (/^(exe_sk_|sk-|sk_live_|sk_test_|ghp_|ghs_|eyJ|Bearer\s)/.test(value)) {
|
|
476
|
+
return { redacted: true, present: true, length: value.length };
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
return value;
|
|
480
|
+
}
|
|
481
|
+
function printUsage() {
|
|
482
|
+
console.log(`
|
|
483
|
+
exe-config-dump \u2014 read-only effective configuration dump with provenance
|
|
484
|
+
|
|
485
|
+
USAGE:
|
|
486
|
+
exe-config-dump [--json] [--help]
|
|
487
|
+
|
|
488
|
+
OPTIONS:
|
|
489
|
+
--json Emit machine-readable JSON (secrets redacted to {present,length}).
|
|
490
|
+
--help Show this help.
|
|
491
|
+
|
|
492
|
+
Merges every config surface exe-os reads from (code defaults, config.json,
|
|
493
|
+
environment, license, agent-config, roster, launchd plist, MCP config,
|
|
494
|
+
embeddings switch, behavior toggles) and prints each resolved key with its
|
|
495
|
+
source. Secrets (keys/tokens/passphrases) are redacted to presence + length.
|
|
496
|
+
|
|
497
|
+
READ-ONLY: this command never writes, mutates, or migrates any config file.
|
|
498
|
+
`);
|
|
499
|
+
}
|
|
500
|
+
async function main() {
|
|
501
|
+
const args = process.argv.slice(2);
|
|
502
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
503
|
+
printUsage();
|
|
504
|
+
return;
|
|
505
|
+
}
|
|
506
|
+
const json = args.includes("--json");
|
|
507
|
+
const surfaces = gatherSurfaces();
|
|
508
|
+
if (json) {
|
|
509
|
+
printJson(surfaces);
|
|
510
|
+
} else {
|
|
511
|
+
printHuman(surfaces);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
if (isMainModule(import.meta.url) && process.argv[1]?.includes("exe-config-dump")) {
|
|
515
|
+
main().catch((err) => {
|
|
516
|
+
console.error("config-dump error:", err instanceof Error ? err.message : err);
|
|
517
|
+
process.exit(1);
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
export {
|
|
521
|
+
gatherSurfaces,
|
|
522
|
+
isSecretKey,
|
|
523
|
+
main,
|
|
524
|
+
renderValue
|
|
525
|
+
};
|
package/dist/bin/exe-dispatch.js
CHANGED
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fastDbInit
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EW2P62CV.js";
|
|
5
5
|
import {
|
|
6
6
|
createTaskCore,
|
|
7
7
|
ensureEmployee,
|
|
8
8
|
resolveExeSession
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-FMJ4D5G6.js";
|
|
10
|
+
import "../chunk-5SYMJCBM.js";
|
|
11
|
+
import "../chunk-E23LNUWJ.js";
|
|
11
12
|
import "../chunk-4JERP7NT.js";
|
|
12
13
|
import "../chunk-4FVVJ7ME.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-2LJDLQNO.js";
|
|
14
|
+
import "../chunk-G4SVYLPT.js";
|
|
15
15
|
import "../chunk-KOO3J5PV.js";
|
|
16
16
|
import "../chunk-22TVSRQQ.js";
|
|
17
17
|
import "../chunk-SSTLTIF3.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-P4WXINQT.js";
|
|
19
19
|
import "../chunk-QB5JOGPK.js";
|
|
20
20
|
import "../chunk-NGP6LSV2.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-VTMPER4B.js";
|
|
22
22
|
import "../chunk-CVYC6DUW.js";
|
|
23
23
|
import "../chunk-OPU3NYOO.js";
|
|
24
24
|
import "../chunk-GJV3WDWM.js";
|
|
25
25
|
import "../chunk-MP2AFCGL.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-HDCP6CGI.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
getCoordinatorName
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-N5G4T47B.js";
|
|
31
31
|
import "../chunk-2I23RPSI.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-Q5V3B6BP.js";
|
|
33
33
|
import "../chunk-PNQDP3OA.js";
|
|
34
|
+
import "../chunk-VQRTO7IS.js";
|
|
34
35
|
import "../chunk-7HLWBYH7.js";
|
|
35
36
|
import "../chunk-FXU7JOXK.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-UN6KSHLI.js";
|
|
38
|
+
import "../chunk-V7E4I7J5.js";
|
|
38
39
|
import "../chunk-DFIOOK5R.js";
|
|
39
40
|
import "../chunk-65DBIEM2.js";
|
|
40
41
|
import "../chunk-MLKGABMK.js";
|
package/dist/bin/exe-doctor.js
CHANGED
|
@@ -23,8 +23,8 @@ import {
|
|
|
23
23
|
runAudit,
|
|
24
24
|
shouldFixShards,
|
|
25
25
|
splitAtSentences
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-7CMIKNAB.js";
|
|
27
|
+
import "../chunk-O573H7LS.js";
|
|
28
28
|
import "../chunk-KQ4Z2G24.js";
|
|
29
29
|
import "../chunk-PROQW3NL.js";
|
|
30
30
|
import "../chunk-OTVEIJUQ.js";
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exportBehaviorsForAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-PY6RG2DV.js";
|
|
5
|
+
import "../chunk-CCYRCRLW.js";
|
|
6
6
|
import {
|
|
7
7
|
fastDbInit
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-EW2P62CV.js";
|
|
9
9
|
import {
|
|
10
10
|
disposeStore
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-X37ENEN5.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-OTVEIJUQ.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-PGQMMD5P.js";
|
|
15
15
|
import "../chunk-Y25OJWOQ.js";
|
|
16
16
|
import "../chunk-MP2AFCGL.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-N5G4T47B.js";
|
|
18
18
|
import "../chunk-2I23RPSI.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-Q5V3B6BP.js";
|
|
20
20
|
import "../chunk-PNQDP3OA.js";
|
|
21
|
+
import "../chunk-VQRTO7IS.js";
|
|
21
22
|
import "../chunk-7HLWBYH7.js";
|
|
22
23
|
import "../chunk-FXU7JOXK.js";
|
|
23
24
|
import "../chunk-Z42MXYWW.js";
|
package/dist/bin/exe-forget.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fastDbInit
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EW2P62CV.js";
|
|
5
5
|
import {
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-KCJZJJJG.js";
|
|
8
8
|
import "../chunk-AB4PAQYK.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-X37ENEN5.js";
|
|
10
10
|
import "../chunk-CHCA3ZM2.js";
|
|
11
11
|
import "../chunk-OTVEIJUQ.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-PGQMMD5P.js";
|
|
13
13
|
import "../chunk-Y25OJWOQ.js";
|
|
14
14
|
import "../chunk-MP2AFCGL.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-N5G4T47B.js";
|
|
18
18
|
import "../chunk-2I23RPSI.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-Q5V3B6BP.js";
|
|
20
20
|
import "../chunk-PNQDP3OA.js";
|
|
21
|
+
import "../chunk-VQRTO7IS.js";
|
|
21
22
|
import "../chunk-7HLWBYH7.js";
|
|
22
23
|
import "../chunk-FXU7JOXK.js";
|
|
23
24
|
import "../chunk-Z42MXYWW.js";
|
package/dist/bin/exe-gateway.js
CHANGED
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
BotRegistry,
|
|
4
4
|
Gateway
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-7RMIXFMD.js";
|
|
6
|
+
import "../chunk-5Y2DO57X.js";
|
|
7
|
+
import "../chunk-7DAUFPDV.js";
|
|
8
|
+
import "../chunk-ERAHOO7R.js";
|
|
9
9
|
import "../chunk-ONKIWA3R.js";
|
|
10
10
|
import "../chunk-MP2AFCGL.js";
|
|
11
11
|
import {
|
|
12
12
|
getCoordinatorName
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-N5G4T47B.js";
|
|
14
14
|
import "../chunk-2I23RPSI.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-Q5V3B6BP.js";
|
|
16
16
|
import "../chunk-PNQDP3OA.js";
|
|
17
|
+
import "../chunk-VQRTO7IS.js";
|
|
17
18
|
import "../chunk-7HLWBYH7.js";
|
|
18
19
|
import "../chunk-FXU7JOXK.js";
|
|
19
20
|
import "../chunk-DFIOOK5R.js";
|
|
@@ -1109,7 +1110,7 @@ async function main() {
|
|
|
1109
1110
|
console.log("[exe-gateway] Generic webhook adapter registered");
|
|
1110
1111
|
}
|
|
1111
1112
|
{
|
|
1112
|
-
const { createCRMWebhookHandler } = await import("../crm-webhook-
|
|
1113
|
+
const { createCRMWebhookHandler } = await import("../crm-webhook-PJZ37A2Q.js");
|
|
1113
1114
|
const handler = createCRMWebhookHandler();
|
|
1114
1115
|
server.onPlatform("crm", handler);
|
|
1115
1116
|
console.log("[exe-gateway] CRM webhook adapter registered");
|