@wirecat/attio-cli 0.9.0 → 0.11.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 +23 -0
- package/contracts/wirecat.json +1 -0
- package/dist/bin/attio.js +11 -11
- package/dist/bundle/attio.js +5 -166
- package/dist/bundle/{chunk-6E5QWCBK.js → chunk-OFEXB726.js} +2 -1
- package/dist/bundle/chunk-TQAECZFO.js +13 -0
- package/dist/bundle/{definitions-FODOIPM2.js → definitions-J73IBAHT.js} +1 -1
- package/dist/bundle/program-4R7RYWV3.js +6210 -0
- package/dist/bundle/{schemas-YGSTNU6F.js → schemas-G3HFAS45.js} +576 -29
- package/dist/commands/api.js +1 -2
- package/dist/commands/crm.js +12 -4
- package/dist/commands/schedule.js +1 -1
- package/dist/commands/session.js +1 -2
- package/dist/config.js +1 -2
- package/dist/context.js +1 -1
- package/dist/identity.js +1 -0
- package/dist/program.js +1 -2
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/activities.d.ts +0 -4
- package/dist/activities.d.ts.map +0 -1
- package/dist/activities.js.map +0 -1
- package/dist/bin/attio.d.ts +0 -3
- package/dist/bin/attio.d.ts.map +0 -1
- package/dist/bin/attio.js.map +0 -1
- package/dist/bundle/agent-C3SZOGZS.js +0 -38
- package/dist/bundle/all-profiles-673VSTRG.js +0 -320
- package/dist/bundle/anthropic-V4RZS5XM.js +0 -91
- package/dist/bundle/app-server-CTEDPA5H.js +0 -249
- package/dist/bundle/bun-F4M4KCNA.js +0 -169
- package/dist/bundle/bun-sqlite-33JTNHCK.js +0 -76
- package/dist/bundle/chunk-2R2EX5I6.js +0 -54
- package/dist/bundle/chunk-5EH7S4RM.js +0 -362
- package/dist/bundle/chunk-5N2V6XO7.js +0 -119
- package/dist/bundle/chunk-5WY6RURV.js +0 -161
- package/dist/bundle/chunk-6V7ZUJI6.js +0 -4072
- package/dist/bundle/chunk-AOKAYQSJ.js +0 -2338
- package/dist/bundle/chunk-AQ5RIOUE.js +0 -633
- package/dist/bundle/chunk-B4DVW2BA.js +0 -185
- package/dist/bundle/chunk-C7JPYWYQ.js +0 -77
- package/dist/bundle/chunk-D72URWJE.js +0 -532
- package/dist/bundle/chunk-DBHZ7TQ7.js +0 -69828
- package/dist/bundle/chunk-DFDN6AUB.js +0 -21
- package/dist/bundle/chunk-DNCLQPOM.js +0 -7
- package/dist/bundle/chunk-DPV53EZC.js +0 -206
- package/dist/bundle/chunk-E2L4R6EI.js +0 -388
- package/dist/bundle/chunk-EDWRHVHD.js +0 -218
- package/dist/bundle/chunk-EH6ZEJGT.js +0 -932
- package/dist/bundle/chunk-EV6B3GHM.js +0 -323
- package/dist/bundle/chunk-FBWECICU.js +0 -259
- package/dist/bundle/chunk-FFER7KJI.js +0 -407
- package/dist/bundle/chunk-FTH6WGYO.js +0 -24
- package/dist/bundle/chunk-G3PK5BZB.js +0 -1222
- package/dist/bundle/chunk-G46PNDWL.js +0 -58
- package/dist/bundle/chunk-G6NY7LFB.js +0 -230
- package/dist/bundle/chunk-GLU36VKA.js +0 -52
- package/dist/bundle/chunk-GZ7WBU5Y.js +0 -18
- package/dist/bundle/chunk-HMYBAVIE.js +0 -86
- package/dist/bundle/chunk-HOJJPSLU.js +0 -288
- package/dist/bundle/chunk-HUAHLO6N.js +0 -29
- package/dist/bundle/chunk-ISQ23VKV.js +0 -123
- package/dist/bundle/chunk-J2LSOG3A.js +0 -12766
- package/dist/bundle/chunk-K5L77R7P.js +0 -66
- package/dist/bundle/chunk-KKRFVN4X.js +0 -1835
- package/dist/bundle/chunk-KLRCTMES.js +0 -100
- package/dist/bundle/chunk-KYRYD4CR.js +0 -38
- package/dist/bundle/chunk-L5QLKUQR.js +0 -794
- package/dist/bundle/chunk-MFSWMNSZ.js +0 -334
- package/dist/bundle/chunk-MYK2F5LD.js +0 -1251
- package/dist/bundle/chunk-NBNQLNVV.js +0 -388
- package/dist/bundle/chunk-O3DZDITT.js +0 -274
- package/dist/bundle/chunk-OEEWVKJX.js +0 -53
- package/dist/bundle/chunk-P5XYQZVW.js +0 -80
- package/dist/bundle/chunk-P6OJKJJS.js +0 -1197
- package/dist/bundle/chunk-P6S3ZRVW.js +0 -106
- package/dist/bundle/chunk-PL5P7UKW.js +0 -25216
- package/dist/bundle/chunk-QBJRK733.js +0 -1068
- package/dist/bundle/chunk-QBYE26ZC.js +0 -131
- package/dist/bundle/chunk-QPPOIWPY.js +0 -1246
- package/dist/bundle/chunk-R2CEA7MK.js +0 -743
- package/dist/bundle/chunk-S4UUN6LD.js +0 -1410
- package/dist/bundle/chunk-S6JG4YUH.js +0 -72
- package/dist/bundle/chunk-SKUY7JDA.js +0 -164
- package/dist/bundle/chunk-T35IOBPJ.js +0 -1341
- package/dist/bundle/chunk-T3W4V4A6.js +0 -63
- package/dist/bundle/chunk-TB3LN5G2.js +0 -50
- package/dist/bundle/chunk-TCT5D2X2.js +0 -6848
- package/dist/bundle/chunk-TES7MB6I.js +0 -82
- package/dist/bundle/chunk-TXDR6YSF.js +0 -23
- package/dist/bundle/chunk-TY7NDMFY.js +0 -46
- package/dist/bundle/chunk-U7UTYALA.js +0 -353
- package/dist/bundle/chunk-UOWHMOU3.js +0 -188
- package/dist/bundle/chunk-UXDUWGX6.js +0 -2791
- package/dist/bundle/chunk-V5I3QHDU.js +0 -558
- package/dist/bundle/chunk-VCDIKCFE.js +0 -1007
- package/dist/bundle/chunk-VJHUMB7U.js +0 -338
- package/dist/bundle/chunk-W4KLHM2K.js +0 -95
- package/dist/bundle/chunk-W5LKEOGN.js +0 -142
- package/dist/bundle/chunk-WLDZWHSF.js +0 -170
- package/dist/bundle/chunk-WQEEYEWO.js +0 -3752
- package/dist/bundle/chunk-WRF6TY63.js +0 -1521
- package/dist/bundle/chunk-WXYOELRI.js +0 -108
- package/dist/bundle/chunk-WZBPUOWM.js +0 -76
- package/dist/bundle/chunk-XGNZD52X.js +0 -592
- package/dist/bundle/chunk-XQUUANA2.js +0 -24600
- package/dist/bundle/chunk-Y5E2WNWB.js +0 -35
- package/dist/bundle/chunk-YQH4J6YZ.js +0 -358
- package/dist/bundle/chunk-Z7Y2I5YR.js +0 -44045
- package/dist/bundle/chunk-ZBCC7MBN.js +0 -9671
- package/dist/bundle/chunk-ZVVMGPBJ.js +0 -50
- package/dist/bundle/command-contract-ZL67KMYL.js +0 -37
- package/dist/bundle/command-server-entry-COR2VDRU.js +0 -166
- package/dist/bundle/decode-33SGRQM6.js +0 -297
- package/dist/bundle/dispatch-2FTOHA5D.js +0 -411
- package/dist/bundle/dist-EM7KLEG4.js +0 -7577
- package/dist/bundle/dist-PAKDDIBT.js +0 -191
- package/dist/bundle/echarts-QMAA7HH5.js +0 -42501
- package/dist/bundle/embed-W4ZBXPWD.js +0 -38
- package/dist/bundle/embedder-73CCZC52.js +0 -111
- package/dist/bundle/failure-OHIXWTR6.js +0 -25
- package/dist/bundle/first-run-MOSUMMVX.js +0 -28
- package/dist/bundle/first-screen-GUXBF3SL.js +0 -38
- package/dist/bundle/instructions-4H7UREH2.js +0 -11
- package/dist/bundle/mcp-5HFPWC3W.js +0 -167
- package/dist/bundle/meeting-combined-QMIZOBBJ.js +0 -24
- package/dist/bundle/meeting-model-2UYVGXD5.js +0 -25
- package/dist/bundle/meeting-semantic-LEJPUIN3.js +0 -22
- package/dist/bundle/node-KM3CUABH.js +0 -2340
- package/dist/bundle/node-P3PUHKYH.js +0 -176
- package/dist/bundle/node-TLZSIHIJ.js +0 -21
- package/dist/bundle/node-sqlite-UHPODTKB.js +0 -74
- package/dist/bundle/oauth-T3DWL7OV.js +0 -20
- package/dist/bundle/open-ODWX32PF.js +0 -23
- package/dist/bundle/openai-GSXXHKPX.js +0 -238
- package/dist/bundle/process-AFIXYXWL.js +0 -91
- package/dist/bundle/program-SXSUG335.js +0 -35250
- package/dist/bundle/prompt-GVTYTFK7.js +0 -17
- package/dist/bundle/recognize-XDSZEZP5.js +0 -26
- package/dist/bundle/remote-ZWZKMEY6.js +0 -31
- package/dist/bundle/rerank-OBZQ54NL.js +0 -52
- package/dist/bundle/serve-NY5MUTNW.js +0 -199
- package/dist/bundle/server-JK334V5Y.js +0 -212
- package/dist/bundle/server-VOPYQCUD.js +0 -79
- package/dist/bundle/sqlite-runtime-2NHF4S6G.js +0 -20
- package/dist/bundle/state-YGWZZWPM.js +0 -36
- package/dist/bundle/store-LRQUTFJR.js +0 -306
- package/dist/bundle/store-ND6KU4RI.js +0 -181
- package/dist/bundle/store-maintenance-command-GLYGQM2V.js +0 -66
- package/dist/bundle/surface-P53WLLXP.js +0 -65
- package/dist/commands/api.d.ts +0 -12
- package/dist/commands/api.d.ts.map +0 -1
- package/dist/commands/api.js.map +0 -1
- package/dist/commands/crm.d.ts +0 -7
- package/dist/commands/crm.d.ts.map +0 -1
- package/dist/commands/crm.js.map +0 -1
- package/dist/commands/schedule.d.ts +0 -3
- package/dist/commands/schedule.d.ts.map +0 -1
- package/dist/commands/schedule.js.map +0 -1
- package/dist/commands/session.d.ts +0 -8
- package/dist/commands/session.d.ts.map +0 -1
- package/dist/commands/session.js.map +0 -1
- package/dist/config.d.ts +0 -13
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/context.d.ts +0 -37
- package/dist/context.d.ts.map +0 -1
- package/dist/context.js.map +0 -1
- package/dist/generated/definitions.d.ts +0 -3
- package/dist/generated/definitions.d.ts.map +0 -1
- package/dist/generated/definitions.js.map +0 -1
- package/dist/generated/manifest.d.ts +0 -6
- package/dist/generated/manifest.d.ts.map +0 -1
- package/dist/generated/manifest.js.map +0 -1
- package/dist/generated/schemas.d.ts +0 -383
- package/dist/generated/schemas.d.ts.map +0 -1
- package/dist/generated/schemas.js.map +0 -1
- package/dist/generated/types.d.ts +0 -10166
- package/dist/generated/types.d.ts.map +0 -1
- package/dist/generated/types.js.map +0 -1
- package/dist/generated/wirecat-config.d.ts +0 -15
- package/dist/generated/wirecat-config.d.ts.map +0 -1
- package/dist/generated/wirecat-config.js.map +0 -1
- package/dist/hooks.d.ts +0 -33
- package/dist/hooks.d.ts.map +0 -1
- package/dist/hooks.js.map +0 -1
- package/dist/identity.d.ts +0 -33
- package/dist/identity.d.ts.map +0 -1
- package/dist/identity.js.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/links.d.ts +0 -10
- package/dist/links.d.ts.map +0 -1
- package/dist/links.js.map +0 -1
- package/dist/meetings.d.ts +0 -57
- package/dist/meetings.d.ts.map +0 -1
- package/dist/meetings.js.map +0 -1
- package/dist/program.d.ts +0 -6
- package/dist/program.d.ts.map +0 -1
- package/dist/program.js.map +0 -1
- package/dist/version.d.ts +0 -2
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js.map +0 -1
- package/dist/wcat.d.ts +0 -3
- package/dist/wcat.d.ts.map +0 -1
- package/dist/wcat.js.map +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
pasteHint,
|
|
5
|
-
readSecret
|
|
6
|
-
} from "./chunk-KLRCTMES.js";
|
|
7
|
-
import "./chunk-TES7MB6I.js";
|
|
8
|
-
import "./chunk-UXDUWGX6.js";
|
|
9
|
-
import "./chunk-QPPOIWPY.js";
|
|
10
|
-
import "./chunk-S4UUN6LD.js";
|
|
11
|
-
import "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-S6JG4YUH.js";
|
|
13
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
14
|
-
export {
|
|
15
|
-
pasteHint,
|
|
16
|
-
readSecret
|
|
17
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
SAMPLE_RATE,
|
|
5
|
-
decodeOgg,
|
|
6
|
-
detector,
|
|
7
|
-
loadSherpa,
|
|
8
|
-
openRecognizer,
|
|
9
|
-
openSpeechCutter,
|
|
10
|
-
toModelRate
|
|
11
|
-
} from "./chunk-G6NY7LFB.js";
|
|
12
|
-
import "./chunk-UXDUWGX6.js";
|
|
13
|
-
import "./chunk-QPPOIWPY.js";
|
|
14
|
-
import "./chunk-S4UUN6LD.js";
|
|
15
|
-
import "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-S6JG4YUH.js";
|
|
17
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
18
|
-
export {
|
|
19
|
-
SAMPLE_RATE,
|
|
20
|
-
decodeOgg,
|
|
21
|
-
detector,
|
|
22
|
-
loadSherpa,
|
|
23
|
-
openRecognizer,
|
|
24
|
-
openSpeechCutter,
|
|
25
|
-
toModelRate
|
|
26
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
DEFAULT_OPENAI_MODEL,
|
|
5
|
-
OPENAI_MODELS,
|
|
6
|
-
OPENAI_URL,
|
|
7
|
-
isLocal,
|
|
8
|
-
openRemote,
|
|
9
|
-
remoteKey,
|
|
10
|
-
remoteModel
|
|
11
|
-
} from "./chunk-B4DVW2BA.js";
|
|
12
|
-
import "./chunk-NBNQLNVV.js";
|
|
13
|
-
import "./chunk-P6OJKJJS.js";
|
|
14
|
-
import "./chunk-VCDIKCFE.js";
|
|
15
|
-
import "./chunk-O3DZDITT.js";
|
|
16
|
-
import "./chunk-2R2EX5I6.js";
|
|
17
|
-
import "./chunk-UXDUWGX6.js";
|
|
18
|
-
import "./chunk-QPPOIWPY.js";
|
|
19
|
-
import "./chunk-S4UUN6LD.js";
|
|
20
|
-
import "./chunk-Y5E2WNWB.js";
|
|
21
|
-
import "./chunk-S6JG4YUH.js";
|
|
22
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
23
|
-
export {
|
|
24
|
-
DEFAULT_OPENAI_MODEL,
|
|
25
|
-
OPENAI_MODELS,
|
|
26
|
-
OPENAI_URL,
|
|
27
|
-
isLocal,
|
|
28
|
-
openRemote,
|
|
29
|
-
remoteKey,
|
|
30
|
-
remoteModel
|
|
31
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
defaultThreads,
|
|
5
|
-
loadModel,
|
|
6
|
-
truncated
|
|
7
|
-
} from "./chunk-VCDIKCFE.js";
|
|
8
|
-
import "./chunk-O3DZDITT.js";
|
|
9
|
-
import "./chunk-2R2EX5I6.js";
|
|
10
|
-
import "./chunk-UXDUWGX6.js";
|
|
11
|
-
import "./chunk-QPPOIWPY.js";
|
|
12
|
-
import "./chunk-S4UUN6LD.js";
|
|
13
|
-
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-S6JG4YUH.js";
|
|
15
|
-
import {
|
|
16
|
-
__name
|
|
17
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
18
|
-
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
20
|
-
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
21
|
-
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
22
|
-
const typeIds = session.inputNames.includes("token_type_ids");
|
|
23
|
-
const output = session.outputNames[0];
|
|
24
|
-
const one = /* @__PURE__ */ __name(async (question, passage) => {
|
|
25
|
-
const encoded = tokenizer.encode(question, { text_pair: passage, return_token_type_ids: true });
|
|
26
|
-
const ids = truncated(encoded.ids, model.maxTokens);
|
|
27
|
-
const shape = [1, ids.length];
|
|
28
|
-
const feeds = {
|
|
29
|
-
input_ids: new ort.Tensor("int64", BigInt64Array.from(ids, BigInt), shape),
|
|
30
|
-
attention_mask: new ort.Tensor("int64", new BigInt64Array(ids.length).fill(1n), shape)
|
|
31
|
-
};
|
|
32
|
-
if (typeIds)
|
|
33
|
-
feeds.token_type_ids = new ort.Tensor("int64", BigInt64Array.from(truncated(encoded.token_type_ids, model.maxTokens), BigInt), shape);
|
|
34
|
-
const logit = (await session.run(feeds))[output]?.data[0];
|
|
35
|
-
if (typeof logit !== "number" || !Number.isFinite(logit))
|
|
36
|
-
throw new Error(`${model.id} gave no score`);
|
|
37
|
-
return logit;
|
|
38
|
-
}, "one");
|
|
39
|
-
return {
|
|
40
|
-
model,
|
|
41
|
-
score: /* @__PURE__ */ __name(async (question, passages) => {
|
|
42
|
-
const scores = [];
|
|
43
|
-
for (const passage of passages)
|
|
44
|
-
scores.push(await one(question, passage));
|
|
45
|
-
return scores;
|
|
46
|
-
}, "score"),
|
|
47
|
-
close: /* @__PURE__ */ __name(() => session.release(), "close")
|
|
48
|
-
};
|
|
49
|
-
}, "openReranker");
|
|
50
|
-
export {
|
|
51
|
-
openReranker
|
|
52
|
-
};
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
listen
|
|
5
|
-
} from "./chunk-C7JPYWYQ.js";
|
|
6
|
-
import {
|
|
7
|
-
ownerLogin
|
|
8
|
-
} from "./chunk-HOJJPSLU.js";
|
|
9
|
-
import {
|
|
10
|
-
WebStandardStreamableHTTPServerTransport,
|
|
11
|
-
createMcpHandler,
|
|
12
|
-
getOAuthProtectedResourceMetadataUrl,
|
|
13
|
-
hostHeaderValidationResponse,
|
|
14
|
-
isLegacyRequest,
|
|
15
|
-
oauthMetadataResponse,
|
|
16
|
-
requireBearerAuth
|
|
17
|
-
} from "./chunk-PL5P7UKW.js";
|
|
18
|
-
import {
|
|
19
|
-
activityRecorder,
|
|
20
|
-
calledTools,
|
|
21
|
-
httpActivityFile,
|
|
22
|
-
httpLock
|
|
23
|
-
} from "./chunk-5WY6RURV.js";
|
|
24
|
-
import "./chunk-HMYBAVIE.js";
|
|
25
|
-
import "./chunk-T3W4V4A6.js";
|
|
26
|
-
import "./chunk-UXDUWGX6.js";
|
|
27
|
-
import "./chunk-QPPOIWPY.js";
|
|
28
|
-
import "./chunk-S4UUN6LD.js";
|
|
29
|
-
import "./chunk-Y5E2WNWB.js";
|
|
30
|
-
import {
|
|
31
|
-
CliError
|
|
32
|
-
} from "./chunk-S6JG4YUH.js";
|
|
33
|
-
import {
|
|
34
|
-
__name
|
|
35
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
36
|
-
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
38
|
-
import { randomUUID } from "node:crypto";
|
|
39
|
-
var MCP_PATH = "/mcp";
|
|
40
|
-
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
41
|
-
var LOCAL = ["localhost", "127.0.0.1"];
|
|
42
|
-
var MAX_SESSIONS = 20;
|
|
43
|
-
var MAX_LOGIN_BODY = 64 * 1024;
|
|
44
|
-
var SESSION_IDLE_MS = 60 * 60 * 1e3;
|
|
45
|
-
var sessionMissing = /* @__PURE__ */ __name(() => new Response(JSON.stringify({ jsonrpc: "2.0", error: { code: -32001, message: "Session not found" }, id: null }), {
|
|
46
|
-
status: 404,
|
|
47
|
-
headers: { "content-type": "application/json" }
|
|
48
|
-
}), "sessionMissing");
|
|
49
|
-
var legacySessions = /* @__PURE__ */ __name((build, now) => {
|
|
50
|
-
const sessions = /* @__PURE__ */ new Map();
|
|
51
|
-
const drop = /* @__PURE__ */ __name(async (id) => {
|
|
52
|
-
const one = sessions.get(id);
|
|
53
|
-
sessions.delete(id);
|
|
54
|
-
await one?.close();
|
|
55
|
-
}, "drop");
|
|
56
|
-
const handle = /* @__PURE__ */ __name(async (request, auth) => {
|
|
57
|
-
for (const [id2, one] of sessions)
|
|
58
|
-
if (now() - one.seen > SESSION_IDLE_MS)
|
|
59
|
-
await drop(id2);
|
|
60
|
-
const id = request.headers.get("mcp-session-id");
|
|
61
|
-
if (id) {
|
|
62
|
-
const known = sessions.get(id);
|
|
63
|
-
if (!known || known.clientId !== auth.clientId)
|
|
64
|
-
return sessionMissing();
|
|
65
|
-
known.seen = now();
|
|
66
|
-
return known.transport.handleRequest(request, { authInfo: auth });
|
|
67
|
-
}
|
|
68
|
-
const server = build();
|
|
69
|
-
const transport = new WebStandardStreamableHTTPServerTransport({
|
|
70
|
-
sessionIdGenerator: /* @__PURE__ */ __name(() => randomUUID(), "sessionIdGenerator"),
|
|
71
|
-
onsessionclosed: /* @__PURE__ */ __name((closed) => void sessions.delete(closed), "onsessionclosed")
|
|
72
|
-
});
|
|
73
|
-
await server.connect(transport);
|
|
74
|
-
const response = await transport.handleRequest(request, { authInfo: auth });
|
|
75
|
-
if (!transport.sessionId) {
|
|
76
|
-
await server.close();
|
|
77
|
-
return response;
|
|
78
|
-
}
|
|
79
|
-
sessions.set(transport.sessionId, { transport, close: /* @__PURE__ */ __name(() => server.close(), "close"), clientId: auth.clientId, seen: now() });
|
|
80
|
-
while (sessions.size > MAX_SESSIONS)
|
|
81
|
-
await drop(sessions.keys().next().value);
|
|
82
|
-
return response;
|
|
83
|
-
}, "handle");
|
|
84
|
-
return {
|
|
85
|
-
handle,
|
|
86
|
-
close: /* @__PURE__ */ __name(async () => {
|
|
87
|
-
for (const id of [...sessions.keys()])
|
|
88
|
-
await drop(id);
|
|
89
|
-
}, "close")
|
|
90
|
-
};
|
|
91
|
-
}, "legacySessions");
|
|
92
|
-
var metadataRequest = /* @__PURE__ */ __name((request, path, base) => {
|
|
93
|
-
const url = new URL(request.url);
|
|
94
|
-
const inserted = base && path === `${AS_METADATA}${base}`;
|
|
95
|
-
if (!inserted && url.pathname === path)
|
|
96
|
-
return request;
|
|
97
|
-
url.pathname = inserted ? AS_METADATA : path;
|
|
98
|
-
return new Request(url, { method: request.method, headers: request.headers });
|
|
99
|
-
}, "metadataRequest");
|
|
100
|
-
var toolsIn = /* @__PURE__ */ __name(async (request) => {
|
|
101
|
-
if (request.method !== "POST")
|
|
102
|
-
return [];
|
|
103
|
-
try {
|
|
104
|
-
return calledTools(await request.clone().json());
|
|
105
|
-
} catch {
|
|
106
|
-
return [];
|
|
107
|
-
}
|
|
108
|
-
}, "toolsIn");
|
|
109
|
-
var serveOverHttp = /* @__PURE__ */ __name(async (build, options) => {
|
|
110
|
-
const { publicUrl, port, tokenFile, appName, reaches, onCode, onError, now, lockFile, version } = options;
|
|
111
|
-
const lock = lockFile ? httpLock(lockFile, {
|
|
112
|
-
pid: process.pid,
|
|
113
|
-
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
114
|
-
port,
|
|
115
|
-
publicUrl: publicUrl.href,
|
|
116
|
-
...version ? { version } : {}
|
|
117
|
-
}) : void 0;
|
|
118
|
-
if (lock?.held)
|
|
119
|
-
throw new CliError("validation_error", `${appName} already serves MCP over HTTP for this profile on port ${lock.held.port} (PID ${lock.held.pid}, since ${lock.held.startedAt})`);
|
|
120
|
-
const base = publicUrl.pathname === "/" ? "" : publicUrl.pathname.replace(/\/+$/, "");
|
|
121
|
-
const issuer = new URL(`${publicUrl.origin}${base}`);
|
|
122
|
-
const resource = new URL(`${base}${MCP_PATH}`, publicUrl.origin);
|
|
123
|
-
const mcpPath = resource.pathname;
|
|
124
|
-
const publicPath = /* @__PURE__ */ __name((path) => base && path !== base && !path.startsWith(`${base}/`) && !path.startsWith("/.well-known/") ? `${base}${path}` : path, "publicPath");
|
|
125
|
-
const login = ownerLogin({
|
|
126
|
-
issuer,
|
|
127
|
-
resource,
|
|
128
|
-
file: tokenFile,
|
|
129
|
-
appName,
|
|
130
|
-
...reaches ? { reaches } : {},
|
|
131
|
-
onCode: /* @__PURE__ */ __name((code, expires) => {
|
|
132
|
-
lock?.update({ loginCode: code, loginCodeExpiresAt: expires.toISOString() });
|
|
133
|
-
onCode(code, expires);
|
|
134
|
-
}, "onCode"),
|
|
135
|
-
...now ? { now } : {}
|
|
136
|
-
});
|
|
137
|
-
const insecure = issuer.protocol === "http:" && LOCAL.includes(issuer.hostname);
|
|
138
|
-
const mcp = createMcpHandler(build, { legacy: "reject", ...onError ? { onerror: onError } : {} });
|
|
139
|
-
const legacy = legacySessions(build, now ?? Date.now);
|
|
140
|
-
const bearer = requireBearerAuth({
|
|
141
|
-
verifier: login.verifier,
|
|
142
|
-
resourceMetadataUrl: getOAuthProtectedResourceMetadataUrl(resource)
|
|
143
|
-
});
|
|
144
|
-
const activity = activityRecorder(httpActivityFile(tokenFile), now);
|
|
145
|
-
const allowedHosts = [.../* @__PURE__ */ new Set([publicUrl.hostname, ...LOCAL])];
|
|
146
|
-
const allowedOrigins = [publicUrl.origin];
|
|
147
|
-
const listening = await listen(async (request) => {
|
|
148
|
-
const refused = hostHeaderValidationResponse(request, allowedHosts);
|
|
149
|
-
if (refused)
|
|
150
|
-
return refused;
|
|
151
|
-
const path = publicPath(new URL(request.url).pathname);
|
|
152
|
-
const discovery = oauthMetadataResponse(metadataRequest(request, path, base), {
|
|
153
|
-
oauthMetadata: login.metadata,
|
|
154
|
-
resourceServerUrl: resource,
|
|
155
|
-
resourceName: appName,
|
|
156
|
-
...insecure ? { dangerouslyAllowInsecureIssuerUrl: true } : {}
|
|
157
|
-
});
|
|
158
|
-
if (discovery)
|
|
159
|
-
return discovery;
|
|
160
|
-
if (Number(request.headers.get("content-length") ?? 0) > MAX_LOGIN_BODY && path !== mcpPath)
|
|
161
|
-
return new Response("Request too large", { status: 413 });
|
|
162
|
-
const origin = request.headers.get("origin");
|
|
163
|
-
if (origin && !allowedOrigins.includes(origin))
|
|
164
|
-
return new Response("Origin not allowed", { status: 403 });
|
|
165
|
-
const answered = await login.handle(request, path);
|
|
166
|
-
if (answered)
|
|
167
|
-
return answered;
|
|
168
|
-
if (path !== mcpPath)
|
|
169
|
-
return new Response("Not found", { status: 404 });
|
|
170
|
-
const auth = await bearer(request);
|
|
171
|
-
if (auth instanceof Response)
|
|
172
|
-
return auth;
|
|
173
|
-
activity.record(auth.clientId, await toolsIn(request));
|
|
174
|
-
return await isLegacyRequest(request) ? legacy.handle(request, auth) : mcp.fetch(request, { authInfo: auth });
|
|
175
|
-
}, { host: "127.0.0.1", port }).catch((error) => {
|
|
176
|
-
login.close();
|
|
177
|
-
lock?.release();
|
|
178
|
-
throw error;
|
|
179
|
-
});
|
|
180
|
-
lock?.update({ listeningAt: (/* @__PURE__ */ new Date()).toISOString() });
|
|
181
|
-
return {
|
|
182
|
-
url: listening.url,
|
|
183
|
-
close: /* @__PURE__ */ __name(async () => {
|
|
184
|
-
login.close();
|
|
185
|
-
activity.flush();
|
|
186
|
-
try {
|
|
187
|
-
await listening.close();
|
|
188
|
-
await legacy.close();
|
|
189
|
-
await mcp.close();
|
|
190
|
-
} finally {
|
|
191
|
-
lock?.release();
|
|
192
|
-
}
|
|
193
|
-
}, "close")
|
|
194
|
-
};
|
|
195
|
-
}, "serveOverHttp");
|
|
196
|
-
export {
|
|
197
|
-
MCP_PATH,
|
|
198
|
-
serveOverHttp
|
|
199
|
-
};
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
botInstructions
|
|
5
|
-
} from "./chunk-FTH6WGYO.js";
|
|
6
|
-
import {
|
|
7
|
-
skillResources
|
|
8
|
-
} from "./chunk-E2L4R6EI.js";
|
|
9
|
-
import {
|
|
10
|
-
StdioServerTransport,
|
|
11
|
-
answeredWire,
|
|
12
|
-
serveStdio
|
|
13
|
-
} from "./chunk-AQ5RIOUE.js";
|
|
14
|
-
import {
|
|
15
|
-
wholeList
|
|
16
|
-
} from "./chunk-U7UTYALA.js";
|
|
17
|
-
import {
|
|
18
|
-
runCommandForAgent,
|
|
19
|
-
toolsFromCommands
|
|
20
|
-
} from "./chunk-WQEEYEWO.js";
|
|
21
|
-
import "./chunk-TB3LN5G2.js";
|
|
22
|
-
import "./chunk-VJHUMB7U.js";
|
|
23
|
-
import {
|
|
24
|
-
answered,
|
|
25
|
-
normal,
|
|
26
|
-
registerCommands
|
|
27
|
-
} from "./chunk-V5I3QHDU.js";
|
|
28
|
-
import {
|
|
29
|
-
agentJson
|
|
30
|
-
} from "./chunk-G3PK5BZB.js";
|
|
31
|
-
import "./chunk-Z7Y2I5YR.js";
|
|
32
|
-
import "./chunk-FFER7KJI.js";
|
|
33
|
-
import "./chunk-5N2V6XO7.js";
|
|
34
|
-
import "./chunk-ISQ23VKV.js";
|
|
35
|
-
import "./chunk-W5LKEOGN.js";
|
|
36
|
-
import "./chunk-TY7NDMFY.js";
|
|
37
|
-
import {
|
|
38
|
-
callerOf
|
|
39
|
-
} from "./chunk-WXYOELRI.js";
|
|
40
|
-
import "./chunk-R2CEA7MK.js";
|
|
41
|
-
import "./chunk-HUAHLO6N.js";
|
|
42
|
-
import {
|
|
43
|
-
McpServer
|
|
44
|
-
} from "./chunk-PL5P7UKW.js";
|
|
45
|
-
import "./chunk-WZBPUOWM.js";
|
|
46
|
-
import "./chunk-FBWECICU.js";
|
|
47
|
-
import "./chunk-YQH4J6YZ.js";
|
|
48
|
-
import "./chunk-WLDZWHSF.js";
|
|
49
|
-
import {
|
|
50
|
-
MESSENGER_CHANGE_REFUSAL,
|
|
51
|
-
changesMessenger,
|
|
52
|
-
flatten,
|
|
53
|
-
itemOf,
|
|
54
|
-
readOnlyLockOf,
|
|
55
|
-
readOnlyRefusal
|
|
56
|
-
} from "./chunk-J2LSOG3A.js";
|
|
57
|
-
import "./chunk-5EH7S4RM.js";
|
|
58
|
-
import "./chunk-GLU36VKA.js";
|
|
59
|
-
import "./chunk-MFSWMNSZ.js";
|
|
60
|
-
import "./chunk-T3W4V4A6.js";
|
|
61
|
-
import "./chunk-TES7MB6I.js";
|
|
62
|
-
import "./chunk-QBJRK733.js";
|
|
63
|
-
import "./chunk-K5L77R7P.js";
|
|
64
|
-
import "./chunk-DBHZ7TQ7.js";
|
|
65
|
-
import "./chunk-P5XYQZVW.js";
|
|
66
|
-
import "./chunk-KKRFVN4X.js";
|
|
67
|
-
import "./chunk-AOKAYQSJ.js";
|
|
68
|
-
import "./chunk-WRF6TY63.js";
|
|
69
|
-
import "./chunk-SKUY7JDA.js";
|
|
70
|
-
import "./chunk-XGNZD52X.js";
|
|
71
|
-
import "./chunk-6V7ZUJI6.js";
|
|
72
|
-
import "./chunk-DNCLQPOM.js";
|
|
73
|
-
import "./chunk-B4DVW2BA.js";
|
|
74
|
-
import "./chunk-NBNQLNVV.js";
|
|
75
|
-
import "./chunk-P6OJKJJS.js";
|
|
76
|
-
import "./chunk-VCDIKCFE.js";
|
|
77
|
-
import "./chunk-O3DZDITT.js";
|
|
78
|
-
import "./chunk-TXDR6YSF.js";
|
|
79
|
-
import "./chunk-D72URWJE.js";
|
|
80
|
-
import "./chunk-2R2EX5I6.js";
|
|
81
|
-
import "./chunk-W4KLHM2K.js";
|
|
82
|
-
import "./chunk-KYRYD4CR.js";
|
|
83
|
-
import "./chunk-UXDUWGX6.js";
|
|
84
|
-
import {
|
|
85
|
-
mcpErrorResult
|
|
86
|
-
} from "./chunk-QPPOIWPY.js";
|
|
87
|
-
import {
|
|
88
|
-
object
|
|
89
|
-
} from "./chunk-S4UUN6LD.js";
|
|
90
|
-
import "./chunk-Y5E2WNWB.js";
|
|
91
|
-
import "./chunk-S6JG4YUH.js";
|
|
92
|
-
import "./chunk-TCT5D2X2.js";
|
|
93
|
-
import {
|
|
94
|
-
__name
|
|
95
|
-
} from "./chunk-ZVVMGPBJ.js";
|
|
96
|
-
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
98
|
-
import { randomUUID } from "node:crypto";
|
|
99
|
-
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");
|
|
100
|
-
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
101
|
-
const { bot, program, settings, env } = options;
|
|
102
|
-
const command = bot.app.command;
|
|
103
|
-
const levels = options.levels ?? (() => settings.permissions);
|
|
104
|
-
const authority = /* @__PURE__ */ __name((path) => options.authority?.(path) === true || path[0] === "config" && (path[1] === "set" || path[1] === "unset"), "authority");
|
|
105
|
-
const catalogue = {
|
|
106
|
-
includeUnavailable: true,
|
|
107
|
-
levels: settings.permissions,
|
|
108
|
-
currentLevels: levels,
|
|
109
|
-
readOnly: readOnlyLockOf(bot.app, env) !== void 0,
|
|
110
|
-
...options.keyOf ? { keyOf: options.keyOf } : {},
|
|
111
|
-
authority,
|
|
112
|
-
...options.fetchOnly ? { fetchOnly: options.fetchOnly } : {},
|
|
113
|
-
...options.fetches ? { fetches: options.fetches } : {},
|
|
114
|
-
offline: true,
|
|
115
|
-
// Another bot's copy is this bot's to read only where `read_other_bots` says so.
|
|
116
|
-
...settings.readOtherBots ? {} : { omit: ["all_bots", "bots"] }
|
|
117
|
-
};
|
|
118
|
-
const tools = [
|
|
119
|
-
...toolsFromCommands(program.commands, { ...catalogue, root: ["bot"] }),
|
|
120
|
-
...toolsFromCommands(program.commands.filter((one) => one.path[0] === "config"), {
|
|
121
|
-
...catalogue,
|
|
122
|
-
omit: ["bot", "personal", "defaults"]
|
|
123
|
-
})
|
|
124
|
-
];
|
|
125
|
-
const writes = tools.filter((tool) => tool.writes && tool.availability?.().available !== false).map((tool) => tool.command);
|
|
126
|
-
const skills = options.skill ? skillResources(bot.app, options.skill) : [];
|
|
127
|
-
const skill = skills[0];
|
|
128
|
-
let queue = Promise.resolve();
|
|
129
|
-
const invoke = /* @__PURE__ */ __name((path, input, caller) => {
|
|
130
|
-
const next = queue.then(() => runCommandForAgent(program, path, path[0] === "config" ? { ...input, bot: true } : input, {
|
|
131
|
-
profile: settings.profile,
|
|
132
|
-
readOnly: readOnlyLockOf(bot.app, env) !== void 0,
|
|
133
|
-
env,
|
|
134
|
-
levels,
|
|
135
|
-
...options.keyOf ? { keyOf: options.keyOf } : {},
|
|
136
|
-
authority,
|
|
137
|
-
...options.fetches ? { fetches: options.fetches } : {},
|
|
138
|
-
...caller ? { caller } : {}
|
|
139
|
-
}));
|
|
140
|
-
queue = next.catch(() => void 0);
|
|
141
|
-
return next;
|
|
142
|
-
}, "invoke");
|
|
143
|
-
const build = /* @__PURE__ */ __name(() => {
|
|
144
|
-
const callers = { env, client: /* @__PURE__ */ __name(() => server.server.getClientVersion(), "client"), connectionId: randomUUID() };
|
|
145
|
-
const server = new McpServer({ name: `${command}-bot-${settings.profile}`, version: bot.app.version }, {
|
|
146
|
-
instructions: botInstructions({
|
|
147
|
-
command,
|
|
148
|
-
name: bot.name ?? command,
|
|
149
|
-
profile: settings.profile,
|
|
150
|
-
writes,
|
|
151
|
-
...skill ? { skill: skill.instruction } : {}
|
|
152
|
-
})
|
|
153
|
-
});
|
|
154
|
-
for (const { uri, name, title, description, mimeType, read } of skills)
|
|
155
|
-
server.registerResource(name, uri, { title, description, mimeType }, read);
|
|
156
|
-
const commands = Object.fromEntries(tools.map((tool) => [
|
|
157
|
-
tool.command,
|
|
158
|
-
{
|
|
159
|
-
title: tool.title,
|
|
160
|
-
description: tool.description,
|
|
161
|
-
writes: tool.writes,
|
|
162
|
-
availability: tool.availability,
|
|
163
|
-
input: tool.input,
|
|
164
|
-
run: /* @__PURE__ */ __name(async (args, ctx) => {
|
|
165
|
-
const caller = callerOf(ctx, `${command}_${tool.command.replaceAll(" ", "_")}`, callers);
|
|
166
|
-
const answer = await invoke(tool.path, args, caller);
|
|
167
|
-
return "error" in answer ? mcpErrorResult(JSON.parse(agentJson(answer.error))) : answered(body(tool.command, answer.result));
|
|
168
|
-
}, "run")
|
|
169
|
-
}
|
|
170
|
-
]));
|
|
171
|
-
commands.status = {
|
|
172
|
-
title: "This server's bot and profile",
|
|
173
|
-
description: "Which profile this server speaks for, where its bot token comes from, which bot it is, and which writing commands are on. Sends nothing.",
|
|
174
|
-
writes: false,
|
|
175
|
-
input: object({}),
|
|
176
|
-
run: /* @__PURE__ */ __name(async () => {
|
|
177
|
-
const auth = await invoke(["bot", "auth", "show"], {});
|
|
178
|
-
const shown = "error" in auth ? auth.error : auth.result?.item ?? auth.result;
|
|
179
|
-
return answered(itemOf({
|
|
180
|
-
profile: settings.profile,
|
|
181
|
-
kind: "bot",
|
|
182
|
-
auth: shown,
|
|
183
|
-
writes: tools.filter((tool) => tool.writes && tool.availability?.().available !== false).map((tool) => tool.command),
|
|
184
|
-
permissions: levels()
|
|
185
|
-
}));
|
|
186
|
-
}, "run")
|
|
187
|
-
};
|
|
188
|
-
registerCommands(server, `${command}_bot`, commands, void 0, (asked) => {
|
|
189
|
-
const lock = readOnlyLockOf(bot.app, env);
|
|
190
|
-
const one = flatten(program.commands).find((info) => info.path[0] === "bot" && normal(info.path.slice(1).join(" ")) === asked);
|
|
191
|
-
if (lock && one && changesMessenger(one))
|
|
192
|
-
throw readOnlyRefusal(lock, MESSENGER_CHANGE_REFUSAL);
|
|
193
|
-
}, bot.app.messenger);
|
|
194
|
-
return server;
|
|
195
|
-
}, "build");
|
|
196
|
-
return { build, tools, offered: tools.map((tool) => tool.command) };
|
|
197
|
-
}, "createBotServer");
|
|
198
|
-
var serveBotOverStdio = /* @__PURE__ */ __name(async (options, note) => {
|
|
199
|
-
const { build } = createBotServer(options);
|
|
200
|
-
const wire = answeredWire(process.stdin, process.stdout);
|
|
201
|
-
const handle = serveStdio(build, {
|
|
202
|
-
transport: new StdioServerTransport(wire.input, wire.output),
|
|
203
|
-
onerror: /* @__PURE__ */ __name((error) => note(`mcp: ${error.message}`), "onerror")
|
|
204
|
-
});
|
|
205
|
-
await wire.finished();
|
|
206
|
-
wire.release();
|
|
207
|
-
await handle.close();
|
|
208
|
-
}, "serveBotOverStdio");
|
|
209
|
-
export {
|
|
210
|
-
createBotServer,
|
|
211
|
-
serveBotOverStdio
|
|
212
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PER_RUN,
|
|
5
|
-
createServer,
|
|
6
|
-
envelope,
|
|
7
|
-
serveOverHttpUntilStopped,
|
|
8
|
-
serveOverStdio
|
|
9
|
-
} from "./chunk-L5QLKUQR.js";
|
|
10
|
-
import "./chunk-T35IOBPJ.js";
|
|
11
|
-
import "./chunk-E2L4R6EI.js";
|
|
12
|
-
import "./chunk-AQ5RIOUE.js";
|
|
13
|
-
import "./chunk-GZ7WBU5Y.js";
|
|
14
|
-
import "./chunk-MYK2F5LD.js";
|
|
15
|
-
import "./chunk-U7UTYALA.js";
|
|
16
|
-
import "./chunk-WQEEYEWO.js";
|
|
17
|
-
import "./chunk-TB3LN5G2.js";
|
|
18
|
-
import "./chunk-VJHUMB7U.js";
|
|
19
|
-
import "./chunk-OEEWVKJX.js";
|
|
20
|
-
import "./chunk-V5I3QHDU.js";
|
|
21
|
-
import "./chunk-G3PK5BZB.js";
|
|
22
|
-
import "./chunk-Z7Y2I5YR.js";
|
|
23
|
-
import "./chunk-FFER7KJI.js";
|
|
24
|
-
import "./chunk-5N2V6XO7.js";
|
|
25
|
-
import "./chunk-ISQ23VKV.js";
|
|
26
|
-
import "./chunk-W5LKEOGN.js";
|
|
27
|
-
import "./chunk-TY7NDMFY.js";
|
|
28
|
-
import "./chunk-WXYOELRI.js";
|
|
29
|
-
import "./chunk-R2CEA7MK.js";
|
|
30
|
-
import "./chunk-HUAHLO6N.js";
|
|
31
|
-
import "./chunk-PL5P7UKW.js";
|
|
32
|
-
import "./chunk-WZBPUOWM.js";
|
|
33
|
-
import "./chunk-FBWECICU.js";
|
|
34
|
-
import "./chunk-YQH4J6YZ.js";
|
|
35
|
-
import "./chunk-WLDZWHSF.js";
|
|
36
|
-
import "./chunk-5WY6RURV.js";
|
|
37
|
-
import "./chunk-HMYBAVIE.js";
|
|
38
|
-
import "./chunk-QBYE26ZC.js";
|
|
39
|
-
import "./chunk-J2LSOG3A.js";
|
|
40
|
-
import "./chunk-5EH7S4RM.js";
|
|
41
|
-
import "./chunk-GLU36VKA.js";
|
|
42
|
-
import "./chunk-MFSWMNSZ.js";
|
|
43
|
-
import "./chunk-T3W4V4A6.js";
|
|
44
|
-
import "./chunk-TES7MB6I.js";
|
|
45
|
-
import "./chunk-QBJRK733.js";
|
|
46
|
-
import "./chunk-K5L77R7P.js";
|
|
47
|
-
import "./chunk-DBHZ7TQ7.js";
|
|
48
|
-
import "./chunk-P5XYQZVW.js";
|
|
49
|
-
import "./chunk-KKRFVN4X.js";
|
|
50
|
-
import "./chunk-AOKAYQSJ.js";
|
|
51
|
-
import "./chunk-WRF6TY63.js";
|
|
52
|
-
import "./chunk-SKUY7JDA.js";
|
|
53
|
-
import "./chunk-XGNZD52X.js";
|
|
54
|
-
import "./chunk-6V7ZUJI6.js";
|
|
55
|
-
import "./chunk-DNCLQPOM.js";
|
|
56
|
-
import "./chunk-B4DVW2BA.js";
|
|
57
|
-
import "./chunk-NBNQLNVV.js";
|
|
58
|
-
import "./chunk-P6OJKJJS.js";
|
|
59
|
-
import "./chunk-VCDIKCFE.js";
|
|
60
|
-
import "./chunk-O3DZDITT.js";
|
|
61
|
-
import "./chunk-TXDR6YSF.js";
|
|
62
|
-
import "./chunk-D72URWJE.js";
|
|
63
|
-
import "./chunk-2R2EX5I6.js";
|
|
64
|
-
import "./chunk-W4KLHM2K.js";
|
|
65
|
-
import "./chunk-KYRYD4CR.js";
|
|
66
|
-
import "./chunk-UXDUWGX6.js";
|
|
67
|
-
import "./chunk-QPPOIWPY.js";
|
|
68
|
-
import "./chunk-S4UUN6LD.js";
|
|
69
|
-
import "./chunk-Y5E2WNWB.js";
|
|
70
|
-
import "./chunk-S6JG4YUH.js";
|
|
71
|
-
import "./chunk-TCT5D2X2.js";
|
|
72
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
73
|
-
export {
|
|
74
|
-
PER_RUN,
|
|
75
|
-
createServer,
|
|
76
|
-
envelope,
|
|
77
|
-
serveOverHttpUntilStopped,
|
|
78
|
-
serveOverStdio
|
|
79
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ensureSqlite,
|
|
5
|
-
nodeRuntime,
|
|
6
|
-
relay
|
|
7
|
-
} from "./chunk-P6S3ZRVW.js";
|
|
8
|
-
import "./chunk-W4KLHM2K.js";
|
|
9
|
-
import "./chunk-KYRYD4CR.js";
|
|
10
|
-
import "./chunk-UXDUWGX6.js";
|
|
11
|
-
import "./chunk-QPPOIWPY.js";
|
|
12
|
-
import "./chunk-S4UUN6LD.js";
|
|
13
|
-
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-S6JG4YUH.js";
|
|
15
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
16
|
-
export {
|
|
17
|
-
ensureSqlite,
|
|
18
|
-
nodeRuntime,
|
|
19
|
-
relay
|
|
20
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
-
const require = __bundleRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ACCESS_SECONDS,
|
|
5
|
-
REFRESH_SECONDS,
|
|
6
|
-
httpLaunchFile,
|
|
7
|
-
httpLock,
|
|
8
|
-
httpLockFile,
|
|
9
|
-
httpLogFile,
|
|
10
|
-
mcpHttpMarker,
|
|
11
|
-
readHttpLaunch,
|
|
12
|
-
readHttpLock,
|
|
13
|
-
readStored,
|
|
14
|
-
signedInClients
|
|
15
|
-
} from "./chunk-5WY6RURV.js";
|
|
16
|
-
import "./chunk-HMYBAVIE.js";
|
|
17
|
-
import "./chunk-T3W4V4A6.js";
|
|
18
|
-
import "./chunk-UXDUWGX6.js";
|
|
19
|
-
import "./chunk-QPPOIWPY.js";
|
|
20
|
-
import "./chunk-S4UUN6LD.js";
|
|
21
|
-
import "./chunk-Y5E2WNWB.js";
|
|
22
|
-
import "./chunk-S6JG4YUH.js";
|
|
23
|
-
import "./chunk-ZVVMGPBJ.js";
|
|
24
|
-
export {
|
|
25
|
-
ACCESS_SECONDS,
|
|
26
|
-
REFRESH_SECONDS,
|
|
27
|
-
httpLaunchFile,
|
|
28
|
-
httpLock,
|
|
29
|
-
httpLockFile,
|
|
30
|
-
httpLogFile,
|
|
31
|
-
mcpHttpMarker,
|
|
32
|
-
readHttpLaunch,
|
|
33
|
-
readHttpLock,
|
|
34
|
-
readStored,
|
|
35
|
-
signedInClients
|
|
36
|
-
};
|