@wirecat/tg-cli 0.133.0 → 0.135.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/README.md +2 -3
- package/contracts/wirecat.json +82 -2
- package/dist/bin/tg.js +2 -2
- package/dist/bot/generated/types.d.ts +188 -0
- package/dist/bot/generated/types.d.ts.map +1 -1
- package/dist/bundle/{adapter-GSGX3WBH.js → adapter-OHJF6PB5.js} +104 -69
- package/dist/bundle/agent-QPF2KU4I.js +37 -0
- package/dist/bundle/{all-profiles-VOCJ55YH.js → all-profiles-LQ73BIFB.js} +62 -20
- package/dist/bundle/{anthropic-J6CTLU3W.js → anthropic-YYBMT2HD.js} +5 -5
- package/dist/bundle/{app-server-GVFGA4TJ.js → app-server-HV4C4CSA.js} +72 -62
- package/dist/bundle/{bot-api-LWONPIGK.js → bot-api-URQXWMVR.js} +73 -92
- package/dist/bundle/{bot-history-XOW7Y2GC.js → bot-history-FRLCHPDQ.js} +23 -22
- package/dist/bundle/{bun-436CH6CP.js → bun-J3ML43BO.js} +2 -2
- package/dist/bundle/{bun-sqlite-ZLB5RK5Q.js → bun-sqlite-ZNB2B2DL.js} +6 -6
- package/dist/bundle/{chunk-UGS57TT5.js → chunk-24G3SEXH.js} +2 -2
- package/dist/bundle/chunk-27F6QBPY.js +555 -0
- package/dist/bundle/{chunk-6VCSOQFL.js → chunk-2OFCIF2W.js} +2 -2
- package/dist/bundle/{chunk-VGN5YXYI.js → chunk-2U7XA4IH.js} +2 -100
- package/dist/bundle/{chunk-LBZEZO32.js → chunk-4CLSIEWN.js} +65 -43
- package/dist/bundle/chunk-5CEKH6R6.js +340 -0
- package/dist/bundle/{chunk-SMI2EUH4.js → chunk-5WEEK65F.js} +1 -1
- package/dist/bundle/{chunk-OX73ERZW.js → chunk-6VWVYPH2.js} +3 -4
- package/dist/bundle/{chunk-5HKPQPD4.js → chunk-6WS474NQ.js} +6 -6
- package/dist/bundle/{chunk-IYAXLLGR.js → chunk-7GWOGEWJ.js} +6 -6
- package/dist/bundle/{chunk-TPD37ECC.js → chunk-AMRMU23L.js} +16 -3
- package/dist/bundle/{chunk-ZHO3TPHM.js → chunk-B2UXNYCD.js} +30 -15
- package/dist/bundle/{chunk-YY6FGKGD.js → chunk-B4ZMFU5I.js} +2 -2
- package/dist/bundle/{chunk-54WLIPIQ.js → chunk-BFKPMG5T.js} +1 -1
- package/dist/bundle/{chunk-KHUXDSXN.js → chunk-BQSODAU3.js} +1 -1
- package/dist/bundle/{chunk-N3JUHGKM.js → chunk-BXUMZWMN.js} +3786 -3364
- package/dist/bundle/{chunk-VTQMR3XG.js → chunk-E2VIO7RY.js} +3 -3
- package/dist/bundle/{chunk-UZ63ORMY.js → chunk-F5FOS64B.js} +4 -4
- package/dist/bundle/{chunk-LIQMUDIZ.js → chunk-GCUFGDKE.js} +2 -2
- package/dist/bundle/chunk-GUERS64O.js +108 -0
- package/dist/bundle/{chunk-5LRTYBZW.js → chunk-HILS2UL7.js} +12 -12
- package/dist/bundle/{chunk-6S77EKZU.js → chunk-IOJOLV25.js} +17 -15
- package/dist/bundle/{chunk-IBCXEVNY.js → chunk-JBS4VPAX.js} +3 -3
- package/dist/bundle/{chunk-5L44DSHV.js → chunk-K5QGBYDL.js} +4 -4
- package/dist/bundle/{chunk-NO2LIHWA.js → chunk-KKXF6TSS.js} +1 -1
- package/dist/bundle/chunk-L2ZQDTDU.js +7 -0
- package/dist/bundle/{chunk-HB5DP6L5.js → chunk-LFPUW7DR.js} +18 -18
- package/dist/bundle/{chunk-QWO7L4UH.js → chunk-LGYATGQI.js} +7 -7
- package/dist/bundle/{chunk-IH4Z3KZU.js → chunk-MA27675E.js} +2 -2
- package/dist/bundle/{chunk-6H2NW6HK.js → chunk-MDI7554C.js} +3 -3
- package/dist/bundle/{chunk-KVFUH5IT.js → chunk-MMZ4QAKJ.js} +1 -1
- package/dist/bundle/{chunk-XOX4BX5A.js → chunk-MOPBEBVS.js} +4 -4
- package/dist/bundle/{chunk-XKOMP3HV.js → chunk-MPRXUTIK.js} +6 -6
- package/dist/bundle/{chunk-QYLZD4DS.js → chunk-N7F5KT6U.js} +1 -1
- package/dist/bundle/{chunk-KUA24HWG.js → chunk-NBP6LXSY.js} +2 -2
- package/dist/bundle/{chunk-UQYL6TJ7.js → chunk-NP46ZKQW.js} +4 -4
- package/dist/bundle/{chunk-QGWISM4W.js → chunk-NRSJXUUO.js} +34 -28
- package/dist/bundle/{chunk-7NYP4RBO.js → chunk-NVWZ7S3I.js} +2294 -1221
- package/dist/bundle/chunk-OBIMTRA7.js +80 -0
- package/dist/bundle/{chunk-VWJTYAIQ.js → chunk-OQJURSRL.js} +17 -17
- package/dist/bundle/chunk-OU3WN4YH.js +50 -0
- package/dist/bundle/{chunk-VCAOH45X.js → chunk-PBK2ECXT.js} +1 -1
- package/dist/bundle/{chunk-TTDZVWDU.js → chunk-PHAFT2BO.js} +1 -1
- package/dist/bundle/{chunk-NTWXL2QV.js → chunk-PKIGE4NE.js} +2 -2
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-NAXOT35J.js → chunk-QBRQLOZA.js} +3 -3
- package/dist/bundle/{chunk-RABUG4KA.js → chunk-QD4MTOI7.js} +511 -472
- package/dist/bundle/{chunk-LOS4D6ZB.js → chunk-QHQ52UMF.js} +159 -569
- package/dist/bundle/{chunk-6CHIGUCY.js → chunk-R2G3MWEF.js} +31 -20
- package/dist/bundle/{chunk-THYGLTRB.js → chunk-RCEP5OXD.js} +7 -7
- package/dist/bundle/chunk-RHJ2VGHV.js +353 -0
- package/dist/bundle/{chunk-QVGEL66U.js → chunk-RXBKVNOK.js} +53 -11
- package/dist/bundle/{chunk-ZYAHZKYF.js → chunk-RZ7POTFA.js} +3 -3
- package/dist/bundle/{chunk-KEN4B57V.js → chunk-S7PIM4GG.js} +2 -2
- package/dist/bundle/{chunk-BXVB42KJ.js → chunk-SIDGH56R.js} +2 -2
- package/dist/bundle/{chunk-XDQU5HBO.js → chunk-SRMELB6Q.js} +12 -12
- package/dist/bundle/{chunk-SMU6NA7F.js → chunk-SVPNU7PD.js} +4 -4
- package/dist/bundle/{chunk-JPNVEPS4.js → chunk-TB2MG6PE.js} +2351 -2028
- package/dist/bundle/{chunk-JGMXBAGH.js → chunk-UN5TH2CG.js} +156 -434
- package/dist/bundle/{chunk-YAPDU3SV.js → chunk-V3ZWYMXT.js} +1 -1
- package/dist/bundle/{chunk-7NF3V5L2.js → chunk-VFU25P57.js} +4 -4
- package/dist/bundle/{chunk-LQQSDGQ6.js → chunk-VJEMCJPL.js} +56 -46
- package/dist/bundle/{chunk-UIAKLELF.js → chunk-VK2NDTBS.js} +94 -64
- package/dist/bundle/{chunk-UKBK2VWZ.js → chunk-W6A2OZ3C.js} +232 -176
- package/dist/bundle/{chunk-IPPCQ7IK.js → chunk-WDI6LA4X.js} +2 -2
- package/dist/bundle/{chunk-N7QREPZW.js → chunk-WTGRQGQL.js} +16 -9
- package/dist/bundle/{chunk-57KJ3TRS.js → chunk-WUCTF2XE.js} +9 -9
- package/dist/bundle/{chunk-JKSD43L7.js → chunk-WZCRCCOZ.js} +6 -6
- package/dist/bundle/{chunk-H7ML7X3G.js → chunk-XB6O445X.js} +144 -10
- package/dist/bundle/{chunk-O6JUVATT.js → chunk-XKFES4EM.js} +35 -12
- package/dist/bundle/chunk-YBUX6EAK.js +388 -0
- package/dist/bundle/{chunk-WCYKVX3B.js → chunk-YMRL7MYS.js} +7 -7
- package/dist/bundle/{chunk-M6QOM6SL.js → chunk-Z6M6NZUX.js} +1 -1
- package/dist/bundle/chunk-ZCDRXKCR.js +727 -0
- package/dist/bundle/{chunk-6A44ZZFC.js → chunk-ZJ3S4S6H.js} +43 -64
- package/dist/bundle/{chunk-TCI7I6YF.js → chunk-ZL7TJXFL.js} +11 -25
- package/dist/bundle/{chunk-2KQDJHF3.js → chunk-ZMBVZWUW.js} +29 -1
- package/dist/bundle/{chunk-OWY52JBO.js → chunk-ZMTASSIB.js} +7 -7
- package/dist/bundle/{chunk-D2SJLZSH.js → chunk-ZQ5ERQHO.js} +2 -2
- package/dist/bundle/{chunk-CEJYNB3I.js → chunk-ZWVDXVG3.js} +4 -4
- package/dist/bundle/command-contract-K4MU32K6.js +37 -0
- package/dist/bundle/{command-server-entry-AE27QXTE.js → command-server-entry-XP6BVJIK.js} +27 -27
- package/dist/bundle/{decode-RQPPZ72F.js → decode-TUB45ALX.js} +5 -5
- package/dist/bundle/{dispatch-KQO2MCSH.js → dispatch-ICPUKMEG.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FZRIACN4.js → echarts-HJ7D7XTM.js} +2 -2
- package/dist/bundle/{embed-TOSWWMDL.js → embed-4QDN36YF.js} +6 -6
- package/dist/bundle/{embedder-JHIQSBGD.js → embedder-Q7ID2LEG.js} +9 -9
- package/dist/bundle/{entry-DU4KRXTG.js → entry-Z6VRZP7F.js} +9 -9
- package/dist/bundle/{failure-3YC3YGYO.js → failure-PEPNEEK7.js} +2 -2
- package/dist/bundle/{first-run-DQQT4FID.js → first-run-GKBEHAAX.js} +12 -12
- package/dist/bundle/first-screen-IA3ONZ75.js +37 -0
- package/dist/bundle/{instructions-WI64CJQ6.js → instructions-26ZXYYMY.js} +1 -1
- package/dist/bundle/{mcp-VMS6PBCU.js → mcp-KGWT6TGO.js} +2 -2
- package/dist/bundle/meeting-combined-KUV2HP52.js +23 -0
- package/dist/bundle/{meeting-model-XNRSREIK.js → meeting-model-JB7X4CA3.js} +11 -11
- package/dist/bundle/{meeting-semantic-OOSCHQMB.js → meeting-semantic-MQNUVG33.js} +6 -6
- package/dist/bundle/{node-JLKDNVKV.js → node-RIANITAT.js} +2 -2
- package/dist/bundle/{node-sqlite-YOGH26O2.js → node-sqlite-I2P26Z3S.js} +7 -7
- package/dist/bundle/{oauth-FOMXM5HP.js → oauth-GFMJL2ZZ.js} +8 -8
- package/dist/bundle/{open-SM2UXUKM.js → open-CWVYEFNN.js} +5 -5
- package/dist/bundle/{openai-J2H7S6ZF.js → openai-PQLK7YTJ.js} +15 -15
- package/dist/bundle/{process-HI7OZBOI.js → process-P4D4KFWE.js} +1 -1
- package/dist/bundle/{program-VY4HFU25.js → program-MF4QZJKH.js} +70 -64
- package/dist/bundle/{prompt-NUUVFMOF.js → prompt-JWIOYU53.js} +5 -5
- package/dist/bundle/{proxy-transport-AN4VMRRN.js → proxy-transport-DWY6ABVT.js} +5 -5
- package/dist/bundle/{recognize-MALJHPDI.js → recognize-IPJL4CQZ.js} +4 -4
- package/dist/bundle/{remote-QUDRSTS2.js → remote-DVY6F6YO.js} +9 -9
- package/dist/bundle/{rerank-2DSO3D3S.js → rerank-XSPWLBIO.js} +7 -7
- package/dist/bundle/{serve-NCJ52MY3.js → serve-AJAVEH2M.js} +15 -15
- package/dist/bundle/server-GGXUR5BZ.js +78 -0
- package/dist/bundle/{server-Y3M544AM.js → server-GII7NIKF.js} +65 -54
- package/dist/bundle/{sqlite-runtime-NJUSXVKK.js → sqlite-runtime-KFDYJTUO.js} +6 -6
- package/dist/bundle/{state-AVOWQVET.js → state-76OJSCQC.js} +6 -6
- package/dist/bundle/{store-MMIYOL4H.js → store-2KJS4YMH.js} +28 -17
- package/dist/bundle/{store-BZ5ICDRP.js → store-FBP2J23G.js} +20 -19
- package/dist/bundle/store-maintenance-command-NUWOUZ62.js +65 -0
- package/dist/bundle/surface-EGSHCISG.js +64 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/telegram/adapter.d.ts +9 -2
- package/dist/telegram/adapter.d.ts.map +1 -1
- package/dist/telegram/adapter.js +5 -6
- package/dist/telegram/adapter.js.map +1 -1
- package/dist/telegram/messages.d.ts +12 -0
- package/dist/telegram/messages.d.ts.map +1 -1
- package/dist/telegram/messages.js +40 -0
- package/dist/telegram/messages.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +7 -4
- package/skills/tg-cli/references/messages.md +5 -1
- package/skills/tg-cli/references/search.md +2 -0
- package/dist/bundle/chunk-SHTHNBHG.js +0 -2
- package/dist/bundle/command-contract-TQIARAB4.js +0 -37
- package/dist/bundle/first-screen-7N4CTZSA.js +0 -37
- package/dist/bundle/meeting-combined-3RAOFQ7M.js +0 -23
- package/dist/bundle/server-CHGON5I2.js +0 -70
- package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +0 -61
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
BAGGAGE_META_KEY,
|
|
5
|
+
CLIENT_CAPABILITIES_META_KEY,
|
|
6
|
+
CLIENT_INFO_META_KEY,
|
|
7
|
+
DEFAULT_MAX_REQUEST_BODY_SIZE,
|
|
8
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
9
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
10
|
+
INTERNAL_ERROR,
|
|
11
|
+
INVALID_PARAMS,
|
|
12
|
+
INVALID_REQUEST,
|
|
13
|
+
InMemoryServerEventBus,
|
|
14
|
+
InMemoryTransport,
|
|
15
|
+
JSONRPC_VERSION,
|
|
16
|
+
LATEST_PROTOCOL_VERSION,
|
|
17
|
+
LOG_LEVEL_META_KEY,
|
|
18
|
+
METHOD_NOT_FOUND,
|
|
19
|
+
McpServer,
|
|
20
|
+
MissingRequiredClientCapabilityError,
|
|
21
|
+
OAuthError,
|
|
22
|
+
OAuthErrorCode,
|
|
23
|
+
PARSE_ERROR,
|
|
24
|
+
PROTOCOL_VERSION_META_KEY,
|
|
25
|
+
PerRequestHTTPServerTransport,
|
|
26
|
+
Protocol,
|
|
27
|
+
ProtocolError,
|
|
28
|
+
ProtocolErrorCode,
|
|
29
|
+
RELATED_TASK_META_KEY,
|
|
30
|
+
ReadBuffer,
|
|
31
|
+
ResourceNotFoundError,
|
|
32
|
+
ResourceTemplate,
|
|
33
|
+
SERVER_INFO_META_KEY,
|
|
34
|
+
STDIO_DEFAULT_MAX_BUFFER_SIZE,
|
|
35
|
+
SUBSCRIPTION_ID_META_KEY,
|
|
36
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
37
|
+
SdkError,
|
|
38
|
+
SdkErrorCode,
|
|
39
|
+
SdkHttpError,
|
|
40
|
+
Server,
|
|
41
|
+
TRACEPARENT_META_KEY,
|
|
42
|
+
TRACESTATE_META_KEY,
|
|
43
|
+
UnsupportedProtocolVersionError,
|
|
44
|
+
UriTemplate,
|
|
45
|
+
UrlElicitationRequiredError,
|
|
46
|
+
WebStandardStreamableHTTPServerTransport,
|
|
47
|
+
acceptedContent,
|
|
48
|
+
assertCompleteRequestPrompt,
|
|
49
|
+
assertCompleteRequestResourceTemplate,
|
|
50
|
+
bearerAuthChallengeResponse,
|
|
51
|
+
buildOAuthProtectedResourceMetadata,
|
|
52
|
+
checkResourceAllowed,
|
|
53
|
+
classifyInboundRequest,
|
|
54
|
+
completable,
|
|
55
|
+
createFetchWithInit,
|
|
56
|
+
createMcpHandler,
|
|
57
|
+
createRequestStateCodec,
|
|
58
|
+
deserializeMessage,
|
|
59
|
+
fromJsonSchema,
|
|
60
|
+
getDisplayName,
|
|
61
|
+
getOAuthProtectedResourceMetadataUrl,
|
|
62
|
+
hostHeaderValidationResponse,
|
|
63
|
+
inputRequired,
|
|
64
|
+
inputResponse,
|
|
65
|
+
isCallToolResult,
|
|
66
|
+
isCompletable,
|
|
67
|
+
isInitializeRequest,
|
|
68
|
+
isInitializedNotification,
|
|
69
|
+
isInputRequiredResult,
|
|
70
|
+
isJSONRPCErrorResponse,
|
|
71
|
+
isJSONRPCNotification,
|
|
72
|
+
isJSONRPCRequest,
|
|
73
|
+
isJSONRPCResponse,
|
|
74
|
+
isJSONRPCResultResponse,
|
|
75
|
+
isJsonContentType,
|
|
76
|
+
isLegacyRequest,
|
|
77
|
+
isSpecType,
|
|
78
|
+
isTaskAugmentedRequestParams,
|
|
79
|
+
legacyStatelessFallback,
|
|
80
|
+
localhostAllowedHostnames,
|
|
81
|
+
localhostAllowedOrigins,
|
|
82
|
+
mergeCapabilities,
|
|
83
|
+
oauthMetadataResponse,
|
|
84
|
+
originValidationResponse,
|
|
85
|
+
parseJSONRPCMessage,
|
|
86
|
+
preloadSchemas,
|
|
87
|
+
readRequestBody,
|
|
88
|
+
requireBearerAuth,
|
|
89
|
+
requireScopes,
|
|
90
|
+
resourceUrlFromServerUrl,
|
|
91
|
+
serializeMessage,
|
|
92
|
+
specTypeSchemas,
|
|
93
|
+
validateHostHeader,
|
|
94
|
+
validateOriginHeader,
|
|
95
|
+
verifyBearerToken
|
|
96
|
+
} from "./chunk-PL5P7UKW.js";
|
|
97
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
98
|
+
export {
|
|
99
|
+
BAGGAGE_META_KEY,
|
|
100
|
+
CLIENT_CAPABILITIES_META_KEY,
|
|
101
|
+
CLIENT_INFO_META_KEY,
|
|
102
|
+
DEFAULT_MAX_REQUEST_BODY_SIZE,
|
|
103
|
+
DEFAULT_NEGOTIATED_PROTOCOL_VERSION,
|
|
104
|
+
DEFAULT_REQUEST_TIMEOUT_MSEC,
|
|
105
|
+
INTERNAL_ERROR,
|
|
106
|
+
INVALID_PARAMS,
|
|
107
|
+
INVALID_REQUEST,
|
|
108
|
+
InMemoryServerEventBus,
|
|
109
|
+
InMemoryTransport,
|
|
110
|
+
JSONRPC_VERSION,
|
|
111
|
+
LATEST_PROTOCOL_VERSION,
|
|
112
|
+
LOG_LEVEL_META_KEY,
|
|
113
|
+
METHOD_NOT_FOUND,
|
|
114
|
+
McpServer,
|
|
115
|
+
MissingRequiredClientCapabilityError,
|
|
116
|
+
OAuthError,
|
|
117
|
+
OAuthErrorCode,
|
|
118
|
+
PARSE_ERROR,
|
|
119
|
+
PROTOCOL_VERSION_META_KEY,
|
|
120
|
+
PerRequestHTTPServerTransport,
|
|
121
|
+
Protocol,
|
|
122
|
+
ProtocolError,
|
|
123
|
+
ProtocolErrorCode,
|
|
124
|
+
RELATED_TASK_META_KEY,
|
|
125
|
+
ReadBuffer,
|
|
126
|
+
ResourceNotFoundError,
|
|
127
|
+
ResourceTemplate,
|
|
128
|
+
SERVER_INFO_META_KEY,
|
|
129
|
+
STDIO_DEFAULT_MAX_BUFFER_SIZE,
|
|
130
|
+
SUBSCRIPTION_ID_META_KEY,
|
|
131
|
+
SUPPORTED_PROTOCOL_VERSIONS,
|
|
132
|
+
SdkError,
|
|
133
|
+
SdkErrorCode,
|
|
134
|
+
SdkHttpError,
|
|
135
|
+
Server,
|
|
136
|
+
TRACEPARENT_META_KEY,
|
|
137
|
+
TRACESTATE_META_KEY,
|
|
138
|
+
UnsupportedProtocolVersionError,
|
|
139
|
+
UriTemplate,
|
|
140
|
+
UrlElicitationRequiredError,
|
|
141
|
+
WebStandardStreamableHTTPServerTransport,
|
|
142
|
+
acceptedContent,
|
|
143
|
+
assertCompleteRequestPrompt,
|
|
144
|
+
assertCompleteRequestResourceTemplate,
|
|
145
|
+
bearerAuthChallengeResponse,
|
|
146
|
+
buildOAuthProtectedResourceMetadata,
|
|
147
|
+
checkResourceAllowed,
|
|
148
|
+
classifyInboundRequest,
|
|
149
|
+
completable,
|
|
150
|
+
createFetchWithInit,
|
|
151
|
+
createMcpHandler,
|
|
152
|
+
createRequestStateCodec,
|
|
153
|
+
deserializeMessage,
|
|
154
|
+
fromJsonSchema,
|
|
155
|
+
getDisplayName,
|
|
156
|
+
getOAuthProtectedResourceMetadataUrl,
|
|
157
|
+
hostHeaderValidationResponse,
|
|
158
|
+
inputRequired,
|
|
159
|
+
inputResponse,
|
|
160
|
+
isCallToolResult,
|
|
161
|
+
isCompletable,
|
|
162
|
+
isInitializeRequest,
|
|
163
|
+
isInitializedNotification,
|
|
164
|
+
isInputRequiredResult,
|
|
165
|
+
isJSONRPCErrorResponse,
|
|
166
|
+
isJSONRPCNotification,
|
|
167
|
+
isJSONRPCRequest,
|
|
168
|
+
isJSONRPCResponse,
|
|
169
|
+
isJSONRPCResultResponse,
|
|
170
|
+
isJsonContentType,
|
|
171
|
+
isLegacyRequest,
|
|
172
|
+
isSpecType,
|
|
173
|
+
isTaskAugmentedRequestParams,
|
|
174
|
+
legacyStatelessFallback,
|
|
175
|
+
localhostAllowedHostnames,
|
|
176
|
+
localhostAllowedOrigins,
|
|
177
|
+
mergeCapabilities,
|
|
178
|
+
oauthMetadataResponse,
|
|
179
|
+
originValidationResponse,
|
|
180
|
+
parseJSONRPCMessage,
|
|
181
|
+
preloadSchemas,
|
|
182
|
+
readRequestBody,
|
|
183
|
+
requireBearerAuth,
|
|
184
|
+
requireScopes,
|
|
185
|
+
resourceUrlFromServerUrl,
|
|
186
|
+
serializeMessage,
|
|
187
|
+
specTypeSchemas,
|
|
188
|
+
validateHostHeader,
|
|
189
|
+
validateOriginHeader,
|
|
190
|
+
verifyBearerToken
|
|
191
|
+
};
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-ZJ3S4S6H.js";
|
|
17
|
+
import "./chunk-K5QGBYDL.js";
|
|
18
|
+
import "./chunk-2OFCIF2W.js";
|
|
19
|
+
import "./chunk-R2G3MWEF.js";
|
|
20
|
+
import "./chunk-RXBKVNOK.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GCUFGDKE.js";
|
|
23
23
|
import "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
export {
|
|
25
25
|
WARM_IDLE_MS,
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-ZJ3S4S6H.js";
|
|
8
|
+
import "./chunk-K5QGBYDL.js";
|
|
9
|
+
import "./chunk-2OFCIF2W.js";
|
|
10
|
+
import "./chunk-R2G3MWEF.js";
|
|
11
|
+
import "./chunk-RXBKVNOK.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GCUFGDKE.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
24
24
|
import { join } from "node:path";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
27
27
|
var SIZE = 224;
|
|
28
28
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
29
29
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
62
62
|
return pixels;
|
|
63
63
|
}, "preprocess");
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
66
66
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
67
67
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
68
68
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
firstRunAt,
|
|
5
5
|
openBrowser,
|
|
6
6
|
startCli
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-SRMELB6Q.js";
|
|
8
|
+
import "./chunk-5WEEK65F.js";
|
|
9
|
+
import "./chunk-PKIGE4NE.js";
|
|
10
|
+
import "./chunk-7GWOGEWJ.js";
|
|
11
|
+
import "./chunk-MMZ4QAKJ.js";
|
|
12
|
+
import "./chunk-S7PIM4GG.js";
|
|
13
|
+
import "./chunk-R2G3MWEF.js";
|
|
14
|
+
import "./chunk-RXBKVNOK.js";
|
|
15
15
|
import "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GCUFGDKE.js";
|
|
17
17
|
import "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
export {
|
|
19
19
|
firstRunAt,
|
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
asksAtStart,
|
|
6
6
|
setupAtStart,
|
|
7
7
|
systemLanguage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-HILS2UL7.js";
|
|
9
|
+
import "./chunk-ZWVDXVG3.js";
|
|
10
|
+
import "./chunk-KKXF6TSS.js";
|
|
11
|
+
import "./chunk-XKFES4EM.js";
|
|
12
|
+
import "./chunk-PHAFT2BO.js";
|
|
13
|
+
import "./chunk-V3ZWYMXT.js";
|
|
14
14
|
import "./chunk-D72URWJE.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QBRQLOZA.js";
|
|
16
|
+
import "./chunk-YMRL7MYS.js";
|
|
17
|
+
import "./chunk-2OFCIF2W.js";
|
|
18
|
+
import "./chunk-R2G3MWEF.js";
|
|
19
|
+
import "./chunk-RXBKVNOK.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GCUFGDKE.js";
|
|
22
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
export {
|
|
24
24
|
askSetupQuestions,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
firstScreen,
|
|
5
|
+
installHelp
|
|
6
|
+
} from "./chunk-RCEP5OXD.js";
|
|
7
|
+
import "./chunk-2ABQZVK4.js";
|
|
8
|
+
import {
|
|
9
|
+
WIRECAT_TOOLS
|
|
10
|
+
} from "./chunk-ZMBVZWUW.js";
|
|
11
|
+
import "./chunk-SVPNU7PD.js";
|
|
12
|
+
import "./chunk-W6A2OZ3C.js";
|
|
13
|
+
import "./chunk-LGYATGQI.js";
|
|
14
|
+
import "./chunk-QBRQLOZA.js";
|
|
15
|
+
import "./chunk-S7PIM4GG.js";
|
|
16
|
+
import "./chunk-N7F5KT6U.js";
|
|
17
|
+
import "./chunk-JBS4VPAX.js";
|
|
18
|
+
import "./chunk-WZCRCCOZ.js";
|
|
19
|
+
import "./chunk-XB6O445X.js";
|
|
20
|
+
import "./chunk-K5QGBYDL.js";
|
|
21
|
+
import "./chunk-4CLSIEWN.js";
|
|
22
|
+
import "./chunk-RZ7POTFA.js";
|
|
23
|
+
import "./chunk-MA27675E.js";
|
|
24
|
+
import "./chunk-YMRL7MYS.js";
|
|
25
|
+
import "./chunk-QD4MTOI7.js";
|
|
26
|
+
import "./chunk-L2ZQDTDU.js";
|
|
27
|
+
import "./chunk-2OFCIF2W.js";
|
|
28
|
+
import "./chunk-R2G3MWEF.js";
|
|
29
|
+
import "./chunk-RXBKVNOK.js";
|
|
30
|
+
import "./chunk-Y5E2WNWB.js";
|
|
31
|
+
import "./chunk-GCUFGDKE.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
WIRECAT_TOOLS,
|
|
35
|
+
firstScreen,
|
|
36
|
+
installHelp
|
|
37
|
+
};
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KKXF6TSS.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
|
|
16
16
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17
17
|
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
18
18
|
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
searchMeetingsCombined
|
|
5
|
+
} from "./chunk-ZL7TJXFL.js";
|
|
6
|
+
import "./chunk-E2VIO7RY.js";
|
|
7
|
+
import "./chunk-WTGRQGQL.js";
|
|
8
|
+
import "./chunk-PHAFT2BO.js";
|
|
9
|
+
import "./chunk-WZCRCCOZ.js";
|
|
10
|
+
import "./chunk-K5QGBYDL.js";
|
|
11
|
+
import "./chunk-MA27675E.js";
|
|
12
|
+
import "./chunk-YMRL7MYS.js";
|
|
13
|
+
import "./chunk-QD4MTOI7.js";
|
|
14
|
+
import "./chunk-L2ZQDTDU.js";
|
|
15
|
+
import "./chunk-2OFCIF2W.js";
|
|
16
|
+
import "./chunk-R2G3MWEF.js";
|
|
17
|
+
import "./chunk-RXBKVNOK.js";
|
|
18
|
+
import "./chunk-Y5E2WNWB.js";
|
|
19
|
+
import "./chunk-GCUFGDKE.js";
|
|
20
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
21
|
+
export {
|
|
22
|
+
searchMeetingsCombined
|
|
23
|
+
};
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
createMeetingRemoteModel,
|
|
5
5
|
meetingEmbeddingModel,
|
|
6
6
|
openMeetingEmbedder
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6WS474NQ.js";
|
|
8
|
+
import "./chunk-WUCTF2XE.js";
|
|
9
|
+
import "./chunk-ZJ3S4S6H.js";
|
|
10
|
+
import "./chunk-WZCRCCOZ.js";
|
|
11
|
+
import "./chunk-XB6O445X.js";
|
|
12
|
+
import "./chunk-K5QGBYDL.js";
|
|
13
|
+
import "./chunk-YMRL7MYS.js";
|
|
14
|
+
import "./chunk-2OFCIF2W.js";
|
|
15
|
+
import "./chunk-R2G3MWEF.js";
|
|
16
|
+
import "./chunk-RXBKVNOK.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-GCUFGDKE.js";
|
|
19
19
|
import "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
export {
|
|
21
21
|
createMeetingRemoteModel,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
proposeMeetingEmbedding,
|
|
6
6
|
readMeetingSemantic,
|
|
7
7
|
validateVector
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-E2VIO7RY.js";
|
|
9
|
+
import "./chunk-QD4MTOI7.js";
|
|
10
|
+
import "./chunk-L2ZQDTDU.js";
|
|
11
|
+
import "./chunk-R2G3MWEF.js";
|
|
12
|
+
import "./chunk-RXBKVNOK.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GCUFGDKE.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
applyMeetingEmbedding,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PBK2ECXT.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
|
|
27
27
|
import { DatabaseSync } from "node:sqlite";
|
|
28
28
|
var nodeSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZQ5ERQHO.js";
|
|
7
7
|
import {
|
|
8
8
|
TIME_LIMIT_FUNCTION,
|
|
9
9
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MMZ4QAKJ.js";
|
|
11
11
|
import {
|
|
12
12
|
refuseOwnerStoreInTests
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-2OFCIF2W.js";
|
|
14
|
+
import "./chunk-R2G3MWEF.js";
|
|
15
|
+
import "./chunk-RXBKVNOK.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-GCUFGDKE.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
23
23
|
import { DatabaseSync } from "node:sqlite";
|
|
24
24
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
25
25
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MPRXUTIK.js";
|
|
7
|
+
import "./chunk-F5FOS64B.js";
|
|
8
|
+
import "./chunk-AMRMU23L.js";
|
|
9
|
+
import "./chunk-PL5P7UKW.js";
|
|
10
|
+
import "./chunk-N7F5KT6U.js";
|
|
11
|
+
import "./chunk-R2G3MWEF.js";
|
|
12
|
+
import "./chunk-RXBKVNOK.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GCUFGDKE.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
ownerLogin,
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-7GWOGEWJ.js";
|
|
10
|
+
import "./chunk-MMZ4QAKJ.js";
|
|
11
|
+
import "./chunk-R2G3MWEF.js";
|
|
12
|
+
import "./chunk-RXBKVNOK.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GCUFGDKE.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
CAPABILITY_STATEMENTS,
|
|
@@ -3,44 +3,44 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NP46ZKQW.js";
|
|
7
|
+
import "./chunk-B2UXNYCD.js";
|
|
8
8
|
import {
|
|
9
9
|
OPENAI_URL,
|
|
10
10
|
refuseModelAddress
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-WUCTF2XE.js";
|
|
12
|
+
import "./chunk-ZJ3S4S6H.js";
|
|
13
13
|
import {
|
|
14
14
|
endpointFetch,
|
|
15
15
|
onThisComputer,
|
|
16
16
|
providerWaitMs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XB6O445X.js";
|
|
18
18
|
import {
|
|
19
19
|
OPENAI_TRANSCRIBE_MODEL,
|
|
20
20
|
VAD,
|
|
21
21
|
filesPresent,
|
|
22
22
|
modelsDirectory,
|
|
23
23
|
vadPath
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-K5QGBYDL.js";
|
|
25
|
+
import "./chunk-YMRL7MYS.js";
|
|
26
|
+
import "./chunk-2OFCIF2W.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_RETRY,
|
|
29
29
|
backoffMs
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-R2G3MWEF.js";
|
|
31
|
+
import "./chunk-RXBKVNOK.js";
|
|
32
32
|
import "./chunk-Y5E2WNWB.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GCUFGDKE.js";
|
|
36
36
|
import {
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-ZVVMGPBJ.js";
|
|
39
39
|
|
|
40
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
40
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
41
41
|
import { setTimeout as wait } from "node:timers/promises";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
44
44
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
45
45
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
46
46
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -61,7 +61,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
61
61
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
62
62
|
}, "encodeWav");
|
|
63
63
|
|
|
64
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
64
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.126.1_commander@15_05e4e157d64d32ce6fc62270b9552a1d/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
65
65
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
66
66
|
var JOINED_SECONDS = 0.2;
|
|
67
67
|
var PAD_SECONDS = 0.2;
|
|
@@ -185,7 +185,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
185
185
|
return pieces;
|
|
186
186
|
}, "piecesOf");
|
|
187
187
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
188
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
188
|
+
const { openSpeechCutter } = await import("./recognize-IPJL4CQZ.js");
|
|
189
189
|
return openSpeechCutter(vadModel);
|
|
190
190
|
}, "openCutter");
|
|
191
191
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|