@askexenow/exe-os 0.9.384 → 0.9.389
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.askexe-control-plane.example +6 -0
- package/deploy/compose/.env.customer.example +1 -1
- package/deploy/compose/.env.example +1 -1
- package/deploy/compose/docker-compose.yml +16 -0
- package/deploy/compose/generate-env.ts +1 -1
- package/deploy/compose/sso-edge/sso-redirect.conf +18 -3
- package/deploy/stack-manifests/v0.9.json +1160 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-F5V4E4UL.js → active-agent-RZ24KSJN.js} +8 -6
- package/dist/{active-agent-YTBB4ZQM.js → active-agent-YWSWPIEA.js} +8 -6
- package/dist/{agent-defs-generator-7TFISIJQ.js → agent-defs-generator-GY3UBREJ.js} +8 -6
- package/dist/{agent-heartbeat-CQPGJIFF.js → agent-heartbeat-GUVUUQVM.js} +1 -1
- package/dist/{agent-loop-EZ7LDAGD.js → agent-loop-HPNCH3HK.js} +1 -1
- package/dist/{agentic-ontology-XVTUVV7W.js → agentic-ontology-RHYNXEKE.js} +1 -1
- package/dist/{artifact-backup-TF6YWQT2.js → artifact-backup-HGUFSIJH.js} +19 -6
- package/dist/{backfill-metadata-J6MXIDCW.js → backfill-metadata-XLFASEOD.js} +11 -9
- package/dist/{backup-verify-6DVBQMDP.js → backup-verify-TUQEICWA.js} +1 -1
- package/dist/{behavior-injection-XDA7ZCYN.js → behavior-injection-GXO7ERGN.js} +14 -12
- package/dist/{behavior-promotion-4VLQ7LXK.js → behavior-promotion-V63WIZ4N.js} +13 -11
- package/dist/{behaviors-SCCZP7RZ.js → behaviors-RMLDPLOF.js} +18 -11
- package/dist/bin/agentic-ontology-backfill.js +12 -10
- package/dist/bin/agentic-reflection-backfill.js +13 -11
- package/dist/bin/agentic-semantic-label.js +12 -10
- package/dist/bin/backfill-conversations.js +11 -9
- package/dist/bin/backfill-responses.js +11 -9
- package/dist/bin/backfill-vectors.js +13 -11
- package/dist/bin/bulk-sync-postgres.js +20 -18
- package/dist/bin/cc-doctor.js +15 -13
- package/dist/bin/cleanup-stale-review-tasks.js +44 -32
- package/dist/bin/cli.js +109 -30
- package/dist/bin/customer-readiness.js +55 -25
- package/dist/bin/deferred-daemon-restart.js +111 -108
- package/dist/bin/exe-actions.js +7 -1
- package/dist/bin/exe-agent-config.js +8 -6
- package/dist/bin/exe-agent.js +18 -16
- package/dist/bin/exe-assign.js +13 -11
- package/dist/bin/exe-boot.js +49 -47
- package/dist/bin/exe-call.js +9 -7
- package/dist/bin/exe-cicd.js +19 -8
- package/dist/bin/exe-cloud.js +59 -25
- package/dist/bin/exe-config-dump.js +8 -6
- package/dist/bin/exe-dispatch.js +23 -21
- package/dist/bin/exe-doctor.js +11 -8
- package/dist/bin/exe-export-behaviors.js +16 -14
- package/dist/bin/exe-forget.js +14 -12
- package/dist/bin/exe-gateway.js +12 -10
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +15 -13
- package/dist/bin/exe-heartbeat.js +28 -26
- package/dist/bin/exe-kill.js +28 -26
- package/dist/bin/exe-launch-agent.js +35 -33
- package/dist/bin/exe-mcp.js +9 -7
- package/dist/bin/exe-memory-reads.js +11 -9
- package/dist/bin/exe-new-employee.js +13 -11
- package/dist/bin/exe-os-mcp-proxy.js +9 -7
- package/dist/bin/exe-pending-messages.js +23 -21
- package/dist/bin/exe-pending-notifications.js +22 -20
- package/dist/bin/exe-pending-reviews.js +23 -21
- package/dist/bin/exe-preflight.js +1 -1
- package/dist/bin/exe-rename.js +9 -7
- package/dist/bin/exe-review.js +59 -55
- package/dist/bin/exe-search-quality.js +16 -3
- package/dist/bin/exe-search.js +13 -11
- package/dist/bin/exe-session-cleanup.js +29 -27
- package/dist/bin/exe-settings.js +22 -20
- package/dist/bin/exe-start-codex.js +23 -21
- package/dist/bin/exe-start-opencode.js +21 -19
- package/dist/bin/exe-status.js +24 -22
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +8 -6
- package/dist/bin/exe-verify-running-images.js +644 -17
- package/dist/bin/git-sweep.js +24 -22
- package/dist/bin/graph-backfill.js +12 -10
- package/dist/bin/graph-export.js +12 -10
- package/dist/bin/hooks-cli.js +4 -4
- package/dist/bin/import-history.js +16 -14
- package/dist/bin/install.js +113 -110
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +8 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-build-guard.js +55 -16
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/prune-orphan-chunks.js +154 -28
- package/dist/bin/reconcile-backlog.js +5 -3
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +11 -9
- package/dist/bin/scan-tasks.js +23 -21
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +12 -10
- package/dist/bin/stack-update.js +622 -43
- package/dist/bin/verify-stack.js +2 -2
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-Q7LGQ3AO.js → boot-generation-VCQXVYGT.js} +7 -5
- package/dist/{boot-review-sections-G5774FR5.js → boot-review-sections-3QO6Q7MP.js} +21 -19
- package/dist/{branch-hygiene-44WLSOZR.js → branch-hygiene-DDXXI6ZA.js} +59 -21
- package/dist/bug-landed-reconciler-TQVNOUCU.js +353 -0
- package/dist/build-manifest.json +1269 -1194
- package/dist/{capability-cards-I3RHCF4F.js → capability-cards-XPDLT6LU.js} +6 -4
- package/dist/{capacity-monitor-7I7GDONU.js → capacity-monitor-N3AW242L.js} +23 -21
- package/dist/{catchup-brief-3T5PARIR.js → catchup-brief-3PKX7FUP.js} +29 -27
- package/dist/{chunk-C5ISP5FO.js → chunk-2BKJAOO4.js} +11 -1
- package/dist/{chunk-JJTPPAZY.js → chunk-2CUQHG6H.js} +1609 -1356
- package/dist/{chunk-HU3VD4MQ.js → chunk-2Q2GGYBX.js} +1 -1
- package/dist/{chunk-CHIUS5QB.js → chunk-36LMIOVU.js} +9 -9
- package/dist/{chunk-46VSBDUW.js → chunk-3DCBDG4T.js} +2 -2
- package/dist/{chunk-W3KPQE7H.js → chunk-3GL3E4TD.js} +3 -3
- package/dist/{chunk-GL47M7NY.js → chunk-3UD3OF3X.js} +202 -117
- package/dist/{chunk-WNBZJSQT.js → chunk-3VW5ZP2F.js} +1 -1
- package/dist/{chunk-JDDM6C57.js → chunk-3X74IQBU.js} +1 -1
- package/dist/{chunk-NVFNADTX.js → chunk-3ZL4MDQ6.js} +18 -4
- package/dist/{chunk-R5E7WNAC.js → chunk-4ESNDGMB.js} +3 -3
- package/dist/{chunk-CYCIX7AW.js → chunk-4FLLIQRQ.js} +2 -2
- package/dist/{chunk-3RGTLZNO.js → chunk-4GAKF7KR.js} +99 -74
- package/dist/{chunk-RVO5O5SR.js → chunk-4S3A52AV.js} +38 -10
- package/dist/{chunk-7J2ZQ4XN.js → chunk-4VQ3QR6B.js} +29 -28
- package/dist/{chunk-MROSARM5.js → chunk-5BJBTFFQ.js} +7 -1
- package/dist/chunk-5LQZABW5.js +6 -0
- package/dist/chunk-5ONMHTNI.js +236 -0
- package/dist/{chunk-APL7HUE3.js → chunk-5QQJUO3F.js} +200 -31
- package/dist/{chunk-UOPCVFVR.js → chunk-5RK75SWH.js} +205 -278
- package/dist/{chunk-T5FEAQES.js → chunk-5TYJYGS5.js} +1 -1
- package/dist/{chunk-P3QQ52QK.js → chunk-5U6EOTZV.js} +3 -3
- package/dist/{chunk-ALRHGEAJ.js → chunk-637FL62O.js} +1 -1
- package/dist/{chunk-PUBA5B4M.js → chunk-6L4VIYLZ.js} +33 -19
- package/dist/{chunk-VF2KRROX.js → chunk-754P2UXM.js} +1 -1
- package/dist/{chunk-CM7N5MBY.js → chunk-7FZG7WP4.js} +5 -5
- package/dist/{chunk-NYLJQ2M2.js → chunk-7NEBFB3L.js} +4 -4
- package/dist/{chunk-E7C2WNR5.js → chunk-AEIOFFFX.js} +5 -5
- package/dist/{chunk-VOVFUKEB.js → chunk-AIB2EWO2.js} +5 -5
- package/dist/{chunk-EGOEB42T.js → chunk-AP2C4OGS.js} +3 -3
- package/dist/{chunk-MPZ2AVNS.js → chunk-ATNV3BVZ.js} +1 -1
- package/dist/{chunk-F4BBMIPG.js → chunk-B4XJQBQB.js} +2 -2
- package/dist/{chunk-BPVFZ6Q4.js → chunk-B5EGDNG6.js} +2 -2
- package/dist/{chunk-AGC2V7JS.js → chunk-B6CBN6EF.js} +1 -1
- package/dist/{chunk-KTKIFXIP.js → chunk-B7FDRN7G.js} +1 -1
- package/dist/{chunk-C5HUMAA7.js → chunk-B7WVYLAQ.js} +67 -15
- package/dist/chunk-BGVP5RMT.js +185 -0
- package/dist/{chunk-FVLNNNH6.js → chunk-BNI4LIU5.js} +35 -4
- package/dist/{chunk-P4XLIPB7.js → chunk-BU5JRLZT.js} +1 -1
- package/dist/{chunk-PHUHIVD5.js → chunk-C6U7XWOC.js} +34 -5
- package/dist/chunk-C7GHNJPW.js +8 -0
- package/dist/{chunk-4AR5XKCH.js → chunk-CL2MU3OX.js} +1 -1
- package/dist/{chunk-ZPP63JSQ.js → chunk-CL3AB7Z2.js} +1 -1
- package/dist/{chunk-FHIFTSPL.js → chunk-CP7XUSOF.js} +8 -3
- package/dist/{chunk-3OX34OC3.js → chunk-CUDNRHHT.js} +30 -10
- package/dist/chunk-CYUUNIEL.js +21 -0
- package/dist/{chunk-P2UY34XE.js → chunk-D4C57S2H.js} +5 -5
- package/dist/{chunk-XSUALA32.js → chunk-DDYFNBYV.js} +3 -3
- package/dist/{chunk-LSNBTGW4.js → chunk-DPYZW42H.js} +1 -1
- package/dist/{chunk-FMIYFHLE.js → chunk-E2PRXEZK.js} +9 -3
- package/dist/{chunk-L63V25HS.js → chunk-E54SPUYJ.js} +3 -3
- package/dist/{chunk-DMUOTCDN.js → chunk-E5CKRHIZ.js} +1 -1
- package/dist/{chunk-BV2IET6B.js → chunk-EVMOKRBC.js} +15 -2
- package/dist/{chunk-YLFCH3VA.js → chunk-FDWI3T6I.js} +133 -31
- package/dist/{chunk-PWC3C5ME.js → chunk-FNJTCJGY.js} +4 -4
- package/dist/{chunk-TNS63ATU.js → chunk-FWRPDSO3.js} +350 -50
- package/dist/{chunk-JA3Y5TV6.js → chunk-GDLB6BPM.js} +141 -74
- package/dist/{chunk-IGJMS7C5.js → chunk-GOVGG7HU.js} +2 -2
- package/dist/{chunk-MB47DRF5.js → chunk-GP7CTIUK.js} +2 -2
- package/dist/{chunk-L5EPGGDP.js → chunk-GWAN2BDB.js} +4 -4
- package/dist/{chunk-YRQ26MNP.js → chunk-H3YF7X4J.js} +12 -5
- package/dist/{chunk-VLBHZ6TF.js → chunk-H6PLIFUE.js} +2 -2
- package/dist/{chunk-GSLFH4AI.js → chunk-HRNM3N4Y.js} +6 -15
- package/dist/chunk-IG2ISRTF.js +48 -0
- package/dist/{chunk-MWEIBVBS.js → chunk-IJCWBYA5.js} +14 -1
- package/dist/{chunk-NKEFYE4R.js → chunk-IPTUKX3N.js} +1 -1
- package/dist/{chunk-RB3J2WYQ.js → chunk-IVE7H6KA.js} +1 -1
- package/dist/{chunk-HA63SH5W.js → chunk-IWY2OGQG.js} +1 -1
- package/dist/{chunk-BQEZPRUC.js → chunk-IZWMWJZT.js} +64 -46
- package/dist/{chunk-AHESD3KW.js → chunk-J4UVI652.js} +1 -1
- package/dist/{chunk-PLII76NJ.js → chunk-JBUCA4OX.js} +33 -6
- package/dist/{chunk-2PZTMSMG.js → chunk-JOF4HQDF.js} +5 -5
- package/dist/{chunk-OBBO6EJR.js → chunk-JQN3QGSF.js} +1 -1
- package/dist/{chunk-P4PIZOL2.js → chunk-JWYIH5DR.js} +3 -3
- package/dist/{chunk-3XY57PKT.js → chunk-KZLKE7I3.js} +210 -48
- package/dist/{chunk-DYVLEMKS.js → chunk-L3GXMYBK.js} +1 -1
- package/dist/{chunk-72V3S44T.js → chunk-LUA4SLJY.js} +46 -19
- package/dist/{chunk-ZT4LFTUJ.js → chunk-LW3JCBXP.js} +20 -3
- package/dist/{chunk-YLB365YX.js → chunk-M5XHN4OM.js} +3 -3
- package/dist/{chunk-VHHX4UCP.js → chunk-MDTWARSF.js} +22 -93
- package/dist/{chunk-JFJP6ATJ.js → chunk-MWKXQSF6.js} +3 -2
- package/dist/{chunk-VJEJ7JNB.js → chunk-N32DVIKY.js} +1 -1
- package/dist/{chunk-MUCNYSJP.js → chunk-NRLJOV7M.js} +32 -4
- package/dist/{chunk-PL4CFSQ7.js → chunk-NSXJOSH7.js} +1 -1
- package/dist/{chunk-NF5FOSLD.js → chunk-NVTG66CK.js} +1 -1
- package/dist/chunk-O45GBJEH.js +1500 -0
- package/dist/{chunk-4AAMFWJT.js → chunk-OHZSTZXN.js} +4 -2
- package/dist/chunk-OSIS7ZQW.js +344 -0
- package/dist/{chunk-E3ZM32LF.js → chunk-P22VFGFK.js} +14 -5
- package/dist/{chunk-KILR4FBR.js → chunk-PAFLR7WD.js} +3 -3
- package/dist/{chunk-R3CZWFFC.js → chunk-PEYQ6MWO.js} +15 -3
- package/dist/{chunk-RDWIKDMY.js → chunk-PZR54BEI.js} +8 -20
- package/dist/{chunk-2FKU4ZEO.js → chunk-QDBKMEYY.js} +9 -9
- package/dist/{chunk-7UHZBVP3.js → chunk-QDVLVLXP.js} +97 -31
- package/dist/{chunk-PRDDPQLC.js → chunk-QLXEQRHD.js} +5 -5
- package/dist/{chunk-MUAWCFW6.js → chunk-QNPDXV5V.js} +5 -2
- package/dist/{chunk-LR5O2XWZ.js → chunk-QUZYLDNJ.js} +5 -5
- package/dist/chunk-RBQUXHYK.js +48 -0
- package/dist/{chunk-3SUPEE6H.js → chunk-RDMBSHGG.js} +3 -3
- package/dist/{chunk-I5XIW2BP.js → chunk-RGUM474V.js} +7 -7
- package/dist/{chunk-OAFENIHN.js → chunk-RJ67XAJU.js} +76 -28
- package/dist/{chunk-LFUBEHFW.js → chunk-RT57D7C4.js} +39 -1
- package/dist/{chunk-MKM6D7JM.js → chunk-RWG7DLOG.js} +42 -5
- package/dist/{chunk-P3UX5EH4.js → chunk-RWKAHHIX.js} +3 -3
- package/dist/{chunk-XEBKIWI7.js → chunk-RYNT3HB7.js} +12 -12
- package/dist/{chunk-EUGEFBGV.js → chunk-S2V272KJ.js} +3 -3
- package/dist/{chunk-W6BZ4UGA.js → chunk-SGYEM2PD.js} +1 -1
- package/dist/{chunk-VROK4X2L.js → chunk-SJP57MQM.js} +1 -1
- package/dist/{chunk-5MVKTNZP.js → chunk-SL4JWAMQ.js} +54 -4
- package/dist/{chunk-MOANZQXF.js → chunk-SLMKLEU6.js} +1 -1
- package/dist/{chunk-RZN2LEAK.js → chunk-SQA7XCYI.js} +3 -3
- package/dist/{chunk-4YNA3CM6.js → chunk-SSFS4NCH.js} +262 -56
- package/dist/{chunk-6FIC57PH.js → chunk-T4P2G3PO.js} +1 -1
- package/dist/{chunk-5U2IJBFV.js → chunk-TA3B4N24.js} +1 -1
- package/dist/{chunk-ZOTTYCP5.js → chunk-TEWWBVQP.js} +40 -4
- package/dist/{chunk-SDYWZRPN.js → chunk-TLSFGXXE.js} +1 -1
- package/dist/{chunk-L3VUW5M4.js → chunk-TQS2YHLB.js} +1 -1
- package/dist/{chunk-KXYKSLW4.js → chunk-TU4M757W.js} +399 -116
- package/dist/{chunk-MC4IM2CC.js → chunk-TYD4F4XU.js} +6 -6
- package/dist/{chunk-TKS5GMYA.js → chunk-U44Y7RC7.js} +2 -0
- package/dist/{chunk-B7AMNZTC.js → chunk-UKBPEEEQ.js} +2 -2
- package/dist/{chunk-ZBPZDADW.js → chunk-UWVXQEQQ.js} +467 -78
- package/dist/{chunk-P2VVMGMI.js → chunk-V4WH3FV7.js} +35 -16
- package/dist/{worktree-ownership-guard-O6JQF2CL.js → chunk-V6F4I2XY.js} +13 -14
- package/dist/{chunk-JFTUAV4J.js → chunk-VBKUESIW.js} +1 -1
- package/dist/{chunk-AZSTIAVL.js → chunk-VBPYYJPC.js} +1 -1
- package/dist/{chunk-LKTN22L6.js → chunk-VIP4LKLO.js} +57 -24
- package/dist/{chunk-L5CGXEZC.js → chunk-WAAGVFFN.js} +63 -71
- package/dist/{chunk-D3LXVAIQ.js → chunk-WC7AE3PT.js} +244 -103
- package/dist/{chunk-EOTZSAQL.js → chunk-WUCUDHKR.js} +1 -1
- package/dist/{chunk-VF3BZOZK.js → chunk-X7HZHKY4.js} +50 -3
- package/dist/{chunk-LFBLQE2P.js → chunk-XCAKYVKI.js} +1 -1
- package/dist/{chunk-UXN4BICC.js → chunk-XMX5J52Z.js} +1 -1
- package/dist/{chunk-6YDY6ZTD.js → chunk-XTCXGWTV.js} +9 -4
- package/dist/{chunk-XUZK23V7.js → chunk-XW2FW6LS.js} +2 -2
- package/dist/{chunk-CH7BUBP3.js → chunk-XWVHUDEK.js} +5 -4
- package/dist/{chunk-S26CV7BE.js → chunk-YA5LK6KB.js} +45 -8
- package/dist/{chunk-ELCRJGCH.js → chunk-YMRQIENV.js} +2 -2
- package/dist/{chunk-QNZ4562V.js → chunk-Z3LXWCB7.js} +1 -1
- package/dist/{chunk-EYMFVITZ.js → chunk-Z7I6NQMA.js} +2 -2
- package/dist/{chunk-6BJCDWSM.js → chunk-ZB4FS2EG.js} +1 -1
- package/dist/{chunk-ZAEUEDTN.js → chunk-ZD6FZ3WL.js} +1 -1
- package/dist/{chunk-FEU6QEEL.js → chunk-ZM6EZAVY.js} +1 -0
- package/dist/{chunk-2KY7WZZF.js → chunk-ZPA4R2UI.js} +1 -1
- package/dist/chunk-ZPPPHVSU.js +285 -0
- package/dist/{chunk-ELEGH4DX.js → chunk-ZUGQPYUY.js} +51 -4
- package/dist/{chunk-UX2EO653.js → chunk-ZZWFZ46U.js} +66 -8
- package/dist/{cleanup-graph-garbage-VQAJ2RBT.js → cleanup-graph-garbage-HFUD5ZQT.js} +12 -10
- package/dist/{cloud-sync-command-J7NEFUY7.js → cloud-sync-command-3JHJJKPN.js} +25 -3
- package/dist/{cloud-sync-db-init-KWEMNMGA.js → cloud-sync-db-init-2LHIQOSF.js} +1 -1
- package/dist/{cloud-sync-shutdown-P63AUTUI.js → cloud-sync-shutdown-ZXAXA3Z7.js} +6 -4
- package/dist/{cloud-sync-state-QF3TMMJ4.js → cloud-sync-state-VSQFGPP6.js} +1 -1
- package/dist/{co-activation-7IHRPBZN.js → co-activation-NX4EH4AP.js} +6 -4
- package/dist/{co-occurrence-R5AG4OAU.js → co-occurrence-5LBYCW3U.js} +10 -8
- package/dist/{consent-passphrase-5ZBDJ5G7.js → consent-passphrase-65W3DJIJ.js} +2 -2
- package/dist/{content-extractor-ZLXC6GNR.js → content-extractor-OGXETBOX.js} +2 -2
- package/dist/{conversation-entity-extractor-7FRKLLBD.js → conversation-entity-extractor-FQCOAH4F.js} +5 -4
- package/dist/conversations-retention-XTBFJBUM.js +166 -0
- package/dist/{crdt-sync-IFRZOEIS.js → crdt-sync-7TDUBTLH.js} +4 -4
- package/dist/{crm-webhook-L2S63ASV.js → crm-webhook-776JTY55.js} +2 -2
- package/dist/{cto-delegation-gate-3WU7OHX7.js → cto-delegation-gate-ZNUWVYCN.js} +25 -23
- package/dist/{daemon-orchestration-3VQYKLOR.js → daemon-orchestration-76BOFDEP.js} +30 -24
- package/dist/{doc-graph-extractor-YIR5E7OF.js → doc-graph-extractor-F724KZJX.js} +10 -8
- package/dist/{documents-QEHPTYIY.js → documents-Q24V4GRD.js} +13 -11
- package/dist/{dreaming-LNFE7DTN.js → dreaming-IY6NQTSP.js} +27 -25
- package/dist/{employee-boot-brief-ZTXDYNWM.js → employee-boot-brief-CCTXO5DQ.js} +35 -29
- package/dist/{entity-boost-R5N6JWXD.js → entity-boost-XGOB7HDM.js} +1 -1
- package/dist/{exe-drift-WYSJVZFO.js → exe-drift-NEPXLNGP.js} +7 -5
- package/dist/{exe-export-GOLNAEAV.js → exe-export-ZHJQFKR2.js} +14 -12
- package/dist/{exe-import-U4BSI6OH.js → exe-import-7SVNI4FW.js} +14 -12
- package/dist/{exe-key-V42G3NGO.js → exe-key-QJKU56WZ.js} +119 -108
- package/dist/{exe-org-U4GLQ6OP.js → exe-org-SJXHLV6K.js} +76 -51
- package/dist/{exe-snapshot-U7ONBYNY.js → exe-snapshot-EFWPXTXE.js} +45 -36
- package/dist/{fast-db-init-W3NGKAEU.js → fast-db-init-BQZOQNT3.js} +1 -1
- package/dist/{founder-context-ZSIBRVDM.js → founder-context-KG2ZAOXY.js} +2 -2
- package/dist/{founder-monitor-envelope-L3IWZLFY.js → founder-monitor-envelope-NYB5LLU4.js} +4 -4
- package/dist/gateway/index.js +20 -18
- package/dist/{gateway-client-DJFCVIPT.js → gateway-client-ODMUXUL3.js} +1 -1
- package/dist/{git-staleness-OF24QXFZ.js → git-staleness-OPGEAJA7.js} +6 -4
- package/dist/{global-procedures-WSIOWO43.js → global-procedures-3KXY4LL6.js} +8 -6
- package/dist/{graph-auto-extract-IEVVN3L3.js → graph-auto-extract-I7H2F5NJ.js} +10 -8
- package/dist/{graph-query-JDZWAVCU.js → graph-query-E7JBSNY5.js} +1 -1
- package/dist/{graph-rag-BKAD2XQA.js → graph-rag-H24CMFP2.js} +5 -4
- package/dist/{hook-integrity-TPWDGX2M.js → hook-integrity-PGQ3OX4S.js} +1 -1
- package/dist/{hook-prefetch-FD6VGJJA.js → hook-prefetch-7AZJER6Z.js} +23 -21
- package/dist/hook-registration-liveness-NGQRFKAA.js +11 -0
- package/dist/hooks/bug-report-worker.js +26 -24
- package/dist/hooks/codex-stop-task-finalizer.js +28 -26
- package/dist/hooks/commit-complete.js +26 -24
- package/dist/hooks/error-recall.js +16 -14
- package/dist/hooks/exe-heartbeat-hook.js +9 -7
- package/dist/hooks/ingest-worker.js +12 -10
- package/dist/hooks/ingest.js +22 -17
- package/dist/hooks/instructions-loaded.js +11 -9
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +10 -8
- package/dist/hooks/post-compact.js +9 -7
- package/dist/hooks/post-tool-combined.js +14 -14
- package/dist/hooks/pre-compact.js +26 -24
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +47 -41
- package/dist/hooks/session-end.js +38 -42
- package/dist/hooks/session-start.js +26 -18
- package/dist/hooks/stop.js +29 -27
- package/dist/hooks/subagent-stop.js +29 -27
- package/dist/hooks/summary-worker.js +32 -30
- package/dist/index.js +37 -35
- package/dist/{installer-OTI5SA43.js → installer-2ZS3LHCU.js} +12 -9
- package/dist/{installer-NMOBSEZ2.js → installer-NH3A3HWC.js} +14 -9
- package/dist/{installer-SRJGE4GU.js → installer-UJ73PGRD.js} +21 -9
- package/dist/{intercom-queue-4FFXCBHO.js → intercom-queue-OE25GJF2.js} +21 -19
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +24 -18
- package/dist/lib/consolidation.js +13 -11
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +6 -4
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker-client.js +3 -1
- package/dist/lib/db-write-worker.js +65 -89
- package/dist/lib/db.js +6 -4
- package/dist/lib/delivery-truth.js +5 -1
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +2 -2
- package/dist/lib/employee-templates.js +9 -7
- package/dist/lib/employees.js +6 -4
- package/dist/lib/exe-daemon.js +425 -314
- package/dist/lib/file-grep.js +15 -21
- package/dist/lib/hybrid-search.js +19 -13
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +6 -4
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +22 -6
- package/dist/lib/messaging.js +22 -20
- package/dist/lib/post-tool-memory.js +10 -8
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +7 -5
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +12 -10
- package/dist/lib/session-registry.js +8 -6
- package/dist/lib/skill-learning.js +13 -11
- package/dist/lib/status-brief.js +2 -2
- package/dist/lib/store.js +17 -9
- package/dist/lib/task-router.js +7 -5
- package/dist/lib/tasks.js +23 -21
- package/dist/lib/tmux-routing.js +21 -19
- package/dist/lib/tmux-status.js +4 -1
- package/dist/lib/token-spend.js +7 -5
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-R4JWTWM4.js → license-gate-XQ2KN5I5.js} +3 -3
- package/dist/{license-recheck-3MBJ4IJX.js → license-recheck-IIBKR2V5.js} +1 -1
- package/dist/{license-sync-BVSG3WMW.js → license-sync-76JVI2M5.js} +151 -8
- package/dist/{local-secret-inventory-JWNBHZZ4.js → local-secret-inventory-MJT7NJLY.js} +2 -2
- package/dist/{mailbox-inbox-MTAT4MXX.js → mailbox-inbox-BPZP4GIZ.js} +1 -1
- package/dist/maintenance-worker-54VZTFIK.js +371 -0
- package/dist/mcp/register-tools.js +110 -107
- package/dist/mcp/server.js +113 -110
- package/dist/mcp/tools/complete-reminder.js +8 -6
- package/dist/mcp/tools/create-reminder.js +8 -6
- package/dist/mcp/tools/create-task.js +26 -24
- package/dist/mcp/tools/deactivate-behavior.js +15 -13
- package/dist/mcp/tools/list-reminders.js +8 -6
- package/dist/mcp/tools/list-tasks.js +26 -24
- package/dist/mcp/tools/send-message.js +25 -23
- package/dist/mcp/tools/update-task.js +24 -22
- package/dist/{mcp-child-registry-TIZERM7O.js → mcp-child-registry-5VUG5ATZ.js} +1 -1
- package/dist/{mcp-http-config-VUMSFWFH.js → mcp-http-config-SKXESWHA.js} +9 -7
- package/dist/{mcp-session-identity-DZHWEJRV.js → mcp-session-identity-HYMLJXXA.js} +21 -19
- package/dist/{memory-cards-JVXTMSAT.js → memory-cards-PAZDUQ3B.js} +16 -32
- package/dist/{memory-graph-extractor-PPBJMYFJ.js → memory-graph-extractor-BC6QKBY6.js} +11 -9
- package/dist/{memory-poisoning-defense-K5Q74XQ4.js → memory-poisoning-defense-BRGIHF6J.js} +9 -7
- package/dist/{memory-pressure-watchdog-YMJH5CSA.js → memory-pressure-watchdog-HR6TPOMT.js} +22 -20
- package/dist/{memory-reflection-7BZWIHRE.js → memory-reflection-LO7VFBL3.js} +38 -59
- package/dist/memory-write-repository-J25USX63.js +16 -0
- package/dist/{monitor-grants-Q7X3MYQP.js → monitor-grants-YQTO6NWR.js} +3 -3
- package/dist/{monitor-identity-ZQB4IXEE.js → monitor-identity-POVTG76Y.js} +2 -2
- package/dist/{notification-ledger-XRAXL5OI.js → notification-ledger-KLD6GZTG.js} +22 -20
- package/dist/{notifications-JE3PX55X.js → notifications-3R6HNHDR.js} +21 -19
- package/dist/{orchestration-events-JCQ5F5IJ.js → orchestration-events-CHY3GOJD.js} +7 -5
- package/dist/{orchestrator-X65INDTR.js → orchestrator-GAL3HOAD.js} +23 -21
- package/dist/{org-brief-session-3PQ22UIX.js → org-brief-session-LQ2DBYVF.js} +17 -15
- package/dist/{org-consent-policy-VGELJ7K7.js → org-consent-policy-KFUP7QPG.js} +5 -5
- package/dist/{org-join-6TO5ZYUZ.js → org-join-MXZCIQWX.js} +8 -8
- package/dist/{org-key-admin-XHYVRRAZ.js → org-key-admin-4UK6QUT7.js} +9 -9
- package/dist/{org-key-pin-TTTYGTQL.js → org-key-pin-ZOX4OM3O.js} +3 -3
- package/dist/{org-membership-Y7T2BS57.js → org-membership-D5TPN45F.js} +4 -4
- package/dist/{org-partner-config-OP4NEUNF.js → org-partner-config-3FXSYPQA.js} +7 -7
- package/dist/{org-partner-runtime-YNVUNT2R.js → org-partner-runtime-TH3LMPII.js} +20 -16
- package/dist/{org-row-visibility-JBBXNYXD.js → org-row-visibility-Y5R33C5U.js} +1 -1
- package/dist/{pipeline-router-EIBB7QNG.js → pipeline-router-E2JZLDK6.js} +7 -5
- package/dist/{plan-limits-MEWXYLEN.js → plan-limits-NYI6R4IK.js} +9 -7
- package/dist/{platform-procedures-Z7ZGBJWN.js → platform-procedures-RTD5E3BD.js} +5 -3
- package/dist/{pre-tool-use-impl-C6KJY22W.js → pre-tool-use-impl-LT4FRXBP.js} +127 -83
- package/dist/{project-boot-VEYFCCSL.js → project-boot-LIMXQKAF.js} +25 -17
- package/dist/{project-name-UYORSNGE.js → project-name-V62GWALX.js} +7 -5
- package/dist/{projection-worker-WYFDWS57.js → projection-worker-KLE3IZQ2.js} +5 -2
- package/dist/{prospective-memory-E6XBQFJA.js → prospective-memory-HRN7JFT2.js} +6 -4
- package/dist/{push-notifications-M7YU63FY.js → push-notifications-XC6EQEXF.js} +22 -20
- package/dist/{reproject-worktree-memories-B5XMGJSD.js → reproject-worktree-memories-4CAVZSFE.js} +21 -19
- package/dist/{reranker-SRA4BR7N.js → reranker-2RU6IIX2.js} +1 -1
- package/dist/{retrieval-health-P2JPZUPV.js → retrieval-health-4Q5TOV2S.js} +1 -1
- package/dist/{review-polling-KQPN7IQE.js → review-polling-WOWIMBCL.js} +22 -20
- package/dist/runtime/index.js +30 -28
- package/dist/{session-events-6LDDKKY3.js → session-events-OPMS2C5F.js} +22 -20
- package/dist/{session-kill-telemetry-5DSRGWCL.js → session-kill-telemetry-3GWATSIX.js} +22 -20
- package/dist/{session-scope-XG5R3P3D.js → session-scope-TIRGR4MH.js} +21 -19
- package/dist/{setup-wizard-7QFLZIKT.js → setup-wizard-B2JBVGNH.js} +3 -3
- package/dist/{shard-manager-HHHHV2KZ.js → shard-manager-C7LYX6E4.js} +5 -1
- package/dist/{skill-refinement-I5RMAHSC.js → skill-refinement-FWQFYNBI.js} +7 -5
- package/dist/skill-retrieval-PPLFC5RY.js +166 -0
- package/dist/skill-usage-NDB67PU2.js +25 -0
- package/dist/{stack-generate-manifest-AKMZ3AUX.js → stack-generate-manifest-AXI55MEQ.js} +6 -6
- package/dist/{stack-promote-34CE2HHF.js → stack-promote-6N23OGZY.js} +6 -6
- package/dist/stack-release-2CXFYVWM.js +2770 -0
- package/dist/{stack-update-ZQQ5YYPJ.js → stack-update-U53FBVCQ.js} +13 -5
- package/dist/{steward-gate-AQJ6KT2C.js → steward-gate-TUA3QCN7.js} +7 -5
- package/dist/{subagent-brief-injection-3GU7YAWY.js → subagent-brief-injection-N52RWYFZ.js} +34 -32
- package/dist/{subagent-spawn-ledger-52I66CLW.js → subagent-spawn-ledger-OI23OT4I.js} +1 -1
- package/dist/support-bug-actions-XWCJI6S5.js +30 -0
- package/dist/support-inbox-MMVTCXRX.js +77 -0
- package/dist/{support-outbox-KNI3FR3G.js → support-outbox-2TG2UV6J.js} +2 -2
- package/dist/{task-enforcement-CAA6D2MH.js → task-enforcement-JDMBAAOY.js} +22 -20
- package/dist/{task-request-inbox-QBZVU66E.js → task-request-inbox-PKJCYKJV.js} +9 -5
- package/dist/{task-scope-NHXB4ZRN.js → task-scope-32HQEV6W.js} +27 -19
- package/dist/{tasks-crud-JHSWL5NM.js → tasks-crud-CYKUKS3F.js} +21 -19
- package/dist/{tasks-notify-7PBE4U7T.js → tasks-notify-YND5MKWJ.js} +22 -20
- package/dist/{tasks-review-PPPVEE62.js → tasks-review-CG2A5GM3.js} +23 -19
- package/dist/{telemetry-upload-YU2VRNHX.js → telemetry-upload-WLUMEFAB.js} +11 -9
- package/dist/{token-budget-QCMWKG3K.js → token-budget-3YHAY5LL.js} +7 -5
- package/dist/{tool-capability-index-7AWQAJRP.js → tool-capability-index-2ADOWH43.js} +2 -2
- package/dist/{tool-gates-5Q3RSQEG.js → tool-gates-7ENOOYMR.js} +5 -3
- package/dist/{tool-gates-QD26D2NE.js → tool-gates-EKJTLVGN.js} +1 -1
- package/dist/{tool-telemetry-LTOIC64I.js → tool-telemetry-VUP7S6HC.js} +1 -1
- package/dist/tui/App.js +59 -35
- package/dist/{tui-data-NDBXD6U7.js → tui-data-BOQTOW2G.js} +25 -23
- package/dist/{update-support-BMJM4NG7.js → update-support-WT3S3AQ4.js} +21 -21
- package/dist/{whatsapp-QQLDAHUX.js → whatsapp-OZGIF2EM.js} +2 -2
- package/dist/{wiki-acl-W6WDCVCP.js → wiki-acl-LTEQJVDA.js} +1 -1
- package/dist/{work-claims-6DM32MGO.js → work-claims-CMV2GWIW.js} +8 -6
- package/dist/{work-state-heartbeat-HG7D4AWJ.js → work-state-heartbeat-S45TXK4M.js} +1 -1
- package/dist/{worker-gate-FTMW7GBB.js → worker-gate-7Z6NMM3G.js} +1 -1
- package/dist/{workflow-engine-ZWC6CCXE.js → workflow-engine-ZSQDXZQ7.js} +2 -2
- package/dist/{worktree-EMQCPGFE.js → worktree-NMWDVT6N.js} +8 -6
- package/dist/worktree-ownership-guard-ZVIWJAOP.js +35 -0
- package/dist/{worktree-sweep-XVUJZBXV.js → worktree-sweep-Q62ZIT3U.js} +9 -7
- package/package.json +14 -8
- package/release-notes.json +7 -41
- package/src/commands/exe/afk.md +6 -0
- package/src/commands/exe/call.md +6 -0
- package/src/commands/exe/employee-heartbeat.md +6 -0
- package/src/commands/exe/intercom.md +6 -0
- package/src/commands/exe/kill.md +6 -0
- package/src/commands/exe/launch.md +6 -0
- package/src/commands/exe/logs.md +1 -1
- package/src/commands/exe/sessions.md +6 -0
- package/src/commands/exe/setup.md +7 -3
- package/src/commands/exe/status.md +6 -0
- package/src/commands/exe-reference.md +25 -36
- package/src/commands/exe.md +19 -28
- package/stack.release.json +11 -11
- package/dist/chunk-3B6FLNLV.js +0 -30
- package/dist/chunk-FXU7JOXK.js +0 -6
- package/dist/chunk-QFAFKEB5.js +0 -820
- package/dist/conversations-retention-C4BLKFEL.js +0 -54
- package/dist/stack-release-5PGWV5D4.js +0 -1607
- package/dist/support-inbox-NY5TB3FN.js +0 -51
- /package/dist/{chunk-U2D6PJ5T.js → chunk-65G7ZTGE.js} +0 -0
- /package/dist/{chunk-DN3ZR3UE.js → chunk-CP7Z35MJ.js} +0 -0
- /package/dist/{chunk-XDVOGDBC.js → chunk-KBBWALJV.js} +0 -0
- /package/dist/{chunk-JRIH6I7D.js → chunk-LZXYPTY4.js} +0 -0
- /package/dist/{chunk-GIRD7O5X.js → chunk-MCWEW2SG.js} +0 -0
- /package/dist/{chunk-TKAU7IJ2.js → chunk-MQHUJLCA.js} +0 -0
- /package/dist/{chunk-M4XY4JRK.js → chunk-O53LTOXK.js} +0 -0
- /package/dist/{chunk-DZN7SDY2.js → chunk-OSVTH3SG.js} +0 -0
- /package/dist/{chunk-AJK2PVQW.js → chunk-QXXEXGX3.js} +0 -0
- /package/dist/{chunk-AWWDKF22.js → chunk-SFWNTO2F.js} +0 -0
- /package/dist/{chunk-2Q2CD6CD.js → chunk-WC5HF2FN.js} +0 -0
- /package/dist/{core-memory-O6D5UC3T.js → core-memory-MMMW3TF3.js} +0 -0
- /package/dist/{memory-isolation-EBFFC6HF.js → memory-isolation-67ACKQ2M.js} +0 -0
- /package/dist/{oauth-server-ZKBUHDFI.js → oauth-server-OILIKR7D.js} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-A7XLR3K7.js";
|
|
4
4
|
import {
|
|
5
5
|
getDeviceInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OSVTH3SG.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_AI_DIR
|
|
9
9
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -17,6 +17,7 @@ import path from "path";
|
|
|
17
17
|
import { jwtVerify, importSPKI } from "jose";
|
|
18
18
|
var LICENSE_PATH = path.join(EXE_AI_DIR, "license.key");
|
|
19
19
|
var GRANDFATHER_PATH = path.join(EXE_AI_DIR, "personal-free-grandfather.json");
|
|
20
|
+
var PENDING_LICENSE_PATH = path.join(EXE_AI_DIR, "license.key.pending");
|
|
20
21
|
var CACHE_PATH = path.join(EXE_AI_DIR, "license-cache.json");
|
|
21
22
|
var DEVICE_ID_PATH = path.join(EXE_AI_DIR, "device-id");
|
|
22
23
|
var API_BASE = process.env.EXE_CLOUD_ENDPOINT ?? "https://api.askexe.com";
|
|
@@ -90,12 +91,19 @@ function readPersonalFreeGrandfather() {
|
|
|
90
91
|
function isPersonalFreeGrandfathered() {
|
|
91
92
|
return readPersonalFreeGrandfather() !== null;
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function purgeProofFile(filePath) {
|
|
94
95
|
try {
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
rmSync(filePath);
|
|
97
|
+
return { kind: "cleared" };
|
|
98
|
+
} catch (err) {
|
|
99
|
+
const code = err.code;
|
|
100
|
+
if (code === "ENOENT" || code === "ENOTDIR") return { kind: "absent" };
|
|
101
|
+
return { kind: "failed", reason: `${filePath} could not be removed (${String(code)})` };
|
|
97
102
|
}
|
|
98
103
|
}
|
|
104
|
+
function clearPersonalFreeGrandfather() {
|
|
105
|
+
return purgeProofFile(GRANDFATHER_PATH);
|
|
106
|
+
}
|
|
99
107
|
function grandfatheredFreeLicense() {
|
|
100
108
|
const record = readPersonalFreeGrandfather();
|
|
101
109
|
return { ...FREE_LICENSE, email: record?.email ?? "" };
|
|
@@ -139,6 +147,33 @@ function saveLicense(apiKey) {
|
|
|
139
147
|
mkdirSync(EXE_AI_DIR, { recursive: true });
|
|
140
148
|
writeFileSync(LICENSE_PATH, apiKey.trim(), { encoding: "utf8", mode: 384 });
|
|
141
149
|
}
|
|
150
|
+
function savePendingLicense(apiKey) {
|
|
151
|
+
const trimmed = apiKey.trim();
|
|
152
|
+
if (!trimmed) return;
|
|
153
|
+
mkdirSync(EXE_AI_DIR, { recursive: true });
|
|
154
|
+
writeFileSync(PENDING_LICENSE_PATH, trimmed, { encoding: "utf8", mode: 384 });
|
|
155
|
+
}
|
|
156
|
+
function loadPendingLicense() {
|
|
157
|
+
try {
|
|
158
|
+
if (!existsSync(PENDING_LICENSE_PATH)) return null;
|
|
159
|
+
const key = readFileSync(PENDING_LICENSE_PATH, "utf8").trim();
|
|
160
|
+
return key.length > 0 ? key : null;
|
|
161
|
+
} catch {
|
|
162
|
+
return null;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function clearPendingLicense() {
|
|
166
|
+
try {
|
|
167
|
+
rmSync(PENDING_LICENSE_PATH, { force: true });
|
|
168
|
+
} catch {
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function authorityExpiryAllows(payload) {
|
|
172
|
+
if (payload.license_expires_at === void 0 || payload.license_expires_at === null) return true;
|
|
173
|
+
if (typeof payload.license_expires_at !== "string") return false;
|
|
174
|
+
const expiry = Date.parse(payload.license_expires_at);
|
|
175
|
+
return Number.isFinite(expiry) && Date.now() < expiry;
|
|
176
|
+
}
|
|
142
177
|
async function verifyLicenseJwt(token) {
|
|
143
178
|
for (const pem of LICENSE_PUBLIC_KEYS) {
|
|
144
179
|
try {
|
|
@@ -146,6 +181,7 @@ async function verifyLicenseJwt(token) {
|
|
|
146
181
|
const { payload } = await jwtVerify(token, key, {
|
|
147
182
|
algorithms: [LICENSE_JWT_ALG]
|
|
148
183
|
});
|
|
184
|
+
if (!authorityExpiryAllows(payload)) return null;
|
|
149
185
|
const plan = payload.plan ?? "free";
|
|
150
186
|
const email = payload.sub ?? "";
|
|
151
187
|
const limits = resolveClientLimits(plan, limitsClaim(payload));
|
|
@@ -200,7 +236,7 @@ async function getGraceVerifiedLicense(graceDays = 7, expectedKey) {
|
|
|
200
236
|
continue;
|
|
201
237
|
}
|
|
202
238
|
}
|
|
203
|
-
if (!verified) return null;
|
|
239
|
+
if (!verified || !authorityExpiryAllows(verified)) return null;
|
|
204
240
|
const plan = verified.plan ?? "free";
|
|
205
241
|
const limits = resolveClientLimits(plan, limitsClaim(verified));
|
|
206
242
|
process.stderr.write(
|
|
@@ -264,15 +300,25 @@ function cacheResponse(token, apiKey) {
|
|
|
264
300
|
}
|
|
265
301
|
}
|
|
266
302
|
function clearLicenseCache() {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
303
|
+
return purgeProofFile(CACHE_PATH);
|
|
304
|
+
}
|
|
305
|
+
function purgeProofsOnDenial() {
|
|
306
|
+
const outcomes = [
|
|
307
|
+
["cached license proof", clearLicenseCache()],
|
|
308
|
+
["personal-free grandfather marker", clearPersonalFreeGrandfather()]
|
|
309
|
+
];
|
|
310
|
+
for (const [label, outcome] of outcomes) {
|
|
311
|
+
if (outcome.kind !== "failed") continue;
|
|
312
|
+
process.stderr.write(
|
|
313
|
+
`[license] \u26A0 AUTHORITATIVE DENIAL INCOMPLETE: the ${label} was NOT removed \u2014 ${outcome.reason}. It survives on disk and can keep vouching for this install offline until it expires. Remove it by hand.
|
|
314
|
+
`
|
|
315
|
+
);
|
|
270
316
|
}
|
|
271
317
|
}
|
|
272
318
|
function describeLicenseDenial(reason) {
|
|
273
319
|
switch (reason) {
|
|
274
320
|
case "device_limit_exceeded":
|
|
275
|
-
return "This plan's device limit is full \u2014 the key is fine, but this device cannot be
|
|
321
|
+
return "This plan's device limit is already full \u2014 the key is fine, but this device cannot be added. Remove a device or upgrade at https://askexe.com.";
|
|
276
322
|
case "suspended":
|
|
277
323
|
return "This account is suspended. Contact support@askexe.com.";
|
|
278
324
|
case "terminated":
|
|
@@ -315,7 +361,17 @@ async function readDenialBody(res) {
|
|
|
315
361
|
if (!isServerVerdict) return null;
|
|
316
362
|
return { error: typeof data.error === "string" ? data.error : void 0, reason: typeof data.reason === "string" ? data.reason : void 0 };
|
|
317
363
|
}
|
|
318
|
-
async function validateViaCFWorker(apiKey, deviceId, timeoutMs = 1e4) {
|
|
364
|
+
async function validateViaCFWorker(apiKey, deviceId, timeoutMs = 1e4, opts) {
|
|
365
|
+
const defer = opts?.defer === true;
|
|
366
|
+
const effects = [];
|
|
367
|
+
const apply = (fn) => {
|
|
368
|
+
if (defer) effects.push(fn);
|
|
369
|
+
else fn();
|
|
370
|
+
};
|
|
371
|
+
const commit = () => {
|
|
372
|
+
for (const fn of effects) fn();
|
|
373
|
+
effects.length = 0;
|
|
374
|
+
};
|
|
319
375
|
try {
|
|
320
376
|
const res = await fetchRetry(`${API_BASE}/auth/activate`, {
|
|
321
377
|
method: "POST",
|
|
@@ -336,15 +392,16 @@ async function validateViaCFWorker(apiKey, deviceId, timeoutMs = 1e4) {
|
|
|
336
392
|
return { kind: "unreachable" };
|
|
337
393
|
}
|
|
338
394
|
if (data.error === "seat_released") {
|
|
339
|
-
markPersonalFreeGrandfather(data.email ?? "", data.org_id);
|
|
340
|
-
return { kind: "valid", license: grandfatheredFreeLicense() };
|
|
395
|
+
apply(() => markPersonalFreeGrandfather(data.email ?? "", data.org_id));
|
|
396
|
+
return { kind: "valid", license: grandfatheredFreeLicense(), commit };
|
|
341
397
|
}
|
|
342
398
|
if (!data.valid) return { kind: "invalid", reason: denialReasonOf(data) };
|
|
343
|
-
clearPersonalFreeGrandfather();
|
|
399
|
+
apply(() => clearPersonalFreeGrandfather());
|
|
344
400
|
if (data.token) {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
401
|
+
const token = data.token;
|
|
402
|
+
apply(() => cacheResponse(token, apiKey));
|
|
403
|
+
const verified = await verifyLicenseJwt(token);
|
|
404
|
+
if (verified) return { kind: "valid", license: verified, commit };
|
|
348
405
|
}
|
|
349
406
|
const limits = resolveClientLimits(data.plan, {
|
|
350
407
|
devices: data.deviceLimit,
|
|
@@ -353,6 +410,7 @@ async function validateViaCFWorker(apiKey, deviceId, timeoutMs = 1e4) {
|
|
|
353
410
|
});
|
|
354
411
|
return {
|
|
355
412
|
kind: "valid",
|
|
413
|
+
commit,
|
|
356
414
|
license: {
|
|
357
415
|
valid: data.valid,
|
|
358
416
|
plan: data.plan,
|
|
@@ -365,23 +423,245 @@ async function validateViaCFWorker(apiKey, deviceId, timeoutMs = 1e4) {
|
|
|
365
423
|
return { kind: "unreachable" };
|
|
366
424
|
}
|
|
367
425
|
}
|
|
426
|
+
function deleteLicense() {
|
|
427
|
+
try {
|
|
428
|
+
rmSync(LICENSE_PATH, { force: true });
|
|
429
|
+
} catch {
|
|
430
|
+
}
|
|
431
|
+
try {
|
|
432
|
+
const configPath = path.join(EXE_AI_DIR, "config.json");
|
|
433
|
+
if (existsSync(configPath)) {
|
|
434
|
+
const raw = JSON.parse(readFileSync(configPath, "utf8"));
|
|
435
|
+
const cloud = raw.cloud;
|
|
436
|
+
if (cloud && typeof cloud.apiKey === "string") {
|
|
437
|
+
delete cloud.apiKey;
|
|
438
|
+
writeFileSync(configPath, `${JSON.stringify(raw, null, 2)}
|
|
439
|
+
`, { encoding: "utf8", mode: 384 });
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
} catch {
|
|
443
|
+
}
|
|
444
|
+
const purge = clearLicenseCache();
|
|
445
|
+
if (purge.kind === "failed") {
|
|
446
|
+
process.stderr.write(
|
|
447
|
+
`[license] \u26A0 the cached license proof was NOT removed \u2014 ${purge.reason}. It survives on disk and can keep vouching for this install offline. Remove it by hand.
|
|
448
|
+
`
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
}
|
|
368
452
|
async function validateLicense(apiKey, deviceId) {
|
|
453
|
+
return (await validateLicenseDetailed(apiKey, deviceId)).license;
|
|
454
|
+
}
|
|
455
|
+
async function validateLicenseDetailed(apiKey, deviceId) {
|
|
369
456
|
const did = deviceId ?? loadDeviceId();
|
|
370
457
|
const cf = await validateViaCFWorker(apiKey, did);
|
|
371
|
-
if (cf.kind === "valid") return cf.license;
|
|
458
|
+
if (cf.kind === "valid") return { outcome: "valid", license: cf.license };
|
|
372
459
|
if (cf.kind === "invalid") {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
460
|
+
purgeProofsOnDenial();
|
|
461
|
+
return {
|
|
462
|
+
outcome: "rejected",
|
|
463
|
+
license: { ...FREE_LICENSE, valid: false },
|
|
464
|
+
reason: cf.reason,
|
|
465
|
+
reasonText: describeLicenseDenial(cf.reason)
|
|
466
|
+
};
|
|
378
467
|
}
|
|
379
468
|
const cached = await getCachedLicense(apiKey);
|
|
380
|
-
if (cached) return cached;
|
|
469
|
+
if (cached) return { outcome: "valid", license: cached };
|
|
381
470
|
const graced = await getGraceVerifiedLicense(7, apiKey);
|
|
382
|
-
if (graced) return graced;
|
|
383
|
-
if (isPersonalFreeGrandfathered()) return grandfatheredFreeLicense();
|
|
384
|
-
return { ...FREE_LICENSE, valid: false };
|
|
471
|
+
if (graced) return { outcome: "valid", license: graced };
|
|
472
|
+
if (isPersonalFreeGrandfathered()) return { outcome: "valid", license: grandfatheredFreeLicense() };
|
|
473
|
+
return { outcome: "unreachable", license: { ...FREE_LICENSE, valid: false } };
|
|
474
|
+
}
|
|
475
|
+
async function activateLicenseKey(apiKey, deviceId, opts) {
|
|
476
|
+
if (opts?.cloudEndpoint) recordDeferredCloudSetup(opts.cloudEndpoint, apiKey);
|
|
477
|
+
const did = deviceId ?? loadDeviceId();
|
|
478
|
+
const heldAtEntry = loadPendingLicense();
|
|
479
|
+
const activeAtEntry = loadLicense();
|
|
480
|
+
const mySeq = ++_activationSeq;
|
|
481
|
+
const newerActivationLanded = () => {
|
|
482
|
+
if (_lastCommittedActivationSeq > mySeq) return true;
|
|
483
|
+
const active = loadLicense();
|
|
484
|
+
if (active === activeAtEntry) return false;
|
|
485
|
+
return active !== _lastKeyWrittenInProcess;
|
|
486
|
+
};
|
|
487
|
+
const supersededDuringFlight = () => {
|
|
488
|
+
if (newerActivationLanded()) return true;
|
|
489
|
+
if (_lastPendingWriteSeq > mySeq) return true;
|
|
490
|
+
const held = loadPendingLicense();
|
|
491
|
+
if (held === heldAtEntry) return false;
|
|
492
|
+
return held !== _lastPendingWrittenInProcess;
|
|
493
|
+
};
|
|
494
|
+
const supersedesHeldKey = () => {
|
|
495
|
+
const held = loadPendingLicense();
|
|
496
|
+
if (held === heldAtEntry) return true;
|
|
497
|
+
if (_lastPendingWriteSeq < mySeq && held === _lastPendingWrittenInProcess) return true;
|
|
498
|
+
return false;
|
|
499
|
+
};
|
|
500
|
+
const refusalCoversHeldKey = () => loadPendingLicense() === apiKey;
|
|
501
|
+
const cf = await validateViaCFWorker(apiKey, did, 1e4, { defer: true });
|
|
502
|
+
if (cf.kind === "invalid") {
|
|
503
|
+
if (!newerActivationLanded()) {
|
|
504
|
+
clearLicenseCache();
|
|
505
|
+
clearPersonalFreeGrandfather();
|
|
506
|
+
}
|
|
507
|
+
if (refusalCoversHeldKey()) clearPendingLicense();
|
|
508
|
+
clearDeferredCloudSetup(apiKey);
|
|
509
|
+
return {
|
|
510
|
+
outcome: "rejected",
|
|
511
|
+
license: { ...FREE_LICENSE, valid: false },
|
|
512
|
+
persisted: false,
|
|
513
|
+
held: false,
|
|
514
|
+
reason: cf.reason,
|
|
515
|
+
reasonText: describeLicenseDenial(cf.reason)
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
if (cf.kind === "unreachable") {
|
|
519
|
+
const held = !supersededDuringFlight();
|
|
520
|
+
if (held) {
|
|
521
|
+
_lastPendingWriteSeq = mySeq;
|
|
522
|
+
_lastPendingWrittenInProcess = apiKey.trim();
|
|
523
|
+
savePendingLicense(apiKey);
|
|
524
|
+
}
|
|
525
|
+
reconcileDeferredCloudSetup(apiKey);
|
|
526
|
+
return {
|
|
527
|
+
outcome: "unreachable",
|
|
528
|
+
license: { ...FREE_LICENSE, valid: false },
|
|
529
|
+
persisted: false,
|
|
530
|
+
held
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
if (newerActivationLanded()) {
|
|
534
|
+
return { outcome: "valid", license: cf.license, persisted: false, held: false };
|
|
535
|
+
}
|
|
536
|
+
cf.commit?.();
|
|
537
|
+
_lastCommittedActivationSeq = mySeq;
|
|
538
|
+
noteActivationWrite(apiKey);
|
|
539
|
+
saveLicense(apiKey);
|
|
540
|
+
mirrorLicenseKey(apiKey);
|
|
541
|
+
if (heldAtEntry && heldAtEntry !== apiKey.trim() && supersedesHeldKey()) {
|
|
542
|
+
clearDeferredCloudSetup(heldAtEntry);
|
|
543
|
+
}
|
|
544
|
+
completeDeferredCloudSetup(apiKey);
|
|
545
|
+
if (supersedesHeldKey()) clearPendingLicense();
|
|
546
|
+
return { outcome: "valid", license: cf.license, persisted: true, held: false };
|
|
547
|
+
}
|
|
548
|
+
var PENDING_PROMOTION_TIMEOUT_MS = 5e3;
|
|
549
|
+
async function promotePendingLicense(timeoutMs = 1e4) {
|
|
550
|
+
const pending = loadPendingLicense();
|
|
551
|
+
if (!pending) return null;
|
|
552
|
+
const cf = await validateViaCFWorker(pending, loadDeviceId(), timeoutMs, { defer: true });
|
|
553
|
+
if (loadPendingLicense() !== pending) return null;
|
|
554
|
+
if (cf.kind === "valid") {
|
|
555
|
+
cf.commit?.();
|
|
556
|
+
_lastCommittedActivationSeq = Math.max(
|
|
557
|
+
_lastCommittedActivationSeq,
|
|
558
|
+
_lastPendingWriteSeq || _activationSeq
|
|
559
|
+
);
|
|
560
|
+
noteActivationWrite(pending);
|
|
561
|
+
saveLicense(pending);
|
|
562
|
+
mirrorLicenseKey(pending);
|
|
563
|
+
completeDeferredCloudSetup(pending);
|
|
564
|
+
clearPendingLicense();
|
|
565
|
+
return cf.license;
|
|
566
|
+
}
|
|
567
|
+
if (cf.kind === "invalid") {
|
|
568
|
+
clearPendingLicense();
|
|
569
|
+
clearDeferredCloudSetup(pending);
|
|
570
|
+
}
|
|
571
|
+
return null;
|
|
572
|
+
}
|
|
573
|
+
var _activationSeq = 0;
|
|
574
|
+
var _lastCommittedActivationSeq = 0;
|
|
575
|
+
var _lastKeyWrittenInProcess = null;
|
|
576
|
+
var _lastPendingWriteSeq = 0;
|
|
577
|
+
var _lastPendingWrittenInProcess = null;
|
|
578
|
+
function noteActivationWrite(apiKey) {
|
|
579
|
+
_lastKeyWrittenInProcess = apiKey.trim();
|
|
580
|
+
}
|
|
581
|
+
var _pendingPromotionInFlight = null;
|
|
582
|
+
function promoteOnce(timeoutMs) {
|
|
583
|
+
if (_pendingPromotionInFlight) return _pendingPromotionInFlight;
|
|
584
|
+
const run = promotePendingLicense(timeoutMs).catch(() => null);
|
|
585
|
+
_pendingPromotionInFlight = run;
|
|
586
|
+
void run.then(() => {
|
|
587
|
+
if (_pendingPromotionInFlight === run) _pendingPromotionInFlight = null;
|
|
588
|
+
});
|
|
589
|
+
return run;
|
|
590
|
+
}
|
|
591
|
+
function schedulePendingPromotion() {
|
|
592
|
+
if (_pendingPromotionInFlight) return;
|
|
593
|
+
if (!loadPendingLicense()) return;
|
|
594
|
+
void promoteOnce(PENDING_PROMOTION_TIMEOUT_MS);
|
|
595
|
+
}
|
|
596
|
+
function updateCloudBlock(mutate, createIfMissing = false) {
|
|
597
|
+
try {
|
|
598
|
+
const configPath = path.join(EXE_AI_DIR, "config.json");
|
|
599
|
+
const exists = existsSync(configPath);
|
|
600
|
+
if (!exists && !createIfMissing) return false;
|
|
601
|
+
if (!exists) mkdirSync(EXE_AI_DIR, { recursive: true, mode: 448 });
|
|
602
|
+
const raw = exists ? JSON.parse(readFileSync(configPath, "utf8")) : {};
|
|
603
|
+
if (!mutate(raw.cloud, raw)) return false;
|
|
604
|
+
const tmp = `${configPath}.${randomUUID()}.tmp`;
|
|
605
|
+
writeFileSync(tmp, JSON.stringify(raw, null, 2), { encoding: "utf8", mode: 384 });
|
|
606
|
+
renameSync(tmp, configPath);
|
|
607
|
+
return true;
|
|
608
|
+
} catch (err) {
|
|
609
|
+
process.stderr.write(
|
|
610
|
+
`[license] could not persist the cloud settings block: ${err instanceof Error ? err.message : String(err)}
|
|
611
|
+
`
|
|
612
|
+
);
|
|
613
|
+
return false;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function keyBinding(apiKey) {
|
|
617
|
+
return createHash("sha256").update(apiKey.trim()).digest("hex");
|
|
618
|
+
}
|
|
619
|
+
function recordDeferredCloudSetup(endpoint, apiKey) {
|
|
620
|
+
updateCloudBlock((cloud, raw) => {
|
|
621
|
+
if (cloud?.apiKey) return false;
|
|
622
|
+
raw.cloud = {
|
|
623
|
+
...cloud ?? {},
|
|
624
|
+
endpoint: cloud?.endpoint ?? endpoint,
|
|
625
|
+
pendingActivation: true,
|
|
626
|
+
pendingActivationFor: keyBinding(apiKey)
|
|
627
|
+
};
|
|
628
|
+
return true;
|
|
629
|
+
}, true);
|
|
630
|
+
}
|
|
631
|
+
function clearDeferredCloudSetup(apiKey) {
|
|
632
|
+
updateCloudBlock((cloud, raw) => {
|
|
633
|
+
if (!cloud?.pendingActivation) return false;
|
|
634
|
+
if (cloud.apiKey) return false;
|
|
635
|
+
if (cloud.pendingActivationFor !== keyBinding(apiKey)) return false;
|
|
636
|
+
delete raw.cloud;
|
|
637
|
+
return true;
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
function reconcileDeferredCloudSetup(apiKey) {
|
|
641
|
+
if (loadLicense() !== apiKey.trim()) return;
|
|
642
|
+
completeDeferredCloudSetup(apiKey.trim());
|
|
643
|
+
}
|
|
644
|
+
function completeDeferredCloudSetup(apiKey) {
|
|
645
|
+
try {
|
|
646
|
+
const configPath = path.join(EXE_AI_DIR, "config.json");
|
|
647
|
+
if (!existsSync(configPath)) return;
|
|
648
|
+
const raw = JSON.parse(readFileSync(configPath, "utf8"));
|
|
649
|
+
const cloud = raw.cloud;
|
|
650
|
+
if (!cloud?.pendingActivation) return;
|
|
651
|
+
if (cloud.apiKey) return;
|
|
652
|
+
if (cloud.pendingActivationFor !== keyBinding(apiKey)) return;
|
|
653
|
+
raw.cloud = {
|
|
654
|
+
...cloud,
|
|
655
|
+
apiKey,
|
|
656
|
+
endpoint: cloud.endpoint ?? API_BASE,
|
|
657
|
+
pendingActivation: void 0,
|
|
658
|
+
pendingActivationFor: void 0
|
|
659
|
+
};
|
|
660
|
+
const tmp = `${configPath}.${randomUUID()}.tmp`;
|
|
661
|
+
writeFileSync(tmp, JSON.stringify(raw, null, 2), { encoding: "utf8", mode: 384 });
|
|
662
|
+
renameSync(tmp, configPath);
|
|
663
|
+
} catch {
|
|
664
|
+
}
|
|
385
665
|
}
|
|
386
666
|
var CACHE_MAX_AGE_MS = 36e5;
|
|
387
667
|
function getCacheAgeMs() {
|
|
@@ -393,41 +673,53 @@ function getCacheAgeMs() {
|
|
|
393
673
|
}
|
|
394
674
|
}
|
|
395
675
|
function resolveLicenseKey() {
|
|
396
|
-
|
|
397
|
-
if (
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
key = cloud.apiKey;
|
|
405
|
-
saveLicense(key);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
} catch {
|
|
676
|
+
const active = loadLicense();
|
|
677
|
+
if (active) return { key: active, needsActivation: false };
|
|
678
|
+
try {
|
|
679
|
+
const configPath = path.join(EXE_AI_DIR, "config.json");
|
|
680
|
+
if (existsSync(configPath)) {
|
|
681
|
+
const raw = JSON.parse(readFileSync(configPath, "utf8"));
|
|
682
|
+
const cloud = raw.cloud;
|
|
683
|
+
if (cloud?.apiKey) return { key: cloud.apiKey, needsActivation: true };
|
|
409
684
|
}
|
|
685
|
+
} catch {
|
|
410
686
|
}
|
|
411
|
-
return key;
|
|
687
|
+
return { key: null, needsActivation: false };
|
|
412
688
|
}
|
|
413
689
|
async function checkLicense() {
|
|
414
|
-
const key = resolveLicenseKey();
|
|
415
|
-
if (
|
|
416
|
-
|
|
417
|
-
|
|
690
|
+
const { key, needsActivation } = resolveLicenseKey();
|
|
691
|
+
if (key) {
|
|
692
|
+
const cached = await getCachedLicense(key);
|
|
693
|
+
if (cached && getCacheAgeMs() < CACHE_MAX_AGE_MS) {
|
|
694
|
+
if (needsActivation && cached.valid) saveLicense(key);
|
|
695
|
+
schedulePendingPromotion();
|
|
696
|
+
return cached;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
const promoted = await promoteOnce(1e4);
|
|
700
|
+
if (promoted) return promoted;
|
|
701
|
+
const current = resolveLicenseKey();
|
|
702
|
+
if (!current.key) return FREE_LICENSE;
|
|
418
703
|
const deviceId = loadDeviceId();
|
|
419
|
-
|
|
704
|
+
const license = await validateLicense(current.key, deviceId);
|
|
705
|
+
if (current.needsActivation && license.valid) saveLicense(current.key);
|
|
706
|
+
return license;
|
|
420
707
|
}
|
|
421
708
|
async function refreshLicense(opts) {
|
|
422
|
-
const key = resolveLicenseKey();
|
|
709
|
+
const { key, needsActivation } = resolveLicenseKey();
|
|
423
710
|
const before = await getCachedLicense(key ?? void 0);
|
|
424
711
|
const oldPlan = before?.plan ?? null;
|
|
712
|
+
const promoted = await promoteOnce(opts?.timeoutMs ?? 1e4);
|
|
713
|
+
if (promoted) {
|
|
714
|
+
return { reachedCloud: true, changed: oldPlan !== null && oldPlan !== promoted.plan, oldPlan, license: promoted };
|
|
715
|
+
}
|
|
425
716
|
if (!key) {
|
|
426
717
|
return { reachedCloud: false, changed: false, oldPlan, license: before ?? FREE_LICENSE };
|
|
427
718
|
}
|
|
428
719
|
const deviceId = loadDeviceId();
|
|
429
720
|
const online = await validateViaCFWorker(key, deviceId, opts?.timeoutMs ?? 1e4);
|
|
430
721
|
if (online.kind === "valid") {
|
|
722
|
+
if (needsActivation) saveLicense(key);
|
|
431
723
|
return {
|
|
432
724
|
reachedCloud: true,
|
|
433
725
|
changed: oldPlan !== null && oldPlan !== online.license.plan,
|
|
@@ -436,8 +728,7 @@ async function refreshLicense(opts) {
|
|
|
436
728
|
};
|
|
437
729
|
}
|
|
438
730
|
if (online.kind === "invalid") {
|
|
439
|
-
|
|
440
|
-
clearPersonalFreeGrandfather();
|
|
731
|
+
purgeProofsOnDenial();
|
|
441
732
|
process.stderr.write(`[license] ${describeLicenseDenial(online.reason)}
|
|
442
733
|
`);
|
|
443
734
|
return {
|
|
@@ -555,8 +846,9 @@ async function assertVpsLicense(opts) {
|
|
|
555
846
|
const graceDays = opts?.offlineGraceDays ?? 7;
|
|
556
847
|
const graced = await getGraceVerifiedLicense(graceDays, apiKey);
|
|
557
848
|
if (graced) return graced;
|
|
849
|
+
const everHeldProof = readCachedLicenseToken() !== null;
|
|
558
850
|
throw new Error(
|
|
559
|
-
`License validation unreachable for more than ${graceDays} days. Restore network connectivity to https://api.askexe.com and retry. This VPS image refuses to boot after the offline grace window.`
|
|
851
|
+
everHeldProof ? `License validation unreachable for more than ${graceDays} days. Restore network connectivity to https://api.askexe.com and retry. This VPS image refuses to boot after the offline grace window.` : "License has never been validated on this image, and https://api.askexe.com did not answer just now. This is an activation that has not happened yet, not an expired offline grace window: no cached proof has ever existed here. Restore connectivity to https://api.askexe.com and retry."
|
|
560
852
|
);
|
|
561
853
|
}
|
|
562
854
|
var _revalTimer = null;
|
|
@@ -592,14 +884,22 @@ export {
|
|
|
592
884
|
loadDeviceId,
|
|
593
885
|
loadLicense,
|
|
594
886
|
saveLicense,
|
|
887
|
+
savePendingLicense,
|
|
888
|
+
loadPendingLicense,
|
|
889
|
+
clearPendingLicense,
|
|
595
890
|
getCachedLicense,
|
|
596
891
|
getGraceVerifiedLicense,
|
|
597
892
|
readCachedLicenseToken,
|
|
598
893
|
getLicenseCacheAgeMs,
|
|
599
894
|
licenseKeyFingerprint,
|
|
600
895
|
clearLicenseCache,
|
|
601
|
-
|
|
896
|
+
deleteLicense,
|
|
602
897
|
validateLicense,
|
|
898
|
+
validateLicenseDetailed,
|
|
899
|
+
activateLicenseKey,
|
|
900
|
+
recordDeferredCloudSetup,
|
|
901
|
+
clearDeferredCloudSetup,
|
|
902
|
+
reconcileDeferredCloudSetup,
|
|
603
903
|
checkLicense,
|
|
604
904
|
refreshLicense,
|
|
605
905
|
LICENSE_RECHECK_STALE_MS,
|