@wirecat/cli-memo 0.131.20 → 0.131.22
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 +5 -6
- package/dist/actions/command.d.ts +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +12 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
- package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
- package/dist/bundle/{app-server-VHVC55S3.js → app-server-PRQVGA5X.js} +53 -48
- package/dist/bundle/auto-S3AYMAGB.js +86 -0
- package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
- package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
- package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
- package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
- package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-3B645KUY.js} +15 -15
- package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
- package/dist/bundle/{chunk-3BMUVKC7.js → chunk-4SGCOUQ6.js} +13 -9
- package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
- package/dist/bundle/{chunk-D6G23NFJ.js → chunk-5UOOH7VG.js} +2 -2
- package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-6JOT5KWM.js} +563 -351
- package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
- package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
- package/dist/bundle/{chunk-JHKTN6NL.js → chunk-7W3RCCRR.js} +13 -11
- package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
- package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
- package/dist/bundle/{chunk-TQNQS6TR.js → chunk-CBYZW5CC.js} +64 -60
- package/dist/bundle/chunk-CCHHEMPM.js +71 -0
- package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
- package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
- package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
- package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
- package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
- package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
- package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
- package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
- package/dist/bundle/chunk-EW3XTUPB.js +166 -0
- package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
- package/dist/bundle/{chunk-2R25UBIH.js → chunk-HXRIV2TV.js} +26 -24
- package/dist/bundle/{chunk-BPYQYZXA.js → chunk-IFWBFYXN.js} +14 -12
- package/dist/bundle/{chunk-4G46QFK5.js → chunk-ILC7NFS2.js} +7 -5
- package/dist/bundle/chunk-ILHTNOIV.js +23 -0
- package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
- package/dist/bundle/{chunk-G7TF4E7B.js → chunk-J35OGOCI.js} +8 -2
- package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
- package/dist/bundle/{chunk-VQGVPDMH.js → chunk-KXERKAID.js} +20 -16
- package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
- package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
- package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
- package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
- package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
- package/dist/bundle/{chunk-KIEBEYKH.js → chunk-OFYKXQMS.js} +10 -8
- package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
- package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
- package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
- package/dist/bundle/chunk-PQLBPYJR.js +46 -0
- package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
- package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
- package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
- package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
- package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
- package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
- package/dist/bundle/{chunk-WRPRPVZF.js → chunk-SO2YVKBK.js} +44 -42
- package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
- package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
- package/dist/bundle/{chunk-FRB4UXJG.js → chunk-UCINAEIA.js} +6 -6
- package/dist/bundle/{chunk-GJKM32WA.js → chunk-UG2V7BQY.js} +24 -22
- package/dist/bundle/{chunk-2MNEM2CH.js → chunk-VDBFSLHP.js} +9 -7
- package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
- package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
- package/dist/bundle/chunk-VXHN3SWW.js +35 -0
- package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
- package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
- package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
- package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
- package/dist/bundle/{chunk-NKTAEBCU.js → chunk-XW4KGSAA.js} +13 -9
- package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
- package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
- package/dist/bundle/{chunk-XWS4PTES.js → chunk-ZKWE5MCA.js} +968 -287
- package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
- package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
- package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
- package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
- package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
- package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
- package/dist/bundle/{entry-K2WWMF2B.js → entry-L42C5CHF.js} +7 -5
- package/dist/bundle/failure-TQJGSWRU.js +66 -0
- package/dist/bundle/failure-Z2FXWIBY.js +24 -0
- package/dist/bundle/first-run-TT6KMHKA.js +27 -0
- package/dist/bundle/first-screen-56KZKY77.js +30 -0
- package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
- package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
- package/dist/bundle/mcp-PNC3TI7O.js +90 -0
- package/dist/bundle/memo.js +182 -39
- package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
- package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
- package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
- package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
- package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
- package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
- package/dist/bundle/{program-62ISSWCE.js → program-ZIRYOO2T.js} +8414 -8372
- package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
- package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
- package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
- package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
- package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
- package/dist/bundle/server-F2PSE6LG.js +48 -0
- package/dist/bundle/server-K5JYA3ZT.js +61 -0
- package/dist/bundle/{server-NB3U4PPW.js → server-VO5SXU5A.js} +69 -63
- package/dist/bundle/{setup-ZGH5OZ7A.js → setup-X6OJ3K4F.js} +47 -43
- package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
- package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
- package/dist/bundle/store-maintenance-command-R4CP6AZN.js +48 -0
- package/dist/bundle/update-M6AIJ2SZ.js +69 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides/skill.d.ts.map +1 -1
- package/dist/contract-overrides/skill.js +14 -0
- package/dist/contract-overrides/skill.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +31 -1
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +8 -52
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/project-actions-command.js +1 -1
- package/dist/knowledge/project-actions-command.js.map +1 -1
- package/dist/knowledge/project-gather-command.d.ts.map +1 -1
- package/dist/knowledge/project-gather-command.js +32 -19
- package/dist/knowledge/project-gather-command.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts +8 -0
- package/dist/knowledge/relationships-scan.d.ts.map +1 -0
- package/dist/knowledge/relationships-scan.js +95 -0
- package/dist/knowledge/relationships-scan.js.map +1 -0
- package/dist/mail/command.d.ts.map +1 -1
- package/dist/mail/command.js +11 -1
- package/dist/mail/command.js.map +1 -1
- package/dist/mail/findings-command.d.ts +8 -0
- package/dist/mail/findings-command.d.ts.map +1 -0
- package/dist/mail/findings-command.js +80 -0
- package/dist/mail/findings-command.js.map +1 -0
- package/dist/mail/messages-command.d.ts.map +1 -1
- package/dist/mail/messages-command.js +27 -3
- package/dist/mail/messages-command.js.map +1 -1
- package/dist/mail/review-command.d.ts +12 -0
- package/dist/mail/review-command.d.ts.map +1 -0
- package/dist/mail/review-command.js +46 -0
- package/dist/mail/review-command.js.map +1 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -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/program.d.ts.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +0 -6
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +14 -45
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/status.d.ts +1 -0
- package/dist/review/status.d.ts.map +1 -1
- package/dist/schedule/command.d.ts +3 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +6 -1
- package/dist/schedule/command.js.map +1 -1
- package/dist/store/source-list.d.ts +2 -0
- package/dist/store/source-list.d.ts.map +1 -1
- package/dist/store/source-list.js +6 -0
- package/dist/store/source-list.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/skills/cli-memo/SKILL.md +13 -5
- package/skills/mail-triage/SKILL.md +120 -0
- package/dist/bundle/auto-GDLRYDYK.js +0 -82
- package/dist/bundle/chunk-7J5HTZCM.js +0 -18
- package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
- package/dist/bundle/failure-OJI6C5JA.js +0 -62
- package/dist/bundle/first-run-7P5N72VR.js +0 -23
- package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
- package/dist/bundle/mcp-YGWNSJUH.js +0 -86
- package/dist/bundle/server-SWUSQSRW.js +0 -44
- package/dist/bundle/server-W4IKTTUY.js +0 -57
- package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
- package/dist/bundle/update-2IYA7RJU.js +0 -65
- /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.js} +0 -0
package/README.md
CHANGED
|
@@ -235,9 +235,9 @@ decided in messaging — `tg personal contacts link <person> email:<address>`
|
|
|
235
235
|
`memo notes links add telegram:"Alice Example" /path/to/notes/people/Alice.md` names the note that is about her.
|
|
236
236
|
|
|
237
237
|
Organizations and projects are yours, not one account's. Relationships (`member-of`, `related-to`) are
|
|
238
|
-
manual statements; `relationships scan` only proposes
|
|
239
|
-
can hold meetings (`projects meetings link`), and `memo vocabulary` gives projects and
|
|
240
|
-
aliases, so one name always means one project.
|
|
238
|
+
manual statements; `relationships scan` only proposes a project's likely chats and people, or shared-domain links,
|
|
239
|
+
for you to confirm. A project can hold meetings (`projects meetings link`), and `memo vocabulary` gives projects and
|
|
240
|
+
topics reviewed aliases, so one name always means one project.
|
|
241
241
|
|
|
242
242
|
Before adding a new tag or topic, run `memo vocabulary check <name> --json`. Reuse a
|
|
243
243
|
canonical label or add an alias if it means the same thing. For a deliberately distinct label,
|
|
@@ -310,9 +310,8 @@ It can open search references with `notes_show` and `messages_show`. Existing to
|
|
|
310
310
|
An agent's new memories, directly recorded facts and outbound action proposals start as `proposed`.
|
|
311
311
|
Permission keys limit reading, editing and decisions; writes without a saved level use `ask`, which runs over MCP
|
|
312
312
|
without a terminal question. Source-folder and mail-rule changes need `mcp.authority`, off by default.
|
|
313
|
-
Project proposals have a separate flow: by default
|
|
314
|
-
facts and numbered tasks or confirming a key document.
|
|
315
|
-
decisions on project proposals. Meeting decisions and annotation restore require explicit permissions. Memo never sends a message
|
|
313
|
+
Project proposals have a separate flow: by default only you decide them. Set `agent_decisions: true` to let an agent
|
|
314
|
+
decide them with a recorded reason, creating accepted facts and numbered tasks or confirming a key document. Meeting decisions and annotation restore require explicit permissions. Memo never sends a message
|
|
316
315
|
or email. `memo agents list` lists each call, its result and time, without its arguments.
|
|
317
316
|
|
|
318
317
|
More: [memories and facts](https://github.com/WireCatLabs/cli-memo/blob/main/docs/memories.md) · [the MCP server](https://github.com/WireCatLabs/cli-memo/blob/main/docs/mcp.md) ·
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Streams } from "@wirecat/cli-base";
|
|
2
2
|
import type { Command } from "commander";
|
|
3
3
|
export declare const actionsCommand: (program: Command, streams: Streams, env: NodeJS.ProcessEnv) => void;
|
|
4
4
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/actions/command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/actions/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAK1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAiBxC,eAAO,MAAM,cAAc,YAAa,OAAO,WAAW,OAAO,OAAO,MAAM,CAAC,UAAU,KAAG,IAyG3F,CAAA"}
|
package/dist/actions/command.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { CliError } from "@wirecat/cli-base";
|
|
1
2
|
import { annotate } from "@wirecat/cli-base/commands";
|
|
2
3
|
import { LOCAL_READ, LOCAL_WRITE, withQuery } from "@wirecat/cli-core/cli";
|
|
3
4
|
import { approveAsTask, proposalRegistry } from "@wirecat/cli-core/services";
|
|
4
|
-
import { assertMayDecide } from "@wirecat/cli-core/store";
|
|
5
|
+
import { assertMayDecide, MAIL_FINDINGS_KIND } from "@wirecat/cli-core/store";
|
|
5
6
|
import { answers, itemAnswer } from "../answer.js";
|
|
6
7
|
import { byOption, deciderOf, whoRuns } from "../author.js";
|
|
7
8
|
import { positive } from "../options.js";
|
|
9
|
+
import { reviewRegistry } from "../review/kinds.js";
|
|
8
10
|
import { decideOne, decisionOf } from "../review/review.js";
|
|
9
11
|
import { writeAccount, writeOptions } from "../store/source-list.js";
|
|
10
12
|
import { ACTION_QUERY, decideFindings, listActions, propose, showAction, } from "./actions.js";
|
|
@@ -46,6 +48,15 @@ export const actionsCommand = (program, streams, env) => {
|
|
|
46
48
|
.action(async (id, findings, options, command) => {
|
|
47
49
|
const by = await deciderOf(command, env, { ...options, question: `confirm action ${id} as you, the owner?` });
|
|
48
50
|
await run(options.json, async (store) => {
|
|
51
|
+
if ((await store.proposedActions.get(id)).kind === MAIL_FINDINGS_KIND) {
|
|
52
|
+
// registry.get carries no owner-only mark: the generic path below would let an agent make the batch a task.
|
|
53
|
+
const parts = findings.length ? findings.map((finding) => `${id}/${finding}`) : [id];
|
|
54
|
+
const { decided, refused } = await reviewRegistry(store, env).decide(parts, decisionOf(true, by, options.reason));
|
|
55
|
+
const refusal = refused[0];
|
|
56
|
+
if (refusal)
|
|
57
|
+
throw new CliError(refusal.code, refusal.message, { reason: refusal.reason });
|
|
58
|
+
return itemAnswer({ decided });
|
|
59
|
+
}
|
|
49
60
|
const findingsAnswer = await decideFindings(store, id, { ...options, accept: findings, confirm: true, by });
|
|
50
61
|
if (findingsAnswer)
|
|
51
62
|
return itemAnswer(findingsAnswer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../src/actions/command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../src/actions/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAgB,MAAM,mBAAmB,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC5E,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE7E,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EAAqB,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACvF,OAAO,EACL,YAAY,EAEZ,cAAc,EACd,WAAW,EAEX,OAAO,EACP,UAAU,GACX,MAAM,cAAc,CAAA;AAErB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAgB,EAAE,OAAgB,EAAE,GAAsB,EAAQ,EAAE;IACjG,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,OAAO,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AK,EAAE,EAAE;YACtC,MAAM,cAAc,GAAG,MAAM,cAAc,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAA;YACtG,IAAI,cAAc;gBAAE,OAAO,UAAU,CAAC,cAAc,CAAC,CAAA;YACrD,MAAM,SAAS,CAAC,KAAK,EAAE,EAAE,EAAE,UAAU,CAAC,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;YACjE,OAAO,UAAU,CAAC,MAAM,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAA;QACxD,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACN,CAAC,CAAA"}
|
package/dist/bin/memo.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.131.
|
|
12
|
+
process.stdout.write("0.131.22\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-EZLU6CY7.js","../bundle/anthropic-XC34PJH5.js","../bundle/app-server-PRQVGA5X.js","../bundle/auto-S3AYMAGB.js","../bundle/bun-CKGKUKW5.js","../bundle/bun-sqlite-S6KUSMTC.js","../bundle/command-contract-TMVGYSQQ.js","../bundle/decode-6XSZIZAA.js","../bundle/dispatch-VUMQPYMA.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-NGS4QG4E.js","../bundle/embed-YNH5M6UL.js","../bundle/embedder-LLNK4JF4.js","../bundle/entry-L42C5CHF.js","../bundle/failure-TQJGSWRU.js","../bundle/failure-Z2FXWIBY.js","../bundle/first-run-TT6KMHKA.js","../bundle/first-screen-56KZKY77.js","../bundle/instructions-4EJ4BBWD.js","../bundle/mcp-MNI62HHE.js","../bundle/mcp-PNC3TI7O.js","../bundle/node-P4E63KXA.js","../bundle/node-QQXKQWNC.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-GJI2GMLW.js","../bundle/oauth-Q5VGUPUR.js","../bundle/open-NSXIYF3N.js","../bundle/openai-LHH7MSGQ.js","../bundle/process-PI6XUJWP.js","../bundle/program-ZIRYOO2T.js","../bundle/prompt-VFXA7IKL.js","../bundle/recognize-UWAARXOH.js","../bundle/remote-KGEVCB2Q.js","../bundle/rerank-SCBTCBPO.js","../bundle/serve-WPVKVR24.js","../bundle/server-F2PSE6LG.js","../bundle/server-K5JYA3ZT.js","../bundle/server-VO5SXU5A.js","../bundle/setup-X6OJ3K4F.js","../bundle/state-KGHS4C6J.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-VCVOIQES.js","../bundle/store-maintenance-command-R4CP6AZN.js","../bundle/update-M6AIJ2SZ.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
package/dist/bin/memo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memo.js","sourceRoot":"","sources":["../../src/bin/memo.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"memo.js","sourceRoot":"","sources":["../../src/bin/memo.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MA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AAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAA;YAC7G,uEAAuE;YACvE,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;YACnC,cAAc,CAAC,UAAU,CACvB,WAAW,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,aAAa,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAC7F,CAAA;YACD,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;QAChC,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -6,17 +6,19 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-3X4JM3ZR.js";
|
|
13
|
-
import "./chunk-F5CQ2NVA.js";
|
|
9
|
+
} from "./chunk-5RBLNI6C.js";
|
|
10
|
+
import "./chunk-IRDGD3QQ.js";
|
|
11
|
+
import "./chunk-CCOYC6HL.js";
|
|
14
12
|
import "./chunk-MM5NVP7F.js";
|
|
13
|
+
import "./chunk-3X4JM3ZR.js";
|
|
15
14
|
import "./chunk-H3ZN4YLB.js";
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-RC7TIYUZ.js";
|
|
16
|
+
import "./chunk-PF3ALSAV.js";
|
|
17
17
|
import "./chunk-NUN6OGOV.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-CDZZ2DZO.js";
|
|
19
|
+
import "./chunk-EG2OMKWH.js";
|
|
19
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
+
import "./chunk-CCHHEMPM.js";
|
|
20
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
21
23
|
export {
|
|
22
24
|
CHILD_IDLE_MS,
|
|
@@ -2,26 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E5FQ7U7L.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KUNA6MQZ.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
+
import "./chunk-CDZZ2DZO.js";
|
|
13
14
|
import {
|
|
14
15
|
array,
|
|
15
16
|
optional,
|
|
16
17
|
strictObject,
|
|
17
18
|
string
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EG2OMKWH.js";
|
|
19
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
+
import "./chunk-CCHHEMPM.js";
|
|
20
22
|
import {
|
|
21
23
|
__name
|
|
22
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
25
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
25
27
|
var options = strictObject({
|
|
26
28
|
stop_sequences: optional(array(string()))
|
|
27
29
|
});
|
|
@@ -3,31 +3,41 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SO2YVKBK.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-KXERKAID.js";
|
|
14
|
+
import "./chunk-HXRIV2TV.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XA6YO24S.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RG6ITTLQ.js";
|
|
22
|
+
import {
|
|
23
|
+
appInstructions
|
|
24
|
+
} from "./chunk-OJRLTJRS.js";
|
|
22
25
|
import {
|
|
23
26
|
answeredWire
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-IRDGD3QQ.js";
|
|
28
|
+
import "./chunk-CCOYC6HL.js";
|
|
29
|
+
import {
|
|
30
|
+
StdioServerTransport,
|
|
31
|
+
serveStdio
|
|
32
|
+
} from "./chunk-MM5NVP7F.js";
|
|
26
33
|
import "./chunk-3X4JM3ZR.js";
|
|
27
|
-
import
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
import "./chunk-
|
|
34
|
+
import {
|
|
35
|
+
McpServer
|
|
36
|
+
} from "./chunk-H3ZN4YLB.js";
|
|
37
|
+
import "./chunk-UG2V7BQY.js";
|
|
38
|
+
import "./chunk-ZKWE5MCA.js";
|
|
39
|
+
import "./chunk-SXGAIQ5X.js";
|
|
40
|
+
import "./chunk-WEOFWTWZ.js";
|
|
31
41
|
import {
|
|
32
42
|
DEFAULT_OUTPUT_BYTES,
|
|
33
43
|
changesAuthorityAt,
|
|
@@ -36,54 +46,49 @@ import {
|
|
|
36
46
|
judgedTargets,
|
|
37
47
|
readsOverMcpAt,
|
|
38
48
|
rootOf2 as rootOf
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-VQM3H422.js";
|
|
50
|
+
import "./chunk-RC7TIYUZ.js";
|
|
51
|
+
import "./chunk-3V4WIGWC.js";
|
|
52
|
+
import "./chunk-PQLBPYJR.js";
|
|
53
|
+
import "./chunk-SMDWUPXE.js";
|
|
44
54
|
import {
|
|
45
55
|
readOnlyLockOf
|
|
46
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-NELE7AIX.js";
|
|
47
57
|
import {
|
|
48
58
|
mcpHttpMarker
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
import
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
import
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-LDVU22MF.js";
|
|
65
|
-
import "./chunk-57Q6NXQT.js";
|
|
66
|
-
import "./chunk-2KOVYXWK.js";
|
|
67
|
-
import "./chunk-Z54GPSVH.js";
|
|
68
|
-
import "./chunk-JDJDNMCP.js";
|
|
69
|
-
import "./chunk-LKYHSVQL.js";
|
|
70
|
-
import "./chunk-RFB5LOYR.js";
|
|
71
|
-
import "./chunk-7J5HTZCM.js";
|
|
59
|
+
} from "./chunk-CP5N3KH3.js";
|
|
60
|
+
import "./chunk-RHJC4PHV.js";
|
|
61
|
+
import "./chunk-AIIQ7YU4.js";
|
|
62
|
+
import "./chunk-YAUDFROV.js";
|
|
63
|
+
import "./chunk-RNXYDBQO.js";
|
|
64
|
+
import "./chunk-PF3ALSAV.js";
|
|
65
|
+
import "./chunk-7F6FGMCC.js";
|
|
66
|
+
import "./chunk-2TBIVKBH.js";
|
|
67
|
+
import "./chunk-DZSWKA3K.js";
|
|
68
|
+
import "./chunk-KUNA6MQZ.js";
|
|
69
|
+
import "./chunk-WUCQ56RP.js";
|
|
70
|
+
import "./chunk-LGNS4JVK.js";
|
|
71
|
+
import "./chunk-LR5EY5JY.js";
|
|
72
|
+
import "./chunk-VXHN3SWW.js";
|
|
73
|
+
import "./chunk-ILHTNOIV.js";
|
|
72
74
|
import "./chunk-NUN6OGOV.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-D72URWJE.js";
|
|
76
|
+
import "./chunk-OUF6RCRZ.js";
|
|
77
|
+
import "./chunk-2NJUPIAO.js";
|
|
78
|
+
import "./chunk-CDZZ2DZO.js";
|
|
77
79
|
import {
|
|
78
|
-
CliError,
|
|
79
80
|
mcpErrorResult
|
|
80
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-EG2OMKWH.js";
|
|
81
82
|
import "./chunk-Y5E2WNWB.js";
|
|
83
|
+
import {
|
|
84
|
+
CliError
|
|
85
|
+
} from "./chunk-CCHHEMPM.js";
|
|
86
|
+
import "./chunk-7MLWSUEK.js";
|
|
82
87
|
import {
|
|
83
88
|
__name
|
|
84
89
|
} from "./chunk-ZVVMGPBJ.js";
|
|
85
90
|
|
|
86
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
87
92
|
var EXCLUDED = [["mcp"]];
|
|
88
93
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
89
94
|
const { app } = options;
|
|
@@ -198,7 +203,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
198
203
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
199
204
|
const { app } = options;
|
|
200
205
|
const { build } = createAppServer(command, context, options);
|
|
201
|
-
const { serveOverHttp } = await import("./serve-
|
|
206
|
+
const { serveOverHttp } = await import("./serve-WPVKVR24.js");
|
|
202
207
|
const listening = await serveOverHttp(build, {
|
|
203
208
|
...http,
|
|
204
209
|
appName: app.command,
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
DEFAULT_EVERY,
|
|
5
|
+
PLACE_VARIABLES,
|
|
6
|
+
applyAuto,
|
|
7
|
+
autoCommand,
|
|
8
|
+
autoNotice,
|
|
9
|
+
autoState,
|
|
10
|
+
followInstall,
|
|
11
|
+
globalRoots,
|
|
12
|
+
interval,
|
|
13
|
+
lastAutoRun,
|
|
14
|
+
placesOf,
|
|
15
|
+
recordAutoRun,
|
|
16
|
+
serviceUnit,
|
|
17
|
+
timerUnit
|
|
18
|
+
} from "./chunk-VDBFSLHP.js";
|
|
19
|
+
import "./chunk-4SGCOUQ6.js";
|
|
20
|
+
import "./chunk-XW4KGSAA.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-6JOT5KWM.js";
|
|
23
|
+
import "./chunk-ZD3STMY7.js";
|
|
24
|
+
import "./chunk-DNGHE2Q4.js";
|
|
25
|
+
import "./chunk-HXRIV2TV.js";
|
|
26
|
+
import "./chunk-XA6YO24S.js";
|
|
27
|
+
import "./chunk-RG6ITTLQ.js";
|
|
28
|
+
import "./chunk-CBYZW5CC.js";
|
|
29
|
+
import "./chunk-UG2V7BQY.js";
|
|
30
|
+
import "./chunk-ZKWE5MCA.js";
|
|
31
|
+
import "./chunk-SXGAIQ5X.js";
|
|
32
|
+
import "./chunk-GV2FSWFS.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-WEOFWTWZ.js";
|
|
35
|
+
import "./chunk-VQM3H422.js";
|
|
36
|
+
import "./chunk-RC7TIYUZ.js";
|
|
37
|
+
import "./chunk-IFWBFYXN.js";
|
|
38
|
+
import "./chunk-3V4WIGWC.js";
|
|
39
|
+
import "./chunk-PQLBPYJR.js";
|
|
40
|
+
import "./chunk-SMDWUPXE.js";
|
|
41
|
+
import "./chunk-7W3RCCRR.js";
|
|
42
|
+
import "./chunk-NELE7AIX.js";
|
|
43
|
+
import "./chunk-CP5N3KH3.js";
|
|
44
|
+
import "./chunk-RHJC4PHV.js";
|
|
45
|
+
import "./chunk-AIIQ7YU4.js";
|
|
46
|
+
import "./chunk-YAUDFROV.js";
|
|
47
|
+
import "./chunk-RNXYDBQO.js";
|
|
48
|
+
import "./chunk-PF3ALSAV.js";
|
|
49
|
+
import "./chunk-7F6FGMCC.js";
|
|
50
|
+
import "./chunk-2TBIVKBH.js";
|
|
51
|
+
import "./chunk-THGFFQCK.js";
|
|
52
|
+
import "./chunk-DZSWKA3K.js";
|
|
53
|
+
import "./chunk-E5FQ7U7L.js";
|
|
54
|
+
import "./chunk-KUNA6MQZ.js";
|
|
55
|
+
import "./chunk-WUCQ56RP.js";
|
|
56
|
+
import "./chunk-LGNS4JVK.js";
|
|
57
|
+
import "./chunk-LR5EY5JY.js";
|
|
58
|
+
import "./chunk-VXHN3SWW.js";
|
|
59
|
+
import "./chunk-J35OGOCI.js";
|
|
60
|
+
import "./chunk-ILHTNOIV.js";
|
|
61
|
+
import "./chunk-NUN6OGOV.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-OUF6RCRZ.js";
|
|
64
|
+
import "./chunk-2NJUPIAO.js";
|
|
65
|
+
import "./chunk-CDZZ2DZO.js";
|
|
66
|
+
import "./chunk-EG2OMKWH.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-CCHHEMPM.js";
|
|
69
|
+
import "./chunk-7MLWSUEK.js";
|
|
70
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
71
|
+
export {
|
|
72
|
+
DEFAULT_EVERY,
|
|
73
|
+
PLACE_VARIABLES,
|
|
74
|
+
applyAuto,
|
|
75
|
+
autoCommand,
|
|
76
|
+
autoNotice,
|
|
77
|
+
autoState,
|
|
78
|
+
followInstall,
|
|
79
|
+
globalRoots,
|
|
80
|
+
interval,
|
|
81
|
+
lastAutoRun,
|
|
82
|
+
placesOf,
|
|
83
|
+
recordAutoRun,
|
|
84
|
+
serviceUnit,
|
|
85
|
+
timerUnit
|
|
86
|
+
};
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7MLWSUEK.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,16 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MCPDL5YU.js";
|
|
7
|
+
import "./chunk-CDZZ2DZO.js";
|
|
8
|
+
import "./chunk-EG2OMKWH.js";
|
|
8
9
|
import {
|
|
9
10
|
importFrom
|
|
10
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
+
import "./chunk-CCHHEMPM.js";
|
|
11
13
|
import {
|
|
12
14
|
__name
|
|
13
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
16
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
16
18
|
var customised = false;
|
|
17
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
18
20
|
try {
|
|
@@ -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.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|
|
@@ -2,21 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VXHN3SWW.js";
|
|
6
|
+
import {
|
|
7
|
+
resolvePaths
|
|
8
|
+
} from "./chunk-CDZZ2DZO.js";
|
|
6
9
|
import {
|
|
7
10
|
CliError,
|
|
8
|
-
resolvePaths,
|
|
9
11
|
singleLine
|
|
10
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CCHHEMPM.js";
|
|
11
13
|
import {
|
|
12
14
|
__name
|
|
13
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
16
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
16
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
17
19
|
import { dirname, join, resolve } from "node:path";
|
|
18
20
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
20
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
21
23
|
{
|
|
22
24
|
name: "taxes",
|
|
@@ -771,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
771
773
|
}
|
|
772
774
|
}, "storedTaskCategories");
|
|
773
775
|
|
|
774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
775
777
|
var SECTION = "task_categories";
|
|
776
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
777
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -2,49 +2,49 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZD3STMY7.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KXERKAID.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RG6ITTLQ.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CCOYC6HL.js";
|
|
20
|
+
import {
|
|
21
|
+
serveStdio
|
|
22
|
+
} from "./chunk-MM5NVP7F.js";
|
|
23
|
+
import {
|
|
24
|
+
McpServer
|
|
25
|
+
} from "./chunk-H3ZN4YLB.js";
|
|
20
26
|
import {
|
|
21
27
|
wholeList
|
|
22
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZKWE5MCA.js";
|
|
23
29
|
import {
|
|
24
30
|
changesMessenger,
|
|
25
31
|
flatten,
|
|
26
32
|
itemOf
|
|
27
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VQM3H422.js";
|
|
28
34
|
import {
|
|
29
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
30
36
|
readOnlyLockOf,
|
|
31
37
|
readOnlyRefusal
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
serveStdio
|
|
35
|
-
} from "./chunk-MM5NVP7F.js";
|
|
36
|
-
import {
|
|
37
|
-
McpServer
|
|
38
|
-
} from "./chunk-H3ZN4YLB.js";
|
|
38
|
+
} from "./chunk-NELE7AIX.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult,
|
|
41
41
|
object
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EG2OMKWH.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
48
48
|
import { randomUUID } from "node:crypto";
|
|
49
49
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
50
50
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -2,36 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
|
-
executableOnPath
|
|
5
|
+
executableOnPath
|
|
6
|
+
} from "./chunk-PQLBPYJR.js";
|
|
7
|
+
import {
|
|
6
8
|
require_cross_spawn
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D72URWJE.js";
|
|
8
10
|
import {
|
|
9
11
|
loadConfigFile,
|
|
12
|
+
saveConfigFile
|
|
13
|
+
} from "./chunk-CDZZ2DZO.js";
|
|
14
|
+
import {
|
|
10
15
|
number,
|
|
11
16
|
object,
|
|
12
17
|
optional,
|
|
13
|
-
saveConfigFile,
|
|
14
18
|
string
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EG2OMKWH.js";
|
|
16
20
|
import {
|
|
17
21
|
__name,
|
|
18
22
|
__toESM
|
|
19
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
24
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
22
|
-
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
23
|
-
const path = scriptPath.replaceAll("\\", "/");
|
|
24
|
-
if (path.includes("/_npx/"))
|
|
25
|
-
return "npx";
|
|
26
|
-
if (path.includes("/install/global/node_modules/"))
|
|
27
|
-
return "bun";
|
|
28
|
-
if (/\/\.?pnpm\//.test(path))
|
|
29
|
-
return "pnpm";
|
|
30
|
-
if (path.includes("/node_modules/"))
|
|
31
|
-
return "npm";
|
|
32
|
-
return path.includes("/dist/") ? "checkout" : "unknown";
|
|
33
|
-
}, "installerOf");
|
|
34
|
-
|
|
35
25
|
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
36
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
37
27
|
import { existsSync } from "node:fs";
|
|
@@ -141,7 +131,6 @@ var commandWords = /* @__PURE__ */ __name((argv) => {
|
|
|
141
131
|
}, "commandWords");
|
|
142
132
|
|
|
143
133
|
export {
|
|
144
|
-
installerOf,
|
|
145
134
|
updateCommand,
|
|
146
135
|
isNewer,
|
|
147
136
|
latestVersion,
|