@wirecat/cli-memo 0.131.78 → 0.131.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZEUEPNFD.js → all-profiles-RVKEGURX.js} +9 -9
- package/dist/bundle/{anthropic-VF75LSDZ.js → anthropic-FC6XUSWM.js} +6 -6
- package/dist/bundle/{app-server-Z4TY5VP5.js → app-server-IRNKU3IF.js} +41 -41
- package/dist/bundle/auto-GTL4YGZX.js +91 -0
- package/dist/bundle/{bun-OUR5UZAI.js → bun-TYBGE5BX.js} +2 -2
- package/dist/bundle/{bun-sqlite-26ZGEVH3.js → bun-sqlite-YENHHNPL.js} +10 -6
- package/dist/bundle/{chunk-DDPZY27T.js → chunk-2CJIZZSI.js} +16 -16
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-IFANDP3T.js → chunk-2FICCBKH.js} +14 -2
- package/dist/bundle/{chunk-OHMF7LWW.js → chunk-3H56E3VI.js} +5 -5
- package/dist/bundle/{chunk-WYSFOL74.js → chunk-4IKO3JAA.js} +4 -4
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-VJLJFLKZ.js → chunk-666J5H2Z.js} +1 -1
- package/dist/bundle/{chunk-ELKRFQ5Y.js → chunk-6W6CLZKX.js} +12 -12
- package/dist/bundle/{chunk-22RYCAAO.js → chunk-BS5JBNGX.js} +9625 -9046
- package/dist/bundle/{chunk-5PCPPT43.js → chunk-C2FE62E5.js} +31 -31
- package/dist/bundle/{chunk-Z4TPRASF.js → chunk-C4TAEYDQ.js} +5 -5
- package/dist/bundle/{chunk-UIJBGS6K.js → chunk-CEGA7A35.js} +2 -2
- package/dist/bundle/{chunk-MUFU4LNS.js → chunk-CUWTYE5A.js} +2 -2
- package/dist/bundle/{chunk-EI7LYQQA.js → chunk-CVQJ7L4C.js} +4 -4
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-DAEPTQ6N.js → chunk-DS5SA5QP.js} +5 -5
- package/dist/bundle/{chunk-OMGNXKSH.js → chunk-EOXWI2EX.js} +4 -4
- package/dist/bundle/{chunk-EF33DKMR.js → chunk-F62N6QMI.js} +1 -1
- package/dist/bundle/{chunk-P3UQGKGY.js → chunk-FIJTCBPQ.js} +10 -10
- package/dist/bundle/{chunk-T37LLOZR.js → chunk-FR646D4S.js} +1 -1
- package/dist/bundle/{chunk-6GHBGGN7.js → chunk-GHYJW4ZH.js} +2 -2
- package/dist/bundle/{chunk-6ABWVQ4T.js → chunk-GNII3UL7.js} +1 -1
- package/dist/bundle/{chunk-YOM4PA3A.js → chunk-HFQXEMRG.js} +1 -1
- package/dist/bundle/{chunk-OMCET4QP.js → chunk-HHZMDFE2.js} +47 -47
- package/dist/bundle/{chunk-WETWQO6X.js → chunk-HKXACNLD.js} +2 -2
- package/dist/bundle/{chunk-QEJHNTCX.js → chunk-HXPU3ABX.js} +511 -349
- package/dist/bundle/{chunk-4LZLU2V3.js → chunk-IJUXHUNZ.js} +3 -3
- package/dist/bundle/{chunk-GXHPPHGB.js → chunk-IW6O2SAG.js} +11 -11
- package/dist/bundle/{chunk-N7CHOWDF.js → chunk-JDQSL2EY.js} +3 -3
- package/dist/bundle/{chunk-WHZJHUK6.js → chunk-JJ6ODCVQ.js} +2 -2
- package/dist/bundle/{chunk-7ENXMVT5.js → chunk-JPC7GSJO.js} +20 -11
- package/dist/bundle/{chunk-E5JVYVRX.js → chunk-JTQAMVZH.js} +15 -14
- package/dist/bundle/{chunk-Q2CQNT3A.js → chunk-K3JEAMTT.js} +1 -1
- package/dist/bundle/{chunk-AZIXZIXT.js → chunk-KDLOSANT.js} +7 -7
- package/dist/bundle/{chunk-D67YDJ35.js → chunk-KNRYIHUJ.js} +1049 -902
- package/dist/bundle/{chunk-B2ZAEF5Z.js → chunk-KVQY7R66.js} +2 -2
- package/dist/bundle/{chunk-H2AQV772.js → chunk-MDIXXKVU.js} +10 -10
- package/dist/bundle/{chunk-LJRXD44C.js → chunk-MLYPJ4EC.js} +7 -7
- package/dist/bundle/{chunk-Y2J52Y3A.js → chunk-NH7KIGIS.js} +3 -3
- package/dist/bundle/{chunk-XC26CUGL.js → chunk-NUKMYB65.js} +6 -6
- package/dist/bundle/{chunk-PTKJIA7M.js → chunk-OFRIG3CX.js} +3 -3
- package/dist/bundle/{chunk-WHMKYJZR.js → chunk-OH4AIBZF.js} +1 -1
- package/dist/bundle/{chunk-TWWYDJBW.js → chunk-OSE7GXAR.js} +1 -1
- package/dist/bundle/{chunk-QU7UPCW2.js → chunk-PX55CRD3.js} +86 -81
- package/dist/bundle/{chunk-7DKS4GIW.js → chunk-Q46O7KXY.js} +5 -5
- package/dist/bundle/chunk-R4XCBPD2.js +53 -0
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-TT5RMHM6.js → chunk-RUM4GGHP.js} +5 -5
- package/dist/bundle/{chunk-5NBQOU5V.js → chunk-RWVB7SLQ.js} +26 -23
- package/dist/bundle/{chunk-MW6IAMUI.js → chunk-S2KXO7MO.js} +1 -1
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-NXQFVHG4.js → chunk-SGV2Z4BO.js} +165 -152
- package/dist/bundle/{chunk-XTCN3VUP.js → chunk-SKX3BNTE.js} +8 -8
- package/dist/bundle/{chunk-OUATPEPP.js → chunk-SULQCO3Y.js} +6 -6
- package/dist/bundle/{chunk-KUY35N7Q.js → chunk-TJ2B36VK.js} +7 -7
- package/dist/bundle/{chunk-ZKCAR2OL.js → chunk-UBUCTVHB.js} +1 -1
- package/dist/bundle/{chunk-T6LXUBXY.js → chunk-UTYGPWUY.js} +3 -3
- package/dist/bundle/{chunk-JHW2ARPA.js → chunk-VQJDYQ55.js} +34 -34
- package/dist/bundle/{chunk-F7MKFYYP.js → chunk-VTBIVTS5.js} +3 -3
- package/dist/bundle/{chunk-EIQ6HCIB.js → chunk-W26VONC6.js} +7 -7
- package/dist/bundle/{chunk-I6CZU7X7.js → chunk-X3NHAO6T.js} +1 -1
- package/dist/bundle/{chunk-3QV5JWFN.js → chunk-XZJUAG7B.js} +3 -3
- package/dist/bundle/{chunk-UWF6WXM7.js → chunk-ZMLDVE22.js} +7 -7
- package/dist/bundle/{chunk-NGWKI3E6.js → chunk-ZMSEKQQQ.js} +1 -1
- package/dist/bundle/command-contract-SR6ONYV4.js +34 -0
- package/dist/bundle/{command-server-entry-A7ZCZWHH.js → command-server-entry-2WXZVYIX.js} +21 -21
- package/dist/bundle/{decode-FO2ELPW6.js → decode-U7VFYQAA.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-HTY3OB2X.js → echarts-2PXBBLLJ.js} +2 -2
- package/dist/bundle/{embed-2DTGMR7Z.js → embed-DPA5QOIR.js} +7 -7
- package/dist/bundle/{embedder-N3IGQ2M6.js → embedder-IGI2UTFK.js} +10 -10
- package/dist/bundle/{entry-YDEKGRCA.js → entry-7PAYGIQO.js} +9 -9
- package/dist/bundle/{entry-Q7CIJ3TU.js → entry-IFOQTBXC.js} +9 -9
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/failure-NAM37T2T.js +71 -0
- package/dist/bundle/{first-run-SAADMYEA.js → first-run-WHDDKA4V.js} +10 -10
- package/dist/bundle/first-screen-P5C57USR.js +32 -0
- package/dist/bundle/{instructions-XB5Y5DFA.js → instructions-W7F7OQZS.js} +1 -1
- package/dist/bundle/mcp-3LAFWOGW.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-4ZOD7X75.js → node-K6MWX3SW.js} +2 -2
- package/dist/bundle/{node-sqlite-DWXKYFW6.js → node-sqlite-WV6GCPEC.js} +11 -7
- package/dist/bundle/{oauth-GMIBNJQB.js → oauth-EH2Y54DG.js} +8 -8
- package/dist/bundle/{open-3DBI3MHV.js → open-PB4W3UAM.js} +6 -6
- package/dist/bundle/{openai-HFJAR7W5.js → openai-76OKHXWR.js} +11 -11
- package/dist/bundle/{process-2H5HNPHH.js → process-FMQ7Q7AI.js} +1 -1
- package/dist/bundle/{program-VXKN6DLP.js → program-BR2QHF36.js} +403 -142
- package/dist/bundle/{prompt-WETKFAQS.js → prompt-AW4T6CC2.js} +6 -6
- package/dist/bundle/{recognize-5LC3DQ2W.js → recognize-X5DMT3HH.js} +5 -5
- package/dist/bundle/{remote-FURTWZ25.js → remote-HVKKXNYZ.js} +8 -8
- package/dist/bundle/{rerank-CMQWT3WC.js → rerank-IXMWD7JV.js} +8 -8
- package/dist/bundle/{serve-LEF3PX34.js → serve-42XTYB26.js} +10 -10
- package/dist/bundle/server-HUEXB5QL.js +64 -0
- package/dist/bundle/{server-GYLFN6Y7.js → server-NNE7MUYT.js} +59 -59
- package/dist/bundle/server-YLXOJOTR.js +50 -0
- package/dist/bundle/{state-OVZT24JF.js → state-EOU37GAH.js} +7 -7
- package/dist/bundle/{store-SV46T732.js → store-F3REYMA6.js} +13 -13
- package/dist/bundle/store-maintenance-command-TOBBH3ZK.js +49 -0
- package/dist/bundle/update-3QB752NL.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +13 -3
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +2 -0
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/document-context.d.ts +14 -0
- package/dist/knowledge/document-context.d.ts.map +1 -0
- package/dist/knowledge/document-context.js +33 -0
- package/dist/knowledge/document-context.js.map +1 -0
- package/dist/knowledge/project-activity-command.d.ts +5 -0
- package/dist/knowledge/project-activity-command.d.ts.map +1 -0
- package/dist/knowledge/project-activity-command.js +71 -0
- package/dist/knowledge/project-activity-command.js.map +1 -0
- package/dist/knowledge/relationships.d.ts +4 -0
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/knowledge/relationships.js +14 -0
- package/dist/knowledge/relationships.js.map +1 -1
- package/dist/knowledge/roles-command.d.ts.map +1 -1
- package/dist/knowledge/roles-command.js +7 -4
- package/dist/knowledge/roles-command.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +4 -4
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -2
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/doubts-command.d.ts +5 -0
- package/dist/people/doubts-command.d.ts.map +1 -0
- package/dist/people/doubts-command.js +46 -0
- package/dist/people/doubts-command.js.map +1 -0
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +52 -57
- package/dist/people/identities-command.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +48 -0
- package/dist/people/proposal-rows.d.ts.map +1 -0
- package/dist/people/proposal-rows.js +61 -0
- package/dist/people/proposal-rows.js.map +1 -0
- package/dist/people/proposals-command.d.ts +5 -0
- package/dist/people/proposals-command.d.ts.map +1 -0
- package/dist/people/proposals-command.js +107 -0
- package/dist/people/proposals-command.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -0
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +12 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +14 -2
- package/dist/tasks/shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/proposals.md +10 -6
- package/dist/bundle/auto-SA667UAT.js +0 -91
- package/dist/bundle/chunk-VHA3LJQT.js +0 -35
- package/dist/bundle/command-contract-L5GTW74N.js +0 -34
- package/dist/bundle/failure-QL3RJILP.js +0 -71
- package/dist/bundle/first-screen-WXKAIMY6.js +0 -32
- package/dist/bundle/mcp-IRJS472M.js +0 -92
- package/dist/bundle/server-C2EVLJLW.js +0 -64
- package/dist/bundle/server-L7GHFXJF.js +0 -50
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +0 -49
- package/dist/bundle/update-PRBIV3RG.js +0 -74
- /package/dist/bundle/{chunk-DK3W4FPW.js → chunk-ID2I2X2Z.js} +0 -0
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OSE7GXAR.js";
|
|
6
6
|
import {
|
|
7
7
|
BinaryResource,
|
|
8
8
|
Picture,
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
tool,
|
|
24
24
|
toolKey,
|
|
25
25
|
toolsFromCommands
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2CJIZZSI.js";
|
|
27
27
|
import {
|
|
28
28
|
callerOf,
|
|
29
29
|
callingAgent
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KVQY7R66.js";
|
|
31
31
|
import {
|
|
32
32
|
CHART_KINDS,
|
|
33
33
|
CHART_SIZE,
|
|
@@ -39,31 +39,31 @@ import {
|
|
|
39
39
|
refuseWriteBeforeConnecting,
|
|
40
40
|
registerPrompts,
|
|
41
41
|
syncsFirst
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RWVB7SLQ.js";
|
|
43
43
|
import {
|
|
44
44
|
mcpUrlOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HFQXEMRG.js";
|
|
46
46
|
import {
|
|
47
47
|
agentJson,
|
|
48
48
|
skillResource
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-JPC7GSJO.js";
|
|
50
50
|
import {
|
|
51
51
|
StdioServerTransport,
|
|
52
52
|
serveStdio
|
|
53
53
|
} from "./chunk-MM5NVP7F.js";
|
|
54
54
|
import {
|
|
55
55
|
instructions
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-OH4AIBZF.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-CVQJ7L4C.js";
|
|
60
60
|
import {
|
|
61
61
|
McpServer,
|
|
62
62
|
ResourceTemplate
|
|
63
63
|
} from "./chunk-H3ZN4YLB.js";
|
|
64
64
|
import {
|
|
65
65
|
connectedFor
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JTQAMVZH.js";
|
|
67
67
|
import {
|
|
68
68
|
capability,
|
|
69
69
|
dateWindow,
|
|
@@ -73,20 +73,20 @@ import {
|
|
|
73
73
|
servicesFor,
|
|
74
74
|
storedDeps,
|
|
75
75
|
wholeList
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HXPU3ABX.js";
|
|
77
77
|
import {
|
|
78
78
|
openStore,
|
|
79
79
|
pdfPreviewLimits
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-BS5JBNGX.js";
|
|
81
81
|
import {
|
|
82
82
|
warmEmbedders
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-C4TAEYDQ.js";
|
|
84
84
|
import {
|
|
85
85
|
stdinFieldOf
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-F62N6QMI.js";
|
|
87
87
|
import {
|
|
88
88
|
findCommand
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-NH7KIGIS.js";
|
|
90
90
|
import {
|
|
91
91
|
DEFAULT_OUTPUT_BYTES,
|
|
92
92
|
changesAuthorityAt,
|
|
@@ -101,23 +101,23 @@ import {
|
|
|
101
101
|
rootOf2 as rootOf,
|
|
102
102
|
sealed,
|
|
103
103
|
snakeKeys
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-SGV2Z4BO.js";
|
|
105
105
|
import {
|
|
106
106
|
withCaller
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-MLYPJ4EC.js";
|
|
108
108
|
import {
|
|
109
109
|
readOnlyLockOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-ZMSEKQQQ.js";
|
|
111
111
|
import {
|
|
112
112
|
timezoneOf,
|
|
113
113
|
typedCommand
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-PX55CRD3.js";
|
|
115
115
|
import {
|
|
116
116
|
isCliFailure
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-JJ6ODCVQ.js";
|
|
118
118
|
import {
|
|
119
119
|
mcpErrorResult
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-RK24IARI.js";
|
|
121
121
|
import {
|
|
122
122
|
description,
|
|
123
123
|
integer,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
regex,
|
|
133
133
|
strictObject,
|
|
134
134
|
string
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-5LEIPSJG.js";
|
|
136
136
|
import {
|
|
137
137
|
CliError,
|
|
138
138
|
visibleControls
|
|
@@ -141,10 +141,10 @@ import {
|
|
|
141
141
|
__name
|
|
142
142
|
} from "./chunk-ZVVMGPBJ.js";
|
|
143
143
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
145
145
|
import { randomUUID } from "node:crypto";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
148
148
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
149
149
|
let held;
|
|
150
150
|
return {
|
|
@@ -163,7 +163,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
163
163
|
};
|
|
164
164
|
}, "agentLog");
|
|
165
165
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
167
167
|
var LISTED = 100;
|
|
168
168
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
169
169
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -201,7 +201,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
201
201
|
});
|
|
202
202
|
}, "registerResources");
|
|
203
203
|
|
|
204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
205
205
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
206
206
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
207
207
|
var MessengerSession = class {
|
|
@@ -276,7 +276,7 @@ var MessengerSession = class {
|
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
280
280
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
281
281
|
const _command = messenger.app.command;
|
|
282
282
|
return {
|
|
@@ -330,7 +330,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
330
330
|
};
|
|
331
331
|
}, "attachmentsTools");
|
|
332
332
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
334
334
|
var PHOTO_LIMIT = 512 * 1024;
|
|
335
335
|
var IMAGE_TYPES = [
|
|
336
336
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -384,7 +384,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
384
384
|
return new Uint8Array(Buffer.concat(chunks));
|
|
385
385
|
}, "readUpTo");
|
|
386
386
|
|
|
387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
388
388
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
389
389
|
stats_charts: tool({
|
|
390
390
|
title: "A chart from a chat's statistics",
|
|
@@ -421,14 +421,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
421
421
|
})
|
|
422
422
|
}), "statsTools");
|
|
423
423
|
|
|
424
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
425
425
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
426
426
|
...messagesPhotoTools(messenger),
|
|
427
427
|
...attachmentsTools(messenger),
|
|
428
428
|
...statsTools(messenger)
|
|
429
429
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
430
430
|
|
|
431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
432
432
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
433
433
|
"streams",
|
|
434
434
|
"stdin",
|
|
@@ -752,7 +752,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
752
752
|
}, "serveOverStdio");
|
|
753
753
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
754
754
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
755
|
-
const { serveOverHttp } = await import("./serve-
|
|
755
|
+
const { serveOverHttp } = await import("./serve-42XTYB26.js");
|
|
756
756
|
const appName = messenger.app.command;
|
|
757
757
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
758
758
|
const listening = await serveOverHttp(build, {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UTYGPWUY.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ACCESS_SECONDS,
|
|
5
5
|
REFRESH_SECONDS,
|
|
6
6
|
readStored
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CVQJ7L4C.js";
|
|
8
8
|
import {
|
|
9
9
|
OAuthError,
|
|
10
10
|
OAuthErrorCode
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OFRIG3CX.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
20
20
|
import { createRequire } from "node:module";
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JDQSL2EY.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S2KXO7MO.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-YENHHNPL.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-WV6GCPEC.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GNII3UL7.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CEGA7A35.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
calledTools,
|
|
18
18
|
httpActivityFile,
|
|
19
19
|
httpLock
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CVQJ7L4C.js";
|
|
21
21
|
import {
|
|
22
22
|
getOAuthProtectedResourceMetadataUrl,
|
|
23
23
|
oauthMetadataResponse,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
__name
|
|
31
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
35
|
var MCP_PATH = "/mcp";
|
|
36
36
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FR646D4S.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2CJIZZSI.js";
|
|
13
13
|
import {
|
|
14
14
|
callerOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KVQY7R66.js";
|
|
16
16
|
import {
|
|
17
17
|
agentJson,
|
|
18
18
|
skillResource
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JPC7GSJO.js";
|
|
20
20
|
import {
|
|
21
21
|
serveStdio
|
|
22
22
|
} from "./chunk-MM5NVP7F.js";
|
|
@@ -25,28 +25,28 @@ import {
|
|
|
25
25
|
} from "./chunk-H3ZN4YLB.js";
|
|
26
26
|
import {
|
|
27
27
|
wholeList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HXPU3ABX.js";
|
|
29
29
|
import {
|
|
30
30
|
changesMessenger,
|
|
31
31
|
flatten,
|
|
32
32
|
itemOf
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SGV2Z4BO.js";
|
|
34
34
|
import {
|
|
35
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
36
36
|
readOnlyLockOf,
|
|
37
37
|
readOnlyRefusal
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZMSEKQQQ.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-RK24IARI.js";
|
|
42
42
|
import {
|
|
43
43
|
object
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-5LEIPSJG.js";
|
|
45
45
|
import {
|
|
46
46
|
__name
|
|
47
47
|
} from "./chunk-ZVVMGPBJ.js";
|
|
48
48
|
|
|
49
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
49
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
50
50
|
import { randomUUID } from "node:crypto";
|
|
51
51
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
52
52
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C4TAEYDQ.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/http/public-url.js
|
|
11
11
|
var EXAMPLE = "--public-url https://<name>.ts.net";
|
|
12
12
|
var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
|
|
13
13
|
if (!given)
|