@wirecat/cli-memo 0.131.49 → 0.131.51
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/author.d.ts +6 -3
- package/dist/author.d.ts.map +1 -1
- package/dist/author.js +9 -4
- package/dist/author.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-3R3VE3W2.js} +9 -9
- package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-QVYJRACM.js} +6 -6
- package/dist/bundle/{app-server-6EKWAYJI.js → app-server-T3D2PIGZ.js} +42 -42
- package/dist/bundle/auto-XJCSM7WE.js +86 -0
- package/dist/bundle/{bun-HUHQD76Z.js → bun-DTDD2OHK.js} +2 -2
- package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-DWICJAH3.js} +5 -5
- package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-3OL3QRFS.js} +6 -6
- package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-4A6JOJLR.js} +4 -4
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-4GWFRZ2U.js} +1 -1
- package/dist/bundle/{chunk-LZWXGO3G.js → chunk-4MWP6Z3W.js} +2 -2
- package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-4RHIJMRX.js} +29 -29
- package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
- package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-526KVXRI.js} +2 -2
- package/dist/bundle/{chunk-OT23U5LT.js → chunk-56BBTOS2.js} +2 -2
- package/dist/bundle/{chunk-QCPUC3HW.js → chunk-5JY464PN.js} +13 -13
- package/dist/bundle/{chunk-57LMWEDK.js → chunk-5ZGOT57S.js} +3 -3
- package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
- package/dist/bundle/{chunk-3BG5VYMV.js → chunk-66A646SL.js} +10 -10
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-6MEVHKIO.js} +1 -1
- package/dist/bundle/{chunk-UAR6UMFL.js → chunk-6O37NSG6.js} +5 -5
- package/dist/bundle/{chunk-UG4BO256.js → chunk-7C3MP5LH.js} +6 -6
- package/dist/bundle/{chunk-WNW6VW27.js → chunk-AEVTXHTY.js} +7 -7
- package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-AWLAMVNY.js} +6 -6
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-BUHTAMPF.js} +1 -1
- package/dist/bundle/{chunk-AKD62EUH.js → chunk-CPLYNBAJ.js} +2 -2
- package/dist/bundle/{chunk-RYMYE5PF.js → chunk-CZOBBAXM.js} +8 -8
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-E3WIMCV5.js} +1 -1
- package/dist/bundle/{chunk-IXXBPSXO.js → chunk-E7TMOUWZ.js} +2 -2
- package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
- package/dist/bundle/{chunk-6N6BVPVX.js → chunk-ECLBZGWI.js} +4 -4
- package/dist/bundle/{chunk-O3KOW7RG.js → chunk-ETD2DRJD.js} +8 -8
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-FJ3DAE4M.js} +1 -1
- package/dist/bundle/{chunk-GIDZGGAD.js → chunk-FZ4GVE36.js} +4 -4
- package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-GBWOMPZ7.js} +4 -4
- package/dist/bundle/{chunk-PYRHU35W.js → chunk-GSCGRBEQ.js} +155 -155
- package/dist/bundle/{chunk-ND6D4A6H.js → chunk-H65NWA3X.js} +3 -3
- package/dist/bundle/{chunk-4VQPPX47.js → chunk-H7RSMNHL.js} +263 -263
- package/dist/bundle/{chunk-D5KGXYG6.js → chunk-HRLQQLVD.js} +22 -22
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-OQTBCPSG.js → chunk-JBSMBHTM.js} +8 -8
- package/dist/bundle/{chunk-HCMXUHHF.js → chunk-JCNBJ3FN.js} +66 -66
- package/dist/bundle/{chunk-5RVL7GYA.js → chunk-JINNS3FI.js} +2 -2
- package/dist/bundle/{chunk-RKFKRCOH.js → chunk-LYUVULFK.js} +260 -260
- package/dist/bundle/{chunk-FOM7WE2C.js → chunk-MVV32ZTO.js} +9 -9
- package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
- package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-N3UA5PO4.js} +11 -11
- package/dist/bundle/{chunk-355PHJYX.js → chunk-O5UP2KZL.js} +1 -1
- package/dist/bundle/{chunk-XZZFHQGM.js → chunk-O5Z74SBZ.js} +22 -22
- package/dist/bundle/{chunk-P2LMXIHL.js → chunk-OBVKXHOH.js} +291 -291
- package/dist/bundle/{chunk-DJRBSOWH.js → chunk-OJFRMK2W.js} +4 -4
- package/dist/bundle/{chunk-BYVASZVV.js → chunk-PNNM72BO.js} +5 -5
- package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-PWYCF76F.js} +3 -3
- package/dist/bundle/{chunk-2OIGV355.js → chunk-PX2B5ZRL.js} +50 -50
- package/dist/bundle/{chunk-5JVA43HX.js → chunk-QFC7V5VW.js} +6 -6
- package/dist/bundle/{chunk-NJDGZRF5.js → chunk-QIFK3EZM.js} +14 -14
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-REROHDUR.js} +1 -1
- package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-RL2DSQCD.js} +9 -9
- package/dist/bundle/{chunk-UJLYVXP6.js → chunk-ROP27ZJU.js} +34 -34
- package/dist/bundle/{chunk-N6IHOYMT.js → chunk-SXVPRYEF.js} +161 -36
- package/dist/bundle/{chunk-GV6XJMUW.js → chunk-UDAATSWZ.js} +12 -12
- package/dist/bundle/{chunk-XH6K2B5L.js → chunk-UQ2OA6EM.js} +4 -4
- package/dist/bundle/{chunk-TSUNLSIN.js → chunk-V3TELYLZ.js} +2 -2
- package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
- package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-WPW6ULD7.js} +3 -3
- package/dist/bundle/{chunk-PEYCLVIO.js → chunk-XGNNI3S3.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-XN5YDZY7.js} +1 -1
- package/dist/bundle/{chunk-GAKZOX2S.js → chunk-YPLKNKAD.js} +7 -7
- package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-YZB5IL4L.js} +3 -3
- package/dist/bundle/{chunk-QNM36ARO.js → chunk-ZC2LNXGO.js} +2 -2
- package/dist/bundle/command-contract-OTVOQLZS.js +32 -0
- package/dist/bundle/{decode-IYWZ3X7X.js → decode-ISKRNDDM.js} +5 -5
- package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-TINXXXCB.js} +2 -2
- package/dist/bundle/{embed-EGY2R4FN.js → embed-R2KJDGEX.js} +6 -6
- package/dist/bundle/{embedder-K2BGPWNX.js → embedder-X2Y5RLKE.js} +9 -9
- package/dist/bundle/{entry-NMAZNDNU.js → entry-2MUKT36Z.js} +7 -7
- package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
- package/dist/bundle/failure-KYUARIL2.js +66 -0
- package/dist/bundle/{first-run-QDCSWX3N.js → first-run-6BSAM4BD.js} +11 -11
- package/dist/bundle/first-screen-ALXB4ONR.js +30 -0
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-E5NBM2NJ.js} +1 -1
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/mcp-YUPBMZPV.js +90 -0
- package/dist/bundle/memo.js +41 -17
- package/dist/bundle/{node-ZB4RNICS.js → node-NBHZ4XWV.js} +2 -2
- package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-3CBWCPNC.js} +6 -6
- package/dist/bundle/{oauth-FMH3JIPT.js → oauth-L5XC2THD.js} +7 -7
- package/dist/bundle/{open-PRCTOHHL.js → open-WR6QQPVB.js} +5 -5
- package/dist/bundle/{openai-VW4W6SIO.js → openai-MCPELYCJ.js} +10 -10
- package/dist/bundle/{process-XNN4WG6N.js → process-EAEC2FBD.js} +1 -1
- package/dist/bundle/{program-OSHEAD76.js → program-WKKBFQIW.js} +94 -66
- package/dist/bundle/{prompt-RT55UZGB.js → prompt-M4Z35LQ5.js} +5 -5
- package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-VT6NKW6D.js} +4 -4
- package/dist/bundle/{remote-T3P5OWRR.js → remote-6QTPH5PJ.js} +7 -7
- package/dist/bundle/{rerank-743T3675.js → rerank-MJYLXZ4K.js} +7 -7
- package/dist/bundle/{serve-BSKOU4FJ.js → serve-KQ6OL3OH.js} +9 -9
- package/dist/bundle/server-AVAJTC5G.js +61 -0
- package/dist/bundle/server-QAFF3RP5.js +48 -0
- package/dist/bundle/{server-7GH6JLM3.js → server-UJIH2SBV.js} +58 -58
- package/dist/bundle/{state-MDMI3I2Z.js → state-2PDCOSJN.js} +6 -6
- package/dist/bundle/{store-I3DIZALN.js → store-SXYAS5EI.js} +13 -13
- package/dist/bundle/store-maintenance-command-ARTXRVYD.js +48 -0
- package/dist/bundle/update-MOZKRB2Z.js +69 -0
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/notes/about.js +2 -2
- package/dist/notes/about.js.map +1 -1
- package/dist/notes/dates.d.ts +3 -0
- package/dist/notes/dates.d.ts.map +1 -0
- package/dist/notes/dates.js +15 -0
- package/dist/notes/dates.js.map +1 -0
- package/dist/notes/import.d.ts.map +1 -1
- package/dist/notes/import.js +12 -0
- package/dist/notes/import.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -1
- package/dist/people/command.js.map +1 -1
- package/dist/search/search.js +1 -1
- package/dist/search/search.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +1 -1
- package/skills/cli-memo/topics/proposals.md +2 -2
- package/skills/mail-triage/SKILL.md +1 -1
- package/skills/morning-digest/SKILL.md +1 -1
- package/dist/bundle/auto-NKUBNWLS.js +0 -86
- package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
- package/dist/bundle/failure-SACX3WGX.js +0 -66
- package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
- package/dist/bundle/mcp-QRZ2HSON.js +0 -90
- package/dist/bundle/server-VMWVYGK7.js +0 -48
- package/dist/bundle/server-ZFHSK6TT.js +0 -61
- package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
- package/dist/bundle/update-Y3UQ5DQJ.js +0 -69
- /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-4ZSY3MKL.js} +0 -0
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-SW6C6WH5.js} +0 -0
package/dist/author.d.ts
CHANGED
|
@@ -8,9 +8,10 @@ export declare const UNATTENDED = "unattended";
|
|
|
8
8
|
/** Who writes, by the environment alone; for writes that decide nothing for the owner, such as a task edit. */
|
|
9
9
|
export declare const authorOf: (env: NodeJS.ProcessEnv) => Author;
|
|
10
10
|
/**
|
|
11
|
-
* Who runs this command. An MCP call is the agent's.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* Who runs this command. An MCP call is the agent's. `--from-app` is the owner's: the app says the owner clicked, and
|
|
12
|
+
* memo takes its word, even with an agent variable set (NEED-2403). An agent's terminal is the agent's; `--as-owner`
|
|
13
|
+
* there makes it the owner's only after a yes at a real terminal. With no agent named, the owner only when stdin and
|
|
14
|
+
* stdout are a terminal: anything else is an unattended run, recorded as one.
|
|
14
15
|
*/
|
|
15
16
|
export declare const whoRuns: (command: Command, env: NodeJS.ProcessEnv, { asOwner, question }: {
|
|
16
17
|
asOwner?: boolean | undefined;
|
|
@@ -24,6 +25,8 @@ export declare const deciderOf: (command: Command, env: NodeJS.ProcessEnv, { asO
|
|
|
24
25
|
reason?: string | undefined;
|
|
25
26
|
question: string;
|
|
26
27
|
}) => Promise<Decider>;
|
|
28
|
+
/** An app's claim, not a check: anything that runs memo can pass it, so it is no security boundary. */
|
|
29
|
+
export declare const fromAppOption: (command: Command) => Command;
|
|
27
30
|
export declare const byOption: (command: Command) => Command;
|
|
28
31
|
export declare const reasonOption: (command: Command) => Command;
|
|
29
32
|
//# sourceMappingURL=author.d.ts.map
|
package/dist/author.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"author.d.ts","sourceRoot":"","sources":["../src/author.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC;;;GAGG;AACH,eAAO,MAAM,UAAU,eAAe,CAAA;AAqCtC,+GAA+G;AAC/G,eAAO,MAAM,QAAQ,QAAS,MAAM,CAAC,UAAU,KAAG,MAGjD,CAAA;AAkBD
|
|
1
|
+
{"version":3,"file":"author.d.ts","sourceRoot":"","sources":["../src/author.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC;;;GAGG;AACH,eAAO,MAAM,UAAU,eAAe,CAAA;AAqCtC,+GAA+G;AAC/G,eAAO,MAAM,QAAQ,QAAS,MAAM,CAAC,UAAU,KAAG,MAGjD,CAAA;AAkBD;;;;;GAKG;AACH,eAAO,MAAM,OAAO,YACT,OAAO,OACX,MAAM,CAAC,UAAU,yBACS;IAAE,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,KACjF,OAAO,CAAC,OAAO,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAWnC,CAAA;AAED,uHAAuH;AACvH,eAAO,MAAM,SAAS,YACX,OAAO,OACX,MAAM,CAAC,UAAU,iCACS;IAAE,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,KAC9G,OAAO,CAAC,OAAO,CAgBjB,CAAA;AAED,uGAAuG;AACvG,eAAO,MAAM,aAAa,YAAa,OAAO,YACkE,CAAA;AAEhH,eAAO,MAAM,QAAQ,YAAa,OAAO,YAMtC,CAAA;AAEH,eAAO,MAAM,YAAY,YAAa,OAAO,YACqD,CAAA"}
|
package/dist/author.js
CHANGED
|
@@ -64,9 +64,10 @@ const ownerSays = async (command, question) => {
|
|
|
64
64
|
throw new CliError("cancelled", "not done — the answer was no");
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
|
-
* Who runs this command. An MCP call is the agent's.
|
|
68
|
-
*
|
|
69
|
-
*
|
|
67
|
+
* Who runs this command. An MCP call is the agent's. `--from-app` is the owner's: the app says the owner clicked, and
|
|
68
|
+
* memo takes its word, even with an agent variable set (NEED-2403). An agent's terminal is the agent's; `--as-owner`
|
|
69
|
+
* there makes it the owner's only after a yes at a real terminal. With no agent named, the owner only when stdin and
|
|
70
|
+
* stdout are a terminal: anything else is an unattended run, recorded as one.
|
|
70
71
|
*/
|
|
71
72
|
export const whoRuns = async (command, env, { asOwner = false, question }) => {
|
|
72
73
|
if (environmentOf(command).agent || env.AI_AGENT === "memo-mcp") {
|
|
@@ -74,6 +75,8 @@ export const whoRuns = async (command, env, { asOwner = false, question }) => {
|
|
|
74
75
|
throw new CliError("permission_error", "an agent cannot act as the owner; the owner runs this command");
|
|
75
76
|
return { bot: agentIn(env) ?? "memo-mcp" };
|
|
76
77
|
}
|
|
78
|
+
if (command.opts().fromApp)
|
|
79
|
+
return "owner";
|
|
77
80
|
const agent = agentIn(env);
|
|
78
81
|
if (agent === undefined && terminalOf(command).present)
|
|
79
82
|
return "owner";
|
|
@@ -97,6 +100,8 @@ export const deciderOf = async (command, env, { asOwner, reason, question }) =>
|
|
|
97
100
|
});
|
|
98
101
|
return { bot: who.bot, reason: reason.trim() };
|
|
99
102
|
};
|
|
100
|
-
|
|
103
|
+
/** An app's claim, not a check: anything that runs memo can pass it, so it is no security boundary. */
|
|
104
|
+
export const fromAppOption = (command) => command.option("--from-app", "you did this in WireCat Desktop: record it as yours, with no terminal question");
|
|
105
|
+
export const byOption = (command) => fromAppOption(command.option("--as-owner", "act as you although an agent's terminal runs memo (AI_AGENT or CLAUDECODE set); asks y/N at the terminal"));
|
|
101
106
|
export const reasonOption = (command) => command.option("--reason <text>", "why, in a few words; required when an agent decides for you");
|
|
102
107
|
//# sourceMappingURL=author.js.map
|
package/dist/author.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"author.js","sourceRoot":"","sources":["../src/author.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA;AAEtC,oFAAoF;AACpF,MAAM,YAAY,GAAG,KAAK,EAAE,QAAgB,EAA0B,EAAE;IACtE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,OAAO,C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,MAAM,OAAO,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAA;IAC9D,IAAI,GAAG,KAAK,OAAO;QAAE,OAAO,OAAO,CAAA;IACnC,IAAI,GAAG,CAAC,GAAG,KAAK,UAAU;QACxB,MAAM,IAAI,QAAQ,CAChB,uBAAuB,EACvB,sGAAsG;YACpG,uDAAuD,EACzD,EAAE,MAAM,EAAE,0BAA0B,EAAE,CACvC,CAAA;IACH,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE;QACjB,MAAM,IAAI,QAAQ,CAAC,kBAAkB,EAAE,gDAAgD,EAAE;YACvF,MAAM,EAAE,0BAA0B;YAClC,KAAK,EAAE,QAAQ;SAChB,CAAC,CAAA;IACJ,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE,EAAE,CAAA;AAChD,CAAC,CAAA;AAED,uGAAuG;AACvG,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAAgB,EAAE,EAAE,CAChD,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,gFAAgF,CAAC,CAAA;AAEhH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,OAAgB,EAAE,EAAE,CAC3C,aAAa,CACX,OAAO,CAAC,MAAM,CACZ,YAAY,EACZ,0GAA0G,CAC3G,CACF,CAAA;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,EAAE,CAC/C,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE,6DAA6D,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.51\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-3R3VE3W2.js","../bundle/anthropic-QVYJRACM.js","../bundle/app-server-T3D2PIGZ.js","../bundle/auto-XJCSM7WE.js","../bundle/bun-DTDD2OHK.js","../bundle/bun-sqlite-DWICJAH3.js","../bundle/command-contract-OTVOQLZS.js","../bundle/decode-ISKRNDDM.js","../bundle/dispatch-W4ZVXTJT.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-TINXXXCB.js","../bundle/embed-R2KJDGEX.js","../bundle/embedder-X2Y5RLKE.js","../bundle/entry-2MUKT36Z.js","../bundle/failure-GQHAQVGH.js","../bundle/failure-KYUARIL2.js","../bundle/first-run-6BSAM4BD.js","../bundle/first-screen-ALXB4ONR.js","../bundle/instructions-E5NBM2NJ.js","../bundle/mcp-RKJG22KM.js","../bundle/mcp-YUPBMZPV.js","../bundle/node-NBHZ4XWV.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-3CBWCPNC.js","../bundle/oauth-L5XC2THD.js","../bundle/open-WR6QQPVB.js","../bundle/openai-MCPELYCJ.js","../bundle/process-EAEC2FBD.js","../bundle/program-WKKBFQIW.js","../bundle/prompt-M4Z35LQ5.js","../bundle/recognize-VT6NKW6D.js","../bundle/remote-6QTPH5PJ.js","../bundle/rerank-MJYLXZ4K.js","../bundle/serve-KQ6OL3OH.js","../bundle/server-AVAJTC5G.js","../bundle/server-QAFF3RP5.js","../bundle/server-UJIH2SBV.js","../bundle/state-2PDCOSJN.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-SXYAS5EI.js","../bundle/store-maintenance-command-ARTXRVYD.js","../bundle/update-MOZKRB2Z.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-UQ2OA6EM.js";
|
|
10
|
+
import "./chunk-FJ3DAE4M.js";
|
|
11
|
+
import "./chunk-XGNNI3S3.js";
|
|
12
12
|
import "./chunk-MM5NVP7F.js";
|
|
13
13
|
import "./chunk-3X4JM3ZR.js";
|
|
14
14
|
import "./chunk-H3ZN4YLB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-MVV32ZTO.js";
|
|
16
|
+
import "./chunk-4GWFRZ2U.js";
|
|
17
|
+
import "./chunk-SW6C6WH5.js";
|
|
18
|
+
import "./chunk-WLKDS65F.js";
|
|
19
|
+
import "./chunk-64JCY7XJ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
22
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
export {
|
|
24
24
|
CHILD_IDLE_MS,
|
|
@@ -2,28 +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-H65NWA3X.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JINNS3FI.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-WLKDS65F.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
optional,
|
|
17
17
|
strictObject,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-64JCY7XJ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4RHIJMRX.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-SXVPRYEF.js";
|
|
14
|
+
import "./chunk-HRLQQLVD.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-E7TMOUWZ.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QIFK3EZM.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6MEVHKIO.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-FJ3DAE4M.js";
|
|
28
|
+
import "./chunk-XGNNI3S3.js";
|
|
29
29
|
import {
|
|
30
30
|
StdioServerTransport,
|
|
31
31
|
serveStdio
|
|
@@ -34,10 +34,10 @@ import "./chunk-3X4JM3ZR.js";
|
|
|
34
34
|
import {
|
|
35
35
|
McpServer
|
|
36
36
|
} from "./chunk-H3ZN4YLB.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-O5Z74SBZ.js";
|
|
38
|
+
import "./chunk-H7RSMNHL.js";
|
|
39
|
+
import "./chunk-5JY464PN.js";
|
|
40
|
+
import "./chunk-FZ4GVE36.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_OUTPUT_BYTES,
|
|
43
43
|
changesAuthorityAt,
|
|
@@ -46,49 +46,49 @@ import {
|
|
|
46
46
|
judgedTargets,
|
|
47
47
|
readsOverMcpAt,
|
|
48
48
|
rootOf2 as rootOf
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-GSCGRBEQ.js";
|
|
50
|
+
import "./chunk-MVV32ZTO.js";
|
|
51
|
+
import "./chunk-MZMJALJT.js";
|
|
52
|
+
import "./chunk-6G53ZFUT.js";
|
|
53
|
+
import "./chunk-OJFRMK2W.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-56BBTOS2.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-4A6JOJLR.js";
|
|
60
|
+
import "./chunk-PWYCF76F.js";
|
|
61
|
+
import "./chunk-REROHDUR.js";
|
|
62
|
+
import "./chunk-OBVKXHOH.js";
|
|
63
|
+
import "./chunk-JCNBJ3FN.js";
|
|
64
|
+
import "./chunk-4GWFRZ2U.js";
|
|
65
|
+
import "./chunk-CZOBBAXM.js";
|
|
66
|
+
import "./chunk-AWLAMVNY.js";
|
|
67
|
+
import "./chunk-CPLYNBAJ.js";
|
|
68
|
+
import "./chunk-JINNS3FI.js";
|
|
69
|
+
import "./chunk-YZB5IL4L.js";
|
|
70
|
+
import "./chunk-QFC7V5VW.js";
|
|
71
|
+
import "./chunk-GBWOMPZ7.js";
|
|
72
|
+
import "./chunk-4MWP6Z3W.js";
|
|
73
|
+
import "./chunk-IK6KH3RE.js";
|
|
74
|
+
import "./chunk-SW6C6WH5.js";
|
|
75
75
|
import "./chunk-D72URWJE.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-3OL3QRFS.js";
|
|
77
|
+
import "./chunk-XN5YDZY7.js";
|
|
78
|
+
import "./chunk-WLKDS65F.js";
|
|
79
79
|
import {
|
|
80
80
|
mcpErrorResult
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-64JCY7XJ.js";
|
|
82
82
|
import "./chunk-Y5E2WNWB.js";
|
|
83
83
|
import {
|
|
84
84
|
CliError
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import "./chunk-
|
|
85
|
+
} from "./chunk-4ZW6ZJ2V.js";
|
|
86
|
+
import "./chunk-BUHTAMPF.js";
|
|
87
87
|
import {
|
|
88
88
|
__name
|
|
89
89
|
} from "./chunk-ZVVMGPBJ.js";
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
92
92
|
var EXCLUDED = [["mcp"]];
|
|
93
93
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
94
94
|
const { app } = options;
|
|
@@ -206,7 +206,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
206
206
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
207
207
|
const { app } = options;
|
|
208
208
|
const { build } = createAppServer(command, context, options);
|
|
209
|
-
const { serveOverHttp } = await import("./serve-
|
|
209
|
+
const { serveOverHttp } = await import("./serve-KQ6OL3OH.js");
|
|
210
210
|
const listening = await serveOverHttp(build, {
|
|
211
211
|
...http,
|
|
212
212
|
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-YPLKNKAD.js";
|
|
19
|
+
import "./chunk-AEVTXHTY.js";
|
|
20
|
+
import "./chunk-ROP27ZJU.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-LYUVULFK.js";
|
|
23
|
+
import "./chunk-O5UP2KZL.js";
|
|
24
|
+
import "./chunk-E3WIMCV5.js";
|
|
25
|
+
import "./chunk-HRLQQLVD.js";
|
|
26
|
+
import "./chunk-E7TMOUWZ.js";
|
|
27
|
+
import "./chunk-QIFK3EZM.js";
|
|
28
|
+
import "./chunk-PX2B5ZRL.js";
|
|
29
|
+
import "./chunk-O5Z74SBZ.js";
|
|
30
|
+
import "./chunk-H7RSMNHL.js";
|
|
31
|
+
import "./chunk-5JY464PN.js";
|
|
32
|
+
import "./chunk-ETD2DRJD.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-FZ4GVE36.js";
|
|
35
|
+
import "./chunk-GSCGRBEQ.js";
|
|
36
|
+
import "./chunk-MVV32ZTO.js";
|
|
37
|
+
import "./chunk-UDAATSWZ.js";
|
|
38
|
+
import "./chunk-MZMJALJT.js";
|
|
39
|
+
import "./chunk-6G53ZFUT.js";
|
|
40
|
+
import "./chunk-OJFRMK2W.js";
|
|
41
|
+
import "./chunk-N3UA5PO4.js";
|
|
42
|
+
import "./chunk-56BBTOS2.js";
|
|
43
|
+
import "./chunk-4A6JOJLR.js";
|
|
44
|
+
import "./chunk-PWYCF76F.js";
|
|
45
|
+
import "./chunk-REROHDUR.js";
|
|
46
|
+
import "./chunk-OBVKXHOH.js";
|
|
47
|
+
import "./chunk-JCNBJ3FN.js";
|
|
48
|
+
import "./chunk-4GWFRZ2U.js";
|
|
49
|
+
import "./chunk-CZOBBAXM.js";
|
|
50
|
+
import "./chunk-AWLAMVNY.js";
|
|
51
|
+
import "./chunk-WPW6ULD7.js";
|
|
52
|
+
import "./chunk-CPLYNBAJ.js";
|
|
53
|
+
import "./chunk-H65NWA3X.js";
|
|
54
|
+
import "./chunk-JINNS3FI.js";
|
|
55
|
+
import "./chunk-YZB5IL4L.js";
|
|
56
|
+
import "./chunk-QFC7V5VW.js";
|
|
57
|
+
import "./chunk-GBWOMPZ7.js";
|
|
58
|
+
import "./chunk-4MWP6Z3W.js";
|
|
59
|
+
import "./chunk-ZC2LNXGO.js";
|
|
60
|
+
import "./chunk-IK6KH3RE.js";
|
|
61
|
+
import "./chunk-SW6C6WH5.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-3OL3QRFS.js";
|
|
64
|
+
import "./chunk-XN5YDZY7.js";
|
|
65
|
+
import "./chunk-WLKDS65F.js";
|
|
66
|
+
import "./chunk-64JCY7XJ.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
69
|
+
import "./chunk-BUHTAMPF.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-BUHTAMPF.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/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,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-V3TELYLZ.js";
|
|
7
|
+
import "./chunk-WLKDS65F.js";
|
|
8
|
+
import "./chunk-64JCY7XJ.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XN5YDZY7.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4ZW6ZJ2V.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-DWICJAH3.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-3CBWCPNC.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PWYCF76F.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WLKDS65F.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { userInfo } from "node:os";
|
|
12
12
|
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
13
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|