@agent-team-foundation/first-tree-hub 0.8.6 → 0.9.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/dist/{bootstrap-99vUYmLs.mjs → bootstrap-CWcBzk6C.mjs} +124 -4
- package/dist/cli/index.mjs +26 -12
- package/dist/{core-e1-NPfEC.mjs → core-DZDhomaN.mjs} +1021 -523
- package/dist/{feishu-n9Y2yGTT.mjs → feishu-GlaczcVf.mjs} +5 -0
- package/dist/index.mjs +4 -4
- package/dist/web/assets/{index-nMyXPMPC.js → index-CKtxY9Dp.js} +6 -6
- package/dist/web/index.html +1 -1
- package/package.json +3 -1
|
@@ -904,6 +904,11 @@ const wsAuthFrameSchema = z.object({
|
|
|
904
904
|
});
|
|
905
905
|
/** How long the server waits for the first `auth` frame before closing the WS. */
|
|
906
906
|
const WS_AUTH_FRAME_TIMEOUT_MS = 5e3;
|
|
907
|
+
z.object({
|
|
908
|
+
type: z.literal("server:welcome"),
|
|
909
|
+
serverCommandVersion: z.string().min(1),
|
|
910
|
+
serverTimeMs: z.number().int().nonnegative()
|
|
911
|
+
}).passthrough();
|
|
907
912
|
//#endregion
|
|
908
913
|
//#region src/core/feishu.ts
|
|
909
914
|
var feishu_exports = /* @__PURE__ */ __exportAll({
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./logger-core-2yeIU1fc-B-__AsQO.mjs";
|
|
2
|
-
import { a as resolveAccessToken, n as ensureFreshAccessToken, o as resolveServerUrl, r as ensureFreshAdminToken } from "./bootstrap-
|
|
2
|
+
import { a as resolveAccessToken, n as ensureFreshAccessToken, o as resolveServerUrl, r as ensureFreshAdminToken } from "./bootstrap-CWcBzk6C.mjs";
|
|
3
3
|
import "./observability-CJzDFY_G-CmvgUuzc.mjs";
|
|
4
|
-
import { A as
|
|
5
|
-
import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-
|
|
6
|
-
export { ClientRuntime, FirstTreeHubSDK, SdkError, bindFeishuBot, bindFeishuUser, blank, checkAgentConfigs, checkClientConfig, checkDatabase, checkDocker, checkNodeVersion, checkServerConfig, checkServerHealth, checkServerReachable, checkWebSocket, createOwner, ensureFreshAccessToken, ensureFreshAdminToken, ensurePostgres, formatCheckReport, getClientServiceStatus, hasUser, installClientService, isDockerAvailable, isInteractive, isServiceSupported, onboardCheck, onboardCreate, printResults, promptAddAgent, promptMissingFields, resolveAccessToken, resolveCliInvocation, resolveServerUrl, runMigrations, startServer, status, stopPostgres, uninstallClientService };
|
|
4
|
+
import { A as printResults, B as SdkError, C as checkDatabase, D as checkServerHealth, E as checkServerConfig, F as stopPostgres, I as ClientRuntime, L as createOwner, M as status, N as ensurePostgres, O as checkServerReachable, P as isDockerAvailable, R as hasUser, S as checkClientConfig, T as checkNodeVersion, _ as isServiceSupported, b as runMigrations, c as promptMissingFields, d as onboardCheck, f as onboardCreate, g as installClientService, h as getClientServiceStatus, i as startServer, j as blank, k as checkWebSocket, l as formatCheckReport, m as runHomeMigration, o as isInteractive, s as promptAddAgent, v as resolveCliInvocation, w as checkDocker, x as checkAgentConfigs, y as uninstallClientService, z as FirstTreeHubSDK } from "./core-DZDhomaN.mjs";
|
|
5
|
+
import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-GlaczcVf.mjs";
|
|
6
|
+
export { ClientRuntime, FirstTreeHubSDK, SdkError, bindFeishuBot, bindFeishuUser, blank, checkAgentConfigs, checkClientConfig, checkDatabase, checkDocker, checkNodeVersion, checkServerConfig, checkServerHealth, checkServerReachable, checkWebSocket, createOwner, ensureFreshAccessToken, ensureFreshAdminToken, ensurePostgres, formatCheckReport, getClientServiceStatus, hasUser, installClientService, isDockerAvailable, isInteractive, isServiceSupported, onboardCheck, onboardCreate, printResults, promptAddAgent, promptMissingFields, resolveAccessToken, resolveCliInvocation, resolveServerUrl, runHomeMigration, runMigrations, startServer, status, stopPostgres, uninstallClientService };
|