@wirecat/cli-memo 0.131.78 → 0.131.79
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/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZEUEPNFD.js → all-profiles-ZMIHTBZD.js} +9 -9
- package/dist/bundle/{anthropic-VF75LSDZ.js → anthropic-PNRUKJHS.js} +6 -6
- package/dist/bundle/{app-server-Z4TY5VP5.js → app-server-RNASTWZO.js} +41 -41
- package/dist/bundle/auto-TRSJQGJH.js +91 -0
- package/dist/bundle/{bun-OUR5UZAI.js → bun-QU4I5GWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-26ZGEVH3.js → bun-sqlite-J4KG5VML.js} +10 -6
- package/dist/bundle/{chunk-EIQ6HCIB.js → chunk-24FOGKJI.js} +7 -7
- package/dist/bundle/{chunk-YOM4PA3A.js → chunk-2C536VQW.js} +1 -1
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-QEJHNTCX.js → chunk-2TIK6LHL.js} +443 -344
- package/dist/bundle/{chunk-XTCN3VUP.js → chunk-3GOMBG55.js} +8 -8
- package/dist/bundle/{chunk-ZKCAR2OL.js → chunk-3HCGK4FN.js} +1 -1
- package/dist/bundle/{chunk-Q2CQNT3A.js → chunk-46Z7UUCG.js} +1 -1
- package/dist/bundle/{chunk-7ENXMVT5.js → chunk-4BSNHOEV.js} +20 -11
- package/dist/bundle/{chunk-WETWQO6X.js → chunk-4FPSZCWN.js} +2 -2
- package/dist/bundle/{chunk-P3UQGKGY.js → chunk-4XOAQ5EQ.js} +10 -10
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-VJLJFLKZ.js → chunk-5YS4WS74.js} +1 -1
- package/dist/bundle/{chunk-DAEPTQ6N.js → chunk-6ZO2ZVKV.js} +5 -5
- package/dist/bundle/{chunk-TWWYDJBW.js → chunk-7SGURCSQ.js} +1 -1
- package/dist/bundle/chunk-A5TSIMI2.js +53 -0
- package/dist/bundle/{chunk-NGWKI3E6.js → chunk-AWUANCLC.js} +1 -1
- package/dist/bundle/{chunk-6GHBGGN7.js → chunk-BBJBWSGN.js} +2 -2
- package/dist/bundle/{chunk-PTKJIA7M.js → chunk-CLZHPHKI.js} +3 -3
- package/dist/bundle/{chunk-MW6IAMUI.js → chunk-CQPXUMIS.js} +1 -1
- package/dist/bundle/{chunk-T6LXUBXY.js → chunk-CX3D6D43.js} +3 -3
- package/dist/bundle/{chunk-5PCPPT43.js → chunk-CY7WACM7.js} +31 -31
- package/dist/bundle/{chunk-D67YDJ35.js → chunk-DAJEINOF.js} +1049 -902
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-Y2J52Y3A.js → chunk-DP2RZ6FO.js} +3 -3
- package/dist/bundle/{chunk-N7CHOWDF.js → chunk-FCHVDLEL.js} +3 -3
- package/dist/bundle/{chunk-T37LLOZR.js → chunk-GDSCR5BG.js} +1 -1
- package/dist/bundle/{chunk-DDPZY27T.js → chunk-GJ7KTKIP.js} +16 -16
- package/dist/bundle/{chunk-4LZLU2V3.js → chunk-GTYESBB2.js} +3 -3
- package/dist/bundle/{chunk-XC26CUGL.js → chunk-H6QELEPY.js} +6 -6
- package/dist/bundle/{chunk-UWF6WXM7.js → chunk-HKOHKYDY.js} +7 -7
- package/dist/bundle/{chunk-H2AQV772.js → chunk-IE6AEPW3.js} +10 -10
- package/dist/bundle/{chunk-NXQFVHG4.js → chunk-IHWPNLCI.js} +165 -152
- package/dist/bundle/{chunk-OHMF7LWW.js → chunk-IU2QDYBO.js} +5 -5
- package/dist/bundle/{chunk-OMGNXKSH.js → chunk-J2KPUG2X.js} +4 -4
- package/dist/bundle/{chunk-KUY35N7Q.js → chunk-JDI7CKLO.js} +7 -7
- package/dist/bundle/{chunk-I6CZU7X7.js → chunk-JX4YNSYT.js} +1 -1
- package/dist/bundle/{chunk-QU7UPCW2.js → chunk-LQBVQX47.js} +80 -80
- package/dist/bundle/{chunk-7DKS4GIW.js → chunk-MQ6XB6BV.js} +5 -5
- package/dist/bundle/{chunk-OUATPEPP.js → chunk-O4ZIN4AY.js} +6 -6
- package/dist/bundle/{chunk-EF33DKMR.js → chunk-OP5MKU7T.js} +1 -1
- package/dist/bundle/{chunk-6ABWVQ4T.js → chunk-PB4ZGGR4.js} +1 -1
- package/dist/bundle/{chunk-UIJBGS6K.js → chunk-PI42ZHZQ.js} +2 -2
- package/dist/bundle/{chunk-MUFU4LNS.js → chunk-Q5YM3JWV.js} +2 -2
- package/dist/bundle/{chunk-B2ZAEF5Z.js → chunk-QNI3Q7XS.js} +2 -2
- package/dist/bundle/{chunk-Z4TPRASF.js → chunk-QOFD6JSB.js} +5 -5
- package/dist/bundle/{chunk-5NBQOU5V.js → chunk-R24Q24U5.js} +26 -23
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-OMCET4QP.js → chunk-RMKJWDVT.js} +47 -47
- package/dist/bundle/{chunk-F7MKFYYP.js → chunk-RUHFWDHD.js} +3 -3
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-LJRXD44C.js → chunk-SEIRBXJT.js} +7 -7
- package/dist/bundle/{chunk-AZIXZIXT.js → chunk-SM7PB5CU.js} +7 -7
- package/dist/bundle/{chunk-22RYCAAO.js → chunk-TBCHID7L.js} +9263 -8766
- package/dist/bundle/{chunk-3QV5JWFN.js → chunk-TH3LLEA2.js} +3 -3
- package/dist/bundle/{chunk-ELKRFQ5Y.js → chunk-U3VXKVKI.js} +12 -12
- package/dist/bundle/{chunk-E5JVYVRX.js → chunk-UC5YCXKS.js} +15 -14
- package/dist/bundle/{chunk-EI7LYQQA.js → chunk-UYKKJOND.js} +4 -4
- package/dist/bundle/{chunk-WYSFOL74.js → chunk-VIZBCX3C.js} +4 -4
- package/dist/bundle/{chunk-GXHPPHGB.js → chunk-VSSWVVOZ.js} +11 -11
- package/dist/bundle/{chunk-WHMKYJZR.js → chunk-WN7BSOD2.js} +1 -1
- package/dist/bundle/{chunk-IFANDP3T.js → chunk-XO6RP5FV.js} +14 -2
- package/dist/bundle/{chunk-TT5RMHM6.js → chunk-YJUVVYS6.js} +5 -5
- package/dist/bundle/{chunk-JHW2ARPA.js → chunk-ZFUYVQII.js} +34 -34
- package/dist/bundle/{chunk-WHZJHUK6.js → chunk-ZIDR2CSX.js} +2 -2
- package/dist/bundle/command-contract-4ZJOMSQ2.js +34 -0
- package/dist/bundle/{command-server-entry-A7ZCZWHH.js → command-server-entry-VSWZ5K2Q.js} +21 -21
- package/dist/bundle/{decode-FO2ELPW6.js → decode-OPD4OHCW.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-HTY3OB2X.js → echarts-AXYKRYU7.js} +2 -2
- package/dist/bundle/{embed-2DTGMR7Z.js → embed-6DBZRTQ7.js} +7 -7
- package/dist/bundle/{embedder-N3IGQ2M6.js → embedder-SQI6IDZC.js} +10 -10
- package/dist/bundle/{entry-Q7CIJ3TU.js → entry-2GKNMGW6.js} +9 -9
- package/dist/bundle/{entry-YDEKGRCA.js → entry-RV5QAV44.js} +9 -9
- package/dist/bundle/failure-7RJ4HOL4.js +71 -0
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/{first-run-SAADMYEA.js → first-run-BBMUDHYX.js} +10 -10
- package/dist/bundle/first-screen-4BS5M4JW.js +32 -0
- package/dist/bundle/{instructions-XB5Y5DFA.js → instructions-JNAROG65.js} +1 -1
- package/dist/bundle/mcp-3MBYSBNS.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-4ZOD7X75.js → node-6OTEDFSP.js} +2 -2
- package/dist/bundle/{node-sqlite-DWXKYFW6.js → node-sqlite-HBHJOJX6.js} +11 -7
- package/dist/bundle/{oauth-GMIBNJQB.js → oauth-PVQSSPPE.js} +8 -8
- package/dist/bundle/{open-3DBI3MHV.js → open-ARBTD4LX.js} +6 -6
- package/dist/bundle/{openai-HFJAR7W5.js → openai-2JRFTWUA.js} +11 -11
- package/dist/bundle/{process-2H5HNPHH.js → process-4ERCV4WX.js} +1 -1
- package/dist/bundle/{program-VXKN6DLP.js → program-5KVHPFJU.js} +294 -129
- package/dist/bundle/{prompt-WETKFAQS.js → prompt-4I34VBPK.js} +6 -6
- package/dist/bundle/{recognize-5LC3DQ2W.js → recognize-22BJ7RWB.js} +5 -5
- package/dist/bundle/{remote-FURTWZ25.js → remote-BON3MKY5.js} +8 -8
- package/dist/bundle/{rerank-CMQWT3WC.js → rerank-6CCCIZDS.js} +8 -8
- package/dist/bundle/{serve-LEF3PX34.js → serve-FB54DFIV.js} +10 -10
- package/dist/bundle/server-SG4BOF6U.js +64 -0
- package/dist/bundle/{server-GYLFN6Y7.js → server-TL5WPR3I.js} +59 -59
- package/dist/bundle/server-UYEXFEEB.js +50 -0
- package/dist/bundle/{state-OVZT24JF.js → state-23IF45K6.js} +7 -7
- package/dist/bundle/{store-SV46T732.js → store-FGNXSGJU.js} +13 -13
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +49 -0
- package/dist/bundle/update-QTZREQD6.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +12 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +4 -4
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -2
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/doubts-command.d.ts +5 -0
- package/dist/people/doubts-command.d.ts.map +1 -0
- package/dist/people/doubts-command.js +46 -0
- package/dist/people/doubts-command.js.map +1 -0
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +52 -57
- package/dist/people/identities-command.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +48 -0
- package/dist/people/proposal-rows.d.ts.map +1 -0
- package/dist/people/proposal-rows.js +61 -0
- package/dist/people/proposal-rows.js.map +1 -0
- package/dist/people/proposals-command.d.ts +5 -0
- package/dist/people/proposals-command.d.ts.map +1 -0
- package/dist/people/proposals-command.js +107 -0
- package/dist/people/proposals-command.js.map +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +12 -0
- package/dist/reasons.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/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +14 -2
- package/dist/tasks/shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/proposals.md +10 -6
- package/dist/bundle/auto-SA667UAT.js +0 -91
- package/dist/bundle/chunk-VHA3LJQT.js +0 -35
- package/dist/bundle/command-contract-L5GTW74N.js +0 -34
- package/dist/bundle/failure-QL3RJILP.js +0 -71
- package/dist/bundle/first-screen-WXKAIMY6.js +0 -32
- package/dist/bundle/mcp-IRJS472M.js +0 -92
- package/dist/bundle/server-C2EVLJLW.js +0 -64
- package/dist/bundle/server-L7GHFXJF.js +0 -50
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +0 -49
- package/dist/bundle/update-PRBIV3RG.js +0 -74
- /package/dist/bundle/{chunk-DK3W4FPW.js → chunk-2AFREBSM.js} +0 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { CliError } from "@wirecat/cli-base";
|
|
2
|
+
import { annotate } from "@wirecat/cli-base/commands";
|
|
3
|
+
import { LOCAL_READ, LOCAL_WRITE } from "@wirecat/cli-core/cli";
|
|
4
|
+
import { parseProposalIds } from "@wirecat/cli-core/services";
|
|
5
|
+
import { IDENTITY_LINK_KIND, IDENTITY_SPLIT_KIND } from "@wirecat/cli-core/store";
|
|
6
|
+
import { answers, itemAnswer, listAnswer, withStore } from "../answer.js";
|
|
7
|
+
import { byOption } from "../author.js";
|
|
8
|
+
import { oneOf, positive } from "../options.js";
|
|
9
|
+
import { decidedText, decisionOf } from "../review/review.js";
|
|
10
|
+
import { reviewOf } from "../store/guard.js";
|
|
11
|
+
import { asOwner, PROPOSAL_KINDS, summaryOf, waiting } from "./proposal-rows.js";
|
|
12
|
+
const PEOPLE_KINDS = [IDENTITY_LINK_KIND, IDENTITY_SPLIT_KIND];
|
|
13
|
+
const limitOf = (limit) => {
|
|
14
|
+
if (limit > 500)
|
|
15
|
+
throw new CliError("validation_error", "--limit takes 1–500", { param: "limit" });
|
|
16
|
+
return limit;
|
|
17
|
+
};
|
|
18
|
+
/** Only the people review's own proposals; any other id is refused on its own, so the rest are still decided. */
|
|
19
|
+
const peopleIds = async (store, ids) => {
|
|
20
|
+
const kept = [];
|
|
21
|
+
const refused = [];
|
|
22
|
+
for (const id of ids) {
|
|
23
|
+
const kind = await store.proposedActions.get(id).then((action) => action.kind, () => undefined);
|
|
24
|
+
if (kind === undefined)
|
|
25
|
+
refused.push({ id, code: "not_found", reason: "proposal.not-found", message: `no proposal ${id}` });
|
|
26
|
+
else if (!PEOPLE_KINDS.includes(kind))
|
|
27
|
+
refused.push({
|
|
28
|
+
id,
|
|
29
|
+
code: "validation_error",
|
|
30
|
+
reason: "proposal.not-people",
|
|
31
|
+
message: `${id} is a ${kind} proposal; memo review decides it`,
|
|
32
|
+
});
|
|
33
|
+
else
|
|
34
|
+
kept.push(id);
|
|
35
|
+
}
|
|
36
|
+
return { ids: kept, refused };
|
|
37
|
+
};
|
|
38
|
+
/** The matches and splits waiting for the owner, and the owner's answer to one, several or all of them. */
|
|
39
|
+
export const peopleProposalCommands = (people, program, streams, env) => {
|
|
40
|
+
const { print } = answers(program, streams, env);
|
|
41
|
+
annotate(people.command("review"), { effects: LOCAL_READ })
|
|
42
|
+
.summary("people that may be one, and splits an agent proposed, waiting for you")
|
|
43
|
+
.description("what waits for the owner about who is who: matches (people that may be one) and splits (identities an agent " +
|
|
44
|
+
"says are not this person), newest first; people confirm or people reject answers them")
|
|
45
|
+
.option("--kind <kind>", `${PROPOSAL_KINDS.join(", ")} (default all)`, oneOf(PROPOSAL_KINDS), "all")
|
|
46
|
+
.option("--limit <n>", "most proposals, up to 500", positive, 50)
|
|
47
|
+
.option("--json", "print JSON; --json=id,title keeps only those fields")
|
|
48
|
+
.action(async (options) => {
|
|
49
|
+
const limit = limitOf(options.limit);
|
|
50
|
+
const found = await withStore(env, (store) => waiting(store, { kind: options.kind, limit }));
|
|
51
|
+
print(options.json, listAnswer("people review", { items: found.items, limit, has_more: found.hasMore }), [
|
|
52
|
+
...found.items.map((row) => `${row.id} ${summaryOf(row)}${row.reason ? ` — ${row.reason}` : ""}`),
|
|
53
|
+
...(found.hasMore ? [`more wait: --limit ${Math.min(500, limit * 2)}`] : []),
|
|
54
|
+
].join("\n") || "nothing about people waits for you");
|
|
55
|
+
});
|
|
56
|
+
for (const name of ["confirm", "reject"]) {
|
|
57
|
+
const confirm = name === "confirm";
|
|
58
|
+
const command = byOption(annotate(people.command(name), { effects: LOCAL_WRITE })
|
|
59
|
+
.summary(confirm
|
|
60
|
+
? "confirm matches and splits by id, or all that people review lists; only you"
|
|
61
|
+
: "turn down matches and splits by id, or all that people review lists; only you")
|
|
62
|
+
.description(confirm
|
|
63
|
+
? "confirm matches (the people become one) and splits (the identities leave their person) by id or range " +
|
|
64
|
+
"as people review lists them, or `all` of what it lists with the same --kind and --limit; each is " +
|
|
65
|
+
"decided on its own, so a refusal leaves the others decided. `all` shows what it would do until --yes"
|
|
66
|
+
: "turn down matches and splits by id or range, or `all` of what people review lists; a turned-down match " +
|
|
67
|
+
"comes back only on new evidence, a turned-down split not while its identities stay on that person. " +
|
|
68
|
+
"`all` shows what it would do until --yes")
|
|
69
|
+
.argument("<ids...>", "ids or ranges as people review lists them (17080 17082-17085), or all"))
|
|
70
|
+
.option("--kind <kind>", `with all: ${PROPOSAL_KINDS.join(", ")} (default all)`, oneOf(PROPOSAL_KINDS), "all")
|
|
71
|
+
.option("--limit <n>", "with all: as many as people review lists, up to 500", positive, 50)
|
|
72
|
+
.option("--yes", "with all: do it, not only show what would be done");
|
|
73
|
+
if (confirm)
|
|
74
|
+
command.option("--reason <text>", "why, in a few words");
|
|
75
|
+
else
|
|
76
|
+
command.requiredOption("--reason <text>", "why they are turned down, in a few words");
|
|
77
|
+
command.option("--json", "print JSON; --json=id,title keeps only those fields");
|
|
78
|
+
command.action(async (words, options) => {
|
|
79
|
+
const everything = words.length === 1 && words[0]?.toLowerCase() === "all";
|
|
80
|
+
const limit = limitOf(options.limit);
|
|
81
|
+
await asOwner(command, env, `${name} ${everything ? "all waiting" : words.join(" ")} people proposals?`);
|
|
82
|
+
const result = await withStore(env, async (store) => {
|
|
83
|
+
const listed = everything ? await waiting(store, { kind: options.kind, limit }) : undefined;
|
|
84
|
+
const chosen = listed
|
|
85
|
+
? { ids: listed.items.map(({ id }) => id), refused: [] }
|
|
86
|
+
: await peopleIds(store, parseProposalIds(words));
|
|
87
|
+
const more = listed?.hasMore ?? false;
|
|
88
|
+
if (everything && !options.yes)
|
|
89
|
+
return { kind: "preview", preview: chosen.ids, more };
|
|
90
|
+
const done = await (await reviewOf(store, env)).decide(chosen.ids, decisionOf(confirm, "owner", options.reason));
|
|
91
|
+
return { kind: "decided", ...done, refused: [...chosen.refused, ...done.refused], more };
|
|
92
|
+
});
|
|
93
|
+
const moreText = result.more ? `\nmore wait than --limit ${limit}; run it again for the rest` : "";
|
|
94
|
+
if (result.kind === "preview") {
|
|
95
|
+
const count = result.preview.length;
|
|
96
|
+
print(options.json, itemAnswer({ outcome: "preview", would: name, ids: result.preview, has_more: result.more }), count === 0
|
|
97
|
+
? "nothing about people waits for you"
|
|
98
|
+
: `would ${name} ${count}: ${result.preview.join(" ")}\nnothing changed; add --yes to ${name} them${moreText}`);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
const { more, kind: _, ...decided } = result;
|
|
102
|
+
const issues = decided.refused.map((one) => ({ code: one.code, source: one.id, reason: one.reason }));
|
|
103
|
+
print(options.json, itemAnswer({ ...decided, has_more: more }, issues.length ? { meta: { complete: false, issues } } : undefined), decidedText(decided) + moreText);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=proposals-command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proposals-command.js","sourceRoot":"","sources":["../../src/people/proposals-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,MAAM,uBAAuB,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAmC,MAAM,yBAAyB,CAAA;AAElH,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,cAAc,EAAyB,SAAS,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEvG,MAAM,YAAY,GAAsB,CAAC,kBAAkB,EAAE,mBAAmB,CAAC,CAAA;AAEjF,MAAM,OAAO,GAAG,CAAC,KAAa,EAAU,EAAE;IACxC,IAAI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CAAC,MAAM,EAAE,CAAC,CAAC,CAAA;YACrG,KAAK,CACH,OAAO,CAAC,IAAI,EACZ,UAAU,CAAC,EAAE,GAAG,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAC7G,WAAW,CAAC,OAAO,CAAC,GAAG,QAAQ,CAChC,CAAA;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;AACH,CAAC,CAAA"}
|
package/dist/reasons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reasons.d.ts","sourceRoot":"","sources":["../src/reasons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAE7E,mGAAmG;AACnG,eAAO,MAAM,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"reasons.d.ts","sourceRoot":"","sources":["../src/reasons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAE7E,mGAAmG;AACnG,eAAO,MAAM,OAAO,EAAE,WAAW,EAmT/B,CAAA"}
|
package/dist/reasons.js
CHANGED
|
@@ -201,6 +201,18 @@ export const REASONS = defineReasons([
|
|
|
201
201
|
message: "no identity has that exact id; people show lists them",
|
|
202
202
|
details: [],
|
|
203
203
|
},
|
|
204
|
+
{
|
|
205
|
+
reason: "proposal.not-found",
|
|
206
|
+
code: "not_found",
|
|
207
|
+
message: "no proposal has that id; people review lists them",
|
|
208
|
+
details: [],
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
reason: "proposal.not-people",
|
|
212
|
+
code: "validation_error",
|
|
213
|
+
message: "that proposal is not about people; memo review decides it",
|
|
214
|
+
details: [],
|
|
215
|
+
},
|
|
204
216
|
{
|
|
205
217
|
reason: "identity.no-messenger",
|
|
206
218
|
code: "validation_error",
|
package/dist/reasons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reasons.js","sourceRoot":"","sources":["../src/reasons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoB,MAAM,6BAA6B,CAAA;AAE7E,mGAAmG;AACnG,MAAM,CAAC,MAAM,OAAO,GAAkB,aAAa,CAAC;IAClD;QACE,MAAM,EAAE,sBAAsB;QAC9B,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,gGAAgG;QACzG,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,oBAAoB;QAC5B,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,iEAAiE;QAC1E,OAAO,EAAE,CAAC,UAAU,CAAC;KACtB;IACD;QACE,MAAM,EAAE,qBAAqB;QAC7B,IAAI,EAAE,kBAAkB;QACxB,OAAO,EACL,2GAA2G;QAC7G,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,eAAe;QACvB,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,qFAAqF;QAC9F,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,kBAAkB;QAC1B,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,sDAAsD;QAC/D,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,mBAAmB;QAC3B,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,qFAAqF;QAC9F,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,mBAAmB;QAC3B,IAAI,EAAE,kBAAkB;QACxB,OAAO,EACL,mHAAmH;QACrH,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,kBAAkB;QAC1B,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,0EAA0E;QACnF,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EA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ACE,MAAM,EAAE,oBAAoB;QAC5B,IAAI,EAAE,sBAAsB;QAC5B,OAAO,EAAE,kFAAkF;QAC3F,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,gBAAgB;QACxB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,mEAAmE;QAC5E,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,cAAc;QACtB,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,kEAAkE;QAC3E,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,eAAe;QACvB,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,6EAA6E;QACtF,OAAO,EAAE,EAAE;KACZ;IACD;QACE,MAAM,EAAE,wBAAwB;QAChC,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,uFAAuF;QAChG,OAAO,EAAE,EAAE;KACZ;CACF,CAAC,CAAA"}
|
package/dist/review/kinds.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type ReviewRow = ProposalRow & {
|
|
|
5
5
|
source?: string | null;
|
|
6
6
|
};
|
|
7
7
|
/** Every kind `memo review` shows, as `kind:` takes them. */
|
|
8
|
-
export declare const REVIEW_KINDS: readonly ["relationship", "relationship_update", "key_document", "fact", "memory", "memory_source_review", "findings", "meeting_findings", "mail_findings", "task_close", "action", "invoice", "payment", "order", "contract", "subscription", "subscription_price", "transaction", "identity_link"];
|
|
8
|
+
export declare const REVIEW_KINDS: readonly ["relationship", "relationship_update", "key_document", "fact", "memory", "memory_source_review", "findings", "meeting_findings", "mail_findings", "task_close", "action", "invoice", "payment", "order", "contract", "subscription", "subscription_price", "transaction", "identity_link", "identity_split"];
|
|
9
9
|
/** cli-core's registry, with each mail and meeting batch grouped under the account it came from. */
|
|
10
10
|
export declare const reviewRegistry: (store: MessageStore) => ProposalRegistry;
|
|
11
11
|
//# sourceMappingURL=kinds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../src/review/kinds.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAoB,MAAM,4BAA4B,CAAA;AACtG,OAAO,EAAsB,KAAK,YAAY,EAAsB,MAAM,yBAAyB,CAAA;AAEnG,yFAAyF;AACzF,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAA;AAEhE,6DAA6D;AAC7D,eAAO,MAAM,YAAY,YACvB,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,MAAM,EACN,QAAQ,0BAER,UAAU,EACV,kBAAkB,mBAElB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,SAAS,EACT,OAAO,EACP,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,eAAe,
|
|
1
|
+
{"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../src/review/kinds.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAoB,MAAM,4BAA4B,CAAA;AACtG,OAAO,EAAsB,KAAK,YAAY,EAAsB,MAAM,yBAAyB,CAAA;AAEnG,yFAAyF;AACzF,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAA;AAEhE,6DAA6D;AAC7D,eAAO,MAAM,YAAY,YACvB,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,MAAM,EACN,QAAQ,0BAER,UAAU,EACV,kBAAkB,mBAElB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,SAAS,EACT,OAAO,EACP,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,gBAAgB,CACR,CAAA;AAIV,oGAAoG;AACpG,eAAO,MAAM,cAAc,UAAW,YAAY,KAAG,gBAepD,CAAA"}
|
package/dist/review/kinds.js
CHANGED
|
@@ -22,6 +22,7 @@ export const REVIEW_KINDS = [
|
|
|
22
22
|
"subscription_price",
|
|
23
23
|
"transaction",
|
|
24
24
|
"identity_link",
|
|
25
|
+
"identity_split",
|
|
25
26
|
];
|
|
26
27
|
const BY_ACCOUNT = [MEETING_FINDINGS_KIND, MAIL_FINDINGS_KIND];
|
|
27
28
|
/** cli-core's registry, with each mail and meeting batch grouped under the account it came from. */
|
package/dist/review/kinds.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/review/kinds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,EAA2C,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AACtG,OAAO,EAAE,kBAAkB,EAAqB,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAKnG,6DAA6D;AAC7D,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,cAAc;IACd,qBAAqB;IACrB,cAAc;IACd,MAAM;IACN,QAAQ;IACR,kBAAkB;IAClB,UAAU;IACV,kBAAkB;IAClB,kBAAkB;IAClB,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,SAAS;IACT,OAAO;IACP,UAAU;IACV,cAAc;IACd,oBAAoB;IACpB,aAAa;IACb,eAAe;
|
|
1
|
+
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/review/kinds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAClE,OAAO,EAA2C,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AACtG,OAAO,EAAE,kBAAkB,EAAqB,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAKnG,6DAA6D;AAC7D,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,cAAc;IACd,qBAAqB;IACrB,cAAc;IACd,MAAM;IACN,QAAQ;IAC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AAC,GAAG,CAAC,EAAE,CAAC,CAAC;KACnD,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/tasks/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAU1D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/tasks/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAU1D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AA+GnC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,YAAa,OAAO,SAAS,OAAO,WAAW,OAAO,OAAO,MAAM,CAAC,UAAU,SAe5G,CAAA"}
|
package/dist/tasks/shared.js
CHANGED
|
@@ -16,6 +16,8 @@ const TASKISH = /^(task:.+|\d+|[A-Z][A-Z0-9]*-\d+)$/;
|
|
|
16
16
|
const settings = settingsFor({ ...APP, appName: "cli-memo-tasks", envPrefix: "MEMO_TASKS" });
|
|
17
17
|
/** The account the preAction hook resolved from `--source`; cli-core asks for it synchronously. */
|
|
18
18
|
const resolved = new WeakMap();
|
|
19
|
+
/** `stats tasks show` without `--source`: every account the run may read, counted together. */
|
|
20
|
+
const across = new WeakMap();
|
|
19
21
|
const messenger = {
|
|
20
22
|
app: APP,
|
|
21
23
|
provider: "memo",
|
|
@@ -25,9 +27,11 @@ const messenger = {
|
|
|
25
27
|
throw new CliError("validation_error", "memo reads no messenger: these commands answer from the store");
|
|
26
28
|
},
|
|
27
29
|
accountOf: (command) => resolved.get(command),
|
|
30
|
+
accountsOf: (command) => across.get(command),
|
|
28
31
|
};
|
|
29
32
|
/**
|
|
30
|
-
* Never one picked for the owner: a command that names no account fails, listing the ones the store holds
|
|
33
|
+
* Never one picked for the owner: a command that names no account fails, listing the ones the store holds; a
|
|
34
|
+
* statistic reads them all.
|
|
31
35
|
* `tasks link` between two project tasks, and `tasks show`, `update`, `claim` or `release` of one, need none: project
|
|
32
36
|
* tasks belong to no messenger account.
|
|
33
37
|
*/
|
|
@@ -45,6 +49,11 @@ const requireAccount = (env, warn) => async (_, command) => {
|
|
|
45
49
|
resolved.set(command, await oneAccountOf(store, env, value, option));
|
|
46
50
|
return;
|
|
47
51
|
}
|
|
52
|
+
// A chat belongs to one account, so `--chat` still asks for `--source`.
|
|
53
|
+
if (isTaskStats(command) && command.opts().chat === undefined) {
|
|
54
|
+
across.set(command, await scopedAccounts(store, env));
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
48
57
|
if (command.name() === "link" &&
|
|
49
58
|
targets.length > 0 &&
|
|
50
59
|
chats.length === 0 &&
|
|
@@ -63,11 +72,14 @@ const requireAccount = (env, warn) => async (_, command) => {
|
|
|
63
72
|
await store.close();
|
|
64
73
|
}
|
|
65
74
|
};
|
|
75
|
+
const isTaskStats = (command) => command.name() === "show" && command.parent?.name() === "tasks" && command.parent.parent?.name() === "stats";
|
|
66
76
|
const scoped = (command, env, warn) => overrideSharedContract(command, "Memo names stored accounts with --source or --account and uses command-local JSON without messenger profiles.", (one) => {
|
|
67
77
|
;
|
|
68
78
|
(WRITES.has(one.name())
|
|
69
79
|
? writeOptions(one, "the account it acts as: telegram:<account>, email:<account>, notes:<id>")
|
|
70
|
-
: sourceOptions(one,
|
|
80
|
+
: sourceOptions(one, isTaskStats(one)
|
|
81
|
+
? "only this account: telegram:<account>, email:<account>, notes:<id>, or group:<name>; every stored account without it"
|
|
82
|
+
: "the account: telegram:<account>, email:<account>, notes:<id>, or group:<name> of one"))
|
|
71
83
|
.option("--json", "print JSON")
|
|
72
84
|
.hook("preAction", requireAccount(env, warn));
|
|
73
85
|
});
|
package/dist/tasks/shared.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","source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kB,GAAG,CAAC,OAAgB,EAAE,KAAc,EAAE,OAAgB,EAAE,GAAsB,EAAE,EAAE;IAC/G,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAA;IAClC,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;IACvD,MAAM,KAAK,GAAG,YAAY,CAAC,SAAS,CAAC,CAAA;IACrC,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE,CAAC;QAC1B,MAAM,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,IAAI,CAAC,CAAA;QACjE,IAAI,CAAC,OAAO;YAAE,MAAM,IAAI,KAAK,CAAC,mCAAmC,IAAI,EAAE,CAAC,CAAA;QACxE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;IAC9C,CAAC;IACD,OAAO;SACJ,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,uCAAuC,CAAC;SACpD,UAAU,CACT,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAChH,CAAA;AACL,CAAC,CAAA"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.131.
|
|
1
|
+
export declare const VERSION = "0.131.79";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.131.
|
|
1
|
+
export const VERSION = "0.131.79";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-memo",
|
|
3
|
-
"version": "0.131.
|
|
3
|
+
"version": "0.131.79",
|
|
4
4
|
"description": "Context about people across messengers, notes and mail, from a local store",
|
|
5
5
|
"mcpName": "dev.wirecat/cli-memo",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@modelcontextprotocol/server": "2.4.0",
|
|
64
64
|
"@wirecat/cli-base": "0.95.0",
|
|
65
|
-
"@wirecat/cli-core": "0.
|
|
65
|
+
"@wirecat/cli-core": "0.633.0",
|
|
66
66
|
"commander": "15.0.0",
|
|
67
67
|
"disposable-email-domains-js": "1.26.0",
|
|
68
68
|
"postal-mime": "4.1.4",
|
|
@@ -17,7 +17,7 @@ documents, project and meeting findings, mail findings, task close suggestions,
|
|
|
17
17
|
`payment`, `order`, `contract`, `subscription`, `subscription_price`, `transaction`), grouped by project or account. `memo review show <id>` gives the evidence; its text is `untrusted`, and an email's `sender` says its
|
|
18
18
|
score and whether the address is `known`. The owner confirms a range, or one batch's findings
|
|
19
19
|
(`memo review confirm 17080/f1,17080/f3` accepts those and rejects the rest of the batch). Rows marked
|
|
20
|
-
`owner_only` — meeting findings, mail findings, task closes, source reviews, `identity_link` matches —
|
|
20
|
+
`owner_only` — meeting findings, mail findings, task closes, source reviews, `identity_link` matches, `identity_split` splits —
|
|
21
21
|
refuse any agent, with or without `--reason`.
|
|
22
22
|
`memo review status` is the daily look: new mail per account, what is owed and waiting, each agent's
|
|
23
23
|
processing mark, and what was proposed since yesterday. `memo context` and `memo projects context` count the
|
|
@@ -62,11 +62,15 @@ open matches.
|
|
|
62
62
|
- Never confirm a match yourself. Matches are `identity_link` proposals, `owner_only`:
|
|
63
63
|
`memo review confirm` refuses any agent. Show the owner `memo review kind:identity_link`.
|
|
64
64
|
- An agent's confirm of a phone or address mention to a person is a match too, not a link.
|
|
65
|
+
- `memo people links check` lists people that look wrong (the owner holding another name, test data, a shared address,
|
|
66
|
+
two names with nothing in common), each with `why`, `evidence` and `fix`: the unlink or unmerge that would set it
|
|
67
|
+
right. Check the evidence, then propose the fix with `--reason`.
|
|
68
|
+
- `memo people unlink <messenger:id…> --reason "<why>"` and `memo people unmerge <merge:to-from> --reason "<why>"`
|
|
69
|
+
only propose a split (`identity_split`, `owner_only`); it waits in `memo people review`. Proposing the same split
|
|
70
|
+
again renews it after the person changed; one the owner rejected is refused (`identity.kept-together`).
|
|
65
71
|
|
|
66
72
|
**Only the owner.**
|
|
67
73
|
|
|
68
|
-
- `memo people
|
|
69
|
-
|
|
70
|
-
- `
|
|
71
|
-
|
|
72
|
-
MCP does not offer these two commands. After any of them, no automatic match joins those people again.
|
|
74
|
+
- `memo people confirm <ids|all>` and `memo people reject <ids|all>` answer matches and splits; `all` needs `--yes`.
|
|
75
|
+
MCP does not offer them.
|
|
76
|
+
- The owner's own `unlink` and `unmerge` apply at once. After them, no automatic match joins those people again.
|
|
@@ -1,91 +0,0 @@
|
|
|
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-OHMF7LWW.js";
|
|
19
|
-
import "./chunk-EIQ6HCIB.js";
|
|
20
|
-
import "./chunk-JHW2ARPA.js";
|
|
21
|
-
import "./chunk-QP3KNC5D.js";
|
|
22
|
-
import "./chunk-D67YDJ35.js";
|
|
23
|
-
import "./chunk-T37LLOZR.js";
|
|
24
|
-
import "./chunk-A3QZXQI3.js";
|
|
25
|
-
import "./chunk-6ABWVQ4T.js";
|
|
26
|
-
import "./chunk-5NBQOU5V.js";
|
|
27
|
-
import "./chunk-YOM4PA3A.js";
|
|
28
|
-
import "./chunk-7ENXMVT5.js";
|
|
29
|
-
import "./chunk-EI7LYQQA.js";
|
|
30
|
-
import "./chunk-OMCET4QP.js";
|
|
31
|
-
import "./chunk-E5JVYVRX.js";
|
|
32
|
-
import "./chunk-QEJHNTCX.js";
|
|
33
|
-
import "./chunk-ELKRFQ5Y.js";
|
|
34
|
-
import "./chunk-N7CHOWDF.js";
|
|
35
|
-
import "./chunk-6GHBGGN7.js";
|
|
36
|
-
import "./chunk-UWF6WXM7.js";
|
|
37
|
-
import "./chunk-HTQTIKWP.js";
|
|
38
|
-
import "./chunk-GXHPPHGB.js";
|
|
39
|
-
import "./chunk-3QBRLN6T.js";
|
|
40
|
-
import "./chunk-OYKQX4H3.js";
|
|
41
|
-
import "./chunk-H2AQV772.js";
|
|
42
|
-
import "./chunk-WETWQO6X.js";
|
|
43
|
-
import "./chunk-ZKCAR2OL.js";
|
|
44
|
-
import "./chunk-22RYCAAO.js";
|
|
45
|
-
import "./chunk-KUY35N7Q.js";
|
|
46
|
-
import "./chunk-VJLJFLKZ.js";
|
|
47
|
-
import "./chunk-4LZLU2V3.js";
|
|
48
|
-
import "./chunk-Z4TPRASF.js";
|
|
49
|
-
import "./chunk-IFANDP3T.js";
|
|
50
|
-
import "./chunk-NT5IOEEK.js";
|
|
51
|
-
import "./chunk-D72URWJE.js";
|
|
52
|
-
import "./chunk-OUATPEPP.js";
|
|
53
|
-
import "./chunk-EF33DKMR.js";
|
|
54
|
-
import "./chunk-3QV5JWFN.js";
|
|
55
|
-
import "./chunk-DAEPTQ6N.js";
|
|
56
|
-
import "./chunk-MW6IAMUI.js";
|
|
57
|
-
import "./chunk-Y2J52Y3A.js";
|
|
58
|
-
import "./chunk-NXQFVHG4.js";
|
|
59
|
-
import "./chunk-LJRXD44C.js";
|
|
60
|
-
import "./chunk-Q2CQNT3A.js";
|
|
61
|
-
import "./chunk-F7MKFYYP.js";
|
|
62
|
-
import "./chunk-NGWKI3E6.js";
|
|
63
|
-
import "./chunk-QU7UPCW2.js";
|
|
64
|
-
import "./chunk-WHZJHUK6.js";
|
|
65
|
-
import "./chunk-TT5RMHM6.js";
|
|
66
|
-
import "./chunk-T6LXUBXY.js";
|
|
67
|
-
import "./chunk-VHA3LJQT.js";
|
|
68
|
-
import "./chunk-G5GW3FFJ.js";
|
|
69
|
-
import "./chunk-2IQWMWMC.js";
|
|
70
|
-
import "./chunk-EXFRC4OT.js";
|
|
71
|
-
import "./chunk-X2SA73EE.js";
|
|
72
|
-
import "./chunk-6A37YXAL.js";
|
|
73
|
-
import "./chunk-Y5E2WNWB.js";
|
|
74
|
-
import "./chunk-BA6GHX5B.js";
|
|
75
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
76
|
-
export {
|
|
77
|
-
DEFAULT_EVERY,
|
|
78
|
-
PLACE_VARIABLES,
|
|
79
|
-
applyAuto,
|
|
80
|
-
autoCommand,
|
|
81
|
-
autoNotice,
|
|
82
|
-
autoState,
|
|
83
|
-
followInstall,
|
|
84
|
-
globalRoots,
|
|
85
|
-
interval,
|
|
86
|
-
lastAutoRun,
|
|
87
|
-
placesOf,
|
|
88
|
-
recordAutoRun,
|
|
89
|
-
serviceUnit,
|
|
90
|
-
timerUnit
|
|
91
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
resolvePaths
|
|
5
|
-
} from "./chunk-2IQWMWMC.js";
|
|
6
|
-
import {
|
|
7
|
-
__name
|
|
8
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
-
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
|
-
import { userInfo } from "node:os";
|
|
12
|
-
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
|
-
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
14
|
-
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
15
|
-
var accountHome = /* @__PURE__ */ __name(() => {
|
|
16
|
-
try {
|
|
17
|
-
return userInfo().homedir;
|
|
18
|
-
} catch {
|
|
19
|
-
return void 0;
|
|
20
|
-
}
|
|
21
|
-
}, "accountHome");
|
|
22
|
-
var refuseOwnerStoreInTests = /* @__PURE__ */ __name((file, env = process.env, home = accountHome()) => {
|
|
23
|
-
if (!env.VITEST || !home || file === ":memory:")
|
|
24
|
-
return;
|
|
25
|
-
const inside = relative(wirecatDirectory({ HOME: home, USERPROFILE: home }), resolve(file));
|
|
26
|
-
if (inside.startsWith("..") || isAbsolute(inside))
|
|
27
|
-
return;
|
|
28
|
-
throw new Error(`a test tried to open ${file}, in the owner's real WireCat folder; give it a MESSAGING_STORE or HOME of its own`);
|
|
29
|
-
}, "refuseOwnerStoreInTests");
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
wirecatDirectory,
|
|
33
|
-
storePath,
|
|
34
|
-
refuseOwnerStoreInTests
|
|
35
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
SCHEMA_DIALECT,
|
|
5
|
-
commandContract,
|
|
6
|
-
commandPathOf,
|
|
7
|
-
findCommand,
|
|
8
|
-
outputOf
|
|
9
|
-
} from "./chunk-Y2J52Y3A.js";
|
|
10
|
-
import "./chunk-NXQFVHG4.js";
|
|
11
|
-
import "./chunk-LJRXD44C.js";
|
|
12
|
-
import "./chunk-Q2CQNT3A.js";
|
|
13
|
-
import "./chunk-F7MKFYYP.js";
|
|
14
|
-
import "./chunk-NGWKI3E6.js";
|
|
15
|
-
import "./chunk-QU7UPCW2.js";
|
|
16
|
-
import "./chunk-WHZJHUK6.js";
|
|
17
|
-
import "./chunk-TT5RMHM6.js";
|
|
18
|
-
import "./chunk-T6LXUBXY.js";
|
|
19
|
-
import "./chunk-VHA3LJQT.js";
|
|
20
|
-
import "./chunk-G5GW3FFJ.js";
|
|
21
|
-
import "./chunk-2IQWMWMC.js";
|
|
22
|
-
import "./chunk-EXFRC4OT.js";
|
|
23
|
-
import "./chunk-X2SA73EE.js";
|
|
24
|
-
import "./chunk-6A37YXAL.js";
|
|
25
|
-
import "./chunk-Y5E2WNWB.js";
|
|
26
|
-
import "./chunk-BA6GHX5B.js";
|
|
27
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
-
export {
|
|
29
|
-
SCHEMA_DIALECT,
|
|
30
|
-
commandContract,
|
|
31
|
-
commandPathOf,
|
|
32
|
-
findCommand,
|
|
33
|
-
outputOf
|
|
34
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
errorObject,
|
|
5
|
-
mcpFailure,
|
|
6
|
-
recognisable,
|
|
7
|
-
reportFailure,
|
|
8
|
-
throwParseFailures
|
|
9
|
-
} from "./chunk-XC26CUGL.js";
|
|
10
|
-
import "./chunk-BPGYTJNB.js";
|
|
11
|
-
import "./chunk-D67YDJ35.js";
|
|
12
|
-
import "./chunk-T37LLOZR.js";
|
|
13
|
-
import "./chunk-A3QZXQI3.js";
|
|
14
|
-
import "./chunk-6ABWVQ4T.js";
|
|
15
|
-
import "./chunk-5NBQOU5V.js";
|
|
16
|
-
import "./chunk-YOM4PA3A.js";
|
|
17
|
-
import "./chunk-7ENXMVT5.js";
|
|
18
|
-
import "./chunk-EI7LYQQA.js";
|
|
19
|
-
import "./chunk-OMCET4QP.js";
|
|
20
|
-
import "./chunk-E5JVYVRX.js";
|
|
21
|
-
import "./chunk-QEJHNTCX.js";
|
|
22
|
-
import "./chunk-ELKRFQ5Y.js";
|
|
23
|
-
import "./chunk-N7CHOWDF.js";
|
|
24
|
-
import "./chunk-6GHBGGN7.js";
|
|
25
|
-
import "./chunk-UWF6WXM7.js";
|
|
26
|
-
import "./chunk-HTQTIKWP.js";
|
|
27
|
-
import "./chunk-GXHPPHGB.js";
|
|
28
|
-
import "./chunk-3QBRLN6T.js";
|
|
29
|
-
import "./chunk-OYKQX4H3.js";
|
|
30
|
-
import "./chunk-H2AQV772.js";
|
|
31
|
-
import "./chunk-WETWQO6X.js";
|
|
32
|
-
import "./chunk-ZKCAR2OL.js";
|
|
33
|
-
import "./chunk-22RYCAAO.js";
|
|
34
|
-
import "./chunk-KUY35N7Q.js";
|
|
35
|
-
import "./chunk-VJLJFLKZ.js";
|
|
36
|
-
import "./chunk-4LZLU2V3.js";
|
|
37
|
-
import "./chunk-Z4TPRASF.js";
|
|
38
|
-
import "./chunk-IFANDP3T.js";
|
|
39
|
-
import "./chunk-NT5IOEEK.js";
|
|
40
|
-
import "./chunk-D72URWJE.js";
|
|
41
|
-
import "./chunk-OUATPEPP.js";
|
|
42
|
-
import "./chunk-EF33DKMR.js";
|
|
43
|
-
import "./chunk-3QV5JWFN.js";
|
|
44
|
-
import "./chunk-DAEPTQ6N.js";
|
|
45
|
-
import "./chunk-MW6IAMUI.js";
|
|
46
|
-
import "./chunk-Y2J52Y3A.js";
|
|
47
|
-
import "./chunk-NXQFVHG4.js";
|
|
48
|
-
import "./chunk-LJRXD44C.js";
|
|
49
|
-
import "./chunk-Q2CQNT3A.js";
|
|
50
|
-
import "./chunk-F7MKFYYP.js";
|
|
51
|
-
import "./chunk-NGWKI3E6.js";
|
|
52
|
-
import "./chunk-QU7UPCW2.js";
|
|
53
|
-
import "./chunk-WHZJHUK6.js";
|
|
54
|
-
import "./chunk-TT5RMHM6.js";
|
|
55
|
-
import "./chunk-T6LXUBXY.js";
|
|
56
|
-
import "./chunk-VHA3LJQT.js";
|
|
57
|
-
import "./chunk-G5GW3FFJ.js";
|
|
58
|
-
import "./chunk-2IQWMWMC.js";
|
|
59
|
-
import "./chunk-EXFRC4OT.js";
|
|
60
|
-
import "./chunk-X2SA73EE.js";
|
|
61
|
-
import "./chunk-6A37YXAL.js";
|
|
62
|
-
import "./chunk-Y5E2WNWB.js";
|
|
63
|
-
import "./chunk-BA6GHX5B.js";
|
|
64
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
65
|
-
export {
|
|
66
|
-
errorObject,
|
|
67
|
-
mcpFailure,
|
|
68
|
-
recognisable,
|
|
69
|
-
reportFailure,
|
|
70
|
-
throwParseFailures
|
|
71
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
WIRECAT_TOOLS,
|
|
5
|
-
firstScreen,
|
|
6
|
-
installHelp
|
|
7
|
-
} from "./chunk-UWF6WXM7.js";
|
|
8
|
-
import "./chunk-HTQTIKWP.js";
|
|
9
|
-
import "./chunk-Y2J52Y3A.js";
|
|
10
|
-
import "./chunk-NXQFVHG4.js";
|
|
11
|
-
import "./chunk-LJRXD44C.js";
|
|
12
|
-
import "./chunk-Q2CQNT3A.js";
|
|
13
|
-
import "./chunk-F7MKFYYP.js";
|
|
14
|
-
import "./chunk-NGWKI3E6.js";
|
|
15
|
-
import "./chunk-QU7UPCW2.js";
|
|
16
|
-
import "./chunk-WHZJHUK6.js";
|
|
17
|
-
import "./chunk-TT5RMHM6.js";
|
|
18
|
-
import "./chunk-T6LXUBXY.js";
|
|
19
|
-
import "./chunk-VHA3LJQT.js";
|
|
20
|
-
import "./chunk-G5GW3FFJ.js";
|
|
21
|
-
import "./chunk-2IQWMWMC.js";
|
|
22
|
-
import "./chunk-EXFRC4OT.js";
|
|
23
|
-
import "./chunk-X2SA73EE.js";
|
|
24
|
-
import "./chunk-6A37YXAL.js";
|
|
25
|
-
import "./chunk-Y5E2WNWB.js";
|
|
26
|
-
import "./chunk-BA6GHX5B.js";
|
|
27
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
-
export {
|
|
29
|
-
WIRECAT_TOOLS,
|
|
30
|
-
firstScreen,
|
|
31
|
-
installHelp
|
|
32
|
-
};
|