@happier-dev/stack 0.2.11 → 0.2.12
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/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
|
@@ -248,7 +248,15 @@ export const SessionEventsGetInputSchema = z.object({
|
|
|
248
248
|
includeRaw: z.boolean().optional(),
|
|
249
249
|
maxTextChars: z.number().int().min(0).max(4000).optional(),
|
|
250
250
|
maxPayloadChars: z.number().int().min(0).max(32768).optional(),
|
|
251
|
-
}).passthrough()
|
|
251
|
+
}).passthrough().superRefine((value, ctx) => {
|
|
252
|
+
if (value.sidechainId && value.scope !== 'sidechain') {
|
|
253
|
+
ctx.addIssue({
|
|
254
|
+
code: z.ZodIssueCode.custom,
|
|
255
|
+
message: 'scope must be sidechain when sidechainId is provided',
|
|
256
|
+
path: ['scope'],
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
});
|
|
252
260
|
const SessionWaitIdleInputSchema = z.object({
|
|
253
261
|
sessionId: z.string().min(1),
|
|
254
262
|
timeoutSeconds: z.number().int().min(1).max(3600).optional(),
|
|
@@ -290,6 +298,8 @@ const IntentStartCommonSchema = z.object({
|
|
|
290
298
|
// Optional per-target override keyed by backend target key (e.g. { "agent:codex": "openai-codex:team" }).
|
|
291
299
|
// A per-target entry wins over the blanket `connectedServices` for that target.
|
|
292
300
|
connectedServicesByBackendTargetKey: z.record(z.string().min(1), z.unknown()).optional(),
|
|
301
|
+
waitForCompletion: z.boolean().optional(),
|
|
302
|
+
waitTimeoutSeconds: z.number().int().min(1).optional(),
|
|
293
303
|
}).passthrough();
|
|
294
304
|
const PlanStartInputSchema = IntentStartCommonSchema.extend({
|
|
295
305
|
permissionMode: ExecutionRunActionPermissionModeSchema.default('read_only'),
|
|
@@ -298,7 +308,7 @@ const PlanStartInputSchema = IntentStartCommonSchema.extend({
|
|
|
298
308
|
ioMode: z.enum(['request_response', 'streaming']).default('request_response'),
|
|
299
309
|
}).passthrough();
|
|
300
310
|
const DelegateStartInputSchema = IntentStartCommonSchema.extend({
|
|
301
|
-
permissionMode: ExecutionRunActionPermissionModeSchema.
|
|
311
|
+
permissionMode: ExecutionRunActionPermissionModeSchema.optional(),
|
|
302
312
|
retentionPolicy: z.enum(['ephemeral', 'resumable']).default('ephemeral'),
|
|
303
313
|
runClass: z.enum(['bounded', 'long_lived']).default('bounded'),
|
|
304
314
|
ioMode: z.enum(['request_response', 'streaming']).default('request_response'),
|
|
@@ -341,6 +351,8 @@ const ExecutionRunStartInputSchema = z.object({
|
|
|
341
351
|
// at the action boundary. Omit to use the account's configured default exactly as stored (literal:
|
|
342
352
|
// a profile default binds to that profile, a pool default binds to that pool — no silent upgrade).
|
|
343
353
|
connectedServices: z.unknown().optional(),
|
|
354
|
+
waitForCompletion: z.boolean().optional(),
|
|
355
|
+
waitTimeoutSeconds: z.number().int().min(1).optional(),
|
|
344
356
|
}).passthrough();
|
|
345
357
|
const ExecutionRunGetInputSchema = ExecutionRunIdInputSchema.extend({
|
|
346
358
|
includeStructured: z.boolean().optional(),
|
|
@@ -657,6 +669,7 @@ const ActionOptionsResolveInputSchema = z.object({
|
|
|
657
669
|
sessionId: z.string().min(1).optional(),
|
|
658
670
|
limit: z.number().int().min(1).max(200).optional(),
|
|
659
671
|
query: z.string().trim().optional(),
|
|
672
|
+
draftInput: z.record(z.string(), z.unknown()).optional(),
|
|
660
673
|
}).passthrough().superRefine((value, ctx) => {
|
|
661
674
|
const actionId = typeof value.actionId === 'string' ? value.actionId.trim() : '';
|
|
662
675
|
const fieldPath = typeof value.fieldPath === 'string' ? value.fieldPath.trim() : '';
|
|
@@ -957,7 +970,8 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
957
970
|
{ path: 'actionId', title: 'Action id', description: 'Optional when optionsSourceId is provided directly.', widget: 'text' },
|
|
958
971
|
{ path: 'fieldPath', title: 'Field path', description: 'Dot-path for the action input field.', widget: 'text' },
|
|
959
972
|
{ path: 'optionsSourceId', title: 'Options source id', description: 'Direct options source lookup when known.', widget: 'text' },
|
|
960
|
-
{ path: 'sessionId', title: 'Session id', description: '
|
|
973
|
+
{ path: 'sessionId', title: 'Session id', description: 'Omit to use the current invoking session.', widget: 'text' },
|
|
974
|
+
{ path: 'draftInput', title: 'Partial action input', description: 'Partial input for dependent options, for example { "backendTargetKeys": ["agent:pi"] } when resolving a model.', widget: 'textarea' },
|
|
961
975
|
{ path: 'query', title: 'Query filter', description: 'Optional search text to filter the returned options.', widget: 'text' },
|
|
962
976
|
{ path: 'limit', title: 'Limit', description: 'Maximum number of options to return.', widget: 'text' },
|
|
963
977
|
],
|
|
@@ -1043,7 +1057,7 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
1043
1057
|
],
|
|
1044
1058
|
},
|
|
1045
1059
|
examples: {
|
|
1046
|
-
voice: { argsExample: '{"
|
|
1060
|
+
voice: { argsExample: '{"engineIds":["codex"],"instructions":"Review this.","changeType":"uncommitted","base":{"kind":"none"}}' },
|
|
1047
1061
|
},
|
|
1048
1062
|
surfaces: {
|
|
1049
1063
|
ui_button: true,
|
|
@@ -1114,7 +1128,7 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
1114
1128
|
],
|
|
1115
1129
|
},
|
|
1116
1130
|
examples: {
|
|
1117
|
-
voice: { argsExample: '{"
|
|
1131
|
+
voice: { argsExample: '{"backendTargetKeys":["agent:codex"],"instructions":"Plan the changes."}' },
|
|
1118
1132
|
},
|
|
1119
1133
|
surfaces: {
|
|
1120
1134
|
ui_button: true,
|
|
@@ -1192,7 +1206,7 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
1192
1206
|
],
|
|
1193
1207
|
},
|
|
1194
1208
|
examples: {
|
|
1195
|
-
voice: { argsExample: '{"
|
|
1209
|
+
voice: { argsExample: '{"backendTargetKeys":["agent:codex"],"instructions":"Delegate the task."}' },
|
|
1196
1210
|
},
|
|
1197
1211
|
surfaces: {
|
|
1198
1212
|
ui_button: true,
|
|
@@ -1249,7 +1263,7 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
1249
1263
|
],
|
|
1250
1264
|
},
|
|
1251
1265
|
examples: {
|
|
1252
|
-
voice: { argsExample: '{"
|
|
1266
|
+
voice: { argsExample: '{"backendTargetKeys":["agent:codex"],"instructions":"Start the voice assistant for this workspace."}' },
|
|
1253
1267
|
},
|
|
1254
1268
|
surfaces: {
|
|
1255
1269
|
ui_button: false,
|
|
@@ -1272,7 +1286,7 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
1272
1286
|
bindings: { mcpToolName: 'execution_run_start' },
|
|
1273
1287
|
examples: {
|
|
1274
1288
|
mcp: {
|
|
1275
|
-
argsExample: '{"
|
|
1289
|
+
argsExample: '{"intent":"voice_agent","backendTarget":{"kind":"builtInAgent","agentId":"codex"},"instructions":"Summarize recent changes.","permissionMode":"read_only","retentionPolicy":"ephemeral","runClass":"bounded","ioMode":"request_response"}',
|
|
1276
1290
|
},
|
|
1277
1291
|
},
|
|
1278
1292
|
surfaces: {
|
|
@@ -1387,7 +1401,7 @@ export const ACTION_SPECS = Object.freeze([
|
|
|
1387
1401
|
ui_slash_command: false,
|
|
1388
1402
|
voice_tool: true,
|
|
1389
1403
|
voice_action_block: true,
|
|
1390
|
-
session_agent:
|
|
1404
|
+
session_agent: true,
|
|
1391
1405
|
mcp: true,
|
|
1392
1406
|
cli: true,
|
|
1393
1407
|
},
|