@agent-team-foundation/first-tree-hub 0.11.4 → 0.11.5
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-D-Yf8yOc.mjs → bootstrap-C_K2CKXC.mjs} +7 -0
- package/dist/cli/index.mjs +71 -9
- package/dist/client-D_TRJFZY-LbgJF47t.mjs +4 -0
- package/dist/{client-CLdRbuml-svTO0Eat.mjs → client-DqdGiggm-NQoGZ2vM.mjs} +3 -3
- package/dist/{dist-ClFs4WMj.mjs → dist-CfvCT4E0.mjs} +266 -194
- package/dist/drizzle/0033_onboarding_dismissed_at.sql +13 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{errors-BmyRwN0Y-Dad3eV8F.mjs → errors-CF5evtJt-B0NTIVPt.mjs} +2 -1
- package/dist/{feishu-AI3pwmqN.mjs → feishu-DbSvp9UH.mjs} +1 -1
- package/dist/index.mjs +7 -7
- package/dist/{invitation-Dnn5gGGX-DXryyvRG.mjs → invitation-Bg0TRiyx-BsZH4GCS.mjs} +2 -2
- package/dist/invitation-C299fxkP-BR-niZyp.mjs +4 -0
- package/dist/{saas-connect-CVoRK0Ex.mjs → saas-connect-CO554S-V.mjs} +737 -254
- package/dist/web/assets/{index-Bm6hgcvt.js → index-B7noAoV-.js} +1 -1
- package/dist/web/assets/index-DPLa60vJ.css +1 -0
- package/dist/web/assets/index-DvGkka4N.js +390 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/client-By1K4VVT-DuI6EnSh.mjs +0 -4
- package/dist/invitation-DWlyNb8x-BvXubk24.mjs +0 -4
- package/dist/web/assets/index-fNb_M0nL.css +0 -1
- package/dist/web/assets/index-k2bWRKc-.js +0 -388
|
@@ -232,6 +232,13 @@
|
|
|
232
232
|
"when": 1778198400000,
|
|
233
233
|
"tag": "0032_organization_settings",
|
|
234
234
|
"breakpoints": true
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"idx": 33,
|
|
238
|
+
"version": "7",
|
|
239
|
+
"when": 1778284800000,
|
|
240
|
+
"tag": "0033_onboarding_dismissed_at",
|
|
241
|
+
"breakpoints": true
|
|
235
242
|
}
|
|
236
243
|
]
|
|
237
244
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { integer, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
2
|
-
//#region ../server/dist/errors-
|
|
2
|
+
//#region ../server/dist/errors-CF5evtJt.mjs
|
|
3
3
|
/** Organization entity. Agents and chats belong to exactly one organization. */
|
|
4
4
|
const organizations = pgTable("organizations", {
|
|
5
5
|
id: text("id").primaryKey(),
|
|
@@ -19,6 +19,7 @@ const users = pgTable("users", {
|
|
|
19
19
|
displayName: text("display_name").notNull(),
|
|
20
20
|
avatarUrl: text("avatar_url"),
|
|
21
21
|
status: text("status").notNull().default("active"),
|
|
22
|
+
onboardingDismissedAt: timestamp("onboarding_dismissed_at", { withTimezone: true }),
|
|
22
23
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
23
24
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
24
25
|
});
|
|
@@ -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-CfvCT4E0.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-gw1ODB_o.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-CO554S-V.mjs";
|
|
3
3
|
import "./logger-core-BTmvdflj-DjW8FM4T.mjs";
|
|
4
|
-
import { a as ensureFreshAdminToken, c as resolveServerUrl, i as ensureFreshAccessToken, n as AuthRefreshRateLimitedError, s as resolveAccessToken, t as AuthRefreshFailedError } from "./bootstrap-
|
|
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-
|
|
8
|
-
import "./errors-
|
|
9
|
-
import "./client-
|
|
6
|
+
import "./dist-CfvCT4E0.mjs";
|
|
7
|
+
import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-DbSvp9UH.mjs";
|
|
8
|
+
import "./errors-CF5evtJt-B0NTIVPt.mjs";
|
|
9
|
+
import "./client-DqdGiggm-NQoGZ2vM.mjs";
|
|
10
10
|
import "./src-aJMV60mR.mjs";
|
|
11
|
-
import "./invitation-
|
|
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 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as organizations, s as NotFoundError, u as users } from "./errors-
|
|
1
|
+
import { l as organizations, s as NotFoundError, u as users } from "./errors-CF5evtJt-B0NTIVPt.mjs";
|
|
2
2
|
import { randomBytes } from "node:crypto";
|
|
3
3
|
import { and, desc, eq, gt, isNull, or } from "drizzle-orm";
|
|
4
4
|
import { index, pgTable, text, timestamp } from "drizzle-orm/pg-core";
|
|
5
|
-
//#region ../server/dist/invitation-
|
|
5
|
+
//#region ../server/dist/invitation-Bg0TRiyx.mjs
|
|
6
6
|
/** Generate a UUID v7 (time-ordered). No external dependency. */
|
|
7
7
|
function uuidv7() {
|
|
8
8
|
const now = BigInt(Date.now());
|