@wirecat/cli-memo 0.131.74 → 0.131.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{app-server-2LQJZC7Z.js → app-server-TRRARE66.js} +6 -6
- package/dist/bundle/{auto-OCCPDCFY.js → auto-AQAKW55Z.js} +12 -12
- package/dist/bundle/{chunk-6Q3JHCU7.js → chunk-2QND7VJS.js} +3 -3
- package/dist/bundle/{chunk-3BEJUJEL.js → chunk-346PWQJF.js} +2 -2
- package/dist/bundle/{chunk-WM7MVKGU.js → chunk-4XI7S3PO.js} +2 -2
- package/dist/bundle/{chunk-GPXHGG67.js → chunk-5CTOWPOL.js} +1 -1
- package/dist/bundle/{chunk-P6FPRA3P.js → chunk-5RLCKP5E.js} +1 -1
- package/dist/bundle/{chunk-AHAW3TOS.js → chunk-6VMIMAZ2.js} +1 -1
- package/dist/bundle/{chunk-HEYIBJ5I.js → chunk-7Y4HUYI3.js} +17 -5
- package/dist/bundle/{chunk-VRL5WRRQ.js → chunk-AOHT5FNX.js} +3 -3
- package/dist/bundle/{chunk-WBCY7WHV.js → chunk-EWRHTZD3.js} +2 -2
- package/dist/bundle/{chunk-BNJ2XK7D.js → chunk-FGMFJUHR.js} +53 -10
- package/dist/bundle/{chunk-EML43XLJ.js → chunk-GFVSZY4J.js} +25 -1
- package/dist/bundle/{chunk-GWNLLQBD.js → chunk-OWUEEVF6.js} +1 -1
- package/dist/bundle/{chunk-WFXRR2JT.js → chunk-RZS24U4N.js} +2 -2
- package/dist/bundle/{chunk-3OVYPDT6.js → chunk-VFKCZJFT.js} +3 -3
- package/dist/bundle/{chunk-QCR5WJ7R.js → chunk-W64FO6DD.js} +6 -6
- package/dist/bundle/{chunk-BR4DCOA5.js → chunk-WKLF7CAM.js} +5 -5
- package/dist/bundle/{chunk-OOKMABOJ.js → chunk-ZISVFVQU.js} +2 -0
- package/dist/bundle/{chunk-CWWUZK2U.js → chunk-ZP2XI5DR.js} +3 -3
- package/dist/bundle/{entry-7EYT2OA3.js → entry-TBOYUMWB.js} +1 -1
- package/dist/bundle/{failure-YQJ43YFG.js → failure-EKMEAYZH.js} +10 -10
- package/dist/bundle/{first-run-C7L7IACA.js → first-run-HQ4GA4EF.js} +1 -1
- package/dist/bundle/{mcp-UCDMODSA.js → mcp-DEY765VA.js} +4 -4
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{program-RHPSSKFA.js → program-OGDARQTX.js} +2930 -2445
- package/dist/bundle/{server-3TQJ47Q6.js → server-3UX245DY.js} +6 -6
- package/dist/bundle/{server-SHHKLBS2.js → server-6G5XF3V5.js} +4 -4
- package/dist/bundle/{server-FX7RKPL4.js → server-ADPO4V4B.js} +15 -15
- package/dist/bundle/{store-K45RFKGF.js → store-GSZAXU3A.js} +1 -1
- package/dist/bundle/{store-maintenance-command-EOTKQ3E5.js → store-maintenance-command-QMTALGSQ.js} +4 -4
- package/dist/bundle/{update-PW77Y4DM.js → update-HDJ23IV5.js} +11 -11
- package/dist/digest/backfill.d.ts +1 -1
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +71 -42
- package/dist/digest/backfill.js.map +1 -1
- package/dist/digest/brief.d.ts +14 -3
- package/dist/digest/brief.d.ts.map +1 -1
- package/dist/digest/brief.js +84 -34
- package/dist/digest/brief.js.map +1 -1
- package/dist/digest/command.d.ts +3 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +23 -0
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest-commands.d.ts +6 -0
- package/dist/digest/digest-commands.d.ts.map +1 -0
- package/dist/digest/digest-commands.js +241 -0
- package/dist/digest/digest-commands.js.map +1 -0
- package/dist/digest/digest.d.ts +5 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +29 -8
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/digests.d.ts +72 -0
- package/dist/digest/digests.d.ts.map +1 -0
- package/dist/digest/digests.js +122 -0
- package/dist/digest/digests.js.map +1 -0
- package/dist/digest/tasks.d.ts +7 -4
- package/dist/digest/tasks.d.ts.map +1 -1
- package/dist/digest/tasks.js +13 -5
- package/dist/digest/tasks.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +15 -1
- package/dist/examples.js.map +1 -1
- package/dist/people/command.d.ts +0 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +114 -12
- package/dist/people/command.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +9 -5
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +24 -0
- package/dist/reasons.js.map +1 -1
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +13 -1
- package/dist/rows.js.map +1 -1
- package/dist/schedule/command.d.ts +8 -0
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +4 -2
- package/dist/schedule/command.js.map +1 -1
- package/dist/search/people.d.ts +2 -0
- package/dist/search/people.d.ts.map +1 -1
- package/dist/search/people.js +11 -4
- package/dist/search/people.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/bin/memo.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.131.
|
|
12
|
+
process.stdout.write("0.131.75\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-LUGN5BHP.js","../bundle/anthropic-W7JXDZPL.js","../bundle/app-server-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-LUGN5BHP.js","../bundle/anthropic-W7JXDZPL.js","../bundle/app-server-TRRARE66.js","../bundle/auto-AQAKW55Z.js","../bundle/bun-S3JZIN4S.js","../bundle/bun-sqlite-X3WQN3CV.js","../bundle/command-contract-QQG343ZQ.js","../bundle/command-server-entry-XVUPTSSH.js","../bundle/decode-METZOSMG.js","../bundle/dispatch-PHB2Y6ZL.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-EBSP4VCK.js","../bundle/embed-GVVU7N7W.js","../bundle/embedder-6BZOYAXV.js","../bundle/entry-TBOYUMWB.js","../bundle/failure-EKMEAYZH.js","../bundle/failure-OBT7CUVW.js","../bundle/first-run-HQ4GA4EF.js","../bundle/first-screen-6T65PQ37.js","../bundle/instructions-VDKK3Y5Z.js","../bundle/mcp-5275YLID.js","../bundle/mcp-DEY765VA.js","../bundle/node-HWGZYNUX.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-PSYENWGS.js","../bundle/oauth-TQGMUJK2.js","../bundle/open-KDDJDKCE.js","../bundle/openai-QPGCUM4T.js","../bundle/process-APNTXJJE.js","../bundle/program-OGDARQTX.js","../bundle/prompt-BMBZCLGF.js","../bundle/recognize-3SEY2MAR.js","../bundle/remote-ODH54UXO.js","../bundle/rerank-JQHBNTUK.js","../bundle/serve-C22ZONSM.js","../bundle/server-3UX245DY.js","../bundle/server-6G5XF3V5.js","../bundle/server-ADPO4V4B.js","../bundle/state-M3VGXSV4.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-GSZAXU3A.js","../bundle/store-maintenance-command-QMTALGSQ.js","../bundle/update-HDJ23IV5.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WKLF7CAM.js";
|
|
7
7
|
import {
|
|
8
8
|
answeredWire
|
|
9
9
|
} from "./chunk-ZXW5FPH2.js";
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
registerCommands,
|
|
14
14
|
runCommandForAgent,
|
|
15
15
|
toolsFromCommands
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5RLCKP5E.js";
|
|
17
17
|
import "./chunk-V7BDQIZS.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-VFKCZJFT.js";
|
|
19
19
|
import {
|
|
20
20
|
mcpUrlOf
|
|
21
21
|
} from "./chunk-YLYZNPAZ.js";
|
|
@@ -37,15 +37,15 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
McpServer
|
|
39
39
|
} from "./chunk-H3ZN4YLB.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-4XI7S3PO.js";
|
|
41
|
+
import "./chunk-6VMIMAZ2.js";
|
|
42
42
|
import "./chunk-6I4DOBSD.js";
|
|
43
43
|
import "./chunk-ZL63GL3Y.js";
|
|
44
44
|
import "./chunk-ZTZLAGZA.js";
|
|
45
45
|
import "./chunk-KEBL3PY4.js";
|
|
46
46
|
import "./chunk-OYKQX4H3.js";
|
|
47
47
|
import "./chunk-E2PSOSTN.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-ZISVFVQU.js";
|
|
49
49
|
import "./chunk-MPZBV5RL.js";
|
|
50
50
|
import "./chunk-XQ3RZU3J.js";
|
|
51
51
|
import "./chunk-SJD4KTK2.js";
|
|
@@ -15,38 +15,38 @@ import {
|
|
|
15
15
|
recordAutoRun,
|
|
16
16
|
serviceUnit,
|
|
17
17
|
timerUnit
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-ZP2XI5DR.js";
|
|
19
|
+
import "./chunk-7Y4HUYI3.js";
|
|
20
|
+
import "./chunk-W64FO6DD.js";
|
|
21
21
|
import "./chunk-QP3KNC5D.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-FGMFJUHR.js";
|
|
23
23
|
import "./chunk-E74VWHZ2.js";
|
|
24
24
|
import "./chunk-KA5MDFLU.js";
|
|
25
25
|
import "./chunk-BDVM5652.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-VFKCZJFT.js";
|
|
27
27
|
import "./chunk-YLYZNPAZ.js";
|
|
28
28
|
import "./chunk-C6MWOBEL.js";
|
|
29
29
|
import "./chunk-LX3OSTBD.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-AOHT5FNX.js";
|
|
31
|
+
import "./chunk-4XI7S3PO.js";
|
|
32
|
+
import "./chunk-6VMIMAZ2.js";
|
|
33
33
|
import "./chunk-6I4DOBSD.js";
|
|
34
34
|
import "./chunk-ZL63GL3Y.js";
|
|
35
35
|
import "./chunk-ZTZLAGZA.js";
|
|
36
36
|
import "./chunk-WZHCQ4VZ.js";
|
|
37
37
|
import "./chunk-HTQTIKWP.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-EWRHTZD3.js";
|
|
39
39
|
import "./chunk-KEBL3PY4.js";
|
|
40
40
|
import "./chunk-OYKQX4H3.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-OWUEEVF6.js";
|
|
42
42
|
import "./chunk-XPSXVUZG.js";
|
|
43
43
|
import "./chunk-E2PSOSTN.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-ZISVFVQU.js";
|
|
45
45
|
import "./chunk-MPZBV5RL.js";
|
|
46
46
|
import "./chunk-XQ3RZU3J.js";
|
|
47
47
|
import "./chunk-SJD4KTK2.js";
|
|
48
48
|
import "./chunk-SIOPF2UG.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-GFVSZY4J.js";
|
|
50
50
|
import "./chunk-NT5IOEEK.js";
|
|
51
51
|
import "./chunk-D72URWJE.js";
|
|
52
52
|
import "./chunk-XPCTY6XV.js";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W64FO6DD.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FGMFJUHR.js";
|
|
9
9
|
import {
|
|
10
10
|
latestVersion,
|
|
11
11
|
runUpdate,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
APP,
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GFVSZY4J.js";
|
|
18
18
|
import {
|
|
19
19
|
installerOf
|
|
20
20
|
} from "./chunk-NT5IOEEK.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W64FO6DD.js";
|
|
8
8
|
import {
|
|
9
9
|
APP
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GFVSZY4J.js";
|
|
11
11
|
import {
|
|
12
12
|
CEILING_KEY,
|
|
13
13
|
changesAuthority,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
servicesFor,
|
|
17
17
|
throughWrapper,
|
|
18
18
|
withFileLockAsync
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
20
20
|
import {
|
|
21
21
|
servingProfiles
|
|
22
22
|
} from "./chunk-ZL63GL3Y.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isId,
|
|
28
28
|
openStore,
|
|
29
29
|
pickPerson
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZISVFVQU.js";
|
|
31
31
|
import {
|
|
32
32
|
CEILING_KEY,
|
|
33
33
|
WRITE_KEYS,
|
|
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
decisionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W64FO6DD.js";
|
|
6
6
|
import {
|
|
7
7
|
openStore
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZISVFVQU.js";
|
|
9
9
|
import {
|
|
10
10
|
STORE_CLIENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GFVSZY4J.js";
|
|
12
12
|
import {
|
|
13
13
|
compactText,
|
|
14
14
|
itemOf,
|
|
@@ -108,9 +108,21 @@ var ROWS = {
|
|
|
108
108
|
"people list": {
|
|
109
109
|
columns: [
|
|
110
110
|
{ field: "ref" },
|
|
111
|
-
{ field: "
|
|
111
|
+
{ field: "display_name" },
|
|
112
|
+
{ field: "contact" },
|
|
112
113
|
{ field: "owner", tag: "owner" },
|
|
113
|
-
{ field: "
|
|
114
|
+
{ field: "messages_from", as: "count", tag: "messages" },
|
|
115
|
+
{ field: "tasks", as: "count", tag: "tasks" },
|
|
116
|
+
{ field: "kind_signals" }
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"people check": {
|
|
120
|
+
columns: [
|
|
121
|
+
{ field: "ref" },
|
|
122
|
+
{ field: "display_name" },
|
|
123
|
+
{ field: "contact" },
|
|
124
|
+
{ field: "kind" },
|
|
125
|
+
{ field: "same_name", tag: "same name" }
|
|
114
126
|
]
|
|
115
127
|
},
|
|
116
128
|
"events list": {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4XI7S3PO.js";
|
|
7
7
|
import {
|
|
8
8
|
FETCHING,
|
|
9
9
|
QUICK_HEALTH_CHECKS,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
typedQuery,
|
|
34
34
|
withQuery,
|
|
35
35
|
withTimeLimit
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
37
37
|
import {
|
|
38
38
|
holdLock,
|
|
39
39
|
lockPath,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
storeClients,
|
|
83
83
|
storeContents,
|
|
84
84
|
vectorIndexCounts
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-ZISVFVQU.js";
|
|
86
86
|
import {
|
|
87
87
|
openCache
|
|
88
88
|
} from "./chunk-UIAGASGP.js";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-GSZAXU3A.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -114,7 +114,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
116
|
import("./open-KDDJDKCE.js"),
|
|
117
|
-
import("./store-maintenance-command-
|
|
117
|
+
import("./store-maintenance-command-QMTALGSQ.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
syncsFirst,
|
|
45
45
|
taskStatsAnswer,
|
|
46
46
|
waitingAnswer
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-VFKCZJFT.js";
|
|
48
48
|
import {
|
|
49
49
|
mcpUrlOf,
|
|
50
50
|
portOf,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
writeRepliesFile,
|
|
102
102
|
writeRepliesState,
|
|
103
103
|
writeReplyConsent
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-AOHT5FNX.js";
|
|
105
105
|
import {
|
|
106
106
|
DEFAULT_PACE,
|
|
107
107
|
Pacer,
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
refuseUnknownPermissionKeys,
|
|
115
115
|
terminalAsker,
|
|
116
116
|
unknownPermissionIssues
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-4XI7S3PO.js";
|
|
118
118
|
import {
|
|
119
119
|
ADMIN_RIGHTS,
|
|
120
120
|
AGENDA_QUERY,
|
|
@@ -314,7 +314,7 @@ import {
|
|
|
314
314
|
withoutPhone,
|
|
315
315
|
writeEnrichmentSetting,
|
|
316
316
|
writeHarderSetting
|
|
317
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
318
318
|
import {
|
|
319
319
|
acquireLock,
|
|
320
320
|
readBoundedUtf8File,
|
|
@@ -389,7 +389,7 @@ import {
|
|
|
389
389
|
validateEvidenceFindings,
|
|
390
390
|
validateMailFindings,
|
|
391
391
|
wrongAccount
|
|
392
|
-
} from "./chunk-
|
|
392
|
+
} from "./chunk-ZISVFVQU.js";
|
|
393
393
|
import {
|
|
394
394
|
DEFAULT_STEMMERS,
|
|
395
395
|
parseStemmers
|
|
@@ -2132,6 +2132,31 @@ var describeSlots = /* @__PURE__ */ __name((slots) => {
|
|
|
2132
2132
|
}, "describeSlots");
|
|
2133
2133
|
var describeWhen = /* @__PURE__ */ __name((when3) => "every" in when3 ? `every ${when3.every % 1440 === 0 ? `${when3.every / 1440}d` : when3.every % 60 === 0 ? `${when3.every / 60}h` : `${when3.every}m`}` : "once" in when3 ? `once at ${when3.once}` : describeSlots(slotsOf(when3)), "describeWhen");
|
|
2134
2134
|
var onCalendar = /* @__PURE__ */ __name((when3) => "once" in when3 ? [localStamp(when3.once)] : slotsOf(when3).map((slot) => slot.on ? `${SYSTEMD_DAYS[slot.on]} *-*-* ${slot.at}:00` : `*-*-* ${slot.at}:00`), "onCalendar");
|
|
2135
|
+
var runsBetween = /* @__PURE__ */ __name((when3, from, to) => {
|
|
2136
|
+
const slots = slotsOf(when3);
|
|
2137
|
+
const moments = [];
|
|
2138
|
+
const day3 = new Date(from);
|
|
2139
|
+
day3.setHours(0, 0, 0, 0);
|
|
2140
|
+
for (; day3.getTime() < to; day3.setDate(day3.getDate() + 1)) {
|
|
2141
|
+
const weekday = WEEKDAYS[(day3.getDay() + 6) % 7];
|
|
2142
|
+
for (const slot of slots) {
|
|
2143
|
+
if (slot.on && slot.on !== weekday)
|
|
2144
|
+
continue;
|
|
2145
|
+
const [hour, minute] = slot.at.split(":").map(Number);
|
|
2146
|
+
const at2 = new Date(day3.getFullYear(), day3.getMonth(), day3.getDate(), hour, minute).getTime();
|
|
2147
|
+
if (at2 >= from && at2 < to)
|
|
2148
|
+
moments.push(at2);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
return moments.sort((a2, b) => a2 - b);
|
|
2152
|
+
}, "runsBetween");
|
|
2153
|
+
var daysFrom = /* @__PURE__ */ __name((at2, days) => {
|
|
2154
|
+
const moved = new Date(at2);
|
|
2155
|
+
moved.setDate(moved.getDate() + days);
|
|
2156
|
+
return moved.getTime();
|
|
2157
|
+
}, "daysFrom");
|
|
2158
|
+
var nextRun = /* @__PURE__ */ __name((when3, now) => runsBetween(when3, now + 1, daysFrom(now, 8))[0], "nextRun");
|
|
2159
|
+
var previousRun = /* @__PURE__ */ __name((when3, now) => runsBetween(when3, daysFrom(now, -8), now + 1).at(-1), "previousRun");
|
|
2135
2160
|
var localStamp = /* @__PURE__ */ __name((iso) => {
|
|
2136
2161
|
const at2 = new Date(iso);
|
|
2137
2162
|
const two = /* @__PURE__ */ __name((n2) => String(n2).padStart(2, "0"), "two");
|
|
@@ -3771,11 +3796,11 @@ var messengerHost = /* @__PURE__ */ __name((messenger) => ({
|
|
|
3771
3796
|
context: /* @__PURE__ */ __name((self, options) => messengerContext(self, messenger, options), "context"),
|
|
3772
3797
|
permissionExample: "messages.send=deny",
|
|
3773
3798
|
serveStdio: /* @__PURE__ */ __name(async (self, context) => {
|
|
3774
|
-
const { serveOverStdio } = await import("./server-
|
|
3799
|
+
const { serveOverStdio } = await import("./server-3UX245DY.js");
|
|
3775
3800
|
await serveOverStdio(self, context, messenger, {});
|
|
3776
3801
|
}, "serveStdio"),
|
|
3777
3802
|
serveHttp: /* @__PURE__ */ __name(async (self, context, http) => {
|
|
3778
|
-
const { serveOverHttpUntilStopped } = await import("./server-
|
|
3803
|
+
const { serveOverHttpUntilStopped } = await import("./server-3UX245DY.js");
|
|
3779
3804
|
await serveOverHttpUntilStopped(self, context, messenger, {}, http);
|
|
3780
3805
|
}, "serveHttp"),
|
|
3781
3806
|
instructions: /* @__PURE__ */ __name(async (profiles) => {
|
|
@@ -4134,12 +4159,12 @@ var appMcpCommand = /* @__PURE__ */ __name((app, configuration, options) => {
|
|
|
4134
4159
|
permissionExample: options.permissionExample,
|
|
4135
4160
|
serveStdio: /* @__PURE__ */ __name(async (self, context) => {
|
|
4136
4161
|
checked3(self, context);
|
|
4137
|
-
const { serveAppOverStdio } = await import("./app-server-
|
|
4162
|
+
const { serveAppOverStdio } = await import("./app-server-TRRARE66.js");
|
|
4138
4163
|
await serveAppOverStdio(self, context, server());
|
|
4139
4164
|
}, "serveStdio"),
|
|
4140
4165
|
serveHttp: /* @__PURE__ */ __name(async (self, context, http) => {
|
|
4141
4166
|
checked3(self, context);
|
|
4142
|
-
const { serveAppOverHttp } = await import("./app-server-
|
|
4167
|
+
const { serveAppOverHttp } = await import("./app-server-TRRARE66.js");
|
|
4143
4168
|
await serveAppOverHttp(self, context, server(), http);
|
|
4144
4169
|
}, "serveHttp"),
|
|
4145
4170
|
instructions: /* @__PURE__ */ __name(async (profiles) => {
|
|
@@ -5536,7 +5561,7 @@ var botMcpCommand = /* @__PURE__ */ __name((bot) => {
|
|
|
5536
5561
|
const mcp = bot.mcp;
|
|
5537
5562
|
if (!mcp)
|
|
5538
5563
|
throw new Error("bot mcp is mounted only with BotMessenger.mcp");
|
|
5539
|
-
const [{ serveBotOverStdio }, run2] = await Promise.all([import("./server-
|
|
5564
|
+
const [{ serveBotOverStdio }, run2] = await Promise.all([import("./server-6G5XF3V5.js"), mcp.program()]);
|
|
5540
5565
|
await serveBotOverStdio({
|
|
5541
5566
|
bot,
|
|
5542
5567
|
program: { run: run2, commands: describeProgram(rootOf2(this)) },
|
|
@@ -22029,13 +22054,25 @@ var LIST_KEYS = {
|
|
|
22029
22054
|
var deniedKindsOf = /* @__PURE__ */ __name((permissions, kinds, by, defaults) => kinds.map((kind3) => ({ kind: kind3, key: LIST_KEYS[kind3] })).filter(({ key }) => levelFor(permissions, key, defaults).level === "deny").map((one) => ({ ...one, why: `${one.kind} left out: ${by} denies ${one.key}` })), "deniedKindsOf");
|
|
22030
22055
|
|
|
22031
22056
|
export {
|
|
22057
|
+
thisMachine,
|
|
22058
|
+
parseRoute,
|
|
22059
|
+
routeText,
|
|
22060
|
+
WEEKDAYS,
|
|
22061
|
+
isCalendar,
|
|
22062
|
+
slotsOf,
|
|
22063
|
+
calendarOf,
|
|
22064
|
+
runsBetween,
|
|
22065
|
+
nextRun,
|
|
22066
|
+
previousRun,
|
|
22032
22067
|
SCHEDULE_DEFAULTS,
|
|
22033
22068
|
spentToday,
|
|
22034
22069
|
AGENT_INPUT_MAX_CHARS,
|
|
22035
22070
|
recordRun,
|
|
22036
22071
|
failingNotice,
|
|
22072
|
+
scheduleName,
|
|
22037
22073
|
scheduleFile,
|
|
22038
22074
|
readSchedule,
|
|
22075
|
+
lastRun,
|
|
22039
22076
|
scheduledRuns,
|
|
22040
22077
|
groupAware,
|
|
22041
22078
|
refKinds,
|
|
@@ -22083,9 +22120,15 @@ export {
|
|
|
22083
22120
|
advancePastSkipped,
|
|
22084
22121
|
acknowledgeMark,
|
|
22085
22122
|
rewindMark,
|
|
22123
|
+
slotsOfAt,
|
|
22086
22124
|
SCHEDULE_SETTINGS,
|
|
22087
22125
|
scheduleLimitsOf,
|
|
22088
22126
|
backfillScheduleRun,
|
|
22127
|
+
agentSchedule,
|
|
22128
|
+
writeSchedule,
|
|
22129
|
+
pauseSchedule,
|
|
22130
|
+
removeSchedule,
|
|
22131
|
+
runScheduleNow,
|
|
22089
22132
|
deniedKindsOf,
|
|
22090
22133
|
pointsOf,
|
|
22091
22134
|
catchUpQuery,
|
|
@@ -24,6 +24,30 @@ 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: "digest.exists",
|
|
29
|
+
code: "validation_error",
|
|
30
|
+
message: "a digest or schedule of that name already exists; memo digest edit changes a digest",
|
|
31
|
+
details: []
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
reason: "digest.not-found",
|
|
35
|
+
code: "not_found",
|
|
36
|
+
message: "no digest of that name \u2014 memo digest list names them",
|
|
37
|
+
details: []
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
reason: "digest.own-prompt",
|
|
41
|
+
code: "validation_error",
|
|
42
|
+
message: "the digest runs a prompt of its own, made with memo schedule agent; change it there",
|
|
43
|
+
details: []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
reason: "digest.owner-only",
|
|
47
|
+
code: "permission_error",
|
|
48
|
+
message: "a digest spends the owner's money and writes to his chats; he changes or runs it in a terminal or WireCat Desktop",
|
|
49
|
+
details: []
|
|
50
|
+
},
|
|
27
51
|
{
|
|
28
52
|
reason: "roles.owner-only",
|
|
29
53
|
code: "permission_error",
|
|
@@ -264,7 +288,7 @@ var REASONS = defineReasons([
|
|
|
264
288
|
]);
|
|
265
289
|
|
|
266
290
|
// dist/version.js
|
|
267
|
-
var VERSION = "0.131.
|
|
291
|
+
var VERSION = "0.131.75";
|
|
268
292
|
|
|
269
293
|
// dist/app.js
|
|
270
294
|
var APP = {
|
|
@@ -128,7 +128,7 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
128
128
|
if (command.optsWithGlobals().dryRun === true)
|
|
129
129
|
return;
|
|
130
130
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
131
|
-
import("./first-run-
|
|
131
|
+
import("./first-run-HQ4GA4EF.js"),
|
|
132
132
|
import("./command-contract-QQG343ZQ.js")
|
|
133
133
|
]);
|
|
134
134
|
await setupAtStart({
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5RLCKP5E.js";
|
|
13
13
|
import {
|
|
14
14
|
callerOf
|
|
15
15
|
} from "./chunk-V7BDQIZS.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-H3ZN4YLB.js";
|
|
26
26
|
import {
|
|
27
27
|
wholeList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
29
29
|
import {
|
|
30
30
|
changesMessenger,
|
|
31
31
|
flatten,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLocalWrite
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4XI7S3PO.js";
|
|
6
6
|
import {
|
|
7
7
|
MAX_SEARCH_OFFSET,
|
|
8
8
|
SendJournal,
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
refreshedFiles,
|
|
16
16
|
senderIsMe,
|
|
17
17
|
sendsPathFor
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
19
19
|
import {
|
|
20
20
|
hitFiles,
|
|
21
21
|
openStore
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZISVFVQU.js";
|
|
23
23
|
import {
|
|
24
24
|
commandPathOf
|
|
25
25
|
} from "./chunk-G45BLLDR.js";
|
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
serverSearchOptions,
|
|
28
28
|
summaryOf,
|
|
29
29
|
unansweredHours
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FGMFJUHR.js";
|
|
31
31
|
import {
|
|
32
32
|
MAIL_HIT_UNTRUSTED,
|
|
33
33
|
messagesAnswer,
|
|
34
34
|
offsetOf,
|
|
35
35
|
shownOf
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VFKCZJFT.js";
|
|
37
37
|
import {
|
|
38
38
|
messageItem
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-AOHT5FNX.js";
|
|
40
40
|
import {
|
|
41
41
|
knownPermissionKeys
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4XI7S3PO.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-
|
|
66
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
67
67
|
import {
|
|
68
68
|
DEFAULT_DECISION_POLICY,
|
|
69
69
|
MESSAGE_PARSING,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
registrableOf,
|
|
74
74
|
scoreGroup,
|
|
75
75
|
validateFields
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ZISVFVQU.js";
|
|
77
77
|
import {
|
|
78
78
|
Command,
|
|
79
79
|
FETCH,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
tool,
|
|
24
24
|
toolKey,
|
|
25
25
|
toolsFromCommands
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5RLCKP5E.js";
|
|
27
27
|
import {
|
|
28
28
|
callerOf,
|
|
29
29
|
callingAgent
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
refuseWriteBeforeConnecting,
|
|
40
40
|
registerPrompts,
|
|
41
41
|
syncsFirst
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VFKCZJFT.js";
|
|
43
43
|
import {
|
|
44
44
|
mcpUrlOf
|
|
45
45
|
} from "./chunk-YLYZNPAZ.js";
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-H3ZN4YLB.js";
|
|
64
64
|
import {
|
|
65
65
|
connectedFor
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-4XI7S3PO.js";
|
|
67
67
|
import {
|
|
68
68
|
capability,
|
|
69
69
|
dateWindow,
|
|
@@ -73,11 +73,11 @@ import {
|
|
|
73
73
|
servicesFor,
|
|
74
74
|
storedDeps,
|
|
75
75
|
wholeList
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
77
77
|
import {
|
|
78
78
|
openStore,
|
|
79
79
|
pdfPreviewLimits
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-ZISVFVQU.js";
|
|
81
81
|
import {
|
|
82
82
|
warmEmbedders
|
|
83
83
|
} from "./chunk-SIOPF2UG.js";
|
|
@@ -60984,6 +60984,8 @@ export {
|
|
|
60984
60984
|
foldName,
|
|
60985
60985
|
pickChat,
|
|
60986
60986
|
pickPerson,
|
|
60987
|
+
PERSON_KINDS,
|
|
60988
|
+
PEOPLE_SORTS,
|
|
60987
60989
|
registrableOf,
|
|
60988
60990
|
scoreGroup,
|
|
60989
60991
|
mergeId,
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answers,
|
|
5
5
|
itemAnswer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7Y4HUYI3.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W64FO6DD.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FGMFJUHR.js";
|
|
15
15
|
import {
|
|
16
16
|
installerOf
|
|
17
17
|
} from "./chunk-NT5IOEEK.js";
|