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.
- package/README.md +37 -1
- package/dist/application.d.ts +2 -2
- package/dist/application.js +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +1 -1
- package/dist/bin.js +1305 -424
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/client-runtime/authorization.d.ts +1 -1
- package/dist/client-runtime/authorization.js +1 -1
- package/dist/client-runtime/connection.d.ts +1 -1
- package/dist/client-runtime/connection.js +1 -1
- package/dist/client-runtime/environment.d.ts +7 -1
- package/dist/client-runtime/environment.js +1 -1
- package/dist/client-runtime/errors.js +1 -1
- package/dist/client-runtime/operations/projects.d.ts +2 -2
- package/dist/client-runtime/operations/projects.js +2 -2
- package/dist/client-runtime/operations.d.ts +2 -2
- package/dist/client-runtime/operations.js +2 -2
- package/dist/client-runtime/platform.d.ts +1 -1
- package/dist/client-runtime/platform.js +1 -1
- package/dist/client-runtime/relay.d.ts +13 -2
- package/dist/client-runtime/relay.js +12 -2
- package/dist/client-runtime/rpc.d.ts +2 -2
- package/dist/client-runtime/rpc.js +2 -2
- package/dist/client-runtime/state/assets.d.ts +17 -11
- package/dist/client-runtime/state/assets.js +1 -1
- package/dist/client-runtime/state/auth.d.ts +1 -1
- package/dist/client-runtime/state/auth.js +1 -1
- package/dist/client-runtime/state/connections.js +1 -1
- package/dist/client-runtime/state/entities.d.ts +1 -1
- package/dist/client-runtime/state/entities.js +1 -1
- package/dist/client-runtime/state/filesystem.d.ts +1 -1
- package/dist/client-runtime/state/filesystem.js +1 -1
- package/dist/client-runtime/state/git.d.ts +6 -5
- package/dist/client-runtime/state/git.js +1 -1
- package/dist/client-runtime/state/models.d.ts +1 -1
- package/dist/client-runtime/state/models.js +1 -1
- package/dist/client-runtime/state/orchestration.d.ts +42 -2
- package/dist/client-runtime/state/orchestration.js +13 -1
- package/dist/client-runtime/state/presentation.d.ts +15 -3
- package/dist/client-runtime/state/presentation.js +1 -1
- package/dist/client-runtime/state/preview.d.ts +58 -48
- package/dist/client-runtime/state/preview.js +3 -2
- package/dist/client-runtime/state/project-grouping.d.ts +26 -2
- package/dist/client-runtime/state/project-grouping.js +83 -3
- package/dist/client-runtime/state/projects.d.ts +24 -18
- package/dist/client-runtime/state/projects.js +1 -1
- package/dist/client-runtime/state/pull-requests.d.ts +478 -0
- package/dist/client-runtime/state/pull-requests.js +172 -0
- package/dist/client-runtime/state/relay.d.ts +1 -1
- package/dist/client-runtime/state/relay.js +1 -1
- package/dist/client-runtime/state/review.d.ts +16 -1
- package/dist/client-runtime/state/review.js +27 -6
- package/dist/client-runtime/state/runtime.d.ts +2 -2
- package/dist/client-runtime/state/runtime.js +2 -2
- package/dist/client-runtime/state/server.d.ts +311 -172
- package/dist/client-runtime/state/server.js +192 -16
- package/dist/client-runtime/state/session.d.ts +77 -7
- package/dist/client-runtime/state/session.js +32 -3
- package/dist/client-runtime/state/shell.d.ts +47 -7
- package/dist/client-runtime/state/shell.js +1 -1
- package/dist/client-runtime/state/source-control.d.ts +2 -2
- package/dist/client-runtime/state/source-control.js +1 -1
- package/dist/client-runtime/state/subagentRuntime.d.ts +145 -0
- package/dist/client-runtime/state/subagentRuntime.js +521 -0
- package/dist/client-runtime/state/terminal.d.ts +17 -17
- package/dist/client-runtime/state/terminal.js +1 -1
- package/dist/client-runtime/state/thread-search.d.ts +23 -0
- package/dist/client-runtime/state/thread-search.js +38 -0
- package/dist/client-runtime/state/thread-settled.d.ts +32 -4
- package/dist/client-runtime/state/thread-settled.js +2 -157
- package/dist/client-runtime/state/thread-sort.d.ts +59 -2
- package/dist/client-runtime/state/thread-sort.js +128 -2
- package/dist/client-runtime/state/threads.d.ts +115 -3
- package/dist/client-runtime/state/threads.js +309 -28
- package/dist/client-runtime/state/vcs.d.ts +14 -14
- package/dist/client-runtime/state/vcs.js +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/connection.d.ts +1 -1
- package/dist/connection.js +1 -1
- package/dist/contracts.d.ts +1 -1
- package/dist/contracts.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/dist/orchestration.d.ts +155 -6
- package/dist/orchestration.js +2 -2
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +1 -1
- package/dist/rpc.d.ts +887 -360
- package/dist/rpc.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/dist/shared/DrainableWorker.js +1 -1
- package/dist/shared/KeyedCoalescingWorker.js +1 -1
- package/dist/shared/Net.d.ts +6 -0
- package/dist/shared/Net.js +2 -1
- package/dist/shared/advertisedEndpoint.d.ts +1 -1
- package/dist/shared/advertisedEndpoint.js +1 -1
- package/dist/shared/agentAwareness.d.ts +1 -1
- package/dist/shared/backgroundActivitySettings.d.ts +1 -1
- package/dist/shared/composerInlineTokens.js +1 -1
- package/dist/shared/connectAuth.d.ts +23 -4
- package/dist/shared/connectAuth.js +40 -7
- package/dist/shared/devHome.js +1 -1
- package/dist/shared/dpop.js +1 -1
- package/dist/shared/git.d.ts +1 -1
- package/dist/shared/httpObservability.js +1 -1
- package/dist/shared/httpReadiness.js +1 -1
- package/dist/shared/keybindings.d.ts +2 -2
- package/dist/shared/keybindings.js +15 -1
- package/dist/shared/model.d.ts +1 -1
- package/dist/shared/oauthScope.js +1 -1
- package/dist/shared/observability.d.ts +8 -1
- package/dist/shared/observability.js +49 -5
- package/dist/shared/path.js +1 -1
- package/dist/shared/preview.js +1 -1
- package/dist/shared/previewViewport.d.ts +1 -1
- package/dist/shared/previewViewport.js +1 -1
- package/dist/shared/projectFavicon.d.ts +2 -1
- package/dist/shared/projectFavicon.js +13 -1
- package/dist/shared/projectScripts.d.ts +1 -1
- package/dist/shared/relayAuth.js +1 -1
- package/dist/shared/relayClient.d.ts +1 -1
- package/dist/shared/relayClient.js +1 -1
- package/dist/shared/relayJwt.js +1 -1
- package/dist/shared/relayTracing.js +1 -1
- package/dist/shared/relayUrl.js +1 -1
- package/dist/shared/remote.js +1 -1
- package/dist/shared/schemaYaml.js +3 -3
- package/dist/shared/semver.js +1 -1
- package/dist/shared/serverSettings.d.ts +1 -1
- package/dist/shared/serverSettings.js +1 -1
- package/dist/shared/shell.d.ts +6 -1
- package/dist/shared/shell.js +42 -4
- package/dist/shared/sourceControl.d.ts +1 -1
- package/dist/shared/t3ProjectFile.d.ts +9 -1
- package/dist/shared/t3ProjectFile.js +12 -2
- package/dist/shared/terminalLabels.d.ts +1 -1
- package/dist/shared/threadEnvMode.d.ts +29 -0
- package/dist/shared/threadEnvMode.js +24 -0
- package/dist/shared/toolActivity.d.ts +1 -1
- package/dist/shared/usageFormat.d.ts +34 -0
- package/dist/shared/usageFormat.js +176 -0
- package/dist/shared/usageMerge.d.ts +78 -0
- package/dist/shared/usageMerge.js +241 -0
- package/dist/shared.d.ts +8268 -1372
- package/dist/shared.js +22185 -19774
- package/dist/t3tools.d.ts +2 -2
- package/dist/t3tools.js +2 -2
- package/package.json +5 -5
- package/src/application/error.ts +2 -2
- package/src/application/index.ts +2 -0
- package/src/application/service.ts +43 -5
- package/src/application/thread-commands.ts +78 -0
- package/src/application/threads.ts +156 -17
- package/src/cli/app.ts +4 -0
- package/src/cli/ask-lifecycle.ts +331 -0
- package/src/cli/ask.ts +390 -0
- package/src/cli/error.ts +70 -0
- package/src/cli/format/thread.ts +49 -7
- package/src/cli/search.ts +48 -0
- package/src/cli/thread.ts +12 -0
- package/src/cli/threads/messages.ts +33 -3
- package/src/cli/threads/pin.ts +46 -0
- package/src/cli/threads/send.ts +5 -1
- package/src/cli/threads/settle.ts +46 -0
- package/src/cli/threads/snooze.ts +117 -0
- package/src/cli/threads/start.ts +6 -1
- package/src/cli/threads/unpin.ts +48 -0
- package/src/cli/threads/unsettle.ts +48 -0
- package/src/cli/threads/unsnooze.ts +48 -0
- package/src/config/persist/schema.ts +1 -1
- package/src/connection/prepared.ts +12 -2
- package/src/orchestration/error.ts +10 -0
- package/src/orchestration/index.ts +1 -0
- package/src/orchestration/layer.ts +78 -0
- package/src/orchestration/service.ts +16 -3
- package/src/rpc/error.ts +2 -0
- package/src/rpc/operation.ts +2 -0
- package/src/rpc/ws-group.ts +3 -0
- package/src/runtime/layer.ts +9 -4
package/dist/cli.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 { $
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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
|
|
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 {
|
|
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 {
|
|
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:
|
|
18
|
-
readonly resource:
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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:
|
|
8
|
-
readonly cwd:
|
|
9
|
-
readonly reference:
|
|
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 {
|
|
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
|
|
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 {
|
|
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 {
|
|
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:
|
|
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>>;
|