@wirecat/notion-cli 0.1.0 → 0.2.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.
- package/CHANGELOG.md +40 -0
- package/README.md +10 -4
- package/contracts/wirecat.json +650 -1
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-OETMCOLN.js → all-profiles-JGYLQZ5C.js} +9 -9
- package/dist/bundle/{anthropic-5Y3O2TYM.js → anthropic-S2VSMIKQ.js} +5 -5
- package/dist/bundle/{app-server-IVWBIVHC.js → app-server-SASYDBCA.js} +55 -46
- package/dist/bundle/{bun-EO636SAD.js → bun-LU5LP3JI.js} +2 -2
- package/dist/bundle/{bun-sqlite-C2T7QJ2M.js → bun-sqlite-JBSINB4O.js} +6 -6
- package/dist/bundle/{chunk-DIM5YWBU.js → chunk-22QQUKWA.js} +1 -1
- package/dist/bundle/{chunk-B4B65XIO.js → chunk-2F4QQ7WB.js} +3 -3
- package/dist/bundle/{chunk-2YR3RYT4.js → chunk-2F6VO5HA.js} +3 -3
- package/dist/bundle/chunk-2LWO3PDX.js +726 -0
- package/dist/bundle/{chunk-RSIS7BR7.js → chunk-3AL7QUS3.js} +20 -20
- package/dist/bundle/{chunk-RDZ7SVBZ.js → chunk-3Z4YTSRY.js} +3 -3
- package/dist/bundle/{chunk-QBC23NHD.js → chunk-4HWJOU7N.js} +1 -1
- package/dist/bundle/{chunk-WM7663C2.js → chunk-4IPURN72.js} +8 -8
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
- package/dist/bundle/{chunk-IQWEJEB5.js → chunk-5IYKVRH2.js} +26157 -21070
- package/dist/bundle/{chunk-7FII4DCE.js → chunk-5NFK5EM2.js} +7 -7
- package/dist/bundle/{chunk-K5TWMQSY.js → chunk-5QIQEUOG.js} +8 -8
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
- package/dist/bundle/{chunk-ST2UC7FS.js → chunk-5RSC54NA.js} +30 -26
- package/dist/bundle/{chunk-7N5QB6NL.js → chunk-6EVKHZKN.js} +5 -3
- package/dist/bundle/{chunk-EU5WCOMQ.js → chunk-6RA3EABS.js} +45 -34
- package/dist/bundle/{chunk-JKIN5TOU.js → chunk-AOCUKEAX.js} +4 -4
- package/dist/bundle/{chunk-OWJDC4CB.js → chunk-B26TQZKZ.js} +12 -12
- package/dist/bundle/{chunk-WK3OSDNV.js → chunk-B7ON6KPT.js} +7 -7
- package/dist/bundle/{chunk-RLSFOR2D.js → chunk-BNPTZ5ZB.js} +4 -4
- package/dist/bundle/{chunk-WVZFXI36.js → chunk-D7QSEEYW.js} +4 -4
- package/dist/bundle/{chunk-JK44XO2S.js → chunk-DH5PRHT4.js} +56 -56
- package/dist/bundle/chunk-EUIVXFLJ.js +259 -0
- package/dist/bundle/{chunk-64D5VUZ4.js → chunk-FPY6EJ7B.js} +67 -63
- package/dist/bundle/{chunk-EGTBL3MJ.js → chunk-FT3LN3HP.js} +1 -1
- package/dist/bundle/{chunk-NLDYZBTC.js → chunk-FWVBPRL4.js} +1129 -2555
- package/dist/bundle/{chunk-UWIA2G6Q.js → chunk-FXEJY4OL.js} +329 -528
- package/dist/bundle/{chunk-R6ZM45NF.js → chunk-G3EZFRSS.js} +88 -30
- package/dist/bundle/{chunk-B2XKEEFX.js → chunk-GZOUFX3C.js} +4 -4
- package/dist/bundle/{chunk-WWMB4UHF.js → chunk-HL52XXZX.js} +1 -1
- package/dist/bundle/{chunk-4GC5DBHW.js → chunk-KCLOUUYF.js} +3 -3
- package/dist/bundle/chunk-KFVDL2QS.js +146 -0
- package/dist/bundle/{chunk-35K5T6WV.js → chunk-KGERXYTV.js} +1 -1
- package/dist/bundle/{chunk-BWICUW7W.js → chunk-KM6WHPHI.js} +2 -2
- package/dist/bundle/{chunk-AE2KQ37N.js → chunk-LAYPFBOM.js} +6 -6
- package/dist/bundle/chunk-LLG2POQ7.js +170 -0
- package/dist/bundle/{chunk-B2WFKFYL.js → chunk-M3KB25D3.js} +20 -116
- package/dist/bundle/{chunk-RAZKIHGH.js → chunk-M7S2NDWB.js} +3 -3
- package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
- package/dist/bundle/chunk-MY742GAD.js +1977 -0
- package/dist/bundle/chunk-MZU2YFBZ.js +823 -0
- package/dist/bundle/{chunk-AQZO3ITW.js → chunk-NOQ7B5N7.js} +2 -2
- package/dist/bundle/{chunk-QC3KOJT4.js → chunk-NQWV4WQO.js} +6 -6
- package/dist/bundle/{chunk-FF4DDBCB.js → chunk-ODBZNSZ6.js} +6 -6
- package/dist/bundle/{chunk-TR7R5DL4.js → chunk-OTV53F34.js} +9 -9
- package/dist/bundle/{chunk-KHOVVPLC.js → chunk-P7CUM5IB.js} +1 -1
- package/dist/bundle/{chunk-CWVAYQXI.js → chunk-RV64YUQX.js} +8 -8
- package/dist/bundle/{chunk-TSCIIXN3.js → chunk-SHJQ6JKG.js} +2 -2
- package/dist/bundle/{chunk-24FAYAML.js → chunk-SWAOWNKW.js} +3 -3
- package/dist/bundle/chunk-SZOVLP44.js +29 -0
- package/dist/bundle/chunk-TPX2M45D.js +385 -0
- package/dist/bundle/{chunk-UWW24JQF.js → chunk-TSDBSIFM.js} +3 -3
- package/dist/bundle/{chunk-YA4LSSDZ.js → chunk-VBHETQVV.js} +1435 -1788
- package/dist/bundle/{chunk-HRTIRRXR.js → chunk-VCIALTEM.js} +33 -6
- package/dist/bundle/{chunk-ESZT4WW3.js → chunk-WCSOH4JS.js} +3 -3
- package/dist/bundle/{chunk-HWRKURQH.js → chunk-WF4D56CA.js} +2 -2
- package/dist/bundle/chunk-WJHZMR2W.js +335 -0
- package/dist/bundle/chunk-X4TIMMKJ.js +16 -0
- package/dist/bundle/{chunk-XL2HXHP3.js → chunk-XF26XKTS.js} +2 -2
- package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
- package/dist/bundle/{chunk-47R43UVJ.js → chunk-YMYUBZWT.js} +19 -19
- package/dist/bundle/{chunk-3D3PFXBP.js → chunk-YNTLT3Z3.js} +10 -15
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-XC5CKHX2.js → chunk-Z56QFOBR.js} +1 -1
- package/dist/bundle/{chunk-EPAZ7DJB.js → chunk-ZKAEZXUP.js} +42 -38
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/command-contract-JS5V27NX.js +38 -0
- package/dist/bundle/{command-server-entry-A66DJ3MH.js → command-server-entry-UFSG7KRO.js} +26 -23
- package/dist/bundle/decode-7LLWTSPT.js +297 -0
- package/dist/bundle/{dispatch-FEKU5UXC.js → dispatch-2GY6JIJH.js} +8 -8
- package/dist/bundle/{dist-YFKABFFF.js → dist-ILNOLGYN.js} +1 -1
- package/dist/bundle/{echarts-XD2JSWU4.js → echarts-BXX4OQWC.js} +2 -2
- package/dist/bundle/{embed-F3HYGAF7.js → embed-JXFNBTKH.js} +6 -6
- package/dist/bundle/{embedder-GSEDDUH7.js → embedder-57YZ44KO.js} +9 -9
- package/dist/bundle/{failure-HDJLR2YJ.js → failure-MYT4HPE3.js} +2 -2
- package/dist/bundle/{first-run-TXNTIUSP.js → first-run-3PF7T74J.js} +12 -11
- package/dist/bundle/first-screen-7BEROEQR.js +36 -0
- package/dist/bundle/{instructions-NZGJ4FW5.js → instructions-2VECIDXF.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/mdast-util-from-markdown-R66F4HZA.js +1958 -0
- package/dist/bundle/mdast-util-gfm-LN2ELINH.js +2699 -0
- package/dist/bundle/meeting-combined-PPUQ3KBR.js +24 -0
- package/dist/bundle/meeting-model-ZNMYKMCD.js +26 -0
- package/dist/bundle/meeting-semantic-ETN3A4BJ.js +22 -0
- package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
- package/dist/bundle/{node-RPKPDYQS.js → node-MPEQSFI3.js} +2 -2
- package/dist/bundle/{node-sqlite-KH2UUYVO.js → node-sqlite-WA32MYSJ.js} +7 -7
- package/dist/bundle/notion.js +13 -13
- package/dist/bundle/{oauth-NKAI7TQD.js → oauth-IAFZG3IR.js} +7 -7
- package/dist/bundle/{open-WSAEAA2V.js → open-M3JQUC5G.js} +5 -5
- package/dist/bundle/{openai-JPVDGHG5.js → openai-HXUEHUSD.js} +30 -28
- package/dist/bundle/{process-5ZFVKOQX.js → process-F6TKXWWA.js} +1 -1
- package/dist/bundle/{program-M3D56D6T.js → program-Y7JAB6TG.js} +5289 -924
- package/dist/bundle/{prompt-FROYQ5LV.js → prompt-IMUQLZD2.js} +5 -5
- package/dist/bundle/{recognize-NYCHQMCX.js → recognize-2MZAYHAA.js} +4 -4
- package/dist/bundle/{remote-4OERF3Z4.js → remote-OV4LB6VR.js} +10 -10
- package/dist/bundle/{rerank-TEGXFUWY.js → rerank-ZIULUS34.js} +7 -7
- package/dist/bundle/{schemas-MZNNOEYN.js → schemas-DIVZS6TU.js} +1 -1
- package/dist/bundle/{serve-HLYYBAXY.js → serve-YU7QBP6L.js} +9 -9
- package/dist/bundle/server-FKQET4ZO.js +71 -0
- package/dist/bundle/{server-D5OYNEUW.js → server-LGMNONSB.js} +47 -38
- package/dist/bundle/services-5WY4DCPJ.js +581 -0
- package/dist/bundle/{sqlite-runtime-H2S5RR2F.js → sqlite-runtime-5MXZDETH.js} +6 -6
- package/dist/bundle/{state-OPOXCDZL.js → state-LWMZH2KI.js} +6 -6
- package/dist/bundle/{store-NHMXEJPD.js → store-EPZYV4VW.js} +17 -13
- package/dist/bundle/{store-Y3KRLCJ7.js → store-QE6FEIZD.js} +25 -20
- package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +62 -0
- package/dist/commands/documents.d.ts +2 -1
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +2 -2
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/library.d.ts +10 -0
- package/dist/commands/library.d.ts.map +1 -0
- package/dist/commands/library.js +468 -0
- package/dist/commands/library.js.map +1 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +4 -3
- package/dist/commands/session.js.map +1 -1
- package/dist/context.d.ts +5 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +12 -3
- package/dist/context.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/knowledge.d.ts +27 -0
- package/dist/knowledge.d.ts.map +1 -0
- package/dist/knowledge.js +87 -0
- package/dist/knowledge.js.map +1 -0
- package/dist/library.d.ts +44 -0
- package/dist/library.d.ts.map +1 -0
- package/dist/library.js +149 -0
- package/dist/library.js.map +1 -0
- package/dist/notion/client.d.ts +4 -1
- package/dist/notion/client.d.ts.map +1 -1
- package/dist/notion/client.js +5 -2
- package/dist/notion/client.js.map +1 -1
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +26 -1
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/reads.d.ts +4 -0
- package/dist/notion/reads.d.ts.map +1 -1
- package/dist/program.js +2 -2
- package/dist/program.js.map +1 -1
- package/dist/sync/cursor.d.ts +81 -0
- package/dist/sync/cursor.d.ts.map +1 -1
- package/dist/sync/cursor.js +63 -2
- package/dist/sync/cursor.js.map +1 -1
- package/dist/sync/files.d.ts +77 -0
- package/dist/sync/files.d.ts.map +1 -0
- package/dist/sync/files.js +12 -0
- package/dist/sync/files.js.map +1 -0
- package/dist/sync/markdown.d.ts +4 -1
- package/dist/sync/markdown.d.ts.map +1 -1
- package/dist/sync/markdown.js +8 -6
- package/dist/sync/markdown.js.map +1 -1
- package/dist/sync/source.d.ts +6 -59
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +616 -255
- package/dist/sync/source.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/notion-cli/SKILL.md +12 -1
- package/dist/bundle/command-contract-6G5DC2FN.js +0 -35
- package/dist/bundle/decode-7XOFRAAT.js +0 -163
- package/dist/bundle/first-screen-JZPJND7J.js +0 -33
- package/dist/bundle/server-LWZGVMNW.js +0 -62
- package/dist/bundle/store-maintenance-command-D4W7WSLQ.js +0 -53
- package/dist/commands/comments.d.ts +0 -3
- package/dist/commands/comments.d.ts.map +0 -1
- package/dist/commands/comments.js +0 -114
- package/dist/commands/comments.js.map +0 -1
- package/dist/sample/comments.d.ts +0 -61
- package/dist/sample/comments.d.ts.map +0 -1
- package/dist/sample/comments.js +0 -39
- package/dist/sample/comments.js.map +0 -1
- package/dist/sample/records.d.ts +0 -16
- package/dist/sample/records.d.ts.map +0 -1
- package/dist/sample/records.js +0 -22
- package/dist/sample/records.js.map +0 -1
- package/dist/sample/transport.d.ts +0 -42
- package/dist/sample/transport.d.ts.map +0 -1
- package/dist/sample/transport.js +0 -153
- package/dist/sample/transport.js.map +0 -1
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -9,16 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
carries
|
|
15
|
-
} from "./chunk-XC5CKHX2.js";
|
|
12
|
+
} from "./chunk-5NFK5EM2.js";
|
|
16
13
|
import {
|
|
17
14
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SWAOWNKW.js";
|
|
16
|
+
import {
|
|
17
|
+
DEFAULT_RERANK_MODEL,
|
|
18
|
+
RERANK_MODELS
|
|
19
|
+
} from "./chunk-WJHZMR2W.js";
|
|
20
|
+
import {
|
|
21
|
+
carries
|
|
22
|
+
} from "./chunk-Z56QFOBR.js";
|
|
19
23
|
import {
|
|
20
24
|
note
|
|
21
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TSDBSIFM.js";
|
|
22
26
|
import {
|
|
23
27
|
BUSINESS_KINDS,
|
|
24
28
|
CATEGORIES,
|
|
@@ -27,8 +31,6 @@ import {
|
|
|
27
31
|
DEAL_ROLES,
|
|
28
32
|
DEAL_STATUSES,
|
|
29
33
|
FACT_STATUSES,
|
|
30
|
-
FACT_TYPES,
|
|
31
|
-
FIELD_TYPES,
|
|
32
34
|
FINANCE_REVIEWS,
|
|
33
35
|
INVOICE_DIRECTIONS,
|
|
34
36
|
INVOICE_STATUSES,
|
|
@@ -37,7 +39,6 @@ import {
|
|
|
37
39
|
LINK_KINDS,
|
|
38
40
|
LINK_SOURCES,
|
|
39
41
|
LOG_ATTRIBUTES,
|
|
40
|
-
MEETING_RESULT_ENTITIES,
|
|
41
42
|
MEMORY_KINDS,
|
|
42
43
|
MEMORY_SCOPES,
|
|
43
44
|
MEMORY_STATUSES,
|
|
@@ -45,11 +46,9 @@ import {
|
|
|
45
46
|
ORDER_PURPOSES,
|
|
46
47
|
ORDER_STATUSES,
|
|
47
48
|
PRIORITY_LABELS,
|
|
48
|
-
QUERY_BACKENDS,
|
|
49
49
|
RELATION_KINDS,
|
|
50
50
|
RUNS_SIZE_LIMIT_MB,
|
|
51
51
|
STANDINGS,
|
|
52
|
-
TAG_TYPES,
|
|
53
52
|
TASK_KINDS,
|
|
54
53
|
TASK_ORIGINS,
|
|
55
54
|
TASK_STATES,
|
|
@@ -57,37 +56,19 @@ import {
|
|
|
57
56
|
TASK_VERDICTS,
|
|
58
57
|
WORK_TASK_TYPES,
|
|
59
58
|
author,
|
|
60
|
-
callStats,
|
|
61
59
|
childTrace,
|
|
62
60
|
count,
|
|
63
61
|
currentRun,
|
|
64
|
-
describeQuery,
|
|
65
62
|
enclosingTraceId,
|
|
66
|
-
event,
|
|
67
63
|
evidenceSource,
|
|
68
64
|
id,
|
|
69
65
|
inRun,
|
|
70
66
|
logAttributes,
|
|
71
67
|
markStoreDamaged,
|
|
72
|
-
meeting,
|
|
73
|
-
meetingCounts,
|
|
74
|
-
meetingDetails,
|
|
75
|
-
meetingHit,
|
|
76
|
-
meetingLink,
|
|
77
|
-
meetingParticipants,
|
|
78
|
-
meetingPassage,
|
|
79
|
-
meetingProjectEvidence,
|
|
80
|
-
meetingReview,
|
|
81
|
-
meetingSpeaker,
|
|
82
|
-
meetingStats,
|
|
83
|
-
meetingSummary,
|
|
84
|
-
meetingTranscript,
|
|
85
68
|
newRunId,
|
|
86
69
|
organization,
|
|
87
|
-
parseLucene,
|
|
88
70
|
project,
|
|
89
71
|
providerMetadata,
|
|
90
|
-
readsZone,
|
|
91
72
|
reminder,
|
|
92
73
|
runsDirFor,
|
|
93
74
|
snakeLogger,
|
|
@@ -95,32 +76,59 @@ import {
|
|
|
95
76
|
startRun,
|
|
96
77
|
text,
|
|
97
78
|
time,
|
|
98
|
-
timezoneOf,
|
|
99
79
|
traceOf,
|
|
100
80
|
typedCommand,
|
|
101
81
|
untrusted,
|
|
102
82
|
useAsProcessRun
|
|
103
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-MY742GAD.js";
|
|
104
84
|
import {
|
|
105
85
|
isCliFailure,
|
|
106
86
|
storeDamaged
|
|
107
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-6EVKHZKN.js";
|
|
88
|
+
import {
|
|
89
|
+
TAG_TYPES
|
|
90
|
+
} from "./chunk-SZOVLP44.js";
|
|
91
|
+
import {
|
|
92
|
+
FACT_TYPES,
|
|
93
|
+
FIELD_TYPES,
|
|
94
|
+
MEETING_RESULT_ENTITIES,
|
|
95
|
+
QUERY_BACKENDS,
|
|
96
|
+
callStats,
|
|
97
|
+
describeQuery,
|
|
98
|
+
event,
|
|
99
|
+
meeting,
|
|
100
|
+
meetingCounts,
|
|
101
|
+
meetingDetails,
|
|
102
|
+
meetingHit,
|
|
103
|
+
meetingLink,
|
|
104
|
+
meetingParticipants,
|
|
105
|
+
meetingPassage,
|
|
106
|
+
meetingProjectEvidence,
|
|
107
|
+
meetingReview,
|
|
108
|
+
meetingSpeaker,
|
|
109
|
+
meetingStats,
|
|
110
|
+
meetingSummary,
|
|
111
|
+
meetingTagChange,
|
|
112
|
+
meetingTagging,
|
|
113
|
+
meetingTranscript,
|
|
114
|
+
parseLucene,
|
|
115
|
+
readsZone,
|
|
116
|
+
timezoneOf
|
|
117
|
+
} from "./chunk-FWVBPRL4.js";
|
|
108
118
|
import {
|
|
109
119
|
endpoint
|
|
110
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-2F6VO5HA.js";
|
|
111
121
|
import {
|
|
112
|
-
readSharedSection,
|
|
113
122
|
repairConfigText,
|
|
114
|
-
sharedConfigPath
|
|
115
|
-
|
|
116
|
-
} from "./chunk-WK3OSDNV.js";
|
|
123
|
+
sharedConfigPath
|
|
124
|
+
} from "./chunk-B7ON6KPT.js";
|
|
117
125
|
import {
|
|
118
126
|
filesPresent,
|
|
119
127
|
sharedModelsDirectory
|
|
120
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-D7QSEEYW.js";
|
|
121
129
|
import {
|
|
122
130
|
storePath
|
|
123
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-WF4D56CA.js";
|
|
124
132
|
import {
|
|
125
133
|
configFilePath,
|
|
126
134
|
createRecordLog,
|
|
@@ -132,7 +140,7 @@ import {
|
|
|
132
140
|
resolvePaths,
|
|
133
141
|
saveConfigFile,
|
|
134
142
|
writeSecurely
|
|
135
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-3AL7QUS3.js";
|
|
136
144
|
import {
|
|
137
145
|
COMPACT_FLAG,
|
|
138
146
|
MAX_NEXT_STEPS,
|
|
@@ -149,7 +157,7 @@ import {
|
|
|
149
157
|
reference,
|
|
150
158
|
stepOf,
|
|
151
159
|
writes
|
|
152
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-4IPURN72.js";
|
|
153
161
|
import {
|
|
154
162
|
array,
|
|
155
163
|
boolean,
|
|
@@ -179,14 +187,12 @@ import {
|
|
|
179
187
|
regex,
|
|
180
188
|
safeInteger,
|
|
181
189
|
safeParse,
|
|
182
|
-
startsWith,
|
|
183
190
|
strictObject,
|
|
184
191
|
string,
|
|
185
192
|
trim,
|
|
186
193
|
union,
|
|
187
194
|
unknown,
|
|
188
195
|
unwrap,
|
|
189
|
-
url,
|
|
190
196
|
variant
|
|
191
197
|
} from "./chunk-XYIT2XB3.js";
|
|
192
198
|
import {
|
|
@@ -194,12 +200,12 @@ import {
|
|
|
194
200
|
isCliError,
|
|
195
201
|
singleLine,
|
|
196
202
|
visibleControls
|
|
197
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-5RDNBG7D.js";
|
|
198
204
|
import {
|
|
199
205
|
__name
|
|
200
206
|
} from "./chunk-ZVVMGPBJ.js";
|
|
201
207
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
203
209
|
import { readFileSync } from "node:fs";
|
|
204
210
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
205
211
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -253,7 +259,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
253
259
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
254
260
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
255
261
|
|
|
256
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
262
|
+
// 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/commands/registry.js
|
|
257
263
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
258
264
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
259
265
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3754,7 +3760,7 @@ __name(useColor, "useColor");
|
|
|
3754
3760
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3755
3761
|
var program = new Command();
|
|
3756
3762
|
|
|
3757
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3763
|
+
// 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/commands/document.js
|
|
3758
3764
|
var argumentInfoSchema = object({
|
|
3759
3765
|
name: string(),
|
|
3760
3766
|
required: boolean(),
|
|
@@ -3828,7 +3834,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3828
3834
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3829
3835
|
});
|
|
3830
3836
|
|
|
3831
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3837
|
+
// 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/commands/contracts.js
|
|
3832
3838
|
import { isDeepStrictEqual } from "node:util";
|
|
3833
3839
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3834
3840
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3938,7 +3944,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3938
3944
|
return result;
|
|
3939
3945
|
}, "sharedCommand");
|
|
3940
3946
|
|
|
3941
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3947
|
+
// 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/commands/index.js
|
|
3942
3948
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3943
3949
|
let command = root;
|
|
3944
3950
|
const path2 = [];
|
|
@@ -3956,7 +3962,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3956
3962
|
}
|
|
3957
3963
|
}, "refuseJoinedPath");
|
|
3958
3964
|
|
|
3959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3960
3966
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3961
3967
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3962
3968
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4382,7 +4388,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4382
4388
|
}
|
|
4383
4389
|
}, "assertRetentionEvidenceRead");
|
|
4384
4390
|
|
|
4385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
4386
4392
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
4387
4393
|
var requests = new AsyncLocalStorage();
|
|
4388
4394
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -4397,7 +4403,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
4397
4403
|
return direct;
|
|
4398
4404
|
}, "exitCodeSet");
|
|
4399
4405
|
|
|
4400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
4401
4407
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4402
4408
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
4403
4409
|
messageId: message2.id,
|
|
@@ -4503,7 +4509,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4503
4509
|
}, "guardedWrite");
|
|
4504
4510
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4505
4511
|
|
|
4506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4507
4513
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4508
4514
|
try {
|
|
4509
4515
|
return work();
|
|
@@ -4530,7 +4536,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4530
4536
|
return projectFields(value, fields);
|
|
4531
4537
|
}), "projectFields");
|
|
4532
4538
|
|
|
4533
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4534
4540
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4535
4541
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4536
4542
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4713,7 +4719,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4713
4719
|
}
|
|
4714
4720
|
}, "withAbort");
|
|
4715
4721
|
|
|
4716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4717
4723
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4718
4724
|
import { join } from "node:path";
|
|
4719
4725
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4735,7 +4741,50 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4735
4741
|
}, "profilesWithAccounts");
|
|
4736
4742
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4737
4743
|
|
|
4738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4745
|
+
var DEADLINE_MARGIN_MS = 5e3;
|
|
4746
|
+
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4747
|
+
var DEFAULT_REQUEST_MS = 2e3;
|
|
4748
|
+
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4749
|
+
var requestsFor = /* @__PURE__ */ __name((deadline, requestMs = DEFAULT_REQUEST_MS) => deadline === void 0 ? null : Math.max(1, Math.floor((deadline.ms - deadlineMargin(deadline)) / requestMs)), "requestsFor");
|
|
4750
|
+
var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, requestMs, signal, now = Date.now } = {}) => {
|
|
4751
|
+
const fits = requestsFor(deadline, requestMs);
|
|
4752
|
+
const limit = fits === null ? requests2 ?? null : Math.min(fits, requests2 ?? fits);
|
|
4753
|
+
const margin = deadline ? deadlineMargin(deadline) : 0;
|
|
4754
|
+
let used = 0;
|
|
4755
|
+
let stopped2 = null;
|
|
4756
|
+
let last;
|
|
4757
|
+
let slowest = 0;
|
|
4758
|
+
return {
|
|
4759
|
+
take() {
|
|
4760
|
+
if (stopped2)
|
|
4761
|
+
return stopped2;
|
|
4762
|
+
const at2 = now();
|
|
4763
|
+
if (last !== void 0)
|
|
4764
|
+
slowest = Math.max(slowest, at2 - last);
|
|
4765
|
+
if (signal?.aborted)
|
|
4766
|
+
stopped2 = "cancelled";
|
|
4767
|
+
else if (limit !== null && used >= limit)
|
|
4768
|
+
stopped2 = "requests";
|
|
4769
|
+
else if (deadline && at2 + margin + slowest >= deadline.endsAt)
|
|
4770
|
+
stopped2 = "deadline";
|
|
4771
|
+
if (stopped2)
|
|
4772
|
+
return stopped2;
|
|
4773
|
+
used += 1;
|
|
4774
|
+
last = at2;
|
|
4775
|
+
return null;
|
|
4776
|
+
},
|
|
4777
|
+
get used() {
|
|
4778
|
+
return used;
|
|
4779
|
+
},
|
|
4780
|
+
limit,
|
|
4781
|
+
get stopped() {
|
|
4782
|
+
return stopped2;
|
|
4783
|
+
}
|
|
4784
|
+
};
|
|
4785
|
+
}, "runBudget");
|
|
4786
|
+
|
|
4787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4739
4788
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4740
4789
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4741
4790
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4771,7 +4820,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4771
4820
|
return value;
|
|
4772
4821
|
}, "atDetail");
|
|
4773
4822
|
|
|
4774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/output.js
|
|
4775
4824
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4776
4825
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4777
4826
|
if (other)
|
|
@@ -4835,7 +4884,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4835
4884
|
}, "warn")
|
|
4836
4885
|
}), "silence");
|
|
4837
4886
|
|
|
4838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4839
4888
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4840
4889
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4841
4890
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4873,7 +4922,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4873
4922
|
progress: "sync.progress"
|
|
4874
4923
|
};
|
|
4875
4924
|
|
|
4876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4877
4926
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4878
4927
|
const recording = startRecording(options);
|
|
4879
4928
|
try {
|
|
@@ -5088,7 +5137,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5088
5137
|
return void 0;
|
|
5089
5138
|
}, "partialOutcome");
|
|
5090
5139
|
|
|
5091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5092
5141
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
5093
5142
|
if (ms2 === void 0)
|
|
5094
5143
|
return body();
|
|
@@ -5114,7 +5163,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
5114
5163
|
}
|
|
5115
5164
|
}, "withDeadline");
|
|
5116
5165
|
|
|
5117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5118
5167
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5119
5168
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5120
5169
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5140,19 +5189,19 @@ var takesProfile = /* @__PURE__ */ __name((command) => {
|
|
|
5140
5189
|
return top !== void 0 && !PROFILE_FREE.has(top.name());
|
|
5141
5190
|
}, "takesProfile");
|
|
5142
5191
|
var commandWords = /* @__PURE__ */ __name((program2) => /* @__PURE__ */ new Set(["help", ...program2.commands.flatMap((command) => [command.name(), ...command.aliases()])]), "commandWords");
|
|
5143
|
-
var liftProfile = /* @__PURE__ */ __name((argv,
|
|
5192
|
+
var liftProfile = /* @__PURE__ */ __name((argv, words, valued = /* @__PURE__ */ new Set()) => {
|
|
5144
5193
|
let at2 = 0;
|
|
5145
5194
|
while (argv[at2]?.startsWith("-") && argv[at2] !== "--")
|
|
5146
5195
|
at2 += valued.has(argv[at2]) ? 2 : 1;
|
|
5147
5196
|
const first2 = argv[at2];
|
|
5148
|
-
if (first2 === void 0 || first2.startsWith("-") ||
|
|
5197
|
+
if (first2 === void 0 || first2.startsWith("-") || words.has(first2))
|
|
5149
5198
|
return { rest: argv };
|
|
5150
5199
|
return { profile: first2, rest: [...argv.slice(0, at2), ...argv.slice(at2 + 1)] };
|
|
5151
5200
|
}, "liftProfile");
|
|
5152
5201
|
var valuedOptions = /* @__PURE__ */ __name((program2) => new Set(program2.options.filter((option) => option.required).flatMap((option) => [option.long, option.short].filter((flag2) => flag2 !== void 0))), "valuedOptions");
|
|
5153
|
-
var refuseCommandName = /* @__PURE__ */ __name((profile,
|
|
5154
|
-
if (
|
|
5155
|
-
throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...
|
|
5202
|
+
var refuseCommandName = /* @__PURE__ */ __name((profile, words, command) => {
|
|
5203
|
+
if (words.has(profile)) {
|
|
5204
|
+
throw new CliError("validation_error", `"${profile}" is a command, so \`${command} ${profile} \u2026\` would always mean the command and never this profile. Pick a name that is not one of: ` + [...words].sort().join(", "));
|
|
5156
5205
|
}
|
|
5157
5206
|
}, "refuseCommandName");
|
|
5158
5207
|
var rootOf = /* @__PURE__ */ __name((command) => {
|
|
@@ -5183,10 +5232,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5183
5232
|
return void 0;
|
|
5184
5233
|
}, "sampleCommand");
|
|
5185
5234
|
|
|
5186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5187
|
-
import { existsSync as
|
|
5235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5236
|
+
import { existsSync as existsSync4 } from "node:fs";
|
|
5188
5237
|
|
|
5189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5190
5239
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5191
5240
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5192
5241
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5255,13 +5304,13 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5255
5304
|
};
|
|
5256
5305
|
}, "modelTarget");
|
|
5257
5306
|
|
|
5258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5259
5308
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5260
|
-
var
|
|
5309
|
+
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5261
5310
|
var AI_FIELDS = {
|
|
5262
5311
|
embeddingProvider: optional(picklist(["local", "openai"])),
|
|
5263
5312
|
embeddingModel: optional(model),
|
|
5264
|
-
embeddingBaseUrl: optional(
|
|
5313
|
+
embeddingBaseUrl: optional(url),
|
|
5265
5314
|
embeddingDims: optional(pipe(number(), integer(), minValue(1), maxValue(65536))),
|
|
5266
5315
|
models: optional(modelSettingsShape)
|
|
5267
5316
|
};
|
|
@@ -5299,7 +5348,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5299
5348
|
};
|
|
5300
5349
|
}, "resolveAISettings");
|
|
5301
5350
|
|
|
5302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5303
5352
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5304
5353
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5305
5354
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5313,284 +5362,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5313
5362
|
return ms2;
|
|
5314
5363
|
}, "parseDuration");
|
|
5315
5364
|
|
|
5316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5317
|
-
import { existsSync as existsSync2 } from "node:fs";
|
|
5318
|
-
import { join as join2 } from "node:path";
|
|
5319
|
-
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5320
|
-
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5321
|
-
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
5322
|
-
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
5323
|
-
var TEXT_MODELS = [
|
|
5324
|
-
{
|
|
5325
|
-
id: "e5-small",
|
|
5326
|
-
title: "multilingual-e5-small, 8-bit",
|
|
5327
|
-
size: "small",
|
|
5328
|
-
languages: "about 100 languages, Russian and English among them",
|
|
5329
|
-
licence: "MIT",
|
|
5330
|
-
dims: 384,
|
|
5331
|
-
maxTokens: 512,
|
|
5332
|
-
// 100k-message corpus, one 8-thread session on Ryzen AI 9 HX 470: 31–32 chunks/s.
|
|
5333
|
-
chunksPerSecond: 31,
|
|
5334
|
-
pooling: "mean",
|
|
5335
|
-
prefix: { query: "query: ", passage: "passage: " },
|
|
5336
|
-
onnx: "onnx/model_quantized.onnx",
|
|
5337
|
-
files: [
|
|
5338
|
-
{
|
|
5339
|
-
name: "onnx/model_quantized.onnx",
|
|
5340
|
-
url: e5("onnx/model_quantized.onnx"),
|
|
5341
|
-
sha256: "f80102d3f2a1229f387d3c81909990d8945513e347b0eab049f7de3c6f98c193",
|
|
5342
|
-
bytes: 118308185
|
|
5343
|
-
},
|
|
5344
|
-
{
|
|
5345
|
-
name: "tokenizer.json",
|
|
5346
|
-
url: e5("tokenizer.json"),
|
|
5347
|
-
sha256: "0b44a9d7b51c3c62626640cda0e2c2f70fdacdc25bbbd68038369d14ebdf4c39",
|
|
5348
|
-
bytes: 17082730
|
|
5349
|
-
},
|
|
5350
|
-
{
|
|
5351
|
-
name: "tokenizer_config.json",
|
|
5352
|
-
url: e5("tokenizer_config.json"),
|
|
5353
|
-
sha256: "a1d6bc8734a6f635dc158508bef000f8e2e5a759c7d92f984b2c86e5ff53425b",
|
|
5354
|
-
bytes: 443
|
|
5355
|
-
}
|
|
5356
|
-
]
|
|
5357
|
-
},
|
|
5358
|
-
{
|
|
5359
|
-
id: "embeddinggemma",
|
|
5360
|
-
title: "EmbeddingGemma 300M, 4-bit",
|
|
5361
|
-
size: "medium",
|
|
5362
|
-
languages: "over 100 languages \u2014 the best of the two on chat, about seven times slower",
|
|
5363
|
-
licence: "Gemma Terms of Use",
|
|
5364
|
-
terms: "https://ai.google.dev/gemma/terms",
|
|
5365
|
-
// Gemma Terms of Use §3.1: every copy carries this notice and the use restrictions of §3.2.
|
|
5366
|
-
notice: "Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. Its use is restricted by the Gemma Prohibited Use Policy: https://ai.google.dev/gemma/prohibited_use_policy",
|
|
5367
|
-
dims: 768,
|
|
5368
|
-
maxTokens: 2048,
|
|
5369
|
-
// 2026-11-08, 1,200-character chunks, 8 threads on the Ryzen AI 9 HX 470: 8.3 chunks/s against e5-small's 52.7, so
|
|
5370
|
-
// 5 on the scale e5-small's 31 sets. It was 2, which held a memo sync to 39 chunks.
|
|
5371
|
-
chunksPerSecond: 5,
|
|
5372
|
-
pooling: "sentence_embedding",
|
|
5373
|
-
prefix: { query: "task: search result | query: ", passage: "title: none | text: " },
|
|
5374
|
-
onnx: "onnx/model_q4.onnx",
|
|
5375
|
-
externalData: "onnx/model_q4.onnx_data",
|
|
5376
|
-
files: [
|
|
5377
|
-
{
|
|
5378
|
-
name: "onnx/model_q4.onnx",
|
|
5379
|
-
url: gemma("onnx/model_q4.onnx"),
|
|
5380
|
-
sha256: "ad1dfee81a70f7944b9b9d1cc6e48075b832881cf33fab2f2b248be78f3f0043",
|
|
5381
|
-
bytes: 519322
|
|
5382
|
-
},
|
|
5383
|
-
{
|
|
5384
|
-
name: "onnx/model_q4.onnx_data",
|
|
5385
|
-
url: gemma("onnx/model_q4.onnx_data"),
|
|
5386
|
-
sha256: "599962c3143b040de2dd05e5975be3e9091dd067cacc6a8f7186e3203bab9e02",
|
|
5387
|
-
bytes: 196725760
|
|
5388
|
-
},
|
|
5389
|
-
{
|
|
5390
|
-
name: "tokenizer.json",
|
|
5391
|
-
url: gemma("tokenizer.json"),
|
|
5392
|
-
sha256: "4dda02faaf32bc91031dc8c88457ac272b00c1016cc679757d1c441b248b9c47",
|
|
5393
|
-
bytes: 20323312
|
|
5394
|
-
},
|
|
5395
|
-
{
|
|
5396
|
-
name: "tokenizer_config.json",
|
|
5397
|
-
url: gemma("tokenizer_config.json"),
|
|
5398
|
-
sha256: "3ca953eea6c3c9fcda9cf3df22949ff18b216f7c74bd6459230f3f1013953f3a",
|
|
5399
|
-
bytes: 1156830
|
|
5400
|
-
}
|
|
5401
|
-
]
|
|
5402
|
-
},
|
|
5403
|
-
{
|
|
5404
|
-
id: "e5-large",
|
|
5405
|
-
title: "multilingual-e5-large, 8-bit",
|
|
5406
|
-
size: "large",
|
|
5407
|
-
languages: "about 100 languages, Russian and English among them \u2014 reads better than e5-small, several times slower",
|
|
5408
|
-
licence: "MIT",
|
|
5409
|
-
dims: 1024,
|
|
5410
|
-
maxTokens: 512,
|
|
5411
|
-
// 2026-11-07, one 8-thread session on the Ryzen AI 9 HX 470 while other benchmarks ran: 3.4 chunks/s.
|
|
5412
|
-
chunksPerSecond: 4,
|
|
5413
|
-
pooling: "mean",
|
|
5414
|
-
prefix: { query: "query: ", passage: "passage: " },
|
|
5415
|
-
onnx: "onnx/model_quantized.onnx",
|
|
5416
|
-
files: [
|
|
5417
|
-
{
|
|
5418
|
-
name: "onnx/model_quantized.onnx",
|
|
5419
|
-
url: e5Large("onnx/model_quantized.onnx"),
|
|
5420
|
-
sha256: "0a8d65db9a36f810ba5da15249f13145fcdc7890e6656f1fd38cd8b7c4db1fca",
|
|
5421
|
-
bytes: 561768762
|
|
5422
|
-
},
|
|
5423
|
-
{
|
|
5424
|
-
name: "tokenizer.json",
|
|
5425
|
-
url: e5Large("tokenizer.json"),
|
|
5426
|
-
sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
|
|
5427
|
-
bytes: 17082660
|
|
5428
|
-
},
|
|
5429
|
-
{
|
|
5430
|
-
name: "tokenizer_config.json",
|
|
5431
|
-
url: e5Large("tokenizer_config.json"),
|
|
5432
|
-
sha256: "efb5c0d09722e5fe59a462cd2a9976ee216d55b037597d997cd3fe833216da15",
|
|
5433
|
-
bytes: 418
|
|
5434
|
-
}
|
|
5435
|
-
]
|
|
5436
|
-
}
|
|
5437
|
-
];
|
|
5438
|
-
var DEFAULT_TEXT_MODEL = "embeddinggemma";
|
|
5439
|
-
var PREVIOUS_DEFAULT_TEXT_MODEL = "e5-small";
|
|
5440
|
-
var SECTION = "text_models";
|
|
5441
|
-
var slug = pipe(string(), regex(/^[a-z0-9][a-z0-9._-]{0,62}$/, "is not a model id: a-z, 0-9, . _ -"));
|
|
5442
|
-
var words = pipe(string(), trim(), minLength(1), maxLength(300));
|
|
5443
|
-
var fileName = pipe(string(), check((name) => /^[\w.-]+(\/[\w.-]+)*$/.test(name) && !name.split("/").some((part) => part === ".." || part === "."), "is not a file inside the model's folder"));
|
|
5444
|
-
var modelFile = strictObject({
|
|
5445
|
-
name: fileName,
|
|
5446
|
-
url: pipe(string(), url(), startsWith("https://", "has to be an https address")),
|
|
5447
|
-
sha256: pipe(string(), regex(/^[0-9a-f]{64}$/, "has to be a sha256 in hex")),
|
|
5448
|
-
bytes: pipe(number(), integer(), minValue(1))
|
|
5449
|
-
});
|
|
5450
|
-
var CustomTextModelShape = pipe(strictObject({
|
|
5451
|
-
id: slug,
|
|
5452
|
-
title: words,
|
|
5453
|
-
languages: words,
|
|
5454
|
-
licence: words,
|
|
5455
|
-
terms: optional(pipe(string(), url())),
|
|
5456
|
-
dims: pipe(number(), integer(), minValue(1), maxValue(8192)),
|
|
5457
|
-
maxTokens: pipe(number(), integer(), minValue(16), maxValue(32768)),
|
|
5458
|
-
chunksPerSecond: optional(pipe(number(), minValue(0.01))),
|
|
5459
|
-
pooling: picklist(["mean", "sentence_embedding"]),
|
|
5460
|
-
prefix: strictObject({
|
|
5461
|
-
query: pipe(string(), maxLength(200)),
|
|
5462
|
-
passage: pipe(string(), maxLength(200))
|
|
5463
|
-
}),
|
|
5464
|
-
onnx: fileName,
|
|
5465
|
-
externalData: optional(fileName),
|
|
5466
|
-
files: pipe(array(modelFile), minLength(1), maxLength(16))
|
|
5467
|
-
}), check((model3) => !TEXT_MODELS.some((one) => one.id === model3.id), "takes the id of a model this version ships; choose another"), check((model3) => {
|
|
5468
|
-
const names = model3.files.map(({ name }) => name);
|
|
5469
|
-
return [model3.onnx, model3.externalData, "tokenizer.json", "tokenizer_config.json"].every((name) => name === void 0 || names.includes(name));
|
|
5470
|
-
}, "has to list its onnx file, its external data and tokenizer.json and tokenizer_config.json among files"));
|
|
5471
|
-
var TextModelsSection = strictObject({
|
|
5472
|
-
use: optional(slug),
|
|
5473
|
-
custom: optional(array(CustomTextModelShape))
|
|
5474
|
-
});
|
|
5475
|
-
var textModelsFile = /* @__PURE__ */ __name((env = process.env) => sharedConfigPath(storePath(env), env), "textModelsFile");
|
|
5476
|
-
var readTextModelsSection = /* @__PURE__ */ __name((env = process.env) => {
|
|
5477
|
-
const path2 = textModelsFile(env);
|
|
5478
|
-
const section2 = readSharedSection(path2, SECTION);
|
|
5479
|
-
if (section2 === void 0)
|
|
5480
|
-
return {};
|
|
5481
|
-
const checked = safeParse(TextModelsSection, section2);
|
|
5482
|
-
if (!checked.success) {
|
|
5483
|
-
const issue = checked.issues[0];
|
|
5484
|
-
const at2 = issue ? getDotPath(issue) : null;
|
|
5485
|
-
throw new CliError("configuration_error", `${path2}: ${SECTION}${at2 ? `.${at2}` : ""} ${issue?.message ?? "is not valid"}`);
|
|
5486
|
-
}
|
|
5487
|
-
const ids = checked.output.custom?.map(({ id: id6 }) => id6) ?? [];
|
|
5488
|
-
const twice = ids.find((id6, at2) => ids.indexOf(id6) !== at2);
|
|
5489
|
-
if (twice)
|
|
5490
|
-
throw new CliError("configuration_error", `${path2}: ${SECTION}.custom names ${twice} twice`);
|
|
5491
|
-
return checked.output;
|
|
5492
|
-
}, "readTextModelsSection");
|
|
5493
|
-
var writeTextModelsSection = /* @__PURE__ */ __name((section2, env = process.env) => writeSharedSection(textModelsFile(env), SECTION, section2.use === void 0 && !section2.custom?.length ? void 0 : section2), "writeTextModelsSection");
|
|
5494
|
-
var textModels = /* @__PURE__ */ __name((env = process.env) => [
|
|
5495
|
-
...TEXT_MODELS,
|
|
5496
|
-
...(readTextModelsSection(env).custom ?? []).map((model3) => ({ ...model3, custom: true }))
|
|
5497
|
-
], "textModels");
|
|
5498
|
-
var textModel = /* @__PURE__ */ __name((id6, env = process.env) => {
|
|
5499
|
-
const known = textModels(env);
|
|
5500
|
-
const found = known.find((model3) => model3.id === id6);
|
|
5501
|
-
if (!found) {
|
|
5502
|
-
throw new CliError("validation_error", `no text model ${id6} \u2014 one of: ${known.map((model3) => model3.id).join(", ")}`);
|
|
5503
|
-
}
|
|
5504
|
-
return found;
|
|
5505
|
-
}, "textModel");
|
|
5506
|
-
var downloaded = /* @__PURE__ */ __name((id6, env) => {
|
|
5507
|
-
const model3 = TEXT_MODELS.find((one) => one.id === id6);
|
|
5508
|
-
const directory = sharedModelsDirectory("text", env);
|
|
5509
|
-
return model3 !== void 0 && filesPresent(model3.files.map((file) => [file, join2(directory, model3.id, file.name)]));
|
|
5510
|
-
}, "downloaded");
|
|
5511
|
-
var chosenTextModel = /* @__PURE__ */ __name((env = process.env) => {
|
|
5512
|
-
const use = readTextModelsSection(env).use;
|
|
5513
|
-
if (use !== void 0)
|
|
5514
|
-
return { id: use, from: "chosen" };
|
|
5515
|
-
const kept = !downloaded(DEFAULT_TEXT_MODEL, env) && existsSync2(join2(sharedModelsDirectory("text", env), PREVIOUS_DEFAULT_TEXT_MODEL));
|
|
5516
|
-
return { id: kept ? PREVIOUS_DEFAULT_TEXT_MODEL : DEFAULT_TEXT_MODEL, from: "default" };
|
|
5517
|
-
}, "chosenTextModel");
|
|
5518
|
-
var mmarco = huggingFace("cross-encoder/mmarco-mMiniLMv2-L12-H384-v1", "1427fd652930e4ba29e8149678df786c240d8825");
|
|
5519
|
-
var bge = huggingFace("onnx-community/bge-reranker-v2-m3-ONNX", "6f5ff65298512715a1e669753bc754d2bc8f367b");
|
|
5520
|
-
var RERANK_MODELS = [
|
|
5521
|
-
{
|
|
5522
|
-
id: "mmarco",
|
|
5523
|
-
title: "mMARCO mMiniLMv2-L12 cross-encoder, 8-bit",
|
|
5524
|
-
languages: "about 100 languages, Russian and English among them",
|
|
5525
|
-
licence: "Apache-2.0",
|
|
5526
|
-
maxTokens: 512,
|
|
5527
|
-
// The x86 name is the quantizer's target; WebAssembly and native ONNX Runtime both run it on any processor.
|
|
5528
|
-
onnx: "onnx/model_quint8_avx2.onnx",
|
|
5529
|
-
files: [
|
|
5530
|
-
{
|
|
5531
|
-
name: "onnx/model_quint8_avx2.onnx",
|
|
5532
|
-
url: mmarco("onnx/model_quint8_avx2.onnx"),
|
|
5533
|
-
sha256: "6c2513767fb63d008a4377bef7a7a3555433d9436342bb53e35a3a72ffc52d4b",
|
|
5534
|
-
bytes: 118620016
|
|
5535
|
-
},
|
|
5536
|
-
{
|
|
5537
|
-
name: "tokenizer.json",
|
|
5538
|
-
url: mmarco("tokenizer.json"),
|
|
5539
|
-
sha256: "62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626",
|
|
5540
|
-
bytes: 17082660
|
|
5541
|
-
},
|
|
5542
|
-
{
|
|
5543
|
-
name: "tokenizer_config.json",
|
|
5544
|
-
url: mmarco("tokenizer_config.json"),
|
|
5545
|
-
sha256: "e7fbfbfa6347b4e414c1cee50d142e2c2f9a895dad68b068ae83a8b564c3837e",
|
|
5546
|
-
bytes: 435
|
|
5547
|
-
}
|
|
5548
|
-
]
|
|
5549
|
-
},
|
|
5550
|
-
{
|
|
5551
|
-
id: "bge-reranker-v2-m3",
|
|
5552
|
-
title: "BGE reranker v2 m3, 8-bit",
|
|
5553
|
-
languages: "over 100 languages \u2014 better than mmarco in the benchmark, about seven times slower",
|
|
5554
|
-
licence: "Apache-2.0 (BAAI's; the ONNX export declares none)",
|
|
5555
|
-
maxTokens: 512,
|
|
5556
|
-
onnx: "onnx/model_quantized.onnx",
|
|
5557
|
-
files: [
|
|
5558
|
-
{
|
|
5559
|
-
name: "onnx/model_quantized.onnx",
|
|
5560
|
-
url: bge("onnx/model_quantized.onnx"),
|
|
5561
|
-
sha256: "912fc1215c2dbff6499700534bd8d31253af01573861abbfc43afd1fab6cce5d",
|
|
5562
|
-
bytes: 570727094
|
|
5563
|
-
},
|
|
5564
|
-
{
|
|
5565
|
-
name: "tokenizer.json",
|
|
5566
|
-
url: bge("tokenizer.json"),
|
|
5567
|
-
sha256: "8bf8afbfd11306bd872018c53bfdf2e160a56f8edbcf49933324404791c148d3",
|
|
5568
|
-
bytes: 17082900
|
|
5569
|
-
},
|
|
5570
|
-
{
|
|
5571
|
-
name: "tokenizer_config.json",
|
|
5572
|
-
url: bge("tokenizer_config.json"),
|
|
5573
|
-
sha256: "b87c8703482b0300d3da30e201519aa641f6a450f5eb5bf1e624afbf70c74d80",
|
|
5574
|
-
bytes: 1203
|
|
5575
|
-
}
|
|
5576
|
-
]
|
|
5577
|
-
}
|
|
5578
|
-
];
|
|
5579
|
-
var DEFAULT_RERANK_MODEL = "mmarco";
|
|
5580
|
-
var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
5581
|
-
const found = RERANK_MODELS.find((model3) => model3.id === id6);
|
|
5582
|
-
if (!found) {
|
|
5583
|
-
throw new CliError("validation_error", `no reranker ${id6} \u2014 one of: ${RERANK_MODELS.map((model3) => model3.id).join(", ")}`);
|
|
5584
|
-
}
|
|
5585
|
-
return found;
|
|
5586
|
-
}, "rerankModel");
|
|
5587
|
-
var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
5588
|
-
const weights = model3.custom ? model3.files.find(({ name }) => name === model3.onnx)?.sha256.slice(0, 12) : void 0;
|
|
5589
|
-
return `local:${model3.id}${weights ? `@${weights}` : ""}:${model3.dims}`;
|
|
5590
|
-
}, "vectorModelKey");
|
|
5591
|
-
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5592
|
-
|
|
5593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_8be6aa3a41727a76ce87cf0d5a7bd659/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5594
5366
|
var HISTORY_MAX_DAYS = 1095;
|
|
5595
5367
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5596
5368
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5637,19 +5409,19 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5637
5409
|
return { batch: { ...batch, messages }, skipped };
|
|
5638
5410
|
}, "limitBatch");
|
|
5639
5411
|
|
|
5640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5641
|
-
import { existsSync as
|
|
5642
|
-
import { join as
|
|
5643
|
-
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) =>
|
|
5412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5413
|
+
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5414
|
+
import { join as join2 } from "node:path";
|
|
5415
|
+
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
5644
5416
|
var botFiles = /* @__PURE__ */ __name((app, profile, env = process.env) => {
|
|
5645
5417
|
const directory = botsDirectory(app, env);
|
|
5646
5418
|
return {
|
|
5647
|
-
registry:
|
|
5648
|
-
recipients:
|
|
5649
|
-
journal:
|
|
5650
|
-
updates:
|
|
5651
|
-
presses:
|
|
5652
|
-
checks:
|
|
5419
|
+
registry: join2(directory, `${profile}.json`),
|
|
5420
|
+
recipients: join2(directory, "recipients", `${profile}.json`),
|
|
5421
|
+
journal: join2(directory, "sends", `${profile}.jsonl`),
|
|
5422
|
+
updates: join2(directory, "updates", `${profile}.json`),
|
|
5423
|
+
presses: join2(directory, "presses", `${profile}.json`),
|
|
5424
|
+
checks: join2(directory, "checks", `${profile}.json`)
|
|
5653
5425
|
};
|
|
5654
5426
|
}, "botFiles");
|
|
5655
5427
|
var ChatRegistry = class {
|
|
@@ -5676,7 +5448,7 @@ var ChatRegistry = class {
|
|
|
5676
5448
|
}
|
|
5677
5449
|
/** Makes this bot known to `bot list` before it has seen any chat. */
|
|
5678
5450
|
touch() {
|
|
5679
|
-
if (!
|
|
5451
|
+
if (!existsSync2(this.#path))
|
|
5680
5452
|
writeSecurely(this.#path, `${JSON.stringify({ chats: [] }, null, 2)}
|
|
5681
5453
|
`, 384);
|
|
5682
5454
|
}
|
|
@@ -5705,7 +5477,7 @@ var ChatRegistry = class {
|
|
|
5705
5477
|
this.#write({ ...this.#read(), chats: [...byId.values()] });
|
|
5706
5478
|
}
|
|
5707
5479
|
#read() {
|
|
5708
|
-
if (!
|
|
5480
|
+
if (!existsSync2(this.#path))
|
|
5709
5481
|
return {};
|
|
5710
5482
|
try {
|
|
5711
5483
|
const parsed = JSON.parse(readFileSync3(this.#path, "utf8"));
|
|
@@ -5721,12 +5493,12 @@ var ChatRegistry = class {
|
|
|
5721
5493
|
};
|
|
5722
5494
|
var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
5723
5495
|
const directory = botsDirectory(app, env);
|
|
5724
|
-
if (!
|
|
5496
|
+
if (!existsSync2(directory))
|
|
5725
5497
|
return [];
|
|
5726
5498
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5727
5499
|
}, "registryProfiles");
|
|
5728
5500
|
|
|
5729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5730
5502
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5731
5503
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5732
5504
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -6021,20 +5793,20 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6021
5793
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6022
5794
|
}, "readConfigFile");
|
|
6023
5795
|
|
|
6024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6025
|
-
import { existsSync as
|
|
6026
|
-
import { dirname, join as
|
|
5796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5797
|
+
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5798
|
+
import { dirname, join as join3 } from "node:path";
|
|
6027
5799
|
var DEFAULT_CONFIG = {
|
|
6028
5800
|
defaults: { limit: 20, keep_runs_for_days: 30, sends_per_hour: 30, update_check: true, skill_hint: true },
|
|
6029
5801
|
profiles: {}
|
|
6030
5802
|
};
|
|
6031
5803
|
function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
6032
|
-
if (
|
|
5804
|
+
if (existsSync3(path2))
|
|
6033
5805
|
return;
|
|
6034
5806
|
const directory = dirname(path2);
|
|
6035
5807
|
mkdirSync(directory, { recursive: true, mode: 448 });
|
|
6036
|
-
const temporary = mkdtempSync(
|
|
6037
|
-
const candidate =
|
|
5808
|
+
const temporary = mkdtempSync(join3(directory, ".config-"));
|
|
5809
|
+
const candidate = join3(temporary, "config.json");
|
|
6038
5810
|
try {
|
|
6039
5811
|
writeFileSync(candidate, `${JSON.stringify(config, null, 2)}
|
|
6040
5812
|
`, { flag: "wx", mode: 384 });
|
|
@@ -6050,7 +5822,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6050
5822
|
}
|
|
6051
5823
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6052
5824
|
|
|
6053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6054
5826
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6055
5827
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6056
5828
|
const path2 = key.split(".");
|
|
@@ -6072,7 +5844,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
6072
5844
|
return { config, added };
|
|
6073
5845
|
}, "withSettingDefaults");
|
|
6074
5846
|
|
|
6075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6076
5848
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6077
5849
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6078
5850
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6225,8 +5997,8 @@ var NoProfileHere = class extends CliError {
|
|
|
6225
5997
|
this.app = app;
|
|
6226
5998
|
}
|
|
6227
5999
|
/** `words`: the command that was typed, without its arguments, so the suggestion runs as written. */
|
|
6228
|
-
withoutSetup(
|
|
6229
|
-
const command =
|
|
6000
|
+
withoutSetup(words) {
|
|
6001
|
+
const command = words ? `${this.app.command} personal ${words}` : `${this.app.command} personal \u2026`;
|
|
6230
6002
|
return new CliError("validation_error", `name a profile: there is none on this computer yet \u2014 any name works, such as \`${command}\` (or set ${envName(this.app, "PROFILE")})`, { profiles: [] });
|
|
6231
6003
|
}
|
|
6232
6004
|
};
|
|
@@ -6434,7 +6206,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
6434
6206
|
updateCheck: updateCheck.value,
|
|
6435
6207
|
skillHint: skillHint.value,
|
|
6436
6208
|
configPath,
|
|
6437
|
-
configFound:
|
|
6209
|
+
configFound: existsSync4(configPath),
|
|
6438
6210
|
configuredProfiles: namedProfiles(config),
|
|
6439
6211
|
profilesHere: profilesOf(config, env),
|
|
6440
6212
|
accountProfiles: accountsOf(config, env, bots),
|
|
@@ -6598,7 +6370,17 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6598
6370
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6599
6371
|
}, "given");
|
|
6600
6372
|
|
|
6601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6374
|
+
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6375
|
+
const { deadline, signal, app } = environmentOf(command);
|
|
6376
|
+
const now = deadline?.();
|
|
6377
|
+
return runBudget({
|
|
6378
|
+
...requests2 === void 0 ? {} : { requests: requests2 },
|
|
6379
|
+
...app?.requestMs === void 0 ? {} : { requestMs: app.requestMs },
|
|
6380
|
+
...now ? { deadline: now } : {},
|
|
6381
|
+
...signal ? { signal } : {}
|
|
6382
|
+
});
|
|
6383
|
+
}, "runBudgetOf");
|
|
6602
6384
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6603
6385
|
const slot = environmentOf(command).exit;
|
|
6604
6386
|
const request = commandServerRequest();
|
|
@@ -6628,11 +6410,17 @@ var detailOf = /* @__PURE__ */ __name(({ brief, full }) => {
|
|
|
6628
6410
|
return brief ? { hitDetail: "brief" } : full ? { hitDetail: "full" } : {};
|
|
6629
6411
|
}, "detailOf");
|
|
6630
6412
|
var COMPACT_KEY = new Option(COMPACT_FLAG).attributeName();
|
|
6413
|
+
var outputFieldsOf = /* @__PURE__ */ __name((command) => {
|
|
6414
|
+
const fields = rootOf(command).getOptionValue("fields");
|
|
6415
|
+
return typeof fields === "string" ? { fields } : {};
|
|
6416
|
+
}, "outputFieldsOf");
|
|
6631
6417
|
var compactOf = /* @__PURE__ */ __name((command) => command.optsWithGlobals()[COMPACT_KEY] === true, "compactOf");
|
|
6632
6418
|
var outputFor = /* @__PURE__ */ __name((command) => {
|
|
6633
6419
|
const { streams, tty, env, agent } = environmentOf(command);
|
|
6420
|
+
const { fields: _own, ...flags } = command.optsWithGlobals();
|
|
6634
6421
|
return resolveOutput({
|
|
6635
|
-
...
|
|
6422
|
+
...flags,
|
|
6423
|
+
...outputFieldsOf(command),
|
|
6636
6424
|
...detailOf(command.optsWithGlobals()),
|
|
6637
6425
|
compact: compactOf(command),
|
|
6638
6426
|
...agent ? { capture: agent.result } : {},
|
|
@@ -6650,7 +6438,7 @@ var baseContext = /* @__PURE__ */ __name((command, resolveSettings) => {
|
|
|
6650
6438
|
env,
|
|
6651
6439
|
compact: compactOf(command),
|
|
6652
6440
|
...detailOf(command.optsWithGlobals()),
|
|
6653
|
-
...
|
|
6441
|
+
...outputFieldsOf(command),
|
|
6654
6442
|
...environment.agent ? { capture: environment.agent.result } : {},
|
|
6655
6443
|
...environment.streams ? { streams: environment.streams } : {},
|
|
6656
6444
|
...environment.tty === void 0 ? {} : { tty: environment.tty }
|
|
@@ -6722,13 +6510,13 @@ var inCommandRun = /* @__PURE__ */ __name((command, body) => {
|
|
|
6722
6510
|
return baseContext(command, (flags, options) => resolveSettings(flags, { ...options, needsProfile: false })).run(body);
|
|
6723
6511
|
}, "inCommandRun");
|
|
6724
6512
|
var commandPath = /* @__PURE__ */ __name((command) => {
|
|
6725
|
-
const
|
|
6513
|
+
const words = [];
|
|
6726
6514
|
for (let current2 = command; current2?.parent; current2 = current2.parent)
|
|
6727
|
-
|
|
6728
|
-
return
|
|
6515
|
+
words.unshift(current2.name());
|
|
6516
|
+
return words.join(" ");
|
|
6729
6517
|
}, "commandPath");
|
|
6730
6518
|
|
|
6731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6732
6520
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6733
6521
|
var FETCH = { remote: "read", local: "write" };
|
|
6734
6522
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6786,6 +6574,10 @@ var changesStore = /* @__PURE__ */ __name((command) => {
|
|
|
6786
6574
|
return command;
|
|
6787
6575
|
}, "changesStore");
|
|
6788
6576
|
var OWNER_FILES = /* @__PURE__ */ new WeakSet();
|
|
6577
|
+
var writesOwnerFiles = /* @__PURE__ */ __name((command) => {
|
|
6578
|
+
OWNER_FILES.add(command);
|
|
6579
|
+
return command;
|
|
6580
|
+
}, "writesOwnerFiles");
|
|
6789
6581
|
var savesFiles = /* @__PURE__ */ __name((command) => OWNER_FILES.has(command) || command.name() === "download" || [...command.options.map((option) => option.attributeName()), ...command.registeredArguments.map((one) => one.name())].map((name) => name.toLowerCase()).some((name) => name === "dir" || name.endsWith("dir") || name === "output"), "savesFiles");
|
|
6790
6582
|
var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
6791
6583
|
const effects = metaOf(command).effects;
|
|
@@ -6823,10 +6615,10 @@ var refuseStoreChange = /* @__PURE__ */ __name((app, env) => {
|
|
|
6823
6615
|
throw readOnlyRefusal(lock, storeChangeRefusal(app));
|
|
6824
6616
|
}, "refuseStoreChange");
|
|
6825
6617
|
var pathOf2 = /* @__PURE__ */ __name((command) => {
|
|
6826
|
-
const
|
|
6618
|
+
const words = [];
|
|
6827
6619
|
for (let at2 = command; at2.parent; at2 = at2.parent)
|
|
6828
|
-
|
|
6829
|
-
return
|
|
6620
|
+
words.unshift(at2.name());
|
|
6621
|
+
return words;
|
|
6830
6622
|
}, "pathOf");
|
|
6831
6623
|
var changesMessenger = /* @__PURE__ */ __name((command) => {
|
|
6832
6624
|
const { path: path2, effects, lifetime, reaches } = "path" in command ? command : { path: pathOf2(command), ...metaOf(command) };
|
|
@@ -6860,7 +6652,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6860
6652
|
throw readOnlyRefusal(lock, what);
|
|
6861
6653
|
}, "refuseUnderReadOnly");
|
|
6862
6654
|
|
|
6863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6864
6656
|
var account = strictObject({
|
|
6865
6657
|
provider: text,
|
|
6866
6658
|
id,
|
|
@@ -6870,7 +6662,7 @@ var account = strictObject({
|
|
|
6870
6662
|
scope: optional(picklist(["personal", "work"]))
|
|
6871
6663
|
});
|
|
6872
6664
|
|
|
6873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6874
6666
|
var accountSession = strictObject({
|
|
6875
6667
|
current: boolean(),
|
|
6876
6668
|
client: nullable(text),
|
|
@@ -6880,7 +6672,7 @@ var accountSession = strictObject({
|
|
|
6880
6672
|
created_at: optional(nullable(time))
|
|
6881
6673
|
});
|
|
6882
6674
|
|
|
6883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6884
6676
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6885
6677
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6886
6678
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6909,7 +6701,7 @@ var accountRemoval = strictObject({
|
|
|
6909
6701
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6910
6702
|
});
|
|
6911
6703
|
|
|
6912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6913
6705
|
var accountProfile = strictObject({
|
|
6914
6706
|
profile: id,
|
|
6915
6707
|
current: boolean(),
|
|
@@ -6921,7 +6713,7 @@ var accountProfile = strictObject({
|
|
|
6921
6713
|
bot: optional(literal(true))
|
|
6922
6714
|
});
|
|
6923
6715
|
|
|
6924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6925
6717
|
var milliseconds = pipe(number(), minValue(0));
|
|
6926
6718
|
var counterReading = strictObject({
|
|
6927
6719
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6933,7 +6725,7 @@ var counterReading = strictObject({
|
|
|
6933
6725
|
});
|
|
6934
6726
|
var selection = record(string(), unknown());
|
|
6935
6727
|
|
|
6936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6937
6729
|
var adminRow = strictObject({
|
|
6938
6730
|
ref: reference,
|
|
6939
6731
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6986,7 +6778,7 @@ var adminReport = strictObject({
|
|
|
6986
6778
|
rows: array(adminRow)
|
|
6987
6779
|
});
|
|
6988
6780
|
|
|
6989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6990
6782
|
var closeSuggestion = strictObject({
|
|
6991
6783
|
as: picklist(["done", "dismissed"]),
|
|
6992
6784
|
/** The agent's name. */
|
|
@@ -7048,7 +6840,7 @@ var task = strictObject({
|
|
|
7048
6840
|
updated_at: optional(time)
|
|
7049
6841
|
});
|
|
7050
6842
|
|
|
7051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7052
6844
|
var agendaChat = strictObject({
|
|
7053
6845
|
chat: reference,
|
|
7054
6846
|
title: nullable(text),
|
|
@@ -7118,11 +6910,11 @@ var agenda = strictObject({
|
|
|
7118
6910
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7119
6911
|
});
|
|
7120
6912
|
|
|
7121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7122
6914
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7123
6915
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7124
6916
|
|
|
7125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7126
6918
|
var attachment = strictObject({
|
|
7127
6919
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7128
6920
|
message: optional(reference),
|
|
@@ -7167,7 +6959,7 @@ var hitFile = strictObject({
|
|
|
7167
6959
|
local_path: optional(text)
|
|
7168
6960
|
});
|
|
7169
6961
|
|
|
7170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7171
6963
|
var actionableError = objectWithRest({
|
|
7172
6964
|
code: text,
|
|
7173
6965
|
message: text,
|
|
@@ -7184,7 +6976,7 @@ var batchResult = strictObject({
|
|
|
7184
6976
|
max_error_percent: count
|
|
7185
6977
|
});
|
|
7186
6978
|
|
|
7187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7188
6980
|
var extractionItem = strictObject({
|
|
7189
6981
|
ref: reference,
|
|
7190
6982
|
attachment: count,
|
|
@@ -7217,7 +7009,7 @@ var extractionReport = strictObject({
|
|
|
7217
7009
|
cursor: optional(text)
|
|
7218
7010
|
});
|
|
7219
7011
|
|
|
7220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7012
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7221
7013
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7222
7014
|
var attachmentBytes = strictObject({
|
|
7223
7015
|
ref: reference,
|
|
@@ -7248,7 +7040,7 @@ var attachmentTextChange = strictObject({
|
|
|
7248
7040
|
text: optional(text)
|
|
7249
7041
|
});
|
|
7250
7042
|
|
|
7251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7252
7044
|
var WEIGHTS = {
|
|
7253
7045
|
bot: 3,
|
|
7254
7046
|
scam: 3,
|
|
@@ -7273,7 +7065,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7273
7065
|
var DIGITS = /\d{5,}/;
|
|
7274
7066
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7275
7067
|
|
|
7276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7277
7069
|
var linkedIdentity = strictObject({
|
|
7278
7070
|
provider: text,
|
|
7279
7071
|
id,
|
|
@@ -7328,7 +7120,7 @@ var contactCheck = strictObject({
|
|
|
7328
7120
|
checked_at: time
|
|
7329
7121
|
});
|
|
7330
7122
|
|
|
7331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7332
7124
|
var member = strictObject({
|
|
7333
7125
|
id,
|
|
7334
7126
|
name: nullable(text),
|
|
@@ -7351,7 +7143,7 @@ var member = strictObject({
|
|
|
7351
7143
|
check: optional(record(string(), unknown()))
|
|
7352
7144
|
});
|
|
7353
7145
|
|
|
7354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7355
7147
|
var setting = optional(nullable(boolean()));
|
|
7356
7148
|
var chat = strictObject({
|
|
7357
7149
|
ref: reference,
|
|
@@ -7392,7 +7184,7 @@ var chat = strictObject({
|
|
|
7392
7184
|
members: optional(array(member))
|
|
7393
7185
|
});
|
|
7394
7186
|
|
|
7395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7396
7188
|
var quoted = strictObject({
|
|
7397
7189
|
id,
|
|
7398
7190
|
sender_id: nullable(id),
|
|
@@ -7511,7 +7303,7 @@ var message = strictObject({
|
|
|
7511
7303
|
provider_metadata: providerMetadata
|
|
7512
7304
|
});
|
|
7513
7305
|
|
|
7514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7515
7307
|
var recordedMeeting = strictObject({
|
|
7516
7308
|
ref: reference,
|
|
7517
7309
|
meeting_id: count,
|
|
@@ -7524,7 +7316,7 @@ var recordedMeeting = strictObject({
|
|
|
7524
7316
|
people: array(reference)
|
|
7525
7317
|
});
|
|
7526
7318
|
|
|
7527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7528
7320
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7529
7321
|
var contextMessage = strictObject({
|
|
7530
7322
|
locator: reference,
|
|
@@ -7730,7 +7522,7 @@ var contactPreparation = strictObject({
|
|
|
7730
7522
|
})
|
|
7731
7523
|
});
|
|
7732
7524
|
|
|
7733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7734
7526
|
var nullableText = nullable(text);
|
|
7735
7527
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7736
7528
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7778,7 +7570,10 @@ var deal = strictObject({
|
|
|
7778
7570
|
external_id: nullableText,
|
|
7779
7571
|
/** A CRM copy's assignee, the identity `<account>/user/<id>`. */
|
|
7780
7572
|
assignee: nullableText,
|
|
7781
|
-
/**
|
|
7573
|
+
/**
|
|
7574
|
+
* A CRM copy's own fields by code; a list field's value is its option's label, `option_id` its id. `amount_note` is
|
|
7575
|
+
* WireCat's own note, not a CRM field: the CRM's amount the store could not keep, and why.
|
|
7576
|
+
*/
|
|
7782
7577
|
provider_metadata: record(string(), strictObject({
|
|
7783
7578
|
label: nullable(string()),
|
|
7784
7579
|
value: unknown(),
|
|
@@ -7841,7 +7636,7 @@ var stage = strictObject({
|
|
|
7841
7636
|
untrusted
|
|
7842
7637
|
});
|
|
7843
7638
|
|
|
7844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7845
7640
|
var nullableText2 = nullable(text);
|
|
7846
7641
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7847
7642
|
var standing = picklist(STANDINGS);
|
|
@@ -8015,7 +7810,7 @@ var dealBrief = strictObject({
|
|
|
8015
7810
|
not_read: coverage2.entries.not_read
|
|
8016
7811
|
});
|
|
8017
7812
|
|
|
8018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
8019
7814
|
var chart = strictObject({
|
|
8020
7815
|
version: literal(1),
|
|
8021
7816
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -8030,7 +7825,7 @@ var chart = strictObject({
|
|
|
8030
7825
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
8031
7826
|
});
|
|
8032
7827
|
|
|
8033
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
8034
7829
|
var named2 = strictObject({
|
|
8035
7830
|
id,
|
|
8036
7831
|
title: nullable(text),
|
|
@@ -8053,7 +7848,7 @@ var folder = strictObject({
|
|
|
8053
7848
|
excluded_chats: optional(array(named2))
|
|
8054
7849
|
});
|
|
8055
7850
|
|
|
8056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
8057
7852
|
var inviteLink = strictObject({
|
|
8058
7853
|
link: text,
|
|
8059
7854
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -8069,7 +7864,7 @@ var inviteLink = strictObject({
|
|
|
8069
7864
|
joined_count: optional(count)
|
|
8070
7865
|
});
|
|
8071
7866
|
|
|
8072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
8073
7868
|
var operated = { operation_id: id, chat_id: id };
|
|
8074
7869
|
var group = strictObject({
|
|
8075
7870
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -8149,7 +7944,7 @@ var chatFolderOrder = strictObject({
|
|
|
8149
7944
|
folders: array(strictObject({ id, title: text }))
|
|
8150
7945
|
});
|
|
8151
7946
|
|
|
8152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
8153
7948
|
var operated2 = { operation_id: id, chat_id: id };
|
|
8154
7949
|
var chatRemoval = strictObject(operated2);
|
|
8155
7950
|
var chatMuting = strictObject({
|
|
@@ -8160,7 +7955,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
8160
7955
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
8161
7956
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
8162
7957
|
|
|
8163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
8164
7959
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
8165
7960
|
var chatEvent = strictObject({
|
|
8166
7961
|
chat_id: id,
|
|
@@ -8177,7 +7972,7 @@ var chatEvent = strictObject({
|
|
|
8177
7972
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
8178
7973
|
});
|
|
8179
7974
|
|
|
8180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
8181
7976
|
var chatMetadata = strictObject({
|
|
8182
7977
|
chat_id: id,
|
|
8183
7978
|
title: nullable(text),
|
|
@@ -8192,7 +7987,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
8192
7987
|
has_more: boolean()
|
|
8193
7988
|
});
|
|
8194
7989
|
|
|
8195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
8196
7991
|
var action = picklist(["report", "delete", "remove"]);
|
|
8197
7992
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
8198
7993
|
var chatRules = strictObject({
|
|
@@ -8229,7 +8024,17 @@ var chatModeration = strictObject({
|
|
|
8229
8024
|
}))
|
|
8230
8025
|
});
|
|
8231
8026
|
|
|
8232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
8028
|
+
var chatSending = strictObject({
|
|
8029
|
+
mode: picklist(["allowed", "ask", "denied"]),
|
|
8030
|
+
meaning: text,
|
|
8031
|
+
/** When the owner last set it; `null` while it is the default, ask. */
|
|
8032
|
+
since: nullable(time),
|
|
8033
|
+
/** `set` only: whether this run changed it. */
|
|
8034
|
+
changed: optional(boolean())
|
|
8035
|
+
});
|
|
8036
|
+
|
|
8037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
8233
8038
|
var optionalCount = optional(count);
|
|
8234
8039
|
var minutes = nullable(number());
|
|
8235
8040
|
var chatStats = strictObject({
|
|
@@ -8305,7 +8110,7 @@ var taskStats = strictObject({
|
|
|
8305
8110
|
}))
|
|
8306
8111
|
});
|
|
8307
8112
|
|
|
8308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8309
8114
|
var memberCount = strictObject({
|
|
8310
8115
|
day: pipe(text, isoDate()),
|
|
8311
8116
|
participants: nullable(count),
|
|
@@ -8328,7 +8133,7 @@ var chatTracking = strictObject({
|
|
|
8328
8133
|
tracked: boolean()
|
|
8329
8134
|
});
|
|
8330
8135
|
|
|
8331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8332
8137
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8333
8138
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8334
8139
|
var profileFields = {
|
|
@@ -8366,7 +8171,7 @@ var profileFields = {
|
|
|
8366
8171
|
}))
|
|
8367
8172
|
};
|
|
8368
8173
|
|
|
8369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8174
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8370
8175
|
var contact = strictObject({
|
|
8371
8176
|
ref: reference,
|
|
8372
8177
|
id,
|
|
@@ -8397,7 +8202,7 @@ var contact = strictObject({
|
|
|
8397
8202
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8398
8203
|
});
|
|
8399
8204
|
|
|
8400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8401
8206
|
var contactNote = strictObject({
|
|
8402
8207
|
id,
|
|
8403
8208
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8409,13 +8214,13 @@ var contactNote = strictObject({
|
|
|
8409
8214
|
updated_at: time
|
|
8410
8215
|
});
|
|
8411
8216
|
|
|
8412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8413
8218
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8414
8219
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8415
8220
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8416
8221
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8417
8222
|
|
|
8418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8419
8224
|
var conversation = strictObject({
|
|
8420
8225
|
id,
|
|
8421
8226
|
chat: reference,
|
|
@@ -8430,7 +8235,7 @@ var conversation = strictObject({
|
|
|
8430
8235
|
rules_version: count
|
|
8431
8236
|
});
|
|
8432
8237
|
|
|
8433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8434
8239
|
var conversationBuild = strictObject({
|
|
8435
8240
|
chat: id,
|
|
8436
8241
|
messages: count,
|
|
@@ -8455,7 +8260,7 @@ var catchUpPreparation = strictObject({
|
|
|
8455
8260
|
prepared: optional(conversationPreparation)
|
|
8456
8261
|
});
|
|
8457
8262
|
|
|
8458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8459
8264
|
var conversationDetails = union([
|
|
8460
8265
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8461
8266
|
message
|
|
@@ -8545,7 +8350,7 @@ var conversationHit = strictObject({
|
|
|
8545
8350
|
stale: boolean()
|
|
8546
8351
|
});
|
|
8547
8352
|
|
|
8548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8549
8354
|
var counters = strictObject({
|
|
8550
8355
|
cutoff: time,
|
|
8551
8356
|
max_age_ms: milliseconds,
|
|
@@ -8575,7 +8380,7 @@ var counterRefresh = strictObject({
|
|
|
8575
8380
|
complete: optional(boolean())
|
|
8576
8381
|
});
|
|
8577
8382
|
|
|
8578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8579
8384
|
var document = strictObject({
|
|
8580
8385
|
ref: reference,
|
|
8581
8386
|
id,
|
|
@@ -8590,7 +8395,7 @@ var document = strictObject({
|
|
|
8590
8395
|
owners: optional(array(text))
|
|
8591
8396
|
});
|
|
8592
8397
|
|
|
8593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8594
8399
|
var documentLink = strictObject({
|
|
8595
8400
|
ref: reference,
|
|
8596
8401
|
url: text,
|
|
@@ -8601,7 +8406,7 @@ var documentLink = strictObject({
|
|
|
8601
8406
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8602
8407
|
});
|
|
8603
8408
|
|
|
8604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8605
8410
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8606
8411
|
var contribution = strictObject({
|
|
8607
8412
|
message: evidenceMessage,
|
|
@@ -8631,7 +8436,7 @@ var retentionStay = strictObject({
|
|
|
8631
8436
|
});
|
|
8632
8437
|
var evidence = union([contribution, retentionStay]);
|
|
8633
8438
|
|
|
8634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8635
8440
|
var fact = strictObject({
|
|
8636
8441
|
ref: reference,
|
|
8637
8442
|
id,
|
|
@@ -8662,7 +8467,7 @@ var fact = strictObject({
|
|
|
8662
8467
|
updated_at: time
|
|
8663
8468
|
});
|
|
8664
8469
|
|
|
8665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8666
8471
|
var hit = strictObject({
|
|
8667
8472
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8668
8473
|
ref: reference,
|
|
@@ -8710,7 +8515,7 @@ var hit = strictObject({
|
|
|
8710
8515
|
untrusted
|
|
8711
8516
|
});
|
|
8712
8517
|
|
|
8713
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8714
8519
|
var identity = strictObject({
|
|
8715
8520
|
ref: reference,
|
|
8716
8521
|
provider: text,
|
|
@@ -8726,7 +8531,7 @@ var identity = strictObject({
|
|
|
8726
8531
|
person: optional(nullable(reference))
|
|
8727
8532
|
});
|
|
8728
8533
|
|
|
8729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8730
8535
|
var imageEmbedding = strictObject({
|
|
8731
8536
|
model: text,
|
|
8732
8537
|
embedded: count,
|
|
@@ -8735,13 +8540,13 @@ var imageEmbedding = strictObject({
|
|
|
8735
8540
|
more: boolean()
|
|
8736
8541
|
});
|
|
8737
8542
|
|
|
8738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8739
8544
|
import { spawn } from "node:child_process";
|
|
8740
8545
|
import { randomBytes } from "node:crypto";
|
|
8741
|
-
import { closeSync, existsSync as
|
|
8742
|
-
import { dirname as dirname2, join as
|
|
8546
|
+
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8547
|
+
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8743
8548
|
|
|
8744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8745
8550
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8746
8551
|
const total = input.total ?? null;
|
|
8747
8552
|
const updated = input.updatedAt ?? null;
|
|
@@ -8757,7 +8562,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8757
8562
|
};
|
|
8758
8563
|
}, "progressOf");
|
|
8759
8564
|
|
|
8760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8761
8566
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8762
8567
|
const run = currentRun();
|
|
8763
8568
|
const trace = traceId ?? run.traceId;
|
|
@@ -8771,7 +8576,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8771
8576
|
}));
|
|
8772
8577
|
}, "recordLogFor");
|
|
8773
8578
|
|
|
8774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8775
8580
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8776
8581
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8777
8582
|
const out = openSync(log, "a", 384);
|
|
@@ -8787,15 +8592,15 @@ var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
|
8787
8592
|
closeSync(out);
|
|
8788
8593
|
}
|
|
8789
8594
|
}, "spawnDetached");
|
|
8790
|
-
var jobsDir = /* @__PURE__ */ __name((app, env) =>
|
|
8791
|
-
var jobPath = /* @__PURE__ */ __name((dir, id6) =>
|
|
8595
|
+
var jobsDir = /* @__PURE__ */ __name((app, env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "backfill"), "jobsDir");
|
|
8596
|
+
var jobPath = /* @__PURE__ */ __name((dir, id6) => join4(dir, `${id6}.json`), "jobPath");
|
|
8792
8597
|
var saveJob = /* @__PURE__ */ __name((dir, job2) => {
|
|
8793
8598
|
mkdirSync2(dir, { recursive: true, mode: 448 });
|
|
8794
8599
|
writeSecurely(jobPath(dir, job2.id), `${JSON.stringify(job2, null, 2)}
|
|
8795
8600
|
`, 384);
|
|
8796
8601
|
}, "saveJob");
|
|
8797
8602
|
var readJob = /* @__PURE__ */ __name((dir, id6) => {
|
|
8798
|
-
if (!/^[\w-]+$/.test(id6) || !
|
|
8603
|
+
if (!/^[\w-]+$/.test(id6) || !existsSync5(jobPath(dir, id6)))
|
|
8799
8604
|
return void 0;
|
|
8800
8605
|
try {
|
|
8801
8606
|
return JSON.parse(readFileSync5(jobPath(dir, id6), "utf8"));
|
|
@@ -8803,7 +8608,7 @@ var readJob = /* @__PURE__ */ __name((dir, id6) => {
|
|
|
8803
8608
|
return void 0;
|
|
8804
8609
|
}
|
|
8805
8610
|
}, "readJob");
|
|
8806
|
-
var recordsPath = /* @__PURE__ */ __name((dir, id6) =>
|
|
8611
|
+
var recordsPath = /* @__PURE__ */ __name((dir, id6) => join4(dir, `${id6}.jsonl`), "recordsPath");
|
|
8807
8612
|
var tracedJob = /* @__PURE__ */ __name((env) => {
|
|
8808
8613
|
const trace = childTrace();
|
|
8809
8614
|
return { env: { ...env, TRACEPARENT: trace.traceparent }, traceId: trace.traceId };
|
|
@@ -8840,7 +8645,7 @@ var removeJob = /* @__PURE__ */ __name((dir, job2) => {
|
|
|
8840
8645
|
if (dirname2(job2.log) === dir)
|
|
8841
8646
|
rmSync2(job2.log, { force: true });
|
|
8842
8647
|
}, "removeJob");
|
|
8843
|
-
var listJobs = /* @__PURE__ */ __name((dir) =>
|
|
8648
|
+
var listJobs = /* @__PURE__ */ __name((dir) => existsSync5(dir) ? readdirSync3(dir).filter((name) => name.endsWith(".json")).flatMap((name) => readJob(dir, name.slice(0, -".json".length)) ?? []).sort((a, b) => b.startedAt.localeCompare(a.startedAt)) : [], "listJobs");
|
|
8844
8649
|
var jobDetails = /* @__PURE__ */ __name((job2) => ({
|
|
8845
8650
|
job: job2.id,
|
|
8846
8651
|
profile: job2.profile,
|
|
@@ -8906,7 +8711,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8906
8711
|
const startedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
8907
8712
|
const id6 = `${startedAt.replace(/[-:]/g, "").slice(0, 15)}-${randomBytes(3).toString("hex")}`;
|
|
8908
8713
|
mkdirSync2(dir, { recursive: true, mode: 448 });
|
|
8909
|
-
const log =
|
|
8714
|
+
const log = join4(dir, `${id6}.log`);
|
|
8910
8715
|
const job2 = {
|
|
8911
8716
|
id: id6,
|
|
8912
8717
|
chat: input.chat,
|
|
@@ -8926,7 +8731,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8926
8731
|
return { job: id6, pid, chat: input.chat, log };
|
|
8927
8732
|
}, "startArchiveJob");
|
|
8928
8733
|
|
|
8929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8930
8735
|
var problem = strictObject({ code: text, message: text });
|
|
8931
8736
|
var job = strictObject({
|
|
8932
8737
|
id,
|
|
@@ -8949,7 +8754,7 @@ var job = strictObject({
|
|
|
8949
8754
|
error: optional(problem)
|
|
8950
8755
|
});
|
|
8951
8756
|
|
|
8952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8953
8758
|
var joinRequest = strictObject({
|
|
8954
8759
|
person_id: id,
|
|
8955
8760
|
name: nullable(text),
|
|
@@ -8960,7 +8765,7 @@ var joinRequest = strictObject({
|
|
|
8960
8765
|
about: optional(text)
|
|
8961
8766
|
});
|
|
8962
8767
|
|
|
8963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8964
8769
|
var botProfile = strictObject({
|
|
8965
8770
|
name: text,
|
|
8966
8771
|
token: text,
|
|
@@ -9084,7 +8889,7 @@ var stickerInventory = strictObject({
|
|
|
9084
8889
|
url: optional(nullable(text))
|
|
9085
8890
|
});
|
|
9086
8891
|
|
|
9087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
9088
8893
|
var pollVote = strictObject({
|
|
9089
8894
|
person_id: id,
|
|
9090
8895
|
name: nullable(text),
|
|
@@ -9094,7 +8899,7 @@ var pollVote = strictObject({
|
|
|
9094
8899
|
voted_at: time
|
|
9095
8900
|
});
|
|
9096
8901
|
|
|
9097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
9098
8903
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
9099
8904
|
var observation = strictObject({
|
|
9100
8905
|
value: pipe(number(), minValue(0)),
|
|
@@ -9136,7 +8941,7 @@ var serveSummary = strictObject({
|
|
|
9136
8941
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
9137
8942
|
});
|
|
9138
8943
|
|
|
9139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
9140
8945
|
var mailCounts = strictObject({
|
|
9141
8946
|
by: picklist(["day", "week", "sender"]),
|
|
9142
8947
|
received: count,
|
|
@@ -9151,7 +8956,7 @@ var mailCounts = strictObject({
|
|
|
9151
8956
|
}))
|
|
9152
8957
|
});
|
|
9153
8958
|
|
|
9154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
9155
8960
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
9156
8961
|
var base = { id, evidence: array(evidence2) };
|
|
9157
8962
|
var finding = variant("kind", [
|
|
@@ -9295,7 +9100,7 @@ var mailFindings = strictObject({
|
|
|
9295
9100
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9296
9101
|
});
|
|
9297
9102
|
|
|
9298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9299
9104
|
var mediaArchive = strictObject({
|
|
9300
9105
|
directory: text,
|
|
9301
9106
|
chats: count,
|
|
@@ -9327,7 +9132,7 @@ var mediaArchiveTimer = union([
|
|
|
9327
9132
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9328
9133
|
]);
|
|
9329
9134
|
|
|
9330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9331
9136
|
var preparationId = pipe(string(), minLength(1));
|
|
9332
9137
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9333
9138
|
var preparationTime = nullable(isoTime);
|
|
@@ -9419,7 +9224,7 @@ var preparationMeeting = strictObject({
|
|
|
9419
9224
|
updated_at: isoTime
|
|
9420
9225
|
});
|
|
9421
9226
|
|
|
9422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9423
9228
|
var meetingEvidence = preparationEvidence;
|
|
9424
9229
|
var meetingPersonContext = strictObject({
|
|
9425
9230
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9441,7 +9246,7 @@ var meetingPersonContext = strictObject({
|
|
|
9441
9246
|
})
|
|
9442
9247
|
});
|
|
9443
9248
|
|
|
9444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9445
9250
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9446
9251
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9447
9252
|
var finding2 = variant("kind", [
|
|
@@ -9479,7 +9284,7 @@ var meetingFindings = strictObject({
|
|
|
9479
9284
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9480
9285
|
});
|
|
9481
9286
|
|
|
9482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9483
9288
|
var communicationCoverage = strictObject({
|
|
9484
9289
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9485
9290
|
query: string(),
|
|
@@ -9524,7 +9329,7 @@ var preparationCommunications = strictObject({
|
|
|
9524
9329
|
}))
|
|
9525
9330
|
});
|
|
9526
9331
|
|
|
9527
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9528
9333
|
var meetingPreparation = strictObject({
|
|
9529
9334
|
communications: optional(preparationCommunications),
|
|
9530
9335
|
schema_version: literal(1),
|
|
@@ -9637,7 +9442,7 @@ var meetingPreparation = strictObject({
|
|
|
9637
9442
|
})
|
|
9638
9443
|
});
|
|
9639
9444
|
|
|
9640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9641
9446
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9642
9447
|
var id3 = pipe(string(), minLength(1));
|
|
9643
9448
|
var text3 = string();
|
|
@@ -9701,7 +9506,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9701
9506
|
})
|
|
9702
9507
|
});
|
|
9703
9508
|
|
|
9704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9509
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9705
9510
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9706
9511
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9707
9512
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9731,7 +9536,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9731
9536
|
})
|
|
9732
9537
|
});
|
|
9733
9538
|
|
|
9734
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9735
9540
|
var text4 = string();
|
|
9736
9541
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9737
9542
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9748,7 +9553,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9748
9553
|
persistence: literal("proposal-only")
|
|
9749
9554
|
});
|
|
9750
9555
|
|
|
9751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9752
9557
|
var memory = strictObject({
|
|
9753
9558
|
ref: reference,
|
|
9754
9559
|
id,
|
|
@@ -9776,7 +9581,7 @@ var memory = strictObject({
|
|
|
9776
9581
|
updated_at: time
|
|
9777
9582
|
});
|
|
9778
9583
|
|
|
9779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9780
9585
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9781
9586
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9782
9587
|
var mention = strictObject({
|
|
@@ -9820,13 +9625,13 @@ var mentionRebuild = strictObject({
|
|
|
9820
9625
|
mentions: count
|
|
9821
9626
|
});
|
|
9822
9627
|
|
|
9823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9824
9629
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9825
9630
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9826
9631
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9827
9632
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9828
9633
|
|
|
9829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9830
9635
|
var messageTranscript = strictObject({
|
|
9831
9636
|
message_id: id,
|
|
9832
9637
|
text,
|
|
@@ -9884,7 +9689,7 @@ var evidencePacket = strictObject({
|
|
|
9884
9689
|
}))
|
|
9885
9690
|
});
|
|
9886
9691
|
|
|
9887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9888
9693
|
var messageThread = strictObject({
|
|
9889
9694
|
ref: reference,
|
|
9890
9695
|
chat: id,
|
|
@@ -9901,7 +9706,7 @@ var messageThread = strictObject({
|
|
|
9901
9706
|
});
|
|
9902
9707
|
var messageContext = union([message, messageThread]);
|
|
9903
9708
|
|
|
9904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9905
9710
|
var messageCounts = strictObject({
|
|
9906
9711
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9907
9712
|
total: count,
|
|
@@ -9914,7 +9719,7 @@ var messageCounts = strictObject({
|
|
|
9914
9719
|
}))
|
|
9915
9720
|
});
|
|
9916
9721
|
|
|
9917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9918
9723
|
var messageLink = strictObject({
|
|
9919
9724
|
ref: reference,
|
|
9920
9725
|
url: nullable(text),
|
|
@@ -9931,7 +9736,7 @@ var messageLink = strictObject({
|
|
|
9931
9736
|
})))
|
|
9932
9737
|
});
|
|
9933
9738
|
|
|
9934
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9935
9740
|
var savedMessageFile = strictObject({
|
|
9936
9741
|
kind: text,
|
|
9937
9742
|
path: text,
|
|
@@ -10018,7 +9823,7 @@ var messageSyncAll = strictObject({
|
|
|
10018
9823
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
10019
9824
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
10020
9825
|
|
|
10021
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
10022
9827
|
var messageWrite = strictObject({
|
|
10023
9828
|
operation_id: id,
|
|
10024
9829
|
message,
|
|
@@ -10033,7 +9838,7 @@ var draftWrite = strictObject({
|
|
|
10033
9838
|
});
|
|
10034
9839
|
var messageSend = union([messageWrite, draftWrite]);
|
|
10035
9840
|
|
|
10036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
10037
9842
|
var model2 = strictObject({
|
|
10038
9843
|
id,
|
|
10039
9844
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -10068,7 +9873,7 @@ var chosenModel = strictObject({
|
|
|
10068
9873
|
estimate_seconds: nullable(count)
|
|
10069
9874
|
});
|
|
10070
9875
|
|
|
10071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9876
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
10072
9877
|
var source = picklist(["environment", "keyring", "file"]);
|
|
10073
9878
|
var modelKey = strictObject({
|
|
10074
9879
|
provider: text,
|
|
@@ -10078,7 +9883,7 @@ var modelKey = strictObject({
|
|
|
10078
9883
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
10079
9884
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
10080
9885
|
|
|
10081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
10082
9887
|
var versus = strictObject({ current: number(), previous: number() });
|
|
10083
9888
|
var person = { person_ref: reference, name: nullable(text) };
|
|
10084
9889
|
var graph = strictObject({
|
|
@@ -10112,14 +9917,14 @@ var officialStats = strictObject({
|
|
|
10112
9917
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
10113
9918
|
});
|
|
10114
9919
|
|
|
10115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9920
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
10116
9921
|
var person2 = strictObject({
|
|
10117
9922
|
ref: reference,
|
|
10118
9923
|
name: nullable(text),
|
|
10119
9924
|
identities: optional(array(identity))
|
|
10120
9925
|
});
|
|
10121
9926
|
|
|
10122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
10123
9928
|
var poll = strictObject({
|
|
10124
9929
|
chat_id: id,
|
|
10125
9930
|
message_id: id,
|
|
@@ -10135,11 +9940,11 @@ var poll = strictObject({
|
|
|
10135
9940
|
});
|
|
10136
9941
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
10137
9942
|
|
|
10138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
10139
9944
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
10140
9945
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
10141
9946
|
|
|
10142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
10143
9948
|
var figures = record(string(), number());
|
|
10144
9949
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
10145
9950
|
var rankingRow = strictObject({
|
|
@@ -10186,7 +9991,7 @@ var ranking = strictObject({
|
|
|
10186
9991
|
rows: array(rankingRow)
|
|
10187
9992
|
});
|
|
10188
9993
|
|
|
10189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
10190
9995
|
var reaction = strictObject({
|
|
10191
9996
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
10192
9997
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -10194,7 +9999,7 @@ var reaction = strictObject({
|
|
|
10194
9999
|
reacted_at: time
|
|
10195
10000
|
});
|
|
10196
10001
|
|
|
10197
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10198
10003
|
var reactionChange = strictObject({
|
|
10199
10004
|
operation_id: id,
|
|
10200
10005
|
chat_id: id,
|
|
@@ -10202,7 +10007,7 @@ var reactionChange = strictObject({
|
|
|
10202
10007
|
reaction: nullable(text)
|
|
10203
10008
|
});
|
|
10204
10009
|
|
|
10205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10206
10011
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10207
10012
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10208
10013
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10213,7 +10018,7 @@ var recipientChange = strictObject({
|
|
|
10213
10018
|
...partial(recipientOff).entries
|
|
10214
10019
|
});
|
|
10215
10020
|
|
|
10216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10021
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10217
10022
|
var events = array(record(string(), unknown()));
|
|
10218
10023
|
var recordedRun = strictObject({
|
|
10219
10024
|
run_id: id,
|
|
@@ -10285,7 +10090,7 @@ var runHit = strictObject({
|
|
|
10285
10090
|
});
|
|
10286
10091
|
var runLocation = strictObject({ path: text });
|
|
10287
10092
|
|
|
10288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10289
10094
|
var relationship = strictObject({
|
|
10290
10095
|
id,
|
|
10291
10096
|
from: reference,
|
|
@@ -10312,7 +10117,7 @@ var relationship = strictObject({
|
|
|
10312
10117
|
created_at: time
|
|
10313
10118
|
});
|
|
10314
10119
|
|
|
10315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10316
10121
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10317
10122
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10318
10123
|
var responseTimes = strictObject({
|
|
@@ -10329,7 +10134,7 @@ var waitingChats = strictObject({
|
|
|
10329
10134
|
by_kind: strictObject({ private: count, group: count })
|
|
10330
10135
|
});
|
|
10331
10136
|
|
|
10332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10333
10138
|
var retentionCohort = strictObject({
|
|
10334
10139
|
/** The first day of the joining day or week. */
|
|
10335
10140
|
cohort: text,
|
|
@@ -10377,7 +10182,7 @@ var retention = strictObject({
|
|
|
10377
10182
|
rows: array(retentionCohort)
|
|
10378
10183
|
});
|
|
10379
10184
|
|
|
10380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10381
10186
|
var savedSearch = strictObject({
|
|
10382
10187
|
id,
|
|
10383
10188
|
/** `null` for a run in the history. */
|
|
@@ -10394,7 +10199,7 @@ var savedSearch = strictObject({
|
|
|
10394
10199
|
});
|
|
10395
10200
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10396
10201
|
|
|
10397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10398
10203
|
var sendAttempt = strictObject({
|
|
10399
10204
|
at: time,
|
|
10400
10205
|
profile: text,
|
|
@@ -10422,7 +10227,7 @@ var sendAttempt = strictObject({
|
|
|
10422
10227
|
error_code: optional(text)
|
|
10423
10228
|
});
|
|
10424
10229
|
|
|
10425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10426
10231
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10427
10232
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10428
10233
|
var infoSchema = strictObject({
|
|
@@ -10652,7 +10457,7 @@ var storeRepair = union([
|
|
|
10652
10457
|
]);
|
|
10653
10458
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10654
10459
|
|
|
10655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10656
10461
|
var range = strictObject({ from: number(), to: number() });
|
|
10657
10462
|
var storeChatStatus = strictObject({
|
|
10658
10463
|
chat_id: id,
|
|
@@ -10750,7 +10555,7 @@ var storeJobRetry = union([
|
|
|
10750
10555
|
]);
|
|
10751
10556
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10752
10557
|
|
|
10753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10754
10559
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10755
10560
|
var storeTable = strictObject({
|
|
10756
10561
|
name: text,
|
|
@@ -10759,7 +10564,7 @@ var storeTable = strictObject({
|
|
|
10759
10564
|
bytes: optional(nullable(count))
|
|
10760
10565
|
});
|
|
10761
10566
|
|
|
10762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10763
10568
|
var tagTarget = variant("type", [
|
|
10764
10569
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10765
10570
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10790,7 +10595,7 @@ var automaticTags = strictObject({
|
|
|
10790
10595
|
dry_run: boolean()
|
|
10791
10596
|
});
|
|
10792
10597
|
|
|
10793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10598
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10794
10599
|
var tagging = strictObject({
|
|
10795
10600
|
tag: text,
|
|
10796
10601
|
type: picklist(TAG_TYPES),
|
|
@@ -10803,7 +10608,7 @@ var tagging = strictObject({
|
|
|
10803
10608
|
created_at: time
|
|
10804
10609
|
});
|
|
10805
10610
|
|
|
10806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10807
10612
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10808
10613
|
var taskPair = strictObject({
|
|
10809
10614
|
task: nullable(side),
|
|
@@ -10826,7 +10631,7 @@ var taskPair = strictObject({
|
|
|
10826
10631
|
created_at: time
|
|
10827
10632
|
});
|
|
10828
10633
|
|
|
10829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10830
10635
|
var nullableTime = nullable(time);
|
|
10831
10636
|
var link = strictObject({
|
|
10832
10637
|
id,
|
|
@@ -11000,7 +10805,7 @@ var taskReview = strictObject({
|
|
|
11000
10805
|
untrusted
|
|
11001
10806
|
});
|
|
11002
10807
|
|
|
11003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
11004
10809
|
var template = strictObject({
|
|
11005
10810
|
key: text,
|
|
11006
10811
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -11012,7 +10817,7 @@ var template = strictObject({
|
|
|
11012
10817
|
updated_by: nullable(text)
|
|
11013
10818
|
});
|
|
11014
10819
|
|
|
11015
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
11016
10821
|
var topic = strictObject({
|
|
11017
10822
|
id,
|
|
11018
10823
|
title: text,
|
|
@@ -11026,7 +10831,7 @@ var topic = strictObject({
|
|
|
11026
10831
|
untrusted
|
|
11027
10832
|
});
|
|
11028
10833
|
|
|
11029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
11030
10835
|
var ENTITIES = {
|
|
11031
10836
|
sync_progress: progress,
|
|
11032
10837
|
deal,
|
|
@@ -11202,6 +11007,8 @@ var ENTITIES = {
|
|
|
11202
11007
|
meeting_stats: meetingStats,
|
|
11203
11008
|
meeting_counts: meetingCounts,
|
|
11204
11009
|
call_stats: callStats,
|
|
11010
|
+
meeting_tag_change: meetingTagChange,
|
|
11011
|
+
meeting_tagging: meetingTagging,
|
|
11205
11012
|
meeting_speaker: meetingSpeaker,
|
|
11206
11013
|
meeting_participants: meetingParticipants,
|
|
11207
11014
|
meeting_passage: meetingPassage,
|
|
@@ -11278,6 +11085,7 @@ var ENTITIES = {
|
|
|
11278
11085
|
chat_moderation: chatModeration,
|
|
11279
11086
|
"model.chosen": chosenModel,
|
|
11280
11087
|
model_key: modelKey,
|
|
11088
|
+
chat_sending: chatSending,
|
|
11281
11089
|
"model_key.stored": storedModelKey,
|
|
11282
11090
|
"model_key.removed": removedModelKey,
|
|
11283
11091
|
chat_event: chatEvent,
|
|
@@ -11322,7 +11130,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11322
11130
|
return [name, definition];
|
|
11323
11131
|
})), "entityDefinitions");
|
|
11324
11132
|
|
|
11325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11326
11134
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11327
11135
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11328
11136
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11356,8 +11164,8 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11356
11164
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11357
11165
|
}, "answerRow");
|
|
11358
11166
|
|
|
11359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11360
|
-
import { join as
|
|
11167
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11168
|
+
import { join as join5 } from "node:path";
|
|
11361
11169
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11362
11170
|
var IMAGE_MODELS = [
|
|
11363
11171
|
{
|
|
@@ -11407,10 +11215,10 @@ var imageModel = /* @__PURE__ */ __name((id6) => {
|
|
|
11407
11215
|
return found;
|
|
11408
11216
|
}, "imageModel");
|
|
11409
11217
|
var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
|
|
11410
|
-
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file,
|
|
11218
|
+
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
11411
11219
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11412
11220
|
|
|
11413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11414
11222
|
var STEPS2 = defineSteps([
|
|
11415
11223
|
...STEPS,
|
|
11416
11224
|
{
|
|
@@ -11647,10 +11455,10 @@ var nextStep = /* @__PURE__ */ __name((id6, input) => {
|
|
|
11647
11455
|
const args = Object.fromEntries(Object.entries(input.args ?? {}).filter(([, value]) => value !== void 0));
|
|
11648
11456
|
return stepOf(definition, { ...input, args });
|
|
11649
11457
|
}, "nextStep");
|
|
11650
|
-
var lineOf = /* @__PURE__ */ __name((command,
|
|
11458
|
+
var lineOf = /* @__PURE__ */ __name((command, words) => {
|
|
11651
11459
|
const root = rootOf2(command);
|
|
11652
11460
|
const profile = root.getOptionValue("profile");
|
|
11653
|
-
return typedCommand(root.name(),
|
|
11461
|
+
return typedCommand(root.name(), words, typeof profile === "string" && profile !== "" ? profile : void 0);
|
|
11654
11462
|
}, "lineOf");
|
|
11655
11463
|
var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
11656
11464
|
let root = command;
|
|
@@ -11700,7 +11508,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11700
11508
|
].join(" ");
|
|
11701
11509
|
}, "stepLine");
|
|
11702
11510
|
|
|
11703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11511
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11704
11512
|
var where = [{ field: "ref" }];
|
|
11705
11513
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11706
11514
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11792,7 +11600,7 @@ var STATUS_ROWS = {
|
|
|
11792
11600
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11793
11601
|
};
|
|
11794
11602
|
|
|
11795
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11796
11604
|
var TEXT_CHARS = 400;
|
|
11797
11605
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11798
11606
|
var messageRow = {
|
|
@@ -12160,7 +11968,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12160
11968
|
return lines.concat(footerOf(body)).join("\n");
|
|
12161
11969
|
}, "compactText");
|
|
12162
11970
|
|
|
12163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12164
11972
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12165
11973
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12166
11974
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12186,10 +11994,10 @@ var declaresRow = /* @__PURE__ */ __name((command) => {
|
|
|
12186
11994
|
return rowShapeOf(command, rows2 && entityRows(rows2)) !== GENERIC_ROW;
|
|
12187
11995
|
}, "declaresRow");
|
|
12188
11996
|
var pathOf3 = /* @__PURE__ */ __name((command) => {
|
|
12189
|
-
const
|
|
11997
|
+
const words = [];
|
|
12190
11998
|
for (let at2 = command; at2.parent; at2 = at2.parent)
|
|
12191
|
-
|
|
12192
|
-
return
|
|
11999
|
+
words.unshift(at2.name());
|
|
12000
|
+
return words.join(" ");
|
|
12193
12001
|
}, "pathOf");
|
|
12194
12002
|
var step = /* @__PURE__ */ __name((command, id6, args, why) => ({
|
|
12195
12003
|
kind: "command",
|
|
@@ -12218,7 +12026,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12218
12026
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12219
12027
|
}, "largeAnswerSteps");
|
|
12220
12028
|
|
|
12221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12222
12030
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12223
12031
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12224
12032
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12232,7 +12040,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12232
12040
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12233
12041
|
}, "strip");
|
|
12234
12042
|
|
|
12235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12236
12044
|
var OPEN = "\u27E6";
|
|
12237
12045
|
var CLOSE = "\u27E7";
|
|
12238
12046
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12316,7 +12124,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12316
12124
|
return result;
|
|
12317
12125
|
}, "withFieldsMarked");
|
|
12318
12126
|
|
|
12319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12320
12128
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12321
12129
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12322
12130
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12424,8 +12232,8 @@ var linesOf = /* @__PURE__ */ __name((body) => jsonlOf("items" in body ? body :
|
|
|
12424
12232
|
var jsonlRecords = /* @__PURE__ */ __name((body) => linesOf(sealed(body)).split("\n").map((line) => JSON.parse(line)), "jsonlRecords");
|
|
12425
12233
|
var listZone = /* @__PURE__ */ __name((command) => {
|
|
12426
12234
|
const registry = metaOf(command).query;
|
|
12427
|
-
const
|
|
12428
|
-
const text5 = Array.isArray(
|
|
12235
|
+
const words = command.processedArgs.at(-1);
|
|
12236
|
+
const text5 = Array.isArray(words) ? words.join(" ") : typeof words === "string" ? words : "";
|
|
12429
12237
|
const times = new Set(registry?.fields.filter(({ type }) => type === "time").map(({ name }) => name));
|
|
12430
12238
|
if (times.size === 0 || text5.trim() === "")
|
|
12431
12239
|
return void 0;
|
|
@@ -12492,6 +12300,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
|
|
|
12492
12300
|
|
|
12493
12301
|
export {
|
|
12494
12302
|
modelTarget,
|
|
12303
|
+
resolveAISettings,
|
|
12495
12304
|
envName,
|
|
12496
12305
|
ancestorValue,
|
|
12497
12306
|
readOnlyLockOf,
|
|
@@ -12517,6 +12326,7 @@ export {
|
|
|
12517
12326
|
scheduleHarness,
|
|
12518
12327
|
callRecord,
|
|
12519
12328
|
stickerInventory,
|
|
12329
|
+
progressOf,
|
|
12520
12330
|
spawnDetached,
|
|
12521
12331
|
jobsDir,
|
|
12522
12332
|
saveJob,
|
|
@@ -12570,6 +12380,7 @@ export {
|
|
|
12570
12380
|
readKeysForCommand,
|
|
12571
12381
|
keyForCommand,
|
|
12572
12382
|
assertRetentionEvidenceRead,
|
|
12383
|
+
deadlineMargin,
|
|
12573
12384
|
recorded,
|
|
12574
12385
|
startRecording,
|
|
12575
12386
|
wasSettled,
|
|
@@ -12599,19 +12410,6 @@ export {
|
|
|
12599
12410
|
refuseCommandName,
|
|
12600
12411
|
rootOf,
|
|
12601
12412
|
sampleCommand,
|
|
12602
|
-
DEFAULT_TEXT_MODEL,
|
|
12603
|
-
PREVIOUS_DEFAULT_TEXT_MODEL,
|
|
12604
|
-
CustomTextModelShape,
|
|
12605
|
-
readTextModelsSection,
|
|
12606
|
-
writeTextModelsSection,
|
|
12607
|
-
textModels,
|
|
12608
|
-
textModel,
|
|
12609
|
-
chosenTextModel,
|
|
12610
|
-
RERANK_MODELS,
|
|
12611
|
-
DEFAULT_RERANK_MODEL,
|
|
12612
|
-
rerankModel,
|
|
12613
|
-
vectorModelKey,
|
|
12614
|
-
meaningFloor,
|
|
12615
12413
|
historyWindow,
|
|
12616
12414
|
limitBatch,
|
|
12617
12415
|
botFiles,
|
|
@@ -12633,11 +12431,13 @@ export {
|
|
|
12633
12431
|
NoProfileHere,
|
|
12634
12432
|
fromFile,
|
|
12635
12433
|
settingsFor,
|
|
12434
|
+
runBudgetOf,
|
|
12636
12435
|
setExitCode,
|
|
12637
12436
|
provide,
|
|
12638
12437
|
environmentOf,
|
|
12639
12438
|
withAgentLevels,
|
|
12640
12439
|
secretInputOf,
|
|
12440
|
+
outputFieldsOf,
|
|
12641
12441
|
outputFor,
|
|
12642
12442
|
baseContext,
|
|
12643
12443
|
inCommandRun,
|
|
@@ -12656,6 +12456,7 @@ export {
|
|
|
12656
12456
|
destroysNothing,
|
|
12657
12457
|
admittedUnderLock,
|
|
12658
12458
|
changesStore,
|
|
12459
|
+
writesOwnerFiles,
|
|
12659
12460
|
fetchesOnly,
|
|
12660
12461
|
fetchesOnlyAt,
|
|
12661
12462
|
fileOptionOf,
|