@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.
@@ -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-BmyRwN0Y.mjs
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-ClFs4WMj.mjs";
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-CVoRK0Ex.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-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-D-Yf8yOc.mjs";
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-ClFs4WMj.mjs";
7
- import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-AI3pwmqN.mjs";
8
- import "./errors-BmyRwN0Y-Dad3eV8F.mjs";
9
- import "./client-CLdRbuml-svTO0Eat.mjs";
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-Dnn5gGGX-DXryyvRG.mjs";
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-BmyRwN0Y-Dad3eV8F.mjs";
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-Dnn5gGGX.mjs
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());
@@ -0,0 +1,4 @@
1
+ import "./dist-CfvCT4E0.mjs";
2
+ import "./errors-CF5evtJt-B0NTIVPt.mjs";
3
+ import { s as previewInvitation } from "./invitation-Bg0TRiyx-BsZH4GCS.mjs";
4
+ export { previewInvitation };