t3code-cli 0.14.1 → 0.15.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.
Files changed (185) hide show
  1. package/README.md +37 -1
  2. package/dist/application.d.ts +2 -2
  3. package/dist/application.js +1 -1
  4. package/dist/auth.d.ts +1 -1
  5. package/dist/auth.js +1 -1
  6. package/dist/bin.js +1305 -424
  7. package/dist/cli.d.ts +1 -1
  8. package/dist/cli.js +1 -1
  9. package/dist/client-runtime/authorization.d.ts +1 -1
  10. package/dist/client-runtime/authorization.js +1 -1
  11. package/dist/client-runtime/connection.d.ts +1 -1
  12. package/dist/client-runtime/connection.js +1 -1
  13. package/dist/client-runtime/environment.d.ts +7 -1
  14. package/dist/client-runtime/environment.js +1 -1
  15. package/dist/client-runtime/errors.js +1 -1
  16. package/dist/client-runtime/operations/projects.d.ts +2 -2
  17. package/dist/client-runtime/operations/projects.js +2 -2
  18. package/dist/client-runtime/operations.d.ts +2 -2
  19. package/dist/client-runtime/operations.js +2 -2
  20. package/dist/client-runtime/platform.d.ts +1 -1
  21. package/dist/client-runtime/platform.js +1 -1
  22. package/dist/client-runtime/relay.d.ts +13 -2
  23. package/dist/client-runtime/relay.js +12 -2
  24. package/dist/client-runtime/rpc.d.ts +2 -2
  25. package/dist/client-runtime/rpc.js +2 -2
  26. package/dist/client-runtime/state/assets.d.ts +17 -11
  27. package/dist/client-runtime/state/assets.js +1 -1
  28. package/dist/client-runtime/state/auth.d.ts +1 -1
  29. package/dist/client-runtime/state/auth.js +1 -1
  30. package/dist/client-runtime/state/connections.js +1 -1
  31. package/dist/client-runtime/state/entities.d.ts +1 -1
  32. package/dist/client-runtime/state/entities.js +1 -1
  33. package/dist/client-runtime/state/filesystem.d.ts +1 -1
  34. package/dist/client-runtime/state/filesystem.js +1 -1
  35. package/dist/client-runtime/state/git.d.ts +6 -5
  36. package/dist/client-runtime/state/git.js +1 -1
  37. package/dist/client-runtime/state/models.d.ts +1 -1
  38. package/dist/client-runtime/state/models.js +1 -1
  39. package/dist/client-runtime/state/orchestration.d.ts +42 -2
  40. package/dist/client-runtime/state/orchestration.js +13 -1
  41. package/dist/client-runtime/state/presentation.d.ts +15 -3
  42. package/dist/client-runtime/state/presentation.js +1 -1
  43. package/dist/client-runtime/state/preview.d.ts +58 -48
  44. package/dist/client-runtime/state/preview.js +3 -2
  45. package/dist/client-runtime/state/project-grouping.d.ts +26 -2
  46. package/dist/client-runtime/state/project-grouping.js +83 -3
  47. package/dist/client-runtime/state/projects.d.ts +24 -18
  48. package/dist/client-runtime/state/projects.js +1 -1
  49. package/dist/client-runtime/state/pull-requests.d.ts +478 -0
  50. package/dist/client-runtime/state/pull-requests.js +172 -0
  51. package/dist/client-runtime/state/relay.d.ts +1 -1
  52. package/dist/client-runtime/state/relay.js +1 -1
  53. package/dist/client-runtime/state/review.d.ts +16 -1
  54. package/dist/client-runtime/state/review.js +27 -6
  55. package/dist/client-runtime/state/runtime.d.ts +2 -2
  56. package/dist/client-runtime/state/runtime.js +2 -2
  57. package/dist/client-runtime/state/server.d.ts +311 -172
  58. package/dist/client-runtime/state/server.js +192 -16
  59. package/dist/client-runtime/state/session.d.ts +77 -7
  60. package/dist/client-runtime/state/session.js +32 -3
  61. package/dist/client-runtime/state/shell.d.ts +47 -7
  62. package/dist/client-runtime/state/shell.js +1 -1
  63. package/dist/client-runtime/state/source-control.d.ts +2 -2
  64. package/dist/client-runtime/state/source-control.js +1 -1
  65. package/dist/client-runtime/state/subagentRuntime.d.ts +145 -0
  66. package/dist/client-runtime/state/subagentRuntime.js +521 -0
  67. package/dist/client-runtime/state/terminal.d.ts +17 -17
  68. package/dist/client-runtime/state/terminal.js +1 -1
  69. package/dist/client-runtime/state/thread-search.d.ts +23 -0
  70. package/dist/client-runtime/state/thread-search.js +38 -0
  71. package/dist/client-runtime/state/thread-settled.d.ts +32 -4
  72. package/dist/client-runtime/state/thread-settled.js +2 -157
  73. package/dist/client-runtime/state/thread-sort.d.ts +59 -2
  74. package/dist/client-runtime/state/thread-sort.js +128 -2
  75. package/dist/client-runtime/state/threads.d.ts +115 -3
  76. package/dist/client-runtime/state/threads.js +309 -28
  77. package/dist/client-runtime/state/vcs.d.ts +14 -14
  78. package/dist/client-runtime/state/vcs.js +1 -1
  79. package/dist/config.d.ts +1 -1
  80. package/dist/config.js +1 -1
  81. package/dist/connection.d.ts +1 -1
  82. package/dist/connection.js +1 -1
  83. package/dist/contracts.d.ts +1 -1
  84. package/dist/contracts.js +1 -1
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.js +1 -1
  87. package/dist/node.d.ts +1 -1
  88. package/dist/node.js +1 -1
  89. package/dist/orchestration.d.ts +155 -6
  90. package/dist/orchestration.js +2 -2
  91. package/dist/preview.d.ts +1 -1
  92. package/dist/preview.js +1 -1
  93. package/dist/rpc.d.ts +887 -360
  94. package/dist/rpc.js +1 -1
  95. package/dist/runtime.d.ts +1 -1
  96. package/dist/runtime.js +1 -1
  97. package/dist/shared/DrainableWorker.js +1 -1
  98. package/dist/shared/KeyedCoalescingWorker.js +1 -1
  99. package/dist/shared/Net.d.ts +6 -0
  100. package/dist/shared/Net.js +2 -1
  101. package/dist/shared/advertisedEndpoint.d.ts +1 -1
  102. package/dist/shared/advertisedEndpoint.js +1 -1
  103. package/dist/shared/agentAwareness.d.ts +1 -1
  104. package/dist/shared/backgroundActivitySettings.d.ts +1 -1
  105. package/dist/shared/composerInlineTokens.js +1 -1
  106. package/dist/shared/connectAuth.d.ts +23 -4
  107. package/dist/shared/connectAuth.js +40 -7
  108. package/dist/shared/devHome.js +1 -1
  109. package/dist/shared/dpop.js +1 -1
  110. package/dist/shared/git.d.ts +1 -1
  111. package/dist/shared/httpObservability.js +1 -1
  112. package/dist/shared/httpReadiness.js +1 -1
  113. package/dist/shared/keybindings.d.ts +2 -2
  114. package/dist/shared/keybindings.js +15 -1
  115. package/dist/shared/model.d.ts +1 -1
  116. package/dist/shared/oauthScope.js +1 -1
  117. package/dist/shared/observability.d.ts +8 -1
  118. package/dist/shared/observability.js +49 -5
  119. package/dist/shared/path.js +1 -1
  120. package/dist/shared/preview.js +1 -1
  121. package/dist/shared/previewViewport.d.ts +1 -1
  122. package/dist/shared/previewViewport.js +1 -1
  123. package/dist/shared/projectFavicon.d.ts +2 -1
  124. package/dist/shared/projectFavicon.js +13 -1
  125. package/dist/shared/projectScripts.d.ts +1 -1
  126. package/dist/shared/relayAuth.js +1 -1
  127. package/dist/shared/relayClient.d.ts +1 -1
  128. package/dist/shared/relayClient.js +1 -1
  129. package/dist/shared/relayJwt.js +1 -1
  130. package/dist/shared/relayTracing.js +1 -1
  131. package/dist/shared/relayUrl.js +1 -1
  132. package/dist/shared/remote.js +1 -1
  133. package/dist/shared/schemaYaml.js +3 -3
  134. package/dist/shared/semver.js +1 -1
  135. package/dist/shared/serverSettings.d.ts +1 -1
  136. package/dist/shared/serverSettings.js +1 -1
  137. package/dist/shared/shell.d.ts +6 -1
  138. package/dist/shared/shell.js +42 -4
  139. package/dist/shared/sourceControl.d.ts +1 -1
  140. package/dist/shared/t3ProjectFile.d.ts +9 -1
  141. package/dist/shared/t3ProjectFile.js +12 -2
  142. package/dist/shared/terminalLabels.d.ts +1 -1
  143. package/dist/shared/threadEnvMode.d.ts +29 -0
  144. package/dist/shared/threadEnvMode.js +24 -0
  145. package/dist/shared/toolActivity.d.ts +1 -1
  146. package/dist/shared/usageFormat.d.ts +34 -0
  147. package/dist/shared/usageFormat.js +176 -0
  148. package/dist/shared/usageMerge.d.ts +78 -0
  149. package/dist/shared/usageMerge.js +241 -0
  150. package/dist/shared.d.ts +8268 -1372
  151. package/dist/shared.js +22185 -19774
  152. package/dist/t3tools.d.ts +2 -2
  153. package/dist/t3tools.js +2 -2
  154. package/package.json +5 -5
  155. package/src/application/error.ts +2 -2
  156. package/src/application/index.ts +2 -0
  157. package/src/application/service.ts +43 -5
  158. package/src/application/thread-commands.ts +78 -0
  159. package/src/application/threads.ts +156 -17
  160. package/src/cli/app.ts +4 -0
  161. package/src/cli/ask-lifecycle.ts +331 -0
  162. package/src/cli/ask.ts +390 -0
  163. package/src/cli/error.ts +70 -0
  164. package/src/cli/format/thread.ts +49 -7
  165. package/src/cli/search.ts +48 -0
  166. package/src/cli/thread.ts +12 -0
  167. package/src/cli/threads/messages.ts +33 -3
  168. package/src/cli/threads/pin.ts +46 -0
  169. package/src/cli/threads/send.ts +5 -1
  170. package/src/cli/threads/settle.ts +46 -0
  171. package/src/cli/threads/snooze.ts +117 -0
  172. package/src/cli/threads/start.ts +6 -1
  173. package/src/cli/threads/unpin.ts +48 -0
  174. package/src/cli/threads/unsettle.ts +48 -0
  175. package/src/cli/threads/unsnooze.ts +48 -0
  176. package/src/config/persist/schema.ts +1 -1
  177. package/src/connection/prepared.ts +12 -2
  178. package/src/orchestration/error.ts +10 -0
  179. package/src/orchestration/index.ts +1 -0
  180. package/src/orchestration/layer.ts +78 -0
  181. package/src/orchestration/service.ts +16 -3
  182. package/src/rpc/error.ts +2 -0
  183. package/src/rpc/operation.ts +2 -0
  184. package/src/rpc/ws-group.ts +3 -0
  185. package/src/runtime/layer.ts +9 -4
package/dist/cli.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Fi as CliRuntime, Ii as layer$1, Un as T3CliEnvScope, Wn as T3CliEnvShape, fr as T3ConfigSelection } from "./shared.js";
1
+ import { Cr as T3ConfigSelection, Gi as layer$1, Wi as CliRuntime, er as T3CliEnvScope, tr as T3CliEnvShape } from "./shared.js";
2
2
  import * as Layer from "effect/Layer";
3
3
  import { Flag, GlobalFlag } from "effect/unstable/cli";
4
4
  //#region src/cli/flags.d.ts
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime.js";
2
- import { Ms as selection_layer_exports, SC as layer, Sw as resolveOutputFormat, _C as resolveThreadId, _w as humanJsonFormatChoices, aw as formatFlag, bw as isAgentEnvironment, cw as projectPathFlag, dw as threadFlag, fw as threadFormatFlag, gC as resolveProjectRef, gw as canRenderLiveTerminal, hC as resolveCommandProjectRef, mw as worktreeFlag, ow as modelFlags, pC as cliEnvironmentSetting, pw as waitFormatFlag, sw as projectFlag, vC as resolveWorktreePath, vw as humanJsonNdjsonFormatChoices, xC as CliRuntime, xw as isInteractiveHumanTerminal, yw as humanNdjsonFormatChoices } from "./shared.js";
2
+ import { $D as humanJsonFormatChoices, $E as resolveThreadId, HD as modelFlags, Hs as selection_layer_exports, JD as threadFormatFlag, QD as canRenderLiveTerminal, QE as resolveProjectRef, UD as projectFlag, VD as formatFlag, WD as projectPathFlag, XD as worktreeFlag, YD as waitFormatFlag, ZE as resolveCommandProjectRef, eD as resolveWorktreePath, eO as humanJsonNdjsonFormatChoices, iD as layer, iO as resolveOutputFormat, nO as isAgentEnvironment, nc as cliEnvironmentSetting, qD as threadFlag, rD as CliRuntime, rO as isInteractiveHumanTerminal, tO as humanNdjsonFormatChoices } from "./shared.js";
3
3
  //#region src/cli/env/index.ts
4
4
  var env_exports = /* @__PURE__ */ __exportAll({
5
5
  Selection: () => selection_layer_exports,
@@ -1,2 +1,2 @@
1
- import { Aa as RemoteEnvironmentAuthError, Ba as RemoteEnvironmentAuthInvalidJsonError, Fa as issueRemoteDpopWebSocketTicket, Ha as RemoteEnvironmentAuthUndeclaredStatusError, Ia as issueRemoteWebSocketTicket, La as resolveRemoteDpopWebSocketConnectionUrl, Ma as exchangeRemoteDpopAccessToken, Na as fetchRemoteDpopSessionState, Pa as fetchRemoteSessionState, Ra as resolveRemoteWebSocketConnectionUrl, Va as RemoteEnvironmentAuthTimeoutError, io as RemoteEnvironmentAuthorization, ja as bootstrapRemoteBearerSession, no as AuthorizedRemoteEnvironment, oo as tokenStore_d_exports, ro as RelayEnvironmentAuthorization, za as RemoteEnvironmentAuthFetchError } from "../shared.js";
1
+ import { $a as RemoteEnvironmentAuthInvalidJsonError, Ga as exchangeRemoteDpopAccessToken, Ja as issueRemoteDpopWebSocketTicket, Ka as fetchRemoteDpopSessionState, Qa as RemoteEnvironmentAuthFetchError, Ua as RemoteEnvironmentAuthError, Wa as bootstrapRemoteBearerSession, Xa as resolveRemoteDpopWebSocketConnectionUrl, Ya as issueRemoteWebSocketTicket, Za as resolveRemoteWebSocketConnectionUrl, _o as RelayEnvironmentAuthorization, bo as tokenStore_d_exports, eo as RemoteEnvironmentAuthTimeoutError, go as AuthorizedRemoteEnvironment, qa as fetchRemoteSessionState, to as RemoteEnvironmentAuthUndeclaredStatusError, vo as RemoteEnvironmentAuthorization } from "../shared.js";
2
2
  export { type AuthorizedRemoteEnvironment, type RelayEnvironmentAuthorization, RemoteEnvironmentAuthError, RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RemoteEnvironmentAuthorization, tokenStore_d_exports as TokenStore, bootstrapRemoteBearerSession, exchangeRemoteDpopAccessToken, fetchRemoteDpopSessionState, fetchRemoteSessionState, issueRemoteDpopWebSocketTicket, issueRemoteWebSocketTicket, resolveRemoteDpopWebSocketConnectionUrl, resolveRemoteWebSocketConnectionUrl };
@@ -1,2 +1,2 @@
1
- import { Ao as RemoteEnvironmentAuthTimeoutError, Co as fetchRemoteSessionState, Do as resolveRemoteWebSocketConnectionUrl, Eo as resolveRemoteDpopWebSocketConnectionUrl, Ka as tokenStore_exports, Oo as RemoteEnvironmentAuthFetchError, So as fetchRemoteDpopSessionState, To as issueRemoteWebSocketTicket, Wa as RemoteEnvironmentAuthorization, bo as bootstrapRemoteBearerSession, jo as RemoteEnvironmentAuthUndeclaredStatusError, ko as RemoteEnvironmentAuthInvalidJsonError, wo as issueRemoteDpopWebSocketTicket, xo as exchangeRemoteDpopAccessToken } from "../shared.js";
1
+ import { $a as RemoteEnvironmentAuthorization, Ao as exchangeRemoteDpopAccessToken, Bo as RemoteEnvironmentAuthUndeclaredStatusError, Fo as resolveRemoteDpopWebSocketConnectionUrl, Io as resolveRemoteWebSocketConnectionUrl, Lo as RemoteEnvironmentAuthFetchError, Mo as fetchRemoteSessionState, No as issueRemoteDpopWebSocketTicket, Po as issueRemoteWebSocketTicket, Ro as RemoteEnvironmentAuthInvalidJsonError, jo as fetchRemoteDpopSessionState, ko as bootstrapRemoteBearerSession, to as tokenStore_exports, zo as RemoteEnvironmentAuthTimeoutError } from "../shared.js";
2
2
  export { RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RemoteEnvironmentAuthorization, tokenStore_exports as TokenStore, bootstrapRemoteBearerSession, exchangeRemoteDpopAccessToken, fetchRemoteDpopSessionState, fetchRemoteSessionState, issueRemoteDpopWebSocketTicket, issueRemoteWebSocketTicket, resolveRemoteDpopWebSocketConnectionUrl, resolveRemoteWebSocketConnectionUrl };
@@ -1,2 +1,2 @@
1
- import { $i as layer_d_exports, $o as PersistedConnectionTarget, Ao as ConnectionCatalogEntry, Bo as connectionRegistrationTarget, Da as mapManagedRelayError, Do as BearerConnectionCredential, Ea as environmentMismatchError, Eo as connectivity_d_exports, Fo as PrimaryConnectionRegistration, Gi as EnvironmentConnectionPresentation, Go as ConnectionBlockedError, Ho as BearerConnectionTarget, Io as RelayConnectionRegistration, Ja as ConnectionDriverProgress, Ji as connectionPhaseMessage, Jo as ConnectionTarget, Ki as EnvironmentPresentation, Ko as ConnectionBlockedReason, Lo as SshConnectionProfile, Mo as ConnectionProfile, No as ConnectionRegistration, Oa as mapRemoteEnvironmentError, Oo as BearerConnectionProfile, Po as PlatformConnectionRegistration, Qi as presentEnvironmentConnection, Qo as NetworkStatus, Ro as SshConnectionRegistration, Ta as credentialMissingError, To as credentialStore_d_exports, Uo as ConnectionAttemptError, Vo as AVAILABLE_CONNECTION_STATE, Wi as EnvironmentConnectionPhase, Wo as ConnectionAttemptStage, Xi as connectionStatusTitle, Xo as ConnectionTransientError, Ya as EnvironmentConnectionLease, Yi as connectionStatusText, Yo as ConnectionTargetKind, Zi as presentConnectionState, Zo as ConnectionTransientReason, _a as EnvironmentSupervisor, aa as ConnectionOnboarding, as as SupervisorConnectionPhase, ca as prepareBearerConnectionUpdate, da as registerPairingConnection, eo as ConnectionResolver, es as PreparedConnection, fa as registerSshConnection, ga as PlatformEnvironmentRemovalError, ha as EnvironmentRegistry, ia as BearerConnectionUpdateInput, is as SshConnectionTarget, jo as ConnectionCredential, ka as profileMissingError, ko as BearerConnectionRegistration, la as preparePairingRegistration, ma as EnvironmentNotRegisteredError, ns as PrimaryConnectionTarget, oa as PairingConnectionInput, os as SupervisorConnectionState, pa as updateBearerConnection, qa as ConnectionDriver, qi as connectionCatalogDisplayUrl, qo as ConnectionProjectionPhase, rs as RelayConnectionTarget, sa as SshConnectionInput, ss as connectionProjectionPhase, to as profileStore_d_exports, ts as PreparedHttpAuthorization, ua as prepareSshRegistration, va as EnvironmentSupervisorOptions, ya as wakeups_d_exports, zo as connectionRegistrationCatalogEntry } from "../shared.js";
1
+ import { $o as connectionRegistrationCatalogEntry, Aa as EnvironmentSupervisor, Ba as mapManagedRelayError, Bo as connectivity_d_exports, Ca as prepareSshRegistration, Da as EnvironmentNotRegisteredError, Ea as updateBearerConnection, Go as ConnectionCredential, Ha as profileMissingError, Ho as BearerConnectionProfile, Jo as PlatformConnectionRegistration, Ko as ConnectionProfile, Ma as wakeups_d_exports, Oa as EnvironmentRegistry, Qo as SshConnectionRegistration, Ra as credentialMissingError, Sa as preparePairingRegistration, Ta as registerSshConnection, Uo as BearerConnectionRegistration, Va as mapRemoteEnvironmentError, Vo as BearerConnectionCredential, Wo as ConnectionCatalogEntry, Xo as RelayConnectionRegistration, Yo as PrimaryConnectionRegistration, Zo as SshConnectionProfile, _a as BearerConnectionUpdateInput, _s as RelayConnectionTarget, aa as EnvironmentPresentation, as as ConnectionBlockedError, ba as SshConnectionInput, bs as SupervisorConnectionState, ca as connectionStatusText, co as ConnectionDriverProgress, cs as ConnectionTarget, da as presentEnvironmentConnection, ds as ConnectionTransientReason, es as connectionRegistrationTarget, fa as layer_d_exports, fs as NetworkStatus, gs as PrimaryConnectionTarget, ho as profileStore_d_exports, hs as PreparedHttpAuthorization, ia as EnvironmentConnectionPresentation, is as ConnectionAttemptStage, ja as EnvironmentSupervisorOptions, ka as PlatformEnvironmentRemovalError, la as connectionStatusTitle, lo as EnvironmentConnectionLease, ls as ConnectionTargetKind, mo as ConnectionResolver, ms as PreparedConnection, ns as BearerConnectionTarget, oa as connectionCatalogDisplayUrl, os as ConnectionBlockedReason, ps as PersistedConnectionTarget, qo as ConnectionRegistration, ra as EnvironmentConnectionPhase, rs as ConnectionAttemptError, sa as connectionPhaseMessage, so as ConnectionDriver, ss as ConnectionProjectionPhase, ts as AVAILABLE_CONNECTION_STATE, ua as presentConnectionState, us as ConnectionTransientError, va as ConnectionOnboarding, vs as SshConnectionTarget, wa as registerPairingConnection, xa as prepareBearerConnectionUpdate, xs as connectionProjectionPhase, ya as PairingConnectionInput, ys as SupervisorConnectionPhase, za as environmentMismatchError, zo as credentialStore_d_exports } from "../shared.js";
2
2
  export { AVAILABLE_CONNECTION_STATE, BearerConnectionCredential, BearerConnectionProfile, BearerConnectionRegistration, BearerConnectionTarget, type BearerConnectionUpdateInput, layer_d_exports as Connection, ConnectionAttemptError, ConnectionAttemptStage, ConnectionBlockedError, ConnectionBlockedReason, ConnectionCatalogEntry, ConnectionCredential, ConnectionDriver, type ConnectionDriverProgress, ConnectionOnboarding, ConnectionProfile, ConnectionProjectionPhase, ConnectionRegistration, ConnectionResolver, ConnectionTarget, ConnectionTargetKind, ConnectionTransientError, ConnectionTransientReason, connectivity_d_exports as Connectivity, credentialStore_d_exports as CredentialStore, type EnvironmentConnectionLease, EnvironmentConnectionPhase, EnvironmentConnectionPresentation, EnvironmentNotRegisteredError, EnvironmentPresentation, EnvironmentRegistry, EnvironmentSupervisor, type EnvironmentSupervisorOptions, NetworkStatus, type PairingConnectionInput, PersistedConnectionTarget, PlatformConnectionRegistration, PlatformEnvironmentRemovalError, PreparedConnection, PreparedHttpAuthorization, PrimaryConnectionRegistration, PrimaryConnectionTarget, profileStore_d_exports as ProfileStore, RelayConnectionRegistration, RelayConnectionTarget, type SshConnectionInput, SshConnectionProfile, SshConnectionRegistration, SshConnectionTarget, SupervisorConnectionPhase, SupervisorConnectionState, wakeups_d_exports as Wakeups, connectionCatalogDisplayUrl, connectionPhaseMessage, connectionProjectionPhase, connectionRegistrationCatalogEntry, connectionRegistrationTarget, connectionStatusText, connectionStatusTitle, credentialMissingError, environmentMismatchError, mapManagedRelayError, mapRemoteEnvironmentError, prepareBearerConnectionUpdate, preparePairingRegistration, prepareSshRegistration, presentConnectionState, presentEnvironmentConnection, profileMissingError, registerPairingConnection, registerSshConnection, updateBearerConnection };
@@ -1,2 +1,2 @@
1
- import { $i as connectionStatusText, $o as BearerConnectionRegistration, Aa as EnvironmentSupervisor, Da as EnvironmentNotRegisteredError, Ha as ConnectionResolver, Ma as wakeups_exports, Oa as EnvironmentRegistry, Qi as connectionPhaseMessage, Qo as BearerConnectionProfile, Ua as profileStore_exports, Xo as connectivity_exports, Yo as credentialStore_exports, Zi as connectionCatalogDisplayUrl, Zo as BearerConnectionCredential, _o as mapManagedRelayError, _s as PersistedConnectionTarget, as as RelayConnectionRegistration, bs as SshConnectionTarget, ca as ConnectionOnboarding, cs as connectionRegistrationCatalogEntry, da as prepareSshRegistration, ds as BearerConnectionTarget, ea as connectionStatusTitle, es as ConnectionCredential, fa as registerPairingConnection, fs as ConnectionBlockedError, go as environmentMismatchError, gs as ConnectionTransientReason, ho as credentialMissingError, hs as ConnectionTransientError, is as PrimaryConnectionRegistration, ka as PlatformEnvironmentRemovalError, la as prepareBearerConnectionUpdate, ls as connectionRegistrationTarget, ma as updateBearerConnection, ms as ConnectionTarget, na as presentEnvironmentConnection, ns as ConnectionRegistration, os as SshConnectionProfile, pa as registerSshConnection, ps as ConnectionBlockedReason, ra as layer_exports, rs as PlatformConnectionRegistration, ss as SshConnectionRegistration, ta as presentConnectionState, ts as ConnectionProfile, ua as preparePairingRegistration, us as AVAILABLE_CONNECTION_STATE, vo as mapRemoteEnvironmentError, vs as PrimaryConnectionTarget, xs as connectionProjectionPhase, yo as profileMissingError, ys as RelayConnectionTarget, za as ConnectionDriver } from "../shared.js";
1
+ import { As as SshConnectionTarget, Cs as ConnectionBlockedReason, Do as mapRemoteEnvironmentError, Ds as PersistedConnectionTarget, Eo as mapManagedRelayError, Es as ConnectionTransientReason, Fa as EnvironmentNotRegisteredError, Ia as EnvironmentRegistry, Ja as ConnectionDriver, La as PlatformEnvironmentRemovalError, Oo as profileMissingError, Os as PrimaryConnectionTarget, Qa as profileStore_exports, Ra as EnvironmentSupervisor, Sa as updateBearerConnection, Ss as ConnectionBlockedError, To as environmentMismatchError, Ts as ConnectionTransientError, Va as wakeups_exports, Za as ConnectionResolver, _a as prepareBearerConnectionUpdate, _s as SshConnectionRegistration, aa as connectionCatalogDisplayUrl, as as credentialStore_exports, ba as registerPairingConnection, bs as AVAILABLE_CONNECTION_STATE, ca as connectionStatusTitle, cs as BearerConnectionProfile, da as layer_exports, ds as ConnectionProfile, fs as ConnectionRegistration, ga as ConnectionOnboarding, gs as SshConnectionProfile, hs as RelayConnectionRegistration, js as connectionProjectionPhase, ks as RelayConnectionTarget, la as presentConnectionState, ls as BearerConnectionRegistration, ms as PrimaryConnectionRegistration, oa as connectionPhaseMessage, os as connectivity_exports, ps as PlatformConnectionRegistration, sa as connectionStatusText, ss as BearerConnectionCredential, ua as presentEnvironmentConnection, us as ConnectionCredential, va as preparePairingRegistration, vs as connectionRegistrationCatalogEntry, wo as credentialMissingError, ws as ConnectionTarget, xa as registerSshConnection, xs as BearerConnectionTarget, ya as prepareSshRegistration, ys as connectionRegistrationTarget } from "../shared.js";
2
2
  export { AVAILABLE_CONNECTION_STATE, BearerConnectionCredential, BearerConnectionProfile, BearerConnectionRegistration, BearerConnectionTarget, layer_exports as Connection, ConnectionBlockedError, ConnectionBlockedReason, ConnectionCredential, ConnectionDriver, ConnectionOnboarding, ConnectionProfile, ConnectionRegistration, ConnectionResolver, ConnectionTarget, ConnectionTransientError, ConnectionTransientReason, connectivity_exports as Connectivity, credentialStore_exports as CredentialStore, EnvironmentNotRegisteredError, EnvironmentRegistry, EnvironmentSupervisor, PersistedConnectionTarget, PlatformConnectionRegistration, PlatformEnvironmentRemovalError, PrimaryConnectionRegistration, PrimaryConnectionTarget, profileStore_exports as ProfileStore, RelayConnectionRegistration, RelayConnectionTarget, SshConnectionProfile, SshConnectionRegistration, SshConnectionTarget, wakeups_exports as Wakeups, connectionCatalogDisplayUrl, connectionPhaseMessage, connectionProjectionPhase, connectionRegistrationCatalogEntry, connectionRegistrationTarget, connectionStatusText, connectionStatusTitle, credentialMissingError, environmentMismatchError, mapManagedRelayError, mapRemoteEnvironmentError, prepareBearerConnectionUpdate, preparePairingRegistration, prepareSshRegistration, presentConnectionState, presentEnvironmentConnection, profileMissingError, registerPairingConnection, registerSshConnection, updateBearerConnection };
@@ -1,4 +1,4 @@
1
- import { $T as ThreadId, KT as ProjectId, Mw as ScopedThreadRef, Tw as ExecutionEnvironmentDescriptor, Ua as RemoteEnvironmentRequestError, _n as classifyHostedHttpsCompatibility, bn as normalizeHttpBaseUrl, gn as CreateAdvertisedEndpointInput, jw as ScopedProjectRef, vn as createAdvertisedEndpoint, yn as deriveWsBaseUrl, zT as EnvironmentId } from "../shared.js";
1
+ import { An as normalizeHttpBaseUrl, Dn as classifyHostedHttpsCompatibility, Ek as ProjectId, En as CreateAdvertisedEndpointInput, Nk as ThreadId, On as createAdvertisedEndpoint, kn as deriveWsBaseUrl, lO as ScopedProjectRef, no as RemoteEnvironmentRequestError, rO as ExecutionEnvironmentDescriptor, uO as ScopedThreadRef, vk as EnvironmentId } from "../shared.js";
2
2
  import * as Effect from "effect/Effect";
3
3
  //#region upstream-t3code/packages/client-runtime/src/environment/descriptor.d.ts
4
4
  declare const fetchRemoteEnvironmentDescriptor: (input: {
@@ -15,9 +15,15 @@ declare const fetchRemoteEnvironmentDescriptor: (input: {
15
15
  readonly capabilities: {
16
16
  readonly repositoryIdentity: boolean;
17
17
  readonly connectionProbe?: boolean;
18
+ readonly pullRequests?: boolean;
18
19
  readonly threadSettlement?: boolean;
19
20
  readonly threadSnooze?: boolean;
21
+ readonly threadPinning?: boolean;
22
+ readonly threadPinReorder?: boolean;
23
+ readonly threadTitleRegeneration?: boolean;
20
24
  readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
25
+ readonly serverSelfUpdateProgress?: boolean;
26
+ readonly agentActivityPublishing?: boolean;
21
27
  };
22
28
  }, RemoteEnvironmentRequestError, import("effect/unstable/http/HttpClient").HttpClient>;
23
29
  //#endregion
@@ -1,2 +1,2 @@
1
- import { Bo as normalizeHttpBaseUrl, Io as environmentEndpointUrl, Lo as classifyHostedHttpsCompatibility, Ro as createAdvertisedEndpoint, ai as parseScopedProjectKey, ci as scopeThreadRef, di as scopedThreadKey, fi as attachEnvironmentDescriptor, li as scopedProjectKey, mo as fetchRemoteEnvironmentDescriptor, oi as parseScopedThreadKey, pi as createKnownEnvironment, si as scopeProjectRef, ui as scopedRefKey, zo as deriveWsBaseUrl } from "../shared.js";
1
+ import { Co as fetchRemoteEnvironmentDescriptor, Jo as createAdvertisedEndpoint, Ko as environmentEndpointUrl, Xo as normalizeHttpBaseUrl, Yo as deriveWsBaseUrl, _i as scopedProjectKey, bi as attachEnvironmentDescriptor, gi as scopeThreadRef, hi as scopeProjectRef, mi as parseScopedThreadKey, pi as parseScopedProjectKey, qo as classifyHostedHttpsCompatibility, vi as scopedRefKey, xi as createKnownEnvironment, yi as scopedThreadKey } from "../shared.js";
2
2
  export { attachEnvironmentDescriptor, classifyHostedHttpsCompatibility, createAdvertisedEndpoint, createKnownEnvironment, deriveWsBaseUrl, environmentEndpointUrl, fetchRemoteEnvironmentDescriptor, normalizeHttpBaseUrl, parseScopedProjectKey, parseScopedThreadKey, scopeProjectRef, scopeThreadRef, scopedProjectKey, scopedRefKey, scopedThreadKey };
@@ -1,4 +1,4 @@
1
- import { An as findErrorTraceId, Na as safeErrorLogAttributes } from "../shared.js";
1
+ import { Ha as safeErrorLogAttributes, Pn as findErrorTraceId } from "../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/errors/transport.ts
3
3
  const TRANSPORT_ERROR_PATTERNS = [
4
4
  /\bSocketCloseError\b/i,
@@ -1,2 +1,2 @@
1
- import { $ as getAddProjectInitialQuery, G as AddProjectRemoteSource, J as addProjectRemoteSourcePathHint, K as AddProjectRemoteSourceReadiness, Q as findExistingAddProject, U as AddProjectCloneFlow, W as AddProjectRemoteProviderKind, X as buildAddProjectRemoteSourceReadiness, Y as addProjectRemoteSourceProvider, Z as buildProjectCreateCommand, et as resolveAddProjectPath, q as addProjectRemoteSourceLabel, tt as sortAddProjectProviderSources } from "../../shared.js";
2
- export { AddProjectCloneFlow, AddProjectRemoteProviderKind, AddProjectRemoteSource, AddProjectRemoteSourceReadiness, addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, findExistingAddProject, getAddProjectInitialQuery, resolveAddProjectPath, sortAddProjectProviderSources };
1
+ import { $ as buildProjectCreateCommand, G as AddProjectCloneFlow, J as AddProjectRemoteSourceReadiness, K as AddProjectRemoteProviderKind, Q as buildAddProjectRemoteSourceReadiness, X as addProjectRemoteSourcePathHint, Y as addProjectRemoteSourceLabel, Z as addProjectRemoteSourceProvider, et as canCreateProjectInEnvironment, it as sortAddProjectProviderSources, nt as getAddProjectInitialQuery, q as AddProjectRemoteSource, rt as resolveAddProjectPath, tt as findExistingAddProject } from "../../shared.js";
2
+ export { AddProjectCloneFlow, AddProjectRemoteProviderKind, AddProjectRemoteSource, AddProjectRemoteSourceReadiness, addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, canCreateProjectInEnvironment, findExistingAddProject, getAddProjectInitialQuery, resolveAddProjectPath, sortAddProjectProviderSources };
@@ -1,2 +1,2 @@
1
- import { At as resolveAddProjectPath, Ct as addProjectRemoteSourceLabel, Dt as buildProjectCreateCommand, Et as buildAddProjectRemoteSourceReadiness, Ot as findExistingAddProject, Tt as addProjectRemoteSourceProvider, jt as sortAddProjectProviderSources, kt as getAddProjectInitialQuery, wt as addProjectRemoteSourcePathHint } from "../../shared.js";
2
- export { addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, findExistingAddProject, getAddProjectInitialQuery, resolveAddProjectPath, sortAddProjectProviderSources };
1
+ import { At as getAddProjectInitialQuery, Ct as addProjectRemoteSourceLabel, Dt as buildProjectCreateCommand, Et as buildAddProjectRemoteSourceReadiness, Mt as sortAddProjectProviderSources, Ot as canCreateProjectInEnvironment, Tt as addProjectRemoteSourceProvider, jt as resolveAddProjectPath, kt as findExistingAddProject, wt as addProjectRemoteSourcePathHint } from "../../shared.js";
2
+ export { addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, canCreateProjectInEnvironment, findExistingAddProject, getAddProjectInitialQuery, resolveAddProjectPath, sortAddProjectProviderSources };
@@ -1,2 +1,2 @@
1
- import { $ as getAddProjectInitialQuery, At as archiveThread, Bt as setThreadRuntimeMode, Ct as StartThreadTurnInput, Dt as UnsnoozeThreadInput, Et as UnsettleThreadInput, Ft as interruptThreadTurn, G as AddProjectRemoteSource, Gt as unarchiveThread, Ht as snoozeThread, It as respondToThreadApproval, J as addProjectRemoteSourcePathHint, Jt as updateProject, K as AddProjectRemoteSourceReadiness, Kt as unsettleThread, Lt as respondToThreadUserInput, Mt as createThread, Nt as deleteProject, Ot as UpdateProjectInput, Pt as deleteThread, Q as findExistingAddProject, Rt as revertThreadCheckpoint, St as SnoozeThreadInput, Tt as UnarchiveThreadInput, U as AddProjectCloneFlow, Ut as startThreadTurn, Vt as settleThread, W as AddProjectRemoteProviderKind, Wt as stopThreadSession, X as buildAddProjectRemoteSourceReadiness, Y as addProjectRemoteSourceProvider, Yt as updateThreadMetadata, Z as buildProjectCreateCommand, _t as RespondToThreadUserInputInput, bt as SetThreadRuntimeModeInput, dt as CreateProjectInput, et as resolveAddProjectPath, ft as CreateThreadInput, gt as RespondToThreadApprovalInput, ht as InterruptThreadTurnInput, jt as createProject, kt as UpdateThreadMetadataInput, mt as DeleteThreadInput, pt as DeleteProjectInput, q as addProjectRemoteSourceLabel, qt as unsnoozeThread, tt as sortAddProjectProviderSources, ut as ArchiveThreadInput, vt as RevertThreadCheckpointInput, wt as StopThreadSessionInput, xt as SettleThreadInput, yt as SetThreadInteractionModeInput, zt as setThreadInteractionMode } from "../shared.js";
2
- export { AddProjectCloneFlow, AddProjectRemoteProviderKind, AddProjectRemoteSource, AddProjectRemoteSourceReadiness, ArchiveThreadInput, CreateProjectInput, CreateThreadInput, DeleteProjectInput, DeleteThreadInput, InterruptThreadTurnInput, RespondToThreadApprovalInput, RespondToThreadUserInputInput, RevertThreadCheckpointInput, SetThreadInteractionModeInput, SetThreadRuntimeModeInput, SettleThreadInput, SnoozeThreadInput, StartThreadTurnInput, StopThreadSessionInput, UnarchiveThreadInput, UnsettleThreadInput, UnsnoozeThreadInput, UpdateProjectInput, UpdateThreadMetadataInput, addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, archiveThread, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, createProject, createThread, deleteProject, deleteThread, findExistingAddProject, getAddProjectInitialQuery, interruptThreadTurn, resolveAddProjectPath, respondToThreadApproval, respondToThreadUserInput, revertThreadCheckpoint, setThreadInteractionMode, setThreadRuntimeMode, settleThread, snoozeThread, sortAddProjectProviderSources, startThreadTurn, stopThreadSession, unarchiveThread, unsettleThread, unsnoozeThread, updateProject, updateThreadMetadata };
1
+ import { $ as buildProjectCreateCommand, $t as unarchiveThread, At as UnarchiveThreadInput, Bt as deleteThread, Ct as RevertThreadCheckpointInput, Dt as SnoozeThreadInput, Et as SettleThreadInput, Ft as UpdateThreadMetadataInput, G as AddProjectCloneFlow, Gt as respondToThreadUserInput, Ht as pinThread, It as archiveThread, J as AddProjectRemoteSourceReadiness, Jt as setThreadRuntimeMode, K as AddProjectRemoteProviderKind, Kt as revertThreadCheckpoint, Lt as createProject, Mt as UnsettleThreadInput, Nt as UnsnoozeThreadInput, Ot as StartThreadTurnInput, Pt as UpdateProjectInput, Q as buildAddProjectRemoteSourceReadiness, Qt as stopThreadSession, Rt as createThread, St as RespondToThreadUserInputInput, Tt as SetThreadRuntimeModeInput, Ut as reorderPinnedThread, Vt as interruptThreadTurn, Wt as respondToThreadApproval, X as addProjectRemoteSourcePathHint, Xt as snoozeThread, Y as addProjectRemoteSourceLabel, Yt as settleThread, Z as addProjectRemoteSourceProvider, Zt as startThreadTurn, _t as DeleteThreadInput, bt as ReorderPinnedThreadInput, en as unpinThread, et as canCreateProjectInEnvironment, gt as DeleteProjectInput, ht as CreateThreadInput, in as updateThreadMetadata, it as sortAddProjectProviderSources, jt as UnpinThreadInput, kt as StopThreadSessionInput, mt as CreateProjectInput, nn as unsnoozeThread, nt as getAddProjectInitialQuery, pt as ArchiveThreadInput, q as AddProjectRemoteSource, qt as setThreadInteractionMode, rn as updateProject, rt as resolveAddProjectPath, tn as unsettleThread, tt as findExistingAddProject, vt as InterruptThreadTurnInput, wt as SetThreadInteractionModeInput, xt as RespondToThreadApprovalInput, yt as PinThreadInput, zt as deleteProject } from "../shared.js";
2
+ export { AddProjectCloneFlow, AddProjectRemoteProviderKind, AddProjectRemoteSource, AddProjectRemoteSourceReadiness, ArchiveThreadInput, CreateProjectInput, CreateThreadInput, DeleteProjectInput, DeleteThreadInput, InterruptThreadTurnInput, PinThreadInput, ReorderPinnedThreadInput, RespondToThreadApprovalInput, RespondToThreadUserInputInput, RevertThreadCheckpointInput, SetThreadInteractionModeInput, SetThreadRuntimeModeInput, SettleThreadInput, SnoozeThreadInput, StartThreadTurnInput, StopThreadSessionInput, UnarchiveThreadInput, UnpinThreadInput, UnsettleThreadInput, UnsnoozeThreadInput, UpdateProjectInput, UpdateThreadMetadataInput, addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, archiveThread, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, canCreateProjectInEnvironment, createProject, createThread, deleteProject, deleteThread, findExistingAddProject, getAddProjectInitialQuery, interruptThreadTurn, pinThread, reorderPinnedThread, resolveAddProjectPath, respondToThreadApproval, respondToThreadUserInput, revertThreadCheckpoint, setThreadInteractionMode, setThreadRuntimeMode, settleThread, snoozeThread, sortAddProjectProviderSources, startThreadTurn, stopThreadSession, unarchiveThread, unpinThread, unsettleThread, unsnoozeThread, updateProject, updateThreadMetadata };
@@ -1,2 +1,2 @@
1
- import { At as resolveAddProjectPath, Cn as startThreadTurn, Ct as addProjectRemoteSourceLabel, Dn as unsnoozeThread, Dt as buildProjectCreateCommand, En as unsettleThread, Et as buildAddProjectRemoteSourceReadiness, On as updateProject, Ot as findExistingAddProject, Sn as snoozeThread, Tn as unarchiveThread, Tt as addProjectRemoteSourceProvider, _n as respondToThreadUserInput, bn as setThreadRuntimeMode, dn as createProject, fn as createThread, gn as respondToThreadApproval, hn as interruptThreadTurn, jt as sortAddProjectProviderSources, kn as updateThreadMetadata, kt as getAddProjectInitialQuery, mn as deleteThread, pn as deleteProject, un as archiveThread, vn as revertThreadCheckpoint, wn as stopThreadSession, wt as addProjectRemoteSourcePathHint, xn as settleThread, yn as setThreadInteractionMode } from "../shared.js";
2
- export { addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, archiveThread, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, createProject, createThread, deleteProject, deleteThread, findExistingAddProject, getAddProjectInitialQuery, interruptThreadTurn, resolveAddProjectPath, respondToThreadApproval, respondToThreadUserInput, revertThreadCheckpoint, setThreadInteractionMode, setThreadRuntimeMode, settleThread, snoozeThread, sortAddProjectProviderSources, startThreadTurn, stopThreadSession, unarchiveThread, unsettleThread, unsnoozeThread, updateProject, updateThreadMetadata };
1
+ import { An as unsettleThread, At as getAddProjectInitialQuery, Cn as setThreadRuntimeMode, Ct as addProjectRemoteSourceLabel, Dn as stopThreadSession, Dt as buildProjectCreateCommand, En as startThreadTurn, Et as buildAddProjectRemoteSourceReadiness, Mn as updateProject, Mt as sortAddProjectProviderSources, Nn as updateThreadMetadata, On as unarchiveThread, Ot as canCreateProjectInEnvironment, Sn as setThreadInteractionMode, Tn as snoozeThread, Tt as addProjectRemoteSourceProvider, _n as pinThread, bn as respondToThreadUserInput, dn as archiveThread, fn as createProject, gn as interruptThreadTurn, hn as deleteThread, jn as unsnoozeThread, jt as resolveAddProjectPath, kn as unpinThread, kt as findExistingAddProject, mn as deleteProject, pn as createThread, vn as reorderPinnedThread, wn as settleThread, wt as addProjectRemoteSourcePathHint, xn as revertThreadCheckpoint, yn as respondToThreadApproval } from "../shared.js";
2
+ export { addProjectRemoteSourceLabel, addProjectRemoteSourcePathHint, addProjectRemoteSourceProvider, archiveThread, buildAddProjectRemoteSourceReadiness, buildProjectCreateCommand, canCreateProjectInEnvironment, createProject, createThread, deleteProject, deleteThread, findExistingAddProject, getAddProjectInitialQuery, interruptThreadTurn, pinThread, reorderPinnedThread, resolveAddProjectPath, respondToThreadApproval, respondToThreadUserInput, revertThreadCheckpoint, setThreadInteractionMode, setThreadRuntimeMode, settleThread, snoozeThread, sortAddProjectProviderSources, startThreadTurn, stopThreadSession, unarchiveThread, unpinThread, unsettleThread, unsnoozeThread, updateProject, updateThreadMetadata };
@@ -1,4 +1,4 @@
1
- import { Ca as EnvironmentCacheStore, Co as SshEnvironmentGateway, Do as BearerConnectionCredential, Ho as BearerConnectionTarget, Jo as ConnectionTarget, Lo as SshConnectionProfile, No as ConnectionRegistration, Oo as BearerConnectionProfile, Sa as ConnectionTargetStore, So as RelayDeviceIdentity, _o as ClientPresentation, ao as RemoteDpopAccessToken, ba as ConnectionPersistenceError, bo as PrimaryEnvironmentAuth, is as SshConnectionTarget, ra as PlatformConnectionSource, rs as RelayConnectionTarget, vo as CloudSession, wa as EnvironmentOwnedDataCleanup, xa as ConnectionRegistrationStore, xo as ProvisionedSshEnvironment, yo as PreparedSshEnvironment } from "../shared.js";
1
+ import { Fa as ConnectionTargetStore, Fo as ProvisionedSshEnvironment, Ho as BearerConnectionProfile, Ia as EnvironmentCacheStore, Io as RelayDeviceIdentity, La as EnvironmentOwnedDataCleanup, Lo as SshEnvironmentGateway, Mo as CloudSession, Na as ConnectionPersistenceError, No as PreparedSshEnvironment, Pa as ConnectionRegistrationStore, Po as PrimaryEnvironmentAuth, Vo as BearerConnectionCredential, Zo as SshConnectionProfile, _s as RelayConnectionTarget, cs as ConnectionTarget, ga as PlatformConnectionSource, jo as ClientPresentation, ns as BearerConnectionTarget, qo as ConnectionRegistration, vs as SshConnectionTarget, yo as RemoteDpopAccessToken } from "../shared.js";
2
2
  import * as Schema from "effect/Schema";
3
3
  //#region upstream-t3code/packages/client-runtime/src/platform/storageDocument.d.ts
4
4
  declare const StoredConnectionCredential: Schema.Struct<{
@@ -1,4 +1,4 @@
1
- import { $T as Struct, Fa as ConnectionRegistrationStore, Ga as RemoteDpopAccessToken, Ia as ConnectionTargetStore, La as EnvironmentCacheStore, Pa as ConnectionPersistenceError, QT as String, Ra as EnvironmentOwnedDataCleanup, WT as ArraySchema, _s as PersistedConnectionTarget, do as PrimaryEnvironmentAuth, es as ConnectionCredential, fo as RelayDeviceIdentity, lo as ClientPresentation, po as SshEnvironmentGateway, qT as Literal, sa as PlatformConnectionSource, ts as ConnectionProfile, uo as CloudSession } from "../shared.js";
1
+ import { Dk as ArraySchema, Ds as PersistedConnectionTarget, Ga as ConnectionTargetStore, Ka as EnvironmentCacheStore, Lk as String, Mk as Literal, Rk as Struct, So as SshEnvironmentGateway, Ua as ConnectionPersistenceError, Wa as ConnectionRegistrationStore, bo as PrimaryEnvironmentAuth, ds as ConnectionProfile, eo as RemoteDpopAccessToken, ha as PlatformConnectionSource, qa as EnvironmentOwnedDataCleanup, us as ConnectionCredential, vo as ClientPresentation, xo as RelayDeviceIdentity, yo as CloudSession } from "../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/platform/storageDocument.ts
3
3
  const StoredConnectionCredential = Struct({
4
4
  connectionId: String,
@@ -1,4 +1,4 @@
1
- import { co as ManagedRelayClient, do as ManagedRelayRequestFailedError, fo as ManagedRelayRequestProofCreationError, go as managedRelay_d_exports, ho as ManagedRelayUrlInvalidError, lo as ManagedRelayDpopKeyLoadError, mo as ManagedRelayTokenProofCreationError, na as discovery_d_exports, po as ManagedRelayRequestTimeoutError, so as ManagedRelayAccessTokenScopesUnexpectedError, wo as RelayClientEnvironmentRecord } from "../shared.js";
1
+ import { Ao as managedRelay_d_exports, Co as ManagedRelayDpopKeyLoadError, Do as ManagedRelayRequestTimeoutError, Eo as ManagedRelayRequestProofCreationError, Oo as ManagedRelayTokenProofCreationError, Ro as RelayClientEnvironmentRecord, So as ManagedRelayClient, To as ManagedRelayRequestFailedError, ha as discovery_d_exports, ko as ManagedRelayUrlInvalidError, vk as EnvironmentId, xo as ManagedRelayAccessTokenScopesUnexpectedError } from "../shared.js";
2
2
  import * as Effect from "effect/Effect";
3
3
  import * as Stream from "effect/Stream";
4
4
  import * as Cause from "effect/Cause";
@@ -45,6 +45,11 @@ declare function createManagedRelaySession(input: ManagedRelaySessionInput): Man
45
45
  declare function setManagedRelaySession(registry: AtomRegistry.AtomRegistry, input: ManagedRelaySessionInput | null): void;
46
46
  declare function managedRelayAccountChanges(registry: AtomRegistry.AtomRegistry): Stream.Stream<string | null>;
47
47
  declare const waitForManagedRelayClerkToken: (registry: AtomRegistry.AtomRegistry) => Effect.Effect<string, ManagedRelaySessionError, never>;
48
+ /** Removes an environment from the signed-in account without contacting that environment. */
49
+ declare const deregisterManagedRelayEnvironment: (registry: AtomRegistry.AtomRegistry, input: {
50
+ readonly accountId: string;
51
+ readonly environmentId: EnvironmentId;
52
+ }) => Effect.Effect<undefined, ManagedRelayAccessTokenScopesUnexpectedError | ManagedRelayDpopKeyLoadError | ManagedRelayRequestFailedError | ManagedRelayRequestProofCreationError | ManagedRelayRequestTimeoutError | ManagedRelaySessionError | ManagedRelayTokenProofCreationError | ManagedRelayUrlInvalidError, ManagedRelayClient>;
48
53
  declare function readManagedRelaySnapshotState<A>(result: AsyncResult.AsyncResult<A, unknown>): ManagedRelaySnapshotState<A>;
49
54
  declare function createManagedRelayQueryManager(runtime: Atom.AtomRuntime<ManagedRelayClient>, options?: {
50
55
  readonly staleTimeMs?: number;
@@ -102,9 +107,15 @@ declare function createManagedRelayQueryManager(runtime: Atom.AtomRuntime<Manage
102
107
  readonly capabilities: {
103
108
  readonly repositoryIdentity: boolean;
104
109
  readonly connectionProbe?: boolean;
110
+ readonly pullRequests?: boolean;
105
111
  readonly threadSettlement?: boolean;
106
112
  readonly threadSnooze?: boolean;
113
+ readonly threadPinning?: boolean;
114
+ readonly threadPinReorder?: boolean;
115
+ readonly threadTitleRegeneration?: boolean;
107
116
  readonly serverSelfUpdate?: "boot-service" | "desktop-managed" | "respawn";
117
+ readonly serverSelfUpdateProgress?: boolean;
118
+ readonly agentActivityPublishing?: boolean;
108
119
  };
109
120
  } | undefined;
110
121
  readonly error?: string | undefined;
@@ -118,4 +129,4 @@ declare function createManagedRelayQueryManager(runtime: Atom.AtomRuntime<Manage
118
129
  }): void;
119
130
  };
120
131
  //#endregion
121
- export { discovery_d_exports as Discovery, managedRelay_d_exports as ManagedRelay, ManagedRelayQueryEvent, ManagedRelaySession, ManagedRelaySessionError, ManagedRelaySessionInput, ManagedRelaySnapshotError, ManagedRelaySnapshotState, createManagedRelayQueryManager, createManagedRelaySession, managedRelayAccountChanges, managedRelaySessionAtom, readManagedRelaySnapshotState, setManagedRelaySession, waitForManagedRelayClerkToken };
132
+ export { discovery_d_exports as Discovery, managedRelay_d_exports as ManagedRelay, ManagedRelayQueryEvent, ManagedRelaySession, ManagedRelaySessionError, ManagedRelaySessionInput, ManagedRelaySnapshotError, ManagedRelaySnapshotState, createManagedRelayQueryManager, createManagedRelaySession, deregisterManagedRelayEnvironment, managedRelayAccountChanges, managedRelaySessionAtom, readManagedRelaySnapshotState, setManagedRelaySession, waitForManagedRelayClerkToken };
@@ -1,4 +1,4 @@
1
- import { $D as flatMap, An as findErrorTraceId, EO as succeed, GO as currentTimeMillis, Gr as family, Ik as getOrNull, Jr as setIdleTTL, KE as map, KO as TaggedError, Kr as keepAlive, NO as tryPromise, OO as sync, PE as changes, QD as fail, Qr as toStream, RE as drop, WD as callback, Xr as withLabel, Ya as managedRelay_exports, Yr as swr, ZO as squash, aO as gen, ao as decodeRelayJwt, eO as fn, mO as onExit, oa as discovery_exports, qa as ManagedRelayClient, qr as make, ti as value, vy as RelayEnvironmentConnectScope, yy as RelayEnvironmentStatusScope } from "../shared.js";
1
+ import { BM as currentTimeMillis, CM as sync, FA as drop, Gj as flatMap, Gr as keepAlive, HM as TaggedError, JM as squash, Jr as swr, Kj as fn, Kr as make, Lb as RelayEnvironmentConnectScope, OM as tryPromise, Pj as callback, Pn as findErrorTraceId, Qj as gen, RN as getOrNull, Rb as RelayEnvironmentStatusScope, UA as map, Uj as fail, Wr as family, Yr as withLabel, Zr as toStream, cM as onExit, ei as value, io as managedRelay_exports, jA as changes, ma as discovery_exports, mo as decodeRelayJwt, no as ManagedRelayClient, qr as setIdleTTL, xM as succeed } from "../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/relay/managedRelayState.ts
3
3
  const DEFAULT_STALE_TIME_MS = 15e3;
4
4
  const DEFAULT_IDLE_TTL_MS = 5 * 6e4;
@@ -100,6 +100,16 @@ const waitForManagedRelayClerkToken = fn("clientRuntime.managedRelaySession.wait
100
100
  return sync(() => unsubscribe?.());
101
101
  });
102
102
  });
103
+ /** Removes an environment from the signed-in account without contacting that environment. */
104
+ const deregisterManagedRelayEnvironment = fn("clientRuntime.managedRelaySession.deregisterEnvironment")(function* (registry, input) {
105
+ const session = registry.get(managedRelaySessionAtom);
106
+ if (!session || session.accountId !== input.accountId) return yield* new ManagedRelaySessionError({ message: "Sign in to T3 Connect before deregistering an environment." });
107
+ const clerkToken = yield* readSessionClerkToken(session);
108
+ yield* (yield* ManagedRelayClient).unlinkEnvironment({
109
+ clerkToken,
110
+ environmentId: input.environmentId
111
+ });
112
+ });
103
113
  function requireClerkToken(get, accountId) {
104
114
  const session = get(managedRelaySessionAtom);
105
115
  if (!session || session.accountId !== accountId) return fail(new ManagedRelaySessionError({ message: "Sign in to T3 Connect before loading relay data." }));
@@ -242,4 +252,4 @@ function createManagedRelayQueryManager(runtime, options) {
242
252
  };
243
253
  }
244
254
  //#endregion
245
- export { discovery_exports as Discovery, managedRelay_exports as ManagedRelay, ManagedRelaySessionError, ManagedRelaySnapshotError, createManagedRelayQueryManager, createManagedRelaySession, managedRelayAccountChanges, managedRelaySessionAtom, readManagedRelaySnapshotState, setManagedRelaySession, waitForManagedRelayClerkToken };
255
+ export { discovery_exports as Discovery, managedRelay_exports as ManagedRelay, ManagedRelaySessionError, ManagedRelaySnapshotError, createManagedRelayQueryManager, createManagedRelaySession, deregisterManagedRelayEnvironment, managedRelayAccountChanges, managedRelaySessionAtom, readManagedRelaySnapshotState, setManagedRelaySession, waitForManagedRelayClerkToken };
@@ -1,2 +1,2 @@
1
- import { $a as makeWsRpcProtocolClient, $t as EnvironmentRpcRequestObserver, Ba as RemoteEnvironmentAuthInvalidJsonError, Ga as makeEnvironmentHttpApiClient, Ha as RemoteEnvironmentAuthUndeclaredStatusError, Ka as remoteHttpClientLayer, Qa as WsRpcProtocolClient, Qt as EnvironmentRpcRequestObservation, Ua as RemoteEnvironmentRequestError, Va as RemoteEnvironmentAuthTimeoutError, Wa as executeEnvironmentHttpRequest, Xa as RpcSession, Xt as EnvironmentRpcFailure, Za as RpcSessionFactory, Zt as EnvironmentRpcInput, an as EnvironmentRpcTag, cn as EnvironmentStreamRpcTag, dn as config, en as EnvironmentRpcStreamFailure, fn as request, hn as subscribeDynamic, in as EnvironmentRpcSuccess, ln as EnvironmentSubscriptionRpcTag, mn as subscribe, nn as EnvironmentRpcSubscriptionObservation, on as EnvironmentRpcUnavailableError, pn as runStream, rn as EnvironmentRpcSubscriptionObserver, sn as EnvironmentStreamCommandRpcTag, tn as EnvironmentRpcStreamValue, un as EnvironmentUnaryRpcTag, za as RemoteEnvironmentAuthFetchError } from "../shared.js";
2
- export { EnvironmentRpcFailure, EnvironmentRpcInput, EnvironmentRpcRequestObservation, EnvironmentRpcRequestObserver, EnvironmentRpcStreamFailure, EnvironmentRpcStreamValue, EnvironmentRpcSubscriptionObservation, EnvironmentRpcSubscriptionObserver, EnvironmentRpcSuccess, EnvironmentRpcTag, EnvironmentRpcUnavailableError, EnvironmentStreamCommandRpcTag, EnvironmentStreamRpcTag, EnvironmentSubscriptionRpcTag, EnvironmentUnaryRpcTag, RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RemoteEnvironmentRequestError, type RpcSession, RpcSessionFactory, WsRpcProtocolClient, config, executeEnvironmentHttpRequest, makeEnvironmentHttpApiClient, makeWsRpcProtocolClient, remoteHttpClientLayer, request, runStream, subscribe, subscribeDynamic };
1
+ import { $a as RemoteEnvironmentAuthInvalidJsonError, Cn as runStream, Qa as RemoteEnvironmentAuthFetchError, Sn as request, Tn as subscribeDynamic, _n as EnvironmentStreamRpcTag, an as EnvironmentRpcFailure, ao as makeEnvironmentHttpApiUrlBuilder, bn as config, cn as EnvironmentRpcRequestObserver, dn as EnvironmentRpcSubscriptionObservation, do as RpcSessionFactory, eo as RemoteEnvironmentAuthTimeoutError, fn as EnvironmentRpcSubscriptionObserver, fo as WsRpcProtocolClient, gn as EnvironmentStreamCommandRpcTag, hn as EnvironmentRpcUnavailableError, io as makeEnvironmentHttpApiClient, ln as EnvironmentRpcStreamFailure, mn as EnvironmentRpcTag, no as RemoteEnvironmentRequestError, on as EnvironmentRpcInput, oo as remoteHttpClientLayer, pn as EnvironmentRpcSuccess, po as makeWsRpcProtocolClient, ro as executeEnvironmentHttpRequest, sn as EnvironmentRpcRequestObservation, to as RemoteEnvironmentAuthUndeclaredStatusError, un as EnvironmentRpcStreamValue, uo as RpcSession, vn as EnvironmentSubscriptionRpcTag, wn as subscribe, xn as isRpcClientError, yn as EnvironmentUnaryRpcTag } from "../shared.js";
2
+ export { EnvironmentRpcFailure, EnvironmentRpcInput, EnvironmentRpcRequestObservation, EnvironmentRpcRequestObserver, EnvironmentRpcStreamFailure, EnvironmentRpcStreamValue, EnvironmentRpcSubscriptionObservation, EnvironmentRpcSubscriptionObserver, EnvironmentRpcSuccess, EnvironmentRpcTag, EnvironmentRpcUnavailableError, EnvironmentStreamCommandRpcTag, EnvironmentStreamRpcTag, EnvironmentSubscriptionRpcTag, EnvironmentUnaryRpcTag, RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RemoteEnvironmentRequestError, type RpcSession, RpcSessionFactory, WsRpcProtocolClient, config, executeEnvironmentHttpRequest, isRpcClientError, makeEnvironmentHttpApiClient, makeEnvironmentHttpApiUrlBuilder, makeWsRpcProtocolClient, remoteHttpClientLayer, request, runStream, subscribe, subscribeDynamic };
@@ -1,2 +1,2 @@
1
- import { Ao as RemoteEnvironmentAuthTimeoutError, Ba as RpcSessionFactory, Br as config, Hr as runStream, Lr as EnvironmentRpcRequestObserver, Mo as executeEnvironmentHttpRequest, No as makeEnvironmentHttpApiClient, Oo as RemoteEnvironmentAuthFetchError, Po as remoteHttpClientLayer, Rr as EnvironmentRpcSubscriptionObserver, Ur as subscribe, Va as makeWsRpcProtocolClient, Vr as request, Wr as subscribeDynamic, jo as RemoteEnvironmentAuthUndeclaredStatusError, ko as RemoteEnvironmentAuthInvalidJsonError, zr as EnvironmentRpcUnavailableError } from "../shared.js";
2
- export { EnvironmentRpcRequestObserver, EnvironmentRpcSubscriptionObserver, EnvironmentRpcUnavailableError, RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RpcSessionFactory, config, executeEnvironmentHttpRequest, makeEnvironmentHttpApiClient, makeWsRpcProtocolClient, remoteHttpClientLayer, request, runStream, subscribe, subscribeDynamic };
1
+ import { Bo as RemoteEnvironmentAuthUndeclaredStatusError, Ho as makeEnvironmentHttpApiClient, Lo as RemoteEnvironmentAuthFetchError, Ro as RemoteEnvironmentAuthInvalidJsonError, Uo as makeEnvironmentHttpApiUrlBuilder, Vo as executeEnvironmentHttpRequest, Wo as remoteHttpClientLayer, Xa as makeWsRpcProtocolClient, Ya as RpcSessionFactory, ai as isRpcClientError, ci as subscribe, ii as config, li as subscribeDynamic, ni as EnvironmentRpcSubscriptionObserver, oi as request, ri as EnvironmentRpcUnavailableError, si as runStream, ti as EnvironmentRpcRequestObserver, zo as RemoteEnvironmentAuthTimeoutError } from "../shared.js";
2
+ export { EnvironmentRpcRequestObserver, EnvironmentRpcSubscriptionObserver, EnvironmentRpcUnavailableError, RemoteEnvironmentAuthFetchError, RemoteEnvironmentAuthInvalidJsonError, RemoteEnvironmentAuthTimeoutError, RemoteEnvironmentAuthUndeclaredStatusError, RpcSessionFactory, config, executeEnvironmentHttpRequest, isRpcClientError, makeEnvironmentHttpApiClient, makeEnvironmentHttpApiUrlBuilder, makeWsRpcProtocolClient, remoteHttpClientLayer, request, runStream, subscribe, subscribeDynamic };
@@ -1,4 +1,4 @@
1
- import { Ax as AssetProjectFaviconNotFoundError, Bx as AssetWorkspaceRootNormalizationError, Fx as AssetWorkspaceAssetNotFoundError, Ix as AssetWorkspaceContextNotFoundError, Lx as AssetWorkspaceContextResolutionError, Mx as AssetResource, Nx as AssetSigningKeyLoadError, Ox as AssetPreviewTypeValidationError, Px as AssetWorkspaceAssetInspectionError, Rx as AssetWorkspacePathValidationError, Tx as AssetAttachmentNotFoundError, bT as EnvironmentAuthorizationError, ha as EnvironmentRegistry, jx as AssetProjectFaviconResolutionError, kx as AssetProjectFaviconInspectionError, on as EnvironmentRpcUnavailableError, zT as EnvironmentId, zx as AssetWorkspaceResolutionError } from "../../shared.js";
1
+ import { $C as AssetWorkspacePathValidationError, $O as EnvironmentAuthorizationError, BC as AssetAttachmentNotFoundError, GC as AssetProjectFaviconNotFoundError, JC as AssetSigningKeyLoadError, KC as AssetProjectFaviconResolutionError, Oa as EnvironmentRegistry, QC as AssetWorkspaceContextResolutionError, UC as AssetPreviewTypeValidationError, WC as AssetProjectFaviconInspectionError, XC as AssetWorkspaceAssetNotFoundError, YC as AssetWorkspaceAssetInspectionError, ZC as AssetWorkspaceContextNotFoundError, ew as AssetWorkspaceResolutionError, hn as EnvironmentRpcUnavailableError, qC as AssetResource, tw as AssetWorkspaceRootNormalizationError, vk as EnvironmentId } from "../../shared.js";
2
2
  import * as Schema from "effect/Schema";
3
3
  import { Atom } from "effect/unstable/reactivity";
4
4
  //#region upstream-t3code/packages/client-runtime/src/state/assets.d.ts
@@ -14,19 +14,24 @@ declare function resolveAssetUrl(httpBaseUrl: string, relativeUrl: string): stri
14
14
  declare function createAssetEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<EnvironmentRegistry | R, E>): {
15
15
  createUrl: (target: {
16
16
  readonly environmentId: EnvironmentId;
17
- readonly input: Schema.Struct.ReadonlyMakeIn<{
18
- readonly resource: Schema.Union<readonly [Schema.TaggedStruct<"workspace-file", {
19
- readonly threadId: Schema.brand<Schema.decodeTo<Schema.String, Schema.String, never, never>, "ThreadId">;
20
- readonly path: Schema.decodeTo<Schema.String, Schema.String, never, never>;
21
- }>, Schema.TaggedStruct<"attachment", {
22
- readonly attachmentId: Schema.decodeTo<Schema.String, Schema.String, never, never>;
23
- }>, Schema.TaggedStruct<"project-favicon", {
24
- readonly cwd: Schema.decodeTo<Schema.String, Schema.String, never, never>;
25
- }>]>;
26
- }>;
17
+ readonly input: {
18
+ readonly resource: {
19
+ readonly _tag?: "workspace-file";
20
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
21
+ readonly path: string;
22
+ } | {
23
+ readonly _tag?: "attachment";
24
+ readonly attachmentId: string;
25
+ } | {
26
+ readonly _tag?: "project-favicon";
27
+ readonly cwd: string;
28
+ readonly path?: string | undefined;
29
+ };
30
+ };
27
31
  }) => Atom.Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
28
32
  readonly relativeUrl: string;
29
33
  readonly expiresAt: number;
34
+ readonly sourcePath?: string | undefined;
30
35
  }, E | AssetAttachmentNotFoundError | AssetPreviewTypeValidationError | AssetProjectFaviconInspectionError | AssetProjectFaviconNotFoundError | AssetProjectFaviconResolutionError | AssetSigningKeyLoadError | AssetWorkspaceAssetInspectionError | AssetWorkspaceAssetNotFoundError | AssetWorkspaceContextNotFoundError | AssetWorkspaceContextResolutionError | AssetWorkspacePathValidationError | AssetWorkspaceResolutionError | AssetWorkspaceRootNormalizationError | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
31
36
  createUrls: (target: {
32
37
  readonly environmentId: EnvironmentId;
@@ -34,6 +39,7 @@ declare function createAssetEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<Env
34
39
  }) => Atom.Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
35
40
  readonly relativeUrl: string;
36
41
  readonly expiresAt: number;
42
+ readonly sourcePath?: string | undefined;
37
43
  }, E | AssetAttachmentNotFoundError | AssetPreviewTypeValidationError | AssetProjectFaviconInspectionError | AssetProjectFaviconNotFoundError | AssetProjectFaviconResolutionError | AssetSigningKeyLoadError | AssetWorkspaceAssetInspectionError | AssetWorkspaceAssetNotFoundError | AssetWorkspaceContextNotFoundError | AssetWorkspaceContextResolutionError | AssetWorkspacePathValidationError | AssetWorkspaceResolutionError | AssetWorkspaceRootNormalizationError | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | import("effect/unstable/rpc/RpcClientError").RpcClientError>[]>;
38
44
  };
39
45
  //#endregion
@@ -1,4 +1,4 @@
1
- import { Fs as WS_METHODS, GT as Defect, Gr as family, JS as EnvironmentId, Jr as setIdleTTL, QT as String, WT as ArraySchema, Xr as withLabel, eE as TaggedErrorClass, fr as createEnvironmentRpcQueryAtomFamily, oE as decodeUnknownSync, ou as AssetResource, qr as make, tE as Tuple } from "../../shared.js";
1
+ import { Bk as Tuple, Dk as ArraySchema, Kk as decodeUnknownSync, Kr as make, Lk as String, ME as EnvironmentId, Wr as family, Yr as withLabel, kk as Defect, lc as WS_METHODS, qr as setIdleTTL, vr as createEnvironmentRpcQueryAtomFamily, yd as AssetResource, zk as TaggedErrorClass } from "../../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/state/assets.ts
3
3
  const ASSET_URL_REFRESH_INTERVAL_MS = 30 * 6e4;
4
4
  const ASSET_URL_STALE_TIME_MS = 5 * 6e4;
@@ -1,4 +1,4 @@
1
- import { Bw as AuthAccessStreamError, Lw as AuthAccessSnapshot, Vw as AuthAccessStreamEvent, bT as EnvironmentAuthorizationError, ha as EnvironmentRegistry, zT as EnvironmentId } from "../../shared.js";
1
+ import { $O as EnvironmentAuthorizationError, Oa as EnvironmentRegistry, bO as AuthAccessStreamEvent, gO as AuthAccessSnapshot, vk as EnvironmentId, yO as AuthAccessStreamError } from "../../shared.js";
2
2
  import { Atom } from "effect/unstable/reactivity";
3
3
  //#region upstream-t3code/packages/client-runtime/src/state/auth.d.ts
4
4
  declare const EMPTY_AUTH_ACCESS_SNAPSHOT: AuthAccessSnapshot;
@@ -1,4 +1,4 @@
1
- import { Fs as WS_METHODS, Ur as subscribe, hr as createEnvironmentSubscriptionAtomFamily, qE as mapAccum } from "../../shared.js";
1
+ import { WA as mapAccum, ci as subscribe, lc as WS_METHODS, xr as createEnvironmentSubscriptionAtomFamily } from "../../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/state/auth.ts
3
3
  const EMPTY_AUTH_ACCESS_SNAPSHOT = {
4
4
  pairingLinks: [],
@@ -1,4 +1,4 @@
1
- import { $D as flatMap, Aa as EnvironmentSupervisor, Fk as getOrElse, Gr as family, KE as map$1, Oa as EnvironmentRegistry, Sv as changes, Xr as withLabel, gr as createRuntimeCommand, lD as unwrap, lr as createAtomCommandScheduler, qr as make, ti as value, uO as map, us as AVAILABLE_CONNECTION_STATE, xr as followStreamInEnvironment } from "../../shared.js";
1
+ import { By as changes, Dr as followStreamInEnvironment, Gj as flatMap, Ia as EnvironmentRegistry, Kr as make, LN as getOrElse, Ra as EnvironmentSupervisor, Sr as createRuntimeCommand, UA as map$1, Wr as family, Yr as withLabel, bs as AVAILABLE_CONNECTION_STATE, ei as value, mr as createAtomCommandScheduler, rM as map, sj as unwrap } from "../../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/state/connections.ts
3
3
  const EMPTY_ENVIRONMENT_CATALOG_STATE = Object.freeze({
4
4
  isReady: false,
@@ -1,4 +1,4 @@
1
- import { Mw as ScopedThreadRef, jw as ScopedProjectRef } from "../../shared.js";
1
+ import { lO as ScopedProjectRef, uO as ScopedThreadRef } from "../../shared.js";
2
2
  import * as Schema from "effect/Schema";
3
3
  //#region upstream-t3code/packages/client-runtime/src/state/entities.d.ts
4
4
  declare const InvalidScopedProjectKeyError_base: Schema.Class<InvalidScopedProjectKeyError, Schema.TaggedStruct<"InvalidScopedProjectKeyError", {
@@ -1,2 +1,2 @@
1
- import { $t as projectRefCollectionKey, Gt as InvalidScopedProjectKeyError, Jt as arrayElementsEqual, Kt as InvalidScopedProjectRefCollectionKeyError, Qt as projectKey, Xt as parseProjectRefCollectionKey, Yt as parseProjectKey, Zt as parseThreadKey, en as projectRefsEqual, nn as threadRefsEqual, qt as InvalidScopedThreadKeyError, tn as threadKey } from "../../shared.js";
1
+ import { $t as projectKey, Jt as InvalidScopedThreadKeyError, Kt as InvalidScopedProjectKeyError, Qt as parseThreadKey, Xt as parseProjectKey, Yt as arrayElementsEqual, Zt as parseProjectRefCollectionKey, en as projectRefCollectionKey, nn as threadKey, qt as InvalidScopedProjectRefCollectionKeyError, rn as threadRefsEqual, tn as projectRefsEqual } from "../../shared.js";
2
2
  export { InvalidScopedProjectKeyError, InvalidScopedProjectRefCollectionKeyError, InvalidScopedThreadKeyError, arrayElementsEqual, parseProjectKey, parseProjectRefCollectionKey, parseThreadKey, projectKey, projectRefCollectionKey, projectRefsEqual, threadKey, threadRefsEqual };
@@ -1,4 +1,4 @@
1
- import { Hx as FilesystemBrowseError, Vx as FilesystemBrowseEntry, Wi as EnvironmentConnectionPhase, bT as EnvironmentAuthorizationError, ha as EnvironmentRegistry, on as EnvironmentRpcUnavailableError, zT as EnvironmentId } from "../../shared.js";
1
+ import { $O as EnvironmentAuthorizationError, Oa as EnvironmentRegistry, hn as EnvironmentRpcUnavailableError, nw as FilesystemBrowseEntry, ra as EnvironmentConnectionPhase, rw as FilesystemBrowseError, vk as EnvironmentId } from "../../shared.js";
2
2
  import { Atom } from "effect/unstable/reactivity";
3
3
  //#region upstream-t3code/packages/client-runtime/src/state/filesystem.d.ts
4
4
  declare function getFilesystemBrowsePath(query: string, platform?: string, enabled?: boolean): {
@@ -1,4 +1,4 @@
1
- import { Fs as WS_METHODS, It as getBrowseDirectoryPath, Lt as getBrowseLeafPathSegment, Nt as canNavigateUp, Rt as getBrowseParentPath, Vt as isFilesystemBrowseQuery, fr as createEnvironmentRpcQueryAtomFamily, zt as hasTrailingPathSeparator } from "../../shared.js";
1
+ import { Bt as hasTrailingPathSeparator, Ht as isFilesystemBrowseQuery, Lt as getBrowseDirectoryPath, Pt as canNavigateUp, Rt as getBrowseLeafPathSegment, lc as WS_METHODS, vr as createEnvironmentRpcQueryAtomFamily, zt as getBrowseParentPath } from "../../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/state/filesystem.ts
3
3
  function getFilesystemBrowsePath(query, platform = "", enabled = true) {
4
4
  const isBrowsing = enabled && isFilesystemBrowseQuery(query, platform);
@@ -1,13 +1,13 @@
1
- import { AS as GitPullRequestMaterializationError, BS as TextGenerationError, ES as GitManagerError, TS as GitCommandError, bT as EnvironmentAuthorizationError, f as AtomCommand, hC as SourceControlProviderError, ha as EnvironmentRegistry, ma as EnvironmentNotRegisteredError, on as EnvironmentRpcUnavailableError, zT as EnvironmentId } from "../../shared.js";
1
+ import { $O as EnvironmentAuthorizationError, Da as EnvironmentNotRegisteredError, Hw as GitCommandError, Oa as EnvironmentRegistry, UD as SourceControlProviderError, Uw as GitManagerError, f as AtomCommand, hn as EnvironmentRpcUnavailableError, qw as GitPullRequestMaterializationError, rT as TextGenerationError, vk as EnvironmentId } from "../../shared.js";
2
2
  import { Atom } from "effect/unstable/reactivity";
3
3
  //#region upstream-t3code/packages/client-runtime/src/state/git.d.ts
4
4
  declare function createGitEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<EnvironmentRegistry | R, E>): {
5
5
  pullRequestResolution: (target: {
6
6
  readonly environmentId: EnvironmentId;
7
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{
8
- readonly cwd: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
9
- readonly reference: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
10
- }>;
7
+ readonly input: {
8
+ readonly cwd: string;
9
+ readonly reference: string;
10
+ };
11
11
  }) => Atom.Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
12
12
  readonly pullRequest: {
13
13
  readonly number: number;
@@ -37,6 +37,7 @@ declare function createGitEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<Envir
37
37
  };
38
38
  readonly branch: string;
39
39
  readonly worktreePath: string | null;
40
+ readonly isOnPullRequestHead: boolean;
40
41
  }, E | EnvironmentAuthorizationError | EnvironmentNotRegisteredError | EnvironmentRpcUnavailableError | GitCommandError | GitManagerError | GitPullRequestMaterializationError | import("effect/unstable/rpc/RpcClientError").RpcClientError | SourceControlProviderError | TextGenerationError>;
41
42
  };
42
43
  //#endregion
@@ -1,4 +1,4 @@
1
- import { Fs as WS_METHODS, St as vcsCommandScheduler, dr as createEnvironmentRpcCommand, fr as createEnvironmentRpcQueryAtomFamily, xt as vcsCommandConcurrency } from "../../shared.js";
1
+ import { St as vcsCommandScheduler, _r as createEnvironmentRpcCommand, lc as WS_METHODS, vr as createEnvironmentRpcQueryAtomFamily, xt as vcsCommandConcurrency } from "../../shared.js";
2
2
  //#region upstream-t3code/packages/client-runtime/src/state/git.ts
3
3
  function createGitEnvironmentAtoms(runtime) {
4
4
  return {
@@ -1,2 +1,2 @@
1
- import { at as EnvironmentThreadShell, ct as scopeThreadShell, it as EnvironmentThread, lt as selectEnvironmentThreadShell, nt as EnvironmentMessage, ot as scopeProject, rt as EnvironmentProject, st as scopeThread } from "../../shared.js";
1
+ import { at as EnvironmentMessage, ct as EnvironmentThreadShell, dt as scopeThreadShell, ft as selectEnvironmentThreadShell, lt as scopeProject, ot as EnvironmentProject, st as EnvironmentThread, ut as scopeThread } from "../../shared.js";
2
2
  export { EnvironmentMessage, EnvironmentProject, EnvironmentThread, EnvironmentThreadShell, scopeProject, scopeThread, scopeThreadShell, selectEnvironmentThreadShell };
@@ -1,2 +1,2 @@
1
- import { ar as scopeProject, cr as selectEnvironmentThreadShell, or as scopeThread, sr as scopeThreadShell } from "../../shared.js";
1
+ import { dr as scopeThread, fr as scopeThreadShell, pr as selectEnvironmentThreadShell, ur as scopeProject } from "../../shared.js";
2
2
  export { scopeProject, scopeThread, scopeThreadShell, selectEnvironmentThreadShell };
@@ -1,4 +1,4 @@
1
- import { K_ as OrchestrationGetSnapshotError, U_ as OrchestrationGetFullThreadDiffError, bT as EnvironmentAuthorizationError, ha as EnvironmentRegistry, on as EnvironmentRpcUnavailableError, q_ as OrchestrationGetTurnDiffError, zT as EnvironmentId } from "../../shared.js";
1
+ import { $O as EnvironmentAuthorizationError, Ly as OrchestrationGetSnapshotError, Oa as EnvironmentRegistry, Py as OrchestrationGetFullThreadDiffError, Ry as OrchestrationGetTurnDiffError, Vy as OrchestrationGetWorkflowScriptError, eb as OrchestrationSearchThreadsError, hn as EnvironmentRpcUnavailableError, vk as EnvironmentId } from "../../shared.js";
2
2
  import { Atom } from "effect/unstable/reactivity";
3
3
  //#region upstream-t3code/packages/client-runtime/src/state/orchestration.d.ts
4
4
  declare function createOrchestrationEnvironmentAtoms<R, E>(runtime: Atom.AtomRuntime<EnvironmentRegistry | R, E>): {
@@ -16,6 +16,17 @@ declare function createOrchestrationEnvironmentAtoms<R, E>(runtime: Atom.AtomRun
16
16
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
17
17
  readonly diff: string;
18
18
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | OrchestrationGetTurnDiffError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
19
+ workflowScript: (target: {
20
+ readonly environmentId: EnvironmentId;
21
+ readonly input: {
22
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
23
+ readonly scriptPath: string;
24
+ };
25
+ }) => Atom.Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
26
+ readonly scriptPath: string;
27
+ readonly contents: string;
28
+ readonly truncated: boolean;
29
+ }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | OrchestrationGetWorkflowScriptError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
19
30
  fullThreadDiff: (target: {
20
31
  readonly environmentId: EnvironmentId;
21
32
  readonly input: {
@@ -29,9 +40,24 @@ declare function createOrchestrationEnvironmentAtoms<R, E>(runtime: Atom.AtomRun
29
40
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
30
41
  readonly diff: string;
31
42
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | OrchestrationGetFullThreadDiffError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
43
+ threadSearch: (target: {
44
+ readonly environmentId: EnvironmentId;
45
+ readonly input: {
46
+ readonly query: string;
47
+ readonly limit?: number;
48
+ };
49
+ }) => Atom.Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
50
+ readonly matches: readonly {
51
+ readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
52
+ readonly projectId: string & import("effect/Brand").Brand<"ProjectId">;
53
+ readonly source: "assistant" | "user";
54
+ readonly snippet: string;
55
+ readonly messageCreatedAt: string | null;
56
+ }[];
57
+ }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | OrchestrationSearchThreadsError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;
32
58
  archivedShellSnapshot: (target: {
33
59
  readonly environmentId: EnvironmentId;
34
- readonly input: import("effect/Schema").Struct.ReadonlyMakeIn<{}>;
60
+ readonly input: {};
35
61
  }) => Atom.Atom<import("effect/unstable/reactivity/AsyncResult").AsyncResult<{
36
62
  readonly snapshotSequence: number;
37
63
  readonly projects: readonly {
@@ -59,6 +85,8 @@ declare function createOrchestrationEnvironmentAtoms<R, E>(runtime: Atom.AtomRun
59
85
  readonly value: string | boolean;
60
86
  }[];
61
87
  } | null;
88
+ readonly defaultThreadEnvMode?: "local" | "worktree" | null | undefined;
89
+ readonly faviconPath?: string | null | undefined;
62
90
  readonly scripts: readonly {
63
91
  readonly id: string;
64
92
  readonly name: string;
@@ -106,6 +134,12 @@ declare function createOrchestrationEnvironmentAtoms<R, E>(runtime: Atom.AtomRun
106
134
  readonly settledAt: string | null;
107
135
  readonly snoozedUntil?: string | null | undefined;
108
136
  readonly snoozedAt?: string | null | undefined;
137
+ readonly pinnedAt?: string | null | undefined;
138
+ readonly pinOrderKey?: string | null | undefined;
139
+ readonly titleRegeneration?: {
140
+ readonly requestId: string & import("effect/Brand").Brand<"CommandId">;
141
+ readonly startedAt: string;
142
+ } | null | undefined;
109
143
  readonly session: {
110
144
  readonly threadId: string & import("effect/Brand").Brand<"ThreadId">;
111
145
  readonly status: "error" | "idle" | "interrupted" | "ready" | "running" | "starting" | "stopped";
@@ -120,6 +154,12 @@ declare function createOrchestrationEnvironmentAtoms<R, E>(runtime: Atom.AtomRun
120
154
  readonly hasPendingApprovals: boolean;
121
155
  readonly hasPendingUserInput: boolean;
122
156
  readonly hasActionableProposedPlan: boolean;
157
+ readonly backgroundLiveness?: "monitoring" | "working" | null | undefined;
158
+ readonly planProgress?: {
159
+ readonly step: string;
160
+ readonly completedSteps: number;
161
+ readonly totalSteps: number;
162
+ } | null | undefined;
123
163
  }[];
124
164
  readonly updatedAt: string;
125
165
  }, E | EnvironmentAuthorizationError | EnvironmentRpcUnavailableError | Error | OrchestrationGetSnapshotError | import("effect/unstable/rpc/RpcClientError").RpcClientError>>;