first-tree-staging 0.5.23-staging.1237.1 → 0.5.24-staging.1242.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.5.23-staging.1237.1",
3
+ "version": "0.5.24-staging.1242.1",
4
4
  "channel": "staging",
5
5
  "bundleDigest": "sha256:2113fbeef472de6eb3d3aa2ce299bc042b77bfcf15f93c718252c9cb843aa603",
6
6
  "policyDigest": "sha256:270cab9498196fa6a4b66d0b9d1b7e38ef800ecfc37df808256a347b6dbcb828",
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as checkNodeVersion, $n as docCommentStatusSchema, $r as CLIENT_SENTRY_DSN, $t as registerClientRuntimeMarker, An as attachmentRefSchema, At as formatContextTreeSetupReport, B as resolveMemberOrganizationId, Bn as contextIntegrationProjectSchema, Br as getConfigValue, Bt as classifyCliTransportError, Ci as configureClientLoggerForService, Cn as CHAT_ENGAGEMENT_VIEWS, Cr as CLI_USER_AGENT, Ct as activateContextTreeRead, Dn as GITHUB_TASK_REPLY_BODY_MAX_BYTES, Dr as removeLocalAgent, Dt as resolveContextTreeForgeCoordinate, En as CONTEXT_REVIEW_BODY_MAX_BYTES, Er as formatStaleReason, Et as createContextTreeRemote, Fn as classifyContextTreeSetting, Fr as agentConfigSchema, G as localContextDataLossForAgent, Gn as contextSkillLoadRequestSchema, Gr as readContextTreeRepositorySetting, Gt as getClientSwitchStartupBlock, H as assertLocalContextAgentName, Hn as contextIntegrationReleaseManifestSchema, Hr as loadAgents, Ht as readMemberContextReviewConfig, In as contextActivationV2ResponseSchema, Ir as clientConfigSchema, It as setAgentContextTreeBinding, J as installClaudeRuntime, Jn as contextTreeActiveBindingSchema, Jr as setConfigValue, Jt as readActiveClientIdFromIndex, K as resolveLocalContext, Kn as contextSkillLoadResponseSchema, Kr as resetConfigMeta, Kt as hasIncompleteClientSwitch, L as createApiNameResolver, Ln as contextIntegrationConfigSchema, Lr as defaultConfigDir, Lt as validateContextTreeBindingInput, Mn as canonicalGitRepoUrl, Mr as print, Mt as runContextTreeCommand, Nn as canonicalizeResourceRepoUrl, Nr as setJsonMode, Nt as ContextTreeUpdateFailedError, On as agentContextTreeIoQuerySchema, Or as fail, Ot as verifyContextTreeForgeAuth, Pn as chatEngagementViewSchema, Pt as InvalidContextTreeBindingInputError, Q as checkDaemonRuntimeOwnership, Qn as credentialFreeRepositoryUrlSchema, Qr as channelConfig, Qt as recordActiveClientOwner, R as migrateLocalAgentDirs, Rn as contextIntegrationInstallJournalSchema, Rr as defaultDataDir, Rt as ContextTreeUnreadableError, S as runRuntimeAuthLogin, Si as applyClientLoggerConfig, Sn as createLoggerRuntimeOutput, Sr as cliFetch, St as InvalidContextTreeReadSnapshotError, T as promptMissingFields, Tn as CLI_BODY_ORIGIN_METADATA_KEY, Tr as findStaleAliases, Tt as adoptContextTreeRemote, U as inspectLocalContextTree, Un as contextReviewSubmitRequestSchema, Ur as normalizeContextTreeRepository, Ut as confirmLocalClientSwitch, V as LocalContextError, Vn as contextIntegrationProviderSchema, Vr as initConfig, Vt as readContextReviewConfig, W as listLocalContextDataLoss, Wn as contextRouteCandidatesResponseSchema, Wr as readConfigFile, Wt as ensureActiveRootClientIdPersisted, X as checkBackgroundService, Xn as contextTreeInstallationInfoResponseSchema, Xr as asRuntimeProvider, Xt as readActiveRootClientId, Y as checkAgentConfigs, Yn as contextTreeBranchSchema, Yr as RUNTIME_PROVIDER_IDS, Yt as readActiveClientOwner, Z as checkClientConfig, Zn as contextTreeRepoSchema, Zr as isRuntimeProviderEnabled, Zt as readRememberedLocalClientIdForAccount, _ as installPortableSpec, _i as FirstTreeHubSDK, _n as readActiveContextAccountClientId, _r as loadCredentials, _t as preflightContextTreeWrite, a as listWorkspaceChatsForAgent, ai as discoverProviderModels, an as isServiceSupported, ar as legacyContextIntegrationConfigSchema, at as planMarkdownImport, b as uploadAgentSkills, bi as flushClientSentry, bn as contextRepairAdditionalContext, br as saveAgentConfig, bt as preflightContextTreeSeed, c as promptUpdate, ci as ClientRetiredError, cn as restartClientService, cr as parseStrictTeamSkillMarkdown, ct as acquireDaemonRuntimeOwnership, d as detectInstallMode, di as onCodexVerifiedAutomaticCandidateChange, dr as handleClientOrgMismatch, dt as formatDaemonRuntimeRecoveryEvidence, ei as GIT_SHA, en as resolveClientRuntimeStopReason, er as docSlugSchema, et as checkServerReachable, f as fetchLatestVersion, fi as probeCodexCapability, fn as runWindowsSupervisorLoop, fr as CapabilityRefresher, ft as inspectDaemonRuntimeOwnership, g as installGlobalSpec, gi as setCliBinding, gn as assertContextMutationCanStart, gr as ensureFreshAdminToken, gt as ContextTreeWritePreflightCliError, h as installGlobalLatest, hi as recordRemoteBindingObservation, hn as AccountStateMutationBusyError, hr as ensureFreshAccessToken, ht as repairDaemonRuntimeOwnership, i as getWorkspaceChatExactForAgent, ii as discoverClaudeCodeSkills, in as installClientService, ir as githubTaskReplyRequestSchema, it as runtimeProviderChecks, jn as canonicalGitRepoIdentity, jr as isJsonMode, jt as resolveContextTreeCli, kn as askOptionSchema, kr as success, kt as ensureContextTreeSkills, l as refreshServerUpdateTarget, li as ClientUserMismatchError, ln as startClientService, lr as portableCliExecutable, lt as daemonRuntimeHomesEqual, m as fetchServerCommandVersion, mi as readCanonicalContextTreeWriteRouting, mn as loadDaemonEnv, mt as isDaemonRuntimeOwnershipError, n as decodeJwtPayload, ni as buildMessageDocumentSnapshots, nn as switchLocalClientForLogin, nr as documentContextSchema, nt as printResults, o as createExecuteUpdate, oi as probeCapabilities, on as isServiceUnitDriftDetected, or as legacyV2ContextIntegrationConfigSchema, ot as slugFromFilename, p as fetchPortableLatestVersion, pi as getCliBinding, pn as resolveCliInvocation, pt as inspectDaemonRuntimeRecoveryEvidence, q as installCodexRuntime, qn as contextSkillLoaderNameSchema, qr as resolveConfigReadonly, qt as listLiveClientRuntimeMarkers, r as deriveHubUrlFromToken, ri as buildMessageImageSnapshots, rn as getClientServiceStatus, rr as findAssembledBriefingFingerprint, rt as reconcileAgentConfigs, s as declineUpdate, si as ClientOrgMismatchError, sn as refreshClientServiceUnitForUpdate, sr as parseContextTreeScopeMarkdown, st as titleFromMarkdown, t as HubUrlDerivationError, ti as resetConfig, tn as stopClientRuntimeProcess, tr as docStatusSchema, tt as checkWebSocket, u as getChannelInstallCommand, ui as cleanAgentWorkspaces, un as stopClientService, ur as sameContextTreeRepository, ut as formatDaemonRuntimeOwnerSummary, v as listPinnedAgents, vi as SdkError, vn as withAccountStateMutationLock, vt as resolveContextTreeSourceLink, w as promptAddAgent, wi as createLogger, wn as CLI_BODY_ORIGINS, wr as COMMAND_VERSION, wt as readContextTreeReadSnapshotIdentity, x as uploadClientCapabilities, xi as initClientSentry, xn as ClientRuntime, xr as saveCredentials, xt as ContextTreeReadActivationError, y as reconcileLocalRuntimeProviders, yi as captureClientException, yn as withAccountStateMutationLockAsync, yr as resolveServerUrl, yt as ContextTreeSeedPreflightCliError, z as MemberOrganizationResolutionError, zn as contextIntegrationInstallManifestSchema, zr as defaultHome, zt as readAgentContextTreeBinding } from "../connect-token-NN3Ah_dK.mjs";
2
+ import { $ as checkNodeVersion, $n as docCommentStatusSchema, $r as CLIENT_SENTRY_DSN, $t as registerClientRuntimeMarker, An as attachmentRefSchema, At as formatContextTreeSetupReport, B as resolveMemberOrganizationId, Bn as contextIntegrationProjectSchema, Br as getConfigValue, Bt as classifyCliTransportError, Ci as configureClientLoggerForService, Cn as CHAT_ENGAGEMENT_VIEWS, Cr as CLI_USER_AGENT, Ct as activateContextTreeRead, Dn as GITHUB_TASK_REPLY_BODY_MAX_BYTES, Dr as removeLocalAgent, Dt as resolveContextTreeForgeCoordinate, En as CONTEXT_REVIEW_BODY_MAX_BYTES, Er as formatStaleReason, Et as createContextTreeRemote, Fn as classifyContextTreeSetting, Fr as agentConfigSchema, G as localContextDataLossForAgent, Gn as contextSkillLoadRequestSchema, Gr as readContextTreeRepositorySetting, Gt as getClientSwitchStartupBlock, H as assertLocalContextAgentName, Hn as contextIntegrationReleaseManifestSchema, Hr as loadAgents, Ht as readMemberContextReviewConfig, In as contextActivationV2ResponseSchema, Ir as clientConfigSchema, It as setAgentContextTreeBinding, J as installClaudeRuntime, Jn as contextTreeActiveBindingSchema, Jr as setConfigValue, Jt as readActiveClientIdFromIndex, K as resolveLocalContext, Kn as contextSkillLoadResponseSchema, Kr as resetConfigMeta, Kt as hasIncompleteClientSwitch, L as createApiNameResolver, Ln as contextIntegrationConfigSchema, Lr as defaultConfigDir, Lt as validateContextTreeBindingInput, Mn as canonicalGitRepoUrl, Mr as print, Mt as runContextTreeCommand, Nn as canonicalizeResourceRepoUrl, Nr as setJsonMode, Nt as ContextTreeUpdateFailedError, On as agentContextTreeIoQuerySchema, Or as fail, Ot as verifyContextTreeForgeAuth, Pn as chatEngagementViewSchema, Pt as InvalidContextTreeBindingInputError, Q as checkDaemonRuntimeOwnership, Qn as credentialFreeRepositoryUrlSchema, Qr as channelConfig, Qt as recordActiveClientOwner, R as migrateLocalAgentDirs, Rn as contextIntegrationInstallJournalSchema, Rr as defaultDataDir, Rt as ContextTreeUnreadableError, S as runRuntimeAuthLogin, Si as applyClientLoggerConfig, Sn as createLoggerRuntimeOutput, Sr as cliFetch, St as InvalidContextTreeReadSnapshotError, T as promptMissingFields, Tn as CLI_BODY_ORIGIN_METADATA_KEY, Tr as findStaleAliases, Tt as adoptContextTreeRemote, U as inspectLocalContextTree, Un as contextReviewSubmitRequestSchema, Ur as normalizeContextTreeRepository, Ut as confirmLocalClientSwitch, V as LocalContextError, Vn as contextIntegrationProviderSchema, Vr as initConfig, Vt as readContextReviewConfig, W as listLocalContextDataLoss, Wn as contextRouteCandidatesResponseSchema, Wr as readConfigFile, Wt as ensureActiveRootClientIdPersisted, X as checkBackgroundService, Xn as contextTreeInstallationInfoResponseSchema, Xr as asRuntimeProvider, Xt as readActiveRootClientId, Y as checkAgentConfigs, Yn as contextTreeBranchSchema, Yr as RUNTIME_PROVIDER_IDS, Yt as readActiveClientOwner, Z as checkClientConfig, Zn as contextTreeRepoSchema, Zr as isRuntimeProviderEnabled, Zt as readRememberedLocalClientIdForAccount, _ as installPortableSpec, _i as FirstTreeHubSDK, _n as readActiveContextAccountClientId, _r as loadCredentials, _t as preflightContextTreeWrite, a as listWorkspaceChatsForAgent, ai as discoverProviderModels, an as isServiceSupported, ar as legacyContextIntegrationConfigSchema, at as planMarkdownImport, b as uploadAgentSkills, bi as flushClientSentry, bn as contextRepairAdditionalContext, br as saveAgentConfig, bt as preflightContextTreeSeed, c as promptUpdate, ci as ClientRetiredError, cn as restartClientService, cr as parseStrictTeamSkillMarkdown, ct as acquireDaemonRuntimeOwnership, d as detectInstallMode, di as onCodexVerifiedAutomaticCandidateChange, dr as handleClientOrgMismatch, dt as formatDaemonRuntimeRecoveryEvidence, ei as GIT_SHA, en as resolveClientRuntimeStopReason, er as docSlugSchema, et as checkServerReachable, f as fetchLatestVersion, fi as probeCodexCapability, fn as runWindowsSupervisorLoop, fr as CapabilityRefresher, ft as inspectDaemonRuntimeOwnership, g as installGlobalSpec, gi as setCliBinding, gn as assertContextMutationCanStart, gr as ensureFreshAdminToken, gt as ContextTreeWritePreflightCliError, h as installGlobalLatest, hi as recordRemoteBindingObservation, hn as AccountStateMutationBusyError, hr as ensureFreshAccessToken, ht as repairDaemonRuntimeOwnership, i as getWorkspaceChatExactForAgent, ii as discoverClaudeCodeSkills, in as installClientService, ir as githubTaskReplyRequestSchema, it as runtimeProviderChecks, jn as canonicalGitRepoIdentity, jr as isJsonMode, jt as resolveContextTreeCli, kn as askOptionSchema, kr as success, kt as ensureContextTreeSkills, l as refreshServerUpdateTarget, li as ClientUserMismatchError, ln as startClientService, lr as portableCliExecutable, lt as daemonRuntimeHomesEqual, m as fetchServerCommandVersion, mi as readCanonicalContextTreeWriteRouting, mn as loadDaemonEnv, mt as isDaemonRuntimeOwnershipError, n as decodeJwtPayload, ni as buildMessageDocumentSnapshots, nn as switchLocalClientForLogin, nr as documentContextSchema, nt as printResults, o as createExecuteUpdate, oi as probeCapabilities, on as isServiceUnitDriftDetected, or as legacyV2ContextIntegrationConfigSchema, ot as slugFromFilename, p as fetchPortableLatestVersion, pi as getCliBinding, pn as resolveCliInvocation, pt as inspectDaemonRuntimeRecoveryEvidence, q as installCodexRuntime, qn as contextSkillLoaderNameSchema, qr as resolveConfigReadonly, qt as listLiveClientRuntimeMarkers, r as deriveHubUrlFromToken, ri as buildMessageImageSnapshots, rn as getClientServiceStatus, rr as findAssembledBriefingFingerprint, rt as reconcileAgentConfigs, s as declineUpdate, si as ClientOrgMismatchError, sn as refreshClientServiceUnitForUpdate, sr as parseContextTreeScopeMarkdown, st as titleFromMarkdown, t as HubUrlDerivationError, ti as resetConfig, tn as stopClientRuntimeProcess, tr as docStatusSchema, tt as checkWebSocket, u as getChannelInstallCommand, ui as cleanAgentWorkspaces, un as stopClientService, ur as sameContextTreeRepository, ut as formatDaemonRuntimeOwnerSummary, v as listPinnedAgents, vi as SdkError, vn as withAccountStateMutationLock, vt as resolveContextTreeSourceLink, w as promptAddAgent, wi as createLogger, wn as CLI_BODY_ORIGINS, wr as COMMAND_VERSION, wt as readContextTreeReadSnapshotIdentity, x as uploadClientCapabilities, xi as initClientSentry, xn as ClientRuntime, xr as saveCredentials, xt as ContextTreeReadActivationError, y as reconcileLocalRuntimeProviders, yi as captureClientException, yn as withAccountStateMutationLockAsync, yr as resolveServerUrl, yt as ContextTreeSeedPreflightCliError, z as MemberOrganizationResolutionError, zn as contextIntegrationInstallManifestSchema, zr as defaultHome, zt as readAgentContextTreeBinding } from "../connect-token-Cg3S0qkE.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import { z } from "zod";
5
5
  import { basename, dirname, isAbsolute, join, posix, relative, resolve, win32 } from "node:path";
@@ -50154,7 +50154,7 @@ var InputController = class {
50154
50154
  }
50155
50155
  };
50156
50156
  //#endregion
50157
- //#region ../../packages/client/dist/provider-support-t1_9ZOh7.mjs
50157
+ //#region ../../packages/client/dist/provider-support-BcWXCLTO.mjs
50158
50158
  var ProviderAttempt = class {
50159
50159
  provider;
50160
50160
  scope;
@@ -50503,6 +50503,8 @@ function codexDesktopAppBinDirs(home, platform = process.platform) {
50503
50503
  return [
50504
50504
  join("/Applications", "ChatGPT.app", "Contents", "Resources"),
50505
50505
  join(home, "Applications", "ChatGPT.app", "Contents", "Resources"),
50506
+ join("/Applications", "ChatGPT.app", "Contents", "Resources", "codex-cli", "CodexCLI.app", "Contents", "MacOS"),
50507
+ join(home, "Applications", "ChatGPT.app", "Contents", "Resources", "codex-cli", "CodexCLI.app", "Contents", "MacOS"),
50506
50508
  join("/Applications", "Codex.app", "Contents", "Resources"),
50507
50509
  join(home, "Applications", "Codex.app", "Contents", "Resources")
50508
50510
  ];
@@ -57141,12 +57143,7 @@ const createAntigravityHandler = (config) => {
57141
57143
  payload,
57142
57144
  payloadResolved: runtimeConfig !== null,
57143
57145
  existingPayload,
57144
- contextTree: {
57145
- kind: contextTree.kind,
57146
- path: contextTree.path,
57147
- repoUrl: contextTree.repoUrl,
57148
- branch: contextTree.branch
57149
- },
57146
+ contextTree,
57150
57147
  reresolveSource: true,
57151
57148
  markInitComplete: true
57152
57149
  });
@@ -57499,12 +57496,7 @@ const createAntigravityHandler = (config) => {
57499
57496
  await assertContextSourceCurrent({
57500
57497
  sessionCtx,
57501
57498
  sourceAuthorityRoot: workspaceRoot,
57502
- contextTree: {
57503
- kind: contextTree.kind,
57504
- path: contextTree.path,
57505
- repoUrl: contextTree.repoUrl,
57506
- branch: contextTree.branch
57507
- }
57499
+ contextTree
57508
57500
  });
57509
57501
  if (abort.signal.aborted || generation !== turnGeneration || !sessionActive) {
57510
57502
  token.retry(messages, "antigravity_turn_cancelled_before_provider");
@@ -57703,12 +57695,7 @@ const createAntigravityHandler = (config) => {
57703
57695
  runtimeConfig,
57704
57696
  payload,
57705
57697
  payloadResolved: runtimeConfig !== null,
57706
- contextTree: {
57707
- kind: contextTree.kind,
57708
- path: contextTree.path,
57709
- repoUrl: contextTree.repoUrl,
57710
- branch: contextTree.branch
57711
- }
57698
+ contextTree
57712
57699
  });
57713
57700
  cwd = prepared.workspace;
57714
57701
  activeConfig = runtimeConfig;
@@ -60537,7 +60524,14 @@ async function probeOpenCodeCapability(deps = {}) {
60537
60524
  error: "OpenCode is installed, but First Tree cannot run it on Windows until the client-wide pre-admission Job Object supervisor is available."
60538
60525
  };
60539
60526
  }
60540
- const PI_SUPPORTED_VERSION_RANGE = ">=0.80.5 <1.0.0";
60527
+ /**
60528
+ * Compatible CLI range. There is no upper bound: the RPC spawn contract
60529
+ * (`--mode rpc` and the V1 native tool set) is stable across Pi's 0.x and 1.x
60530
+ * lines, so any stable release at or above {@link PI_MINIMUM_VERSION} is
60531
+ * accepted. Prerelease and unparseable `--version` output still fail closed
60532
+ * via {@link isSupportedPiVersion}.
60533
+ */
60534
+ const PI_SUPPORTED_VERSION_RANGE = ">=0.80.5";
60541
60535
  /** Official install / login — shared catalog (compatible re-exports). */
60542
60536
  const PI_INSTALL_COMMAND = runtimeProviderInstallCommand("pi");
60543
60537
  runtimeProviderLoginCommand("pi");
@@ -61152,12 +61146,7 @@ const createAmpHandler = (config) => {
61152
61146
  payload,
61153
61147
  payloadResolved: runtimeConfig !== null,
61154
61148
  existingPayload,
61155
- contextTree: {
61156
- kind: contextTree.kind,
61157
- path: contextTree.path,
61158
- repoUrl: contextTree.repoUrl,
61159
- branch: contextTree.branch
61160
- },
61149
+ contextTree,
61161
61150
  reresolveSource: true,
61162
61151
  markInitComplete: true
61163
61152
  });
@@ -61480,12 +61469,7 @@ const createAmpHandler = (config) => {
61480
61469
  await assertContextSourceCurrent({
61481
61470
  sessionCtx,
61482
61471
  sourceAuthorityRoot: workspaceRoot,
61483
- contextTree: {
61484
- kind: contextTree.kind,
61485
- path: contextTree.path,
61486
- repoUrl: contextTree.repoUrl,
61487
- branch: contextTree.branch
61488
- }
61472
+ contextTree
61489
61473
  });
61490
61474
  if (abort.signal.aborted || generation !== turnGeneration || !sessionActive) return false;
61491
61475
  const oneShotPrompt = pendingChatContextPrompt;
@@ -61673,12 +61657,7 @@ const createAmpHandler = (config) => {
61673
61657
  runtimeConfig,
61674
61658
  payload,
61675
61659
  payloadResolved: runtimeConfig !== null,
61676
- contextTree: {
61677
- kind: contextTree.kind,
61678
- path: contextTree.path,
61679
- repoUrl: contextTree.repoUrl,
61680
- branch: contextTree.branch
61681
- }
61660
+ contextTree
61682
61661
  });
61683
61662
  cwd = prepared.workspace;
61684
61663
  activeConfig = runtimeConfig;
@@ -62842,12 +62821,7 @@ const createClaudeCodeHandler = (config) => {
62842
62821
  await assertContextSourceCurrent({
62843
62822
  sessionCtx,
62844
62823
  sourceAuthorityRoot: workspaceRoot,
62845
- contextTree: {
62846
- kind: contextTree.kind,
62847
- path: contextTree.path,
62848
- repoUrl: contextTree.repoUrl,
62849
- branch: contextTree.branch
62850
- }
62824
+ contextTree
62851
62825
  });
62852
62826
  }
62853
62827
  /**
@@ -62986,12 +62960,7 @@ const createClaudeCodeHandler = (config) => {
62986
62960
  payload: cached.payload,
62987
62961
  payloadResolved: true,
62988
62962
  existingPayload: projectedPayload ?? void 0,
62989
- contextTree: {
62990
- kind: contextTree.kind,
62991
- path: contextTree.path,
62992
- repoUrl: contextTree.repoUrl,
62993
- branch: contextTree.branch
62994
- },
62963
+ contextTree,
62995
62964
  reresolveSource: true,
62996
62965
  markInitComplete: false,
62997
62966
  writeIdentityAndManifest: !legacyProjection,
@@ -63097,12 +63066,7 @@ const createClaudeCodeHandler = (config) => {
63097
63066
  await assertContextSourceCurrent({
63098
63067
  sessionCtx,
63099
63068
  sourceAuthorityRoot: workspaceRoot,
63100
- contextTree: {
63101
- kind: contextTree.kind,
63102
- path: contextTree.path,
63103
- repoUrl: contextTree.repoUrl,
63104
- branch: contextTree.branch
63105
- }
63069
+ contextTree
63106
63070
  });
63107
63071
  buildQuery(sessionId, sessionCtx, sessionId, activeProviderEnv ?? buildEnv(sessionCtx));
63108
63072
  const replay = unclosedSdkInputs.slice();
@@ -63193,12 +63157,7 @@ const createClaudeCodeHandler = (config) => {
63193
63157
  payload: newPayload,
63194
63158
  payloadResolved: true,
63195
63159
  existingPayload: appliedPayload ?? void 0,
63196
- contextTree: {
63197
- kind: contextTree.kind,
63198
- path: contextTree.path,
63199
- repoUrl: contextTree.repoUrl,
63200
- branch: contextTree.branch
63201
- },
63160
+ contextTree,
63202
63161
  reresolveSource: true,
63203
63162
  markInitComplete: false,
63204
63163
  writeIdentityAndManifest: !legacyProjection,
@@ -63586,12 +63545,7 @@ const createClaudeCodeHandler = (config) => {
63586
63545
  runtimeConfig,
63587
63546
  payload,
63588
63547
  payloadResolved,
63589
- contextTree: {
63590
- kind: contextTree.kind,
63591
- path: contextTree.path,
63592
- repoUrl: contextTree.repoUrl,
63593
- branch: contextTree.branch
63594
- }
63548
+ contextTree
63595
63549
  });
63596
63550
  cwd = prepared.workspace;
63597
63551
  chatContextForPrompt = prepared.chatContext;
@@ -63639,12 +63593,7 @@ const createClaudeCodeHandler = (config) => {
63639
63593
  runtimeConfig,
63640
63594
  payload,
63641
63595
  payloadResolved,
63642
- contextTree: {
63643
- kind: contextTree.kind,
63644
- path: contextTree.path,
63645
- repoUrl: contextTree.repoUrl,
63646
- branch: contextTree.branch
63647
- },
63596
+ contextTree,
63648
63597
  reresolveSource: true,
63649
63598
  markInitComplete: false,
63650
63599
  writeIdentityAndManifest: false,
@@ -63684,12 +63633,7 @@ const createClaudeCodeHandler = (config) => {
63684
63633
  runtimeConfig,
63685
63634
  payload,
63686
63635
  payloadResolved,
63687
- contextTree: {
63688
- kind: contextTree.kind,
63689
- path: contextTree.path,
63690
- repoUrl: contextTree.repoUrl,
63691
- branch: contextTree.branch
63692
- }
63636
+ contextTree
63693
63637
  });
63694
63638
  cwd = prepared.workspace;
63695
63639
  chatContextForPrompt = prepared.chatContext;
@@ -64392,12 +64336,7 @@ const createClaudeCodeTuiHandler = (config) => {
64392
64336
  await assertContextSourceCurrent({
64393
64337
  sessionCtx,
64394
64338
  sourceAuthorityRoot: workspaceRoot,
64395
- contextTree: {
64396
- kind: contextTree.kind,
64397
- path: contextTree.path,
64398
- repoUrl: contextTree.repoUrl,
64399
- branch: contextTree.branch
64400
- }
64339
+ contextTree
64401
64340
  });
64402
64341
  await newSession({
64403
64342
  name: sessionName,
@@ -64663,12 +64602,7 @@ const createClaudeCodeTuiHandler = (config) => {
64663
64602
  runtimeConfig: agentConfigCache?.get(sessionCtx.agent.agentId) ?? null,
64664
64603
  payload,
64665
64604
  payloadResolved: resolvedPayload !== null && resolvedPayload !== void 0,
64666
- contextTree: {
64667
- kind: contextTree.kind,
64668
- path: contextTree.path,
64669
- repoUrl: contextTree.repoUrl,
64670
- branch: contextTree.branch
64671
- }
64605
+ contextTree
64672
64606
  });
64673
64607
  cwd = prepared.workspace;
64674
64608
  chatContextForPrompt = prepared.chatContext;
@@ -64736,12 +64670,7 @@ const createClaudeCodeTuiHandler = (config) => {
64736
64670
  runtimeConfig: agentConfigCache?.get(sessionCtx.agent.agentId) ?? null,
64737
64671
  payload,
64738
64672
  payloadResolved: resumePayloadResolved !== null && resumePayloadResolved !== void 0,
64739
- contextTree: {
64740
- kind: contextTree.kind,
64741
- path: contextTree.path,
64742
- repoUrl: contextTree.repoUrl,
64743
- branch: contextTree.branch
64744
- }
64673
+ contextTree
64745
64674
  });
64746
64675
  cwd = prepared.workspace;
64747
64676
  chatContextForPrompt = prepared.chatContext;
@@ -65746,12 +65675,7 @@ const createCodexSdkHandler = (config) => {
65746
65675
  await assertContextSourceCurrent({
65747
65676
  sessionCtx,
65748
65677
  sourceAuthorityRoot: workspaceRoot,
65749
- contextTree: {
65750
- kind: contextTree.kind,
65751
- path: contextTree.path,
65752
- repoUrl: contextTree.repoUrl,
65753
- branch: contextTree.branch
65754
- }
65678
+ contextTree
65755
65679
  });
65756
65680
  } catch (sourceError) {
65757
65681
  if (!isContextSourceTransitionError(sourceError)) throw sourceError;
@@ -65832,12 +65756,7 @@ const createCodexSdkHandler = (config) => {
65832
65756
  payload,
65833
65757
  existingPayload: activePayload ?? void 0,
65834
65758
  payloadResolved: true,
65835
- contextTree: {
65836
- kind: contextTree.kind,
65837
- path: contextTree.path,
65838
- repoUrl: contextTree.repoUrl,
65839
- branch: contextTree.branch
65840
- },
65759
+ contextTree,
65841
65760
  reresolveSource: true,
65842
65761
  markInitComplete: false
65843
65762
  });
@@ -65932,12 +65851,7 @@ const createCodexSdkHandler = (config) => {
65932
65851
  runtimeConfig,
65933
65852
  payload,
65934
65853
  payloadResolved,
65935
- contextTree: {
65936
- kind: contextTree.kind,
65937
- path: contextTree.path,
65938
- repoUrl: contextTree.repoUrl,
65939
- branch: contextTree.branch
65940
- }
65854
+ contextTree
65941
65855
  });
65942
65856
  cwd = prepared.workspace;
65943
65857
  pendingChatContextPrompt = renderChatContextPrompt(prepared.chatContext);
@@ -66003,12 +65917,7 @@ const createCodexSdkHandler = (config) => {
66003
65917
  runtimeConfig,
66004
65918
  payload,
66005
65919
  payloadResolved: resumePayloadResolved,
66006
- contextTree: {
66007
- kind: contextTree.kind,
66008
- path: contextTree.path,
66009
- repoUrl: contextTree.repoUrl,
66010
- branch: contextTree.branch
66011
- }
65920
+ contextTree
66012
65921
  });
66013
65922
  cwd = prepared.workspace;
66014
65923
  pendingChatContextPrompt = renderChatContextPrompt(prepared.chatContext);
@@ -66842,12 +66751,7 @@ const createCodexAppServerHandler = (config) => {
66842
66751
  runtimeConfig,
66843
66752
  payload,
66844
66753
  payloadResolved: resolved,
66845
- contextTree: {
66846
- kind: contextTree.kind,
66847
- path: contextTree.path,
66848
- repoUrl: contextTree.repoUrl,
66849
- branch: contextTree.branch
66850
- },
66754
+ contextTree,
66851
66755
  beforeBriefing: async ({ workspace }) => {
66852
66756
  env = buildEnv(sessionCtx);
66853
66757
  if (workspaceOnly) {
@@ -66951,12 +66855,7 @@ const createCodexAppServerHandler = (config) => {
66951
66855
  await assertContextSourceCurrent({
66952
66856
  sessionCtx,
66953
66857
  sourceAuthorityRoot: workspaceRoot,
66954
- contextTree: {
66955
- kind: contextTree.kind,
66956
- path: contextTree.path,
66957
- repoUrl: contextTree.repoUrl,
66958
- branch: contextTree.branch
66959
- }
66858
+ contextTree
66960
66859
  });
66961
66860
  try {
66962
66861
  result = await client.request("thread/start", {
@@ -66980,12 +66879,7 @@ const createCodexAppServerHandler = (config) => {
66980
66879
  await assertContextSourceCurrent({
66981
66880
  sessionCtx,
66982
66881
  sourceAuthorityRoot: workspaceRoot,
66983
- contextTree: {
66984
- kind: contextTree.kind,
66985
- path: contextTree.path,
66986
- repoUrl: contextTree.repoUrl,
66987
- branch: contextTree.branch
66988
- }
66882
+ contextTree
66989
66883
  });
66990
66884
  try {
66991
66885
  validateEffectiveServiceTier(await client.request("thread/resume", {
@@ -67011,12 +66905,7 @@ const createCodexAppServerHandler = (config) => {
67011
66905
  await assertContextSourceCurrent({
67012
66906
  sessionCtx,
67013
66907
  sourceAuthorityRoot: workspaceRoot,
67014
- contextTree: {
67015
- kind: contextTree.kind,
67016
- path: contextTree.path,
67017
- repoUrl: contextTree.repoUrl,
67018
- branch: contextTree.branch
67019
- }
66908
+ contextTree
67020
66909
  });
67021
66910
  } catch (sourceError) {
67022
66911
  if (!isContextSourceTransitionError(sourceError)) throw sourceError;
@@ -67905,12 +67794,7 @@ const createCodexAppServerHandler = (config) => {
67905
67794
  payload,
67906
67795
  existingPayload: activePayload ?? void 0,
67907
67796
  payloadResolved: true,
67908
- contextTree: {
67909
- kind: contextTree.kind,
67910
- path: contextTree.path,
67911
- repoUrl: contextTree.repoUrl,
67912
- branch: contextTree.branch
67913
- },
67797
+ contextTree,
67914
67798
  reresolveSource: true,
67915
67799
  markInitComplete: false
67916
67800
  })).briefing;
@@ -69505,12 +69389,7 @@ const createCursorHandler = (config) => {
69505
69389
  await assertContextSourceCurrent({
69506
69390
  sessionCtx,
69507
69391
  sourceAuthorityRoot: workspaceRoot,
69508
- contextTree: {
69509
- kind: contextTree.kind,
69510
- path: contextTree.path,
69511
- repoUrl: contextTree.repoUrl,
69512
- branch: contextTree.branch
69513
- }
69392
+ contextTree
69514
69393
  });
69515
69394
  if (cwd !== workspaceCwd || binary !== activeBinary || !sessionActive) {
69516
69395
  token.retry(messages, "cursor_session_inactive");
@@ -69557,12 +69436,7 @@ const createCursorHandler = (config) => {
69557
69436
  await assertContextSourceCurrent({
69558
69437
  sessionCtx,
69559
69438
  sourceAuthorityRoot: workspaceRoot,
69560
- contextTree: {
69561
- kind: contextTree.kind,
69562
- path: contextTree.path,
69563
- repoUrl: contextTree.repoUrl,
69564
- branch: contextTree.branch
69565
- }
69439
+ contextTree
69566
69440
  });
69567
69441
  if (abort.signal.aborted || turnGeneration !== generation || cwd !== workspaceCwd || binary !== activeBinary || !sessionActive) return false;
69568
69442
  return await runTurnWithProjection(input, sessionCtx, messages, token, workspaceCwd, activeBinary, model, env, generation, abort);
@@ -69685,12 +69559,7 @@ const createCursorHandler = (config) => {
69685
69559
  await assertContextSourceCurrent({
69686
69560
  sessionCtx,
69687
69561
  sourceAuthorityRoot: workspaceRoot,
69688
- contextTree: {
69689
- kind: contextTree.kind,
69690
- path: contextTree.path,
69691
- repoUrl: contextTree.repoUrl,
69692
- branch: contextTree.branch
69693
- }
69562
+ contextTree
69694
69563
  });
69695
69564
  } catch (sourceError) {
69696
69565
  if (!isContextSourceTransitionError(sourceError)) throw sourceError;
@@ -69807,12 +69676,7 @@ const createCursorHandler = (config) => {
69807
69676
  payload,
69808
69677
  existingPayload: activePayload ?? void 0,
69809
69678
  payloadResolved: true,
69810
- contextTree: {
69811
- kind: contextTree.kind,
69812
- path: contextTree.path,
69813
- repoUrl: contextTree.repoUrl,
69814
- branch: contextTree.branch
69815
- },
69679
+ contextTree,
69816
69680
  reresolveSource: true,
69817
69681
  markInitComplete: false
69818
69682
  });
@@ -69904,12 +69768,7 @@ const createCursorHandler = (config) => {
69904
69768
  runtimeConfig,
69905
69769
  payload,
69906
69770
  payloadResolved,
69907
- contextTree: {
69908
- kind: contextTree.kind,
69909
- path: contextTree.path,
69910
- repoUrl: contextTree.repoUrl,
69911
- branch: contextTree.branch
69912
- }
69771
+ contextTree
69913
69772
  });
69914
69773
  const workspaceCwd = prepared.workspace;
69915
69774
  cwd = workspaceCwd;
@@ -70342,12 +70201,7 @@ const createDeepseekHandler = (config) => {
70342
70201
  payload,
70343
70202
  payloadResolved: runtimeConfig !== null,
70344
70203
  existingPayload,
70345
- contextTree: {
70346
- kind: contextTree.kind,
70347
- path: contextTree.path,
70348
- repoUrl: contextTree.repoUrl,
70349
- branch: contextTree.branch
70350
- },
70204
+ contextTree,
70351
70205
  reresolveSource: true,
70352
70206
  markInitComplete: true
70353
70207
  });
@@ -70606,12 +70460,7 @@ const createDeepseekHandler = (config) => {
70606
70460
  await assertContextSourceCurrent({
70607
70461
  sessionCtx,
70608
70462
  sourceAuthorityRoot: workspaceRoot,
70609
- contextTree: {
70610
- kind: contextTree.kind,
70611
- path: contextTree.path,
70612
- repoUrl: contextTree.repoUrl,
70613
- branch: contextTree.branch
70614
- }
70463
+ contextTree
70615
70464
  });
70616
70465
  if (abort.signal.aborted || generation !== turnGeneration || !sessionActive) return false;
70617
70466
  const oneShotPrompt = pendingChatContextPrompt;
@@ -70766,12 +70615,7 @@ const createDeepseekHandler = (config) => {
70766
70615
  runtimeConfig,
70767
70616
  payload,
70768
70617
  payloadResolved: runtimeConfig !== null,
70769
- contextTree: {
70770
- kind: contextTree.kind,
70771
- path: contextTree.path,
70772
- repoUrl: contextTree.repoUrl,
70773
- branch: contextTree.branch
70774
- }
70618
+ contextTree
70775
70619
  });
70776
70620
  cwd = prepared.workspace;
70777
70621
  activeConfig = runtimeConfig;
@@ -72350,12 +72194,7 @@ const createGrokHandler = (config) => {
72350
72194
  await assertContextSourceCurrent({
72351
72195
  sessionCtx,
72352
72196
  sourceAuthorityRoot: workspaceRoot,
72353
- contextTree: {
72354
- kind: contextTree.kind,
72355
- path: contextTree.path,
72356
- repoUrl: contextTree.repoUrl,
72357
- branch: contextTree.branch
72358
- }
72197
+ contextTree
72359
72198
  });
72360
72199
  if (cwd !== workspaceCwd || binary !== activeBinary || !sessionActive) {
72361
72200
  token.retry(messages, "grok_session_inactive");
@@ -72528,12 +72367,7 @@ const createGrokHandler = (config) => {
72528
72367
  await assertContextSourceCurrent({
72529
72368
  sessionCtx,
72530
72369
  sourceAuthorityRoot: workspaceRoot,
72531
- contextTree: {
72532
- kind: contextTree.kind,
72533
- path: contextTree.path,
72534
- repoUrl: contextTree.repoUrl,
72535
- branch: contextTree.branch
72536
- }
72370
+ contextTree
72537
72371
  });
72538
72372
  } catch (sourceError) {
72539
72373
  if (!isContextSourceTransitionError(sourceError)) throw sourceError;
@@ -72654,12 +72488,7 @@ const createGrokHandler = (config) => {
72654
72488
  payload,
72655
72489
  existingPayload: activePayload ?? void 0,
72656
72490
  payloadResolved: true,
72657
- contextTree: {
72658
- kind: contextTree.kind,
72659
- path: contextTree.path,
72660
- repoUrl: contextTree.repoUrl,
72661
- branch: contextTree.branch
72662
- },
72491
+ contextTree,
72663
72492
  reresolveSource: true,
72664
72493
  markInitComplete: false
72665
72494
  });
@@ -72753,12 +72582,7 @@ const createGrokHandler = (config) => {
72753
72582
  runtimeConfig,
72754
72583
  payload,
72755
72584
  payloadResolved,
72756
- contextTree: {
72757
- kind: contextTree.kind,
72758
- path: contextTree.path,
72759
- repoUrl: contextTree.repoUrl,
72760
- branch: contextTree.branch
72761
- }
72585
+ contextTree
72762
72586
  });
72763
72587
  const workspaceCwd = prepared.workspace;
72764
72588
  cwd = workspaceCwd;
@@ -73487,12 +73311,7 @@ const createKimiCodeHandler = (config) => {
73487
73311
  runtimeConfig,
73488
73312
  payload,
73489
73313
  payloadResolved,
73490
- contextTree: {
73491
- kind: contextTree.kind,
73492
- path: contextTree.path,
73493
- repoUrl: contextTree.repoUrl,
73494
- branch: contextTree.branch
73495
- }
73314
+ contextTree
73496
73315
  });
73497
73316
  const workspaceCwd = prepared.workspace;
73498
73317
  cwd = workspaceCwd;
@@ -73577,12 +73396,7 @@ const createKimiCodeHandler = (config) => {
73577
73396
  await assertContextSourceCurrent({
73578
73397
  sessionCtx,
73579
73398
  sourceAuthorityRoot: workspaceRoot,
73580
- contextTree: {
73581
- kind: contextTree.kind,
73582
- path: contextTree.path,
73583
- repoUrl: contextTree.repoUrl,
73584
- branch: contextTree.branch
73585
- }
73399
+ contextTree
73586
73400
  });
73587
73401
  session = await activeHarness.createSession(options);
73588
73402
  sessionId = session.id;
@@ -73623,12 +73437,7 @@ const createKimiCodeHandler = (config) => {
73623
73437
  await assertContextSourceCurrent({
73624
73438
  sessionCtx,
73625
73439
  sourceAuthorityRoot: workspaceRoot,
73626
- contextTree: {
73627
- kind: contextTree.kind,
73628
- path: contextTree.path,
73629
- repoUrl: contextTree.repoUrl,
73630
- branch: contextTree.branch
73631
- }
73440
+ contextTree
73632
73441
  });
73633
73442
  session = await activeHarness.resumeSession(input);
73634
73443
  sessionId = session.id;
@@ -74455,12 +74264,7 @@ const createOpenCodeHandler = (config) => {
74455
74264
  payload,
74456
74265
  payloadResolved: runtimeConfig !== null,
74457
74266
  existingPayload,
74458
- contextTree: {
74459
- kind: contextTree.kind,
74460
- path: contextTree.path,
74461
- repoUrl: contextTree.repoUrl,
74462
- branch: contextTree.branch
74463
- },
74267
+ contextTree,
74464
74268
  reresolveSource: true,
74465
74269
  markInitComplete: true
74466
74270
  });
@@ -74851,12 +74655,7 @@ const createOpenCodeHandler = (config) => {
74851
74655
  await assertContextSourceCurrent({
74852
74656
  sessionCtx,
74853
74657
  sourceAuthorityRoot: workspaceRoot,
74854
- contextTree: {
74855
- kind: contextTree.kind,
74856
- path: contextTree.path,
74857
- repoUrl: contextTree.repoUrl,
74858
- branch: contextTree.branch
74859
- }
74658
+ contextTree
74860
74659
  });
74861
74660
  if (abort.signal.aborted || generation !== turnGeneration || !sessionActive) return false;
74862
74661
  const oneShotPrompt = pendingChatContextPrompt;
@@ -75058,12 +74857,7 @@ const createOpenCodeHandler = (config) => {
75058
74857
  runtimeConfig,
75059
74858
  payload,
75060
74859
  payloadResolved: runtimeConfig !== null,
75061
- contextTree: {
75062
- kind: contextTree.kind,
75063
- path: contextTree.path,
75064
- repoUrl: contextTree.repoUrl,
75065
- branch: contextTree.branch
75066
- }
74860
+ contextTree
75067
74861
  });
75068
74862
  cwd = prepared.workspace;
75069
74863
  activeConfig = runtimeConfig;
@@ -76291,12 +76085,7 @@ const createPiHandler = (config) => {
76291
76085
  await assertContextSourceCurrent({
76292
76086
  sessionCtx,
76293
76087
  sourceAuthorityRoot: workspaceRoot,
76294
- contextTree: {
76295
- kind: contextTree.kind,
76296
- path: contextTree.path,
76297
- repoUrl: contextTree.repoUrl,
76298
- branch: contextTree.branch
76299
- }
76088
+ contextTree
76300
76089
  });
76301
76090
  if (rpcClient && !rpcClient.isClosed) {
76302
76091
  sessionCtx.log("pi spawn-scoped config changed; restarting RPC process against the stable session id");
@@ -76309,12 +76098,7 @@ const createPiHandler = (config) => {
76309
76098
  await assertContextSourceCurrent({
76310
76099
  sessionCtx,
76311
76100
  sourceAuthorityRoot: workspaceRoot,
76312
- contextTree: {
76313
- kind: contextTree.kind,
76314
- path: contextTree.path,
76315
- repoUrl: contextTree.repoUrl,
76316
- branch: contextTree.branch
76317
- }
76101
+ contextTree
76318
76102
  });
76319
76103
  const args = buildPiRpcArgs({
76320
76104
  sessionId: prepared.sessionId,
@@ -76891,12 +76675,7 @@ const createPiHandler = (config) => {
76891
76675
  payload,
76892
76676
  payloadResolved,
76893
76677
  existingPayload: existingPayload ?? void 0,
76894
- contextTree: {
76895
- kind: contextTree.kind,
76896
- path: contextTree.path,
76897
- repoUrl: contextTree.repoUrl,
76898
- branch: contextTree.branch
76899
- },
76678
+ contextTree,
76900
76679
  reresolveSource: true,
76901
76680
  markInitComplete: false,
76902
76681
  atProjectionEntry: () => {
@@ -77166,12 +76945,7 @@ const createPiHandler = (config) => {
77166
76945
  payload,
77167
76946
  payloadResolved,
77168
76947
  existingPayload: existingPayload ?? void 0,
77169
- contextTree: {
77170
- kind: contextTree.kind,
77171
- path: contextTree.path,
77172
- repoUrl: contextTree.repoUrl,
77173
- branch: contextTree.branch
77174
- },
76948
+ contextTree,
77175
76949
  atProjectionEntry: () => {
77176
76950
  assertLifecycleGeneration(generation, "prepare_before_projection");
77177
76951
  },
@@ -87923,7 +87697,7 @@ function inferChannelFromVersion(version) {
87923
87697
  //#endregion
87924
87698
  //#region src/build-info.ts
87925
87699
  const CHANNEL = "staging";
87926
- const GIT_SHA = "e2e5c9792e197a5fe43b308453ea569efab6225f";
87700
+ const GIT_SHA = "1ecf91eeedf964072dd31a0fb5b297879a6bce8f";
87927
87701
  const CLIENT_SENTRY_DSN = "https://5d27fb42311f9f8764ccc38823ee3ff4@o4510502633209856.ingest.us.sentry.io/4511646359486464";
87928
87702
  //#endregion
87929
87703
  //#region src/core/channel.ts
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as checkNodeVersion, A as migrateWorkspaceToW1, Ar as blank, At as formatContextTreeSetupReport, B as resolveMemberOrganizationId, C as isInteractive, Ct as activateContextTreeRead, D as onboardCheck, Dt as resolveContextTreeForgeCoordinate, E as formatCheckReport, Et as createContextTreeRemote, F as readWorkspaceManifest, Ft as classifyContextTreeUpdateError, G as localContextDataLossForAgent, H as assertLocalContextAgentName, Ht as readMemberContextReviewConfig, I as writeWorkspaceManifest, It as setAgentContextTreeBinding, K as resolveLocalContext, Lt as validateContextTreeBindingInput, M as computeWorkspaceStatus, N as discoverWorkspaceRoot, Nt as ContextTreeUpdateFailedError, O as onboardCreate, Ot as verifyContextTreeForgeAuth, P as pickImmediateWorkspaceSources, Pr as status, Pt as InvalidContextTreeBindingInputError, St as InvalidContextTreeReadSnapshotError, T as promptMissingFields, Tt as adoptContextTreeRemote, U as inspectLocalContextTree, Vt as readContextReviewConfig, W as listLocalContextDataLoss, Y as checkAgentConfigs, Z as checkClientConfig, _i as FirstTreeHubSDK, _t as preflightContextTreeWrite, a as listWorkspaceChatsForAgent, an as isServiceSupported, bt as preflightContextTreeSeed, cn as restartClientService, dn as uninstallClientService, dr as handleClientOrgMismatch, et as checkServerReachable, gr as ensureFreshAdminToken, gt as ContextTreeWritePreflightCliError, hr as ensureFreshAccessToken, i as getWorkspaceChatExactForAgent, in as installClientService, j as promoteToWorkspace, k as detectMigrationState, kt as ensureContextTreeSkills, ln as startClientService, mr as AuthRefreshRateLimitedError, nt as printResults, ot as slugFromFilename, pn as resolveCliInvocation, pr as AuthRefreshFailedError, r as deriveHubUrlFromToken, rn as getClientServiceStatus, st as titleFromMarkdown, t as HubUrlDerivationError, tt as checkWebSocket, un as stopClientService, vi as SdkError, vr as resolveAccessToken, vt as resolveContextTreeSourceLink, w as promptAddAgent, wt as readContextTreeReadSnapshotIdentity, xn as ClientRuntime, xt as ContextTreeReadActivationError, yr as resolveServerUrl, yt as ContextTreeSeedPreflightCliError, z as MemberOrganizationResolutionError } from "./connect-token-NN3Ah_dK.mjs";
1
+ import { $ as checkNodeVersion, A as migrateWorkspaceToW1, Ar as blank, At as formatContextTreeSetupReport, B as resolveMemberOrganizationId, C as isInteractive, Ct as activateContextTreeRead, D as onboardCheck, Dt as resolveContextTreeForgeCoordinate, E as formatCheckReport, Et as createContextTreeRemote, F as readWorkspaceManifest, Ft as classifyContextTreeUpdateError, G as localContextDataLossForAgent, H as assertLocalContextAgentName, Ht as readMemberContextReviewConfig, I as writeWorkspaceManifest, It as setAgentContextTreeBinding, K as resolveLocalContext, Lt as validateContextTreeBindingInput, M as computeWorkspaceStatus, N as discoverWorkspaceRoot, Nt as ContextTreeUpdateFailedError, O as onboardCreate, Ot as verifyContextTreeForgeAuth, P as pickImmediateWorkspaceSources, Pr as status, Pt as InvalidContextTreeBindingInputError, St as InvalidContextTreeReadSnapshotError, T as promptMissingFields, Tt as adoptContextTreeRemote, U as inspectLocalContextTree, Vt as readContextReviewConfig, W as listLocalContextDataLoss, Y as checkAgentConfigs, Z as checkClientConfig, _i as FirstTreeHubSDK, _t as preflightContextTreeWrite, a as listWorkspaceChatsForAgent, an as isServiceSupported, bt as preflightContextTreeSeed, cn as restartClientService, dn as uninstallClientService, dr as handleClientOrgMismatch, et as checkServerReachable, gr as ensureFreshAdminToken, gt as ContextTreeWritePreflightCliError, hr as ensureFreshAccessToken, i as getWorkspaceChatExactForAgent, in as installClientService, j as promoteToWorkspace, k as detectMigrationState, kt as ensureContextTreeSkills, ln as startClientService, mr as AuthRefreshRateLimitedError, nt as printResults, ot as slugFromFilename, pn as resolveCliInvocation, pr as AuthRefreshFailedError, r as deriveHubUrlFromToken, rn as getClientServiceStatus, st as titleFromMarkdown, t as HubUrlDerivationError, tt as checkWebSocket, un as stopClientService, vi as SdkError, vr as resolveAccessToken, vt as resolveContextTreeSourceLink, w as promptAddAgent, wt as readContextTreeReadSnapshotIdentity, xn as ClientRuntime, xt as ContextTreeReadActivationError, yr as resolveServerUrl, yt as ContextTreeSeedPreflightCliError, z as MemberOrganizationResolutionError } from "./connect-token-Cg3S0qkE.mjs";
2
2
  export { AuthRefreshFailedError, AuthRefreshRateLimitedError, ClientRuntime, ContextTreeReadActivationError, ContextTreeSeedPreflightCliError, ContextTreeUpdateFailedError, ContextTreeWritePreflightCliError, FirstTreeHubSDK, FirstTreeHubSDK as FirstTreeSDK, HubUrlDerivationError, InvalidContextTreeBindingInputError, InvalidContextTreeReadSnapshotError, MemberOrganizationResolutionError, SdkError, activateContextTreeRead, adoptContextTreeRemote, assertLocalContextAgentName, blank, checkAgentConfigs, checkClientConfig, checkNodeVersion, checkServerReachable, checkWebSocket, classifyContextTreeUpdateError, computeWorkspaceStatus, createContextTreeRemote, deriveHubUrlFromToken, detectMigrationState, discoverWorkspaceRoot, ensureContextTreeSkills, ensureFreshAccessToken, ensureFreshAdminToken, formatCheckReport, formatContextTreeSetupReport, getClientServiceStatus, getWorkspaceChatExactForAgent, handleClientOrgMismatch, inspectLocalContextTree, installClientService, isInteractive, isServiceSupported, listLocalContextDataLoss, listWorkspaceChatsForAgent, localContextDataLossForAgent, migrateWorkspaceToW1, onboardCheck, onboardCreate, pickImmediateWorkspaceSources, preflightContextTreeSeed, preflightContextTreeWrite, printResults, promoteToWorkspace, promptAddAgent, promptMissingFields, readContextReviewConfig, readContextTreeReadSnapshotIdentity, readMemberContextReviewConfig, readWorkspaceManifest, resolveAccessToken, resolveCliInvocation, resolveContextTreeForgeCoordinate, resolveContextTreeSourceLink, resolveLocalContext, resolveMemberOrganizationId, resolveServerUrl, restartClientService, setAgentContextTreeBinding, slugFromFilename, startClientService, status, stopClientService, titleFromMarkdown, uninstallClientService, validateContextTreeBindingInput, verifyContextTreeForgeAuth, writeWorkspaceManifest };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "first-tree-staging",
3
- "version": "0.5.23-staging.1237.1",
3
+ "version": "0.5.24-staging.1242.1",
4
4
  "type": "module",
5
5
  "description": "First Tree — unified CLI for Context Tree onboarding, agent management, and team messaging. (Source-tree dev build; CI rewrites `name` and `bin` for prod / staging publishes — see docs/local-dev-isolation.md.)",
6
6
  "keywords": [