@agent-team-foundation/first-tree-hub 0.12.3 → 0.12.4
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/index.mjs +4 -4
- package/dist/{client-0RrgrMjR-DPyuu6Ls.mjs → client-0RrgrMjR-CylTJGEb.mjs} +2 -2
- package/dist/{client-D1TDiik_-gxtXN9bj.mjs → client-D1TDiik_-NV_lkhfI.mjs} +1 -1
- package/dist/{dist-DHHd2dar.mjs → dist-CMhywpXB.mjs} +2 -141
- package/dist/drizzle/0035_drop_hub_tasks.sql +7 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{feishu-fLnwqCOs.mjs → feishu-tkZS0vvL.mjs} +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{invitation-C299fxkP-B89eqDos.mjs → invitation-C299fxkP-CZRV665C.mjs} +1 -1
- package/dist/{saas-connect-_lNV0Liy.mjs → saas-connect-S71rG182.mjs} +142 -709
- package/dist/web/assets/index-BG9RRx2e.js +401 -0
- package/dist/web/assets/index-CbOOQaWp.css +1 -0
- package/dist/web/assets/{index-DcMORzyx.js → index-RNegidl2.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-B4EaL8S9.css +0 -1
- package/dist/web/assets/index-CJr7zpx-.js +0 -401
package/dist/cli/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "../observability-BAScT_5S-BcW9HgkG.mjs";
|
|
3
|
-
import { $ as formatStaleReason, A as checkDocker, B as isServiceSupported, C as createApiNameResolver, D as checkBackgroundService, E as checkAgentConfigs, F as checkWebSocket, H as restartClientService, I as printResults, J as stopPostgres, L as reconcileAgentConfigs, M as checkServerConfig, N as checkServerHealth, O as checkClientConfig, P as checkServerReachable, Q as findStaleAliases, R as getClientServiceStatus, S as runHomeMigration, T as runMigrations, U as startClientService, W as stopClientService, X as handleClientOrgMismatch, Y as ClientRuntime, _ as formatCheckReport, a as declineUpdate, at as success, b as onboardCreate, c as detectInstallMode, ct as FirstTreeHubSDK, d as startServer, dt as cleanWorkspaces, et as removeLocalAgent, f as reconcileLocalRuntimeProviders, ft as probeCapabilities, g as promptMissingFields, h as promptAddAgent, i as createExecuteUpdate, it as fail, j as checkNodeVersion, k as checkDatabase, l as fetchLatestVersion, lt as SdkError, m as isInteractive, mt as configureClientLoggerForService, o as promptUpdate, ot as ClientOrgMismatchError, p as uploadClientCapabilities, pt as applyClientLoggerConfig, r as registerSaaSConnectCommand, rt as resolveReplyToFromEnv, s as PACKAGE_NAME, st as ClientUserMismatchError, tt as createOwner, u as installGlobalLatest, ut as SessionRegistry, v as loadOnboardState, w as migrateLocalAgentDirs, x as saveOnboardState, y as onboardCheck, z as installClientService } from "../saas-connect-
|
|
3
|
+
import { $ as formatStaleReason, A as checkDocker, B as isServiceSupported, C as createApiNameResolver, D as checkBackgroundService, E as checkAgentConfigs, F as checkWebSocket, H as restartClientService, I as printResults, J as stopPostgres, L as reconcileAgentConfigs, M as checkServerConfig, N as checkServerHealth, O as checkClientConfig, P as checkServerReachable, Q as findStaleAliases, R as getClientServiceStatus, S as runHomeMigration, T as runMigrations, U as startClientService, W as stopClientService, X as handleClientOrgMismatch, Y as ClientRuntime, _ as formatCheckReport, a as declineUpdate, at as success, b as onboardCreate, c as detectInstallMode, ct as FirstTreeHubSDK, d as startServer, dt as cleanWorkspaces, et as removeLocalAgent, f as reconcileLocalRuntimeProviders, ft as probeCapabilities, g as promptMissingFields, h as promptAddAgent, i as createExecuteUpdate, it as fail, j as checkNodeVersion, k as checkDatabase, l as fetchLatestVersion, lt as SdkError, m as isInteractive, mt as configureClientLoggerForService, o as promptUpdate, ot as ClientOrgMismatchError, p as uploadClientCapabilities, pt as applyClientLoggerConfig, r as registerSaaSConnectCommand, rt as resolveReplyToFromEnv, s as PACKAGE_NAME, st as ClientUserMismatchError, tt as createOwner, u as installGlobalLatest, ut as SessionRegistry, v as loadOnboardState, w as migrateLocalAgentDirs, x as saveOnboardState, y as onboardCheck, z as installClientService } from "../saas-connect-S71rG182.mjs";
|
|
4
4
|
import "../logger-core-BTmvdflj-DjW8FM4T.mjs";
|
|
5
5
|
import { C as resetConfigMeta, E as setConfigValue, S as resetConfig, T as serverConfigSchema, _ as getConfigValue, a as ensureFreshAdminToken, c as resolveServerUrl, d as DEFAULT_CONFIG_DIR, f as DEFAULT_DATA_DIR, h as clientConfigSchema, i as ensureFreshAccessToken, l as saveAgentConfig, m as agentConfigSchema, o as loadCredentials, p as DEFAULT_HOME_DIR, u as saveCredentials, v as initConfig, w as resolveConfigReadonly, x as readConfigFile, y as loadAgents } from "../bootstrap-C_K2CKXC.mjs";
|
|
6
6
|
import { a as print, n as CLI_USER_AGENT, o as setJsonMode, r as COMMAND_VERSION, t as cliFetch } from "../cli-fetch--tiwKm5S.mjs";
|
|
7
|
-
import "../dist-
|
|
8
|
-
import { n as bindFeishuUser, t as bindFeishuBot } from "../feishu-
|
|
7
|
+
import "../dist-CMhywpXB.mjs";
|
|
8
|
+
import { n as bindFeishuUser, t as bindFeishuBot } from "../feishu-tkZS0vvL.mjs";
|
|
9
9
|
import "../errors-CF5evtJt-B0NTIVPt.mjs";
|
|
10
10
|
import "../src-DNBS5Yjj.mjs";
|
|
11
|
-
import "../client-D1TDiik_-
|
|
11
|
+
import "../client-D1TDiik_-NV_lkhfI.mjs";
|
|
12
12
|
import "../invitation-Bg0TRiyx-BsZH4GCS.mjs";
|
|
13
13
|
import { join } from "node:path";
|
|
14
14
|
import { existsSync, mkdirSync, readFileSync, readdirSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./observability-BAScT_5S-BcW9HgkG.mjs";
|
|
2
2
|
import "./logger-core-BTmvdflj-DjW8FM4T.mjs";
|
|
3
|
-
import "./dist-
|
|
3
|
+
import "./dist-CMhywpXB.mjs";
|
|
4
4
|
import "./errors-CF5evtJt-B0NTIVPt.mjs";
|
|
5
5
|
import "./src-DNBS5Yjj.mjs";
|
|
6
|
-
import { q as listMyPinnedAgents } from "./client-D1TDiik_-
|
|
6
|
+
import { q as listMyPinnedAgents } from "./client-D1TDiik_-NV_lkhfI.mjs";
|
|
7
7
|
export { listMyPinnedAgents };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { O as withSpan, f as messageAttrs, s as createLogger } from "./observability-BAScT_5S-BcW9HgkG.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { A as extractMentions, X as questionMessageContentSchema, Y as questionAnswerMessageContentSchema, a as AGENT_VISIBILITY, g as clientCapabilitiesSchema, i as AGENT_STATUSES, tt as scanMentionTokens } from "./dist-CMhywpXB.mjs";
|
|
3
3
|
import { a as ConflictError, i as ClientUserMismatchError, l as organizations, n as BadRequestError, o as ForbiddenError, s as NotFoundError, u as users } from "./errors-CF5evtJt-B0NTIVPt.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { and, desc, eq, inArray, isNotNull, lt, ne, or, sql } from "drizzle-orm";
|
|
@@ -438,11 +438,6 @@ z.object({
|
|
|
438
438
|
});
|
|
439
439
|
const runtimeProviderSchema = z.enum(["claude-code", "codex"]);
|
|
440
440
|
const DEFAULT_RUNTIME_PROVIDER = "claude-code";
|
|
441
|
-
const AGENT_TYPES = {
|
|
442
|
-
HUMAN: "human",
|
|
443
|
-
PERSONAL_ASSISTANT: "personal_assistant",
|
|
444
|
-
AUTONOMOUS_AGENT: "autonomous_agent"
|
|
445
|
-
};
|
|
446
441
|
const agentTypeSchema = z.enum([
|
|
447
442
|
"human",
|
|
448
443
|
"personal_assistant",
|
|
@@ -458,10 +453,6 @@ const AGENT_STATUSES = {
|
|
|
458
453
|
SUSPENDED: "suspended",
|
|
459
454
|
DELETED: "deleted"
|
|
460
455
|
};
|
|
461
|
-
const AGENT_SOURCES = {
|
|
462
|
-
ADMIN_API: "admin-api",
|
|
463
|
-
PORTAL: "portal"
|
|
464
|
-
};
|
|
465
456
|
const agentSourceSchema = z.enum(["admin-api", "portal"]);
|
|
466
457
|
z.enum(["active", "suspended"]);
|
|
467
458
|
/**
|
|
@@ -846,7 +837,6 @@ const messageFormatSchema = z.enum([
|
|
|
846
837
|
"card",
|
|
847
838
|
"reference",
|
|
848
839
|
"file",
|
|
849
|
-
"task",
|
|
850
840
|
"question",
|
|
851
841
|
"question_answer"
|
|
852
842
|
]);
|
|
@@ -1035,9 +1025,7 @@ const meChatRowSchema = z.object({
|
|
|
1035
1025
|
lastMessageAt: z.string().nullable(),
|
|
1036
1026
|
lastMessagePreview: z.string().nullable(),
|
|
1037
1027
|
unreadMentionCount: z.number().int(),
|
|
1038
|
-
canReply: z.boolean()
|
|
1039
|
-
taskId: z.string().nullable(),
|
|
1040
|
-
taskStatus: z.string().nullable()
|
|
1028
|
+
canReply: z.boolean()
|
|
1041
1029
|
});
|
|
1042
1030
|
z.object({
|
|
1043
1031
|
rows: z.array(meChatRowSchema),
|
|
@@ -1550,133 +1538,6 @@ z.object({
|
|
|
1550
1538
|
totalMessages: z.number(),
|
|
1551
1539
|
byOrganization: z.array(orgStatsSchema)
|
|
1552
1540
|
});
|
|
1553
|
-
/** Fixed 5-state machine. No custom statuses. */
|
|
1554
|
-
const TASK_STATUSES = {
|
|
1555
|
-
PENDING: "pending",
|
|
1556
|
-
ASSIGNED: "assigned",
|
|
1557
|
-
WORKING: "working",
|
|
1558
|
-
COMPLETED: "completed",
|
|
1559
|
-
FAILED: "failed",
|
|
1560
|
-
CANCELLED: "cancelled"
|
|
1561
|
-
};
|
|
1562
|
-
const taskStatusSchema = z.enum([
|
|
1563
|
-
"pending",
|
|
1564
|
-
"assigned",
|
|
1565
|
-
"working",
|
|
1566
|
-
"completed",
|
|
1567
|
-
"failed",
|
|
1568
|
-
"cancelled"
|
|
1569
|
-
]);
|
|
1570
|
-
/** Terminal statuses — once reached, no further transitions allowed. */
|
|
1571
|
-
const TASK_TERMINAL_STATUSES = [
|
|
1572
|
-
"completed",
|
|
1573
|
-
"failed",
|
|
1574
|
-
"cancelled"
|
|
1575
|
-
];
|
|
1576
|
-
/** Creator type discriminator. */
|
|
1577
|
-
const TASK_CREATOR_TYPES = {
|
|
1578
|
-
AGENT: "agent",
|
|
1579
|
-
ADMIN: "admin"
|
|
1580
|
-
};
|
|
1581
|
-
const taskCreatorTypeSchema = z.enum(["agent", "admin"]);
|
|
1582
|
-
const taskMessageEventSchema = z.enum([
|
|
1583
|
-
"assigned",
|
|
1584
|
-
"status_changed",
|
|
1585
|
-
"cancelled"
|
|
1586
|
-
]);
|
|
1587
|
-
z.object({
|
|
1588
|
-
taskId: z.string(),
|
|
1589
|
-
event: taskMessageEventSchema,
|
|
1590
|
-
title: z.string(),
|
|
1591
|
-
body: z.string().default(""),
|
|
1592
|
-
status: taskStatusSchema,
|
|
1593
|
-
fromStatus: taskStatusSchema.optional(),
|
|
1594
|
-
originRef: z.string().nullable().optional()
|
|
1595
|
-
});
|
|
1596
|
-
/** Create task input. Used by both agent API and admin API. */
|
|
1597
|
-
const createTaskSchema = z.object({
|
|
1598
|
-
title: z.string().min(1).max(500),
|
|
1599
|
-
body: z.string().optional(),
|
|
1600
|
-
assigneeAgentId: z.string().optional(),
|
|
1601
|
-
originRef: z.string().max(500).optional(),
|
|
1602
|
-
metadata: z.record(z.string(), z.unknown()).optional()
|
|
1603
|
-
});
|
|
1604
|
-
/** Admin-only create: allows passing an explicit organizationId. */
|
|
1605
|
-
const adminCreateTaskSchema = createTaskSchema.extend({ organizationId: z.string().optional() });
|
|
1606
|
-
/**
|
|
1607
|
-
* Agent-facing status update. Agents may only self-report working/completed/failed.
|
|
1608
|
-
* Cancellation goes through the dedicated cancel endpoint.
|
|
1609
|
-
*/
|
|
1610
|
-
const updateTaskStatusSchema = z.object({
|
|
1611
|
-
status: z.enum([
|
|
1612
|
-
"working",
|
|
1613
|
-
"completed",
|
|
1614
|
-
"failed"
|
|
1615
|
-
]),
|
|
1616
|
-
result: z.string().optional()
|
|
1617
|
-
});
|
|
1618
|
-
/** Admin-facing update — may re-assign or re-target status (within legal transitions). */
|
|
1619
|
-
const adminUpdateTaskSchema = z.object({
|
|
1620
|
-
assigneeAgentId: z.string().nullable().optional(),
|
|
1621
|
-
status: taskStatusSchema.optional(),
|
|
1622
|
-
result: z.string().optional()
|
|
1623
|
-
});
|
|
1624
|
-
const linkTaskChatSchema = z.object({ chatId: z.string().min(1) });
|
|
1625
|
-
const taskSchema = z.object({
|
|
1626
|
-
id: z.string(),
|
|
1627
|
-
organizationId: z.string(),
|
|
1628
|
-
title: z.string(),
|
|
1629
|
-
body: z.string(),
|
|
1630
|
-
status: taskStatusSchema,
|
|
1631
|
-
assigneeAgentId: z.string().nullable(),
|
|
1632
|
-
createdByType: taskCreatorTypeSchema,
|
|
1633
|
-
createdById: z.string(),
|
|
1634
|
-
originRef: z.string().nullable(),
|
|
1635
|
-
result: z.string().nullable(),
|
|
1636
|
-
metadata: z.record(z.string(), z.unknown()),
|
|
1637
|
-
createdAt: z.string(),
|
|
1638
|
-
updatedAt: z.string(),
|
|
1639
|
-
cancelledAt: z.string().nullable(),
|
|
1640
|
-
cancelledByType: taskCreatorTypeSchema.nullable(),
|
|
1641
|
-
cancelledById: z.string().nullable()
|
|
1642
|
-
});
|
|
1643
|
-
const taskChatLinkSchema = z.object({
|
|
1644
|
-
taskId: z.string(),
|
|
1645
|
-
chatId: z.string(),
|
|
1646
|
-
linkedByAgentId: z.string().nullable(),
|
|
1647
|
-
linkedAt: z.string()
|
|
1648
|
-
});
|
|
1649
|
-
taskSchema.extend({ chats: z.array(taskChatLinkSchema) });
|
|
1650
|
-
const taskListQuerySchema = z.object({
|
|
1651
|
-
status: taskStatusSchema.optional(),
|
|
1652
|
-
assigneeAgentId: z.string().optional(),
|
|
1653
|
-
originRef: z.string().optional(),
|
|
1654
|
-
limit: z.coerce.number().int().min(1).max(100).default(20),
|
|
1655
|
-
cursor: z.string().optional()
|
|
1656
|
-
});
|
|
1657
|
-
/**
|
|
1658
|
-
* Task health signals derived from associated chats' session state + recent messages.
|
|
1659
|
-
* See hub-task-design Section 9.
|
|
1660
|
-
*/
|
|
1661
|
-
const TASK_HEALTH_SIGNALS = {
|
|
1662
|
-
NORMAL: "normal",
|
|
1663
|
-
IDLE_ISLAND: "idle_island",
|
|
1664
|
-
AWAITING_REPLY: "awaiting_reply",
|
|
1665
|
-
NO_CHAT: "no_chat",
|
|
1666
|
-
NOT_APPLICABLE: "not_applicable"
|
|
1667
|
-
};
|
|
1668
|
-
const taskHealthSignalSchema = z.enum([
|
|
1669
|
-
"normal",
|
|
1670
|
-
"idle_island",
|
|
1671
|
-
"awaiting_reply",
|
|
1672
|
-
"no_chat",
|
|
1673
|
-
"not_applicable"
|
|
1674
|
-
]);
|
|
1675
|
-
z.object({
|
|
1676
|
-
taskId: z.string(),
|
|
1677
|
-
signal: taskHealthSignalSchema,
|
|
1678
|
-
reason: z.string()
|
|
1679
|
-
});
|
|
1680
1541
|
const userStatusSchema = z.enum(["active", "suspended"]);
|
|
1681
1542
|
z.object({
|
|
1682
1543
|
id: z.string(),
|
|
@@ -1721,4 +1582,4 @@ z.object({
|
|
|
1721
1582
|
capabilities: serverCapabilitiesSchema.optional()
|
|
1722
1583
|
}).passthrough();
|
|
1723
1584
|
//#endregion
|
|
1724
|
-
export {
|
|
1585
|
+
export { runtimeStateMessageSchema as $, extractMentions as A, isReservedAgentName as B, createChatSchema as C, defaultRuntimeConfigPayload as D, createOrgFromMeSchema as E, inboxAckFrameSchema as F, notificationQuerySchema as G, listMeChatsQuerySchema as H, inboxDeliverFrameSchema as I, patchOnboardingSchema as J, onboardingEventSchema as K, inboxPollQuerySchema as L, githubDevCallbackQuerySchema as M, githubStartQuerySchema as N, delegateFeishuUserSchema as O, imageInlineContentSchema as P, refreshTokenSchema as Q, isOrgSettingNamespace as R, createAgentSchema as S, createMemberSchema as T, loginSchema as U, joinByInvitationSchema as V, messageSourceSchema as W, questionMessageContentSchema as X, questionAnswerMessageContentSchema as Y, rebindAgentSchema as Z, clientRegisterSchema as _, updateMemberSchema as _t, AGENT_VISIBILITY as a, sessionCompletionMessageSchema as at, createAdapterConfigSchema as b, ORG_SETTINGS_NAMESPACES as c, sessionReconcileRequestSchema as ct, addParticipantSchema as d, submitQuestionAnswerSchema as dt, safeRedirectPath as et, agentBindRequestSchema as f, updateAdapterConfigSchema as ft, clientCapabilitiesSchema as g, updateClientCapabilitiesSchema as gt, agentTypeSchema as h, updateChatSchema as ht, AGENT_STATUSES as i, sendToAgentSchema as it, githubCallbackQuerySchema as j, dryRunAgentRuntimeConfigSchema as k, WS_AUTH_FRAME_TIMEOUT_MS as l, sessionStateMessageSchema as lt, agentRuntimeConfigPayloadSchema as m, updateAgentSchema as mt, AGENT_NAME_REGEX as n, selfServiceFeishuBotSchema as nt, DEFAULT_RUNTIME_PROVIDER as o, sessionEventMessageSchema as ot, agentPinnedMessageSchema as p, updateAgentRuntimeConfigSchema as pt, paginationQuerySchema as q, AGENT_SELECTOR_HEADER as r, sendMessageSchema as rt, MENTION_REGEX as s, sessionEventSchema as st, AGENT_BIND_REJECT_REASONS as t, scanMentionTokens as tt, addMeChatParticipantsSchema as u, stripCode as ut, connectTokenExchangeSchema as v, updateOrganizationSchema as vt, createMeChatSchema as w, createAdapterMappingSchema as x, contextTreeSnapshotSchema as y, wsAuthFrameSchema as yt, isRedactedEnvValue as z };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
-- Drop the Hub Task subsystem. The product no longer uses tasks; the
|
|
2
|
+
-- chat-first workspace covers every flow that previously needed task rows.
|
|
3
|
+
-- Order matches the historical service-layer dependency; DB-level FKs were
|
|
4
|
+
-- already removed in 0014_drop_task_fks so either order would technically work.
|
|
5
|
+
|
|
6
|
+
DROP TABLE IF EXISTS "task_chats";--> statement-breakpoint
|
|
7
|
+
DROP TABLE IF EXISTS "tasks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __exportAll } from "./chunk-BSw8zbkd.mjs";
|
|
2
2
|
import { t as cliFetch } from "./cli-fetch--tiwKm5S.mjs";
|
|
3
|
-
import { r as AGENT_SELECTOR_HEADER } from "./dist-
|
|
3
|
+
import { r as AGENT_SELECTOR_HEADER } from "./dist-CMhywpXB.mjs";
|
|
4
4
|
//#region src/core/feishu.ts
|
|
5
5
|
var feishu_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
bindFeishuBot: () => bindFeishuBot,
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./observability-BAScT_5S-BcW9HgkG.mjs";
|
|
2
|
-
import { A as checkDocker, B as isServiceSupported, E as checkAgentConfigs, F as checkWebSocket, G as uninstallClientService, H as restartClientService, I as printResults, J as stopPostgres, K as ensurePostgres, M as checkServerConfig, N as checkServerHealth, O as checkClientConfig, P as checkServerReachable, R as getClientServiceStatus, S as runHomeMigration, T as runMigrations, U as startClientService, V as resolveCliInvocation, W as stopClientService, X as handleClientOrgMismatch, Y as ClientRuntime, Z as rotateClientIdWithBackup, _ as formatCheckReport, b as onboardCreate, ct as FirstTreeHubSDK, d as startServer, g as promptMissingFields, h as promptAddAgent, j as checkNodeVersion, k as checkDatabase, lt as SdkError, m as isInteractive, n as deriveHubUrlFromToken, nt as hasUser, q as isDockerAvailable, t as HubUrlDerivationError, tt as createOwner, y as onboardCheck, z as installClientService } from "./saas-connect-
|
|
2
|
+
import { A as checkDocker, B as isServiceSupported, E as checkAgentConfigs, F as checkWebSocket, G as uninstallClientService, H as restartClientService, I as printResults, J as stopPostgres, K as ensurePostgres, M as checkServerConfig, N as checkServerHealth, O as checkClientConfig, P as checkServerReachable, R as getClientServiceStatus, S as runHomeMigration, T as runMigrations, U as startClientService, V as resolveCliInvocation, W as stopClientService, X as handleClientOrgMismatch, Y as ClientRuntime, Z as rotateClientIdWithBackup, _ as formatCheckReport, b as onboardCreate, ct as FirstTreeHubSDK, d as startServer, g as promptMissingFields, h as promptAddAgent, j as checkNodeVersion, k as checkDatabase, lt as SdkError, m as isInteractive, n as deriveHubUrlFromToken, nt as hasUser, q as isDockerAvailable, t as HubUrlDerivationError, tt as createOwner, y as onboardCheck, z as installClientService } from "./saas-connect-S71rG182.mjs";
|
|
3
3
|
import "./logger-core-BTmvdflj-DjW8FM4T.mjs";
|
|
4
4
|
import { a as ensureFreshAdminToken, c as resolveServerUrl, i as ensureFreshAccessToken, n as AuthRefreshRateLimitedError, s as resolveAccessToken, t as AuthRefreshFailedError } from "./bootstrap-C_K2CKXC.mjs";
|
|
5
5
|
import { i as blank, s as status } from "./cli-fetch--tiwKm5S.mjs";
|
|
6
|
-
import "./dist-
|
|
7
|
-
import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-
|
|
6
|
+
import "./dist-CMhywpXB.mjs";
|
|
7
|
+
import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-tkZS0vvL.mjs";
|
|
8
8
|
import "./errors-CF5evtJt-B0NTIVPt.mjs";
|
|
9
9
|
import "./src-DNBS5Yjj.mjs";
|
|
10
|
-
import "./client-D1TDiik_-
|
|
10
|
+
import "./client-D1TDiik_-NV_lkhfI.mjs";
|
|
11
11
|
import "./invitation-Bg0TRiyx-BsZH4GCS.mjs";
|
|
12
12
|
export { AuthRefreshFailedError, AuthRefreshRateLimitedError, ClientRuntime, FirstTreeHubSDK, HubUrlDerivationError, SdkError, bindFeishuBot, bindFeishuUser, blank, checkAgentConfigs, checkClientConfig, checkDatabase, checkDocker, checkNodeVersion, checkServerConfig, checkServerHealth, checkServerReachable, checkWebSocket, createOwner, deriveHubUrlFromToken, ensureFreshAccessToken, ensureFreshAdminToken, ensurePostgres, formatCheckReport, getClientServiceStatus, handleClientOrgMismatch, hasUser, installClientService, isDockerAvailable, isInteractive, isServiceSupported, onboardCheck, onboardCreate, printResults, promptAddAgent, promptMissingFields, resolveAccessToken, resolveCliInvocation, resolveServerUrl, restartClientService, rotateClientIdWithBackup, runHomeMigration, runMigrations, startClientService, startServer, status, stopClientService, stopPostgres, uninstallClientService };
|