@mutagent/sdk 0.13.43 → 0.13.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/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/sdk/architech-sessions.d.ts +1 -1
- package/dist/commonjs/sdk/architech-sessions.js +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/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/sdk/architech-sessions.d.ts +1 -1
- package/dist/esm/sdk/architech-sessions.js +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
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the architech harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Starts a session of the architech harness. 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 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)
|
|
15
|
+
* Starts a session of the architech harness. 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 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Launch a session (the architech harness)
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Starts a session of the architech harness. 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 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)
|
|
55
|
+
* Starts a session of the architech harness. 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 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.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Start a session with its goal
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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.
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Start a session with its goal
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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.
|
|
55
|
+
* 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.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the helix harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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)
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Launch a session (the helix harness)
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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)
|
|
55
|
+
* 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.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the helix harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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)
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Launch a session (the helix harness)
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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)
|
|
55
|
+
* 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.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (any harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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)
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Launch a session (any harness)
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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)
|
|
55
|
+
* 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.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Start a session with its goal
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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.
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Start a session with its goal
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* 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.
|
|
55
|
+
* 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.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*/
|
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.13.
|
|
38
|
+
readonly sdkVersion: "0.13.44";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.13.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.13.44 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "2.0.0",
|
|
38
|
-
sdkVersion: "0.13.
|
|
38
|
+
sdkVersion: "0.13.44",
|
|
39
39
|
genVersion: "2.938.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.13.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.13.44 2.938.0 2.0.0 @mutagent/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,7 +6,7 @@ export declare class ArchitechSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (the architech harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the architech harness. 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 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 architech harness. 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 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
|
launchArchitechSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
12
12
|
/**
|
|
@@ -23,7 +23,7 @@ class ArchitechSessions extends sdks_js_1.ClientSDK {
|
|
|
23
23
|
* Launch a session (the architech harness)
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
* Starts a session of the architech harness. 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 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)
|
|
26
|
+
* Starts a session of the architech harness. 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 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.
|
|
27
27
|
*/
|
|
28
28
|
async launchArchitechSession(request, options) {
|
|
29
29
|
return (0, fp_js_1.unwrapAsync)((0, architech_sessions_launch_architech_session_js_1.architechSessionsLaunchArchitechSession)(this, request, options));
|
|
@@ -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
|
*/
|
|
@@ -62,7 +62,7 @@ class HelixCloud extends sdks_js_1.ClientSDK {
|
|
|
62
62
|
* Start a session with its goal
|
|
63
63
|
*
|
|
64
64
|
* @remarks
|
|
65
|
-
* 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.
|
|
65
|
+
* 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.
|
|
66
66
|
*
|
|
67
67
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
68
68
|
*/
|
|
@@ -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
|
/**
|
|
@@ -39,7 +39,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
|
|
|
39
39
|
* Launch a session (the helix harness)
|
|
40
40
|
*
|
|
41
41
|
* @remarks
|
|
42
|
-
* 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)
|
|
42
|
+
* 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.
|
|
43
43
|
*
|
|
44
44
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
45
45
|
*/
|
|
@@ -209,7 +209,7 @@ class HelixSessions extends sdks_js_1.ClientSDK {
|
|
|
209
209
|
* Launch a session (the helix harness)
|
|
210
210
|
*
|
|
211
211
|
* @remarks
|
|
212
|
-
* 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)
|
|
212
|
+
* 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.
|
|
213
213
|
*/
|
|
214
214
|
async launchHelixSession(request, options) {
|
|
215
215
|
return (0, fp_js_1.unwrapAsync)((0, helix_sessions_launch_helix_session_js_1.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
|
/**
|
|
@@ -42,7 +42,7 @@ class SandboxSessions extends sdks_js_1.ClientSDK {
|
|
|
42
42
|
* Launch a session (any harness)
|
|
43
43
|
*
|
|
44
44
|
* @remarks
|
|
45
|
-
* 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)
|
|
45
|
+
* 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.
|
|
46
46
|
*/
|
|
47
47
|
async launchSandboxSession(request, options) {
|
|
48
48
|
return (0, fp_js_1.unwrapAsync)((0, sandbox_sessions_launch_sandbox_session_js_1.sandboxSessionsLaunchSandboxSession)(this, request, options));
|
|
@@ -186,7 +186,7 @@ class SandboxSessions extends sdks_js_1.ClientSDK {
|
|
|
186
186
|
* Start a session with its goal
|
|
187
187
|
*
|
|
188
188
|
* @remarks
|
|
189
|
-
* 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.
|
|
189
|
+
* 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.
|
|
190
190
|
*/
|
|
191
191
|
async startSandboxWebSession(request, options) {
|
|
192
192
|
return (0, fp_js_1.unwrapAsync)((0, sandbox_sessions_start_sandbox_web_session_js_1.sandboxSessionsStartSandboxWebSession)(this, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the architech harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Starts a session of the architech harness. 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 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)
|
|
15
|
+
* Starts a session of the architech harness. 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 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (the architech harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Starts a session of the architech harness. 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 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)
|
|
19
|
+
* Starts a session of the architech harness. 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 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.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Start a session with its goal
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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.
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Start a session with its goal
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* 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.
|
|
19
|
+
* 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.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the helix harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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)
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (the helix harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* 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)
|
|
19
|
+
* 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.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (the helix harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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)
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (the helix harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* 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)
|
|
19
|
+
* 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.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Launch a session (any harness)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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)
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Launch a session (any harness)
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* 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)
|
|
19
|
+
* 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.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Start a session with its goal
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* 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.
|
|
15
|
+
* 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.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Start a session with its goal
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* 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.
|
|
19
|
+
* 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.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.13.
|
|
38
|
+
readonly sdkVersion: "0.13.44";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.13.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.13.44 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "2.0.0",
|
|
34
|
-
sdkVersion: "0.13.
|
|
34
|
+
sdkVersion: "0.13.44",
|
|
35
35
|
genVersion: "2.938.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.13.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.13.44 2.938.0 2.0.0 @mutagent/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,7 +6,7 @@ export declare class ArchitechSessions extends ClientSDK {
|
|
|
6
6
|
* Launch a session (the architech harness)
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* Starts a session of the architech harness. 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 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 architech harness. 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 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
|
launchArchitechSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
12
12
|
/**
|
|
@@ -20,7 +20,7 @@ export class ArchitechSessions extends ClientSDK {
|
|
|
20
20
|
* Launch a session (the architech harness)
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* Starts a session of the architech harness. 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 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)
|
|
23
|
+
* Starts a session of the architech harness. 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 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.
|
|
24
24
|
*/
|
|
25
25
|
async launchArchitechSession(request, options) {
|
|
26
26
|
return unwrapAsync(architechSessionsLaunchArchitechSession(this, request, options));
|
|
@@ -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));
|