@wirecat/cli-memo 0.131.68 → 0.131.70

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 (72) hide show
  1. package/dist/bin/memo.js +2 -2
  2. package/dist/bundle/{app-server-PGZD3JUW.js → app-server-UP3AL2XQ.js} +10 -10
  3. package/dist/bundle/{auto-OVLXIZRU.js → auto-CVILDIC6.js} +17 -17
  4. package/dist/bundle/{chunk-JQREFZWM.js → chunk-2NFI7SDW.js} +5 -0
  5. package/dist/bundle/{chunk-EEBQN7TK.js → chunk-3OEV7GNU.js} +4 -4
  6. package/dist/bundle/{chunk-V6QYWGO4.js → chunk-3TFK7RBA.js} +3 -3
  7. package/dist/bundle/{chunk-5JPVRS7W.js → chunk-52F4LHCH.js} +3 -3
  8. package/dist/bundle/{chunk-KX7CVSAY.js → chunk-57SQU2YO.js} +4 -4
  9. package/dist/bundle/{chunk-FOF7KGG3.js → chunk-5EHUHZU5.js} +5 -5
  10. package/dist/bundle/{chunk-YVVRV3PQ.js → chunk-7OXLZZ27.js} +31 -1
  11. package/dist/bundle/{chunk-FSDAEZFS.js → chunk-EQKS6M52.js} +3 -3
  12. package/dist/bundle/{chunk-5EB34LNI.js → chunk-FQ54GW57.js} +8 -8
  13. package/dist/bundle/{chunk-FYWGFRR2.js → chunk-GGFL64HF.js} +1 -1
  14. package/dist/bundle/{chunk-5RYMHX2O.js → chunk-GVEY6743.js} +2 -2
  15. package/dist/bundle/{chunk-6A6HR2CS.js → chunk-GVP6CAPH.js} +3 -3
  16. package/dist/bundle/{chunk-4AH6FONF.js → chunk-IJAILIZR.js} +4 -4
  17. package/dist/bundle/{chunk-PUACXS7G.js → chunk-JMGQATR6.js} +1 -1
  18. package/dist/bundle/{chunk-BQYAMBKB.js → chunk-LYAJUZM4.js} +6 -6
  19. package/dist/bundle/{chunk-37H7TTWN.js → chunk-MYLNRBDF.js} +2 -2
  20. package/dist/bundle/{chunk-A3WUEOEV.js → chunk-OAO5UCPJ.js} +1 -1
  21. package/dist/bundle/{chunk-EOJPZ3LX.js → chunk-OHA7HDPX.js} +15 -15
  22. package/dist/bundle/{chunk-RG4GW7EY.js → chunk-QAXIZHK7.js} +9 -9
  23. package/dist/bundle/{chunk-WLD5XU3T.js → chunk-UEMI6FXR.js} +2 -2
  24. package/dist/bundle/{chunk-QHUPSOQT.js → chunk-XTEJXJJ3.js} +3 -3
  25. package/dist/bundle/{chunk-5EZOMIPL.js → chunk-YBTUFOQG.js} +4 -4
  26. package/dist/bundle/{chunk-AJMAR5DC.js → chunk-YXXAPVAZ.js} +4 -4
  27. package/dist/bundle/{command-contract-RX6RWHCT.js → command-contract-OGW2DX4C.js} +3 -3
  28. package/dist/bundle/{entry-XHWG43NW.js → entry-7S2ONYSF.js} +1 -1
  29. package/dist/bundle/{failure-Z7WOYPMA.js → failure-HM55W3NH.js} +15 -15
  30. package/dist/bundle/{first-run-FQ2BAEYK.js → first-run-MLIFZSVH.js} +1 -1
  31. package/dist/bundle/{first-screen-GP2QGKUA.js → first-screen-DGTTK6VK.js} +4 -4
  32. package/dist/bundle/{mcp-USR3ZFQU.js → mcp-CFIL7WZU.js} +7 -7
  33. package/dist/bundle/memo.js +6 -6
  34. package/dist/bundle/{program-FVSSLRBJ.js → program-RSUVU6HA.js} +250 -114
  35. package/dist/bundle/{server-YRZDZ2PZ.js → server-AASCSGCI.js} +10 -10
  36. package/dist/bundle/{server-3FW2MQRQ.js → server-BVRPQPGY.js} +20 -20
  37. package/dist/bundle/{server-SWSWXNDP.js → server-YQLPZK4Z.js} +7 -7
  38. package/dist/bundle/{store-PIQ4TF4O.js → store-VQQVUA4W.js} +2 -2
  39. package/dist/bundle/{store-maintenance-command-EWEXJ253.js → store-maintenance-command-GCBABKEZ.js} +6 -6
  40. package/dist/bundle/{update-6QYRXRVJ.js → update-ZE53ASCW.js} +16 -16
  41. package/dist/contract-overrides/skill.d.ts.map +1 -1
  42. package/dist/contract-overrides/skill.js +5 -10
  43. package/dist/contract-overrides/skill.js.map +1 -1
  44. package/dist/digest/backfill.d.ts.map +1 -1
  45. package/dist/digest/backfill.js +4 -2
  46. package/dist/digest/backfill.js.map +1 -1
  47. package/dist/digest/brief.d.ts +14 -0
  48. package/dist/digest/brief.d.ts.map +1 -0
  49. package/dist/digest/brief.js +143 -0
  50. package/dist/digest/brief.js.map +1 -0
  51. package/dist/examples.d.ts.map +1 -1
  52. package/dist/examples.js +10 -1
  53. package/dist/examples.js.map +1 -1
  54. package/dist/knowledge/command.d.ts.map +1 -1
  55. package/dist/knowledge/command.js +17 -6
  56. package/dist/knowledge/command.js.map +1 -1
  57. package/dist/knowledge/project-context.d.ts.map +1 -1
  58. package/dist/knowledge/project-context.js +3 -2
  59. package/dist/knowledge/project-context.js.map +1 -1
  60. package/dist/knowledge/relationships.d.ts.map +1 -1
  61. package/dist/knowledge/relationships.js +11 -2
  62. package/dist/knowledge/relationships.js.map +1 -1
  63. package/dist/program.d.ts.map +1 -1
  64. package/dist/program.js +16 -8
  65. package/dist/program.js.map +1 -1
  66. package/dist/reasons.d.ts.map +1 -1
  67. package/dist/reasons.js +30 -0
  68. package/dist/reasons.js.map +1 -1
  69. package/dist/version.d.ts +1 -1
  70. package/dist/version.js +1 -1
  71. package/package.json +2 -2
  72. package/skills/cli-memo/topics/projects.md +7 -0
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.68\n")
12
+ process.stdout.write("0.131.70\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-6JKSPBBO.js","../bundle/anthropic-YA2N6EJ4.js","../bundle/app-server-PGZD3JUW.js","../bundle/auto-OVLXIZRU.js","../bundle/bun-OUFOAYV4.js","../bundle/bun-sqlite-5RZTFU2Q.js","../bundle/command-contract-RX6RWHCT.js","../bundle/decode-IJMDTGTW.js","../bundle/dispatch-VJSUBAUM.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-EHYUXOKP.js","../bundle/embed-RUY3UIVC.js","../bundle/embedder-P6WBMEGP.js","../bundle/entry-XHWG43NW.js","../bundle/failure-GLF7OMMM.js","../bundle/failure-Z7WOYPMA.js","../bundle/first-run-FQ2BAEYK.js","../bundle/first-screen-GP2QGKUA.js","../bundle/instructions-ZMG4FLGO.js","../bundle/mcp-H2WYFBNW.js","../bundle/mcp-USR3ZFQU.js","../bundle/node-P4E63KXA.js","../bundle/node-QYL4B7JS.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-ESTT2OCF.js","../bundle/oauth-CFQFSIRQ.js","../bundle/open-3XO2HMIT.js","../bundle/openai-STUNDBD6.js","../bundle/process-P4UAJCZX.js","../bundle/program-FVSSLRBJ.js","../bundle/prompt-ZCYMFMIG.js","../bundle/recognize-V3BY33FK.js","../bundle/remote-IP4QR7SP.js","../bundle/rerank-VKUSF3DM.js","../bundle/serve-VBIUARHJ.js","../bundle/server-3FW2MQRQ.js","../bundle/server-SWSWXNDP.js","../bundle/server-YRZDZ2PZ.js","../bundle/state-UBAIZ2WP.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-PIQ4TF4O.js","../bundle/store-maintenance-command-EWEXJ253.js","../bundle/update-6QYRXRVJ.js"]
31
+ const chunks = ["../bundle/all-profiles-6JKSPBBO.js","../bundle/anthropic-YA2N6EJ4.js","../bundle/app-server-UP3AL2XQ.js","../bundle/auto-CVILDIC6.js","../bundle/bun-OUFOAYV4.js","../bundle/bun-sqlite-5RZTFU2Q.js","../bundle/command-contract-OGW2DX4C.js","../bundle/decode-IJMDTGTW.js","../bundle/dispatch-VJSUBAUM.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-EHYUXOKP.js","../bundle/embed-RUY3UIVC.js","../bundle/embedder-P6WBMEGP.js","../bundle/entry-7S2ONYSF.js","../bundle/failure-GLF7OMMM.js","../bundle/failure-HM55W3NH.js","../bundle/first-run-MLIFZSVH.js","../bundle/first-screen-DGTTK6VK.js","../bundle/instructions-ZMG4FLGO.js","../bundle/mcp-CFIL7WZU.js","../bundle/mcp-H2WYFBNW.js","../bundle/node-P4E63KXA.js","../bundle/node-QYL4B7JS.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-ESTT2OCF.js","../bundle/oauth-CFQFSIRQ.js","../bundle/open-3XO2HMIT.js","../bundle/openai-STUNDBD6.js","../bundle/process-P4UAJCZX.js","../bundle/program-RSUVU6HA.js","../bundle/prompt-ZCYMFMIG.js","../bundle/recognize-V3BY33FK.js","../bundle/remote-IP4QR7SP.js","../bundle/rerank-VKUSF3DM.js","../bundle/serve-VBIUARHJ.js","../bundle/server-AASCSGCI.js","../bundle/server-BVRPQPGY.js","../bundle/server-YQLPZK4Z.js","../bundle/state-UBAIZ2WP.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-VQQVUA4W.js","../bundle/store-maintenance-command-GCBABKEZ.js","../bundle/update-ZE53ASCW.js"]
32
32
  if (((words) => words
33
33
  .filter((word) => !word.startsWith("-"))
34
34
  .slice(0, 2)
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PER_RUN,
5
5
  envelope
6
- } from "./chunk-RG4GW7EY.js";
6
+ } from "./chunk-QAXIZHK7.js";
7
7
  import {
8
8
  answered,
9
9
  failed,
10
10
  registerCommands,
11
11
  runCommandForAgent,
12
12
  toolsFromCommands
13
- } from "./chunk-4AH6FONF.js";
14
- import "./chunk-BQYAMBKB.js";
13
+ } from "./chunk-IJAILIZR.js";
14
+ import "./chunk-LYAJUZM4.js";
15
15
  import {
16
16
  mcpUrlOf
17
17
  } from "./chunk-OBQ7TSUB.js";
18
18
  import {
19
19
  agentJson,
20
20
  skillResource
21
- } from "./chunk-37H7TTWN.js";
21
+ } from "./chunk-MYLNRBDF.js";
22
22
  import {
23
23
  appInstructions
24
24
  } from "./chunk-53EAI4VZ.js";
@@ -34,10 +34,10 @@ import "./chunk-3X4JM3ZR.js";
34
34
  import {
35
35
  McpServer
36
36
  } from "./chunk-H3ZN4YLB.js";
37
- import "./chunk-6A6HR2CS.js";
38
- import "./chunk-V6QYWGO4.js";
37
+ import "./chunk-GVP6CAPH.js";
38
+ import "./chunk-3TFK7RBA.js";
39
39
  import "./chunk-MK6SQ32Q.js";
40
- import "./chunk-PUACXS7G.js";
40
+ import "./chunk-JMGQATR6.js";
41
41
  import {
42
42
  DEFAULT_OUTPUT_BYTES,
43
43
  changesAuthorityAt,
@@ -46,7 +46,7 @@ import {
46
46
  judgedTargets,
47
47
  readsOverMcpAt,
48
48
  rootOf2 as rootOf
49
- } from "./chunk-A3WUEOEV.js";
49
+ } from "./chunk-OAO5UCPJ.js";
50
50
  import "./chunk-N73YBQ42.js";
51
51
  import "./chunk-LJCT7YG6.js";
52
52
  import "./chunk-L62FWN3Y.js";
@@ -59,8 +59,8 @@ import {
59
59
  } from "./chunk-22CDLXSR.js";
60
60
  import "./chunk-7L4PBN5S.js";
61
61
  import "./chunk-IHHXGTMX.js";
62
- import "./chunk-FYWGFRR2.js";
63
- import "./chunk-JQREFZWM.js";
62
+ import "./chunk-GGFL64HF.js";
63
+ import "./chunk-2NFI7SDW.js";
64
64
  import "./chunk-3LGLKLBA.js";
65
65
  import "./chunk-TV75OHKJ.js";
66
66
  import "./chunk-BGWPKEKK.js";
@@ -15,36 +15,36 @@ import {
15
15
  recordAutoRun,
16
16
  serviceUnit,
17
17
  timerUnit
18
- } from "./chunk-EEBQN7TK.js";
19
- import "./chunk-KX7CVSAY.js";
20
- import "./chunk-5EB34LNI.js";
18
+ } from "./chunk-3OEV7GNU.js";
19
+ import "./chunk-57SQU2YO.js";
20
+ import "./chunk-FQ54GW57.js";
21
21
  import "./chunk-QP3KNC5D.js";
22
- import "./chunk-EOJPZ3LX.js";
22
+ import "./chunk-OHA7HDPX.js";
23
23
  import "./chunk-7JFLHRQL.js";
24
24
  import "./chunk-RHW3DDWI.js";
25
- import "./chunk-BQYAMBKB.js";
25
+ import "./chunk-LYAJUZM4.js";
26
26
  import "./chunk-OBQ7TSUB.js";
27
- import "./chunk-37H7TTWN.js";
28
- import "./chunk-FOF7KGG3.js";
29
- import "./chunk-6A6HR2CS.js";
30
- import "./chunk-V6QYWGO4.js";
27
+ import "./chunk-MYLNRBDF.js";
28
+ import "./chunk-5EHUHZU5.js";
29
+ import "./chunk-GVP6CAPH.js";
30
+ import "./chunk-3TFK7RBA.js";
31
31
  import "./chunk-MK6SQ32Q.js";
32
- import "./chunk-WLD5XU3T.js";
32
+ import "./chunk-UEMI6FXR.js";
33
33
  import "./chunk-HTQTIKWP.js";
34
- import "./chunk-PUACXS7G.js";
35
- import "./chunk-A3WUEOEV.js";
34
+ import "./chunk-JMGQATR6.js";
35
+ import "./chunk-OAO5UCPJ.js";
36
36
  import "./chunk-N73YBQ42.js";
37
- import "./chunk-QHUPSOQT.js";
37
+ import "./chunk-XTEJXJJ3.js";
38
38
  import "./chunk-LJCT7YG6.js";
39
39
  import "./chunk-L62FWN3Y.js";
40
40
  import "./chunk-EDPA54WQ.js";
41
- import "./chunk-5RYMHX2O.js";
41
+ import "./chunk-GVEY6743.js";
42
42
  import "./chunk-2DQYP2K3.js";
43
43
  import "./chunk-22CDLXSR.js";
44
44
  import "./chunk-7L4PBN5S.js";
45
45
  import "./chunk-IHHXGTMX.js";
46
- import "./chunk-FYWGFRR2.js";
47
- import "./chunk-JQREFZWM.js";
46
+ import "./chunk-GGFL64HF.js";
47
+ import "./chunk-2NFI7SDW.js";
48
48
  import "./chunk-3LGLKLBA.js";
49
49
  import "./chunk-TV75OHKJ.js";
50
50
  import "./chunk-BGWPKEKK.js";
@@ -55,7 +55,7 @@ import "./chunk-QZU5IM5E.js";
55
55
  import "./chunk-FZHYGJQ2.js";
56
56
  import "./chunk-WNA2WNDK.js";
57
57
  import "./chunk-V2YS63Z5.js";
58
- import "./chunk-YVVRV3PQ.js";
58
+ import "./chunk-7OXLZZ27.js";
59
59
  import "./chunk-DSU6UR2X.js";
60
60
  import "./chunk-SYWHHQMC.js";
61
61
  import "./chunk-D72URWJE.js";
@@ -3757,6 +3757,9 @@ var checkEngagement = /* @__PURE__ */ __name((kind, from, to, level) => {
3757
3757
  });
3758
3758
  return level;
3759
3759
  }, "checkEngagement");
3760
+ var ENGAGEMENT_ORDER = { high: 0, medium: 1, unknown: 2, low: 3, none: 4 };
3761
+ var engagementRank = /* @__PURE__ */ __name((level) => ENGAGEMENT_ORDER[level ?? "unknown"], "engagementRank");
3762
+ var byEngagement = /* @__PURE__ */ __name((items) => items.map((item, index) => ({ item, index })).sort((a, b) => engagementRank(a.item.engagement) - engagementRank(b.item.engagement) || a.index - b.index).map(({ item }) => item), "byEngagement");
3760
3763
  var RELATIONS = {
3761
3764
  "member-of": {
3762
3765
  from: ["person", "organization", "project", "chat", "email_thread"],
@@ -4187,8 +4190,10 @@ export {
4187
4190
  ERASED_TEXT,
4188
4191
  severity,
4189
4192
  graver,
4193
+ ENGAGEMENT_LEVELS,
4190
4194
  isEngagement,
4191
4195
  checkEngagement,
4196
+ byEngagement,
4192
4197
  RELATION_KINDS,
4193
4198
  isRelationKind,
4194
4199
  checkEnds,
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answers,
5
5
  itemAnswer
6
- } from "./chunk-KX7CVSAY.js";
6
+ } from "./chunk-57SQU2YO.js";
7
7
  import {
8
8
  loadConfig,
9
9
  updateConfig
10
- } from "./chunk-5EB34LNI.js";
10
+ } from "./chunk-FQ54GW57.js";
11
11
  import {
12
12
  failingNotice,
13
13
  recordRun
14
- } from "./chunk-EOJPZ3LX.js";
14
+ } from "./chunk-OHA7HDPX.js";
15
15
  import {
16
16
  InvalidArgumentError,
17
17
  LOCAL_READ,
18
18
  LOCAL_WRITE,
19
19
  annotate
20
- } from "./chunk-A3WUEOEV.js";
20
+ } from "./chunk-OAO5UCPJ.js";
21
21
  import {
22
22
  installerOf
23
23
  } from "./chunk-DSU6UR2X.js";
@@ -54,7 +54,7 @@ import {
54
54
  vectorModelKey,
55
55
  withAttempt,
56
56
  writeTextModelsSection
57
- } from "./chunk-A3WUEOEV.js";
57
+ } from "./chunk-OAO5UCPJ.js";
58
58
  import {
59
59
  isNewer,
60
60
  updateCommand
@@ -176,7 +176,7 @@ import {
176
176
  validateFields,
177
177
  waitingPointer,
178
178
  withoutField
179
- } from "./chunk-FYWGFRR2.js";
179
+ } from "./chunk-GGFL64HF.js";
180
180
  import {
181
181
  EVENT_QUERY,
182
182
  MEETING_FIELD_NAMES,
@@ -233,7 +233,7 @@ import {
233
233
  validateQuery,
234
234
  walkQuery,
235
235
  zonedMoment
236
- } from "./chunk-JQREFZWM.js";
236
+ } from "./chunk-2NFI7SDW.js";
237
237
  import {
238
238
  damagedFile,
239
239
  isCliFailure,
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  agentResult,
5
5
  failureContext
6
- } from "./chunk-37H7TTWN.js";
6
+ } from "./chunk-MYLNRBDF.js";
7
7
  import {
8
8
  CommanderError,
9
9
  judgedEffects,
10
10
  metaOf
11
- } from "./chunk-A3WUEOEV.js";
11
+ } from "./chunk-OAO5UCPJ.js";
12
12
  import {
13
13
  storeDamaged
14
14
  } from "./chunk-3LGLKLBA.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-BPGYTJNB.js";
19
19
  import {
20
20
  APP
21
- } from "./chunk-YVVRV3PQ.js";
21
+ } from "./chunk-7OXLZZ27.js";
22
22
  import {
23
23
  ValiError,
24
24
  errorObjectOf,
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  decisionPolicy
5
- } from "./chunk-5EB34LNI.js";
5
+ } from "./chunk-FQ54GW57.js";
6
6
  import {
7
7
  compactText,
8
8
  currentRun,
@@ -15,13 +15,13 @@ import {
15
15
  rowsOfEntity,
16
16
  sealed,
17
17
  snakeKeysKeeping
18
- } from "./chunk-A3WUEOEV.js";
18
+ } from "./chunk-OAO5UCPJ.js";
19
19
  import {
20
20
  openStore
21
- } from "./chunk-FYWGFRR2.js";
21
+ } from "./chunk-GGFL64HF.js";
22
22
  import {
23
23
  STORE_CLIENT
24
- } from "./chunk-YVVRV3PQ.js";
24
+ } from "./chunk-7OXLZZ27.js";
25
25
  import {
26
26
  createRenderer
27
27
  } from "./chunk-UUBV5ATQ.js";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-6A6HR2CS.js";
6
+ } from "./chunk-GVP6CAPH.js";
7
7
  import {
8
8
  FETCHING,
9
9
  QUICK_HEALTH_CHECKS,
@@ -32,7 +32,7 @@ import {
32
32
  typedQuery,
33
33
  withQuery,
34
34
  withTimeLimit
35
- } from "./chunk-V6QYWGO4.js";
35
+ } from "./chunk-3TFK7RBA.js";
36
36
  import {
37
37
  stringWidth,
38
38
  wrapAnsi
@@ -63,7 +63,7 @@ import {
63
63
  snakeKeys,
64
64
  storeTable,
65
65
  withoutProviderRefs
66
- } from "./chunk-A3WUEOEV.js";
66
+ } from "./chunk-OAO5UCPJ.js";
67
67
  import {
68
68
  holdLock,
69
69
  lockPath,
@@ -110,13 +110,13 @@ import {
110
110
  storeClients,
111
111
  storeContents,
112
112
  vectorIndexCounts
113
- } from "./chunk-FYWGFRR2.js";
113
+ } from "./chunk-GGFL64HF.js";
114
114
  import {
115
115
  queryFieldsOf,
116
116
  readDamageMark,
117
117
  readHealthMark,
118
118
  recordDeepCheck
119
- } from "./chunk-JQREFZWM.js";
119
+ } from "./chunk-2NFI7SDW.js";
120
120
  import {
121
121
  failureKey,
122
122
  isStoreDamage
@@ -24,6 +24,36 @@ var REASONS = defineReasons([
24
24
  message: "a backfill spends the owner's money on model calls; the owner runs it at a terminal or in WireCat Desktop",
25
25
  details: []
26
26
  },
27
+ {
28
+ reason: "brief.owner-only",
29
+ code: "permission_error",
30
+ message: "only the owner changes the digest brief, not an agent",
31
+ details: []
32
+ },
33
+ {
34
+ reason: "brief.no-editor",
35
+ code: "validation_error",
36
+ message: "set VISUAL or EDITOR, or pass the brief with --file",
37
+ details: []
38
+ },
39
+ {
40
+ reason: "brief.no-history",
41
+ code: "validation_error",
42
+ message: "the brief has no earlier body to put back",
43
+ details: []
44
+ },
45
+ {
46
+ reason: "brief.empty",
47
+ code: "validation_error",
48
+ message: "the brief is empty; memo digest brief reset removes it",
49
+ details: []
50
+ },
51
+ {
52
+ reason: "brief.too-long",
53
+ code: "validation_error",
54
+ message: "the brief is {chars} characters; the limit is {limit}, because every morning run reads it and pays for it",
55
+ details: ["chars", "limit"]
56
+ },
27
57
  {
28
58
  reason: "ref.bare-number",
29
59
  code: "validation_error",
@@ -150,7 +180,7 @@ var REASONS = defineReasons([
150
180
  ]);
151
181
 
152
182
  // dist/version.js
153
- var VERSION = "0.131.68";
183
+ var VERSION = "0.131.70";
154
184
 
155
185
  // dist/app.js
156
186
  var APP = {
@@ -4,7 +4,7 @@ import {
4
4
  inspectConfig,
5
5
  loadConfig,
6
6
  memoPermissionKeys
7
- } from "./chunk-5EB34LNI.js";
7
+ } from "./chunk-FQ54GW57.js";
8
8
  import {
9
9
  CEILING_KEY,
10
10
  changesAuthority,
@@ -13,7 +13,7 @@ import {
13
13
  layerPermissions,
14
14
  levelFor,
15
15
  metaOf
16
- } from "./chunk-A3WUEOEV.js";
16
+ } from "./chunk-OAO5UCPJ.js";
17
17
  import {
18
18
  setupPermissionCeiling
19
19
  } from "./chunk-EDPA54WQ.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-2DQYP2K3.js";
24
24
  import {
25
25
  APP
26
- } from "./chunk-YVVRV3PQ.js";
26
+ } from "./chunk-7OXLZZ27.js";
27
27
  import {
28
28
  CliError
29
29
  } from "./chunk-ZTONSM5X.js";
@@ -27,19 +27,19 @@ import {
27
27
  serverSearchOptions,
28
28
  summaryOf,
29
29
  unansweredHours
30
- } from "./chunk-EOJPZ3LX.js";
30
+ } from "./chunk-OHA7HDPX.js";
31
31
  import {
32
32
  MAIL_HIT_UNTRUSTED,
33
33
  messagesAnswer,
34
34
  offsetOf,
35
35
  shownOf
36
- } from "./chunk-BQYAMBKB.js";
36
+ } from "./chunk-LYAJUZM4.js";
37
37
  import {
38
38
  messageItem
39
- } from "./chunk-FOF7KGG3.js";
39
+ } from "./chunk-5EHUHZU5.js";
40
40
  import {
41
41
  knownPermissionKeys
42
- } from "./chunk-6A6HR2CS.js";
42
+ } from "./chunk-GVP6CAPH.js";
43
43
  import {
44
44
  AGENDA_DEFAULTS,
45
45
  DEFAULT_BACKEND,
@@ -63,7 +63,7 @@ import {
63
63
  sourceKey,
64
64
  typedQuery,
65
65
  withQuery
66
- } from "./chunk-V6QYWGO4.js";
66
+ } from "./chunk-3TFK7RBA.js";
67
67
  import {
68
68
  Command,
69
69
  FETCH,
@@ -96,7 +96,7 @@ import {
96
96
  snakeKeys,
97
97
  withSettingDefaults,
98
98
  withoutSetting
99
- } from "./chunk-A3WUEOEV.js";
99
+ } from "./chunk-OAO5UCPJ.js";
100
100
  import {
101
101
  mailHolderVariable,
102
102
  readOnlyLockOf
@@ -113,7 +113,7 @@ import {
113
113
  registrableOf,
114
114
  scoreGroup,
115
115
  validateFields
116
- } from "./chunk-FYWGFRR2.js";
116
+ } from "./chunk-GGFL64HF.js";
117
117
  import {
118
118
  DEAL_KINDS,
119
119
  count,
@@ -125,7 +125,7 @@ import {
125
125
  time,
126
126
  timezoneOf,
127
127
  untrusted
128
- } from "./chunk-JQREFZWM.js";
128
+ } from "./chunk-2NFI7SDW.js";
129
129
  import {
130
130
  configFilePath,
131
131
  resolvePaths,
@@ -143,7 +143,7 @@ import {
143
143
  walkQuery,
144
144
  walletLine,
145
145
  zonedMoment
146
- } from "./chunk-JQREFZWM.js";
146
+ } from "./chunk-2NFI7SDW.js";
147
147
  import {
148
148
  holdsCredential,
149
149
  secretNamed,
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
173
173
  if (command.optsWithGlobals().dryRun === true)
174
174
  return;
175
175
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
176
- import("./first-run-FQ2BAEYK.js"),
177
- import("./command-contract-RX6RWHCT.js")
176
+ import("./first-run-MLIFZSVH.js"),
177
+ import("./command-contract-OGW2DX4C.js")
178
178
  ]);
179
179
  await setupAtStart({
180
180
  command: entry.app.command,
@@ -13,7 +13,7 @@ import {
13
13
  refuseLacking,
14
14
  servicesFor,
15
15
  throughWrapper
16
- } from "./chunk-V6QYWGO4.js";
16
+ } from "./chunk-3TFK7RBA.js";
17
17
  import {
18
18
  CEILING_KEY,
19
19
  LOG_ATTRIBUTES,
@@ -38,7 +38,7 @@ import {
38
38
  rememberAccount,
39
39
  rootOf2 as rootOf,
40
40
  skipFlagFor
41
- } from "./chunk-A3WUEOEV.js";
41
+ } from "./chunk-OAO5UCPJ.js";
42
42
  import {
43
43
  providerErrorKey
44
44
  } from "./chunk-N73YBQ42.js";
@@ -51,7 +51,7 @@ import {
51
51
  } from "./chunk-7L4PBN5S.js";
52
52
  import {
53
53
  openStore
54
- } from "./chunk-FYWGFRR2.js";
54
+ } from "./chunk-GGFL64HF.js";
55
55
  import {
56
56
  isCliFailure
57
57
  } from "./chunk-3LGLKLBA.js";
@@ -7,7 +7,7 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-37H7TTWN.js";
10
+ } from "./chunk-MYLNRBDF.js";
11
11
  import {
12
12
  callerOf
13
13
  } from "./chunk-PSYQPO6D.js";
@@ -18,7 +18,7 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-V6QYWGO4.js";
21
+ } from "./chunk-3TFK7RBA.js";
22
22
  import {
23
23
  DEFAULT_OUTPUT_BYTES,
24
24
  ENTITIES,
@@ -42,7 +42,7 @@ import {
42
42
  sealed,
43
43
  startRecording,
44
44
  traceOf
45
- } from "./chunk-A3WUEOEV.js";
45
+ } from "./chunk-OAO5UCPJ.js";
46
46
  import {
47
47
  currentCaller,
48
48
  keepsSuccess,
@@ -51,7 +51,7 @@ import {
51
51
  } from "./chunk-N73YBQ42.js";
52
52
  import {
53
53
  queryDescription
54
- } from "./chunk-JQREFZWM.js";
54
+ } from "./chunk-2NFI7SDW.js";
55
55
  import {
56
56
  storeDamaged
57
57
  } from "./chunk-3LGLKLBA.js";
@@ -7,7 +7,7 @@ import {
7
7
  describeOptions,
8
8
  keyForCommand,
9
9
  metaOf
10
- } from "./chunk-A3WUEOEV.js";
10
+ } from "./chunk-OAO5UCPJ.js";
11
11
  import {
12
12
  jsonSchemaOf
13
13
  } from "./chunk-HE2F4JII.js";
@@ -5,7 +5,7 @@ import {
5
5
  levelRefusal,
6
6
  refuseLocalWrite,
7
7
  sendsPathFor
8
- } from "./chunk-6A6HR2CS.js";
8
+ } from "./chunk-GVP6CAPH.js";
9
9
  import {
10
10
  MAX_SEARCH_OFFSET,
11
11
  chatRef,
@@ -15,10 +15,10 @@ import {
15
15
  positiveCount,
16
16
  refreshedFiles,
17
17
  senderIsMe
18
- } from "./chunk-V6QYWGO4.js";
18
+ } from "./chunk-3TFK7RBA.js";
19
19
  import {
20
20
  commandPathOf
21
- } from "./chunk-PUACXS7G.js";
21
+ } from "./chunk-JMGQATR6.js";
22
22
  import {
23
23
  NONE_NAMED,
24
24
  changesMessenger,
@@ -34,7 +34,7 @@ import {
34
34
  settingsFor,
35
35
  withAgentLevels,
36
36
  writeOfKey
37
- } from "./chunk-A3WUEOEV.js";
37
+ } from "./chunk-OAO5UCPJ.js";
38
38
  import {
39
39
  MESSENGER_CHANGE_REFUSAL,
40
40
  readOnlyLockOf,
@@ -45,10 +45,10 @@ import {
45
45
  hitFiles,
46
46
  openStore,
47
47
  parseLocator
48
- } from "./chunk-FYWGFRR2.js";
48
+ } from "./chunk-GGFL64HF.js";
49
49
  import {
50
50
  BUSINESS_KINDS
51
- } from "./chunk-JQREFZWM.js";
51
+ } from "./chunk-2NFI7SDW.js";
52
52
  import {
53
53
  description,
54
54
  object,
@@ -13,7 +13,7 @@ import {
13
13
  keyForCommand,
14
14
  levelFor,
15
15
  readKeysForCommand
16
- } from "./chunk-A3WUEOEV.js";
16
+ } from "./chunk-OAO5UCPJ.js";
17
17
  import {
18
18
  isNewer
19
19
  } from "./chunk-LJCT7YG6.js";
@@ -25,7 +25,7 @@ import {
25
25
  MEETING_QUERY,
26
26
  QUERY_REASONS,
27
27
  meetingProjectEvidence
28
- } from "./chunk-JQREFZWM.js";
28
+ } from "./chunk-2NFI7SDW.js";
29
29
  import {
30
30
  require_cross_spawn
31
31
  } from "./chunk-D72URWJE.js";
@@ -76,7 +76,7 @@ import {
76
76
  text,
77
77
  time,
78
78
  untrusted
79
- } from "./chunk-JQREFZWM.js";
79
+ } from "./chunk-2NFI7SDW.js";
80
80
  import {
81
81
  isCliFailure,
82
82
  storeDamaged