@happier-dev/stack 0.2.11 → 0.2.12-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.d.ts +1 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.js +3 -0
- package/node_modules/@happier-dev/agents/dist/connectedServices/runtimeFallbackCapability.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/manifest.d.ts +1 -0
- package/node_modules/@happier-dev/agents/dist/manifest.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/manifest.js +1 -0
- package/node_modules/@happier-dev/agents/dist/manifest.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.d.ts +1 -1
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.d.ts.map +1 -1
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.js +2 -0
- package/node_modules/@happier-dev/agents/dist/runtime/terminal/control.js.map +1 -1
- package/node_modules/@happier-dev/agents/dist/types.d.ts +1 -0
- package/node_modules/@happier-dev/agents/dist/types.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js +5 -18
- package/node_modules/@happier-dev/cli-common/dist/componentArtifacts/buildServerBinaryArtifactPayload.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.d.ts +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.js +14 -6
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/copyRuntimePayloadTree.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts +2 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js +2 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js +13 -19
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/selfHostServerEnv.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts +4 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js +20 -0
- package/node_modules/@happier-dev/cli-common/dist/firstPartyRuntime/serverRuntimeArtifactLayout.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/output/index.js +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/index.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/output/planet.d.ts +47 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.d.ts.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.js +183 -0
- package/node_modules/@happier-dev/cli-common/dist/output/planet.js.map +1 -0
- package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts +3 -1
- package/node_modules/@happier-dev/cli-common/dist/output/progress.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/output/progress.js +131 -57
- package/node_modules/@happier-dev/cli-common/dist/output/progress.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js +41 -78
- package/node_modules/@happier-dev/cli-common/dist/relayHost/relayHostEngine.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts +5 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js +12 -0
- package/node_modules/@happier-dev/cli-common/dist/relayHost/remoteRelayRuntimeInstallCommand.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/windows.d.ts.map +1 -1
- package/node_modules/@happier-dev/cli-common/dist/service/windows.js +30 -8
- package/node_modules/@happier-dev/cli-common/dist/service/windows.js.map +1 -1
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/license +9 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/package.json +83 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/readme.md +297 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/index.d.ts +325 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/index.js +225 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/utilities.js +33 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/node_modules/@happier-dev/cli-common/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/node_modules/@happier-dev/cli-common/package.json +3 -1
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts +32 -8
- package/node_modules/@happier-dev/protocol/dist/account/encryptionMigrate.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts +5 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/accountSettings.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/account/settings/notificationChannels.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js +106 -9
- package/node_modules/@happier-dev/protocol/dist/actions/actionExecutor.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js +23 -9
- package/node_modules/@happier-dev/protocol/dist/actions/actionSpecs.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js +16 -4
- package/node_modules/@happier-dev/protocol/dist/actions/permissionPrivilege.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.js +68 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestNotificationContent.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.js +100 -0
- package/node_modules/@happier-dev/protocol/dist/activity/agentRequestSummary.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.js +32 -0
- package/node_modules/@happier-dev/protocol/dist/activity/parseJson.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.js +120 -0
- package/node_modules/@happier-dev/protocol/dist/activity/shellCommand.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts +2 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js +2 -1
- package/node_modules/@happier-dev/protocol/dist/clientCompatibility/primitives.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.d.ts +36 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.js +36 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountSubscription.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts +143 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js +46 -0
- package/node_modules/@happier-dev/protocol/dist/connect/accountUsage.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts +40 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js +9 -0
- package/node_modules/@happier-dev/protocol/dist/connect/connectedServiceSchemas.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.d.ts +8 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js +22 -0
- package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts +39 -0
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js +4 -1
- package/node_modules/@happier-dev/protocol/dist/daemonExecutionRuns.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts +80 -20
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js +18 -1
- package/node_modules/@happier-dev/protocol/dist/drafts/sessionDrafts.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts +25 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js +18 -0
- package/node_modules/@happier-dev/protocol/dist/executionRunStartRequest.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts +51 -3
- package/node_modules/@happier-dev/protocol/dist/executionRuns.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/executionRuns.js +5 -2
- package/node_modules/@happier-dev/protocol/dist/executionRuns.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/features/catalog.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/catalog.js +12 -0
- package/node_modules/@happier-dev/protocol/dist/features/catalog.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts +2 -0
- package/node_modules/@happier-dev/protocol/dist/features/decision.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/embeddedFeaturePolicies.generated.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js +4 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featureGatesSchema.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/features/payload/featuresResponseSchema.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/index.d.ts +11 -3
- package/node_modules/@happier-dev/protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/index.js +11 -3
- package/node_modules/@happier-dev/protocol/dist/index.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/buildAppendSystemPromptBaseV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js +25 -35
- package/node_modules/@happier-dev/protocol/dist/prompts/executionRunsGuidanceV1.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scm.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/scm.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scm.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/scm.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts +6 -0
- package/node_modules/@happier-dev/protocol/dist/scmRepositoryProvisioning.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts +164 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js +3 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/contract.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.d.ts +32 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.js +23 -0
- package/node_modules/@happier-dev/protocol/dist/sessionControl/pendingActivationAuthorizationV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts +12 -0
- package/node_modules/@happier-dev/protocol/dist/sessionFolders/folderAssignments.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionOrganization/constants.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts +13 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/sessionUserMessageRpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts +27 -1
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js +0 -1
- package/node_modules/@happier-dev/protocol/dist/sessionWorkState/sessionWorkStateRpc.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts +2 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.js +2 -1
- package/node_modules/@happier-dev/protocol/dist/spawnSession.js.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.d.ts +20 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.d.ts.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.js +21 -0
- package/node_modules/@happier-dev/protocol/dist/structuredMessages/executionRunCompletionV1.js.map +1 -0
- package/node_modules/@happier-dev/protocol/dist/updates.d.ts +35 -0
- package/node_modules/@happier-dev/protocol/dist/updates.d.ts.map +1 -1
- package/node_modules/@happier-dev/protocol/dist/updates.js +2 -0
- package/node_modules/@happier-dev/protocol/dist/updates.js.map +1 -1
- package/package.json +1 -1
- package/scripts/dev_cli_build_ownership.test.mjs +3 -1
- package/scripts/dev_external_server_flags.test.mjs +23 -5
- package/scripts/ghops.test.mjs +9 -3
- package/scripts/provision/linux-ubuntu-provision.sh +5 -0
- package/scripts/provision/linux-ubuntu-provision.test.mjs +3 -1
- package/scripts/self_host_launchd.real.integration.test.mjs +5 -3
- package/scripts/self_host_runtime.mjs +10 -9
- package/scripts/self_host_runtime.test.mjs +2 -2
- package/scripts/utils/dev/expo_dev.buildEnv.test.mjs +14 -0
- package/scripts/utils/dev/expo_dev.mjs +24 -1
- package/scripts/utils/dev_targets/mutagen_project.mjs +4 -1
- package/scripts/utils/dev_targets/mutagen_project.test.mjs +2 -1
- package/scripts/utils/dev_targets/remote_commands.mjs +5 -2
- package/scripts/utils/dev_targets/remote_commands.test.mjs +5 -2
- package/scripts/utils/dev_targets/supervisor.mjs +1 -0
- package/scripts/utils/dev_targets/supervisor.test.mjs +5 -0
- package/scripts/utils/server/apply_runtime_server_sqlite_env.test.mjs +2 -2
- package/scripts/utils/server/resolve_stack_server_port.test.mjs +3 -3
package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function hashStringFNV1a32(value) {
|
|
2
|
+
let hash = 0x811c9dc5;
|
|
3
|
+
for (let i = 0; i < value.length; i += 1) {
|
|
4
|
+
hash ^= value.charCodeAt(i);
|
|
5
|
+
hash = Math.imul(hash, 0x01000193) >>> 0;
|
|
6
|
+
}
|
|
7
|
+
return hash.toString(36);
|
|
8
|
+
}
|
|
9
|
+
export function buildRecoveryCreditConsumeIdempotencyKey(input) {
|
|
10
|
+
const providerCreditId = typeof input.providerCreditId === 'string' ? input.providerCreditId.trim() : '';
|
|
11
|
+
const snapshotFetchedAtMs = typeof input.sourceSnapshotFetchedAtMs === 'number' && Number.isFinite(input.sourceSnapshotFetchedAtMs)
|
|
12
|
+
? Math.max(0, Math.trunc(input.sourceSnapshotFetchedAtMs))
|
|
13
|
+
: null;
|
|
14
|
+
const selector = providerCreditId.length > 0
|
|
15
|
+
? `credit:${providerCreditId}`
|
|
16
|
+
: `aggregate:${snapshotFetchedAtMs ?? 'unknown'}`;
|
|
17
|
+
const key = `connected-service-quota-recovery-credit:v1:${input.serviceId}:${input.profileId}:${selector}`;
|
|
18
|
+
return key.length <= 256
|
|
19
|
+
? key
|
|
20
|
+
: `connected-service-quota-recovery-credit:v1:${hashStringFNV1a32(key)}:${key.length}`;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=recoveryCreditConsumeIdempotencyKey.js.map
|
package/node_modules/@happier-dev/protocol/dist/connect/recoveryCreditConsumeIdempotencyKey.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recoveryCreditConsumeIdempotencyKey.js","sourceRoot":"","sources":["../../src/connect/recoveryCreditConsumeIdempotencyKey.ts"],"names":[],"mappings":"AAEA,SAAS,iBAAiB,CAAC,KAAa;IACpC,IAAI,IAAI,GAAG,UAAU,CAAC;IACtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACvC,IAAI,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAC5B,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IAC7C,CAAC;IACD,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,KAKvD;IACE,MAAM,gBAAgB,GAAG,OAAO,KAAK,CAAC,gBAAgB,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACzG,MAAM,mBAAmB,GAAG,OAAO,KAAK,CAAC,yBAAyB,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,yBAAyB,CAAC;QAC/H,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC1D,CAAC,CAAC,IAAI,CAAC;IACX,MAAM,QAAQ,GAAG,gBAAgB,CAAC,MAAM,GAAG,CAAC;QACxC,CAAC,CAAC,UAAU,gBAAgB,EAAE;QAC9B,CAAC,CAAC,aAAa,mBAAmB,IAAI,SAAS,EAAE,CAAC;IACtD,MAAM,GAAG,GAAG,8CAA8C,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,IAAI,QAAQ,EAAE,CAAC;IAC3G,OAAO,GAAG,CAAC,MAAM,IAAI,GAAG;QACpB,CAAC,CAAC,GAAG;QACL,CAAC,CAAC,8CAA8C,iBAAiB,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;AAC/F,CAAC"}
|
|
@@ -7,6 +7,8 @@ export declare const DaemonExecutionRunMarkerSchema: z.ZodPipe<z.ZodTransform<un
|
|
|
7
7
|
runId: z.ZodString;
|
|
8
8
|
callId: z.ZodString;
|
|
9
9
|
sidechainId: z.ZodString;
|
|
10
|
+
startRequestId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
startRequestFingerprint: z.ZodOptional<z.ZodString>;
|
|
10
12
|
intent: z.ZodEnum<{
|
|
11
13
|
delegate: "delegate";
|
|
12
14
|
memory_hints: "memory_hints";
|
|
@@ -26,6 +28,17 @@ export declare const DaemonExecutionRunMarkerSchema: z.ZodPipe<z.ZodTransform<un
|
|
|
26
28
|
participantLabel: z.ZodOptional<z.ZodString>;
|
|
27
29
|
groupId: z.ZodOptional<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>>;
|
|
31
|
+
launchOrigin: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32
|
+
kind: z.ZodLiteral<"session">;
|
|
33
|
+
sessionId: z.ZodString;
|
|
34
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
35
|
+
kind: z.ZodLiteral<"external">;
|
|
36
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
action: "action";
|
|
38
|
+
cli: "cli";
|
|
39
|
+
mcp: "mcp";
|
|
40
|
+
}>>;
|
|
41
|
+
}, z.core.$strict>], "kind">>;
|
|
29
42
|
runClass: z.ZodEnum<{
|
|
30
43
|
bounded: "bounded";
|
|
31
44
|
long_lived: "long_lived";
|
|
@@ -91,6 +104,8 @@ export declare const DaemonExecutionRunEntrySchema: z.ZodPipe<z.ZodTransform<unk
|
|
|
91
104
|
runId: z.ZodString;
|
|
92
105
|
callId: z.ZodString;
|
|
93
106
|
sidechainId: z.ZodString;
|
|
107
|
+
startRequestId: z.ZodOptional<z.ZodString>;
|
|
108
|
+
startRequestFingerprint: z.ZodOptional<z.ZodString>;
|
|
94
109
|
intent: z.ZodEnum<{
|
|
95
110
|
delegate: "delegate";
|
|
96
111
|
memory_hints: "memory_hints";
|
|
@@ -110,6 +125,17 @@ export declare const DaemonExecutionRunEntrySchema: z.ZodPipe<z.ZodTransform<unk
|
|
|
110
125
|
participantLabel: z.ZodOptional<z.ZodString>;
|
|
111
126
|
groupId: z.ZodOptional<z.ZodString>;
|
|
112
127
|
}, z.core.$loose>>;
|
|
128
|
+
launchOrigin: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"session">;
|
|
130
|
+
sessionId: z.ZodString;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
kind: z.ZodLiteral<"external">;
|
|
133
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
134
|
+
action: "action";
|
|
135
|
+
cli: "cli";
|
|
136
|
+
mcp: "mcp";
|
|
137
|
+
}>>;
|
|
138
|
+
}, z.core.$strict>], "kind">>;
|
|
113
139
|
runClass: z.ZodEnum<{
|
|
114
140
|
bounded: "bounded";
|
|
115
141
|
long_lived: "long_lived";
|
|
@@ -177,6 +203,8 @@ export declare const DaemonExecutionRunListResponseSchema: z.ZodObject<{
|
|
|
177
203
|
runId: z.ZodString;
|
|
178
204
|
callId: z.ZodString;
|
|
179
205
|
sidechainId: z.ZodString;
|
|
206
|
+
startRequestId: z.ZodOptional<z.ZodString>;
|
|
207
|
+
startRequestFingerprint: z.ZodOptional<z.ZodString>;
|
|
180
208
|
intent: z.ZodEnum<{
|
|
181
209
|
delegate: "delegate";
|
|
182
210
|
memory_hints: "memory_hints";
|
|
@@ -196,6 +224,17 @@ export declare const DaemonExecutionRunListResponseSchema: z.ZodObject<{
|
|
|
196
224
|
participantLabel: z.ZodOptional<z.ZodString>;
|
|
197
225
|
groupId: z.ZodOptional<z.ZodString>;
|
|
198
226
|
}, z.core.$loose>>;
|
|
227
|
+
launchOrigin: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
228
|
+
kind: z.ZodLiteral<"session">;
|
|
229
|
+
sessionId: z.ZodString;
|
|
230
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
231
|
+
kind: z.ZodLiteral<"external">;
|
|
232
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
233
|
+
action: "action";
|
|
234
|
+
cli: "cli";
|
|
235
|
+
mcp: "mcp";
|
|
236
|
+
}>>;
|
|
237
|
+
}, z.core.$strict>], "kind">>;
|
|
199
238
|
runClass: z.ZodEnum<{
|
|
200
239
|
bounded: "bounded";
|
|
201
240
|
long_lived: "long_lived";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daemonExecutionRuns.d.ts","sourceRoot":"","sources":["../src/daemonExecutionRuns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"daemonExecutionRuns.d.ts","sourceRoot":"","sources":["../src/daemonExecutionRuns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuDxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG1C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,mCAAmC;;;;;;iBAMhC,CAAC;AACjB,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAKhG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGzC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,mCAAmC,gCAA6B,CAAC;AAC9E,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEjC,CAAC;AACjB,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ExecutionRunClassSchema, ExecutionRunDisplaySchema, ExecutionRunIntentSchema, ExecutionRunIoModeSchema, normalizeLegacyExecutionRunBackendTargetInput, ExecutionRunResumeHandleSchema, ExecutionRunRetentionPolicySchema, ExecutionRunStatusSchema, } from './executionRuns.js';
|
|
2
|
+
import { ExecutionRunClassSchema, ExecutionRunDisplaySchema, ExecutionRunIntentSchema, ExecutionRunIoModeSchema, ExecutionRunLaunchOriginSchema, normalizeLegacyExecutionRunBackendTargetInput, ExecutionRunResumeHandleSchema, ExecutionRunRetentionPolicySchema, ExecutionRunStatusSchema, } from './executionRuns.js';
|
|
3
3
|
import { BackendTargetRefSchema } from './backendTargets/backendTargetRef.js';
|
|
4
4
|
/**
|
|
5
5
|
* Daemon-scoped execution run listing.
|
|
@@ -17,9 +17,12 @@ const DaemonExecutionRunMarkerSchemaCore = z.object({
|
|
|
17
17
|
runId: z.string().min(1),
|
|
18
18
|
callId: z.string().min(1),
|
|
19
19
|
sidechainId: z.string().min(1),
|
|
20
|
+
startRequestId: z.string().min(1).max(1000).optional(),
|
|
21
|
+
startRequestFingerprint: z.string().regex(/^[a-f0-9]{64}$/).optional(),
|
|
20
22
|
intent: ExecutionRunIntentSchema,
|
|
21
23
|
backendTarget: BackendTargetRefSchema,
|
|
22
24
|
display: ExecutionRunDisplaySchema.optional(),
|
|
25
|
+
launchOrigin: ExecutionRunLaunchOriginSchema.optional(),
|
|
23
26
|
runClass: ExecutionRunClassSchema,
|
|
24
27
|
ioMode: ExecutionRunIoModeSchema,
|
|
25
28
|
retentionPolicy: ExecutionRunRetentionPolicySchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daemonExecutionRuns.js","sourceRoot":"","sources":["../src/daemonExecutionRuns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,6CAA6C,EAC7C,8BAA8B,EAC9B,iCAAiC,EACjC,wBAAwB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E;;;;;;GAMG;AAEH,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM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IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;CAC7C,CAAC,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -67,7 +67,7 @@ export declare const SessionDraftDocumentV1Schema: z.ZodObject<{
|
|
|
67
67
|
}, z.core.$strict>;
|
|
68
68
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
69
69
|
kind: z.ZodLiteral<"newSession">;
|
|
70
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
70
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
71
71
|
acpSessionModeId: "acpSessionModeId";
|
|
72
72
|
agentId: "agentId";
|
|
73
73
|
automation: "automation";
|
|
@@ -89,7 +89,13 @@ export declare const SessionDraftDocumentV1Schema: z.ZodObject<{
|
|
|
89
89
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
90
90
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
91
91
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
92
|
-
}
|
|
92
|
+
}>, z.ZodEnum<{
|
|
93
|
+
agentTarget: "agentTarget";
|
|
94
|
+
executionTarget: "executionTarget";
|
|
95
|
+
modelSelection: "modelSelection";
|
|
96
|
+
organizationPlacement: "organizationPlacement";
|
|
97
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
98
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
93
99
|
mutationId: z.ZodString;
|
|
94
100
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
95
101
|
}, z.core.$strict>>;
|
|
@@ -143,7 +149,7 @@ export declare const SessionDraftPrivatePayloadV1Schema: z.ZodObject<{
|
|
|
143
149
|
}, z.core.$strict>;
|
|
144
150
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
151
|
kind: z.ZodLiteral<"newSession">;
|
|
146
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
152
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
147
153
|
acpSessionModeId: "acpSessionModeId";
|
|
148
154
|
agentId: "agentId";
|
|
149
155
|
automation: "automation";
|
|
@@ -165,7 +171,13 @@ export declare const SessionDraftPrivatePayloadV1Schema: z.ZodObject<{
|
|
|
165
171
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
166
172
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
167
173
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
168
|
-
}
|
|
174
|
+
}>, z.ZodEnum<{
|
|
175
|
+
agentTarget: "agentTarget";
|
|
176
|
+
executionTarget: "executionTarget";
|
|
177
|
+
modelSelection: "modelSelection";
|
|
178
|
+
organizationPlacement: "organizationPlacement";
|
|
179
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
180
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
169
181
|
mutationId: z.ZodString;
|
|
170
182
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
171
183
|
}, z.core.$strict>>;
|
|
@@ -222,7 +234,7 @@ export declare const SessionDraftStoredContentEnvelopeV1Schema: z.ZodDiscriminat
|
|
|
222
234
|
}, z.core.$strict>;
|
|
223
235
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
224
236
|
kind: z.ZodLiteral<"newSession">;
|
|
225
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
237
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
226
238
|
acpSessionModeId: "acpSessionModeId";
|
|
227
239
|
agentId: "agentId";
|
|
228
240
|
automation: "automation";
|
|
@@ -244,7 +256,13 @@ export declare const SessionDraftStoredContentEnvelopeV1Schema: z.ZodDiscriminat
|
|
|
244
256
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
245
257
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
246
258
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
247
|
-
}
|
|
259
|
+
}>, z.ZodEnum<{
|
|
260
|
+
agentTarget: "agentTarget";
|
|
261
|
+
executionTarget: "executionTarget";
|
|
262
|
+
modelSelection: "modelSelection";
|
|
263
|
+
organizationPlacement: "organizationPlacement";
|
|
264
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
265
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
248
266
|
mutationId: z.ZodString;
|
|
249
267
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
250
268
|
}, z.core.$strict>>;
|
|
@@ -314,7 +332,7 @@ export declare const SessionDraftRecordV1Schema: z.ZodObject<{
|
|
|
314
332
|
}, z.core.$strict>;
|
|
315
333
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
316
334
|
kind: z.ZodLiteral<"newSession">;
|
|
317
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
335
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
318
336
|
acpSessionModeId: "acpSessionModeId";
|
|
319
337
|
agentId: "agentId";
|
|
320
338
|
automation: "automation";
|
|
@@ -336,7 +354,13 @@ export declare const SessionDraftRecordV1Schema: z.ZodObject<{
|
|
|
336
354
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
337
355
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
338
356
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
339
|
-
}
|
|
357
|
+
}>, z.ZodEnum<{
|
|
358
|
+
agentTarget: "agentTarget";
|
|
359
|
+
executionTarget: "executionTarget";
|
|
360
|
+
modelSelection: "modelSelection";
|
|
361
|
+
organizationPlacement: "organizationPlacement";
|
|
362
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
363
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
340
364
|
mutationId: z.ZodString;
|
|
341
365
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
342
366
|
}, z.core.$strict>>;
|
|
@@ -421,7 +445,7 @@ export declare const SessionDraftReadResponseV1Schema: z.ZodDiscriminatedUnion<[
|
|
|
421
445
|
}, z.core.$strict>;
|
|
422
446
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
423
447
|
kind: z.ZodLiteral<"newSession">;
|
|
424
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
448
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
425
449
|
acpSessionModeId: "acpSessionModeId";
|
|
426
450
|
agentId: "agentId";
|
|
427
451
|
automation: "automation";
|
|
@@ -443,7 +467,13 @@ export declare const SessionDraftReadResponseV1Schema: z.ZodDiscriminatedUnion<[
|
|
|
443
467
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
444
468
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
445
469
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
446
|
-
}
|
|
470
|
+
}>, z.ZodEnum<{
|
|
471
|
+
agentTarget: "agentTarget";
|
|
472
|
+
executionTarget: "executionTarget";
|
|
473
|
+
modelSelection: "modelSelection";
|
|
474
|
+
organizationPlacement: "organizationPlacement";
|
|
475
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
476
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
447
477
|
mutationId: z.ZodString;
|
|
448
478
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
449
479
|
}, z.core.$strict>>;
|
|
@@ -517,7 +547,7 @@ export declare const SessionDraftReadResponseV1Schema: z.ZodDiscriminatedUnion<[
|
|
|
517
547
|
}, z.core.$strict>;
|
|
518
548
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
519
549
|
kind: z.ZodLiteral<"newSession">;
|
|
520
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
550
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
521
551
|
acpSessionModeId: "acpSessionModeId";
|
|
522
552
|
agentId: "agentId";
|
|
523
553
|
automation: "automation";
|
|
@@ -539,7 +569,13 @@ export declare const SessionDraftReadResponseV1Schema: z.ZodDiscriminatedUnion<[
|
|
|
539
569
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
540
570
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
541
571
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
542
|
-
}
|
|
572
|
+
}>, z.ZodEnum<{
|
|
573
|
+
agentTarget: "agentTarget";
|
|
574
|
+
executionTarget: "executionTarget";
|
|
575
|
+
modelSelection: "modelSelection";
|
|
576
|
+
organizationPlacement: "organizationPlacement";
|
|
577
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
578
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
543
579
|
mutationId: z.ZodString;
|
|
544
580
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
545
581
|
}, z.core.$strict>>;
|
|
@@ -621,7 +657,7 @@ export declare const SessionDraftListResponseV1Schema: z.ZodObject<{
|
|
|
621
657
|
}, z.core.$strict>;
|
|
622
658
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
623
659
|
kind: z.ZodLiteral<"newSession">;
|
|
624
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
660
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
625
661
|
acpSessionModeId: "acpSessionModeId";
|
|
626
662
|
agentId: "agentId";
|
|
627
663
|
automation: "automation";
|
|
@@ -643,7 +679,13 @@ export declare const SessionDraftListResponseV1Schema: z.ZodObject<{
|
|
|
643
679
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
644
680
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
645
681
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
646
|
-
}
|
|
682
|
+
}>, z.ZodEnum<{
|
|
683
|
+
agentTarget: "agentTarget";
|
|
684
|
+
executionTarget: "executionTarget";
|
|
685
|
+
modelSelection: "modelSelection";
|
|
686
|
+
organizationPlacement: "organizationPlacement";
|
|
687
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
688
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
647
689
|
mutationId: z.ZodString;
|
|
648
690
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
649
691
|
}, z.core.$strict>>;
|
|
@@ -720,7 +762,7 @@ export declare const SessionDraftMutateRequestV1Schema: z.ZodObject<{
|
|
|
720
762
|
}, z.core.$strict>;
|
|
721
763
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
722
764
|
kind: z.ZodLiteral<"newSession">;
|
|
723
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
765
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
724
766
|
acpSessionModeId: "acpSessionModeId";
|
|
725
767
|
agentId: "agentId";
|
|
726
768
|
automation: "automation";
|
|
@@ -742,7 +784,13 @@ export declare const SessionDraftMutateRequestV1Schema: z.ZodObject<{
|
|
|
742
784
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
743
785
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
744
786
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
745
|
-
}
|
|
787
|
+
}>, z.ZodEnum<{
|
|
788
|
+
agentTarget: "agentTarget";
|
|
789
|
+
executionTarget: "executionTarget";
|
|
790
|
+
modelSelection: "modelSelection";
|
|
791
|
+
organizationPlacement: "organizationPlacement";
|
|
792
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
793
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
746
794
|
mutationId: z.ZodString;
|
|
747
795
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
748
796
|
}, z.core.$strict>>;
|
|
@@ -815,7 +863,7 @@ export declare const SessionDraftMutateResponseV1Schema: z.ZodDiscriminatedUnion
|
|
|
815
863
|
}, z.core.$strict>;
|
|
816
864
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
817
865
|
kind: z.ZodLiteral<"newSession">;
|
|
818
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
866
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
819
867
|
acpSessionModeId: "acpSessionModeId";
|
|
820
868
|
agentId: "agentId";
|
|
821
869
|
automation: "automation";
|
|
@@ -837,7 +885,13 @@ export declare const SessionDraftMutateResponseV1Schema: z.ZodDiscriminatedUnion
|
|
|
837
885
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
838
886
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
839
887
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
840
|
-
}
|
|
888
|
+
}>, z.ZodEnum<{
|
|
889
|
+
agentTarget: "agentTarget";
|
|
890
|
+
executionTarget: "executionTarget";
|
|
891
|
+
modelSelection: "modelSelection";
|
|
892
|
+
organizationPlacement: "organizationPlacement";
|
|
893
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
894
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
841
895
|
mutationId: z.ZodString;
|
|
842
896
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
843
897
|
}, z.core.$strict>>;
|
|
@@ -911,7 +965,7 @@ export declare const SessionDraftMutateResponseV1Schema: z.ZodDiscriminatedUnion
|
|
|
911
965
|
}, z.core.$strict>;
|
|
912
966
|
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
913
967
|
kind: z.ZodLiteral<"newSession">;
|
|
914
|
-
authoring: z.ZodRecord<z.ZodEnum<{
|
|
968
|
+
authoring: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
|
|
915
969
|
acpSessionModeId: "acpSessionModeId";
|
|
916
970
|
agentId: "agentId";
|
|
917
971
|
automation: "automation";
|
|
@@ -933,7 +987,13 @@ export declare const SessionDraftMutateResponseV1Schema: z.ZodDiscriminatedUnion
|
|
|
933
987
|
windowsRemoteSessionConsole: "windowsRemoteSessionConsole";
|
|
934
988
|
windowsRemoteSessionLaunchMode: "windowsRemoteSessionLaunchMode";
|
|
935
989
|
windowsTerminalWindowName: "windowsTerminalWindowName";
|
|
936
|
-
}
|
|
990
|
+
}>, z.ZodEnum<{
|
|
991
|
+
agentTarget: "agentTarget";
|
|
992
|
+
executionTarget: "executionTarget";
|
|
993
|
+
modelSelection: "modelSelection";
|
|
994
|
+
organizationPlacement: "organizationPlacement";
|
|
995
|
+
runtimeDescriptorV1: "runtimeDescriptorV1";
|
|
996
|
+
}>]> & z.core.$partial, z.ZodObject<{
|
|
937
997
|
mutationId: z.ZodString;
|
|
938
998
|
value: z.ZodType<StrictJsonValue, unknown, z.core.$ZodTypeInternals<StrictJsonValue, unknown>>;
|
|
939
999
|
}, z.core.$strict>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionDrafts.d.ts","sourceRoot":"","sources":["../../src/drafts/sessionDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,+BAA+B,MAAM,CAAC;AACnD,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAC5C,eAAO,MAAM,uCAAu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GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAK7C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,eAAO,MAAM,sCAAsC;;;;;;kBAExC,CAAC;AACZ,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEtG,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;kBAGhC,CAAC;AACZ,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;kBAAiC,CAAC;AAC/E,MAAM,MAAM,0BAA0B,GAAG,wBAAwB,CAAC"}
|
|
@@ -62,7 +62,24 @@ const ComposerSchema = z.object({
|
|
|
62
62
|
mentions: z.object({ mutationId: z.string().uuid(), value: semanticArraySchema }).strict(),
|
|
63
63
|
attachments: z.object({ mutationId: z.string().uuid(), value: semanticArraySchema }).strict(),
|
|
64
64
|
}).strict();
|
|
65
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Reader-only fields written by the 0.3 successor while 0.2/0.3 persisted
|
|
67
|
+
* Session drafts can coexist. 0.2 preserves them but never projects them into
|
|
68
|
+
* its authoring catalog, so accepting them grants no execution authority.
|
|
69
|
+
* Remove only after 0.2 readers are outside the supported coexistence window.
|
|
70
|
+
*/
|
|
71
|
+
const SuccessorSessionDraftAuthoringFieldIdV1Schema = z.enum([
|
|
72
|
+
'executionTarget',
|
|
73
|
+
'organizationPlacement',
|
|
74
|
+
'agentTarget',
|
|
75
|
+
'modelSelection',
|
|
76
|
+
'runtimeDescriptorV1',
|
|
77
|
+
]);
|
|
78
|
+
const AcceptedSessionDraftAuthoringFieldIdV1Schema = z.union([
|
|
79
|
+
SyncedSessionAuthoringFieldIdV1Schema,
|
|
80
|
+
SuccessorSessionDraftAuthoringFieldIdV1Schema,
|
|
81
|
+
]);
|
|
82
|
+
const SyncedAuthoringFieldsSchema = z.partialRecord(AcceptedSessionDraftAuthoringFieldIdV1Schema, DraftFieldV1Schema)
|
|
66
83
|
.superRefine((fields, ctx) => {
|
|
67
84
|
for (const [fieldId, field] of Object.entries(fields)) {
|
|
68
85
|
const fieldSchema = SyncedSessionAuthoringValueV1Schema.shape[fieldId];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionDrafts.js","sourceRoot":"","sources":["../../src/drafts/sessionDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,qCAAqC,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAC1H,OAAO,EAAE,oDAAoD,EAAE,MAAM,kCAAkC,CAAC;AACxG,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAE7F,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAAG,CAAC;AACnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAC5C,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,GAAG,IAAI,CAAC;AAClE,MAAM,CAAC,MAAM,mCAAmC,GAAG,oDAAoD,CACrG,uCAAuC,CACxC,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAgC,CAAC;AAC3E,MAAM,CAAC,MAAM,wBAAwB,GAAG,iCAA0C,CAAC;AACnF,MAAM,C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AAC,CAAC,qBAAqB,EAAE,sBAAsB,EAAE,yBAAyB,CAAC,CAAC;CAC1F,CAAC,CAAC,MAAM,EAAE,CAAC;AAGZ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,2BAA2B;IACpF,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CACjF,CAAC,CAAC,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,gCAAgC,GAAG,8BAA8B,CAAC"}
|
|
@@ -77,6 +77,18 @@ export declare const ExecutionRunDisplaySchema: z.ZodObject<{
|
|
|
77
77
|
groupId: z.ZodOptional<z.ZodString>;
|
|
78
78
|
}, z.core.$loose>;
|
|
79
79
|
export type ExecutionRunDisplay = z.infer<typeof ExecutionRunDisplaySchema>;
|
|
80
|
+
export declare const ExecutionRunLaunchOriginSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
81
|
+
kind: z.ZodLiteral<"session">;
|
|
82
|
+
sessionId: z.ZodString;
|
|
83
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
84
|
+
kind: z.ZodLiteral<"external">;
|
|
85
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
86
|
+
action: "action";
|
|
87
|
+
cli: "cli";
|
|
88
|
+
mcp: "mcp";
|
|
89
|
+
}>>;
|
|
90
|
+
}, z.core.$strict>], "kind">;
|
|
91
|
+
export type ExecutionRunLaunchOrigin = z.infer<typeof ExecutionRunLaunchOriginSchema>;
|
|
80
92
|
export declare const ExecutionRunReplaySeedRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
81
93
|
kind: z.ZodLiteral<"voice_session.v1">;
|
|
82
94
|
previousSessionId: z.ZodString;
|
|
@@ -107,6 +119,7 @@ export declare const ExecutionRunReplaySeedRequestSchema: z.ZodDiscriminatedUnio
|
|
|
107
119
|
}, z.core.$loose>], "kind">;
|
|
108
120
|
export type ExecutionRunReplaySeedRequest = z.infer<typeof ExecutionRunReplaySeedRequestSchema>;
|
|
109
121
|
export declare const ExecutionRunStartRequestSchema: z.ZodObject<{
|
|
122
|
+
startRequestId: z.ZodOptional<z.ZodString>;
|
|
110
123
|
intent: z.ZodEnum<{
|
|
111
124
|
delegate: "delegate";
|
|
112
125
|
memory_hints: "memory_hints";
|
|
@@ -127,6 +140,17 @@ export declare const ExecutionRunStartRequestSchema: z.ZodObject<{
|
|
|
127
140
|
participantLabel: z.ZodOptional<z.ZodString>;
|
|
128
141
|
groupId: z.ZodOptional<z.ZodString>;
|
|
129
142
|
}, z.core.$loose>>;
|
|
143
|
+
launchOrigin: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
144
|
+
kind: z.ZodLiteral<"session">;
|
|
145
|
+
sessionId: z.ZodString;
|
|
146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
+
kind: z.ZodLiteral<"external">;
|
|
148
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
action: "action";
|
|
150
|
+
cli: "cli";
|
|
151
|
+
mcp: "mcp";
|
|
152
|
+
}>>;
|
|
153
|
+
}, z.core.$strict>], "kind">>;
|
|
130
154
|
permissionMode: z.ZodString;
|
|
131
155
|
retentionPolicy: z.ZodEnum<{
|
|
132
156
|
ephemeral: "ephemeral";
|
|
@@ -219,6 +243,7 @@ export declare const ExecutionRunStartRequestSchema: z.ZodObject<{
|
|
|
219
243
|
}, z.core.$loose>]>>>;
|
|
220
244
|
}, z.core.$strict>>;
|
|
221
245
|
connectedServicesDefaultServiceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
246
|
+
notifyParentOnCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
222
247
|
}, z.core.$loose>;
|
|
223
248
|
export type ExecutionRunStartRequest = z.infer<typeof ExecutionRunStartRequestSchema>;
|
|
224
249
|
export declare const ExecutionRunStartResponseSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executionRunStartRequest.d.ts","sourceRoot":"","sources":["../src/executionRunStartRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,wBAAwB;;;;;;EAMnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,iCAAiC;;;EAAqC,CAAC;AACpF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,eAAO,MAAM,uBAAuB;;;EAAoC,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,wBAAwB;;;EAA4C,CAAC;AAClF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAmBrF;AAOD,eAAO,MAAM,6CAA6C;;;;;;;;;;kBAGzD,CAAC;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC;AAQpH,eAAO,MAAM,kDAAkD;;;;;;;;;;;kBAG9D,CAAC;AACF,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kDAAkD,CAAC,CAAC;AAM9H,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;4B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),
|
|
69
69
|
}).passthrough();
|
|
70
|
+
export const ExecutionRunLaunchOriginSchema = z.discriminatedUnion('kind', [
|
|
71
|
+
z.object({
|
|
72
|
+
kind: z.literal('session'),
|
|
73
|
+
sessionId: z.string().min(1),
|
|
74
|
+
}).strict(),
|
|
75
|
+
z.object({
|
|
76
|
+
kind: z.literal('external'),
|
|
77
|
+
source: z.enum(['cli', 'mcp', 'action']).optional(),
|
|
78
|
+
}).strict(),
|
|
79
|
+
]);
|
|
70
80
|
export const ExecutionRunReplaySeedRequestSchema = z.discriminatedUnion('kind', [
|
|
71
81
|
z.object({
|
|
72
82
|
kind: z.literal('voice_session.v1'),
|
|
@@ -81,10 +91,16 @@ export const ExecutionRunReplaySeedRequestSchema = z.discriminatedUnion('kind',
|
|
|
81
91
|
}).passthrough(),
|
|
82
92
|
]);
|
|
83
93
|
export const ExecutionRunStartRequestSchema = z.object({
|
|
94
|
+
/**
|
|
95
|
+
* Stable caller-owned identity for one retryable start attempt. Hosts use it only for exact
|
|
96
|
+
* reconciliation/idempotency; it is not launch provenance and is never shown as user-facing state.
|
|
97
|
+
*/
|
|
98
|
+
startRequestId: z.string().trim().min(1).max(1000).optional(),
|
|
84
99
|
intent: ExecutionRunIntentSchema,
|
|
85
100
|
backendTarget: BackendTargetRefSchema,
|
|
86
101
|
instructions: z.string().optional(),
|
|
87
102
|
display: ExecutionRunDisplaySchema.optional(),
|
|
103
|
+
launchOrigin: ExecutionRunLaunchOriginSchema.optional(),
|
|
88
104
|
permissionMode: z.string().min(1),
|
|
89
105
|
retentionPolicy: ExecutionRunRetentionPolicySchema,
|
|
90
106
|
runClass: ExecutionRunClassSchema,
|
|
@@ -117,6 +133,8 @@ export const ExecutionRunStartRequestSchema = z.object({
|
|
|
117
133
|
* instead of failing closed. Missing stored default fails closed at the run-start owner.
|
|
118
134
|
*/
|
|
119
135
|
connectedServicesDefaultServiceIds: z.array(z.string()).optional(),
|
|
136
|
+
/** Explicit per-run override for the account completion-notification default. */
|
|
137
|
+
notifyParentOnCompletion: z.boolean().optional(),
|
|
120
138
|
}).passthrough();
|
|
121
139
|
export const ExecutionRunStartResponseSchema = z.object({
|
|
122
140
|
runId: z.string().min(1),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executionRunStartRequest.js","sourceRoot":"","sources":["../src/executionRunStartRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EACL,sCAAsC,EACtC,mCAAmC,GACpC,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,QAAQ;IACR,MAAM;IACN,UAAU;IACV,aAAa;IACb,cAAc;CACf,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;AAGpF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC;AAGzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC,CAAC;AAGlF,MAAM,UAAU,6CAA6C,CAAC,KAAc;IAC1E,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAChE,OA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