@agent-team-foundation/first-tree-hub 0.11.4 → 0.12.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-D-Yf8yOc.mjs → bootstrap-C_K2CKXC.mjs} +7 -0
- package/dist/cli/index.mjs +73 -11
- package/dist/client-BPUdUaZT-CyCrpCTP.mjs +2033 -0
- package/dist/client-BhCtO2df-BGOu-rRN.mjs +7 -0
- package/dist/{dist-BQtAQNRD.mjs → dist-LgF7LHpE.mjs} +1 -1
- package/dist/{dist-ClFs4WMj.mjs → dist-UOZ6vMUW.mjs} +372 -197
- package/dist/drizzle/0033_onboarding_dismissed_at.sql +13 -0
- package/dist/drizzle/0034_pending_questions.sql +34 -0
- package/dist/drizzle/meta/_journal.json +14 -0
- package/dist/{errors-BmyRwN0Y-Dad3eV8F.mjs → errors-CF5evtJt-B0NTIVPt.mjs} +2 -1
- package/dist/{feishu-AI3pwmqN.mjs → feishu-C6qlhju2.mjs} +1 -1
- package/dist/{getMachineId-bsd-c2VImogj.mjs → getMachineId-bsd-BmasEOJr.mjs} +1 -1
- package/dist/{getMachineId-bsd-DyySs8xz.mjs → getMachineId-bsd-Dh3h0DDE.mjs} +1 -1
- package/dist/{getMachineId-darwin-Cl7TSzgO.mjs → getMachineId-darwin-CuhM3hfZ.mjs} +1 -1
- package/dist/{getMachineId-darwin-DKgI8b1d.mjs → getMachineId-darwin-D9wR0SLj.mjs} +1 -1
- package/dist/{getMachineId-linux-1OIMWfdh.mjs → getMachineId-linux-CYfb0oxZ.mjs} +1 -1
- package/dist/{getMachineId-linux-cT7EbP10.mjs → getMachineId-linux-D8ZaSjAC.mjs} +1 -1
- package/dist/{getMachineId-unsupported-CkX-YOG1.mjs → getMachineId-unsupported-Cu3iisaD.mjs} +1 -1
- package/dist/{getMachineId-unsupported-CmVlhzIo.mjs → getMachineId-unsupported-DZqI4ZT5.mjs} +1 -1
- package/dist/{getMachineId-win-C2cM60YT.mjs → getMachineId-win-8ZJbtrdf.mjs} +1 -1
- package/dist/{getMachineId-win-Chl03TYe.mjs → getMachineId-win-DT-hqwVp.mjs} +1 -1
- package/dist/index.mjs +9 -9
- package/dist/{invitation-Dnn5gGGX-DXryyvRG.mjs → invitation-Bg0TRiyx-BsZH4GCS.mjs} +2 -2
- package/dist/invitation-C299fxkP-KyCNax4T.mjs +4 -0
- package/dist/{observability-BAScT_5S-gw1ODB_o.mjs → observability-BAScT_5S-BcW9HgkG.mjs} +13 -13
- package/dist/{observability-CYsdAcoF.mjs → observability-eLA9iNK_.mjs} +3 -3
- package/dist/{saas-connect-CVoRK0Ex.mjs → saas-connect-Drn9g6cR.mjs} +1195 -1685
- package/dist/web/assets/index-B_Tf2I6v.css +1 -0
- package/dist/web/assets/{index-Bm6hgcvt.js → index-Bnyz7inW.js} +1 -1
- package/dist/web/assets/index-Dy3jIUX5.js +391 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/client-By1K4VVT-DuI6EnSh.mjs +0 -4
- package/dist/client-CLdRbuml-svTO0Eat.mjs +0 -524
- 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
- /package/dist/{esm-Ci8E1Gtj.mjs → esm-iadMkGbV.mjs} +0 -0
- /package/dist/{src-aJMV60mR.mjs → src-DNBS5Yjj.mjs} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
-- Pending ask-user question lifecycle. See packages/server/src/db/schema/pending-questions.ts
|
|
2
|
+
-- and services/questions.ts for the read / write paths.
|
|
3
|
+
--
|
|
4
|
+
-- One row per `format=question` message. Rows are written inside the same
|
|
5
|
+
-- transaction as the message INSERT (services/message.ts step 3b) so a
|
|
6
|
+
-- rollback drops both. Status flips to `answered` when the user posts an
|
|
7
|
+
-- answer, or to `superseded` when the chat session is archived
|
|
8
|
+
-- (services/session.ts archiveSession) or the owning client is claimed
|
|
9
|
+
-- away (services/client.ts claimClient).
|
|
10
|
+
--
|
|
11
|
+
-- Per the team's "integrity in service layer" convention, NO foreign-key
|
|
12
|
+
-- constraints — referential integrity is enforced by the question service.
|
|
13
|
+
-- A correlationId reuses the SDK `tool_use_id` so a single id flows from
|
|
14
|
+
-- the Claude Agent SDK callback through to the answer message.
|
|
15
|
+
|
|
16
|
+
CREATE TABLE IF NOT EXISTS "pending_questions" (
|
|
17
|
+
"id" text PRIMARY KEY NOT NULL,
|
|
18
|
+
"agent_id" text NOT NULL,
|
|
19
|
+
"chat_id" text NOT NULL,
|
|
20
|
+
"message_id" text NOT NULL,
|
|
21
|
+
"status" text NOT NULL DEFAULT 'pending',
|
|
22
|
+
"created_at" timestamp with time zone NOT NULL DEFAULT now(),
|
|
23
|
+
"answered_at" timestamp with time zone,
|
|
24
|
+
"superseded_at" timestamp with time zone,
|
|
25
|
+
"superseded_reason" text
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
--> statement-breakpoint
|
|
29
|
+
CREATE INDEX IF NOT EXISTS "idx_pending_questions_agent_status"
|
|
30
|
+
ON "pending_questions" ("agent_id", "status");
|
|
31
|
+
|
|
32
|
+
--> statement-breakpoint
|
|
33
|
+
CREATE INDEX IF NOT EXISTS "idx_pending_questions_chat_status"
|
|
34
|
+
ON "pending_questions" ("chat_id", "status");
|
|
@@ -232,6 +232,20 @@
|
|
|
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
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"idx": 34,
|
|
245
|
+
"version": "7",
|
|
246
|
+
"when": 1778371200000,
|
|
247
|
+
"tag": "0034_pending_questions",
|
|
248
|
+
"breakpoints": true
|
|
235
249
|
}
|
|
236
250
|
]
|
|
237
251
|
}
|
|
@@ -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-UOZ6vMUW.mjs";
|
|
4
4
|
//#region src/core/feishu.ts
|
|
5
5
|
var feishu_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
bindFeishuBot: () => bindFeishuBot,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-DUfRkc4a.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
5
5
|
var require_getMachineId_bsd = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-YbEZSOYd.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
5
5
|
var require_getMachineId_bsd = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-DUfRkc4a.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
5
5
|
var require_getMachineId_darwin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-YbEZSOYd.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
5
5
|
var require_getMachineId_darwin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
4
4
|
var require_getMachineId_linux = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
4
4
|
var require_getMachineId_linux = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/{getMachineId-unsupported-CkX-YOG1.mjs → getMachineId-unsupported-Cu3iisaD.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
4
4
|
var require_getMachineId_unsupported = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/{getMachineId-unsupported-CmVlhzIo.mjs → getMachineId-unsupported-DZqI4ZT5.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
4
4
|
var require_getMachineId_unsupported = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-DUfRkc4a.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
|
|
5
5
|
var require_getMachineId_win = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
|
-
import { n as init_esm, t as esm_exports } from "./esm-
|
|
2
|
+
import { n as init_esm, t as esm_exports } from "./esm-iadMkGbV.mjs";
|
|
3
3
|
import { t as require_execAsync } from "./execAsync-YbEZSOYd.mjs";
|
|
4
4
|
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
|
|
5
5
|
var require_getMachineId_win = /* @__PURE__ */ __commonJSMin(((exports) => {
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./observability-BAScT_5S-
|
|
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-
|
|
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-Drn9g6cR.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 "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./invitation-
|
|
6
|
+
import "./dist-UOZ6vMUW.mjs";
|
|
7
|
+
import { n as bindFeishuUser, t as bindFeishuBot } from "./feishu-C6qlhju2.mjs";
|
|
8
|
+
import "./errors-CF5evtJt-B0NTIVPt.mjs";
|
|
9
|
+
import "./src-DNBS5Yjj.mjs";
|
|
10
|
+
import "./client-BPUdUaZT-CyCrpCTP.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-
|
|
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());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-BSw8zbkd.mjs";
|
|
2
2
|
import { a as formatLocalTime, c as parseLogLevel, i as createLoggerOutputStream, n as LOG_REDACT_PATHS, r as SKIP_KEYS, t as LOG_REDACT_CENSOR } from "./logger-core-BTmvdflj-DjW8FM4T.mjs";
|
|
3
|
-
import { a as metrics, c as SpanStatusCode, d as createContextKey, f as DiagLogLevel, n as init_esm$2, o as diag, r as trace, s as context, t as esm_exports$2, u as DiagConsoleLogger } from "./esm-
|
|
4
|
-
import { t as require_src$85 } from "./src-
|
|
3
|
+
import { a as metrics, c as SpanStatusCode, d as createContextKey, f as DiagLogLevel, n as init_esm$2, o as diag, r as trace, s as context, t as esm_exports$2, u as DiagConsoleLogger } from "./esm-iadMkGbV.mjs";
|
|
4
|
+
import { t as require_src$85 } from "./src-DNBS5Yjj.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { Writable } from "node:stream";
|
|
7
7
|
import * as fs$5 from "fs";
|
|
@@ -8163,19 +8163,19 @@ var require_getMachineId$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8163
8163
|
async function getMachineId() {
|
|
8164
8164
|
if (!getMachineIdImpl) switch (process$3.platform) {
|
|
8165
8165
|
case "darwin":
|
|
8166
|
-
getMachineIdImpl = (await import("./getMachineId-darwin-
|
|
8166
|
+
getMachineIdImpl = (await import("./getMachineId-darwin-D9wR0SLj.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
8167
8167
|
break;
|
|
8168
8168
|
case "linux":
|
|
8169
|
-
getMachineIdImpl = (await import("./getMachineId-linux-
|
|
8169
|
+
getMachineIdImpl = (await import("./getMachineId-linux-D8ZaSjAC.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
8170
8170
|
break;
|
|
8171
8171
|
case "freebsd":
|
|
8172
|
-
getMachineIdImpl = (await import("./getMachineId-bsd-
|
|
8172
|
+
getMachineIdImpl = (await import("./getMachineId-bsd-Dh3h0DDE.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
8173
8173
|
break;
|
|
8174
8174
|
case "win32":
|
|
8175
|
-
getMachineIdImpl = (await import("./getMachineId-win-
|
|
8175
|
+
getMachineIdImpl = (await import("./getMachineId-win-DT-hqwVp.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
8176
8176
|
break;
|
|
8177
8177
|
default:
|
|
8178
|
-
getMachineIdImpl = (await import("./getMachineId-unsupported-
|
|
8178
|
+
getMachineIdImpl = (await import("./getMachineId-unsupported-Cu3iisaD.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
8179
8179
|
break;
|
|
8180
8180
|
}
|
|
8181
8181
|
return getMachineIdImpl();
|
|
@@ -33764,7 +33764,7 @@ var require_gaxios = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
33764
33764
|
* @returns A proxy agent
|
|
33765
33765
|
*/
|
|
33766
33766
|
static async #getProxyAgent() {
|
|
33767
|
-
this.#proxyAgent ||= (await import("./dist-
|
|
33767
|
+
this.#proxyAgent ||= (await import("./dist-LgF7LHpE.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).HttpsProxyAgent;
|
|
33768
33768
|
return this.#proxyAgent;
|
|
33769
33769
|
}
|
|
33770
33770
|
static async #getFetch() {
|
|
@@ -41933,19 +41933,19 @@ var require_getMachineId = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41933
41933
|
async function getMachineId() {
|
|
41934
41934
|
if (!getMachineIdImpl) switch (process$1.platform) {
|
|
41935
41935
|
case "darwin":
|
|
41936
|
-
getMachineIdImpl = (await import("./getMachineId-darwin-
|
|
41936
|
+
getMachineIdImpl = (await import("./getMachineId-darwin-CuhM3hfZ.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
41937
41937
|
break;
|
|
41938
41938
|
case "linux":
|
|
41939
|
-
getMachineIdImpl = (await import("./getMachineId-linux-
|
|
41939
|
+
getMachineIdImpl = (await import("./getMachineId-linux-CYfb0oxZ.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
41940
41940
|
break;
|
|
41941
41941
|
case "freebsd":
|
|
41942
|
-
getMachineIdImpl = (await import("./getMachineId-bsd-
|
|
41942
|
+
getMachineIdImpl = (await import("./getMachineId-bsd-BmasEOJr.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
41943
41943
|
break;
|
|
41944
41944
|
case "win32":
|
|
41945
|
-
getMachineIdImpl = (await import("./getMachineId-win-
|
|
41945
|
+
getMachineIdImpl = (await import("./getMachineId-win-8ZJbtrdf.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
41946
41946
|
break;
|
|
41947
41947
|
default:
|
|
41948
|
-
getMachineIdImpl = (await import("./getMachineId-unsupported-
|
|
41948
|
+
getMachineIdImpl = (await import("./getMachineId-unsupported-DZqI4ZT5.mjs").then((m) => /* @__PURE__ */ __toESM(m.default))).getMachineId;
|
|
41949
41949
|
break;
|
|
41950
41950
|
}
|
|
41951
41951
|
return getMachineIdImpl();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as shutdownTelemetry, d as initTelemetry } from "./observability-BAScT_5S-
|
|
1
|
+
import { b as shutdownTelemetry, d as initTelemetry } from "./observability-BAScT_5S-BcW9HgkG.mjs";
|
|
2
2
|
import "./logger-core-BTmvdflj-DjW8FM4T.mjs";
|
|
3
|
-
import "./esm-
|
|
4
|
-
import "./src-
|
|
3
|
+
import "./esm-iadMkGbV.mjs";
|
|
4
|
+
import "./src-DNBS5Yjj.mjs";
|
|
5
5
|
export { initTelemetry, shutdownTelemetry };
|