@wirecat/cli-memo 0.131.50 → 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.
Files changed (132) hide show
  1. package/dist/author.d.ts +6 -3
  2. package/dist/author.d.ts.map +1 -1
  3. package/dist/author.js +9 -4
  4. package/dist/author.js.map +1 -1
  5. package/dist/bin/memo.js +2 -2
  6. package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-3R3VE3W2.js} +9 -9
  7. package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-QVYJRACM.js} +6 -6
  8. package/dist/bundle/{app-server-6EKWAYJI.js → app-server-T3D2PIGZ.js} +42 -42
  9. package/dist/bundle/auto-XJCSM7WE.js +86 -0
  10. package/dist/bundle/{bun-HUHQD76Z.js → bun-DTDD2OHK.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-DWICJAH3.js} +5 -5
  12. package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-3OL3QRFS.js} +6 -6
  13. package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-4A6JOJLR.js} +4 -4
  14. package/dist/bundle/{chunk-EJDV5IIF.js → chunk-4GWFRZ2U.js} +1 -1
  15. package/dist/bundle/{chunk-LZWXGO3G.js → chunk-4MWP6Z3W.js} +2 -2
  16. package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-4RHIJMRX.js} +29 -29
  17. package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
  18. package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-526KVXRI.js} +2 -2
  19. package/dist/bundle/{chunk-OT23U5LT.js → chunk-56BBTOS2.js} +2 -2
  20. package/dist/bundle/{chunk-QCPUC3HW.js → chunk-5JY464PN.js} +13 -13
  21. package/dist/bundle/{chunk-57LMWEDK.js → chunk-5ZGOT57S.js} +3 -3
  22. package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
  23. package/dist/bundle/{chunk-3BG5VYMV.js → chunk-66A646SL.js} +10 -10
  24. package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
  25. package/dist/bundle/{chunk-UDJTRFRV.js → chunk-6MEVHKIO.js} +1 -1
  26. package/dist/bundle/{chunk-UAR6UMFL.js → chunk-6O37NSG6.js} +5 -5
  27. package/dist/bundle/{chunk-7ZLOZGIC.js → chunk-7C3MP5LH.js} +6 -6
  28. package/dist/bundle/{chunk-PJMGQJAX.js → chunk-AEVTXHTY.js} +7 -7
  29. package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-AWLAMVNY.js} +6 -6
  30. package/dist/bundle/{chunk-P2TISY3R.js → chunk-BUHTAMPF.js} +1 -1
  31. package/dist/bundle/{chunk-AKD62EUH.js → chunk-CPLYNBAJ.js} +2 -2
  32. package/dist/bundle/{chunk-RYMYE5PF.js → chunk-CZOBBAXM.js} +8 -8
  33. package/dist/bundle/{chunk-SSPSNSC5.js → chunk-E3WIMCV5.js} +1 -1
  34. package/dist/bundle/{chunk-IXXBPSXO.js → chunk-E7TMOUWZ.js} +2 -2
  35. package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
  36. package/dist/bundle/{chunk-6N6BVPVX.js → chunk-ECLBZGWI.js} +4 -4
  37. package/dist/bundle/{chunk-O3KOW7RG.js → chunk-ETD2DRJD.js} +8 -8
  38. package/dist/bundle/{chunk-HXOAPH47.js → chunk-FJ3DAE4M.js} +1 -1
  39. package/dist/bundle/{chunk-GIDZGGAD.js → chunk-FZ4GVE36.js} +4 -4
  40. package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-GBWOMPZ7.js} +4 -4
  41. package/dist/bundle/{chunk-PYRHU35W.js → chunk-GSCGRBEQ.js} +155 -155
  42. package/dist/bundle/{chunk-ND6D4A6H.js → chunk-H65NWA3X.js} +3 -3
  43. package/dist/bundle/{chunk-4VQPPX47.js → chunk-H7RSMNHL.js} +263 -263
  44. package/dist/bundle/{chunk-D5KGXYG6.js → chunk-HRLQQLVD.js} +22 -22
  45. package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
  46. package/dist/bundle/{chunk-ZDHNEYKO.js → chunk-JBSMBHTM.js} +8 -8
  47. package/dist/bundle/{chunk-HCMXUHHF.js → chunk-JCNBJ3FN.js} +66 -66
  48. package/dist/bundle/{chunk-5RVL7GYA.js → chunk-JINNS3FI.js} +2 -2
  49. package/dist/bundle/{chunk-RKFKRCOH.js → chunk-LYUVULFK.js} +260 -260
  50. package/dist/bundle/{chunk-FOM7WE2C.js → chunk-MVV32ZTO.js} +9 -9
  51. package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
  52. package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-N3UA5PO4.js} +11 -11
  53. package/dist/bundle/{chunk-355PHJYX.js → chunk-O5UP2KZL.js} +1 -1
  54. package/dist/bundle/{chunk-XZZFHQGM.js → chunk-O5Z74SBZ.js} +22 -22
  55. package/dist/bundle/{chunk-P2LMXIHL.js → chunk-OBVKXHOH.js} +291 -291
  56. package/dist/bundle/{chunk-DJRBSOWH.js → chunk-OJFRMK2W.js} +4 -4
  57. package/dist/bundle/{chunk-2MFBZ2UM.js → chunk-PNNM72BO.js} +5 -5
  58. package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-PWYCF76F.js} +3 -3
  59. package/dist/bundle/{chunk-2OIGV355.js → chunk-PX2B5ZRL.js} +50 -50
  60. package/dist/bundle/{chunk-5JVA43HX.js → chunk-QFC7V5VW.js} +6 -6
  61. package/dist/bundle/{chunk-NJDGZRF5.js → chunk-QIFK3EZM.js} +14 -14
  62. package/dist/bundle/{chunk-DVA6MQWK.js → chunk-REROHDUR.js} +1 -1
  63. package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-RL2DSQCD.js} +9 -9
  64. package/dist/bundle/{chunk-UJLYVXP6.js → chunk-ROP27ZJU.js} +34 -34
  65. package/dist/bundle/{chunk-N6IHOYMT.js → chunk-SXVPRYEF.js} +161 -36
  66. package/dist/bundle/{chunk-GV6XJMUW.js → chunk-UDAATSWZ.js} +12 -12
  67. package/dist/bundle/{chunk-XH6K2B5L.js → chunk-UQ2OA6EM.js} +4 -4
  68. package/dist/bundle/{chunk-TSUNLSIN.js → chunk-V3TELYLZ.js} +2 -2
  69. package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
  70. package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-WPW6ULD7.js} +3 -3
  71. package/dist/bundle/{chunk-PEYCLVIO.js → chunk-XGNNI3S3.js} +2 -2
  72. package/dist/bundle/{chunk-PUTGTW6W.js → chunk-XN5YDZY7.js} +1 -1
  73. package/dist/bundle/{chunk-SLIF5EMS.js → chunk-YPLKNKAD.js} +7 -7
  74. package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-YZB5IL4L.js} +3 -3
  75. package/dist/bundle/{chunk-5TWUUDKP.js → chunk-ZC2LNXGO.js} +2 -2
  76. package/dist/bundle/command-contract-OTVOQLZS.js +32 -0
  77. package/dist/bundle/{decode-IYWZ3X7X.js → decode-ISKRNDDM.js} +5 -5
  78. package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
  79. package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-TINXXXCB.js} +2 -2
  80. package/dist/bundle/{embed-EGY2R4FN.js → embed-R2KJDGEX.js} +6 -6
  81. package/dist/bundle/{embedder-K2BGPWNX.js → embedder-X2Y5RLKE.js} +9 -9
  82. package/dist/bundle/{entry-NMAZNDNU.js → entry-2MUKT36Z.js} +7 -7
  83. package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
  84. package/dist/bundle/failure-KYUARIL2.js +66 -0
  85. package/dist/bundle/{first-run-QDCSWX3N.js → first-run-6BSAM4BD.js} +11 -11
  86. package/dist/bundle/first-screen-ALXB4ONR.js +30 -0
  87. package/dist/bundle/{instructions-P72XX4AK.js → instructions-E5NBM2NJ.js} +1 -1
  88. package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
  89. package/dist/bundle/mcp-YUPBMZPV.js +90 -0
  90. package/dist/bundle/memo.js +41 -17
  91. package/dist/bundle/{node-ZB4RNICS.js → node-NBHZ4XWV.js} +2 -2
  92. package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-3CBWCPNC.js} +6 -6
  93. package/dist/bundle/{oauth-FMH3JIPT.js → oauth-L5XC2THD.js} +7 -7
  94. package/dist/bundle/{open-PRCTOHHL.js → open-WR6QQPVB.js} +5 -5
  95. package/dist/bundle/{openai-VW4W6SIO.js → openai-MCPELYCJ.js} +10 -10
  96. package/dist/bundle/{process-XNN4WG6N.js → process-EAEC2FBD.js} +1 -1
  97. package/dist/bundle/{program-TVT22XUQ.js → program-WKKBFQIW.js} +68 -63
  98. package/dist/bundle/{prompt-RT55UZGB.js → prompt-M4Z35LQ5.js} +5 -5
  99. package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-VT6NKW6D.js} +4 -4
  100. package/dist/bundle/{remote-T3P5OWRR.js → remote-6QTPH5PJ.js} +7 -7
  101. package/dist/bundle/{rerank-743T3675.js → rerank-MJYLXZ4K.js} +7 -7
  102. package/dist/bundle/{serve-BSKOU4FJ.js → serve-KQ6OL3OH.js} +9 -9
  103. package/dist/bundle/server-AVAJTC5G.js +61 -0
  104. package/dist/bundle/server-QAFF3RP5.js +48 -0
  105. package/dist/bundle/{server-ECOTCYJ3.js → server-UJIH2SBV.js} +58 -58
  106. package/dist/bundle/{state-MDMI3I2Z.js → state-2PDCOSJN.js} +6 -6
  107. package/dist/bundle/{store-I3DIZALN.js → store-SXYAS5EI.js} +13 -13
  108. package/dist/bundle/store-maintenance-command-ARTXRVYD.js +48 -0
  109. package/dist/bundle/update-MOZKRB2Z.js +69 -0
  110. package/dist/mcp/catalogue.js +1 -1
  111. package/dist/mcp/catalogue.js.map +1 -1
  112. package/dist/people/command.d.ts.map +1 -1
  113. package/dist/people/command.js +3 -1
  114. package/dist/people/command.js.map +1 -1
  115. package/dist/version.d.ts +1 -1
  116. package/dist/version.js +1 -1
  117. package/package.json +3 -3
  118. package/skills/cli-memo/SKILL.md +1 -1
  119. package/skills/cli-memo/topics/proposals.md +2 -2
  120. package/skills/mail-triage/SKILL.md +1 -1
  121. package/skills/morning-digest/SKILL.md +1 -1
  122. package/dist/bundle/auto-C7G3WVRU.js +0 -86
  123. package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
  124. package/dist/bundle/failure-FW4NJI7G.js +0 -66
  125. package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
  126. package/dist/bundle/mcp-QRZ2HSON.js +0 -90
  127. package/dist/bundle/server-VMWVYGK7.js +0 -48
  128. package/dist/bundle/server-ZFHSK6TT.js +0 -61
  129. package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
  130. package/dist/bundle/update-ZIZAU5RE.js +0 -69
  131. /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-4ZSY3MKL.js} +0 -0
  132. /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. An agent's terminal is the agent's; `--as-owner` there makes it
12
- * the owner's only after a yes at a real terminal. With no agent named, the owner only when stdin and stdout are a
13
- * terminal: anything else is an unattended run, recorded as one.
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
@@ -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;;;;GAIG;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,CAUnC,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,eAAO,MAAM,QAAQ,YAAa,OAAO,YAItC,CAAA;AAEH,eAAO,MAAM,YAAY,YAAa,OAAO,YACqD,CAAA"}
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. An agent's terminal is the agent's; `--as-owner` there makes it
68
- * the owner's only after a yes at a real terminal. With no agent named, the owner only when stdin and stdout are a
69
- * terminal: anything else is an unattended run, recorded as one.
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
- export const byOption = (command) => 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");
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
@@ -1 +1 @@
1
- {"version":3,"file":"author.js","sourceRoot":"","sources":["../src/author.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE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AAsG;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.50\n")
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-3HADTQZA.js","../bundle/anthropic-RI4DWC3G.js","../bundle/app-server-6EKWAYJI.js","../bundle/auto-C7G3WVRU.js","../bundle/bun-HUHQD76Z.js","../bundle/bun-sqlite-RPSKGB4O.js","../bundle/command-contract-MRLLZQ4M.js","../bundle/decode-IYWZ3X7X.js","../bundle/dispatch-HCRXCPCF.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-5LLJ6JXC.js","../bundle/embed-EGY2R4FN.js","../bundle/embedder-K2BGPWNX.js","../bundle/entry-NMAZNDNU.js","../bundle/failure-FW4NJI7G.js","../bundle/failure-G4DCTWFD.js","../bundle/first-run-QDCSWX3N.js","../bundle/first-screen-YABO6OZ7.js","../bundle/instructions-P72XX4AK.js","../bundle/mcp-M4QN2E7R.js","../bundle/mcp-QRZ2HSON.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZB4RNICS.js","../bundle/node-sqlite-7XJ4J4E5.js","../bundle/oauth-FMH3JIPT.js","../bundle/open-PRCTOHHL.js","../bundle/openai-VW4W6SIO.js","../bundle/process-XNN4WG6N.js","../bundle/program-TVT22XUQ.js","../bundle/prompt-RT55UZGB.js","../bundle/recognize-AQ2UXUC2.js","../bundle/remote-T3P5OWRR.js","../bundle/rerank-743T3675.js","../bundle/serve-BSKOU4FJ.js","../bundle/server-ECOTCYJ3.js","../bundle/server-VMWVYGK7.js","../bundle/server-ZFHSK6TT.js","../bundle/state-MDMI3I2Z.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-I3DIZALN.js","../bundle/store-maintenance-command-HZPQPOK7.js","../bundle/update-ZIZAU5RE.js"]
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-XH6K2B5L.js";
10
- import "./chunk-HXOAPH47.js";
11
- import "./chunk-PEYCLVIO.js";
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-FOM7WE2C.js";
16
- import "./chunk-EJDV5IIF.js";
17
- import "./chunk-VOXIGICJ.js";
18
- import "./chunk-O3ZOYXH3.js";
19
- import "./chunk-EBNNONF5.js";
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-BXTDAGM4.js";
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-ND6D4A6H.js";
5
+ } from "./chunk-H65NWA3X.js";
6
6
  import {
7
7
  messagesFor,
8
8
  systemFor
9
- } from "./chunk-5RVL7GYA.js";
9
+ } from "./chunk-JINNS3FI.js";
10
10
  import {
11
11
  Anthropic
12
12
  } from "./chunk-ADLS6FVG.js";
13
- import "./chunk-O3ZOYXH3.js";
13
+ import "./chunk-WLKDS65F.js";
14
14
  import {
15
15
  array,
16
16
  optional,
17
17
  strictObject,
18
18
  string
19
- } from "./chunk-EBNNONF5.js";
19
+ } from "./chunk-64JCY7XJ.js";
20
20
  import "./chunk-Y5E2WNWB.js";
21
- import "./chunk-BXTDAGM4.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/models/anthropic.js
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-Y6VH7IRN.js";
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-N6IHOYMT.js";
14
- import "./chunk-D5KGXYG6.js";
13
+ } from "./chunk-SXVPRYEF.js";
14
+ import "./chunk-HRLQQLVD.js";
15
15
  import {
16
16
  mcpUrlOf
17
- } from "./chunk-IXXBPSXO.js";
17
+ } from "./chunk-E7TMOUWZ.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-NJDGZRF5.js";
21
+ } from "./chunk-QIFK3EZM.js";
22
22
  import {
23
23
  appInstructions
24
- } from "./chunk-UDJTRFRV.js";
24
+ } from "./chunk-6MEVHKIO.js";
25
25
  import {
26
26
  answeredWire
27
- } from "./chunk-HXOAPH47.js";
28
- import "./chunk-PEYCLVIO.js";
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-XZZFHQGM.js";
38
- import "./chunk-4VQPPX47.js";
39
- import "./chunk-QCPUC3HW.js";
40
- import "./chunk-GIDZGGAD.js";
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-PYRHU35W.js";
50
- import "./chunk-FOM7WE2C.js";
51
- import "./chunk-7RNHFNHX.js";
52
- import "./chunk-VW6BF6M7.js";
53
- import "./chunk-DJRBSOWH.js";
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-OT23U5LT.js";
56
+ } from "./chunk-56BBTOS2.js";
57
57
  import {
58
58
  mcpHttpMarker
59
- } from "./chunk-2HPYP3ZT.js";
60
- import "./chunk-S7F4ZDFU.js";
61
- import "./chunk-DVA6MQWK.js";
62
- import "./chunk-P2LMXIHL.js";
63
- import "./chunk-HCMXUHHF.js";
64
- import "./chunk-EJDV5IIF.js";
65
- import "./chunk-RYMYE5PF.js";
66
- import "./chunk-V2DMJ6ES.js";
67
- import "./chunk-AKD62EUH.js";
68
- import "./chunk-5RVL7GYA.js";
69
- import "./chunk-QCRJNWJZ.js";
70
- import "./chunk-5JVA43HX.js";
71
- import "./chunk-KVOHC4ZM.js";
72
- import "./chunk-LZWXGO3G.js";
73
- import "./chunk-P3ASN72F.js";
74
- import "./chunk-VOXIGICJ.js";
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-NTQUBSIJ.js";
77
- import "./chunk-PUTGTW6W.js";
78
- import "./chunk-O3ZOYXH3.js";
76
+ import "./chunk-3OL3QRFS.js";
77
+ import "./chunk-XN5YDZY7.js";
78
+ import "./chunk-WLKDS65F.js";
79
79
  import {
80
80
  mcpErrorResult
81
- } from "./chunk-EBNNONF5.js";
81
+ } from "./chunk-64JCY7XJ.js";
82
82
  import "./chunk-Y5E2WNWB.js";
83
83
  import {
84
84
  CliError
85
- } from "./chunk-BXTDAGM4.js";
86
- import "./chunk-P2TISY3R.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
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-BSKOU4FJ.js");
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-P2TISY3R.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
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-TSUNLSIN.js";
7
- import "./chunk-O3ZOYXH3.js";
8
- import "./chunk-EBNNONF5.js";
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-BXTDAGM4.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
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-PUTGTW6W.js";
5
+ } from "./chunk-XN5YDZY7.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BXTDAGM4.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/open.js
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-RPSKGB4O.js");
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-7XJ4J4E5.js");
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-S7F4ZDFU.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/runs/secrets.js
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-O3ZOYXH3.js";
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.80.8_commander@15.0.0_esbuild@0.28.2_type_90db47d7f41d7a563eea7bc9cc13c345/node_modules/@wirecat/cli-core/dist/store/path.js
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");