@vibe-lark/larkpal 0.1.25 → 0.1.26
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/dist/cli.mjs +3 -3
- package/dist/{lark-cli-provider-CdgwmqSz.mjs → lark-cli-provider-CR0eLl0q.mjs} +1 -12
- package/dist/main.mjs +534 -487
- package/dist/rolldown-runtime-wcPFST8Q.mjs +13 -0
- package/dist/tool-registry-consumer-DrklfqGF.mjs +286 -0
- package/package.json +1 -1
- package/dist/preview-proxy-KMPQK_j4.mjs +0 -505
- /package/dist/{interactive-init-CEVq3afY.mjs → interactive-init-dZe9f9Ne.mjs} +0 -0
package/dist/cli.mjs
CHANGED
|
@@ -57,7 +57,7 @@ async function cli() {
|
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
if (command === "init") {
|
|
60
|
-
const { runInteractiveInit } = await import("./interactive-init-
|
|
60
|
+
const { runInteractiveInit } = await import("./interactive-init-dZe9f9Ne.mjs");
|
|
61
61
|
const exitCode = await runInteractiveInit();
|
|
62
62
|
process.exit(exitCode);
|
|
63
63
|
}
|
|
@@ -66,11 +66,11 @@ async function cli() {
|
|
|
66
66
|
printHelp();
|
|
67
67
|
process.exit(1);
|
|
68
68
|
}
|
|
69
|
-
const { LarkCliCredentialProvider } = await import("./lark-cli-provider-
|
|
69
|
+
const { LarkCliCredentialProvider } = await import("./lark-cli-provider-CR0eLl0q.mjs").then((n) => n.n);
|
|
70
70
|
if (!LarkCliCredentialProvider.isConfigured()) {
|
|
71
71
|
console.log(`\n${YELLOW}⚠️ 飞书应用凭证未配置${RESET}\n`);
|
|
72
72
|
console.log(` LarkPal 需要飞书应用凭证才能启动。正在进入初始化向导...\n`);
|
|
73
|
-
const { runInteractiveInit } = await import("./interactive-init-
|
|
73
|
+
const { runInteractiveInit } = await import("./interactive-init-dZe9f9Ne.mjs");
|
|
74
74
|
const exitCode = await runInteractiveInit();
|
|
75
75
|
if (exitCode !== 0) process.exit(exitCode);
|
|
76
76
|
console.log(`${DIM}凭证配置完成,正在启动服务...${RESET}\n`);
|
|
@@ -1,21 +1,10 @@
|
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-wcPFST8Q.mjs";
|
|
1
2
|
import { t as larkLogger } from "./lark-logger-D7_pEVQc.mjs";
|
|
2
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
3
4
|
import { join } from "node:path";
|
|
4
5
|
import { homedir } from "node:os";
|
|
5
6
|
import { execSync } from "node:child_process";
|
|
6
7
|
import { createHash } from "node:crypto";
|
|
7
|
-
//#region \0rolldown/runtime.js
|
|
8
|
-
var __defProp = Object.defineProperty;
|
|
9
|
-
var __exportAll = (all, no_symbols) => {
|
|
10
|
-
let target = {};
|
|
11
|
-
for (var name in all) __defProp(target, name, {
|
|
12
|
-
get: all[name],
|
|
13
|
-
enumerable: true
|
|
14
|
-
});
|
|
15
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
-
return target;
|
|
17
|
-
};
|
|
18
|
-
//#endregion
|
|
19
8
|
//#region src/credentials/lark-cli-provider.ts
|
|
20
9
|
/**
|
|
21
10
|
* 飞书应用凭证提供者
|