@mutagent/sdk 0.13.43 → 0.13.45
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 +1087 -1067
- package/dist/commonjs/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
- package/dist/commonjs/funcs/architech-sessions-launch-architech-session.js +1 -1
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.d.ts +20 -0
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.d.ts.map +1 -0
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.js +134 -0
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.js.map +1 -0
- package/dist/commonjs/funcs/artifacts-get-artifact.d.ts +2 -2
- package/dist/commonjs/funcs/artifacts-get-artifact.d.ts.map +1 -1
- package/dist/commonjs/funcs/artifacts-get-artifact.js +2 -2
- package/dist/commonjs/funcs/artifacts-get-artifact.js.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.d.ts +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.d.ts.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.js +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.js.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifacts.d.ts +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifacts.d.ts.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifacts.js +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifacts.js.map +1 -1
- package/dist/commonjs/funcs/gateway-claim-gateway-git-hub-installation.d.ts +1 -1
- package/dist/commonjs/funcs/gateway-claim-gateway-git-hub-installation.js +1 -1
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts +20 -0
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.js +127 -0
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.js +131 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.js +131 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/funcs/helix-cloud-start-helix-cloud-session.d.ts +1 -1
- package/dist/commonjs/funcs/helix-cloud-start-helix-cloud-session.js +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-start-sandbox-web-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-start-sandbox-web-session.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/errors/get-artifact.d.ts +20 -0
- package/dist/commonjs/models/errors/get-artifact.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-artifact.js +23 -0
- package/dist/commonjs/models/errors/get-artifact.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +6 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +6 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/list-artifact-versions.d.ts +20 -0
- package/dist/commonjs/models/errors/list-artifact-versions.d.ts.map +1 -0
- package/dist/commonjs/models/errors/list-artifact-versions.js +23 -0
- package/dist/commonjs/models/errors/list-artifact-versions.js.map +1 -0
- package/dist/commonjs/models/errors/list-artifacts.d.ts +20 -0
- package/dist/commonjs/models/errors/list-artifacts.d.ts.map +1 -0
- package/dist/commonjs/models/errors/list-artifacts.js +23 -0
- package/dist/commonjs/models/errors/list-artifacts.js.map +1 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.d.ts +135 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.js +171 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.js +167 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.js +167 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/operations/ask-software-factory-session.d.ts +15 -0
- package/dist/commonjs/models/operations/ask-software-factory-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/ask-software-factory-session.js +13 -1
- package/dist/commonjs/models/operations/ask-software-factory-session.js.map +1 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts +32 -0
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js +29 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts +18 -0
- package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.js +18 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.js.map +1 -1
- package/dist/commonjs/models/operations/get-artifact-version-file.d.ts +25 -0
- package/dist/commonjs/models/operations/get-artifact-version-file.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-artifact-version-file.js +51 -0
- package/dist/commonjs/models/operations/get-artifact-version-file.js.map +1 -0
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.d.ts +5 -4
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.js +2 -1
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.js.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts +18 -0
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.js +18 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.d.ts +57 -0
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.js +81 -0
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/commonjs/models/operations/list-gateway-integrations.d.ts +18 -0
- package/dist/commonjs/models/operations/list-gateway-integrations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-gateway-integrations.js +18 -1
- package/dist/commonjs/models/operations/list-gateway-integrations.js.map +1 -1
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.js +68 -0
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.js +68 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts +18 -0
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js +18 -1
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
- package/dist/commonjs/sdk/architech-sessions.d.ts +1 -1
- package/dist/commonjs/sdk/architech-sessions.js +1 -1
- package/dist/commonjs/sdk/artifacts.d.ts +10 -3
- package/dist/commonjs/sdk/artifacts.d.ts.map +1 -1
- package/dist/commonjs/sdk/artifacts.js +13 -3
- package/dist/commonjs/sdk/artifacts.js.map +1 -1
- package/dist/commonjs/sdk/gateway.d.ts +22 -1
- package/dist/commonjs/sdk/gateway.d.ts.map +1 -1
- package/dist/commonjs/sdk/gateway.js +31 -1
- package/dist/commonjs/sdk/gateway.js.map +1 -1
- package/dist/commonjs/sdk/helix-cloud.d.ts +1 -1
- package/dist/commonjs/sdk/helix-cloud.js +1 -1
- package/dist/commonjs/sdk/helix-sessions.d.ts +2 -2
- package/dist/commonjs/sdk/helix-sessions.js +2 -2
- package/dist/commonjs/sdk/sandbox-sessions.d.ts +2 -2
- package/dist/commonjs/sdk/sandbox-sessions.js +2 -2
- package/dist/esm/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
- package/dist/esm/funcs/architech-sessions-launch-architech-session.js +1 -1
- package/dist/esm/funcs/artifacts-get-artifact-version-file.d.ts +20 -0
- package/dist/esm/funcs/artifacts-get-artifact-version-file.d.ts.map +1 -0
- package/dist/esm/funcs/artifacts-get-artifact-version-file.js +98 -0
- package/dist/esm/funcs/artifacts-get-artifact-version-file.js.map +1 -0
- package/dist/esm/funcs/artifacts-get-artifact.d.ts +2 -2
- package/dist/esm/funcs/artifacts-get-artifact.d.ts.map +1 -1
- package/dist/esm/funcs/artifacts-get-artifact.js +2 -2
- package/dist/esm/funcs/artifacts-get-artifact.js.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifact-versions.d.ts +2 -2
- package/dist/esm/funcs/artifacts-list-artifact-versions.d.ts.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifact-versions.js +2 -2
- package/dist/esm/funcs/artifacts-list-artifact-versions.js.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifacts.d.ts +2 -2
- package/dist/esm/funcs/artifacts-list-artifacts.d.ts.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifacts.js +2 -2
- package/dist/esm/funcs/artifacts-list-artifacts.js.map +1 -1
- package/dist/esm/funcs/gateway-claim-gateway-git-hub-installation.d.ts +1 -1
- package/dist/esm/funcs/gateway-claim-gateway-git-hub-installation.js +1 -1
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts +20 -0
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.js +91 -0
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.js +95 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.js +95 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/funcs/helix-cloud-start-helix-cloud-session.d.ts +1 -1
- package/dist/esm/funcs/helix-cloud-start-helix-cloud-session.js +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session.js +1 -1
- package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
- package/dist/esm/funcs/sandbox-sessions-start-sandbox-web-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-sessions-start-sandbox-web-session.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/errors/get-artifact.d.ts +20 -0
- package/dist/esm/models/errors/get-artifact.d.ts.map +1 -0
- package/dist/esm/models/errors/get-artifact.js +18 -0
- package/dist/esm/models/errors/get-artifact.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +6 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +6 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/list-artifact-versions.d.ts +20 -0
- package/dist/esm/models/errors/list-artifact-versions.d.ts.map +1 -0
- package/dist/esm/models/errors/list-artifact-versions.js +18 -0
- package/dist/esm/models/errors/list-artifact-versions.js.map +1 -0
- package/dist/esm/models/errors/list-artifacts.d.ts +20 -0
- package/dist/esm/models/errors/list-artifacts.d.ts.map +1 -0
- package/dist/esm/models/errors/list-artifacts.js +18 -0
- package/dist/esm/models/errors/list-artifacts.js.map +1 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.d.ts +135 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.js +130 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.js +126 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.js +126 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/operations/ask-software-factory-session.d.ts +15 -0
- package/dist/esm/models/operations/ask-software-factory-session.d.ts.map +1 -1
- package/dist/esm/models/operations/ask-software-factory-session.js +12 -0
- package/dist/esm/models/operations/ask-software-factory-session.js.map +1 -1
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts +32 -0
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.js +27 -0
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
- package/dist/esm/models/operations/disconnect-gateway-integration.d.ts +18 -0
- package/dist/esm/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
- package/dist/esm/models/operations/disconnect-gateway-integration.js +16 -0
- package/dist/esm/models/operations/disconnect-gateway-integration.js.map +1 -1
- package/dist/esm/models/operations/get-artifact-version-file.d.ts +25 -0
- package/dist/esm/models/operations/get-artifact-version-file.d.ts.map +1 -0
- package/dist/esm/models/operations/get-artifact-version-file.js +14 -0
- package/dist/esm/models/operations/get-artifact-version-file.js.map +1 -0
- package/dist/esm/models/operations/get-gateway-git-hub-claim.d.ts +5 -4
- package/dist/esm/models/operations/get-gateway-git-hub-claim.d.ts.map +1 -1
- package/dist/esm/models/operations/get-gateway-git-hub-claim.js +2 -1
- package/dist/esm/models/operations/get-gateway-git-hub-claim.js.map +1 -1
- package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts +18 -0
- package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
- package/dist/esm/models/operations/get-gateway-integration-attempt.js +16 -0
- package/dist/esm/models/operations/get-gateway-integration-attempt.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.d.ts +57 -0
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.js +42 -0
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/esm/models/operations/list-gateway-integrations.d.ts +18 -0
- package/dist/esm/models/operations/list-gateway-integrations.d.ts.map +1 -1
- package/dist/esm/models/operations/list-gateway-integrations.js +16 -0
- package/dist/esm/models/operations/list-gateway-integrations.js.map +1 -1
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.js +30 -0
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.js +30 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts +18 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js +16 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
- package/dist/esm/sdk/architech-sessions.d.ts +1 -1
- package/dist/esm/sdk/architech-sessions.js +1 -1
- package/dist/esm/sdk/artifacts.d.ts +10 -3
- package/dist/esm/sdk/artifacts.d.ts.map +1 -1
- package/dist/esm/sdk/artifacts.js +13 -3
- package/dist/esm/sdk/artifacts.js.map +1 -1
- package/dist/esm/sdk/gateway.d.ts +22 -1
- package/dist/esm/sdk/gateway.d.ts.map +1 -1
- package/dist/esm/sdk/gateway.js +31 -1
- package/dist/esm/sdk/gateway.js.map +1 -1
- package/dist/esm/sdk/helix-cloud.d.ts +1 -1
- package/dist/esm/sdk/helix-cloud.js +1 -1
- package/dist/esm/sdk/helix-sessions.d.ts +2 -2
- package/dist/esm/sdk/helix-sessions.js +2 -2
- package/dist/esm/sdk/sandbox-sessions.d.ts +2 -2
- package/dist/esm/sdk/sandbox-sessions.js +2 -2
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { artifactsCreateArtifactThread } from "../funcs/artifacts-create-artifact-thread.js";
|
|
5
5
|
import { artifactsCreateArtifactView } from "../funcs/artifacts-create-artifact-view.js";
|
|
6
6
|
import { artifactsDeleteArtifact } from "../funcs/artifacts-delete-artifact.js";
|
|
7
|
+
import { artifactsGetArtifactVersionFile } from "../funcs/artifacts-get-artifact-version-file.js";
|
|
7
8
|
import { artifactsGetArtifact } from "../funcs/artifacts-get-artifact.js";
|
|
8
9
|
import { artifactsListArtifactThreads } from "../funcs/artifacts-list-artifact-threads.js";
|
|
9
10
|
import { artifactsListArtifactVersions } from "../funcs/artifacts-list-artifact-versions.js";
|
|
@@ -52,7 +53,7 @@ export class Artifacts extends ClientSDK {
|
|
|
52
53
|
* List artifacts
|
|
53
54
|
*
|
|
54
55
|
* @remarks
|
|
55
|
-
* Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order.
|
|
56
|
+
* Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order. Also takes a sandbox’s own task token (Bearer) with artifacts:read: the workspace is the token’s, and it lists what is open to that workspace plus what its own session published (scope=mine: only those; shared: none). An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
|
|
56
57
|
*/
|
|
57
58
|
async listArtifacts(request, options) {
|
|
58
59
|
return unwrapAsync(artifactsListArtifacts(this, request, options));
|
|
@@ -70,7 +71,7 @@ export class Artifacts extends ClientSDK {
|
|
|
70
71
|
* List an artifact's versions
|
|
71
72
|
*
|
|
72
73
|
* @remarks
|
|
73
|
-
* Newest first, with who published each and whether it was a rollback.
|
|
74
|
+
* Newest first, with who published each and whether it was a rollback. Also takes a sandbox’s own task token (Bearer) with artifacts:read, as GET /artifacts/{id}.
|
|
74
75
|
*/
|
|
75
76
|
async listArtifactVersions(request, options) {
|
|
76
77
|
return unwrapAsync(artifactsListArtifactVersions(this, request, options));
|
|
@@ -79,7 +80,7 @@ export class Artifacts extends ClientSDK {
|
|
|
79
80
|
* Read an artifact
|
|
80
81
|
*
|
|
81
82
|
* @remarks
|
|
82
|
-
* The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open.
|
|
83
|
+
* The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open. Also takes a sandbox’s own task token (Bearer) with artifacts:read, for an artifact of the token’s workspace open to it or published by its own session (else 404); members is then empty. An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
|
|
83
84
|
*/
|
|
84
85
|
async getArtifact(request, options) {
|
|
85
86
|
return unwrapAsync(artifactsGetArtifact(this, request, options));
|
|
@@ -102,6 +103,15 @@ export class Artifacts extends ClientSDK {
|
|
|
102
103
|
async deleteArtifact(request, options) {
|
|
103
104
|
return unwrapAsync(artifactsDeleteArtifact(this, request, options));
|
|
104
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Download one file of an artifact version (sandbox)
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* One file of one version, as bytes (content-disposition: attachment), for a sandbox's own task token (Bearer) with artifacts:read: the artifact must be in the token's workspace and open to it, or published by the token's own session (else 404 ARTIFACT_NOT_FOUND, also for a path the version does not list). `path` is the file's manifest path as published (e.g. assets/app.css); an empty or dot segment, a backslash or a control character is 400 ARTIFACT_PATH_INVALID. An expired token, or any caller without a sandbox token, is 401; a token without the scope 403 SANDBOX_SCOPE. Members read files through a view token (POST /artifacts/{id}/view).
|
|
111
|
+
*/
|
|
112
|
+
async getArtifactVersionFile(request, options) {
|
|
113
|
+
return unwrapAsync(artifactsGetArtifactVersionFile(this, request, options));
|
|
114
|
+
}
|
|
105
115
|
/**
|
|
106
116
|
* Preview or prune old artifact versions
|
|
107
117
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../../../src/sdk/artifacts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAA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CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAwB;QAExB,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,qBAAqB,CACzB,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,qBAAqB,CACzB,OAAgD,EAChD,OAAwB;QAExB,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,oBAAoB,CACxB,OAA4D,EAC5D,OAAwB;QAExB,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -61,6 +61,27 @@ export declare class Gateway extends ClientSDK {
|
|
|
61
61
|
* Any workspace member. A Helix session reads its own token’s workspace (F50); a workspaceId naming any other is 403 TENANCY_DENIED.
|
|
62
62
|
*/
|
|
63
63
|
listGatewayIntegrations(request: operations.ListGatewayIntegrationsRequest, options?: RequestOptions): Promise<operations.ListGatewayIntegrationsResponse>;
|
|
64
|
+
/**
|
|
65
|
+
* List the organizations that joined this GitHub installation (owner view)
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* For the organization that holds the installation (its admins and owners): each grant another MutagenT organization holds through a verified member of the GitHub organization: grantId, githubLogin, organizationName, joinedAt, status and membershipLapsedAt (a flag the daily re-check sets; never enforced). Nothing else of the joining organization. Another organization: 404; a member who is not an admin: 403.
|
|
69
|
+
*/
|
|
70
|
+
listGatewayGitHubInstallationGrants(request: operations.ListGatewayGitHubInstallationGrantsRequest, options?: RequestOptions): Promise<operations.ListGatewayGitHubInstallationGrantsResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Revoke another organization's grant on this GitHub installation
|
|
73
|
+
*
|
|
74
|
+
* @remarks
|
|
75
|
+
* The custodian organization’s admins and owners: the grant goes revoked and the joining organization's workspaces read needs-reauth (installation_grant_ended). The revoke is sticky: that organization cannot join again until this organization restores it (POST …/restore). Another organization: 404; a member who is not an admin: 403.
|
|
76
|
+
*/
|
|
77
|
+
revokeGatewayGitHubInstallationGrant(request: operations.RevokeGatewayGitHubInstallationGrantRequest, options?: RequestOptions): Promise<operations.RevokeGatewayGitHubInstallationGrantResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Restore another organization's revoked grant on this GitHub installation
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* The custodian organization’s admins and owners lift a revoke: the grant is active again with its last verified member and repository cap, and the joining organization's links that the revoke ended connect again. A grant that is not revoked: 404 grant_not_found. Another organization: 404; a member who is not an admin: 403.
|
|
83
|
+
*/
|
|
84
|
+
restoreGatewayGitHubInstallationGrant(request: operations.RestoreGatewayGitHubInstallationGrantRequest, options?: RequestOptions): Promise<operations.RestoreGatewayGitHubInstallationGrantResponse>;
|
|
64
85
|
/**
|
|
65
86
|
* Start re-authorizing a provider
|
|
66
87
|
*/
|
|
@@ -105,7 +126,7 @@ export declare class Gateway extends ClientSDK {
|
|
|
105
126
|
* Claim an existing GitHub installation for this organization and workspace
|
|
106
127
|
*
|
|
107
128
|
* @remarks
|
|
108
|
-
* One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
|
|
129
|
+
* One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named; join it with mode 'join' when you are an active member of its GitHub organization: 403 installation_not_member otherwise, 403 installation_grant_revoked when that organization revoked yours: only it can restore it); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
|
|
109
130
|
*/
|
|
110
131
|
claimGatewayGitHubInstallation(request: operations.ClaimGatewayGitHubInstallationRequest, options?: RequestOptions): Promise<operations.ClaimGatewayGitHubInstallationResponse>;
|
|
111
132
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../../../src/sdk/gateway.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../../../src/sdk/gateway.ts"],"names":[],"mappings":"AA2EA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,OAAQ,SAAQ,SAAS;IACpC;;OAEG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CA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CAAqC,CAAC;IAQ5D;;;;;OAKG;IACG,6BAA6B,CACjC,OAAO,EAAE,UAAU,CAAC,oCAAoC,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qCAAqC,CAAC;CAO7D"}
|
package/dist/esm/sdk/gateway.js
CHANGED
|
@@ -37,6 +37,7 @@ import { gatewayLinkGatewayPlatformConnection } from "../funcs/gateway-link-gate
|
|
|
37
37
|
import { gatewayLinkGatewayRepositories } from "../funcs/gateway-link-gateway-repositories.js";
|
|
38
38
|
import { gatewayListGatewayAvailableRepositories } from "../funcs/gateway-list-gateway-available-repositories.js";
|
|
39
39
|
import { gatewayListGatewayEvents } from "../funcs/gateway-list-gateway-events.js";
|
|
40
|
+
import { gatewayListGatewayGitHubInstallationGrants } from "../funcs/gateway-list-gateway-git-hub-installation-grants.js";
|
|
40
41
|
import { gatewayListGatewayGitHubOrgInstallations } from "../funcs/gateway-list-gateway-git-hub-org-installations.js";
|
|
41
42
|
import { gatewayListGatewayGitHubRepositories } from "../funcs/gateway-list-gateway-git-hub-repositories.js";
|
|
42
43
|
import { gatewayListGatewayGitHubRepositoryBranches } from "../funcs/gateway-list-gateway-git-hub-repository-branches.js";
|
|
@@ -53,7 +54,9 @@ import { gatewayListGatewayTriggers } from "../funcs/gateway-list-gateway-trigge
|
|
|
53
54
|
import { gatewayListGatewayWebhookSources } from "../funcs/gateway-list-gateway-webhook-sources.js";
|
|
54
55
|
import { gatewayPauseGatewayRoutine } from "../funcs/gateway-pause-gateway-routine.js";
|
|
55
56
|
import { gatewayReauthGatewayIntegration } from "../funcs/gateway-reauth-gateway-integration.js";
|
|
57
|
+
import { gatewayRestoreGatewayGitHubInstallationGrant } from "../funcs/gateway-restore-gateway-git-hub-installation-grant.js";
|
|
56
58
|
import { gatewayResumeGatewayRoutine } from "../funcs/gateway-resume-gateway-routine.js";
|
|
59
|
+
import { gatewayRevokeGatewayGitHubInstallationGrant } from "../funcs/gateway-revoke-gateway-git-hub-installation-grant.js";
|
|
57
60
|
import { gatewayRevokeGatewayPlatformConnection } from "../funcs/gateway-revoke-gateway-platform-connection.js";
|
|
58
61
|
import { gatewayRotateGatewayPlatformKey } from "../funcs/gateway-rotate-gateway-platform-key.js";
|
|
59
62
|
import { gatewayRotateGatewayWebhookSecret } from "../funcs/gateway-rotate-gateway-webhook-secret.js";
|
|
@@ -156,6 +159,33 @@ export class Gateway extends ClientSDK {
|
|
|
156
159
|
async listGatewayIntegrations(request, options) {
|
|
157
160
|
return unwrapAsync(gatewayListGatewayIntegrations(this, request, options));
|
|
158
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* List the organizations that joined this GitHub installation (owner view)
|
|
164
|
+
*
|
|
165
|
+
* @remarks
|
|
166
|
+
* For the organization that holds the installation (its admins and owners): each grant another MutagenT organization holds through a verified member of the GitHub organization: grantId, githubLogin, organizationName, joinedAt, status and membershipLapsedAt (a flag the daily re-check sets; never enforced). Nothing else of the joining organization. Another organization: 404; a member who is not an admin: 403.
|
|
167
|
+
*/
|
|
168
|
+
async listGatewayGitHubInstallationGrants(request, options) {
|
|
169
|
+
return unwrapAsync(gatewayListGatewayGitHubInstallationGrants(this, request, options));
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Revoke another organization's grant on this GitHub installation
|
|
173
|
+
*
|
|
174
|
+
* @remarks
|
|
175
|
+
* The custodian organization’s admins and owners: the grant goes revoked and the joining organization's workspaces read needs-reauth (installation_grant_ended). The revoke is sticky: that organization cannot join again until this organization restores it (POST …/restore). Another organization: 404; a member who is not an admin: 403.
|
|
176
|
+
*/
|
|
177
|
+
async revokeGatewayGitHubInstallationGrant(request, options) {
|
|
178
|
+
return unwrapAsync(gatewayRevokeGatewayGitHubInstallationGrant(this, request, options));
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Restore another organization's revoked grant on this GitHub installation
|
|
182
|
+
*
|
|
183
|
+
* @remarks
|
|
184
|
+
* The custodian organization’s admins and owners lift a revoke: the grant is active again with its last verified member and repository cap, and the joining organization's links that the revoke ended connect again. A grant that is not revoked: 404 grant_not_found. Another organization: 404; a member who is not an admin: 403.
|
|
185
|
+
*/
|
|
186
|
+
async restoreGatewayGitHubInstallationGrant(request, options) {
|
|
187
|
+
return unwrapAsync(gatewayRestoreGatewayGitHubInstallationGrant(this, request, options));
|
|
188
|
+
}
|
|
159
189
|
/**
|
|
160
190
|
* Start re-authorizing a provider
|
|
161
191
|
*/
|
|
@@ -214,7 +244,7 @@ export class Gateway extends ClientSDK {
|
|
|
214
244
|
* Claim an existing GitHub installation for this organization and workspace
|
|
215
245
|
*
|
|
216
246
|
* @remarks
|
|
217
|
-
* One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
|
|
247
|
+
* One of the claim’s candidates, by the user who authorized it, once. Needs resources:create (a viewer: 403). 403 installation_not_authorized (the authorizing GitHub user cannot access it) or installation_not_admin (they do not control the account: not its personal owner, not an active org admin, or the org has not approved the App's Members: read permission); 404 claim_not_found / installation_not_found; 409 claim_not_ready, installation_suspended, or installation_owned_elsewhere (connected to a different MutagenT organization, never named; join it with mode 'join' when you are an active member of its GitHub organization: 403 installation_not_member otherwise, 403 installation_grant_revoked when that organization revoked yours: only it can restore it); 503 provider_unavailable or integration_unconfigured. Then link repositories with POST /api/gateway/repositories/link.
|
|
218
248
|
*/
|
|
219
249
|
async claimGatewayGitHubInstallation(request, options) {
|
|
220
250
|
return unwrapAsync(gatewayClaimGatewayGitHubInstallation(this, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../../src/sdk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C,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OAAmD,EACnD,OAAwB;QAExB,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,+BAA+B,CACnC,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,sCAAsC,CACvD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAAwD,EACxD,OAAwB;QAExB,OAAO,WAAW,CAAC,oCAAoC,CACrD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAAwD,EACxD,OAAwB;QAExB,OAAO,WAAW,CAAC,oCAAoC,CACrD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -33,7 +33,7 @@ export declare class HelixCloud extends ClientSDK {
|
|
|
33
33
|
* Start a session with its goal
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
|
|
36
|
+
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
|
|
37
37
|
*
|
|
38
38
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
39
39
|
*/
|
|
@@ -59,7 +59,7 @@ export class HelixCloud extends ClientSDK {
|
|
|
59
59
|
* Start a session with its goal
|
|
60
60
|
*
|
|
61
61
|
* @remarks
|
|
62
|
-
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
|
|
62
|
+
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
|
|
63
63
|
*
|
|
64
64
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
65
65
|
*/
|
|
@@ -6,7 +6,7 @@ export declare class HelixSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (the helix harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
9
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
10
10
|
*
|
|
11
11
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
12
12
|
*/
|
|
@@ -144,7 +144,7 @@ export declare class HelixSessions extends ClientSDK {
|
|
|
144
144
|
* Launch a session (the helix harness)
|
|
145
145
|
*
|
|
146
146
|
* @remarks
|
|
147
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
147
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
148
148
|
*/
|
|
149
149
|
launchHelixSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
150
150
|
/**
|
|
@@ -36,7 +36,7 @@ export class HelixSessions extends ClientSDK {
|
|
|
36
36
|
* Launch a session (the helix harness)
|
|
37
37
|
*
|
|
38
38
|
* @remarks
|
|
39
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
39
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
40
40
|
*
|
|
41
41
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
42
42
|
*/
|
|
@@ -206,7 +206,7 @@ export class HelixSessions extends ClientSDK {
|
|
|
206
206
|
* Launch a session (the helix harness)
|
|
207
207
|
*
|
|
208
208
|
* @remarks
|
|
209
|
-
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
209
|
+
* Starts a session of the helix harness. With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. A harness preset (another harness) is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
210
210
|
*/
|
|
211
211
|
async launchHelixSession(request, options) {
|
|
212
212
|
return unwrapAsync(helixSessionsLaunchHelixSession(this, request, options));
|
|
@@ -6,7 +6,7 @@ export declare class SandboxSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (any harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
9
|
+
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
10
10
|
*/
|
|
11
11
|
launchSandboxSession(request: models.SandboxSessionLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
12
12
|
/**
|
|
@@ -118,7 +118,7 @@ export declare class SandboxSessions extends ClientSDK {
|
|
|
118
118
|
* Start a session with its goal
|
|
119
119
|
*
|
|
120
120
|
* @remarks
|
|
121
|
-
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
|
|
121
|
+
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
|
|
122
122
|
*/
|
|
123
123
|
startSandboxWebSession(request: models.SandboxSessionWebStartRequest, options?: RequestOptions): Promise<models.HelixCloudStarted>;
|
|
124
124
|
/**
|
|
@@ -39,7 +39,7 @@ export class SandboxSessions extends ClientSDK {
|
|
|
39
39
|
* Launch a session (any harness)
|
|
40
40
|
*
|
|
41
41
|
* @remarks
|
|
42
|
-
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
42
|
+
* Starts a session of the named `harness` (required). With `harness` helix: the configured Helix preset and sandbox provider; defaults: arm `classic`, mode `interactive`. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness, or `agent` on a harness without the agent arm, is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
43
43
|
*/
|
|
44
44
|
async launchSandboxSession(request, options) {
|
|
45
45
|
return unwrapAsync(sandboxSessionsLaunchSandboxSession(this, request, options));
|
|
@@ -183,7 +183,7 @@ export class SandboxSessions extends ClientSDK {
|
|
|
183
183
|
* Start a session with its goal
|
|
184
184
|
*
|
|
185
185
|
* @remarks
|
|
186
|
-
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed. If the goal cannot be sent, the new sandbox is released.
|
|
186
|
+
* Starts a Helix Cloud session on the platform preset and sends `goal` as its first prompt, in one call. 422 for a model outside the workspace list; 428 `NO_PROVIDER_CONFIGURED` when no model is named and the workspace has no default. `environment` names a workspace Environment to load; omitted, none is loaded; 404 when the workspace has none by that name, before any sandbox starts. `repository` (`owner/name`, any repository the GitHub installation of the workspace can reach; one not linked yet is linked to the workspace first, as the caller) is checked out in the new sandbox at `branch` (else its default branch) through the workspace GitHub installation, and the session starts in that checkout; the branch checked out is recorded on the session. The refusals are one table (`code`): 400 `BRANCH_WITHOUT_REPOSITORY` / `INVALID_BRANCH_NAME`; 409 `github_not_connected` / `installation_suspended` / `installation_revoked`; 422 `repository_inaccessible` (the Mutagent GitHub App cannot reach the repository: give it access on GitHub) / `BRANCH_NOT_FOUND`; 503 `BRANCH_CHECK_UNAVAILABLE` (GitHub unreachable) / `REPOSITORY_CHECKOUT_UNAVAILABLE` (this server cannot check out), all before any sandbox starts; 502 `CHECKOUT_FAILED` when the checkout fails, and its sandbox is released. `subject` (F20) opens the session for a Factory entry with no stage: bound to the entry, no stage run opened, `goal` is its hidden `/<stage> …` first message; refused before any sandbox with 404 `ENTRY_NOT_FOUND`, 409 `ENTRY_ARCHIVED`, or 403 `PERMISSION_DENIED` when the caller may launch none of its stages. Setting up the new sandbox can also refuse the start, after releasing it: 503 `SANDBOX_SETUP_TIMEOUT` when setup ran out of time (retry), 502 `SANDBOX_SETUP_FAILED` when it failed, 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). If the goal cannot be sent, the new sandbox is released.
|
|
187
187
|
*/
|
|
188
188
|
async startSandboxWebSession(request, options) {
|
|
189
189
|
return unwrapAsync(sandboxSessionsStartSandboxWebSession(this, request, options));
|