@wirecat/tg-cli 0.132.0 → 0.133.0

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 (136) hide show
  1. package/README.md +138 -317
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-OXVMOWVE.js → adapter-GSGX3WBH.js} +61 -60
  4. package/dist/bundle/{all-profiles-6OQC7PBL.js → all-profiles-VOCJ55YH.js} +9 -9
  5. package/dist/bundle/{anthropic-YFMIHFW5.js → anthropic-J6CTLU3W.js} +5 -5
  6. package/dist/bundle/{app-server-S7CJPJXN.js → app-server-GVFGA4TJ.js} +57 -57
  7. package/dist/bundle/{bot-api-KJ6EZ4R6.js → bot-api-LWONPIGK.js} +62 -61
  8. package/dist/bundle/{bot-history-JYCXDFW4.js → bot-history-XOW7Y2GC.js} +22 -22
  9. package/dist/bundle/{bun-FVTOBYZ2.js → bun-436CH6CP.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-KDGWBNOR.js → bun-sqlite-ZLB5RK5Q.js} +6 -6
  11. package/dist/bundle/chunk-2KQDJHF3.js +88 -0
  12. package/dist/bundle/{chunk-4CKYANQH.js → chunk-54WLIPIQ.js} +1 -1
  13. package/dist/bundle/{chunk-IY7CTAOQ.js → chunk-57KJ3TRS.js} +9 -9
  14. package/dist/bundle/{chunk-YAPO7QNO.js → chunk-5HKPQPD4.js} +6 -6
  15. package/dist/bundle/{chunk-EPR67IRV.js → chunk-5L44DSHV.js} +4 -4
  16. package/dist/bundle/{chunk-IYJ4B632.js → chunk-5LRTYBZW.js} +12 -12
  17. package/dist/bundle/{chunk-AUZWIBHJ.js → chunk-6A44ZZFC.js} +6 -6
  18. package/dist/bundle/{chunk-44A2XRDE.js → chunk-6CHIGUCY.js} +19 -19
  19. package/dist/bundle/{chunk-42MXCMW6.js → chunk-6H2NW6HK.js} +3 -3
  20. package/dist/bundle/{chunk-JPSRC732.js → chunk-6S77EKZU.js} +13 -13
  21. package/dist/bundle/{chunk-FPSRT2TX.js → chunk-6VCSOQFL.js} +2 -2
  22. package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
  23. package/dist/bundle/{chunk-Y57EKZZK.js → chunk-7NYP4RBO.js} +1617 -963
  24. package/dist/bundle/{chunk-BLZEQVP4.js → chunk-BXVB42KJ.js} +2 -2
  25. package/dist/bundle/{chunk-A5D3J7XZ.js → chunk-CEJYNB3I.js} +4 -4
  26. package/dist/bundle/{chunk-LZ3HFDYL.js → chunk-D2SJLZSH.js} +2 -2
  27. package/dist/bundle/{chunk-LF6FACSW.js → chunk-H7ML7X3G.js} +5 -5
  28. package/dist/bundle/{chunk-O3AM32YN.js → chunk-HB5DP6L5.js} +15 -15
  29. package/dist/bundle/{chunk-NWCFO37P.js → chunk-IBCXEVNY.js} +3 -3
  30. package/dist/bundle/{chunk-U7PHJSTX.js → chunk-IH4Z3KZU.js} +2 -2
  31. package/dist/bundle/{chunk-LMGVPDXN.js → chunk-IPPCQ7IK.js} +2 -2
  32. package/dist/bundle/{chunk-OIRNHSAH.js → chunk-IYAXLLGR.js} +6 -6
  33. package/dist/bundle/{chunk-5UPEEMEF.js → chunk-JGMXBAGH.js} +104 -41
  34. package/dist/bundle/{chunk-4YB7JU2W.js → chunk-JKSD43L7.js} +6 -6
  35. package/dist/bundle/{chunk-YSNQGOUI.js → chunk-JPNVEPS4.js} +439 -394
  36. package/dist/bundle/{chunk-74UPKW7H.js → chunk-KEN4B57V.js} +2 -2
  37. package/dist/bundle/{chunk-PYECFCPD.js → chunk-KHUXDSXN.js} +1 -1
  38. package/dist/bundle/{chunk-2UGSIHLV.js → chunk-KUA24HWG.js} +2 -2
  39. package/dist/bundle/{chunk-JMJOWT4N.js → chunk-KVFUH5IT.js} +1 -1
  40. package/dist/bundle/{chunk-KJICORS4.js → chunk-LBZEZO32.js} +36 -36
  41. package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
  42. package/dist/bundle/{chunk-ESOFH7PA.js → chunk-LOS4D6ZB.js} +60 -30
  43. package/dist/bundle/{chunk-PR4F3TYK.js → chunk-LQQSDGQ6.js} +35 -36
  44. package/dist/bundle/{chunk-BSXS7VAC.js → chunk-M6QOM6SL.js} +1 -1
  45. package/dist/bundle/{chunk-B4LGDOG5.js → chunk-N3JUHGKM.js} +302 -282
  46. package/dist/bundle/{chunk-CFWFESBO.js → chunk-N7QREPZW.js} +8 -8
  47. package/dist/bundle/{chunk-7SEVVE3X.js → chunk-NAXOT35J.js} +3 -3
  48. package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
  49. package/dist/bundle/{chunk-DXPGMUOR.js → chunk-NTWXL2QV.js} +2 -2
  50. package/dist/bundle/{chunk-BMI2NWFI.js → chunk-O6JUVATT.js} +8 -8
  51. package/dist/bundle/{chunk-FKGYXIN7.js → chunk-OWY52JBO.js} +7 -7
  52. package/dist/bundle/{chunk-UGD4SCUI.js → chunk-OX73ERZW.js} +1 -1
  53. package/dist/bundle/{chunk-ZRW3DF25.js → chunk-QGWISM4W.js} +24 -24
  54. package/dist/bundle/{chunk-4EDJJQJI.js → chunk-QVGEL66U.js} +8 -8
  55. package/dist/bundle/{chunk-LG3K5NHX.js → chunk-QWO7L4UH.js} +7 -7
  56. package/dist/bundle/{chunk-DSJNZXTP.js → chunk-QYLZD4DS.js} +1 -1
  57. package/dist/bundle/{chunk-PG37E63A.js → chunk-RABUG4KA.js} +60 -60
  58. package/dist/bundle/{chunk-HBSKP7OV.js → chunk-SMI2EUH4.js} +1 -1
  59. package/dist/bundle/{chunk-2LZD2VFV.js → chunk-SMU6NA7F.js} +4 -4
  60. package/dist/bundle/{chunk-AERP2QR6.js → chunk-TCI7I6YF.js} +10 -10
  61. package/dist/bundle/{chunk-SMQ45RZX.js → chunk-THYGLTRB.js} +9 -60
  62. package/dist/bundle/{chunk-NLRGMP7M.js → chunk-TPD37ECC.js} +3 -3
  63. package/dist/bundle/{chunk-FIUH52FE.js → chunk-TTDZVWDU.js} +1 -1
  64. package/dist/bundle/{chunk-YRXSNH3R.js → chunk-UGS57TT5.js} +2 -2
  65. package/dist/bundle/{chunk-OGZZUDJJ.js → chunk-UIAKLELF.js} +54 -54
  66. package/dist/bundle/{chunk-O43PARFS.js → chunk-UKBK2VWZ.js} +208 -161
  67. package/dist/bundle/{chunk-JNWKV3QV.js → chunk-UQYL6TJ7.js} +4 -4
  68. package/dist/bundle/{chunk-3QHKZLBU.js → chunk-UZ63ORMY.js} +4 -4
  69. package/dist/bundle/{chunk-UAFSDTID.js → chunk-VCAOH45X.js} +1 -1
  70. package/dist/bundle/{chunk-6LPUK62N.js → chunk-VGN5YXYI.js} +3 -3
  71. package/dist/bundle/{chunk-N5LZ6L4D.js → chunk-VTQMR3XG.js} +3 -3
  72. package/dist/bundle/{chunk-QS46C5SW.js → chunk-VWJTYAIQ.js} +17 -17
  73. package/dist/bundle/{chunk-M2TV6BDB.js → chunk-WCYKVX3B.js} +7 -7
  74. package/dist/bundle/{chunk-QNEAPLOP.js → chunk-XDQU5HBO.js} +12 -12
  75. package/dist/bundle/{chunk-ZJIGVT6Z.js → chunk-XKOMP3HV.js} +2 -2
  76. package/dist/bundle/{chunk-JDNDWZYS.js → chunk-XOX4BX5A.js} +4 -4
  77. package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
  78. package/dist/bundle/{chunk-JZJV3DYK.js → chunk-YY6FGKGD.js} +2 -2
  79. package/dist/bundle/{chunk-WAVRUADL.js → chunk-ZHO3TPHM.js} +13 -13
  80. package/dist/bundle/{chunk-NWDADTPE.js → chunk-ZYAHZKYF.js} +3 -3
  81. package/dist/bundle/command-contract-TQIARAB4.js +37 -0
  82. package/dist/bundle/{command-server-entry-TM264M2J.js → command-server-entry-AE27QXTE.js} +27 -27
  83. package/dist/bundle/{decode-RJFOSHCE.js → decode-RQPPZ72F.js} +5 -5
  84. package/dist/bundle/{dispatch-7OZP3X4O.js → dispatch-KQO2MCSH.js} +8 -8
  85. package/dist/bundle/{echarts-PYKF4D7B.js → echarts-FZRIACN4.js} +2 -2
  86. package/dist/bundle/{embed-JFN6Z5TG.js → embed-TOSWWMDL.js} +6 -6
  87. package/dist/bundle/{embedder-WN54JIMY.js → embedder-JHIQSBGD.js} +9 -9
  88. package/dist/bundle/{entry-Z6LO6N6S.js → entry-DU4KRXTG.js} +9 -9
  89. package/dist/bundle/{failure-UONA2IA5.js → failure-3YC3YGYO.js} +2 -2
  90. package/dist/bundle/{first-run-WQAKES7G.js → first-run-DQQT4FID.js} +12 -12
  91. package/dist/bundle/first-screen-7N4CTZSA.js +37 -0
  92. package/dist/bundle/{instructions-PR4BBBTM.js → instructions-WI64CJQ6.js} +1 -1
  93. package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
  94. package/dist/bundle/meeting-combined-3RAOFQ7M.js +23 -0
  95. package/dist/bundle/{meeting-model-YVTUOM4H.js → meeting-model-XNRSREIK.js} +11 -11
  96. package/dist/bundle/{meeting-semantic-X4KG6RNV.js → meeting-semantic-OOSCHQMB.js} +6 -6
  97. package/dist/bundle/{node-OVS5LTVZ.js → node-JLKDNVKV.js} +2 -2
  98. package/dist/bundle/{node-sqlite-LC44SM4Z.js → node-sqlite-YOGH26O2.js} +7 -7
  99. package/dist/bundle/{oauth-NSVUFQCW.js → oauth-FOMXM5HP.js} +7 -7
  100. package/dist/bundle/{open-XN5SJFVY.js → open-SM2UXUKM.js} +5 -5
  101. package/dist/bundle/{openai-WOYZHJNL.js → openai-J2H7S6ZF.js} +15 -15
  102. package/dist/bundle/{process-UFBRGTQC.js → process-HI7OZBOI.js} +1 -1
  103. package/dist/bundle/{program-RAGBRRQH.js → program-VY4HFU25.js} +64 -63
  104. package/dist/bundle/{prompt-6HAKBUQN.js → prompt-NUUVFMOF.js} +5 -5
  105. package/dist/bundle/{proxy-transport-5EJVFUTC.js → proxy-transport-AN4VMRRN.js} +5 -5
  106. package/dist/bundle/{recognize-CN5COBVJ.js → recognize-MALJHPDI.js} +4 -4
  107. package/dist/bundle/{remote-STX5AMGE.js → remote-QUDRSTS2.js} +9 -9
  108. package/dist/bundle/{rerank-ZCOWTXIJ.js → rerank-2DSO3D3S.js} +7 -7
  109. package/dist/bundle/{serve-XMQEOIG2.js → serve-NCJ52MY3.js} +9 -9
  110. package/dist/bundle/server-CHGON5I2.js +70 -0
  111. package/dist/bundle/{server-PGGUD3DM.js → server-Y3M544AM.js} +49 -49
  112. package/dist/bundle/{sqlite-runtime-PS4DSOIU.js → sqlite-runtime-NJUSXVKK.js} +6 -6
  113. package/dist/bundle/{state-GL4ZC57O.js → state-AVOWQVET.js} +6 -6
  114. package/dist/bundle/{store-HJ76TLWD.js → store-BZ5ICDRP.js} +23 -19
  115. package/dist/bundle/{store-VISFXSHL.js → store-MMIYOL4H.js} +19 -17
  116. package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +61 -0
  117. package/dist/bundle/tg.js +13 -13
  118. package/dist/version.d.ts +1 -1
  119. package/dist/version.js +1 -1
  120. package/package.json +3 -3
  121. package/skills/tg-cli/SKILL.md +78 -576
  122. package/skills/tg-cli/references/files.md +64 -0
  123. package/skills/tg-cli/references/history.md +22 -0
  124. package/skills/tg-cli/references/mcp-and-bots.md +54 -0
  125. package/skills/tg-cli/references/messages.md +111 -0
  126. package/skills/tg-cli/references/people.md +85 -0
  127. package/skills/tg-cli/references/search.md +130 -0
  128. package/skills/tg-cli/references/setup.md +91 -0
  129. package/skills/tg-cli/references/stats.md +45 -0
  130. package/skills/tg-cli/references/tasks.md +54 -0
  131. package/dist/bundle/command-contract-FRH7LBGE.js +0 -37
  132. package/dist/bundle/first-screen-4RFG22SA.js +0 -35
  133. package/dist/bundle/meeting-combined-MHWTZOF2.js +0 -23
  134. package/dist/bundle/server-WTNYWCZ4.js +0 -69
  135. package/dist/bundle/store-maintenance-command-SMARMN5C.js +0 -60
  136. /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-5UPEEMEF.js";
10
+ } from "./chunk-JGMXBAGH.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-6LPUK62N.js";
13
+ } from "./chunk-VGN5YXYI.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,10 +18,10 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-B4LGDOG5.js";
21
+ } from "./chunk-N3JUHGKM.js";
22
22
  import {
23
23
  MAX_BUFFERED_INPUT
24
- } from "./chunk-YRXSNH3R.js";
24
+ } from "./chunk-UGS57TT5.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  ENTITIES,
@@ -42,29 +42,29 @@ import {
42
42
  refuseStoreChange,
43
43
  sealed,
44
44
  startRecording
45
- } from "./chunk-O43PARFS.js";
45
+ } from "./chunk-UKBK2VWZ.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
49
49
  runContextOf,
50
50
  withCaller
51
- } from "./chunk-LG3K5NHX.js";
51
+ } from "./chunk-QWO7L4UH.js";
52
52
  import {
53
53
  enclosingTraceId,
54
54
  inRun,
55
55
  newRunId,
56
56
  traceOf
57
- } from "./chunk-KJICORS4.js";
57
+ } from "./chunk-LBZEZO32.js";
58
58
  import {
59
59
  storeDamaged
60
- } from "./chunk-NWDADTPE.js";
60
+ } from "./chunk-ZYAHZKYF.js";
61
61
  import {
62
62
  queryDescription
63
- } from "./chunk-PG37E63A.js";
63
+ } from "./chunk-RABUG4KA.js";
64
64
  import {
65
65
  captureStreams,
66
66
  traceIdOf
67
- } from "./chunk-44A2XRDE.js";
67
+ } from "./chunk-6CHIGUCY.js";
68
68
  import {
69
69
  COMPACT_FLAG,
70
70
  SNAKE_CASE,
@@ -103,19 +103,19 @@ import {
103
103
  unknown,
104
104
  word,
105
105
  writes
106
- } from "./chunk-4EDJJQJI.js";
106
+ } from "./chunk-QVGEL66U.js";
107
107
  import {
108
108
  CliError,
109
109
  errorCodes
110
- } from "./chunk-5RDNBG7D.js";
110
+ } from "./chunk-LIQMUDIZ.js";
111
111
  import {
112
112
  __name
113
113
  } from "./chunk-ZVVMGPBJ.js";
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/agent.js
116
116
  import { Readable } from "node:stream";
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
118
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
119
119
  var LINT_SEVERITIES = ["high", "medium", "low"];
120
120
  var lintRuleSchema = strictObject({
121
121
  id: word,
@@ -261,7 +261,7 @@ var overrideSchema = strictObject({
261
261
  });
262
262
  var overridesSchema = array(overrideSchema);
263
263
 
264
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
264
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
265
265
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
266
266
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
267
267
  var AUDIT_RULES = defineAuditRules([
@@ -398,6 +398,19 @@ var PARITY_GROUPS = defineParityGroups([
398
398
  members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline", "pbx", "notion"],
399
399
  covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
400
400
  differences: [...MEMO_HAS_NO_PROFILES, MEMO_DOCTOR_DEEP]
401
+ },
402
+ // The CRM CLIs on cli-core's shared CRM commands. amo-cli (amoCRM and Kommo) is not on npm yet, so `audit --family`
403
+ // skips it, as beeline. Only b24 has `leads` (amoCRM has no lead apart from a deal), `products` (amo leaves them for
404
+ // later) and `deals delete` (amoCRM's API v4 cannot delete a lead,
405
+ // https://www.amocrm.ru/developers/content/crm_platform/leads-api); a list of roots does not compare presence, so
406
+ // these need no difference. `people`, `organizations`, `users`, `api` and `session` join once b24's released tree
407
+ // is on cli-core's shared people and organizations commands: measured against b24 0.23.0 on 2026-11-16 they differ
408
+ // in options, outputs and summaries.
409
+ {
410
+ name: "crm",
411
+ members: ["b24", "amo"],
412
+ covers: ["deals", "sync", "search", "store", "schedule", "account"],
413
+ differences: []
401
414
  }
402
415
  ]);
403
416
  var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
@@ -411,7 +424,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
411
424
  { path: ["upgrade"], meaning: "updates the CLI" }
412
425
  ]);
413
426
 
414
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
427
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
415
428
  var fieldRuleSchema = strictObject({ id: word, rule: text });
416
429
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
417
430
  var FIELD_RULES = defineFieldRules([
@@ -427,7 +440,7 @@ var FIELD_RULES = defineFieldRules([
427
440
  }
428
441
  ]);
429
442
 
430
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
443
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
431
444
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
432
445
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
433
446
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -449,7 +462,7 @@ var IDENTIFIERS = defineIdentifiers([
449
462
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
450
463
  ]);
451
464
 
452
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
465
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
453
466
  var ACCOUNT_FLAGS = [
454
467
  {
455
468
  name: "--client-id",
@@ -486,7 +499,7 @@ var ACCOUNT_FLAGS = [
486
499
  { name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
487
500
  ];
488
501
 
489
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
502
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
490
503
  var CALENDAR_FLAGS = [
491
504
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
492
505
  {
@@ -574,8 +587,22 @@ var CALENDAR_FLAGS = [
574
587
  }
575
588
  ];
576
589
 
577
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
590
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
578
591
  var CRM_FLAGS = [
592
+ {
593
+ name: "--email",
594
+ value: "<address>",
595
+ role: "value",
596
+ type: "string",
597
+ meaning: "an e-mail address to give it; repeat it for more"
598
+ },
599
+ {
600
+ name: "--phone",
601
+ value: "<phone>",
602
+ role: "value",
603
+ type: "string",
604
+ meaning: "a phone number to give it, in international form starting with +; repeat it for more"
605
+ },
579
606
  {
580
607
  name: "--pipeline",
581
608
  value: "<pipeline>",
@@ -724,7 +751,7 @@ var CRM_FLAGS = [
724
751
  }
725
752
  ];
726
753
 
727
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
754
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
728
755
  var HOW_FLAGS = [
729
756
  {
730
757
  name: "--limit",
@@ -1721,7 +1748,7 @@ var HOW_FLAGS = [
1721
1748
  }
1722
1749
  ];
1723
1750
 
1724
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1751
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
1725
1752
  var KNOWLEDGE_FLAGS = [
1726
1753
  {
1727
1754
  name: "--accept-terms",
@@ -1773,7 +1800,7 @@ var KNOWLEDGE_FLAGS = [
1773
1800
  }
1774
1801
  ];
1775
1802
 
1776
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1803
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1777
1804
  var MAIL_FLAGS = [
1778
1805
  {
1779
1806
  name: "--cc",
@@ -1803,7 +1830,7 @@ var MAIL_FLAGS = [
1803
1830
  }
1804
1831
  ];
1805
1832
 
1806
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1833
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1807
1834
  var PRIVACY_FLAGS = [
1808
1835
  {
1809
1836
  name: "--about-text",
@@ -1864,7 +1891,7 @@ var PRIVACY_FLAGS = [
1864
1891
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1865
1892
  ];
1866
1893
 
1867
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1894
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1868
1895
  var SCHEDULE_FLAGS = [
1869
1896
  {
1870
1897
  name: "--locale",
@@ -1897,7 +1924,7 @@ var SCHEDULE_FLAGS = [
1897
1924
  }
1898
1925
  ];
1899
1926
 
1900
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1927
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1901
1928
  var WHAT_FLAGS = [
1902
1929
  {
1903
1930
  name: "--analysis-provider",
@@ -2894,7 +2921,7 @@ var WHAT_FLAGS = [
2894
2921
  }
2895
2922
  ];
2896
2923
 
2897
- // node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2924
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2898
2925
  var FLAG_TYPES = [
2899
2926
  "switch",
2900
2927
  "count",
@@ -3167,6 +3194,8 @@ var collections = [
3167
3194
  ["splits", "parts of one transaction, each with its own amount and category"],
3168
3195
  ["users", "people who work in the owner's account at a service, such as a CRM's employees"],
3169
3196
  ["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
3197
+ ["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
3198
+ ["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
3170
3199
  [
3171
3200
  "identities",
3172
3201
  "ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone"
@@ -3251,6 +3280,7 @@ var views = [
3251
3280
  ["transcript", "the text of speech: a voice message or a meeting recording"],
3252
3281
  ["evidence", "the stored messages or lines a result or a reference rests on"],
3253
3282
  ["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
3283
+ ["invitation", "the text that invites people to a meeting: how to join it and when"],
3254
3284
  ["agenda", "what needs a look today"],
3255
3285
  ["busy", "when calendars or people are taken, without what takes them"],
3256
3286
  ["categories", "the categories a thing takes, with what each means"],
@@ -3314,7 +3344,7 @@ var VOCABULARY = defineVocabulary({
3314
3344
  ]
3315
3345
  });
3316
3346
 
3317
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3347
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/agent.js
3318
3348
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
3319
3349
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
3320
3350
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3541,7 +3571,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3541
3571
  }
3542
3572
  }, "runCommandForAgent");
3543
3573
 
3544
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3574
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3545
3575
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3546
3576
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3547
3577
  var message = pipe(
@@ -3800,7 +3830,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3800
3830
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
3801
3831
  }, "failed");
3802
3832
 
3803
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3833
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3804
3834
  import { randomUUID } from "node:crypto";
3805
3835
  var MATCHES = 8;
3806
3836
  var ANSWER = answerSchema();
@@ -12,7 +12,7 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-ZRW3DF25.js";
15
+ } from "./chunk-QGWISM4W.js";
16
16
  import {
17
17
  BinaryResource,
18
18
  Picture,
@@ -33,25 +33,25 @@ import {
33
33
  tool,
34
34
  toolKey,
35
35
  toolsFromCommands
36
- } from "./chunk-ESOFH7PA.js";
36
+ } from "./chunk-LOS4D6ZB.js";
37
37
  import {
38
38
  agentJson,
39
- skillResource
40
- } from "./chunk-5UPEEMEF.js";
39
+ skillResources
40
+ } from "./chunk-JGMXBAGH.js";
41
41
  import {
42
42
  StdioServerTransport,
43
43
  answeredWire,
44
44
  callerOf,
45
45
  callingAgent,
46
46
  serveStdio
47
- } from "./chunk-6LPUK62N.js";
47
+ } from "./chunk-VGN5YXYI.js";
48
48
  import {
49
49
  McpServer,
50
50
  ResourceTemplate
51
51
  } from "./chunk-5D4AEUVA.js";
52
52
  import {
53
53
  connectedFor
54
- } from "./chunk-JPSRC732.js";
54
+ } from "./chunk-6S77EKZU.js";
55
55
  import {
56
56
  capability,
57
57
  dateWindow,
@@ -61,26 +61,26 @@ import {
61
61
  servicesFor,
62
62
  storedDeps,
63
63
  wholeList
64
- } from "./chunk-B4LGDOG5.js";
64
+ } from "./chunk-N3JUHGKM.js";
65
65
  import {
66
66
  mcpHttpMarker
67
- } from "./chunk-3QHKZLBU.js";
67
+ } from "./chunk-UZ63ORMY.js";
68
68
  import {
69
69
  instructions
70
- } from "./chunk-4CKYANQH.js";
70
+ } from "./chunk-54WLIPIQ.js";
71
71
  import {
72
72
  warmEmbedders
73
- } from "./chunk-AUZWIBHJ.js";
73
+ } from "./chunk-6A44ZZFC.js";
74
74
  import {
75
75
  stdinFieldOf
76
- } from "./chunk-PYECFCPD.js";
76
+ } from "./chunk-KHUXDSXN.js";
77
77
  import {
78
78
  openStore,
79
79
  pdfPreviewLimits
80
- } from "./chunk-Y57EKZZK.js";
80
+ } from "./chunk-7NYP4RBO.js";
81
81
  import {
82
82
  findCommand
83
- } from "./chunk-2LZD2VFV.js";
83
+ } from "./chunk-SMU6NA7F.js";
84
84
  import {
85
85
  DEFAULT_OUTPUT_BYTES,
86
86
  changesAuthorityAt,
@@ -97,22 +97,22 @@ import {
97
97
  rootOf2 as rootOf,
98
98
  sealed,
99
99
  snakeKeys
100
- } from "./chunk-O43PARFS.js";
100
+ } from "./chunk-UKBK2VWZ.js";
101
101
  import {
102
102
  withCaller
103
- } from "./chunk-LG3K5NHX.js";
103
+ } from "./chunk-QWO7L4UH.js";
104
104
  import {
105
105
  readOnlyLockOf
106
- } from "./chunk-74UPKW7H.js";
106
+ } from "./chunk-KEN4B57V.js";
107
107
  import {
108
108
  typedCommand
109
- } from "./chunk-KJICORS4.js";
109
+ } from "./chunk-LBZEZO32.js";
110
110
  import {
111
111
  isCliFailure
112
- } from "./chunk-NWDADTPE.js";
112
+ } from "./chunk-ZYAHZKYF.js";
113
113
  import {
114
114
  timezoneOf
115
- } from "./chunk-PG37E63A.js";
115
+ } from "./chunk-RABUG4KA.js";
116
116
  import {
117
117
  description,
118
118
  errorObjectOf,
@@ -129,19 +129,19 @@ import {
129
129
  regex,
130
130
  strictObject,
131
131
  string
132
- } from "./chunk-4EDJJQJI.js";
132
+ } from "./chunk-QVGEL66U.js";
133
133
  import {
134
134
  CliError,
135
135
  visibleControls
136
- } from "./chunk-5RDNBG7D.js";
136
+ } from "./chunk-LIQMUDIZ.js";
137
137
  import {
138
138
  __name
139
139
  } from "./chunk-ZVVMGPBJ.js";
140
140
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/server.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/server.js
142
142
  import { randomUUID } from "node:crypto";
143
143
 
144
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
144
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
145
145
  var agentLog = /* @__PURE__ */ __name((open) => {
146
146
  let held;
147
147
  return {
@@ -160,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
160
160
  };
161
161
  }, "agentLog");
162
162
 
163
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/resources.js
163
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/resources.js
164
164
  var LISTED = 100;
165
165
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
166
166
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -198,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
198
198
  });
199
199
  }, "registerResources");
200
200
 
201
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/session.js
201
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/session.js
202
202
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
203
203
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
204
204
  var MessengerSession = class {
@@ -273,7 +273,7 @@ var MessengerSession = class {
273
273
  }
274
274
  };
275
275
 
276
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
276
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
277
277
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
278
278
  const _command = messenger.app.command;
279
279
  return {
@@ -327,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
327
327
  };
328
328
  }, "attachmentsTools");
329
329
 
330
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
330
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
331
331
  var PHOTO_LIMIT = 512 * 1024;
332
332
  var IMAGE_TYPES = [
333
333
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -383,7 +383,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
383
383
  return new Uint8Array(Buffer.concat(chunks));
384
384
  }, "readUpTo");
385
385
 
386
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
386
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
387
387
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
388
388
  stats_charts: tool({
389
389
  title: "A chart from a chat's statistics",
@@ -420,14 +420,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
420
420
  })
421
421
  }), "statsTools");
422
422
 
423
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/tools.js
423
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/tools.js
424
424
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
425
425
  ...messagesPhotoTools(messenger),
426
426
  ...attachmentsTools(messenger),
427
427
  ...statsTools(messenger)
428
428
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
429
429
 
430
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/server.js
430
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/server.js
431
431
  var PER_RUN = /* @__PURE__ */ new Set([
432
432
  "streams",
433
433
  "stdin",
@@ -545,7 +545,8 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
545
545
  ...messenger.diagnose ? { [messenger.provider]: await messenger.diagnose(command, context) } : {}
546
546
  }), "local")
547
547
  });
548
- const skill = messenger.skill ? skillResource(app, messenger.skill) : void 0;
548
+ const skills = messenger.skill ? skillResources(app, messenger.skill) : [];
549
+ const skill = skills[0];
549
550
  const log = agentLog(() => openStore({ env: context.env, command: app.command, version: app.version }));
550
551
  const audit = /* @__PURE__ */ __name(async (call, caller) => {
551
552
  if (!recalledAccount(app, provider, settings.profile, context.env))
@@ -715,10 +716,8 @@ var createServer = /* @__PURE__ */ __name((command, context, messenger, sessionO
715
716
  });
716
717
  }, "assertRead")
717
718
  });
718
- if (skill) {
719
- const { uri, name: resource, title, description: description2, mimeType, read } = skill;
720
- server.registerResource(resource, uri, { title, description: description2, mimeType }, read);
721
- }
719
+ for (const { uri, name: name2, title, description: description2, mimeType, read } of skills)
720
+ server.registerResource(name2, uri, { title, description: description2, mimeType }, read);
722
721
  return server;
723
722
  }, "build");
724
723
  return { session, embedders, build, log, offered: [...commands.map((one) => one.command), ...pictured] };
@@ -744,7 +743,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
744
743
  }, "serveOverStdio");
745
744
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
746
745
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
747
- const { serveOverHttp } = await import("./serve-XMQEOIG2.js");
746
+ const { serveOverHttp } = await import("./serve-NCJ52MY3.js");
748
747
  const appName = messenger.app.command;
749
748
  const appEnvPrefix = messenger.app.envPrefix;
750
749
  const listening = await serveOverHttp(build, {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",