@mutagent/sdk 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -15
- package/dist/commonjs/funcs/agents-delete-agent.d.ts +1 -1
- package/dist/commonjs/funcs/agents-delete-agent.js +1 -1
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.d.ts +20 -0
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.js +127 -0
- package/dist/commonjs/funcs/helix-agent-deployments-activate-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.d.ts +20 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.js +127 -0
- package/dist/commonjs/funcs/helix-agent-deployments-deploy-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts +17 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.js +107 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-capabilities.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts +18 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.js +124 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent-operation.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.d.ts +17 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.js +129 -0
- package/dist/commonjs/funcs/helix-agent-deployments-get-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.d.ts +20 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.js +126 -0
- package/dist/commonjs/funcs/helix-agent-deployments-list-helix-agents.js.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.d.ts +17 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.js +124 -0
- package/dist/commonjs/funcs/helix-agent-deployments-retire-helix-agent.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-launch-helix-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-launch-helix-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.d.ts +20 -0
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.js +126 -0
- package/dist/commonjs/funcs/sandbox-list-helix-session-checkpoints.js.map +1 -0
- package/dist/commonjs/funcs/sandbox-restore-helix-session.d.ts +20 -0
- package/dist/commonjs/funcs/sandbox-restore-helix-session.d.ts.map +1 -0
- package/dist/commonjs/funcs/{sandbox-post-api-sandbox-agent-run.js → sandbox-restore-helix-session.js} +15 -13
- package/dist/commonjs/funcs/sandbox-restore-helix-session.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/agent-list.d.ts +23 -1
- package/dist/commonjs/models/agent-list.d.ts.map +1 -1
- package/dist/commonjs/models/agent-list.js +15 -2
- package/dist/commonjs/models/agent-list.js.map +1 -1
- package/dist/commonjs/models/agent.d.ts +23 -1
- package/dist/commonjs/models/agent.d.ts.map +1 -1
- package/dist/commonjs/models/agent.js +15 -2
- package/dist/commonjs/models/agent.js.map +1 -1
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.d.ts +62 -0
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.d.ts.map +1 -0
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.js +69 -0
- package/dist/commonjs/models/archive-base64-archive-digest-artifact-digest.js.map +1 -0
- package/dist/commonjs/models/errors/error-code-message.d.ts +21 -0
- package/dist/commonjs/models/errors/error-code-message.d.ts.map +1 -0
- package/dist/commonjs/models/errors/error-code-message.js +69 -0
- package/dist/commonjs/models/errors/error-code-message.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +2 -1
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +2 -1
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/restore-helix-session.d.ts +13 -0
- package/dist/commonjs/models/errors/restore-helix-session.d.ts.map +1 -0
- package/dist/commonjs/models/errors/restore-helix-session.js +20 -0
- package/dist/commonjs/models/errors/restore-helix-session.js.map +1 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.d.ts +50 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.d.ts.map +1 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.js +91 -0
- package/dist/commonjs/models/id-agent-id-deployment-id.js.map +1 -0
- package/dist/commonjs/models/id-agent-id-environment.d.ts +42 -0
- package/dist/commonjs/models/id-agent-id-environment.d.ts.map +1 -0
- package/dist/commonjs/models/id-agent-id-environment.js +78 -0
- package/dist/commonjs/models/id-agent-id-environment.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +10 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +10 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mode-arm-model.d.ts +67 -6
- package/dist/commonjs/models/mode-arm-model.d.ts.map +1 -1
- package/dist/commonjs/models/mode-arm-model.js +54 -5
- package/dist/commonjs/models/mode-arm-model.js.map +1 -1
- package/dist/commonjs/models/mode-arm-model2.d.ts +11 -2
- package/dist/commonjs/models/mode-arm-model2.d.ts.map +1 -1
- package/dist/commonjs/models/mode-arm-model2.js +13 -3
- package/dist/commonjs/models/mode-arm-model2.js.map +1 -1
- package/dist/commonjs/models/operations/activate-helix-agent.d.ts +27 -0
- package/dist/commonjs/models/operations/activate-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{post-api-sandbox-agent-run.js → activate-helix-agent.js} +14 -20
- package/dist/commonjs/models/operations/activate-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.d.ts +138 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.js +147 -0
- package/dist/commonjs/models/operations/deploy-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.d.ts +4 -4
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.js +6 -7
- package/dist/commonjs/models/operations/get-api-sandbox-by-id-checkpoints.js.map +1 -1
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.d.ts +42 -0
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.js +87 -0
- package/dist/commonjs/models/operations/get-helix-agent-capabilities.js.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent-operation.d.ts +12 -0
- package/dist/commonjs/models/operations/get-helix-agent-operation.d.ts.map +1 -0
- package/dist/commonjs/models/{preset-timeout-ms-keep2.js → operations/get-helix-agent-operation.js} +7 -17
- package/dist/commonjs/models/operations/get-helix-agent-operation.js.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent.d.ts +161 -0
- package/dist/commonjs/models/operations/get-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-helix-agent.js +170 -0
- package/dist/commonjs/models/operations/get-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/launch-helix-session.d.ts +24 -0
- package/dist/commonjs/models/operations/launch-helix-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/launch-helix-session.js +18 -1
- package/dist/commonjs/models/operations/launch-helix-session.js.map +1 -1
- package/dist/commonjs/models/operations/list-helix-agents.d.ts +55 -0
- package/dist/commonjs/models/operations/list-helix-agents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-helix-agents.js +88 -0
- package/dist/commonjs/models/operations/list-helix-agents.js.map +1 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.d.ts +38 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.js +73 -0
- package/dist/commonjs/models/operations/list-helix-session-checkpoints.js.map +1 -0
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.d.ts +10 -19
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.js +11 -22
- package/dist/commonjs/models/operations/list-helix-workspace-sessions.js.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.d.ts +12 -12
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.d.ts.map +1 -1
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.js +16 -17
- package/dist/commonjs/models/operations/post-api-sandbox-by-id-restore.js.map +1 -1
- package/dist/commonjs/models/operations/restore-helix-session.d.ts +155 -0
- package/dist/commonjs/models/operations/restore-helix-session.d.ts.map +1 -0
- package/dist/commonjs/models/operations/restore-helix-session.js +121 -0
- package/dist/commonjs/models/operations/restore-helix-session.js.map +1 -0
- package/dist/commonjs/models/operations/retire-helix-agent.d.ts +39 -0
- package/dist/commonjs/models/operations/retire-helix-agent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/retire-helix-agent.js +68 -0
- package/dist/commonjs/models/operations/retire-helix-agent.js.map +1 -0
- package/dist/commonjs/models/operations/update-organization-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-organization-member.js +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/commonjs/models/operations/update-workspace-member.js +1 -1
- package/dist/commonjs/models/revision-environment-expected-generation.d.ts +26 -0
- package/dist/commonjs/models/revision-environment-expected-generation.d.ts.map +1 -0
- package/dist/commonjs/models/revision-environment-expected-generation.js +54 -0
- package/dist/commonjs/models/revision-environment-expected-generation.js.map +1 -0
- package/dist/commonjs/models/schemaany-of.d.ts +8 -0
- package/dist/commonjs/models/schemaany-of.d.ts.map +1 -0
- package/dist/commonjs/models/schemaany-of.js +48 -0
- package/dist/commonjs/models/schemaany-of.js.map +1 -0
- package/dist/commonjs/models/schemaany-of2.d.ts +8 -0
- package/dist/commonjs/models/schemaany-of2.d.ts.map +1 -0
- package/dist/commonjs/models/schemaany-of2.js +49 -0
- package/dist/commonjs/models/schemaany-of2.js.map +1 -0
- package/dist/commonjs/models/schemaany-of4.d.ts +8 -0
- package/dist/commonjs/models/schemaany-of4.d.ts.map +1 -0
- package/dist/commonjs/models/schemaany-of4.js +48 -0
- package/dist/commonjs/models/schemaany-of4.js.map +1 -0
- package/dist/commonjs/models/schemadefaul13.d.ts +10 -0
- package/dist/commonjs/models/{schemadefaul12.d.ts.map → schemadefaul13.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul12.js → schemadefaul13.js} +10 -10
- package/dist/commonjs/models/{schemadefaul12.js.map → schemadefaul13.js.map} +1 -1
- package/dist/commonjs/models/schemadefaul15.d.ts +9 -0
- package/dist/commonjs/models/{schemadefaul14.d.ts.map → schemadefaul15.d.ts.map} +1 -1
- package/dist/commonjs/models/{schemadefaul14.js → schemadefaul15.js} +9 -9
- package/dist/commonjs/models/{schemadefaul14.js.map → schemadefaul15.js.map} +1 -1
- package/dist/commonjs/models/schemaenum3.d.ts +11 -0
- package/dist/commonjs/models/schemaenum3.d.ts.map +1 -0
- package/dist/commonjs/models/schemaenum3.js +49 -0
- package/dist/commonjs/models/schemaenum3.js.map +1 -0
- package/dist/commonjs/sdk/agents.d.ts +1 -1
- package/dist/commonjs/sdk/agents.js +1 -1
- package/dist/commonjs/sdk/helix-agent-deployments.d.ts +43 -0
- package/dist/commonjs/sdk/helix-agent-deployments.d.ts.map +1 -0
- package/dist/commonjs/sdk/helix-agent-deployments.js +70 -0
- package/dist/commonjs/sdk/helix-agent-deployments.js.map +1 -0
- package/dist/commonjs/sdk/sandbox.d.ts +15 -8
- package/dist/commonjs/sdk/sandbox.d.ts.map +1 -1
- package/dist/commonjs/sdk/sandbox.js +21 -11
- package/dist/commonjs/sdk/sandbox.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/agents-delete-agent.d.ts +1 -1
- package/dist/esm/funcs/agents-delete-agent.js +1 -1
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.d.ts +20 -0
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.js +91 -0
- package/dist/esm/funcs/helix-agent-deployments-activate-helix-agent.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.d.ts +20 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.js +91 -0
- package/dist/esm/funcs/helix-agent-deployments-deploy-helix-agent.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts +17 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.js +71 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-capabilities.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts +18 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.js +88 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent-operation.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.d.ts +17 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.js +93 -0
- package/dist/esm/funcs/helix-agent-deployments-get-helix-agent.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.d.ts +20 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.js +90 -0
- package/dist/esm/funcs/helix-agent-deployments-list-helix-agents.js.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.d.ts +17 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.d.ts.map +1 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.js +88 -0
- package/dist/esm/funcs/helix-agent-deployments-retire-helix-agent.js.map +1 -0
- package/dist/esm/funcs/sandbox-launch-helix-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-launch-helix-session.js +1 -1
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.d.ts +20 -0
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.js +90 -0
- package/dist/esm/funcs/sandbox-list-helix-session-checkpoints.js.map +1 -0
- package/dist/esm/funcs/sandbox-restore-helix-session.d.ts +20 -0
- package/dist/esm/funcs/sandbox-restore-helix-session.d.ts.map +1 -0
- package/dist/esm/funcs/{sandbox-post-api-sandbox-agent-run.js → sandbox-restore-helix-session.js} +15 -13
- package/dist/esm/funcs/sandbox-restore-helix-session.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/agent-list.d.ts +23 -1
- package/dist/esm/models/agent-list.d.ts.map +1 -1
- package/dist/esm/models/agent-list.js +14 -1
- package/dist/esm/models/agent-list.js.map +1 -1
- package/dist/esm/models/agent.d.ts +23 -1
- package/dist/esm/models/agent.d.ts.map +1 -1
- package/dist/esm/models/agent.js +14 -1
- package/dist/esm/models/agent.js.map +1 -1
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.d.ts +62 -0
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.d.ts.map +1 -0
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.js +30 -0
- package/dist/esm/models/archive-base64-archive-digest-artifact-digest.js.map +1 -0
- package/dist/esm/models/errors/error-code-message.d.ts +21 -0
- package/dist/esm/models/errors/error-code-message.d.ts.map +1 -0
- package/dist/esm/models/errors/error-code-message.js +32 -0
- package/dist/esm/models/errors/error-code-message.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +2 -1
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +2 -1
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/restore-helix-session.d.ts +13 -0
- package/dist/esm/models/errors/restore-helix-session.d.ts.map +1 -0
- package/dist/esm/models/errors/restore-helix-session.js +16 -0
- package/dist/esm/models/errors/restore-helix-session.js.map +1 -0
- package/dist/esm/models/id-agent-id-deployment-id.d.ts +50 -0
- package/dist/esm/models/id-agent-id-deployment-id.d.ts.map +1 -0
- package/dist/esm/models/id-agent-id-deployment-id.js +53 -0
- package/dist/esm/models/id-agent-id-deployment-id.js.map +1 -0
- package/dist/esm/models/id-agent-id-environment.d.ts +42 -0
- package/dist/esm/models/id-agent-id-environment.d.ts.map +1 -0
- package/dist/esm/models/id-agent-id-environment.js +38 -0
- package/dist/esm/models/id-agent-id-environment.js.map +1 -0
- package/dist/esm/models/index.d.ts +10 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +10 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mode-arm-model.d.ts +67 -6
- package/dist/esm/models/mode-arm-model.d.ts.map +1 -1
- package/dist/esm/models/mode-arm-model.js +50 -4
- package/dist/esm/models/mode-arm-model.js.map +1 -1
- package/dist/esm/models/mode-arm-model2.d.ts +11 -2
- package/dist/esm/models/mode-arm-model2.d.ts.map +1 -1
- package/dist/esm/models/mode-arm-model2.js +12 -2
- package/dist/esm/models/mode-arm-model2.js.map +1 -1
- package/dist/esm/models/operations/activate-helix-agent.d.ts +27 -0
- package/dist/esm/models/operations/activate-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/activate-helix-agent.js +23 -0
- package/dist/esm/models/operations/activate-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/deploy-helix-agent.d.ts +138 -0
- package/dist/esm/models/operations/deploy-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/deploy-helix-agent.js +103 -0
- package/dist/esm/models/operations/deploy-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.d.ts +4 -4
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.d.ts.map +1 -1
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.js +4 -5
- package/dist/esm/models/operations/get-api-sandbox-by-id-checkpoints.js.map +1 -1
- package/dist/esm/models/operations/get-helix-agent-capabilities.d.ts +42 -0
- package/dist/esm/models/operations/get-helix-agent-capabilities.d.ts.map +1 -0
- package/dist/esm/models/operations/get-helix-agent-capabilities.js +46 -0
- package/dist/esm/models/operations/get-helix-agent-capabilities.js.map +1 -0
- package/dist/esm/models/operations/get-helix-agent-operation.d.ts +12 -0
- package/dist/esm/models/operations/get-helix-agent-operation.d.ts.map +1 -0
- package/dist/esm/models/operations/get-helix-agent-operation.js +12 -0
- package/dist/esm/models/operations/get-helix-agent-operation.js.map +1 -0
- package/dist/esm/models/operations/get-helix-agent.d.ts +161 -0
- package/dist/esm/models/operations/get-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/get-helix-agent.js +124 -0
- package/dist/esm/models/operations/get-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/launch-helix-session.d.ts +24 -0
- package/dist/esm/models/operations/launch-helix-session.d.ts.map +1 -1
- package/dist/esm/models/operations/launch-helix-session.js +15 -0
- package/dist/esm/models/operations/launch-helix-session.js.map +1 -1
- package/dist/esm/models/operations/list-helix-agents.d.ts +55 -0
- package/dist/esm/models/operations/list-helix-agents.d.ts.map +1 -0
- package/dist/esm/models/operations/list-helix-agents.js +48 -0
- package/dist/esm/models/operations/list-helix-agents.js.map +1 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.d.ts +38 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.d.ts.map +1 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.js +34 -0
- package/dist/esm/models/operations/list-helix-session-checkpoints.js.map +1 -0
- package/dist/esm/models/operations/list-helix-workspace-sessions.d.ts +10 -19
- package/dist/esm/models/operations/list-helix-workspace-sessions.d.ts.map +1 -1
- package/dist/esm/models/operations/list-helix-workspace-sessions.js +10 -21
- package/dist/esm/models/operations/list-helix-workspace-sessions.js.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.d.ts +12 -12
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.d.ts.map +1 -1
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.js +12 -13
- package/dist/esm/models/operations/post-api-sandbox-by-id-restore.js.map +1 -1
- package/dist/esm/models/operations/restore-helix-session.d.ts +155 -0
- package/dist/esm/models/operations/restore-helix-session.d.ts.map +1 -0
- package/dist/esm/models/operations/restore-helix-session.js +80 -0
- package/dist/esm/models/operations/restore-helix-session.js.map +1 -0
- package/dist/esm/models/operations/retire-helix-agent.d.ts +39 -0
- package/dist/esm/models/operations/retire-helix-agent.d.ts.map +1 -0
- package/dist/esm/models/operations/retire-helix-agent.js +29 -0
- package/dist/esm/models/operations/retire-helix-agent.js.map +1 -0
- package/dist/esm/models/operations/update-organization-member.d.ts +1 -1
- package/dist/esm/models/operations/update-organization-member.js +1 -1
- package/dist/esm/models/operations/update-workspace-member.d.ts +1 -1
- package/dist/esm/models/operations/update-workspace-member.js +1 -1
- package/dist/esm/models/revision-environment-expected-generation.d.ts +26 -0
- package/dist/esm/models/revision-environment-expected-generation.d.ts.map +1 -0
- package/dist/esm/models/revision-environment-expected-generation.js +17 -0
- package/dist/esm/models/revision-environment-expected-generation.js.map +1 -0
- package/dist/esm/models/schemaany-of.d.ts +8 -0
- package/dist/esm/models/schemaany-of.d.ts.map +1 -0
- package/dist/esm/models/schemaany-of.js +11 -0
- package/dist/esm/models/schemaany-of.js.map +1 -0
- package/dist/esm/models/schemaany-of2.d.ts +8 -0
- package/dist/esm/models/schemaany-of2.d.ts.map +1 -0
- package/dist/esm/models/schemaany-of2.js +12 -0
- package/dist/esm/models/schemaany-of2.js.map +1 -0
- package/dist/esm/models/schemaany-of4.d.ts +8 -0
- package/dist/esm/models/schemaany-of4.d.ts.map +1 -0
- package/dist/esm/models/schemaany-of4.js +11 -0
- package/dist/esm/models/schemaany-of4.js.map +1 -0
- package/dist/esm/models/schemadefaul13.d.ts +10 -0
- package/dist/esm/models/{schemadefaul12.d.ts.map → schemadefaul13.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul13.js +14 -0
- package/dist/esm/models/{schemadefaul12.js.map → schemadefaul13.js.map} +1 -1
- package/dist/esm/models/schemadefaul15.d.ts +9 -0
- package/dist/esm/models/{schemadefaul14.d.ts.map → schemadefaul15.d.ts.map} +1 -1
- package/dist/esm/models/schemadefaul15.js +13 -0
- package/dist/esm/models/{schemadefaul14.js.map → schemadefaul15.js.map} +1 -1
- package/dist/esm/models/schemaenum3.d.ts +11 -0
- package/dist/esm/models/schemaenum3.d.ts.map +1 -0
- package/dist/esm/models/schemaenum3.js +13 -0
- package/dist/esm/models/schemaenum3.js.map +1 -0
- package/dist/esm/sdk/agents.d.ts +1 -1
- package/dist/esm/sdk/agents.js +1 -1
- package/dist/esm/sdk/helix-agent-deployments.d.ts +43 -0
- package/dist/esm/sdk/helix-agent-deployments.d.ts.map +1 -0
- package/dist/esm/sdk/helix-agent-deployments.js +66 -0
- package/dist/esm/sdk/helix-agent-deployments.js.map +1 -0
- package/dist/esm/sdk/sandbox.d.ts +15 -8
- package/dist/esm/sdk/sandbox.d.ts.map +1 -1
- package/dist/esm/sdk/sandbox.js +21 -11
- package/dist/esm/sdk/sandbox.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/package.json +1 -1
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts +0 -20
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/commonjs/funcs/sandbox-post-api-sandbox-agent-run.js.map +0 -1
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts +0 -13
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js +0 -17
- package/dist/commonjs/models/errors/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts +0 -47
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/commonjs/models/operations/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/commonjs/models/preset-timeout-ms-keep2.d.ts +0 -65
- package/dist/commonjs/models/preset-timeout-ms-keep2.d.ts.map +0 -1
- package/dist/commonjs/models/preset-timeout-ms-keep2.js.map +0 -1
- package/dist/commonjs/models/schemadefaul12.d.ts +0 -10
- package/dist/commonjs/models/schemadefaul14.d.ts +0 -9
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts +0 -20
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/esm/funcs/sandbox-post-api-sandbox-agent-run.js.map +0 -1
- package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts +0 -13
- package/dist/esm/models/errors/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/esm/models/errors/post-api-sandbox-agent-run.js +0 -13
- package/dist/esm/models/errors/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts +0 -47
- package/dist/esm/models/operations/post-api-sandbox-agent-run.d.ts.map +0 -1
- package/dist/esm/models/operations/post-api-sandbox-agent-run.js +0 -29
- package/dist/esm/models/operations/post-api-sandbox-agent-run.js.map +0 -1
- package/dist/esm/models/preset-timeout-ms-keep2.d.ts +0 -65
- package/dist/esm/models/preset-timeout-ms-keep2.d.ts.map +0 -1
- package/dist/esm/models/preset-timeout-ms-keep2.js +0 -22
- package/dist/esm/models/preset-timeout-ms-keep2.js.map +0 -1
- package/dist/esm/models/schemadefaul12.d.ts +0 -10
- package/dist/esm/models/schemadefaul12.js +0 -14
- package/dist/esm/models/schemadefaul14.d.ts +0 -9
- package/dist/esm/models/schemadefaul14.js +0 -13
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ClientSDK } from "../lib/sdks.js";
|
|
2
2
|
import { Agents } from "./agents.js";
|
|
3
|
+
import { HelixAgentDeployments } from "./helix-agent-deployments.js";
|
|
3
4
|
import { Invitations } from "./invitations.js";
|
|
4
5
|
import { OrganizationMembers } from "./organization-members.js";
|
|
5
6
|
import { Organizations } from "./organizations.js";
|
|
@@ -14,6 +15,8 @@ export declare class Mutagent extends ClientSDK {
|
|
|
14
15
|
get userProfile(): UserProfile;
|
|
15
16
|
private _sandbox?;
|
|
16
17
|
get sandbox(): Sandbox;
|
|
18
|
+
private _helixAgentDeployments?;
|
|
19
|
+
get helixAgentDeployments(): HelixAgentDeployments;
|
|
17
20
|
private _agents?;
|
|
18
21
|
get agents(): Agents;
|
|
19
22
|
private _organizations?;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE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: true });
|
|
|
6
6
|
exports.Mutagent = void 0;
|
|
7
7
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
8
8
|
const agents_js_1 = require("./agents.js");
|
|
9
|
+
const helix_agent_deployments_js_1 = require("./helix-agent-deployments.js");
|
|
9
10
|
const invitations_js_1 = require("./invitations.js");
|
|
10
11
|
const organization_members_js_1 = require("./organization-members.js");
|
|
11
12
|
const organizations_js_1 = require("./organizations.js");
|
|
@@ -22,6 +23,9 @@ class Mutagent extends sdks_js_1.ClientSDK {
|
|
|
22
23
|
get sandbox() {
|
|
23
24
|
return (this._sandbox ?? (this._sandbox = new sandbox_js_1.Sandbox(this._options)));
|
|
24
25
|
}
|
|
26
|
+
get helixAgentDeployments() {
|
|
27
|
+
return (this._helixAgentDeployments ?? (this._helixAgentDeployments = new helix_agent_deployments_js_1.HelixAgentDeployments(this._options)));
|
|
28
|
+
}
|
|
25
29
|
get agents() {
|
|
26
30
|
return (this._agents ?? (this._agents = new agents_js_1.Agents(this._options)));
|
|
27
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,2CAAqC;AACrC,qDAA+C;AAC/C,uEAAgE;AAChE,yDAAmD;AACnD,+DAAwD;AACxD,6CAAuC;AACvC,2CAAqC;AACrC,uDAAgD;AAChD,iEAA0D;AAC1D,mDAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IAErC,IAAI,WAAW;QACb,OAAO,CAAC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,6BAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAChE,CAAC;IAGD,IAAI,OAAO;QACT,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,oBAAO,CAAC,IAAI,CAAC,QAAQ,CAAC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,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAGD,IAAI,mBAAmB;QACrB,OAAO,CAAC,IAAI,CAAC,oBAAoB,KAAzB,IAAI,CAAC,oBAAoB,GAAK,IAAI,6CAAmB,CAC3D,IAAI,CAAC,QAAQ,CACd,EAAC,CAAC;IACL,CAAC;IAGD,IAAI,gBAAgB;QAClB,OAAO,CAAC,IAAI,CAAC,iBAAiB,KAAtB,IAAI,CAAC,iBAAiB,GAAK,IAAI,uCAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1E,CAAC;IAGD,IAAI,eAAe;QACjB,OAAO,CAAC,IAAI,CAAC,gBAAgB,KAArB,IAAI,CAAC,gBAAgB,GAAK,IAAI,qCAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxE,CAAC;IAGD,IAAI,WAAW;QACb,OAAO,CAAC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,4BAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAChE,CAAC;IAGD,IAAI,MAAM;QACR,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,kBAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;CACF;AA3DD,4BA2DC"}
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Delete agent
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Delete an agent and all associated data. Requires x-workspace-id header.
|
|
16
|
+
* Delete an agent and all associated data. A managed agent (deployed with `mutagent agent deploy`) is archived instead, keeping its revisions and run history, and only once every slot is retired: with a live slot the answer is 409 `MANAGED_AGENT_HAS_SLOTS`. Requires x-workspace-id header.
|
|
17
17
|
*
|
|
18
18
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
19
19
|
*/
|
|
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
17
17
|
* Delete agent
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* Delete an agent and all associated data. Requires x-workspace-id header.
|
|
20
|
+
* Delete an agent and all associated data. A managed agent (deployed with `mutagent agent deploy`) is archived instead, keeping its revisions and run history, and only once every slot is retired: with a live slot the answer is 409 `MANAGED_AGENT_HAS_SLOTS`. Requires x-workspace-id header.
|
|
21
21
|
*
|
|
22
22
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
23
23
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MutagentCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { MutagentError } from "../models/errors/mutagent-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { APIPromise } from "../types/async.js";
|
|
10
|
+
import { Result } from "../types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* Point an existing slot at a revision (an older one is a rollback)
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Compare-and-swap on the slot generation. Re-enables a retired slot; this is the only way back from retire. An archived managed agent is refused with 409 `MANAGED_AGENT_ARCHIVED`: only deploy brings it back. Running sessions keep the revision they started with. Same model, Environment, binding and staging refusals as deploy; 404 when the slot or revision does not exist.
|
|
16
|
+
*
|
|
17
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
|
+
*/
|
|
19
|
+
export declare function helixAgentDeploymentsActivateHelixAgent(client: MutagentCore, request: operations.ActivateHelixAgentRequest, options?: RequestOptions): APIPromise<Result<operations.ActivateHelixAgentResponse, errors.ErrorCodeMessage | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
20
|
+
//# sourceMappingURL=helix-agent-deployments-activate-helix-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-activate-helix-agent.d.ts","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-activate-helix-agent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,MAAM,CAAC,gBAAgB,GACvB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as operations from "../models/operations/index.js";
|
|
14
|
+
import { APIPromise } from "../types/async.js";
|
|
15
|
+
/**
|
|
16
|
+
* Point an existing slot at a revision (an older one is a rollback)
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Compare-and-swap on the slot generation. Re-enables a retired slot; this is the only way back from retire. An archived managed agent is refused with 409 `MANAGED_AGENT_ARCHIVED`: only deploy brings it back. Running sessions keep the revision they started with. Same model, Environment, binding and staging refusals as deploy; 404 when the slot or revision does not exist.
|
|
20
|
+
*
|
|
21
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
|
+
*/
|
|
23
|
+
export function helixAgentDeploymentsActivateHelixAgent(client, request, options) {
|
|
24
|
+
return new APIPromise($do(client, request, options));
|
|
25
|
+
}
|
|
26
|
+
async function $do(client, request, options) {
|
|
27
|
+
const parsed = safeParse(request, (value) => z.parse(operations.ActivateHelixAgentRequest$outboundSchema, value), "Input validation failed");
|
|
28
|
+
if (!parsed.ok) {
|
|
29
|
+
return [parsed, { status: "invalid" }];
|
|
30
|
+
}
|
|
31
|
+
const payload = parsed.value;
|
|
32
|
+
const body = encodeJSON("body", payload.body, { explode: true });
|
|
33
|
+
const pathParams = {
|
|
34
|
+
slug: encodeSimple("slug", payload.slug, {
|
|
35
|
+
explode: false,
|
|
36
|
+
charEncoding: "percent",
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
const path = pathToFunc("/api/helix-agent/agents/{slug}/activate")(pathParams);
|
|
40
|
+
const headers = new Headers(compactMap({
|
|
41
|
+
"Content-Type": "application/json",
|
|
42
|
+
Accept: "application/json",
|
|
43
|
+
}));
|
|
44
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
45
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1]);
|
|
46
|
+
const context = {
|
|
47
|
+
options: client._options,
|
|
48
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49
|
+
operationID: "activateHelixAgent",
|
|
50
|
+
oAuth2Scopes: null,
|
|
51
|
+
resolvedSecurity: requestSecurity,
|
|
52
|
+
securitySource: client._options.security,
|
|
53
|
+
retryConfig: options?.retries
|
|
54
|
+
|| client._options.retryConfig
|
|
55
|
+
|| { strategy: "none" },
|
|
56
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
57
|
+
};
|
|
58
|
+
const requestRes = client._createRequest(context, {
|
|
59
|
+
security: requestSecurity,
|
|
60
|
+
method: "POST",
|
|
61
|
+
baseURL: options?.serverURL,
|
|
62
|
+
path: path,
|
|
63
|
+
headers: headers,
|
|
64
|
+
body: body,
|
|
65
|
+
userAgent: client._options.userAgent,
|
|
66
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
67
|
+
}, options);
|
|
68
|
+
if (!requestRes.ok) {
|
|
69
|
+
return [requestRes, { status: "invalid" }];
|
|
70
|
+
}
|
|
71
|
+
const req = requestRes.value;
|
|
72
|
+
const doResult = await client._do(req, {
|
|
73
|
+
context,
|
|
74
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75
|
+
retryConfig: context.retryConfig,
|
|
76
|
+
retryCodes: context.retryCodes,
|
|
77
|
+
});
|
|
78
|
+
if (!doResult.ok) {
|
|
79
|
+
return [doResult, { status: "request-error", request: req }];
|
|
80
|
+
}
|
|
81
|
+
const response = doResult.value;
|
|
82
|
+
const responseFields = {
|
|
83
|
+
HttpMeta: { Response: response, Request: req },
|
|
84
|
+
};
|
|
85
|
+
const [result] = await M.match(M.json(200, operations.ActivateHelixAgentResponse$inboundSchema), M.jsonErr([400, 404, 409, 413, 422, 428], errors.ErrorCodeMessage$inboundSchema), M.jsonErr(503, errors.ErrorCodeMessage$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
86
|
+
if (!result.ok) {
|
|
87
|
+
return [result, { status: "complete", request: req, response }];
|
|
88
|
+
}
|
|
89
|
+
return [result, { status: "complete", request: req, response }];
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=helix-agent-deployments-activate-helix-agent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-activate-helix-agent.js","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-activate-helix-agent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OAAO,KAAK,MAAM,MAAM,2BAA2B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AC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MutagentCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { MutagentError } from "../models/errors/mutagent-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { APIPromise } from "../types/async.js";
|
|
10
|
+
import { Result } from "../types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* Deploy a managed agent package into a slot (agent × Environment)
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* One operation: verifies the archive, creates or reuses the managed agent (its slug is the package's name), stores the package as the next revision (unchanged content reuses its revision), creates the slot on first deploy, and activates the revision unless `activate` is false. Every refusal happens before anything is written: package name not equal to the slug (422), an inline agent holding the slug (409), required secret bindings (422), a model outside the workspace's Helix Cloud model list (422) or of an LLM provider the workspace lacks (428), an Environment the workspace does not have (404), no configured sandbox provider that can stage a package (422). Deploying an archived agent's slug un-archives it. The authenticated JSON/base64 transport is bounded to 16 MiB.
|
|
16
|
+
*
|
|
17
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
|
+
*/
|
|
19
|
+
export declare function helixAgentDeploymentsDeployHelixAgent(client: MutagentCore, request: operations.DeployHelixAgentRequest, options?: RequestOptions): APIPromise<Result<operations.DeployHelixAgentResponse, errors.ErrorCodeMessage | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
20
|
+
//# sourceMappingURL=helix-agent-deployments-deploy-helix-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-deploy-helix-agent.d.ts","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-deploy-helix-agent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,MAAM,CAAC,gBAAgB,GACvB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as operations from "../models/operations/index.js";
|
|
14
|
+
import { APIPromise } from "../types/async.js";
|
|
15
|
+
/**
|
|
16
|
+
* Deploy a managed agent package into a slot (agent × Environment)
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* One operation: verifies the archive, creates or reuses the managed agent (its slug is the package's name), stores the package as the next revision (unchanged content reuses its revision), creates the slot on first deploy, and activates the revision unless `activate` is false. Every refusal happens before anything is written: package name not equal to the slug (422), an inline agent holding the slug (409), required secret bindings (422), a model outside the workspace's Helix Cloud model list (422) or of an LLM provider the workspace lacks (428), an Environment the workspace does not have (404), no configured sandbox provider that can stage a package (422). Deploying an archived agent's slug un-archives it. The authenticated JSON/base64 transport is bounded to 16 MiB.
|
|
20
|
+
*
|
|
21
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
|
+
*/
|
|
23
|
+
export function helixAgentDeploymentsDeployHelixAgent(client, request, options) {
|
|
24
|
+
return new APIPromise($do(client, request, options));
|
|
25
|
+
}
|
|
26
|
+
async function $do(client, request, options) {
|
|
27
|
+
const parsed = safeParse(request, (value) => z.parse(operations.DeployHelixAgentRequest$outboundSchema, value), "Input validation failed");
|
|
28
|
+
if (!parsed.ok) {
|
|
29
|
+
return [parsed, { status: "invalid" }];
|
|
30
|
+
}
|
|
31
|
+
const payload = parsed.value;
|
|
32
|
+
const body = encodeJSON("body", payload.body, { explode: true });
|
|
33
|
+
const pathParams = {
|
|
34
|
+
slug: encodeSimple("slug", payload.slug, {
|
|
35
|
+
explode: false,
|
|
36
|
+
charEncoding: "percent",
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
const path = pathToFunc("/api/helix-agent/agents/{slug}/deployments")(pathParams);
|
|
40
|
+
const headers = new Headers(compactMap({
|
|
41
|
+
"Content-Type": "application/json",
|
|
42
|
+
Accept: "application/json",
|
|
43
|
+
}));
|
|
44
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
45
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1]);
|
|
46
|
+
const context = {
|
|
47
|
+
options: client._options,
|
|
48
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49
|
+
operationID: "deployHelixAgent",
|
|
50
|
+
oAuth2Scopes: null,
|
|
51
|
+
resolvedSecurity: requestSecurity,
|
|
52
|
+
securitySource: client._options.security,
|
|
53
|
+
retryConfig: options?.retries
|
|
54
|
+
|| client._options.retryConfig
|
|
55
|
+
|| { strategy: "none" },
|
|
56
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
57
|
+
};
|
|
58
|
+
const requestRes = client._createRequest(context, {
|
|
59
|
+
security: requestSecurity,
|
|
60
|
+
method: "POST",
|
|
61
|
+
baseURL: options?.serverURL,
|
|
62
|
+
path: path,
|
|
63
|
+
headers: headers,
|
|
64
|
+
body: body,
|
|
65
|
+
userAgent: client._options.userAgent,
|
|
66
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
67
|
+
}, options);
|
|
68
|
+
if (!requestRes.ok) {
|
|
69
|
+
return [requestRes, { status: "invalid" }];
|
|
70
|
+
}
|
|
71
|
+
const req = requestRes.value;
|
|
72
|
+
const doResult = await client._do(req, {
|
|
73
|
+
context,
|
|
74
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
75
|
+
retryConfig: context.retryConfig,
|
|
76
|
+
retryCodes: context.retryCodes,
|
|
77
|
+
});
|
|
78
|
+
if (!doResult.ok) {
|
|
79
|
+
return [doResult, { status: "request-error", request: req }];
|
|
80
|
+
}
|
|
81
|
+
const response = doResult.value;
|
|
82
|
+
const responseFields = {
|
|
83
|
+
HttpMeta: { Response: response, Request: req },
|
|
84
|
+
};
|
|
85
|
+
const [result] = await M.match(M.json(200, operations.DeployHelixAgentResponse$inboundSchema), M.jsonErr([400, 404, 409, 413, 422, 428], errors.ErrorCodeMessage$inboundSchema), M.jsonErr(503, errors.ErrorCodeMessage$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
86
|
+
if (!result.ok) {
|
|
87
|
+
return [result, { status: "complete", request: req, response }];
|
|
88
|
+
}
|
|
89
|
+
return [result, { status: "complete", request: req, response }];
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=helix-agent-deployments-deploy-helix-agent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-deploy-helix-agent.js","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-deploy-helix-agent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OA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AE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MutagentCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { MutagentError } from "../models/errors/mutagent-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { APIPromise } from "../types/async.js";
|
|
10
|
+
import { Result } from "../types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* Inspect managed agent deployment capabilities
|
|
13
|
+
*
|
|
14
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
15
|
+
*/
|
|
16
|
+
export declare function helixAgentDeploymentsGetHelixAgentCapabilities(client: MutagentCore, options?: RequestOptions): APIPromise<Result<operations.GetHelixAgentCapabilitiesResponse, errors.ErrorCodeMessage | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
+
//# sourceMappingURL=helix-agent-deployments-get-helix-agent-capabilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-get-helix-agent-capabilities.d.ts","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-get-helix-agent-capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;GAIG;AACH,wBAAgB,8CAA8C,CAC5D,MAAM,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,iCAAiC,EAC1C,MAAM,CAAC,gBAAgB,GACvB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
5
|
+
import * as M from "../lib/matchers.js";
|
|
6
|
+
import { compactMap } from "../lib/primitives.js";
|
|
7
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
8
|
+
import { pathToFunc } from "../lib/url.js";
|
|
9
|
+
import * as errors from "../models/errors/index.js";
|
|
10
|
+
import * as operations from "../models/operations/index.js";
|
|
11
|
+
import { APIPromise } from "../types/async.js";
|
|
12
|
+
/**
|
|
13
|
+
* Inspect managed agent deployment capabilities
|
|
14
|
+
*
|
|
15
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
16
|
+
*/
|
|
17
|
+
export function helixAgentDeploymentsGetHelixAgentCapabilities(client, options) {
|
|
18
|
+
return new APIPromise($do(client, options));
|
|
19
|
+
}
|
|
20
|
+
async function $do(client, options) {
|
|
21
|
+
const path = pathToFunc("/api/helix-agent/capabilities")();
|
|
22
|
+
const headers = new Headers(compactMap({
|
|
23
|
+
Accept: "application/json",
|
|
24
|
+
}));
|
|
25
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
26
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1]);
|
|
27
|
+
const context = {
|
|
28
|
+
options: client._options,
|
|
29
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
30
|
+
operationID: "getHelixAgentCapabilities",
|
|
31
|
+
oAuth2Scopes: null,
|
|
32
|
+
resolvedSecurity: requestSecurity,
|
|
33
|
+
securitySource: client._options.security,
|
|
34
|
+
retryConfig: options?.retries
|
|
35
|
+
|| client._options.retryConfig
|
|
36
|
+
|| { strategy: "none" },
|
|
37
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
38
|
+
};
|
|
39
|
+
const requestRes = client._createRequest(context, {
|
|
40
|
+
security: requestSecurity,
|
|
41
|
+
method: "GET",
|
|
42
|
+
baseURL: options?.serverURL,
|
|
43
|
+
path: path,
|
|
44
|
+
headers: headers,
|
|
45
|
+
userAgent: client._options.userAgent,
|
|
46
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
47
|
+
}, options);
|
|
48
|
+
if (!requestRes.ok) {
|
|
49
|
+
return [requestRes, { status: "invalid" }];
|
|
50
|
+
}
|
|
51
|
+
const req = requestRes.value;
|
|
52
|
+
const doResult = await client._do(req, {
|
|
53
|
+
context,
|
|
54
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
55
|
+
retryConfig: context.retryConfig,
|
|
56
|
+
retryCodes: context.retryCodes,
|
|
57
|
+
});
|
|
58
|
+
if (!doResult.ok) {
|
|
59
|
+
return [doResult, { status: "request-error", request: req }];
|
|
60
|
+
}
|
|
61
|
+
const response = doResult.value;
|
|
62
|
+
const responseFields = {
|
|
63
|
+
HttpMeta: { Response: response, Request: req },
|
|
64
|
+
};
|
|
65
|
+
const [result] = await M.match(M.json(200, operations.GetHelixAgentCapabilitiesResponse$inboundSchema), M.jsonErr([400, 404, 409, 413, 422, 428], errors.ErrorCodeMessage$inboundSchema), M.jsonErr(503, errors.ErrorCodeMessage$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
66
|
+
if (!result.ok) {
|
|
67
|
+
return [result, { status: "complete", request: req, response }];
|
|
68
|
+
}
|
|
69
|
+
return [result, { status: "complete", request: req, response }];
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=helix-agent-deployments-get-helix-agent-capabilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-get-helix-agent-capabilities.js","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-get-helix-agent-capabilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAIpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA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9B,MAAM,CAAC,8BAA8B,CACtC,EACD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,8BAA8B,CAAC,EACrD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MutagentCore } from "../core.js";
|
|
2
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { MutagentError } from "../models/errors/mutagent-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as models from "../models/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
10
|
+
import { APIPromise } from "../types/async.js";
|
|
11
|
+
import { Result } from "../types/fp.js";
|
|
12
|
+
/**
|
|
13
|
+
* Inspect a durable deployment operation
|
|
14
|
+
*
|
|
15
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
16
|
+
*/
|
|
17
|
+
export declare function helixAgentDeploymentsGetHelixAgentOperation(client: MutagentCore, request: operations.GetHelixAgentOperationRequest, options?: RequestOptions): APIPromise<Result<models.IdAgentIdDeploymentId, errors.ErrorCodeMessage | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
|
+
//# sourceMappingURL=helix-agent-deployments-get-helix-agent-operation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-get-helix-agent-operation.d.ts","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-get-helix-agent-operation.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;GAIG;AACH,wBAAgB,2CAA2C,CACzD,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,qBAAqB,EAC1B,MAAM,CAAC,gBAAgB,GACvB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import * as errors from "../models/errors/index.js";
|
|
13
|
+
import * as models from "../models/index.js";
|
|
14
|
+
import * as operations from "../models/operations/index.js";
|
|
15
|
+
import { APIPromise } from "../types/async.js";
|
|
16
|
+
/**
|
|
17
|
+
* Inspect a durable deployment operation
|
|
18
|
+
*
|
|
19
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
20
|
+
*/
|
|
21
|
+
export function helixAgentDeploymentsGetHelixAgentOperation(client, request, options) {
|
|
22
|
+
return new APIPromise($do(client, request, options));
|
|
23
|
+
}
|
|
24
|
+
async function $do(client, request, options) {
|
|
25
|
+
const parsed = safeParse(request, (value) => z.parse(operations.GetHelixAgentOperationRequest$outboundSchema, value), "Input validation failed");
|
|
26
|
+
if (!parsed.ok) {
|
|
27
|
+
return [parsed, { status: "invalid" }];
|
|
28
|
+
}
|
|
29
|
+
const payload = parsed.value;
|
|
30
|
+
const body = null;
|
|
31
|
+
const pathParams = {
|
|
32
|
+
operationId: encodeSimple("operationId", payload.operationId, {
|
|
33
|
+
explode: false,
|
|
34
|
+
charEncoding: "percent",
|
|
35
|
+
}),
|
|
36
|
+
};
|
|
37
|
+
const path = pathToFunc("/api/helix-agent/operations/{operationId}")(pathParams);
|
|
38
|
+
const headers = new Headers(compactMap({
|
|
39
|
+
Accept: "application/json",
|
|
40
|
+
}));
|
|
41
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
42
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1]);
|
|
43
|
+
const context = {
|
|
44
|
+
options: client._options,
|
|
45
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46
|
+
operationID: "getHelixAgentOperation",
|
|
47
|
+
oAuth2Scopes: null,
|
|
48
|
+
resolvedSecurity: requestSecurity,
|
|
49
|
+
securitySource: client._options.security,
|
|
50
|
+
retryConfig: options?.retries
|
|
51
|
+
|| client._options.retryConfig
|
|
52
|
+
|| { strategy: "none" },
|
|
53
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
54
|
+
};
|
|
55
|
+
const requestRes = client._createRequest(context, {
|
|
56
|
+
security: requestSecurity,
|
|
57
|
+
method: "GET",
|
|
58
|
+
baseURL: options?.serverURL,
|
|
59
|
+
path: path,
|
|
60
|
+
headers: headers,
|
|
61
|
+
body: body,
|
|
62
|
+
userAgent: client._options.userAgent,
|
|
63
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
64
|
+
}, options);
|
|
65
|
+
if (!requestRes.ok) {
|
|
66
|
+
return [requestRes, { status: "invalid" }];
|
|
67
|
+
}
|
|
68
|
+
const req = requestRes.value;
|
|
69
|
+
const doResult = await client._do(req, {
|
|
70
|
+
context,
|
|
71
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
72
|
+
retryConfig: context.retryConfig,
|
|
73
|
+
retryCodes: context.retryCodes,
|
|
74
|
+
});
|
|
75
|
+
if (!doResult.ok) {
|
|
76
|
+
return [doResult, { status: "request-error", request: req }];
|
|
77
|
+
}
|
|
78
|
+
const response = doResult.value;
|
|
79
|
+
const responseFields = {
|
|
80
|
+
HttpMeta: { Response: response, Request: req },
|
|
81
|
+
};
|
|
82
|
+
const [result] = await M.match(M.json(200, models.IdAgentIdDeploymentId$inboundSchema), M.jsonErr([400, 404, 409, 413, 422, 428], errors.ErrorCodeMessage$inboundSchema), M.jsonErr(503, errors.ErrorCodeMessage$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
83
|
+
if (!result.ok) {
|
|
84
|
+
return [result, { status: "complete", request: req, response }];
|
|
85
|
+
}
|
|
86
|
+
return [result, { status: "complete", request: req, response }];
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=helix-agent-deployments-get-helix-agent-operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-get-helix-agent-operation.js","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-get-helix-agent-operation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAIpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;GAIG;AACH,MAAM,UAAU,2CAA2C,CACzD,MAAoB,EACpB,OAAiD,E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, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
+
import * as errors from "../models/errors/index.js";
|
|
5
|
+
import { MutagentError } from "../models/errors/mutagent-error.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { APIPromise } from "../types/async.js";
|
|
10
|
+
import { Result } from "../types/fp.js";
|
|
11
|
+
/**
|
|
12
|
+
* Inspect a managed agent: revisions, slots and launched sessions
|
|
13
|
+
*
|
|
14
|
+
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
15
|
+
*/
|
|
16
|
+
export declare function helixAgentDeploymentsGetHelixAgent(client: MutagentCore, request: operations.GetHelixAgentRequest, options?: RequestOptions): APIPromise<Result<operations.GetHelixAgentResponse, errors.ErrorCodeMessage | MutagentError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
+
//# sourceMappingURL=helix-agent-deployments-get-helix-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helix-agent-deployments-get-helix-agent.d.ts","sourceRoot":"","sources":["../../../src/funcs/helix-agent-deployments-get-helix-agent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;GAIG;AACH,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,MAAM,CAAC,gBAAgB,GACvB,aAAa,GACb,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|