agent-transport-system 0.7.85 → 0.7.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-me-membership-DWProwqv.js → add-me-membership-Cl8xk3VA.js} +3 -3
- package/dist/{add-me-membership-DWProwqv.js.map → add-me-membership-Cl8xk3VA.js.map} +1 -1
- package/dist/{api-client-foundation-Bw3GEYht.js → api-client-foundation-uTSreybv.js} +1 -1
- package/dist/ats-dev.js +2 -2
- package/dist/ats.js +62 -23
- package/dist/ats.js.map +1 -1
- package/dist/{auth-session-WG19Y0K2.js → auth-session-BqQxrqTM.js} +1 -1
- package/dist/{base-url-6Fngzm6j.js → base-url-DpJVkWm2.js} +2 -2
- package/dist/{base-url-6Fngzm6j.js.map → base-url-DpJVkWm2.js.map} +1 -1
- package/dist/{daemon-runtime-lease-owoUfqh7.js → daemon-runtime-lease-DGWb6_4o.js} +1 -1
- package/dist/{dist-B2gvGsLs.js → dist-BN-bc_jy.js} +3 -2
- package/dist/dist-BN-bc_jy.js.map +1 -0
- package/dist/{dist-DrNaYd5y.js → dist-zTjv6-L7.js} +1 -1
- package/package.json +1 -1
- package/dist/dist-B2gvGsLs.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import "./base-url-
|
|
4
|
-
import "./dist-
|
|
3
|
+
import "./base-url-DpJVkWm2.js";
|
|
4
|
+
import "./dist-BN-bc_jy.js";
|
|
5
5
|
import { t as runSpaceAddMembers } from "./ats.js";
|
|
6
6
|
|
|
7
7
|
//#region src/space/add-me-membership.ts
|
|
@@ -11,4 +11,4 @@ async function runSpaceAddMeMembership(input) {
|
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
export { runSpaceAddMeMembership };
|
|
14
|
-
//# sourceMappingURL=add-me-membership-
|
|
14
|
+
//# sourceMappingURL=add-me-membership-Cl8xk3VA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-me-membership-
|
|
1
|
+
{"version":3,"file":"add-me-membership-Cl8xk3VA.js","names":[],"sources":["../src/space/add-me-membership.ts"],"sourcesContent":["import { runSpaceAddMembers } from \"./command\";\nimport type { SpaceCommandNavigationStatus } from \"./navigation-status\";\n\nexport type SpaceAddMeMembershipInput = Parameters<\n typeof runSpaceAddMembers\n>[0];\nexport type SpaceAddMeMembershipRunner = (\n input: SpaceAddMeMembershipInput\n) => Promise<SpaceCommandNavigationStatus>;\n\nexport async function runSpaceAddMeMembership(\n input: SpaceAddMeMembershipInput\n): Promise<SpaceCommandNavigationStatus> {\n return await runSpaceAddMembers(input);\n}\n"],"mappings":";;;;;;;AAUA,eAAsB,wBACpB,OACuC;AACvC,QAAO,MAAM,mBAAmB,MAAM"}
|
package/dist/ats-dev.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as DEV_LOCAL_GATEWAY_BASE_URL } from "./base-url-
|
|
4
|
-
import "./dist-
|
|
3
|
+
import { t as DEV_LOCAL_GATEWAY_BASE_URL } from "./base-url-DpJVkWm2.js";
|
|
4
|
+
import "./dist-BN-bc_jy.js";
|
|
5
5
|
|
|
6
6
|
//#region src/ats-dev.ts
|
|
7
7
|
const LOCAL_GATEWAY_URL = DEV_LOCAL_GATEWAY_BASE_URL;
|
package/dist/ats.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { C as updateConfiguredSkillsConfig, S as updateConfiguredOnboardingConfig, _ as getRuntimeConfigReadHealth, a as resolveBaseUrl, b as setConfiguredSkillsConfig, c as resolveExplicitGatewayUrlOrThrow, d as createDefaultRuntimeAgentControllerSettings, f as getConfiguredDaemonDispatchLimits, g as getConfiguredViewCustomization, h as getConfiguredSkillsConfig, i as normalizeGatewayBaseUrlOrNull, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, p as getConfiguredDeviceRuntimeState, r as normalizeGatewayBaseUrl, s as resolveDefaultGatewayBaseUrl, u as alignRuntimeConfigStorage, v as resolveRuntimeSkillsCustomTargetId, w as updateConfiguredStartV1OnboardingState, x as updateConfiguredDeviceRuntimeState, y as setConfiguredBaseUrl } from "./base-url-
|
|
4
|
-
import { $ as getSpaceContractResponseSchema, $n as conversationExecutionStateSchema, $t as spaceDispatchTraceResponseSchema, A as deleteSpaceResponseSchema, An as MAX_PROFILE_ID_LENGTH, Ar as runtimeTransportRegisterSessionRequestSchema, At as postNormalMessageResponseSchema, B as formatLocalSetupActionLabel, Bn as SPACE_UPDATES_MAX_LIMIT, Bt as removeSpaceMembersResponseSchema, C as createSpaceThreadBodySchema, Cn as ATSD_TASK_RESULT_SCHEMA_VERSION, Cr as runtimeTransportDispatchLifecycleRequestSchema, Ct as notifyAgentProfileRouteCatalogChangedBodySchema, D as daemonRouteCatalogCacheSchema, Dn as DISPATCH_ACTIVITY_FAILED_PURPOSE, Dr as runtimeTransportHeartbeatRequestSchema, Dt as patchSpaceContractBodySchema, E as currentLocalRuntimeReplyReadinessResponseSchema, En as DISPATCH_ACTIVITY_DISPATCHING_PURPOSE, Er as runtimeTransportDispatchRuntimeEvidenceRequestSchema, Et as patchProfileSpaceHistoryStatusResponseSchema, F as forgetComputerResponseSchema, Fn as RUNTIME_TRANSPORT_SCHEMA_VERSION, Ft as prepareSessionResponseSchema, G as getAgentExecutionReadinessBatchResponseSchema, Gn as atsdTaskResultEnvelopeWriteSchema, Gt as setLocalRuntimeDisplayNameBodySchema, H as gatewayErrorEnvelopeSchema, Hn as atsSpaceEgressActionSchema, Ht as serverErrorFrameSchema, I as forgetCurrentComputerResponseSchema, In as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, It as prepareSessionStreamServerFrameSchema, J as getLocalRuntimeExpectedRoutesQuerySchema, Jn as buildAgentControllerConversationRef, Jt as setupPlanAgentViewPayloadSchema, K as getAgentExecutionReadinessResponseSchema, Kn as atsdTaskResultOpenClawGatewayVisibilityStatusSchema, Kt as setSpaceAccessModeBodySchema, L as formatLocalComponentsSummaryDescription, Ln as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, Lt as prepareSetupBootstrapWriteSchema, M as ensureAgentProfilePrimaryBindingBodySchema, Mn as MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH, Mr as runtimeTransportRouteCatalogChangedFramePayloadSchema, Mt as postSpaceMembersResponseSchema, N as ensureAgentProfilePrimaryBindingResponseSchema, Nn as MAX_VISITED_PROFILE_IDS, Nr as runtimeTransportSubmitTaskResultRequestSchema, Nt as postSpaceThreadSignalBodySchema, O as daemonRouteObservationResponseSchema, On as DISPATCH_ACTIVITY_RETRYING_PURPOSE, Or as runtimeTransportHeartbeatResponseSchema, Ot as patchSpaceContractResponseSchema, P as entryBriefSchema, Pn as MESSAGE_MENTION_TYPE_VALUES, Pr as sanitizeSignalTextPreview, Pt as postSpaceThreadSignalResponseSchema, Q as getPrepareReadinessResponseSchema, Qn as collectCanonicalMentionTextFragments, Qt as spaceCreatorSchema, R as formatLocalComponentsSummaryLabel, Rn as SPACE_MENTION_REJECT_NOTICE_PURPOSE, Rt as projectObservabilityWakeCorrelation, S as createSpaceResponseSchema, Sn as ATSD_CONTROL_PLANE_SCHEMA_VERSION, Sr as runtimeTransportDeliveryExecutionIdentitySchema, St as normalizeSpaceCursorPatch, T as currentDeviceTargetResponseSchema, Tn as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, Tr as runtimeTransportDispatchPreviewRequestSchema, Tt as observabilityWakeTraceSelectorSchema, U as getActiveSpaceWakeProgressResponseSchema, Un as atsdControlPlaneRequestSchema, Ut as setCurrentLocalAgentEnabledBodySchema, V as gatewayErrorCodeSchema, Vn as atsRuntimeProfileIdSchema, Vt as resolveSpaceDispatchTraceRootCause, W as getAgentExecutionReadinessBatchBodySchema, Wn as atsdControlPlaneResponseSchema, Wt as setCurrentLocalAgentEnabledResponseSchema, X as getModelCatalogResponseSchema, Xn as canonicalizeAgentControllerRef, Xt as spaceAccessModeStateSchema, Y as getLocalRuntimeExpectedRoutesResponseSchema, Yn as buildAgentControllerRoutingKey, Yt as signalEnvelopeSchema, Z as getPrepareReadinessQuerySchema, Zn as canonicalizeBuiltinAgentControllerRef, Zt as spaceBootstrapResponseSchema, _ as cliJsonOutputEnvelopeSchema, _n as writeCurrentDeviceObservedMetadataResponseSchema, _r as resolveSpaceMentionLabels, _t as localRuntimeEnrollmentResponseSchema, a as DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_VERSION, an as spaceViewerMembershipResponseSchema, ar as normalizeBuiltinAgentControllerId, at as getSpaceUpdatesResponseSchema, b as createSpaceDiagnosticReportBodySchema, bn as AGENT_REPLY_PREVIEW_END_PURPOSE, br as runtimeCoordinatorExecutionTokenEnvelopeSchema, bt as modelCatalogSchema, c as SETUP_PLAN_AGENT_VIEW_CODE, cn as submitRuntimeAgentControllerReportsResponseSchema, cr as normalizeOptionalWorkingDirectory, ct as incomingServerMessageSchema, d as accountSpaceIndexResponseSchema, dn as submitRuntimeRegistrationBodySchema, dr as parseOptionalClientMessageId, dt as listProfileSpaceHistoryResponseSchema, en as spaceIdentityDirectorySchema, er as daemonServiceContractSchema, et as getSpaceDispatchLookupResponseSchema, f as agentControllerPermissionModeSchema, fn as submitRuntimeRegistrationResponseSchema, fr as profileWorkspaceModeSchema, ft as listSpaceThreadEventsResponseSchema, g as catchupResponseSchema, gn as writeCurrentDeviceObservedMetadataBodySchema, gr as resolveSingleSpaceMentionLabels, gt as localRuntimeEnrollmentBodySchema, h as atsRequestContextSchema, hn as upsertProfileSpaceHistoryResponseSchema, hr as resolveMessageEnvelopeTargetField, ht as localAgentCatalogSchema, i as DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME, in as spaceMetaSchema, ir as getSpaceMessageAddressingRelationSupportForTargetKind, it as getSpaceThreadResponseSchema, j as dispatchBriefSchema, jn as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, jr as runtimeTransportRegisterSessionResponseSchema, jt as postSpaceMembersBodySchema, k as daemonRuntimeLeaseSchema, kn as LEGACY_RUNTIME_DISPATCH_POLICY, kr as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, kt as postNormalMessageBodySchema, l as SETUP_PLAN_AGENT_VIEW_SCHEMA_VERSION, ln as submitRuntimeProviderConversationProofsBodySchema, lr as normalizeSpacePasswordText, lt as installedLocalComponentsSnapshotSchema, m as agentProfileBindingRouteParamsSchema, mn as updateAgentProfilePrimaryBindingModelSelectionBodySchema, mr as resolveBuiltinAgentControllerConversationKind, mt as listSpaceThreadsResponseSchema, n as resolveBuiltinAgentControllerBrand, nn as spaceMemberDirectorySchema, nr as daemonStreamFrameSchema, nt as getSpaceMessageDetailsResponseSchema, o as LOCAL_COMPONENTS_SCHEMA_VERSION, on as structuredGuidePayloadFromInputSchema, or as normalizeKnownBuiltinAgentControllerId, ot as getSpaceWakeProgressResponseSchema, p as agentExecutionReadinessRouteParamsSchema, pn as updateAgentProfilePrimaryBindingAgentControllerPermissionModeBodySchema, pr as providerDispatchRuntimeContextSchema, pt as listSpaceThreadSignalsResponseSchema, q as getAgentProfilePrimaryBindingResponseSchema, qn as atsdTaskResultPayloadSchema, qt as setupPlanAgentViewEventSchema, r as resolveMappedPublicAgentFailureReason, rn as spaceMembersSnapshotSchema, rr as formatCanonicalMentionLiteral, rt as getSpaceStatusResponseSchema, s as PREPARE_SESSION_STREAM_PROTOCOL_VERSION, sn as submitRuntimeAgentControllerReportsBodySchema, sr as normalizeMessageEnvelope, st as getSpaceWakeTraceWaterfallResponseSchema, t as CODEX_UPGRADE_REQUIRED_REASON, tn as spaceMemberDirectoryEntrySchema, tr as daemonServiceLaneSchema, tt as getSpaceDispatchResultResponseSchema, u as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, un as submitRuntimeProviderConversationProofsResponseSchema, ur as parseAgentControllerRef$1, ut as leaveSpaceResponseSchema, v as continuitySchema, vn as AGENT_REPLYING_END_PURPOSE, vt as localRuntimesQuerySchema, w as createSpaceThreadResponseSchema, wn as CONVERSATION_CONTINUITY_WARNING_PURPOSE, wr as runtimeTransportDispatchPreviewEndRequestSchema, wt as notifyAgentProfileRouteCatalogChangedResponseSchema, x as createSpaceDiagnosticReportResponseSchema, xn as AGENT_REPLY_PREVIEW_PURPOSE, xr as runtimeTransportDeliverDispatchRequestSchema, xt as normalizeListSignalsReadQuerySemantics, y as createSpaceBodySchema, yn as AGENT_REPLYING_PURPOSE, yt as localRuntimesResponseSchema, z as formatLocalSetupActionDescription, zn as SPACE_PASSWORD_MIN_LENGTH, zt as projectSpaceDispatchTraceFinalVisibleOutcome } from "./dist-
|
|
3
|
+
import { C as updateConfiguredSkillsConfig, S as updateConfiguredOnboardingConfig, _ as getRuntimeConfigReadHealth, a as resolveBaseUrl, b as setConfiguredSkillsConfig, c as resolveExplicitGatewayUrlOrThrow, d as createDefaultRuntimeAgentControllerSettings, f as getConfiguredDaemonDispatchLimits, g as getConfiguredViewCustomization, h as getConfiguredSkillsConfig, i as normalizeGatewayBaseUrlOrNull, l as DEFAULT_RUNTIME_AGENT_TRANSPORT_MODE, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, p as getConfiguredDeviceRuntimeState, r as normalizeGatewayBaseUrl, s as resolveDefaultGatewayBaseUrl, u as alignRuntimeConfigStorage, v as resolveRuntimeSkillsCustomTargetId, w as updateConfiguredStartV1OnboardingState, x as updateConfiguredDeviceRuntimeState, y as setConfiguredBaseUrl } from "./base-url-DpJVkWm2.js";
|
|
4
|
+
import { $ as getSpaceContractResponseSchema, $n as conversationExecutionStateSchema, $t as spaceDispatchTraceResponseSchema, A as deleteSpaceResponseSchema, An as MAX_PROFILE_ID_LENGTH, Ar as runtimeTransportRegisterSessionRequestSchema, At as postNormalMessageResponseSchema, B as formatLocalSetupActionLabel, Bn as SPACE_UPDATES_MAX_LIMIT, Bt as removeSpaceMembersResponseSchema, C as createSpaceThreadBodySchema, Cn as ATSD_TASK_RESULT_SCHEMA_VERSION, Cr as runtimeTransportDispatchLifecycleRequestSchema, Ct as notifyAgentProfileRouteCatalogChangedBodySchema, D as daemonRouteCatalogCacheSchema, Dn as DISPATCH_ACTIVITY_FAILED_PURPOSE, Dr as runtimeTransportHeartbeatRequestSchema, Dt as patchSpaceContractBodySchema, E as currentLocalRuntimeReplyReadinessResponseSchema, En as DISPATCH_ACTIVITY_DISPATCHING_PURPOSE, Er as runtimeTransportDispatchRuntimeEvidenceRequestSchema, Et as patchProfileSpaceHistoryStatusResponseSchema, F as forgetComputerResponseSchema, Fn as RUNTIME_TRANSPORT_SCHEMA_VERSION, Ft as prepareSessionResponseSchema, G as getAgentExecutionReadinessBatchResponseSchema, Gn as atsdTaskResultEnvelopeWriteSchema, Gt as setLocalRuntimeDisplayNameBodySchema, H as gatewayErrorEnvelopeSchema, Hn as atsSpaceEgressActionSchema, Ht as serverErrorFrameSchema, I as forgetCurrentComputerResponseSchema, In as SPACE_MEMBER_JOIN_NOTICE_PURPOSE, It as prepareSessionStreamServerFrameSchema, J as getLocalRuntimeExpectedRoutesQuerySchema, Jn as buildAgentControllerConversationRef, Jt as setupPlanAgentViewPayloadSchema, K as getAgentExecutionReadinessResponseSchema, Kn as atsdTaskResultOpenClawGatewayVisibilityStatusSchema, Kt as setSpaceAccessModeBodySchema, L as formatLocalComponentsSummaryDescription, Ln as SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, Lt as prepareSetupBootstrapWriteSchema, M as ensureAgentProfilePrimaryBindingBodySchema, Mn as MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH, Mr as runtimeTransportRouteCatalogChangedFramePayloadSchema, Mt as postSpaceMembersResponseSchema, N as ensureAgentProfilePrimaryBindingResponseSchema, Nn as MAX_VISITED_PROFILE_IDS, Nr as runtimeTransportSubmitTaskResultRequestSchema, Nt as postSpaceThreadSignalBodySchema, O as daemonRouteObservationResponseSchema, On as DISPATCH_ACTIVITY_RETRYING_PURPOSE, Or as runtimeTransportHeartbeatResponseSchema, Ot as patchSpaceContractResponseSchema, P as entryBriefSchema, Pn as MESSAGE_MENTION_TYPE_VALUES, Pr as sanitizeSignalTextPreview, Pt as postSpaceThreadSignalResponseSchema, Q as getPrepareReadinessResponseSchema, Qn as collectCanonicalMentionTextFragments, Qt as spaceCreatorSchema, R as formatLocalComponentsSummaryLabel, Rn as SPACE_MENTION_REJECT_NOTICE_PURPOSE, Rt as projectObservabilityWakeCorrelation, S as createSpaceResponseSchema, Sn as ATSD_CONTROL_PLANE_SCHEMA_VERSION, Sr as runtimeTransportDeliveryExecutionIdentitySchema, St as normalizeSpaceCursorPatch, T as currentDeviceTargetResponseSchema, Tn as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, Tr as runtimeTransportDispatchPreviewRequestSchema, Tt as observabilityWakeTraceSelectorSchema, U as getActiveSpaceWakeProgressResponseSchema, Un as atsdControlPlaneRequestSchema, Ut as setCurrentLocalAgentEnabledBodySchema, V as gatewayErrorCodeSchema, Vn as atsRuntimeProfileIdSchema, Vt as resolveSpaceDispatchTraceRootCause, W as getAgentExecutionReadinessBatchBodySchema, Wn as atsdControlPlaneResponseSchema, Wt as setCurrentLocalAgentEnabledResponseSchema, X as getModelCatalogResponseSchema, Xn as canonicalizeAgentControllerRef, Xt as spaceAccessModeStateSchema, Y as getLocalRuntimeExpectedRoutesResponseSchema, Yn as buildAgentControllerRoutingKey, Yt as signalEnvelopeSchema, Z as getPrepareReadinessQuerySchema, Zn as canonicalizeBuiltinAgentControllerRef, Zt as spaceBootstrapResponseSchema, _ as cliJsonOutputEnvelopeSchema, _n as writeCurrentDeviceObservedMetadataResponseSchema, _r as resolveSpaceMentionLabels, _t as localRuntimeEnrollmentResponseSchema, a as DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_VERSION, an as spaceViewerMembershipResponseSchema, ar as normalizeBuiltinAgentControllerId, at as getSpaceUpdatesResponseSchema, b as createSpaceDiagnosticReportBodySchema, bn as AGENT_REPLY_PREVIEW_END_PURPOSE, br as runtimeCoordinatorExecutionTokenEnvelopeSchema, bt as modelCatalogSchema, c as SETUP_PLAN_AGENT_VIEW_CODE, cn as submitRuntimeAgentControllerReportsResponseSchema, cr as normalizeOptionalWorkingDirectory, ct as incomingServerMessageSchema, d as accountSpaceIndexResponseSchema, dn as submitRuntimeRegistrationBodySchema, dr as parseOptionalClientMessageId, dt as listProfileSpaceHistoryResponseSchema, en as spaceIdentityDirectorySchema, er as daemonServiceContractSchema, et as getSpaceDispatchLookupResponseSchema, f as agentControllerPermissionModeSchema, fn as submitRuntimeRegistrationResponseSchema, fr as profileWorkspaceModeSchema, ft as listSpaceThreadEventsResponseSchema, g as catchupResponseSchema, gn as writeCurrentDeviceObservedMetadataBodySchema, gr as resolveSingleSpaceMentionLabels, gt as localRuntimeEnrollmentBodySchema, h as atsRequestContextSchema, hn as upsertProfileSpaceHistoryResponseSchema, hr as resolveMessageEnvelopeTargetField, ht as localAgentCatalogSchema, i as DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME, in as spaceMetaSchema, ir as getSpaceMessageAddressingRelationSupportForTargetKind, it as getSpaceThreadResponseSchema, j as dispatchBriefSchema, jn as MAX_PROFILE_WORKING_DIRECTORY_LENGTH, jr as runtimeTransportRegisterSessionResponseSchema, jt as postSpaceMembersBodySchema, k as daemonRuntimeLeaseSchema, kn as LEGACY_RUNTIME_DISPATCH_POLICY, kr as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, kt as postNormalMessageBodySchema, l as SETUP_PLAN_AGENT_VIEW_SCHEMA_VERSION, ln as submitRuntimeProviderConversationProofsBodySchema, lr as normalizeSpacePasswordText, lt as installedLocalComponentsSnapshotSchema, m as agentProfileBindingRouteParamsSchema, mn as updateAgentProfilePrimaryBindingModelSelectionBodySchema, mr as resolveBuiltinAgentControllerConversationKind, mt as listSpaceThreadsResponseSchema, n as resolveBuiltinAgentControllerBrand, nn as spaceMemberDirectorySchema, nr as daemonStreamFrameSchema, nt as getSpaceMessageDetailsResponseSchema, o as LOCAL_COMPONENTS_SCHEMA_VERSION, on as structuredGuidePayloadFromInputSchema, or as normalizeKnownBuiltinAgentControllerId, ot as getSpaceWakeProgressResponseSchema, p as agentExecutionReadinessRouteParamsSchema, pn as updateAgentProfilePrimaryBindingAgentControllerPermissionModeBodySchema, pr as providerDispatchRuntimeContextSchema, pt as listSpaceThreadSignalsResponseSchema, q as getAgentProfilePrimaryBindingResponseSchema, qn as atsdTaskResultPayloadSchema, qt as setupPlanAgentViewEventSchema, r as resolveMappedPublicAgentFailureReason, rn as spaceMembersSnapshotSchema, rr as formatCanonicalMentionLiteral, rt as getSpaceStatusResponseSchema, s as PREPARE_SESSION_STREAM_PROTOCOL_VERSION, sn as submitRuntimeAgentControllerReportsBodySchema, sr as normalizeMessageEnvelope, st as getSpaceWakeTraceWaterfallResponseSchema, t as CODEX_UPGRADE_REQUIRED_REASON, tn as spaceMemberDirectoryEntrySchema, tr as daemonServiceLaneSchema, tt as getSpaceDispatchResultResponseSchema, u as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, un as submitRuntimeProviderConversationProofsResponseSchema, ur as parseAgentControllerRef$1, ut as leaveSpaceResponseSchema, v as continuitySchema, vn as AGENT_REPLYING_END_PURPOSE, vt as localRuntimesQuerySchema, w as createSpaceThreadResponseSchema, wn as CONVERSATION_CONTINUITY_WARNING_PURPOSE, wr as runtimeTransportDispatchPreviewEndRequestSchema, wt as notifyAgentProfileRouteCatalogChangedResponseSchema, x as createSpaceDiagnosticReportResponseSchema, xn as AGENT_REPLY_PREVIEW_PURPOSE, xr as runtimeTransportDeliverDispatchRequestSchema, xt as normalizeListSignalsReadQuerySemantics, y as createSpaceBodySchema, yn as AGENT_REPLYING_PURPOSE, yt as localRuntimesResponseSchema, z as formatLocalSetupActionDescription, zn as SPACE_PASSWORD_MIN_LENGTH, zt as projectSpaceDispatchTraceFinalVisibleOutcome } from "./dist-BN-bc_jy.js";
|
|
5
5
|
import { A as runtimeDir, C as normalizeAtsProfileId, D as resolveAtsEnvPreset, E as resolveAtsCliEntryNameFromArgv, F as systemDir, N as skillsDir, O as resolveAtsRootDir, P as spacesDir, S as normalizeAccountKey, T as profileViewPath, a as accountProfileWorkspacePath, c as atsRootDir, d as deviceOpenClawProfileBootstrapPath, f as deviceOpenClawProfileDir, i as accountProfileViewPath, j as runtimeLogsDir, k as resolveDefaultAtsHomeDirname, n as accountProfileLocalMetaPath, o as accountsDir, p as deviceOpenClawProfileWorkspaceDir, r as accountProfileSpaceCacheDir, s as atsBackupsDir, t as ATS_HOME_ENV_KEY, w as profileDir, y as legacyAccountProfileSpacesDir } from "./paths-DP4LBid2.js";
|
|
6
6
|
import { a as runWithHeldLock, c as LEGACY_ATS_CLI_CONTEXT_ENV_KEY, d as resolveCliContext, f as resolveCliContextId, i as releaseLock, l as listCliContextStates, n as isAtsLockError, o as tryCleanupStaleLock, p as writeCliContextState, r as readLockMeta, s as ATS_CLI_CONTEXT_ENV_KEY, t as acquireLock, u as readCliContextState } from "./lock-CBIWEyt0.js";
|
|
7
7
|
import { _ as toSpaceWsUrl, a as toSpaceCursorUrl, c as toSpaceDispatchTraceUrl, d as toSpaceMetaUrl, f as toSpacePasswordUrl, g as toSpaceUpdatesUrl, h as toSpaceSignalsUrl, i as toSpaceCreateUrl, l as toSpaceLeaveUrl, m as toSpaceResultUrl, n as toDaemonRouteObservationUrl, o as toSpaceDeleteUrl, p as toSpaceRemoveMembersUrl, r as toSpaceContractUrl, s as toSpaceDispatchLookupUrl, t as normalizeBaseUrl, u as toSpaceMembersUrl } from "./urls-B8ZoQgpS.js";
|
|
@@ -30,7 +30,7 @@ import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybi
|
|
|
30
30
|
import { ReadStream, WriteStream } from "node:tty";
|
|
31
31
|
|
|
32
32
|
//#region package.json
|
|
33
|
-
var version = "0.7.
|
|
33
|
+
var version = "0.7.87";
|
|
34
34
|
var package_default = {
|
|
35
35
|
$schema: "https://www.schemastore.org/package.json",
|
|
36
36
|
name: "agent-transport-system",
|
|
@@ -3978,7 +3978,7 @@ function resolveAtsAccountContext(input) {
|
|
|
3978
3978
|
};
|
|
3979
3979
|
}
|
|
3980
3980
|
async function resolveCurrentAtsAccountContext() {
|
|
3981
|
-
const { getAuthSessionMetadata } = await import("./auth-session-
|
|
3981
|
+
const { getAuthSessionMetadata } = await import("./auth-session-BqQxrqTM.js");
|
|
3982
3982
|
return resolveAtsAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
|
|
3983
3983
|
}
|
|
3984
3984
|
function resolveHostKey(baseUrl) {
|
|
@@ -4424,7 +4424,7 @@ async function setDaemonServiceRuntimeState(state, pathInput = {}) {
|
|
|
4424
4424
|
await writeDaemonServiceRuntimeState(state, pathInput);
|
|
4425
4425
|
}
|
|
4426
4426
|
async function clearDaemonServiceRuntimeState(pathInput = {}) {
|
|
4427
|
-
const { clearDaemonRuntimeLease } = await import("./daemon-runtime-lease-
|
|
4427
|
+
const { clearDaemonRuntimeLease } = await import("./daemon-runtime-lease-DGWb6_4o.js");
|
|
4428
4428
|
await Promise.all([rm(daemonServiceRuntimeStatePath(pathInput), { force: true }), clearDaemonRuntimeLease(pathInput)]);
|
|
4429
4429
|
}
|
|
4430
4430
|
async function withDaemonServiceRunLock(callback, meta = {
|
|
@@ -10706,6 +10706,7 @@ async function invokeCodexAppServerTransport(input) {
|
|
|
10706
10706
|
});
|
|
10707
10707
|
const invokedAtMs = Date.now();
|
|
10708
10708
|
const permissionModeParams = resolveCodexAppServerPermissionModeParams(input.agentControllerPermissionMode);
|
|
10709
|
+
const conversationPolicyParams = resolveCodexAppServerConversationPolicyParams(input.conversationPolicy);
|
|
10709
10710
|
return await withCodexAppServerSession({
|
|
10710
10711
|
codexTimeoutMs: input.codexTimeoutMs,
|
|
10711
10712
|
codexWorkdir: input.codexWorkdir,
|
|
@@ -10715,14 +10716,15 @@ async function invokeCodexAppServerTransport(input) {
|
|
|
10715
10716
|
onRuntimeEvent: input.onRuntimeEvent
|
|
10716
10717
|
}, async (session) => {
|
|
10717
10718
|
const threadId = await resolveDispatchThreadId({
|
|
10719
|
+
conversationPolicyParams,
|
|
10718
10720
|
codexWorkdir: input.codexWorkdir,
|
|
10719
|
-
permissionModeParams,
|
|
10721
|
+
permissionModeParams: permissionModeParams.thread,
|
|
10720
10722
|
session,
|
|
10721
10723
|
threadId: input.threadId
|
|
10722
10724
|
});
|
|
10723
10725
|
session.emitProviderConversationObserved(threadId);
|
|
10724
10726
|
const turn = readTurnStartResponse(await session.request("turn/start", {
|
|
10725
|
-
...permissionModeParams,
|
|
10727
|
+
...permissionModeParams.turn,
|
|
10726
10728
|
cwd: input.codexWorkdir,
|
|
10727
10729
|
input: [{
|
|
10728
10730
|
text: prompt,
|
|
@@ -10783,11 +10785,13 @@ async function verifyCodexAppServerThread(input) {
|
|
|
10783
10785
|
async function resolveDispatchThreadId(input) {
|
|
10784
10786
|
const existingThreadId = normalizeOptionalText$46(input.threadId);
|
|
10785
10787
|
if (existingThreadId) return readThreadIdFromResponse(await input.session.request("thread/resume", {
|
|
10788
|
+
...input.conversationPolicyParams,
|
|
10786
10789
|
...input.permissionModeParams,
|
|
10787
10790
|
cwd: input.codexWorkdir,
|
|
10788
10791
|
threadId: existingThreadId
|
|
10789
10792
|
}));
|
|
10790
10793
|
return readThreadIdFromResponse(await input.session.request("thread/start", {
|
|
10794
|
+
...input.conversationPolicyParams,
|
|
10791
10795
|
...input.permissionModeParams,
|
|
10792
10796
|
cwd: input.codexWorkdir,
|
|
10793
10797
|
threadSource: "user"
|
|
@@ -10796,18 +10800,33 @@ async function resolveDispatchThreadId(input) {
|
|
|
10796
10800
|
function resolveCodexAppServerPermissionModeParams(value) {
|
|
10797
10801
|
switch (resolveCodexAgentControllerPermissionMode$1(value)) {
|
|
10798
10802
|
case "codex:approveForMe": return {
|
|
10799
|
-
|
|
10800
|
-
|
|
10801
|
-
|
|
10803
|
+
thread: {
|
|
10804
|
+
approvalPolicy: "on-request",
|
|
10805
|
+
approvalsReviewer: "auto_review",
|
|
10806
|
+
sandbox: "workspace-write"
|
|
10807
|
+
},
|
|
10808
|
+
turn: {
|
|
10809
|
+
approvalPolicy: "on-request",
|
|
10810
|
+
approvalsReviewer: "auto_review"
|
|
10811
|
+
}
|
|
10802
10812
|
};
|
|
10803
10813
|
case "codex:fullAccess": return {
|
|
10804
|
-
|
|
10805
|
-
|
|
10814
|
+
thread: {
|
|
10815
|
+
approvalPolicy: "never",
|
|
10816
|
+
sandbox: "danger-full-access"
|
|
10817
|
+
},
|
|
10818
|
+
turn: { approvalPolicy: "never" }
|
|
10819
|
+
};
|
|
10820
|
+
case "codex:customConfig": return {
|
|
10821
|
+
thread: {},
|
|
10822
|
+
turn: {}
|
|
10806
10823
|
};
|
|
10807
|
-
case "codex:customConfig": return {};
|
|
10808
10824
|
default: return {
|
|
10809
|
-
|
|
10810
|
-
|
|
10825
|
+
thread: {
|
|
10826
|
+
approvalPolicy: "untrusted",
|
|
10827
|
+
sandbox: "workspace-write"
|
|
10828
|
+
},
|
|
10829
|
+
turn: { approvalPolicy: "untrusted" }
|
|
10811
10830
|
};
|
|
10812
10831
|
}
|
|
10813
10832
|
}
|
|
@@ -10819,6 +10838,14 @@ function resolveCodexAgentControllerPermissionMode$1(value) {
|
|
|
10819
10838
|
default: return "codex:askForApproval";
|
|
10820
10839
|
}
|
|
10821
10840
|
}
|
|
10841
|
+
function resolveCodexAppServerConversationPolicyParams(conversationPolicy) {
|
|
10842
|
+
const params = {};
|
|
10843
|
+
const model = normalizeOptionalText$46(conversationPolicy?.model);
|
|
10844
|
+
if (model) params.model = model;
|
|
10845
|
+
const reasoningLevel = normalizeOptionalText$46(conversationPolicy?.reasoningLevel);
|
|
10846
|
+
if (reasoningLevel) params.reasoningEffort = reasoningLevel;
|
|
10847
|
+
return params;
|
|
10848
|
+
}
|
|
10822
10849
|
async function withCodexAppServerSession(input, callback) {
|
|
10823
10850
|
const session = new CodexAppServerSession(input);
|
|
10824
10851
|
try {
|
|
@@ -11882,6 +11909,7 @@ async function invokeCodexAppServer(input) {
|
|
|
11882
11909
|
launchContract: input.launchContract,
|
|
11883
11910
|
codexTimeoutMs: input.codexTimeoutMs,
|
|
11884
11911
|
codexWorkdir: input.codexWorkdir,
|
|
11912
|
+
conversationPolicy: input.conversationPolicy,
|
|
11885
11913
|
env: input.env,
|
|
11886
11914
|
executionMode: input.executionMode,
|
|
11887
11915
|
...input.onProcessControlEvent ? { onProcessControlEvent: input.onProcessControlEvent } : {},
|
|
@@ -12038,6 +12066,7 @@ const resolveDefaultCodexAppServerInvoke = (options) => {
|
|
|
12038
12066
|
launchContract,
|
|
12039
12067
|
codexTimeoutMs,
|
|
12040
12068
|
codexWorkdir: input.runtimeContext.providerRuntimeWorkingDirectory,
|
|
12069
|
+
conversationPolicy: input.conversationPolicy,
|
|
12041
12070
|
env: input.env,
|
|
12042
12071
|
executionMode: input.executionMode,
|
|
12043
12072
|
...onProcessControlEvent ? { onProcessControlEvent } : {},
|
|
@@ -28014,9 +28043,9 @@ function createModelCatalogReadSession(input) {
|
|
|
28014
28043
|
async function readModelCatalogOnce(baseUrl) {
|
|
28015
28044
|
try {
|
|
28016
28045
|
const [apiClient, baseUrlModule, clientFoundationModule] = await Promise.all([
|
|
28017
|
-
import("./dist-
|
|
28018
|
-
import("./base-url-
|
|
28019
|
-
import("./api-client-foundation-
|
|
28046
|
+
import("./dist-zTjv6-L7.js"),
|
|
28047
|
+
import("./base-url-DpJVkWm2.js").then((n) => n.n),
|
|
28048
|
+
import("./api-client-foundation-uTSreybv.js")
|
|
28020
28049
|
]);
|
|
28021
28050
|
if (typeof apiClient.createConfigApi !== "function") throw new Error("config api client is unavailable");
|
|
28022
28051
|
const resolvedBaseUrl = baseUrl ?? await baseUrlModule.resolveBaseUrl();
|
|
@@ -34366,7 +34395,7 @@ function resolveProviderRuntimeDispatchContinuation(input, options = {}) {
|
|
|
34366
34395
|
});
|
|
34367
34396
|
}
|
|
34368
34397
|
function resolveAgentControllerConversationResumePlan(input) {
|
|
34369
|
-
if (!normalizeOptionalText$18(input.agentControllerConversationId)) return { status: "not_bound" };
|
|
34398
|
+
if (!(normalizeOptionalText$18(input.agentControllerConversationId) ?? normalizeOptionalText$18(input.existingContextId))) return { status: "not_bound" };
|
|
34370
34399
|
return { status: "continue_existing" };
|
|
34371
34400
|
}
|
|
34372
34401
|
function resolveLocalRuntimeContextPlan(input) {
|
|
@@ -35579,6 +35608,7 @@ async function handleDispatchDeliverFrame(input) {
|
|
|
35579
35608
|
let localRuntimeContextPlan = null;
|
|
35580
35609
|
let agentControllerConversationResumePlan = null;
|
|
35581
35610
|
let contextIdForDispatch = null;
|
|
35611
|
+
let effectiveAgentControllerConversationId = null;
|
|
35582
35612
|
let bootstrapPlan = null;
|
|
35583
35613
|
let plannedAgentControllerConversation = null;
|
|
35584
35614
|
let observedProviderConversationId = null;
|
|
@@ -35641,11 +35671,15 @@ async function handleDispatchDeliverFrame(input) {
|
|
|
35641
35671
|
contextLookupKey = dispatchLedgerContext.contextLookupKey;
|
|
35642
35672
|
currentExecutionState = dispatchLedgerContext.currentExecutionState;
|
|
35643
35673
|
existingContextId = dispatchLedgerContext.existingContextId;
|
|
35674
|
+
effectiveAgentControllerConversationId = resolveEffectiveAgentControllerConversationId({
|
|
35675
|
+
agentControllerConversationId: parsedTask.agentControllerConversationId,
|
|
35676
|
+
existingContextId
|
|
35677
|
+
});
|
|
35644
35678
|
latestScopedExecutionState = dispatchLedgerContext.latestScopedExecutionState;
|
|
35645
35679
|
ledgerIo = dispatchLedgerContext.ledgerIo;
|
|
35646
35680
|
input.inflightDispatchMetaByTaskId.set(parsedTask.taskId, { agentContextLookupKey: contextLookupKey });
|
|
35647
35681
|
const runtimeContinuation = resolveProviderRuntimeDispatchContinuation({
|
|
35648
|
-
agentControllerConversationId:
|
|
35682
|
+
agentControllerConversationId: effectiveAgentControllerConversationId,
|
|
35649
35683
|
agentControllerRef: parsedTask.agentControllerRef,
|
|
35650
35684
|
currentPolicy: currentConversationPolicy,
|
|
35651
35685
|
existingContextId,
|
|
@@ -35661,7 +35695,7 @@ async function handleDispatchDeliverFrame(input) {
|
|
|
35661
35695
|
agentControllerConversationResumePlan = runtimeContinuation.agentControllerConversationResumePlan;
|
|
35662
35696
|
runtimeOpenClawBinding = runtimeContinuation.taskResultProviderFacts.openClawBinding;
|
|
35663
35697
|
contextIdForDispatch = resolveDispatchContextIdForAgentControllerConversation({
|
|
35664
|
-
agentControllerConversationId:
|
|
35698
|
+
agentControllerConversationId: effectiveAgentControllerConversationId,
|
|
35665
35699
|
agentControllerConversationOverride: runtimeContinuation.agentControllerConversationOverride,
|
|
35666
35700
|
agentControllerConversationResumePlan
|
|
35667
35701
|
});
|
|
@@ -36042,7 +36076,7 @@ async function handleDispatchDeliverFrame(input) {
|
|
|
36042
36076
|
});
|
|
36043
36077
|
dispatchExecution = buildDispatchExecution({
|
|
36044
36078
|
bootstrapPlan,
|
|
36045
|
-
agentControllerConversationId:
|
|
36079
|
+
agentControllerConversationId: effectiveAgentControllerConversationId,
|
|
36046
36080
|
localRuntimeContextPlan,
|
|
36047
36081
|
observedAgentControllerConversation,
|
|
36048
36082
|
plannedAgentControllerConversation
|
|
@@ -36540,6 +36574,11 @@ async function resolveRuntimeResultFromRuntimeOrCliSpaceAction(input) {
|
|
|
36540
36574
|
record: completion.record
|
|
36541
36575
|
});
|
|
36542
36576
|
}
|
|
36577
|
+
function resolveEffectiveAgentControllerConversationId(input) {
|
|
36578
|
+
const bindingConversationId = normalizeOptionalContextId(input.agentControllerConversationId);
|
|
36579
|
+
if (bindingConversationId) return bindingConversationId;
|
|
36580
|
+
return normalizeOptionalContextId(input.existingContextId);
|
|
36581
|
+
}
|
|
36543
36582
|
async function resolveRuntimeResultOrObservedProviderConversationAfterCliSpaceAction(input) {
|
|
36544
36583
|
const existingConversation = resolveObservedProviderConversationForCliSpaceAction({
|
|
36545
36584
|
contextIdForDispatch: input.contextIdForDispatch,
|
|
@@ -99158,7 +99197,7 @@ function normalizeOptionalString(value) {
|
|
|
99158
99197
|
return normalized.length > 0 ? normalized : null;
|
|
99159
99198
|
}
|
|
99160
99199
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
99161
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
99200
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-Cl8xk3VA.js");
|
|
99162
99201
|
return await runSpaceAddMeMembership(input);
|
|
99163
99202
|
}
|
|
99164
99203
|
|