@wirecat/notion-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 +54 -0
- package/README.md +9 -2
- package/contracts/wirecat.json +97 -0
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-JGYLQZ5C.js → all-profiles-4IONYZB6.js} +10 -10
- package/dist/bundle/{anthropic-S2VSMIKQ.js → anthropic-OXF74J4P.js} +6 -6
- package/dist/bundle/{app-server-SASYDBCA.js → app-server-M2VF6ABM.js} +59 -59
- package/dist/bundle/{bun-LU5LP3JI.js → bun-DLA6QRLL.js} +2 -2
- package/dist/bundle/{bun-sqlite-JBSINB4O.js → bun-sqlite-F4BYLW3F.js} +7 -7
- package/dist/bundle/{chunk-4HWJOU7N.js → chunk-2MHMKNWD.js} +1 -1
- package/dist/bundle/{chunk-SHJQ6JKG.js → chunk-4KUJTSHG.js} +2 -2
- package/dist/bundle/{chunk-SWAOWNKW.js → chunk-4TQVZXOV.js} +3 -3
- package/dist/bundle/{chunk-ODBZNSZ6.js → chunk-5LBJNTEJ.js} +6 -6
- package/dist/bundle/{chunk-SZOVLP44.js → chunk-5UA2TYMI.js} +2 -2
- package/dist/bundle/{chunk-22QQUKWA.js → chunk-5XP4KQ2F.js} +1 -1
- package/dist/bundle/{chunk-4IPURN72.js → chunk-6GN7KU7X.js} +9 -9
- package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-6JBLIQQN.js} +1 -1
- package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-OTV53F34.js → chunk-7NGFGFE5.js} +9 -60
- package/dist/bundle/{chunk-VBHETQVV.js → chunk-7NVPM55S.js} +1908 -1013
- package/dist/bundle/{chunk-Z56QFOBR.js → chunk-7YZPBAQX.js} +1 -1
- package/dist/bundle/{chunk-3AL7QUS3.js → chunk-AYU5TFDU.js} +20 -20
- package/dist/bundle/{chunk-FPY6EJ7B.js → chunk-BEPFGITI.js} +55 -55
- package/dist/bundle/{chunk-NQWV4WQO.js → chunk-CDGZZNGY.js} +6 -6
- package/dist/bundle/{chunk-DH5PRHT4.js → chunk-CIVXTBJY.js} +13 -13
- package/dist/bundle/{chunk-B26TQZKZ.js → chunk-COH7OEER.js} +14 -13
- package/dist/bundle/{chunk-XF26XKTS.js → chunk-D6RCRBDH.js} +2 -2
- package/dist/bundle/{chunk-YMYUBZWT.js → chunk-EQPAZ33O.js} +17 -17
- package/dist/bundle/{chunk-LAYPFBOM.js → chunk-EY6S7FV3.js} +6 -6
- package/dist/bundle/chunk-FEMHUSGO.js +88 -0
- package/dist/bundle/{chunk-VCIALTEM.js → chunk-FIHXADRF.js} +14 -4
- package/dist/bundle/{chunk-FWVBPRL4.js → chunk-FSJHASRQ.js} +79 -62
- package/dist/bundle/{chunk-TPX2M45D.js → chunk-GBFEEHQC.js} +10 -10
- package/dist/bundle/{chunk-5IYKVRH2.js → chunk-GCCPFKSU.js} +434 -343
- package/dist/bundle/{chunk-3Z4YTSRY.js → chunk-GK4GLPG2.js} +3 -3
- package/dist/bundle/{chunk-GZOUFX3C.js → chunk-GSNE7OB4.js} +4 -4
- package/dist/bundle/{chunk-TSDBSIFM.js → chunk-HTKSCSJU.js} +4 -4
- package/dist/bundle/{chunk-5NFK5EM2.js → chunk-IJMFG7HB.js} +7 -7
- package/dist/bundle/{chunk-D7QSEEYW.js → chunk-JIRRF6BM.js} +4 -4
- package/dist/bundle/{chunk-5RSC54NA.js → chunk-JODE2XED.js} +25 -25
- package/dist/bundle/{chunk-RV64YUQX.js → chunk-K5I64ZVI.js} +9 -9
- package/dist/bundle/{chunk-AOCUKEAX.js → chunk-KL3P5TQK.js} +4 -4
- package/dist/bundle/{chunk-2LWO3PDX.js → chunk-L62XTC7N.js} +11 -11
- package/dist/bundle/{chunk-LLG2POQ7.js → chunk-L6H7PY4X.js} +3 -3
- package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-WF4D56CA.js → chunk-M2EEIYBU.js} +2 -2
- package/dist/bundle/{chunk-MZU2YFBZ.js → chunk-M6DGZ2O6.js} +8 -8
- package/dist/bundle/{chunk-FXEJY4OL.js → chunk-MRA62W5K.js} +233 -167
- package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-WCSOH4JS.js → chunk-OCDJ4FFA.js} +4 -4
- package/dist/bundle/{chunk-2F4QQ7WB.js → chunk-OI5DWZJG.js} +3 -3
- package/dist/bundle/{chunk-EUIVXFLJ.js → chunk-P3P6DA6K.js} +6 -6
- package/dist/bundle/{chunk-MY742GAD.js → chunk-QX3TPFEX.js} +37 -37
- package/dist/bundle/{chunk-6RA3EABS.js → chunk-R6SDRSZK.js} +62 -32
- package/dist/bundle/{chunk-5QIQEUOG.js → chunk-RMJMID5D.js} +8 -8
- package/dist/bundle/{chunk-BNPTZ5ZB.js → chunk-SGBS5QCU.js} +4 -4
- package/dist/bundle/{chunk-YNTLT3Z3.js → chunk-T5UNSFES.js} +8 -8
- package/dist/bundle/{chunk-M7S2NDWB.js → chunk-TFNRCCGR.js} +4 -4
- package/dist/bundle/{chunk-B7ON6KPT.js → chunk-TJCPTRYD.js} +7 -7
- package/dist/bundle/{chunk-KM6WHPHI.js → chunk-TXONV3HW.js} +2 -2
- package/dist/bundle/{chunk-NOQ7B5N7.js → chunk-TZ2QJ53V.js} +2 -2
- package/dist/bundle/{chunk-KGERXYTV.js → chunk-UKE3CGHK.js} +1 -1
- package/dist/bundle/{chunk-6EVKHZKN.js → chunk-UROEWCOG.js} +3 -3
- package/dist/bundle/{chunk-WJHZMR2W.js → chunk-WHJWURZB.js} +6 -6
- package/dist/bundle/{chunk-G3EZFRSS.js → chunk-WU3XHGOB.js} +112 -42
- package/dist/bundle/{chunk-2F6VO5HA.js → chunk-WZEEEQGC.js} +3 -3
- package/dist/bundle/{chunk-M3KB25D3.js → chunk-XCTOCVMW.js} +14 -14
- package/dist/bundle/{chunk-FT3LN3HP.js → chunk-Y5LAJWR5.js} +1 -1
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-HL52XXZX.js → chunk-YFWLHTNO.js} +1 -1
- package/dist/bundle/{chunk-P7CUM5IB.js → chunk-YGCI3DHS.js} +1 -1
- package/dist/bundle/{chunk-KCLOUUYF.js → chunk-Z53LYX4M.js} +3 -3
- package/dist/bundle/{chunk-ZKAEZXUP.js → chunk-ZC6ZQQ55.js} +36 -37
- package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
- package/dist/bundle/{command-server-entry-UFSG7KRO.js → command-server-entry-2SORMVRM.js} +27 -27
- package/dist/bundle/{decode-7LLWTSPT.js → decode-5O7IEFPN.js} +6 -6
- package/dist/bundle/{dispatch-2GY6JIJH.js → dispatch-YHQX6FEJ.js} +8 -8
- package/dist/bundle/{echarts-BXX4OQWC.js → echarts-ARLMVQC7.js} +2 -2
- package/dist/bundle/{embed-JXFNBTKH.js → embed-FUDUKQ3K.js} +7 -7
- package/dist/bundle/{embedder-57YZ44KO.js → embedder-HDRV7GX3.js} +10 -10
- package/dist/bundle/{failure-MYT4HPE3.js → failure-JHXICWIL.js} +3 -3
- package/dist/bundle/first-run-BGEFTXOE.js +29 -0
- package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
- package/dist/bundle/{instructions-2VECIDXF.js → instructions-MEFIKCDI.js} +1 -1
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
- package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
- package/dist/bundle/{meeting-semantic-ETN3A4BJ.js → meeting-semantic-R4CSLVRG.js} +7 -7
- package/dist/bundle/{node-MPEQSFI3.js → node-MAQALPLA.js} +2 -2
- package/dist/bundle/{node-sqlite-WA32MYSJ.js → node-sqlite-J7IJYNBO.js} +8 -8
- package/dist/bundle/notion.js +14 -14
- package/dist/bundle/{oauth-IAFZG3IR.js → oauth-AMV4YGJD.js} +8 -8
- package/dist/bundle/{open-M3JQUC5G.js → open-AB27MTGR.js} +6 -6
- package/dist/bundle/{openai-HXUEHUSD.js → openai-D77MU5XV.js} +17 -17
- package/dist/bundle/{process-F6TKXWWA.js → process-SIOWTRJ6.js} +1 -1
- package/dist/bundle/{program-Y7JAB6TG.js → program-7K34KI27.js} +3230 -1722
- package/dist/bundle/{prompt-IMUQLZD2.js → prompt-W77YDHA6.js} +6 -6
- package/dist/bundle/{recognize-2MZAYHAA.js → recognize-3JAXQQ36.js} +5 -5
- package/dist/bundle/{remote-OV4LB6VR.js → remote-PSOJXCXO.js} +11 -11
- package/dist/bundle/{rerank-ZIULUS34.js → rerank-EE44ZTGL.js} +8 -8
- package/dist/bundle/{schemas-DIVZS6TU.js → schemas-LBYUMBC6.js} +2 -2
- package/dist/bundle/{serve-YU7QBP6L.js → serve-XJMGAMFW.js} +10 -10
- package/dist/bundle/{server-LGMNONSB.js → server-ASU6CP5R.js} +51 -51
- package/dist/bundle/server-WSPQ5EOA.js +72 -0
- package/dist/bundle/{services-5WY4DCPJ.js → services-PT4PA4J6.js} +46 -39
- package/dist/bundle/{sqlite-runtime-5MXZDETH.js → sqlite-runtime-YHXRTVXE.js} +7 -7
- package/dist/bundle/{state-LWMZH2KI.js → state-T6ZKFWGD.js} +7 -7
- package/dist/bundle/{store-EPZYV4VW.js → store-3MUCZEI3.js} +20 -18
- package/dist/bundle/{store-QE6FEIZD.js → store-E5EE25FY.js} +24 -20
- package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +13 -4
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/comments.d.ts +4 -0
- package/dist/commands/comments.d.ts.map +1 -0
- package/dist/commands/comments.js +80 -0
- package/dist/commands/comments.js.map +1 -0
- package/dist/commands/documents.d.ts +8 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +74 -1
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/files.d.ts +4 -0
- package/dist/commands/files.d.ts.map +1 -0
- package/dist/commands/files.js +57 -0
- package/dist/commands/files.js.map +1 -0
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +50 -9
- package/dist/commands/library.js.map +1 -1
- package/dist/commands/writing.d.ts +32 -0
- package/dist/commands/writing.d.ts.map +1 -0
- package/dist/commands/writing.js +126 -0
- package/dist/commands/writing.js.map +1 -0
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +76 -5
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/generated/types.d.ts +485 -375
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/notion/errors.d.ts +5 -0
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +9 -0
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/notion.d.ts +38 -0
- package/dist/notion/notion.d.ts.map +1 -1
- package/dist/notion/notion.js +43 -0
- package/dist/notion/notion.js.map +1 -1
- package/dist/notion/writes.d.ts +78 -0
- package/dist/notion/writes.d.ts.map +1 -0
- package/dist/notion/writes.js +185 -0
- package/dist/notion/writes.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +4 -0
- package/dist/program.js.map +1 -1
- package/dist/sync/browse.d.ts +30 -0
- package/dist/sync/browse.d.ts.map +1 -0
- package/dist/sync/browse.js +67 -0
- package/dist/sync/browse.js.map +1 -0
- package/dist/sync/cursor.d.ts +29 -0
- package/dist/sync/cursor.d.ts.map +1 -1
- package/dist/sync/cursor.js +28 -0
- package/dist/sync/cursor.js.map +1 -1
- package/dist/sync/files.d.ts +11 -0
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js +29 -0
- package/dist/sync/files.js.map +1 -1
- package/dist/sync/source.d.ts +3 -3
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +81 -63
- package/dist/sync/source.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/notion-cli/SKILL.md +6 -0
- package/dist/bundle/command-contract-JS5V27NX.js +0 -38
- package/dist/bundle/first-run-3PF7T74J.js +0 -29
- package/dist/bundle/first-screen-7BEROEQR.js +0 -36
- package/dist/bundle/meeting-combined-PPUQ3KBR.js +0 -24
- package/dist/bundle/meeting-model-ZNMYKMCD.js +0 -26
- package/dist/bundle/server-FKQET4ZO.js +0 -71
- package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +0 -62
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -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.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
union,
|
|
24
24
|
unknown,
|
|
25
25
|
variant
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MVA5HVKL.js";
|
|
27
27
|
import {
|
|
28
28
|
errorCodes,
|
|
29
29
|
isCliError,
|
|
30
30
|
visibleControls
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
36
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
37
37
|
var EXIT_CODES = {
|
|
38
38
|
validation_error: 2,
|
|
39
39
|
configuration_error: 3,
|
|
@@ -54,7 +54,7 @@ var EXIT_CODES = {
|
|
|
54
54
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
55
55
|
var GENERIC_FAILURE = 1;
|
|
56
56
|
|
|
57
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
57
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
58
58
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
59
59
|
var effectsSchema = strictObject({
|
|
60
60
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -691,7 +691,7 @@ function toStandardJsonSchema(schema) {
|
|
|
691
691
|
}
|
|
692
692
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
693
693
|
|
|
694
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
694
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
695
695
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
696
696
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
697
697
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -733,7 +733,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
733
733
|
return String(value);
|
|
734
734
|
}), "fill");
|
|
735
735
|
|
|
736
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
736
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
737
737
|
var MAX_NEXT_STEPS = 2;
|
|
738
738
|
var COMPACT_FLAG = "--compact";
|
|
739
739
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -860,7 +860,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
860
860
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
861
861
|
].join("\n"), "jsonlOf");
|
|
862
862
|
|
|
863
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
863
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
864
864
|
var CRASH_CODE = "internal_error";
|
|
865
865
|
var CRASH_REASON = "command.crashed";
|
|
866
866
|
var errorObjectSchema = strictObject({
|
|
@@ -953,7 +953,7 @@ var BASE_REASONS = defineReasons([
|
|
|
953
953
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
954
954
|
]);
|
|
955
955
|
|
|
956
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
956
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
957
957
|
var SAME_COMMAND = "*";
|
|
958
958
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
959
959
|
var stepSchema = union([
|
|
@@ -1032,7 +1032,7 @@ var STEPS = defineSteps([
|
|
|
1032
1032
|
}
|
|
1033
1033
|
]);
|
|
1034
1034
|
|
|
1035
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1035
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
1036
1036
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
1037
1037
|
if (isCliError(failure))
|
|
1038
1038
|
return failure;
|
|
@@ -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.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
|
|
|
31
31
|
var DESCRIBE_MAX_BYTES = 64 * 1024;
|
|
32
32
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
|
|
35
35
|
var DESCRIBE_FORMAT = 1;
|
|
36
36
|
var DESCRIBE_MANIFEST_FORMAT = 2;
|
|
37
37
|
var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
|
|
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
74
74
|
};
|
|
75
75
|
}, "parseDescribe");
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
|
|
78
78
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
79
79
|
import { join } from "node:path";
|
|
80
80
|
var SHIM_FORMAT = 2;
|
|
@@ -3,10 +3,13 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
wrapAnsi
|
|
5
5
|
} from "./chunk-EH6ZEJGT.js";
|
|
6
|
+
import {
|
|
7
|
+
WIRECAT_TOOLS
|
|
8
|
+
} from "./chunk-FEMHUSGO.js";
|
|
6
9
|
import {
|
|
7
10
|
commandPathOf,
|
|
8
11
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KL3P5TQK.js";
|
|
10
13
|
import {
|
|
11
14
|
Command,
|
|
12
15
|
Help,
|
|
@@ -17,18 +20,18 @@ import {
|
|
|
17
20
|
environmentOf,
|
|
18
21
|
metaOf,
|
|
19
22
|
takesProfile
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MRA62W5K.js";
|
|
21
24
|
import {
|
|
22
25
|
writes
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6GN7KU7X.js";
|
|
24
27
|
import {
|
|
25
28
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
27
30
|
import {
|
|
28
31
|
__name
|
|
29
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
33
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
32
35
|
var ARGUMENT_KINDS = {
|
|
33
36
|
chat: "chat",
|
|
34
37
|
chats: "chat",
|
|
@@ -221,60 +224,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
221
224
|
command.addHelpText("after", () => commandHelpText(command));
|
|
222
225
|
}, "installCommandHelp");
|
|
223
226
|
|
|
224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
225
|
-
var WIRECAT_TOOLS = [
|
|
226
|
-
{
|
|
227
|
-
command: "tg",
|
|
228
|
-
package: "@wirecat/tg-cli",
|
|
229
|
-
does: "Telegram in the same local store: search, review and tasks offline"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
command: "max",
|
|
233
|
-
package: "@wirecat/max-cli",
|
|
234
|
-
does: "MAX in the same local store: search, review and tasks offline"
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
command: "wa",
|
|
238
|
-
package: "@wirecat/whatsapp-cli",
|
|
239
|
-
does: "WhatsApp in the same local store: search, review and tasks offline"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
command: "zm",
|
|
243
|
-
package: "@wirecat/zoom-cli",
|
|
244
|
-
does: "Zoom meetings: transcripts and summaries, searchable with your other WireCat data"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
command: "drive",
|
|
248
|
-
package: "@wirecat/drive-cli",
|
|
249
|
-
does: "Google Drive and Docs as local text, searchable with your other WireCat data"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
command: "gcal",
|
|
253
|
-
package: "@wirecat/gcal-cli",
|
|
254
|
-
does: "Google Calendar events, searchable with your other WireCat data"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
command: "memo",
|
|
258
|
-
package: "@wirecat/cli-memo",
|
|
259
|
-
shown: "memo context <person>",
|
|
260
|
-
does: "one person across messengers, mail, notes and meetings"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
command: "mail",
|
|
264
|
-
package: "@wirecat/mail-cli",
|
|
265
|
-
does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
command: "b24",
|
|
269
|
-
package: "@wirecat/bitrix24-cli",
|
|
270
|
-
does: "Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
command: "pbx",
|
|
274
|
-
package: "@wirecat/asterisk-cli",
|
|
275
|
-
does: "Asterisk PBX calls and recordings, searchable with your other WireCat data"
|
|
276
|
-
}
|
|
277
|
-
];
|
|
227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
278
228
|
var WIDTH = 100;
|
|
279
229
|
var widest = /* @__PURE__ */ __name((texts) => texts.reduce((most, text) => Math.max(most, text.length), 0), "widest");
|
|
280
230
|
var block = /* @__PURE__ */ __name((title, rows, column) => rows.length === 0 ? [] : ["", `${title}:`, ...rows.map(([left, right]) => ` ${left.padEnd(column)}${right}`)], "block");
|
|
@@ -364,7 +314,6 @@ var installHelp = /* @__PURE__ */ __name((program, screen = {}) => {
|
|
|
364
314
|
}, "installHelp");
|
|
365
315
|
|
|
366
316
|
export {
|
|
367
|
-
WIRECAT_TOOLS,
|
|
368
317
|
firstScreen,
|
|
369
318
|
installHelp
|
|
370
319
|
};
|