@wirecat/cli-memo 0.131.70 → 0.131.72
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/README.md +3 -3
- package/THIRD_PARTY_NOTICES +2 -0
- package/dist/actions/actions.d.ts +2 -1
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +5 -3
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +15 -6
- package/dist/actions/command.js.map +1 -1
- package/dist/answer.d.ts +1 -0
- package/dist/answer.d.ts.map +1 -1
- package/dist/answer.js +2 -1
- package/dist/answer.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-6JKSPBBO.js → all-profiles-G6S5HOBT.js} +5 -5
- package/dist/bundle/{anthropic-YA2N6EJ4.js → anthropic-LA6PXTPQ.js} +2 -2
- package/dist/bundle/{app-server-UP3AL2XQ.js → app-server-SESNZIAV.js} +35 -35
- package/dist/bundle/auto-WU47LYXJ.js +85 -0
- package/dist/bundle/{bun-OUFOAYV4.js → bun-PZNVNH4G.js} +2 -2
- package/dist/bundle/{bun-sqlite-5RZTFU2Q.js → bun-sqlite-VICDK5FS.js} +2 -2
- package/dist/bundle/{chunk-GVP6CAPH.js → chunk-2RNNWFU7.js} +33 -586
- package/dist/bundle/{chunk-OHA7HDPX.js → chunk-2VETW2QK.js} +1024 -676
- package/dist/bundle/{chunk-IHHXGTMX.js → chunk-3LS76TFB.js} +1 -1
- package/dist/bundle/{chunk-N73YBQ42.js → chunk-3ZSPTUG3.js} +9 -7
- package/dist/bundle/{chunk-7OXLZZ27.js → chunk-5XRCF57Z.js} +86 -2
- package/dist/bundle/{chunk-RHW3DDWI.js → chunk-6B3GQMR6.js} +1 -1
- package/dist/bundle/{chunk-EDPA54WQ.js → chunk-6Z62U7NY.js} +3 -3
- package/dist/bundle/{chunk-IJAILIZR.js → chunk-A4UQKFGY.js} +18 -18
- package/dist/bundle/{chunk-JMGQATR6.js → chunk-ASDOPGKC.js} +2 -2
- package/dist/bundle/{chunk-52F4LHCH.js → chunk-B7LGXY3S.js} +4 -4
- package/dist/bundle/{chunk-FQ54GW57.js → chunk-BD7AGXJJ.js} +8366 -8360
- package/dist/bundle/{chunk-FZHYGJQ2.js → chunk-CLQXHFKG.js} +5 -5
- package/dist/bundle/{chunk-VPKJZKXV.js → chunk-CPUQC7UF.js} +1 -1
- package/dist/bundle/{chunk-5OMM4CDT.js → chunk-ESYCZ575.js} +2 -2
- package/dist/bundle/{chunk-YXXAPVAZ.js → chunk-FDSM2TU6.js} +8 -8
- package/dist/bundle/{chunk-YBTUFOQG.js → chunk-FENNNSCI.js} +5 -5
- package/dist/bundle/{chunk-OBQ7TSUB.js → chunk-FHIGY5K6.js} +1 -1
- package/dist/bundle/{chunk-57SQU2YO.js → chunk-FOPDWCRG.js} +10 -6
- package/dist/bundle/{chunk-MK6SQ32Q.js → chunk-FPWF2XLH.js} +12 -12
- package/dist/bundle/{chunk-MYLNRBDF.js → chunk-FVJSDDSV.js} +46 -13
- package/dist/bundle/{chunk-EQKS6M52.js → chunk-FXZ7PQKG.js} +5 -5
- package/dist/bundle/{chunk-TV75OHKJ.js → chunk-G3FQTKHT.js} +7 -7
- package/dist/bundle/{chunk-WNA2WNDK.js → chunk-G7XOBQB5.js} +3 -3
- package/dist/bundle/{chunk-PSYQPO6D.js → chunk-H3LAORYX.js} +2 -2
- package/dist/bundle/{chunk-2DQYP2K3.js → chunk-HIHZNBR7.js} +1 -1
- package/dist/bundle/{chunk-22CDLXSR.js → chunk-I4HWKPQR.js} +4 -4
- package/dist/bundle/{chunk-QAXIZHK7.js → chunk-II2SXJEO.js} +33 -33
- package/dist/bundle/{chunk-2NFI7SDW.js → chunk-INQAQ55X.js} +2304 -1111
- package/dist/bundle/{chunk-LYAJUZM4.js → chunk-IRBYZUI7.js} +30 -30
- package/dist/bundle/{chunk-EO4JMJFZ.js → chunk-IXZWUHSG.js} +7 -7
- package/dist/bundle/{chunk-MWQI6FSU.js → chunk-K55WZ67L.js} +3 -3
- package/dist/bundle/{chunk-YTJWIJIG.js → chunk-KH43CUE2.js} +5 -5
- package/dist/bundle/{chunk-2C7Z7CKD.js → chunk-LIF2HXIQ.js} +1 -1
- package/dist/bundle/{chunk-3LGLKLBA.js → chunk-M2DAITNE.js} +2 -2
- package/dist/bundle/{chunk-OAO5UCPJ.js → chunk-MAGAWAPG.js} +1366 -1574
- package/dist/bundle/{chunk-7JFLHRQL.js → chunk-MKOQDN3I.js} +1 -1
- package/dist/bundle/{chunk-67VEVKMJ.js → chunk-MSTWHRLN.js} +1 -1
- package/dist/bundle/{chunk-GGFL64HF.js → chunk-NRLXWY4Q.js} +13170 -11987
- package/dist/bundle/{chunk-267N22E4.js → chunk-PGOMGFXA.js} +1 -1
- package/dist/bundle/{chunk-4HSWIXYE.js → chunk-PHL53ERQ.js} +4 -4
- package/dist/bundle/{chunk-53EAI4VZ.js → chunk-QUPPO7DB.js} +1 -1
- package/dist/bundle/{chunk-276KPJI5.js → chunk-RF6KPQWV.js} +2 -2
- package/dist/bundle/{chunk-3OEV7GNU.js → chunk-RGIS2DRA.js} +4 -4
- package/dist/bundle/{chunk-TXOXPQN2.js → chunk-SL2LXOCN.js} +2 -2
- package/dist/bundle/{chunk-QZU5IM5E.js → chunk-SR7C53CS.js} +2 -2
- package/dist/bundle/{chunk-ECHN36DC.js → chunk-STJWETNW.js} +4 -4
- package/dist/bundle/{chunk-BGWPKEKK.js → chunk-SVVSGUMU.js} +4 -4
- package/dist/bundle/{chunk-GVEY6743.js → chunk-THPGFRPZ.js} +9 -9
- package/dist/bundle/{chunk-V2YS63Z5.js → chunk-U3P5F57B.js} +1 -1
- package/dist/bundle/{chunk-PHSYMVYX.js → chunk-UCRR7R6Q.js} +2 -2
- package/dist/bundle/{chunk-2F35N6BI.js → chunk-UX52EWLQ.js} +1 -1
- package/dist/bundle/{chunk-XTEJXJJ3.js → chunk-WT2P44YD.js} +10 -10
- package/dist/bundle/{chunk-UEMI6FXR.js → chunk-XNX3U6GD.js} +6 -6
- package/dist/bundle/{chunk-3TFK7RBA.js → chunk-XXEHPPNS.js} +23908 -22107
- package/dist/bundle/{chunk-5EHUHZU5.js → chunk-YBL4QKLV.js} +80 -68
- package/dist/bundle/{chunk-7L4PBN5S.js → chunk-ZM6J47GY.js} +2 -2
- package/dist/bundle/{command-contract-OGW2DX4C.js → command-contract-7QECBB6M.js} +11 -11
- package/dist/bundle/{decode-IJMDTGTW.js → decode-WRWXOJML.js} +2 -2
- package/dist/bundle/{echarts-EHYUXOKP.js → echarts-MTCNTCST.js} +2 -2
- package/dist/bundle/{embed-RUY3UIVC.js → embed-PPPCHSTE.js} +3 -3
- package/dist/bundle/{embedder-P6WBMEGP.js → embedder-UJBIX6A2.js} +6 -6
- package/dist/bundle/{entry-7S2ONYSF.js → entry-W6SHKRBE.js} +4 -4
- package/dist/bundle/failure-NRJ3EPBO.js +65 -0
- package/dist/bundle/{first-run-MLIFZSVH.js → first-run-7HAWGQ3B.js} +5 -5
- package/dist/bundle/{first-screen-DGTTK6VK.js → first-screen-FRRTKWFB.js} +12 -12
- package/dist/bundle/{instructions-ZMG4FLGO.js → instructions-JKIO4JF7.js} +1 -1
- package/dist/bundle/{mcp-CFIL7WZU.js → mcp-OL6ZYF2T.js} +35 -35
- package/dist/bundle/memo.js +14 -11
- package/dist/bundle/{node-QYL4B7JS.js → node-3AIXDDDR.js} +2 -2
- package/dist/bundle/{node-sqlite-ESTT2OCF.js → node-sqlite-NX722DXD.js} +3 -3
- package/dist/bundle/{oauth-CFQFSIRQ.js → oauth-2NPSI7Q3.js} +4 -4
- package/dist/bundle/{open-3XO2HMIT.js → open-AFRN6Q36.js} +2 -2
- package/dist/bundle/{openai-STUNDBD6.js → openai-U5CQFLRU.js} +7 -7
- package/dist/bundle/{process-P4UAJCZX.js → process-J2IBN6X7.js} +1 -1
- package/dist/bundle/{program-RSUVU6HA.js → program-MRG4ZQQI.js} +2107 -516
- package/dist/bundle/{prompt-ZCYMFMIG.js → prompt-6XNKR4VQ.js} +2 -2
- package/dist/bundle/{recognize-V3BY33FK.js → recognize-G3GI32QS.js} +1 -1
- package/dist/bundle/{remote-IP4QR7SP.js → remote-DJO255PT.js} +4 -4
- package/dist/bundle/{rerank-VKUSF3DM.js → rerank-5SBZRIHF.js} +4 -4
- package/dist/bundle/{serve-VBIUARHJ.js → serve-BZVBKGU3.js} +6 -6
- package/dist/bundle/server-AEZPZ3ZD.js +48 -0
- package/dist/bundle/server-CIT5B2SV.js +61 -0
- package/dist/bundle/{server-BVRPQPGY.js → server-D5BJDKTJ.js} +62 -53
- package/dist/bundle/{state-UBAIZ2WP.js → state-A57F7T5D.js} +3 -3
- package/dist/bundle/{store-VQQVUA4W.js → store-JXD7SGIK.js} +9 -9
- package/dist/bundle/store-maintenance-command-5DG4SEQA.js +47 -0
- package/dist/bundle/update-NI24ED4V.js +68 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +5 -0
- package/dist/config.js.map +1 -1
- package/dist/context/command.d.ts +2 -1
- package/dist/context/command.d.ts.map +1 -1
- package/dist/context/command.js +34 -12
- package/dist/context/command.js.map +1 -1
- package/dist/context/context.d.ts +20 -8
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +65 -40
- package/dist/context/context.js.map +1 -1
- package/dist/contract-overrides/search.js +1 -1
- package/dist/contract-overrides/search.js.map +1 -1
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +2 -1
- package/dist/digest/digest.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +2 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/doctor/command.d.ts +22 -2
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +60 -10
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +7 -6
- package/dist/facts/command.js.map +1 -1
- package/dist/finance/deal-text.d.ts +4 -0
- package/dist/finance/deal-text.d.ts.map +1 -0
- package/dist/finance/deal-text.js +34 -0
- package/dist/finance/deal-text.js.map +1 -0
- package/dist/finance/deals-command.d.ts +1 -1
- package/dist/finance/deals-command.d.ts.map +1 -1
- package/dist/finance/deals-command.js +113 -13
- package/dist/finance/deals-command.js.map +1 -1
- package/dist/knowledge/business-text.d.ts +7 -0
- package/dist/knowledge/business-text.d.ts.map +1 -0
- package/dist/knowledge/business-text.js +19 -0
- package/dist/knowledge/business-text.js.map +1 -0
- package/dist/knowledge/command.d.ts +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +131 -42
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/money-text.d.ts +4 -0
- package/dist/knowledge/money-text.d.ts.map +1 -0
- package/dist/knowledge/money-text.js +16 -0
- package/dist/knowledge/money-text.js.map +1 -0
- package/dist/knowledge/organization-text.d.ts +7 -0
- package/dist/knowledge/organization-text.d.ts.map +1 -0
- package/dist/knowledge/organization-text.js +24 -0
- package/dist/knowledge/organization-text.js.map +1 -0
- package/dist/knowledge/project-actions-command.js +1 -1
- package/dist/knowledge/project-actions-command.js.map +1 -1
- package/dist/knowledge/project-actions.d.ts +1 -1
- package/dist/knowledge/project-actions.d.ts.map +1 -1
- package/dist/knowledge/project-actions.js +2 -2
- package/dist/knowledge/project-actions.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +27 -1
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/knowledge/project-context.js +9 -5
- package/dist/knowledge/project-context.js.map +1 -1
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +21 -5
- package/dist/knowledge/project-status-command.js.map +1 -1
- package/dist/knowledge/relationships.d.ts +27 -23
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/knowledge/relationships.js +65 -52
- package/dist/knowledge/relationships.js.map +1 -1
- package/dist/knowledge/roles-command.d.ts +8 -0
- package/dist/knowledge/roles-command.d.ts.map +1 -0
- package/dist/knowledge/roles-command.js +65 -0
- package/dist/knowledge/roles-command.js.map +1 -0
- package/dist/mcp/catalogue.d.ts +19 -1
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +9 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +6 -5
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/sources.js +2 -2
- package/dist/memories/sources.js.map +1 -1
- package/dist/models/command.d.ts +1 -1
- package/dist/models/command.d.ts.map +1 -1
- package/dist/models/command.js +2 -1
- package/dist/models/command.js.map +1 -1
- package/dist/notes/command.d.ts.map +1 -1
- package/dist/notes/command.js +13 -8
- package/dist/notes/command.js.map +1 -1
- package/dist/notes/embed.d.ts +6 -1
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +17 -8
- package/dist/notes/embed.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +7 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/identities-command.d.ts +5 -0
- package/dist/people/identities-command.d.ts.map +1 -0
- package/dist/people/identities-command.js +179 -0
- package/dist/people/identities-command.js.map +1 -0
- package/dist/people/identity.d.ts +5 -0
- package/dist/people/identity.d.ts.map +1 -1
- package/dist/people/identity.js +19 -2
- package/dist/people/identity.js.map +1 -1
- package/dist/program.d.ts +15 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +191 -5
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +84 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.js +2 -2
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts +3 -3
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +6 -6
- package/dist/review/review.js.map +1 -1
- package/dist/review/status.d.ts.map +1 -1
- package/dist/review/status.js +5 -4
- package/dist/review/status.js.map +1 -1
- package/dist/run/import.d.ts +8 -2
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +31 -11
- package/dist/run/import.js.map +1 -1
- package/dist/search/command.d.ts.map +1 -1
- package/dist/search/command.js +21 -3
- package/dist/search/command.js.map +1 -1
- package/dist/search/denied.d.ts +10 -0
- package/dist/search/denied.d.ts.map +1 -0
- package/dist/search/denied.js +10 -0
- package/dist/search/denied.js.map +1 -0
- package/dist/search/people.d.ts.map +1 -1
- package/dist/search/people.js +11 -1
- package/dist/search/people.js.map +1 -1
- package/dist/search/search.d.ts +2 -0
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +37 -12
- package/dist/search/search.js.map +1 -1
- package/dist/sources/command.d.ts +3 -1
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +3 -1
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/readers/api.d.ts +4 -0
- package/dist/sources/readers/api.d.ts.map +1 -0
- package/dist/sources/readers/api.js +48 -0
- package/dist/sources/readers/api.js.map +1 -0
- package/dist/sources/readers/claude-code.d.ts +7 -0
- package/dist/sources/readers/claude-code.d.ts.map +1 -0
- package/dist/sources/readers/claude-code.js +74 -0
- package/dist/sources/readers/claude-code.js.map +1 -0
- package/dist/sources/readers/codex.d.ts +7 -0
- package/dist/sources/readers/codex.d.ts.map +1 -0
- package/dist/sources/readers/codex.js +72 -0
- package/dist/sources/readers/codex.js.map +1 -0
- package/dist/sources/readers/index.d.ts +6 -0
- package/dist/sources/readers/index.d.ts.map +1 -0
- package/dist/sources/readers/index.js +8 -0
- package/dist/sources/readers/index.js.map +1 -0
- package/dist/sources/readers/keys.d.ts +13 -0
- package/dist/sources/readers/keys.d.ts.map +1 -0
- package/dist/sources/readers/keys.js +25 -0
- package/dist/sources/readers/keys.js.map +1 -0
- package/dist/sources/readers/ollama.d.ts +3 -0
- package/dist/sources/readers/ollama.d.ts.map +1 -0
- package/dist/sources/readers/ollama.js +60 -0
- package/dist/sources/readers/ollama.js.map +1 -0
- package/dist/sources/readers/process.d.ts +16 -0
- package/dist/sources/readers/process.d.ts.map +1 -0
- package/dist/sources/readers/process.js +49 -0
- package/dist/sources/readers/process.js.map +1 -0
- package/dist/sources/readers/types.d.ts +38 -0
- package/dist/sources/readers/types.d.ts.map +1 -0
- package/dist/sources/readers/types.js +2 -0
- package/dist/sources/readers/types.js.map +1 -0
- package/dist/sources/suggest-command.d.ts +9 -0
- package/dist/sources/suggest-command.d.ts.map +1 -0
- package/dist/sources/suggest-command.js +202 -0
- package/dist/sources/suggest-command.js.map +1 -0
- package/dist/sources/suggest.d.ts +56 -0
- package/dist/sources/suggest.d.ts.map +1 -0
- package/dist/sources/suggest.js +143 -0
- package/dist/sources/suggest.js.map +1 -0
- package/dist/store/group.d.ts +38 -0
- package/dist/store/group.d.ts.map +1 -0
- package/dist/store/group.js +112 -0
- package/dist/store/group.js.map +1 -0
- package/dist/store/groups-command.d.ts +10 -0
- package/dist/store/groups-command.d.ts.map +1 -0
- package/dist/store/groups-command.js +88 -0
- package/dist/store/groups-command.js.map +1 -0
- package/dist/store/guard.d.ts +29 -0
- package/dist/store/guard.d.ts.map +1 -0
- package/dist/store/guard.js +94 -0
- package/dist/store/guard.js.map +1 -0
- package/dist/store/scope.d.ts +3 -3
- package/dist/store/scope.d.ts.map +1 -1
- package/dist/store/scope.js +7 -6
- package/dist/store/scope.js.map +1 -1
- package/dist/store/source-list.d.ts +5 -1
- package/dist/store/source-list.d.ts.map +1 -1
- package/dist/store/source-list.js +30 -15
- package/dist/store/source-list.js.map +1 -1
- package/dist/tags/command.d.ts.map +1 -1
- package/dist/tags/command.js +3 -2
- package/dist/tags/command.js.map +1 -1
- package/dist/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +2 -1
- package/dist/tasks/shared.js.map +1 -1
- package/dist/tasks/tasks.js +3 -3
- package/dist/tasks/tasks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/cli-memo/SKILL.md +9 -9
- package/skills/cli-memo/topics/mcp.md +9 -0
- package/skills/cli-memo/topics/money.md +14 -1
- package/skills/cli-memo/topics/projects.md +2 -1
- package/skills/cli-memo/topics/proposals.md +40 -1
- package/skills/cli-memo/topics/search.md +15 -5
- package/dist/bundle/auto-CVILDIC6.js +0 -85
- package/dist/bundle/failure-HM55W3NH.js +0 -65
- package/dist/bundle/server-AASCSGCI.js +0 -61
- package/dist/bundle/server-YQLPZK4Z.js +0 -48
- package/dist/bundle/store-maintenance-command-GCBABKEZ.js +0 -47
- package/dist/bundle/update-ZE53ASCW.js +0 -68
- /package/dist/bundle/{chunk-AWVQHWIS.js → chunk-YSYFOIW7.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
isCliFailure,
|
|
5
5
|
secretNamed,
|
|
6
6
|
withoutSecrets
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M2DAITNE.js";
|
|
8
8
|
import {
|
|
9
9
|
isContentKey
|
|
10
10
|
} from "./chunk-UUBV5ATQ.js";
|
|
@@ -12,16 +12,18 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
16
16
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
17
17
|
import { createHash } from "node:crypto";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
20
20
|
import { homedir } from "node:os";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
23
23
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
24
24
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
25
|
+
if (event.event === "store")
|
|
26
|
+
return `${MARK.store} ${event.operation.padEnd(16)} ${event.table} ${event.op} ${event.n}`;
|
|
25
27
|
if (event.event === "warning") {
|
|
26
28
|
const counts = Object.entries(event.counts ?? {}).map(([field, count]) => `${count} ${field}`);
|
|
27
29
|
return [`${MARK.warning} ${(event.operation ?? "").padEnd(16)} ${event.code}`, ...counts, event.detail].filter(Boolean).join(" ");
|
|
@@ -63,11 +65,11 @@ var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
|
63
65
|
}
|
|
64
66
|
return `${MARK[event.event]} ${event.operation.padEnd(16)} ${parts.join(" ")}`.trimEnd();
|
|
65
67
|
}, "renderEvent");
|
|
66
|
-
var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!" };
|
|
68
|
+
var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!", store: "+" };
|
|
67
69
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
68
70
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
69
71
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
72
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
71
73
|
var MESSAGE_AT_MOST = 500;
|
|
72
74
|
var CAUSES_AT_MOST = 5;
|
|
73
75
|
var FRAMES_AT_MOST = 15;
|
|
@@ -176,7 +178,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
176
178
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
177
179
|
}, "redactText");
|
|
178
180
|
|
|
179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
180
182
|
var REDACTED = "[redacted]";
|
|
181
183
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
182
184
|
if (!record)
|
|
@@ -24,6 +24,12 @@ var REASONS = defineReasons([
|
|
|
24
24
|
message: "a backfill spends the owner's money on model calls; the owner runs it at a terminal or in WireCat Desktop",
|
|
25
25
|
details: []
|
|
26
26
|
},
|
|
27
|
+
{
|
|
28
|
+
reason: "roles.owner-only",
|
|
29
|
+
code: "permission_error",
|
|
30
|
+
message: "only the owner changes the role lists; an agent uses the roles they hold",
|
|
31
|
+
details: []
|
|
32
|
+
},
|
|
27
33
|
{
|
|
28
34
|
reason: "brief.owner-only",
|
|
29
35
|
code: "permission_error",
|
|
@@ -164,6 +170,12 @@ var REASONS = defineReasons([
|
|
|
164
170
|
details: []
|
|
165
171
|
},
|
|
166
172
|
{ reason: "person.not-found", code: "not_found", message: "the store has no person by that name", details: [] },
|
|
173
|
+
{
|
|
174
|
+
reason: "identity.not-found",
|
|
175
|
+
code: "not_found",
|
|
176
|
+
message: "no identity has that exact id; people show lists them",
|
|
177
|
+
details: []
|
|
178
|
+
},
|
|
167
179
|
{
|
|
168
180
|
reason: "identity.no-messenger",
|
|
169
181
|
code: "validation_error",
|
|
@@ -176,11 +188,83 @@ var REASONS = defineReasons([
|
|
|
176
188
|
message: "a --quote names none of the --evidence references, or one twice; write it as <ref>=<the words>",
|
|
177
189
|
details: []
|
|
178
190
|
},
|
|
179
|
-
{ reason: "auto.systemctl-failed", code: "provider_error", message: "systemctl failed", details: [] }
|
|
191
|
+
{ reason: "auto.systemctl-failed", code: "provider_error", message: "systemctl failed", details: [] },
|
|
192
|
+
{
|
|
193
|
+
reason: "stage.crm-copy",
|
|
194
|
+
code: "validation_error",
|
|
195
|
+
message: "the row is a CRM's copy: its CRM's CLI moves it to a base stage, as writes_with names it",
|
|
196
|
+
details: ["writes_with"]
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
reason: "reader.none-chosen",
|
|
200
|
+
code: "configuration_error",
|
|
201
|
+
message: "no reader is chosen for sources; the owner picks one with memo sources readers set <reader>",
|
|
202
|
+
details: ["readers"]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
reason: "reader.owner-picks",
|
|
206
|
+
code: "permission_error",
|
|
207
|
+
message: "only the owner picks the reader that reads a source; an agent uses the one the owner chose",
|
|
208
|
+
details: []
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
reason: "reader.unknown",
|
|
212
|
+
code: "validation_error",
|
|
213
|
+
message: "{reader} is not a reader memo knows; it reads with one of {readers}",
|
|
214
|
+
details: ["reader", "readers"]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
reason: "reader.unavailable",
|
|
218
|
+
code: "configuration_error",
|
|
219
|
+
message: "the chosen reader cannot read now; memo sources readers says why and what fixes it",
|
|
220
|
+
details: []
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
reason: "reader.model-missing",
|
|
224
|
+
code: "configuration_error",
|
|
225
|
+
message: "the reader needs a model the owner names; memo sources readers set <reader> --model <model>",
|
|
226
|
+
details: []
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
reason: "reader.no-key",
|
|
230
|
+
code: "authentication_error",
|
|
231
|
+
message: "no API key is kept for the reader's provider; memo models keys set <provider> keeps one",
|
|
232
|
+
details: []
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
reason: "reader.not-running",
|
|
236
|
+
code: "provider_unavailable",
|
|
237
|
+
message: "the local model server is not running on this computer; start it, then try again",
|
|
238
|
+
details: []
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
reason: "reader.timeout",
|
|
242
|
+
code: "timeout",
|
|
243
|
+
message: "the reader gave no answer in time; try again, or a smaller source",
|
|
244
|
+
details: []
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
reason: "reader.limit",
|
|
248
|
+
code: "rate_limited",
|
|
249
|
+
message: "the reader's provider says the limit is reached; try again later",
|
|
250
|
+
details: []
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
reason: "reader.failed",
|
|
254
|
+
code: "invalid_response",
|
|
255
|
+
message: "the reader failed; check its sign-in, key, model and credit, then try again",
|
|
256
|
+
details: []
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
reason: "reader.unusable-answer",
|
|
260
|
+
code: "invalid_response",
|
|
261
|
+
message: "the reader's answer was not the JSON memo asked for; nothing was staged, so try again",
|
|
262
|
+
details: []
|
|
263
|
+
}
|
|
180
264
|
]);
|
|
181
265
|
|
|
182
266
|
// dist/version.js
|
|
183
|
-
var VERSION = "0.131.
|
|
267
|
+
var VERSION = "0.131.72";
|
|
184
268
|
|
|
185
269
|
// dist/app.js
|
|
186
270
|
var APP = {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SVVSGUMU.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U3P5F57B.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./chunk-ZTONSM5X.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FVJSDDSV.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-H3LAORYX.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XXEHPPNS.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -28,36 +28,36 @@ import {
|
|
|
28
28
|
authorityAllowed,
|
|
29
29
|
botApiAllowed,
|
|
30
30
|
changesMessenger,
|
|
31
|
-
enclosingTraceId,
|
|
32
31
|
flatten,
|
|
33
|
-
inRun,
|
|
34
32
|
judgedAnswer,
|
|
35
33
|
judgedEffects,
|
|
36
34
|
keyForCommand,
|
|
37
35
|
levelFor,
|
|
38
36
|
listOf,
|
|
39
|
-
newRunId,
|
|
40
37
|
readKeysForCommand,
|
|
41
38
|
refuseStoreChange,
|
|
42
39
|
sealed,
|
|
43
|
-
startRecording
|
|
44
|
-
|
|
45
|
-
} from "./chunk-OAO5UCPJ.js";
|
|
40
|
+
startRecording
|
|
41
|
+
} from "./chunk-MAGAWAPG.js";
|
|
46
42
|
import {
|
|
47
43
|
currentCaller,
|
|
48
44
|
keepsSuccess,
|
|
49
45
|
runContextOf,
|
|
50
46
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3ZSPTUG3.js";
|
|
52
48
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
enclosingTraceId,
|
|
50
|
+
inRun,
|
|
51
|
+
newRunId,
|
|
52
|
+
queryDescription,
|
|
53
|
+
traceOf
|
|
54
|
+
} from "./chunk-INQAQ55X.js";
|
|
55
55
|
import {
|
|
56
56
|
storeDamaged
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-M2DAITNE.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_BUFFERED_INPUT
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-LIF2HXIQ.js";
|
|
61
61
|
import {
|
|
62
62
|
captureStreams,
|
|
63
63
|
traceIdOf
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
__name
|
|
110
110
|
} from "./chunk-ZVVMGPBJ.js";
|
|
111
111
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
113
113
|
import { Readable } from "node:stream";
|
|
114
114
|
|
|
115
115
|
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
@@ -3199,7 +3199,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3199
3199
|
]
|
|
3200
3200
|
});
|
|
3201
3201
|
|
|
3202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3203
3203
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3204
3204
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3205
3205
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3422,7 +3422,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3422
3422
|
}
|
|
3423
3423
|
}, "runCommandForAgent");
|
|
3424
3424
|
|
|
3425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3426
3426
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3427
3427
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3428
3428
|
var message = pipe(
|
|
@@ -3681,7 +3681,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3681
3681
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3682
3682
|
}, "failed");
|
|
3683
3683
|
|
|
3684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3685
3685
|
import { randomUUID } from "node:crypto";
|
|
3686
3686
|
var MATCHES = 8;
|
|
3687
3687
|
var ANSWER = answerSchema();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MAGAWAPG.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} from "./chunk-HE2F4JII.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.619.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_25b690dd810be59ade44e4d26e61c9f5/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FVJSDDSV.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MAGAWAPG.js";
|
|
12
12
|
import {
|
|
13
13
|
storeDamaged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M2DAITNE.js";
|
|
15
15
|
import {
|
|
16
16
|
interactiveOf,
|
|
17
17
|
optionsOf
|
|
18
18
|
} from "./chunk-BPGYTJNB.js";
|
|
19
19
|
import {
|
|
20
20
|
APP
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5XRCF57Z.js";
|
|
22
22
|
import {
|
|
23
23
|
ValiError,
|
|
24
24
|
errorObjectOf,
|