@wirecat/bitrix24-cli 0.2.0 → 0.4.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 +60 -0
- package/dist/api-keys.d.ts +30 -8
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +81 -18
- package/dist/api-keys.js.map +1 -1
- package/dist/bin/b24.js +2 -2
- package/dist/bitrix/methods.d.ts.map +1 -1
- package/dist/bitrix/methods.js +7 -3
- package/dist/bitrix/methods.js.map +1 -1
- package/dist/bitrix/transport.d.ts +4 -7
- package/dist/bitrix/transport.d.ts.map +1 -1
- package/dist/bitrix/transport.js +12 -16
- package/dist/bitrix/transport.js.map +1 -1
- package/dist/bundle/{all-profiles-QJ444GSX.js → all-profiles-MBQZCOVK.js} +6 -6
- package/dist/bundle/{anthropic-RHRAVHC2.js → anthropic-QCYLKSJJ.js} +4 -4
- package/dist/bundle/{app-server-QIT6S7AZ.js → app-server-FSLZ2Y6N.js} +42 -42
- package/dist/bundle/b24.js +12 -12
- package/dist/bundle/{bun-H6RSODZ3.js → bun-UYRQXF33.js} +2 -2
- package/dist/bundle/{bun-sqlite-BO4LTQHX.js → bun-sqlite-GXME7EMT.js} +3 -3
- package/dist/bundle/{chunk-MBDK4YXG.js → chunk-2D5W4LWL.js} +1 -1
- package/dist/bundle/{chunk-U5ACMCAQ.js → chunk-2IZ6GGU2.js} +151 -151
- package/dist/bundle/{chunk-VEWWAGTD.js → chunk-4OVK5XW2.js} +8 -8
- package/dist/bundle/{chunk-45AKJVKV.js → chunk-66QLBRIT.js} +1 -1
- package/dist/bundle/{chunk-P364PLIK.js → chunk-6BLVBGRK.js} +9 -9
- package/dist/bundle/{chunk-FOTREPNS.js → chunk-6ERX33NC.js} +8 -8
- package/dist/bundle/{chunk-LRGYKOCP.js → chunk-AMVRNYD6.js} +1 -1
- package/dist/bundle/{chunk-YZ5LHE5Q.js → chunk-AOUNT22U.js} +2 -2
- package/dist/bundle/{chunk-ZDQQCXFG.js → chunk-B252WFK7.js} +13 -13
- package/dist/bundle/{chunk-WKRQ44EH.js → chunk-BHZ5VDDY.js} +13 -13
- package/dist/bundle/{chunk-ZIAQPTUS.js → chunk-COOOXDKZ.js} +3 -3
- package/dist/bundle/{chunk-GDFNH33E.js → chunk-CR3TLGM4.js} +9 -4
- package/dist/bundle/{chunk-D5S6QV6R.js → chunk-D2IRPC5I.js} +6 -6
- package/dist/bundle/{chunk-POC3V3AO.js → chunk-DQIQIZQS.js} +297 -256
- package/dist/bundle/{chunk-QGMDQ2PM.js → chunk-EIGPMMGC.js} +3 -3
- package/dist/bundle/{chunk-WTPMJYMD.js → chunk-ELBOQHJA.js} +45 -45
- package/dist/bundle/{chunk-LSPIOT6Z.js → chunk-EQLWU6ZB.js} +7 -7
- package/dist/bundle/{chunk-WII44RXN.js → chunk-F5NH3UJQ.js} +2 -2
- package/dist/bundle/{chunk-HAXNUIGQ.js → chunk-GTDOUP6L.js} +26 -23
- package/dist/bundle/{chunk-QQXH2OPB.js → chunk-GTFRSYYJ.js} +17 -12
- package/dist/bundle/{chunk-H2ADPPSH.js → chunk-GTMCLOYY.js} +670 -465
- package/dist/bundle/{chunk-7GRZAKBB.js → chunk-IF27EQN6.js} +2 -2
- package/dist/bundle/{chunk-FZL7F5NR.js → chunk-IWEWDVZ6.js} +22 -22
- package/dist/bundle/{program-UYX5362I.js → chunk-J7OMY6EO.js} +16672 -18336
- package/dist/bundle/{chunk-QIPTIUMJ.js → chunk-JAS3OZSP.js} +4 -4
- package/dist/bundle/{chunk-OTD2ZRXD.js → chunk-JB7OXYAU.js} +4 -4
- package/dist/bundle/{chunk-ZEW4P6AH.js → chunk-K7XWCZF6.js} +8 -8
- package/dist/bundle/{chunk-YYO7D2MO.js → chunk-LAYH344Y.js} +28 -28
- package/dist/bundle/{chunk-K3UIB6ZF.js → chunk-M5XMAUGZ.js} +2 -2
- package/dist/bundle/{chunk-2KCZ7BKW.js → chunk-MPI2FDJ4.js} +11 -11
- package/dist/bundle/{chunk-HGL63O5V.js → chunk-MY6FAZRA.js} +2 -2
- package/dist/bundle/{chunk-QC53QBNC.js → chunk-NDSOBIR3.js} +3 -3
- package/dist/bundle/{chunk-XRFJWHY5.js → chunk-NEK7LKC6.js} +4 -4
- package/dist/bundle/{chunk-2SNUMZ7S.js → chunk-NKLLI4B2.js} +6 -6
- package/dist/bundle/{chunk-QMPN6WKD.js → chunk-NWKXMMON.js} +100 -81
- package/dist/bundle/{chunk-P33NDCDI.js → chunk-O7FVOICH.js} +1 -1
- package/dist/bundle/{chunk-SFRNX2TI.js → chunk-OCRCVLZQ.js} +1 -1
- package/dist/bundle/{chunk-TE3FR6MI.js → chunk-OKDC6CLH.js} +5 -5
- package/dist/bundle/{chunk-DTXERR44.js → chunk-OWILUBCI.js} +2 -2
- package/dist/bundle/{chunk-CXL33BFL.js → chunk-OYLJHX74.js} +1 -1
- package/dist/bundle/{chunk-6WY72XVQ.js → chunk-POUSZWMP.js} +4 -4
- package/dist/bundle/{chunk-N6FLBXZS.js → chunk-Q4ILKTV4.js} +3 -3
- package/dist/bundle/{chunk-FLUEXJ4X.js → chunk-Q7Z5IMVY.js} +1 -1
- package/dist/bundle/{chunk-XJXONOB5.js → chunk-QVZSLBR6.js} +1 -1
- package/dist/bundle/{chunk-IRV2PCQ2.js → chunk-SBW2Y7AZ.js} +26 -26
- package/dist/bundle/{chunk-XNHSPHUN.js → chunk-UCLWWSQK.js} +2 -2
- package/dist/bundle/{chunk-BCF7P4FZ.js → chunk-UH56WLDS.js} +8 -8
- package/dist/bundle/{chunk-ZGZT5S6B.js → chunk-VMQL4GNH.js} +55 -55
- package/dist/bundle/{chunk-XD4FRDSL.js → chunk-VTIUWHZ3.js} +5 -5
- package/dist/bundle/{chunk-SGRYYE4X.js → chunk-WJRBX5QB.js} +4 -4
- package/dist/bundle/{chunk-VL6SPMZV.js → chunk-XG6QKS7L.js} +5 -5
- package/dist/bundle/{chunk-RRJNNPR4.js → chunk-XKQZLR2X.js} +1 -1
- package/dist/bundle/{chunk-QSNROIJL.js → chunk-XOPMSWFC.js} +9 -9
- package/dist/bundle/{chunk-EVYSBZ3I.js → chunk-XR5SUCAC.js} +4 -4
- package/dist/bundle/{chunk-PH5FZX6E.js → chunk-Y5PPMGCS.js} +2 -2
- package/dist/bundle/{chunk-EXOOKUEA.js → chunk-YFZXI3NN.js} +2 -2
- package/dist/bundle/{chunk-CNNEA2M4.js → chunk-ZU4HXKEW.js} +3 -3
- package/dist/bundle/command-contract-UON4EIC4.js +30 -0
- package/dist/bundle/{decode-5ZPLTYV6.js → decode-IF2F2SFC.js} +3 -3
- package/dist/bundle/{echarts-J6LAPIX7.js → echarts-WDDVEJO2.js} +2 -2
- package/dist/bundle/{embed-YG5LDHME.js → embed-VDUGYEAR.js} +4 -4
- package/dist/bundle/{embedder-7FNUA5OZ.js → embedder-DUN62H3Z.js} +7 -7
- package/dist/bundle/{first-run-JPZNWIJN.js → first-run-NDGYBQEN.js} +8 -8
- package/dist/bundle/first-screen-QAVKP5RF.js +28 -0
- package/dist/bundle/{instructions-AXWTQHMR.js → instructions-JIIKWS7X.js} +1 -1
- package/dist/bundle/{mcp-7F46P6AM.js → mcp-33JX6KP4.js} +2 -2
- package/dist/bundle/{mcp-HUD6UH5X.js → mcp-57EQ6QJO.js} +58 -47
- package/dist/bundle/mcp-PFJER2DE.js +87 -0
- package/dist/bundle/{node-CWKAIOEM.js → node-K57WT42O.js} +2 -2
- package/dist/bundle/{node-sqlite-LSEKVRDA.js → node-sqlite-KS6ORRIG.js} +4 -4
- package/dist/bundle/{oauth-THYNLRLD.js → oauth-SLSANN37.js} +5 -5
- package/dist/bundle/{open-E47QYKFC.js → open-WJPHADEX.js} +3 -3
- package/dist/bundle/{openai-EWSGC3BC.js → openai-HXB3GTOD.js} +12 -12
- package/dist/bundle/{process-WKTEA3WE.js → process-P73TFAXT.js} +1 -1
- package/dist/bundle/program-7BMG5NIN.js +2250 -0
- package/dist/bundle/{prompt-CAQ7QR3U.js → prompt-WDPV37R4.js} +3 -3
- package/dist/bundle/{recognize-6KGHNZC3.js → recognize-CXIFL6IV.js} +2 -2
- package/dist/bundle/{remote-3UO2WDC3.js → remote-Q4VJ4OQW.js} +5 -5
- package/dist/bundle/{rerank-2JVDPZBX.js → rerank-SUFYK63I.js} +5 -5
- package/dist/bundle/{serve-ES7AG5IK.js → serve-B7PGFOC2.js} +7 -7
- package/dist/bundle/server-4DBNJWW6.js +58 -0
- package/dist/bundle/server-OKE7SXJ2.js +45 -0
- package/dist/bundle/{state-7NH5G4XJ.js → state-EZCCXQV7.js} +4 -4
- package/dist/bundle/{store-7O4JQD2Z.js → store-MZ7JBYR6.js} +12 -12
- package/dist/bundle/store-maintenance-command-T5QZMENJ.js +47 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +57 -7
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/crm-writes.d.ts.map +1 -1
- package/dist/commands/crm-writes.js +24 -8
- package/dist/commands/crm-writes.js.map +1 -1
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +29 -3
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/fields.d.ts +3 -0
- package/dist/commands/fields.d.ts.map +1 -0
- package/dist/commands/fields.js +45 -0
- package/dist/commands/fields.js.map +1 -0
- package/dist/commands/write.d.ts +6 -1
- package/dist/commands/write.d.ts.map +1 -1
- package/dist/commands/write.js +7 -5
- package/dist/commands/write.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/crm/conditions.js +1 -1
- package/dist/crm/conditions.js.map +1 -1
- package/dist/crm/custom-query.d.ts +19 -0
- package/dist/crm/custom-query.d.ts.map +1 -0
- package/dist/crm/custom-query.js +79 -0
- package/dist/crm/custom-query.js.map +1 -0
- package/dist/crm/deal.d.ts +7 -3
- package/dist/crm/deal.d.ts.map +1 -1
- package/dist/crm/deal.js +3 -3
- package/dist/crm/deal.js.map +1 -1
- package/dist/crm/fields.d.ts +44 -0
- package/dist/crm/fields.d.ts.map +1 -0
- package/dist/crm/fields.js +143 -0
- package/dist/crm/fields.js.map +1 -0
- package/dist/crm/items.d.ts +9 -3
- package/dist/crm/items.d.ts.map +1 -1
- package/dist/crm/items.js +27 -6
- package/dist/crm/items.js.map +1 -1
- package/dist/crm/lead.d.ts +7 -3
- package/dist/crm/lead.d.ts.map +1 -1
- package/dist/crm/lead.js +3 -3
- package/dist/crm/lead.js.map +1 -1
- package/dist/crm/organization.d.ts +7 -3
- package/dist/crm/organization.d.ts.map +1 -1
- package/dist/crm/organization.js +3 -3
- package/dist/crm/organization.js.map +1 -1
- package/dist/crm/person.d.ts +7 -3
- package/dist/crm/person.d.ts.map +1 -1
- package/dist/crm/person.js +3 -3
- package/dist/crm/person.js.map +1 -1
- package/dist/crm/values.d.ts +12 -1
- package/dist/crm/values.d.ts.map +1 -1
- package/dist/crm/values.js +12 -2
- package/dist/crm/values.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +4 -1
- package/dist/mcp.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -1
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/bitrix24-cli/SKILL.md +8 -3
- package/dist/bundle/command-contract-OKQOE6G4.js +0 -30
- package/dist/bundle/first-screen-VQM4MTS7.js +0 -28
- package/dist/bundle/mcp-J5R5A65I.js +0 -87
- package/dist/bundle/server-5LE5LNUQ.js +0 -45
- package/dist/bundle/server-BU4VBM6S.js +0 -58
- package/dist/bundle/store-maintenance-command-UDVGEY2D.js +0 -47
- /package/dist/bundle/{chunk-4PDYYS5K.js → chunk-NDTJE6JQ.js} +0 -0
|
@@ -34,12 +34,12 @@ import {
|
|
|
34
34
|
union,
|
|
35
35
|
variant,
|
|
36
36
|
visibleControls
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SBW2Y7AZ.js";
|
|
38
38
|
import {
|
|
39
39
|
__name
|
|
40
40
|
} from "./chunk-ZVVMGPBJ.js";
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/domain/money.js
|
|
43
43
|
var CURRENCY_SCALES = {
|
|
44
44
|
AED: 2,
|
|
45
45
|
AMD: 2,
|
|
@@ -124,7 +124,7 @@ var quantityOf = /* @__PURE__ */ __name((text5) => {
|
|
|
124
124
|
}, "quantityOf");
|
|
125
125
|
var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
|
|
126
126
|
|
|
127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/domain/finance.js
|
|
128
128
|
var INVOICE_DIRECTIONS = ["receivable", "payable"];
|
|
129
129
|
var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
|
|
130
130
|
var MONEY_DIRECTIONS = ["in", "out"];
|
|
@@ -153,7 +153,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
|
|
|
153
153
|
var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
|
|
154
154
|
var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
|
|
155
155
|
|
|
156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/domain/orders.js
|
|
157
157
|
var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
|
|
158
158
|
var ORDER_PURPOSES = ["personal", "business", "client", "other"];
|
|
159
159
|
var orderLine = /* @__PURE__ */ __name((order) => {
|
|
@@ -163,7 +163,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
|
|
|
163
163
|
}, "orderLine");
|
|
164
164
|
var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
|
|
165
165
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
166
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
167
167
|
var QUERY_LIMITS = {
|
|
168
168
|
bytes: 8192,
|
|
169
169
|
depth: 32,
|
|
@@ -207,7 +207,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
207
207
|
__name(queryError, "queryError");
|
|
208
208
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
209
209
|
|
|
210
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
210
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
211
211
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
212
212
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
213
213
|
try {
|
|
@@ -352,7 +352,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
352
352
|
};
|
|
353
353
|
}, "dateRange");
|
|
354
354
|
|
|
355
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
355
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
356
356
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
357
357
|
var OPERATORS_BY_TYPE = {
|
|
358
358
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -431,7 +431,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
431
431
|
return [...own, ...relations, ...states];
|
|
432
432
|
}, "queryFieldsOf");
|
|
433
433
|
|
|
434
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
434
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
435
435
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
436
436
|
var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
437
437
|
var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -468,7 +468,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
468
468
|
return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
469
469
|
}, "queryDescription");
|
|
470
470
|
|
|
471
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
471
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
472
472
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
473
473
|
try {
|
|
474
474
|
run2();
|
|
@@ -543,7 +543,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
543
543
|
}, "validateQuery");
|
|
544
544
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
545
545
|
|
|
546
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
546
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
547
547
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
548
548
|
var reserved = /* @__PURE__ */ new Set([
|
|
549
549
|
"+",
|
|
@@ -852,7 +852,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text5) => {
|
|
|
852
852
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
853
853
|
}, "implicitTextTerms");
|
|
854
854
|
|
|
855
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
855
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
856
856
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
857
857
|
entity: registry.entity,
|
|
858
858
|
backend: registry.backend,
|
|
@@ -923,7 +923,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
923
923
|
details: [...SPAN, ...details]
|
|
924
924
|
})));
|
|
925
925
|
|
|
926
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
926
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
927
927
|
var wordsOf = /* @__PURE__ */ __name((text5) => text5.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
928
928
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
929
929
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -978,7 +978,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
978
978
|
}, "matches");
|
|
979
979
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
980
980
|
|
|
981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
982
982
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
983
983
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
984
984
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -1015,7 +1015,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text5) => {
|
|
|
1015
1015
|
}, "parseMeetingReference");
|
|
1016
1016
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text5) => formatMeetingReference(parseMeetingReference(text5)), "canonicalMeetingReference");
|
|
1017
1017
|
|
|
1018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
1019
1019
|
var text = string();
|
|
1020
1020
|
var count = pipe(number(), integer(), minValue(0));
|
|
1021
1021
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1080,7 +1080,7 @@ var MEETING_QUERY = {
|
|
|
1080
1080
|
})
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1084
1084
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1085
1085
|
const parsed = urlOf(url);
|
|
1086
1086
|
if (!parsed)
|
|
@@ -1114,7 +1114,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
}, "urlOf");
|
|
1116
1116
|
|
|
1117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1118
1118
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1119
1119
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1120
1120
|
var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
|
|
@@ -1147,7 +1147,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1147
1147
|
return kept;
|
|
1148
1148
|
}, "entryMetadata");
|
|
1149
1149
|
|
|
1150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
1151
1151
|
import { createHash } from "node:crypto";
|
|
1152
1152
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
1153
1153
|
reference: cue2.reference,
|
|
@@ -1161,7 +1161,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
1161
1161
|
text: cue2.text
|
|
1162
1162
|
})).digest("hex"), "meetingCueFingerprint");
|
|
1163
1163
|
|
|
1164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
1165
1165
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
1166
1166
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
1167
1167
|
if (entry.recurrenceEndsAt !== null)
|
|
@@ -1184,7 +1184,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
1184
1184
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
1185
1185
|
}, "entryInWindow");
|
|
1186
1186
|
|
|
1187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1188
1188
|
var text2 = string();
|
|
1189
1189
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1190
1190
|
var iso2 = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
@@ -1419,7 +1419,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1419
1419
|
};
|
|
1420
1420
|
}, "meetingHitsList");
|
|
1421
1421
|
|
|
1422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
1423
1423
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text5) => text5.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
1424
1424
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
1425
1425
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -1443,7 +1443,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
1443
1443
|
};
|
|
1444
1444
|
}, "validateMeetingParticipantSearch");
|
|
1445
1445
|
|
|
1446
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1446
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
1447
1447
|
var MeetingError = class extends CliError {
|
|
1448
1448
|
static {
|
|
1449
1449
|
__name(this, "MeetingError");
|
|
@@ -1575,7 +1575,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id3, accountId)
|
|
|
1575
1575
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
1576
1576
|
}, "meetingSummaryAnswer");
|
|
1577
1577
|
|
|
1578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
1579
1579
|
var timestamp = /* @__PURE__ */ __name((milliseconds) => {
|
|
1580
1580
|
if (!Number.isSafeInteger(milliseconds) || milliseconds < 0)
|
|
1581
1581
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -1671,7 +1671,7 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id3, options) => {
|
|
|
1671
1671
|
};
|
|
1672
1672
|
}, "exportMeeting");
|
|
1673
1673
|
|
|
1674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
1675
1675
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
1676
1676
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
1677
1677
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -1765,10 +1765,10 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
1765
1765
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
1766
1766
|
}, "paymentTitle");
|
|
1767
1767
|
|
|
1768
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1769
1769
|
import { createHash as createHash2 } from "node:crypto";
|
|
1770
1770
|
|
|
1771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
1772
1772
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
1773
1773
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
1774
1774
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -1779,7 +1779,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
1779
1779
|
return new Date(value).toISOString();
|
|
1780
1780
|
}, "meetingTimestamp");
|
|
1781
1781
|
|
|
1782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
1783
1783
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
1784
1784
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
1785
1785
|
throw new CliError("validation_error", message);
|
|
@@ -1952,7 +1952,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
1952
1952
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
1953
1953
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
1954
1954
|
|
|
1955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
1956
1956
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
1957
1957
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
1958
1958
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -1963,7 +1963,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
1963
1963
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
1964
1964
|
var meetingFindingFingerprint = findingFingerprint;
|
|
1965
1965
|
|
|
1966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
1967
1967
|
var text3 = string();
|
|
1968
1968
|
var identifier = pipe(text3, minLength(1));
|
|
1969
1969
|
var nullableText = nullable(text3);
|
|
@@ -2096,7 +2096,7 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
2096
2096
|
meeting_repair: repair
|
|
2097
2097
|
};
|
|
2098
2098
|
|
|
2099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
2100
2100
|
var EVENT_QUERY = defineQuery({
|
|
2101
2101
|
entity: "event",
|
|
2102
2102
|
backend: "sql",
|
|
@@ -2112,7 +2112,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
2112
2112
|
]
|
|
2113
2113
|
});
|
|
2114
2114
|
|
|
2115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
2116
2116
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now()) => {
|
|
2117
2117
|
const current = await store.meeting(details.meeting.id);
|
|
2118
2118
|
if (!current)
|
|
@@ -2155,7 +2155,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now())
|
|
|
2155
2155
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2156
2156
|
}, "linkEvent");
|
|
2157
2157
|
|
|
2158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
2159
2159
|
var context = {
|
|
2160
2160
|
command: "search meetings",
|
|
2161
2161
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -2218,7 +2218,7 @@ var MEETING_FIELDS = defineQuery({
|
|
|
2218
2218
|
});
|
|
2219
2219
|
var parseMeetingQuery = /* @__PURE__ */ __name((query) => validateQuery(parseLucene(query, { defaultField: "text", proximity: true, ...context }), MEETING_HIT_QUERY, context), "parseMeetingQuery");
|
|
2220
2220
|
|
|
2221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2222
2222
|
var LATIN_WORDS = {
|
|
2223
2223
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2224
2224
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2267,7 +2267,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2267
2267
|
return null;
|
|
2268
2268
|
}, "transcriptLanguage");
|
|
2269
2269
|
|
|
2270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2271
2271
|
var contentHash = /* @__PURE__ */ __name(async (text5) => {
|
|
2272
2272
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text5));
|
|
2273
2273
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2304,7 +2304,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2304
2304
|
return time;
|
|
2305
2305
|
}, "timestamp");
|
|
2306
2306
|
|
|
2307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2308
2308
|
var TranscriptTextError = class extends Error {
|
|
2309
2309
|
static {
|
|
2310
2310
|
__name(this, "TranscriptTextError");
|
|
@@ -2359,7 +2359,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2359
2359
|
return { header, lines };
|
|
2360
2360
|
}, "parseTranscriptText");
|
|
2361
2361
|
|
|
2362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2363
2363
|
var VttError = class extends Error {
|
|
2364
2364
|
static {
|
|
2365
2365
|
__name(this, "VttError");
|
|
@@ -2411,7 +2411,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2411
2411
|
return cues;
|
|
2412
2412
|
}, "parseVtt");
|
|
2413
2413
|
|
|
2414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2415
2415
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2416
2416
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2417
2417
|
for (const file of files) {
|
|
@@ -2444,10 +2444,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2444
2444
|
return report;
|
|
2445
2445
|
}, "importFiles");
|
|
2446
2446
|
|
|
2447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2448
2448
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2449
2449
|
|
|
2450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2451
2451
|
var nonempty = /* @__PURE__ */ __name((value, name) => {
|
|
2452
2452
|
if (typeof value !== "string" || !value.trim())
|
|
2453
2453
|
throw new CliError("validation_error", `${name} must be nonempty`);
|
|
@@ -2498,7 +2498,7 @@ var validateMeetingChange = /* @__PURE__ */ __name((change, create) => {
|
|
|
2498
2498
|
return Object.freeze(result);
|
|
2499
2499
|
}, "validateMeetingChange");
|
|
2500
2500
|
|
|
2501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
2502
2502
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
2503
2503
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
2504
2504
|
if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
|
|
@@ -2511,7 +2511,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
2511
2511
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
2512
2512
|
}, "validateMeetingPassage");
|
|
2513
2513
|
|
|
2514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
2515
2515
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
2516
2516
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
2517
2517
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -2536,7 +2536,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
2536
2536
|
return { ...input, limit, maxReadBytes };
|
|
2537
2537
|
}, "validateMeetingPreparationContext");
|
|
2538
2538
|
|
|
2539
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
2540
2540
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2541
2541
|
var id = pipe(string(), minLength(1));
|
|
2542
2542
|
var meetingProjectEvidence = strictObject({
|
|
@@ -2657,7 +2657,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
2657
2657
|
};
|
|
2658
2658
|
}, "meetingProjectEvidenceAnswer");
|
|
2659
2659
|
|
|
2660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
2661
2661
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
2662
2662
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
2663
2663
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -2677,7 +2677,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
2677
2677
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
2678
2678
|
}, "validateMeetingHitSearch");
|
|
2679
2679
|
|
|
2680
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
2681
2681
|
var ids = {
|
|
2682
2682
|
meeting_id: "meetingId",
|
|
2683
2683
|
identity_id: "participantIdentityId",
|
|
@@ -2768,7 +2768,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
2768
2768
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
2769
2769
|
}, "prepareMeetingProjectEvidence");
|
|
2770
2770
|
|
|
2771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
2772
2772
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
2773
2773
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
2774
2774
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -2776,7 +2776,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
2776
2776
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
2777
2777
|
}, "readMeetingProjectEvidence");
|
|
2778
2778
|
|
|
2779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
2780
2780
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
2781
2781
|
const { identityExternalId, ...fields } = p;
|
|
2782
2782
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -2915,7 +2915,7 @@ unlinked`, format)],
|
|
|
2915
2915
|
return report;
|
|
2916
2916
|
}, "pull");
|
|
2917
2917
|
|
|
2918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
2919
2919
|
var text4 = string();
|
|
2920
2920
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
2921
2921
|
var id2 = pipe(number(), integer(), minValue(1));
|
|
@@ -3109,10 +3109,10 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3109
3109
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3110
3110
|
}), "eventItem");
|
|
3111
3111
|
|
|
3112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
3113
3113
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
3114
3114
|
|
|
3115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
3116
3116
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
3117
3117
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3118
3118
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -3142,14 +3142,14 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
3142
3142
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
3143
3143
|
}, "validateMeetingRelatedHistory");
|
|
3144
3144
|
|
|
3145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
3146
3146
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
3147
3147
|
|
|
3148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
3149
3149
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
3150
3150
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
3151
3151
|
|
|
3152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
3153
3153
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
3154
3154
|
input.signal?.throwIfAborted();
|
|
3155
3155
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -3170,10 +3170,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
3170
3170
|
return { ...input, limit, maxReadBytes };
|
|
3171
3171
|
}, "validateMeetingSeriesHistory");
|
|
3172
3172
|
|
|
3173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
3174
3174
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
3175
3175
|
|
|
3176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
3177
3177
|
function invalid4(field, response = false) {
|
|
3178
3178
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
3179
3179
|
}
|
|
@@ -3202,7 +3202,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
3202
3202
|
cursorDetails(value);
|
|
3203
3203
|
}, "validateMeetingSeriesInventoryCursor");
|
|
3204
3204
|
|
|
3205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
3206
3206
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
3207
3207
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
3208
3208
|
const zone = timeZone ?? "UTC";
|
|
@@ -3337,7 +3337,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
3337
3337
|
};
|
|
3338
3338
|
}, "aggregateMeetingStats");
|
|
3339
3339
|
|
|
3340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/domain/tags.js
|
|
3341
3341
|
var TAG_TYPES = ["chat", "contact", "message", "task"];
|
|
3342
3342
|
var TAG = /^[a-z0-9-]{1,32}$/;
|
|
3343
3343
|
var tagOf = /* @__PURE__ */ __name((value) => {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
processStreams,
|
|
9
9
|
projectFields,
|
|
10
10
|
singleLine
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SBW2Y7AZ.js";
|
|
12
12
|
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.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
17
17
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
18
18
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
19
19
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -409,7 +409,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
409
409
|
}
|
|
410
410
|
}, "assertRetentionEvidenceRead");
|
|
411
411
|
|
|
412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
413
413
|
var named = /* @__PURE__ */ __name((work) => {
|
|
414
414
|
try {
|
|
415
415
|
return work();
|
|
@@ -436,7 +436,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
436
436
|
return projectFields(value, fields);
|
|
437
437
|
}), "projectFields");
|
|
438
438
|
|
|
439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
440
440
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
441
441
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
442
442
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -472,7 +472,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
472
472
|
return value;
|
|
473
473
|
}, "atDetail");
|
|
474
474
|
|
|
475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/output.js
|
|
476
476
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
477
477
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
478
478
|
if (other)
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OWILUBCI.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SBW2Y7AZ.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.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -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-O7FVOICH.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MY6FAZRA.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
calledTools,
|
|
21
21
|
httpActivityFile,
|
|
22
22
|
httpLock
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JB7OXYAU.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SBW2Y7AZ.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
32
32
|
import { randomUUID } from "node:crypto";
|
|
33
33
|
var MCP_PATH = "/mcp";
|
|
34
34
|
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.590.0_@wirecat+cli-base@0.80.1_commander@15.0.0_esbuild@0.28.2_type_4c7167080feb2ba6356a64767981f5fd/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|