@wirecat/zoom-cli 0.56.0 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bin/zm.js +35 -5
- package/dist/bundle/all-profiles-RS5IWIGR.js +25 -0
- package/dist/bundle/answer-policy-R7VZMCGE.js +96 -0
- package/dist/bundle/anthropic-5QHQR4WF.js +70 -0
- package/dist/bundle/app-server-7LANSZGE.js +232 -0
- package/dist/bundle/bun-O6RL6LRQ.js +169 -0
- package/dist/bundle/bun-sqlite-PEJM6CS4.js +69 -0
- package/dist/bundle/chunk-24DLFGES.js +97 -0
- package/dist/bundle/chunk-27P22POE.js +1109 -0
- package/dist/bundle/chunk-3SCTDFNO.js +3398 -0
- package/dist/bundle/chunk-3SERIWJD.js +36139 -0
- package/dist/bundle/chunk-4AURKUDZ.js +60 -0
- package/dist/bundle/chunk-4NGLRHWO.js +24 -0
- package/dist/bundle/chunk-5D4AEUVA.js +24783 -0
- package/dist/bundle/chunk-5DVW77VC.js +789 -0
- package/dist/bundle/chunk-6CYLVFXM.js +9 -0
- package/dist/bundle/chunk-6FL25KC5.js +264 -0
- package/dist/bundle/chunk-7D2CD3E3.js +193 -0
- package/dist/bundle/chunk-7GVNQOV6.js +17 -0
- package/dist/bundle/chunk-7H3ZRDLW.js +630 -0
- package/dist/bundle/chunk-7Z4ANTAK.js +1095 -0
- package/dist/bundle/chunk-A6323R5P.js +22 -0
- package/dist/bundle/chunk-ADLS6FVG.js +24600 -0
- package/dist/bundle/chunk-AIXLOMH4.js +63 -0
- package/dist/bundle/chunk-AQDWGJZT.js +188 -0
- package/dist/bundle/chunk-B32SF7J3.js +18 -0
- package/dist/bundle/chunk-BAQLQIMI.js +1938 -0
- package/dist/bundle/chunk-BGILD4CI.js +1109 -0
- package/dist/bundle/chunk-BXZ6WSVF.js +100 -0
- package/dist/bundle/chunk-CTGI4ES2.js +138 -0
- package/dist/bundle/chunk-CVIKKIGE.js +76 -0
- package/dist/bundle/chunk-DDYR6DYL.js +78 -0
- package/dist/bundle/chunk-DFDN6AUB.js +21 -0
- package/dist/bundle/chunk-DP5DX45H.js +151 -0
- package/dist/bundle/chunk-DXKVEOSS.js +53 -0
- package/dist/bundle/chunk-DXZTLB24.js +120 -0
- package/dist/bundle/chunk-G27MRA24.js +82 -0
- package/dist/bundle/chunk-HTQTIKWP.js +928 -0
- package/dist/bundle/chunk-IYAGQXED.js +433 -0
- package/dist/bundle/chunk-K76WFW4I.js +124 -0
- package/dist/bundle/chunk-KVHRHBLY.js +884 -0
- package/dist/bundle/chunk-L2UIJDWB.js +31 -0
- package/dist/bundle/chunk-L3VS3H34.js +482 -0
- package/dist/bundle/chunk-MBT7GP7K.js +1970 -0
- package/dist/bundle/chunk-MFS52LTZ.js +570 -0
- package/dist/bundle/chunk-MMT46EN4.js +29 -0
- package/dist/bundle/chunk-MNUTWGSA.js +6094 -0
- package/dist/bundle/chunk-N7GAQ27N.js +82 -0
- package/dist/bundle/chunk-NDXAZB5Z.js +409 -0
- package/dist/bundle/chunk-NOKFJJPA.js +1028 -0
- package/dist/bundle/chunk-NW7IMGRR.js +6848 -0
- package/dist/bundle/chunk-O5EHUB2V.js +2 -0
- package/dist/bundle/chunk-OBZWUNO4.js +160 -0
- package/dist/bundle/chunk-PACC5N6T.js +240 -0
- package/dist/bundle/chunk-PF25S7L4.js +422 -0
- package/dist/bundle/chunk-PKTFZAXG.js +48 -0
- package/dist/bundle/chunk-PNBEREOU.js +35626 -0
- package/dist/bundle/chunk-POOGFSRA.js +385 -0
- package/dist/bundle/chunk-PP3JGQQE.js +3517 -0
- package/dist/bundle/chunk-Q2Z3VCM4.js +2 -0
- package/dist/bundle/chunk-QCFHL4ES.js +45 -0
- package/dist/bundle/chunk-QFGBMS67.js +492 -0
- package/dist/bundle/chunk-RUP467ZX.js +948 -0
- package/dist/bundle/chunk-RXDIG23Z.js +166 -0
- package/dist/bundle/chunk-SIA7HJE2.js +8192 -0
- package/dist/bundle/chunk-SL3SXQZ5.js +100 -0
- package/dist/bundle/chunk-SV5L36WK.js +19 -0
- package/dist/bundle/chunk-T6AAM7UT.js +846 -0
- package/dist/bundle/chunk-U6QW67SU.js +18673 -0
- package/dist/bundle/chunk-UKR7KH3H.js +288 -0
- package/dist/bundle/chunk-UOFOMU3T.js +836 -0
- package/dist/bundle/chunk-URO44C5T.js +3570 -0
- package/dist/bundle/chunk-UXM7I35J.js +281 -0
- package/dist/bundle/chunk-UYJUTZTT.js +73 -0
- package/dist/bundle/chunk-VOAVOK4I.js +1146 -0
- package/dist/bundle/chunk-VSUY7PDW.js +192 -0
- package/dist/bundle/chunk-VYUSEJE4.js +98 -0
- package/dist/bundle/chunk-XFCSPOLZ.js +25 -0
- package/dist/bundle/chunk-XT7XVPEM.js +538 -0
- package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
- package/dist/bundle/chunk-YIFIY7ZE.js +58 -0
- package/dist/bundle/chunk-YIMI6O7R.js +5292 -0
- package/dist/bundle/chunk-YJRMMZI5.js +275 -0
- package/dist/bundle/chunk-YSHSCBPM.js +2315 -0
- package/dist/bundle/chunk-ZC5UXEIH.js +215 -0
- package/dist/bundle/chunk-ZHXIXDH5.js +161 -0
- package/dist/bundle/chunk-ZTOAAYFV.js +122 -0
- package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
- package/dist/bundle/cli-IQTASP44.js +831 -0
- package/dist/bundle/command-contract-WHZPF7NA.js +38 -0
- package/dist/bundle/config-IP5SGHKN.js +79 -0
- package/dist/bundle/dist-WT73DF46.js +136 -0
- package/dist/bundle/dist-XUFQCJXW.js +7577 -0
- package/dist/bundle/echarts-LD3AI55P.js +42501 -0
- package/dist/bundle/embed-XEMH4LNX.js +35 -0
- package/dist/bundle/embedder-ZCYKSKAE.js +108 -0
- package/dist/bundle/first-run-LGYDLIUM.js +23 -0
- package/dist/bundle/first-screen-LYQKPNF4.js +36 -0
- package/dist/bundle/folders-5ZBUQHAM.js +13 -0
- package/dist/bundle/instructions-RZMSW3OC.js +11 -0
- package/dist/bundle/main-NKY3JGXY.js +130 -0
- package/dist/bundle/mcp-7OXUHLTO.js +189 -0
- package/dist/bundle/mcp-OQBZXELQ.js +165 -0
- package/dist/bundle/mcp-VISEXTVC.js +92 -0
- package/dist/bundle/meetings-XPBHVZAU.js +215 -0
- package/dist/bundle/node-P4E63KXA.js +2340 -0
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/node-ZRLYQL7J.js +176 -0
- package/dist/bundle/node-sqlite-BBEDYBWO.js +45 -0
- package/dist/bundle/oauth-UHVRGKZU.js +17 -0
- package/dist/bundle/open-J4FCAUAJ.js +19 -0
- package/dist/bundle/output-file-SXV2ANW7.js +63 -0
- package/dist/bundle/process-LL77573L.js +91 -0
- package/dist/bundle/program-EPMIJCGA.js +5845 -0
- package/dist/bundle/prompt-LUUMQTMY.js +12 -0
- package/dist/bundle/recognize-EMHQX4XF.js +190 -0
- package/dist/bundle/remote-ZXS6D7VB.js +26 -0
- package/dist/bundle/rerank-WP7RKZNB.js +49 -0
- package/dist/bundle/run-log-GS2L66G6.js +111 -0
- package/dist/bundle/serve-L6KLLXK2.js +19 -0
- package/dist/bundle/server-NOFYENP5.js +53 -0
- package/dist/bundle/server-P5TXAPBY.js +66 -0
- package/dist/bundle/services-SPOEWVK3.js +330 -0
- package/dist/bundle/speech-6OBAKMND.js +44 -0
- package/dist/bundle/state-HN5EJKXQ.js +33 -0
- package/dist/bundle/store-LEU3M6IN.js +124 -0
- package/dist/bundle/store-ZP2URKET.js +141 -0
- package/dist/bundle/store-connection-I53XZ2TS.js +76 -0
- package/dist/bundle/store-maintenance-command-PSCHEHHY.js +54 -0
- package/dist/bundle/streaming-AK6Q2ZGQ.js +15 -0
- package/dist/bundle/tokens-CCM3D4ZT.js +17 -0
- package/dist/bundle/zm.js +8 -0
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +29 -17
- package/dist/contract-overrides.js.map +1 -1
- package/dist/mcp-command.d.ts +3 -2
- package/dist/mcp-command.d.ts.map +1 -1
- package/dist/mcp-command.js +62 -10
- package/dist/mcp-command.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +1 -0
- package/dist/program-bindings.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -5
- package/skills/zoom-cli/SKILL.md +2 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
array,
|
|
5
|
+
integer,
|
|
6
|
+
isoTime,
|
|
7
|
+
isoTimestamp,
|
|
8
|
+
minLength,
|
|
9
|
+
minValue,
|
|
10
|
+
nullable,
|
|
11
|
+
number,
|
|
12
|
+
optional,
|
|
13
|
+
picklist,
|
|
14
|
+
pipe,
|
|
15
|
+
record,
|
|
16
|
+
reference,
|
|
17
|
+
strictObject,
|
|
18
|
+
string,
|
|
19
|
+
unknown
|
|
20
|
+
} from "./chunk-YIMI6O7R.js";
|
|
21
|
+
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
23
|
+
var text = string();
|
|
24
|
+
var id = pipe(string(), minLength(1));
|
|
25
|
+
var time = isoTime;
|
|
26
|
+
var zonedTime = pipe(string(), isoTimestamp("an ISO 8601 time with a zone"));
|
|
27
|
+
var count = pipe(number(), integer(), minValue(0));
|
|
28
|
+
var untrusted = optional(array(text));
|
|
29
|
+
var providerMetadata = optional(record(string(), unknown()));
|
|
30
|
+
var author = strictObject({
|
|
31
|
+
type: picklist(["person", "bot"]),
|
|
32
|
+
id,
|
|
33
|
+
name: nullable(text)
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
37
|
+
var link = {
|
|
38
|
+
target_text: nullable(text),
|
|
39
|
+
kind: text,
|
|
40
|
+
anchor: nullable(text)
|
|
41
|
+
};
|
|
42
|
+
var note = strictObject({
|
|
43
|
+
ref: reference,
|
|
44
|
+
kind: optional(picklist(["note", "document"])),
|
|
45
|
+
provider: optional(text),
|
|
46
|
+
account: optional(text),
|
|
47
|
+
url: optional(text),
|
|
48
|
+
id,
|
|
49
|
+
source: picklist(["file", "internal"]),
|
|
50
|
+
folder_id: nullable(id),
|
|
51
|
+
path: nullable(text),
|
|
52
|
+
title: nullable(text),
|
|
53
|
+
text,
|
|
54
|
+
/** Raises on every edit; `notes edit --revision` takes it, so an edit made meanwhile is refused, not lost. */
|
|
55
|
+
revision: count,
|
|
56
|
+
/** A file's front matter as parsed, keys as the file writes them; null for a note without it. */
|
|
57
|
+
front_matter: nullable(record(string(), unknown())),
|
|
58
|
+
/** The hash of a file's bytes when last imported; null for a note written here. */
|
|
59
|
+
content_hash: nullable(text),
|
|
60
|
+
/** The file the note was exported to, where that is known; null otherwise. */
|
|
61
|
+
export_path: nullable(text),
|
|
62
|
+
created_at: time,
|
|
63
|
+
/** When the store's copy last changed. */
|
|
64
|
+
updated_at: time,
|
|
65
|
+
deleted_at: optional(nullable(time)),
|
|
66
|
+
tags: optional(array(text)),
|
|
67
|
+
/** The first line holding a word of a search. */
|
|
68
|
+
excerpt: optional(text),
|
|
69
|
+
/** Which halves of a search found it. */
|
|
70
|
+
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
71
|
+
/** What the note links to; `to` is null while the name written matches nothing stored. */
|
|
72
|
+
links: optional(array(strictObject({ to: nullable(reference), ...link }))),
|
|
73
|
+
/** The notes and messages that link to it. */
|
|
74
|
+
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
78
|
+
var organization = strictObject({
|
|
79
|
+
id,
|
|
80
|
+
ref: reference,
|
|
81
|
+
kind: picklist(["company", "team", "family", "community"]),
|
|
82
|
+
name: text,
|
|
83
|
+
scope: picklist(["personal", "work"]),
|
|
84
|
+
created_at: time
|
|
85
|
+
});
|
|
86
|
+
var project = strictObject({
|
|
87
|
+
id,
|
|
88
|
+
ref: reference,
|
|
89
|
+
key: text,
|
|
90
|
+
name: text,
|
|
91
|
+
kind: picklist(["project", "inbox"]),
|
|
92
|
+
type: picklist(["work", "client", "personal", "oss", "other"]),
|
|
93
|
+
organization_id: nullable(id),
|
|
94
|
+
scope: picklist(["personal", "work"]),
|
|
95
|
+
created_at: time
|
|
96
|
+
});
|
|
97
|
+
var reminder = strictObject({
|
|
98
|
+
id,
|
|
99
|
+
task: text,
|
|
100
|
+
due_at: time,
|
|
101
|
+
timezone: text,
|
|
102
|
+
state: picklist(["pending", "leased", "delivered", "cancelled"]),
|
|
103
|
+
revision: number(),
|
|
104
|
+
receipt: nullable(text)
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
export {
|
|
108
|
+
text,
|
|
109
|
+
id,
|
|
110
|
+
time,
|
|
111
|
+
zonedTime,
|
|
112
|
+
count,
|
|
113
|
+
untrusted,
|
|
114
|
+
providerMetadata,
|
|
115
|
+
author,
|
|
116
|
+
note,
|
|
117
|
+
organization,
|
|
118
|
+
project,
|
|
119
|
+
reminder
|
|
120
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
CliError
|
|
5
|
+
} from "./chunk-YIMI6O7R.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
|
+
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
|
+
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
|
+
var policies = /* @__PURE__ */ new WeakMap();
|
|
14
|
+
var inputPolicy = /* @__PURE__ */ __name((input) => policies.get(input) ?? {}, "inputPolicy");
|
|
15
|
+
var provideInputPolicy = /* @__PURE__ */ __name((input, policy) => {
|
|
16
|
+
const previous = policies.get(input);
|
|
17
|
+
policies.set(input, policy);
|
|
18
|
+
return () => {
|
|
19
|
+
if (previous)
|
|
20
|
+
policies.set(input, previous);
|
|
21
|
+
else
|
|
22
|
+
policies.delete(input);
|
|
23
|
+
};
|
|
24
|
+
}, "provideInputPolicy");
|
|
25
|
+
var bufferedInput = /* @__PURE__ */ __name((input, options = {}) => {
|
|
26
|
+
const policy = inputPolicy(input);
|
|
27
|
+
const maxBytes = options.maxBytes ?? policy.maxBytes ?? MAX_BUFFERED_INPUT;
|
|
28
|
+
const signals = [options.signal, policy.signal].filter((one) => one !== void 0);
|
|
29
|
+
const signal = signals.length ? AbortSignal.any(signals) : void 0;
|
|
30
|
+
const state = input;
|
|
31
|
+
if (state.readableEnded)
|
|
32
|
+
return Promise.resolve(Buffer.alloc(0));
|
|
33
|
+
if (state.destroyed)
|
|
34
|
+
return Promise.reject(new CliError("validation_error", "input closed before EOF", { reason: "input.closed" }));
|
|
35
|
+
return new Promise((resolve, reject) => {
|
|
36
|
+
const chunks = [];
|
|
37
|
+
let bytes = 0;
|
|
38
|
+
const cleanup = /* @__PURE__ */ __name(() => {
|
|
39
|
+
input.off("data", data).off("end", end).off("error", error).off("close", closed);
|
|
40
|
+
signal?.removeEventListener("abort", aborted);
|
|
41
|
+
input.pause();
|
|
42
|
+
}, "cleanup");
|
|
43
|
+
const error = /* @__PURE__ */ __name((cause) => {
|
|
44
|
+
cleanup();
|
|
45
|
+
reject(cause);
|
|
46
|
+
}, "error");
|
|
47
|
+
const aborted = /* @__PURE__ */ __name(() => error(new CliError("cancelled", "input cancelled", { retryable: false })), "aborted");
|
|
48
|
+
const closed = /* @__PURE__ */ __name(() => error(new CliError("validation_error", "input closed before EOF", { reason: "input.closed" })), "closed");
|
|
49
|
+
const end = /* @__PURE__ */ __name(() => {
|
|
50
|
+
cleanup();
|
|
51
|
+
resolve(Buffer.concat(chunks, bytes));
|
|
52
|
+
}, "end");
|
|
53
|
+
const data = /* @__PURE__ */ __name((chunk) => {
|
|
54
|
+
const buffer = Buffer.from(chunk);
|
|
55
|
+
bytes += buffer.length;
|
|
56
|
+
if (bytes > maxBytes) {
|
|
57
|
+
error(new CliError("validation_error", `buffered input exceeds ${maxBytes} bytes \u2014 use a smaller input or --max-input-bytes`, {
|
|
58
|
+
reason: "input.too-large",
|
|
59
|
+
max_bytes: maxBytes,
|
|
60
|
+
retryable: false
|
|
61
|
+
}));
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
chunks.push(buffer);
|
|
65
|
+
}, "data");
|
|
66
|
+
if (signal?.aborted) {
|
|
67
|
+
aborted();
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
input.on("data", data).once("end", end).once("error", error).once("close", closed);
|
|
71
|
+
signal?.addEventListener("abort", aborted, { once: true });
|
|
72
|
+
input.resume();
|
|
73
|
+
});
|
|
74
|
+
}, "bufferedInput");
|
|
75
|
+
|
|
76
|
+
export {
|
|
77
|
+
MAX_BUFFERED_INPUT,
|
|
78
|
+
MAX_SECRET_INPUT,
|
|
79
|
+
inputPolicy,
|
|
80
|
+
provideInputPolicy,
|
|
81
|
+
bufferedInput
|
|
82
|
+
};
|