@kitman-sh/sdk 0.7.5 → 0.8.0
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/build/index.js +10 -11
- package/dist/{chunk-72z6zbfz.js → chunk-160ww64c.js} +668 -185
- package/dist/{chunk-8byx9rx2.js → chunk-36jhc745.js} +195 -76
- package/dist/loop/index.js +43 -1
- package/dist/program/index.js +7 -3
- package/package.json +3 -1
- package/types/packages/core/src/agent-capabilities.d.ts +68 -74
- package/types/packages/core/src/agent-environment.d.ts +26 -26
- package/types/packages/core/src/agent-launch-snapshot.d.ts +1 -1
- package/types/packages/core/src/agent-sandbox-policy.d.ts +15 -0
- package/types/packages/core/src/approval-queue.d.ts +4 -4
- package/types/packages/core/src/audit.d.ts +1 -1
- package/types/packages/core/src/change-delivery.d.ts +1 -1
- package/types/packages/core/src/change-request-review.d.ts +199 -7
- package/types/packages/core/src/change-request.d.ts +43 -12
- package/types/packages/core/src/connection.d.ts +1 -1
- package/types/packages/core/src/context-feedback.d.ts +8 -8
- package/types/packages/core/src/context-pack.d.ts +8 -8
- package/types/packages/core/src/crypto.d.ts +5 -0
- package/types/packages/core/src/data-lifecycle.d.ts +12 -12
- package/types/packages/core/src/decision.d.ts +2 -2
- package/types/packages/core/src/delivery-policy.d.ts +3 -3
- package/types/packages/core/src/enterprise-forge.d.ts +19 -0
- package/types/packages/core/src/epic-delivery.d.ts +1 -1
- package/types/packages/core/src/external-effect.d.ts +2 -2
- package/types/packages/core/src/global-search.d.ts +1 -1
- package/types/packages/core/src/index.d.ts +8 -2
- package/types/packages/core/src/integration.d.ts +58 -57
- package/types/packages/core/src/kit.d.ts +47 -47
- package/types/packages/core/src/live.d.ts +684 -781
- package/types/packages/core/src/loop-layers.d.ts +1 -1
- package/types/packages/core/src/loop-version.d.ts +1 -1
- package/types/packages/core/src/loop.d.ts +73 -67
- package/types/packages/core/src/marketplace.d.ts +127 -0
- package/types/packages/core/src/memory.d.ts +17 -12
- package/types/packages/core/src/my-teams.d.ts +65 -32
- package/types/packages/core/src/notification.d.ts +73 -12
- package/types/packages/core/src/owner.d.ts +15 -0
- package/types/packages/core/src/package-declarations.d.ts +73 -32
- package/types/packages/core/src/package.d.ts +22 -22
- package/types/packages/core/src/personal-development-profile.d.ts +2 -2
- package/types/packages/core/src/proposal.d.ts +25 -25
- package/types/packages/core/src/redaction.d.ts +2 -1
- package/types/packages/core/src/repo-binding.d.ts +19 -10
- package/types/packages/core/src/run-display.d.ts +1 -1
- package/types/packages/core/src/run-file.d.ts +190 -0
- package/types/packages/core/src/run-launch.d.ts +7 -5
- package/types/packages/core/src/run.d.ts +9 -9
- package/types/packages/core/src/runner-eligibility.d.ts +4 -4
- package/types/packages/core/src/runner.d.ts +339 -111
- package/types/packages/core/src/schedule.d.ts +2 -2
- package/types/packages/core/src/scope-directory.d.ts +5 -5
- package/types/packages/core/src/secret.d.ts +9 -9
- package/types/packages/core/src/session.d.ts +2 -2
- package/types/packages/core/src/step-brief.d.ts +10 -3
- package/types/packages/core/src/storage.d.ts +49 -0
- package/types/packages/core/src/sync-kit.d.ts +25 -25
- package/types/packages/core/src/task-detail.d.ts +20 -13
- package/types/packages/core/src/task-execution-record.d.ts +6 -6
- package/types/packages/core/src/task.d.ts +52 -16
- package/types/packages/core/src/team-context.d.ts +33 -0
- package/types/packages/core/src/transcript.d.ts +230 -0
- package/types/packages/core/src/trigger-dispatch.d.ts +2 -2
- package/types/packages/core/src/trust-panel.d.ts +27 -0
- package/types/packages/core/src/work-unit.d.ts +44 -18
- package/types/packages/core/src/workspace.d.ts +77 -6
- package/types/packages/live/src/rpc/runner-client.d.ts +586 -15
- package/types/packages/live/src/rpc/runner-group.d.ts +623 -267
- package/types/packages/sdk/src/loop/activities.d.ts +208 -1
- package/types/packages/sdk/src/loop/config.d.ts +1 -1
- package/types/packages/sdk/src/loop/define.d.ts +8 -2
- package/types/packages/sdk/src/loop/plan.d.ts +2 -2
- package/types/packages/sdk/src/loop/steps.d.ts +2 -2
- package/types/packages/sdk/src/loop/test-loop.d.ts +6 -1
- package/types/packages/sdk/src/program/engine.d.ts +71 -3
- package/types/packages/sdk/src/program/host.d.ts +13 -1
- package/types/packages/core/src/enterprise-code-host.d.ts +0 -18
- package/types/packages/core/src/project.d.ts +0 -66
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentSandboxNetwork } from './agent-sandbox-policy';
|
|
2
2
|
/** Where a Loop or Agent version lives, nearest first. */
|
|
3
|
-
export declare const LoopLayers: readonly ['
|
|
3
|
+
export declare const LoopLayers: readonly ['team', 'workspace', 'shipped'];
|
|
4
4
|
export type LoopLayer = (typeof LoopLayers)[number];
|
|
5
5
|
export type LayerListings<T> = {
|
|
6
6
|
readonly [layer in LoopLayer]: readonly T[];
|
|
@@ -6,7 +6,7 @@ export type LoopVersionStatus = (typeof LoopVersionStatuses)[number];
|
|
|
6
6
|
export interface LoopIdentity {
|
|
7
7
|
readonly id: string;
|
|
8
8
|
readonly workspaceId: string;
|
|
9
|
-
readonly
|
|
9
|
+
readonly teamId?: string;
|
|
10
10
|
readonly slug: string;
|
|
11
11
|
readonly name: string;
|
|
12
12
|
readonly description?: string;
|
|
@@ -3,9 +3,9 @@ export declare const LoopStepImplementationKinds: readonly ['built_in_action', '
|
|
|
3
3
|
export declare const RunStatuses: readonly ['pending', 'running', 'blocked', 'completed', 'failed', 'canceled', 'expired'];
|
|
4
4
|
export declare const StepAttemptStatuses: readonly ['pending', 'running', 'waiting', 'blocked', 'completed', 'failed', 'canceled'];
|
|
5
5
|
export declare const QuestionStatuses: readonly ['open', 'answered', 'resume_requested', 'resumed', 'resume_failed', 'expired', 'cancelled'];
|
|
6
|
-
export declare const LoopGuardSources: readonly ['trigger_event', 'task', '
|
|
6
|
+
export declare const LoopGuardSources: readonly ['trigger_event', 'task', 'team', 'proposal', 'decision', 'step_attempt', 'change_request', 'context_feedback', 'run', 'team_policy'];
|
|
7
7
|
export declare const LoopSourceModes: readonly ['direct', 'git_backed'];
|
|
8
|
-
export declare const LoopCapabilityKinds: readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "
|
|
8
|
+
export declare const LoopCapabilityKinds: readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "propose_team_context", "propose_context_relevance", "execute_runner_sandbox"];
|
|
9
9
|
export declare const LoopStatus: Schema.Literals<readonly ["draft", "active", "disabled", "archived"]>;
|
|
10
10
|
export declare const LoopTriggerEvent: Schema.String;
|
|
11
11
|
export declare const LoopStepImplementationKind: Schema.Literals<readonly ["built_in_action", "agent", "wait_for_event", "human_approval", "runner_sandbox", "package_ref", "repeat_until", "call_loop"]>;
|
|
@@ -13,7 +13,7 @@ export declare const RunStatus: Schema.Literals<readonly ["pending", "running",
|
|
|
13
13
|
export declare const StepAttemptStatus: Schema.Literals<readonly ["pending", "running", "waiting", "blocked", "completed", "failed", "canceled"]>;
|
|
14
14
|
export declare const QuestionStatus: Schema.Literals<readonly ["open", "answered", "resume_requested", "resumed", "resume_failed", "expired", "cancelled"]>;
|
|
15
15
|
export declare const LoopSourceMode: Schema.Literals<readonly ["direct", "git_backed"]>;
|
|
16
|
-
export declare const LoopCapabilityKind: Schema.Literals<readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "
|
|
16
|
+
export declare const LoopCapabilityKind: Schema.Literals<readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "propose_team_context", "propose_context_relevance", "execute_runner_sandbox"]>;
|
|
17
17
|
export declare const LoopDataSchemaRef: Schema.Struct<{
|
|
18
18
|
readonly kind: Schema.Literal<"typebox_ref">;
|
|
19
19
|
readonly name: Schema.String;
|
|
@@ -33,15 +33,15 @@ export declare const LoopSafeRef: Schema.Struct<{
|
|
|
33
33
|
readonly title: Schema.optionalKey<Schema.String>;
|
|
34
34
|
}>;
|
|
35
35
|
export declare const LoopCapabilityScope: Schema.Struct<{
|
|
36
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
36
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "change_request", "step_attempt", "run", "repo_binding", "provider_host"]>;
|
|
37
37
|
readonly id: Schema.optionalKey<Schema.String>;
|
|
38
38
|
readonly idRef: Schema.optionalKey<Schema.String>;
|
|
39
39
|
readonly value: Schema.optionalKey<Schema.String>;
|
|
40
40
|
}>;
|
|
41
41
|
export declare const LoopCapabilityGrant: Schema.Struct<{
|
|
42
|
-
readonly capability: Schema.Literals<readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "
|
|
42
|
+
readonly capability: Schema.Literals<readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "propose_team_context", "propose_context_relevance", "execute_runner_sandbox"]>;
|
|
43
43
|
readonly scope: Schema.optionalKey<Schema.Struct<{
|
|
44
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
44
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "change_request", "step_attempt", "run", "repo_binding", "provider_host"]>;
|
|
45
45
|
readonly id: Schema.optionalKey<Schema.String>;
|
|
46
46
|
readonly idRef: Schema.optionalKey<Schema.String>;
|
|
47
47
|
readonly value: Schema.optionalKey<Schema.String>;
|
|
@@ -263,7 +263,7 @@ export declare const LoopConcreteActionImplementation: Schema.Union<readonly [Sc
|
|
|
263
263
|
readonly kind: Schema.Literal<"human_approval">;
|
|
264
264
|
readonly prompt: Schema.String;
|
|
265
265
|
readonly approvalPolicy: Schema.Struct<{
|
|
266
|
-
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "
|
|
266
|
+
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "require_other_team_member", "require_workspace_owner_or_admin"]>;
|
|
267
267
|
readonly requireDifferentApprover: Schema.optionalKey<Schema.Boolean>;
|
|
268
268
|
readonly autonomousAgentApprovalAllowed: Schema.Literal<false>;
|
|
269
269
|
readonly deniedViolationCodes: Schema.$Array<Schema.Literals<readonly ["autonomous_self_approval", "self_capability_escalation", "missing_required_approval", "unsafe_payload", "target_conflict"]>>;
|
|
@@ -391,7 +391,7 @@ export declare const LoopStepImplementation: Schema.Union<readonly [Schema.Union
|
|
|
391
391
|
readonly kind: Schema.Literal<"human_approval">;
|
|
392
392
|
readonly prompt: Schema.String;
|
|
393
393
|
readonly approvalPolicy: Schema.Struct<{
|
|
394
|
-
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "
|
|
394
|
+
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "require_other_team_member", "require_workspace_owner_or_admin"]>;
|
|
395
395
|
readonly requireDifferentApprover: Schema.optionalKey<Schema.Boolean>;
|
|
396
396
|
readonly autonomousAgentApprovalAllowed: Schema.Literal<false>;
|
|
397
397
|
readonly deniedViolationCodes: Schema.$Array<Schema.Literals<readonly ["autonomous_self_approval", "self_capability_escalation", "missing_required_approval", "unsafe_payload", "target_conflict"]>>;
|
|
@@ -516,7 +516,7 @@ export declare const LoopStepImplementation: Schema.Union<readonly [Schema.Union
|
|
|
516
516
|
readonly kind: Schema.Literal<"human_approval">;
|
|
517
517
|
readonly prompt: Schema.String;
|
|
518
518
|
readonly approvalPolicy: Schema.Struct<{
|
|
519
|
-
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "
|
|
519
|
+
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "require_other_team_member", "require_workspace_owner_or_admin"]>;
|
|
520
520
|
readonly requireDifferentApprover: Schema.optionalKey<Schema.Boolean>;
|
|
521
521
|
readonly autonomousAgentApprovalAllowed: Schema.Literal<false>;
|
|
522
522
|
readonly deniedViolationCodes: Schema.$Array<Schema.Literals<readonly ["autonomous_self_approval", "self_capability_escalation", "missing_required_approval", "unsafe_payload", "target_conflict"]>>;
|
|
@@ -619,7 +619,7 @@ export declare const LoopStep: Schema.Struct<{
|
|
|
619
619
|
}>>;
|
|
620
620
|
readonly guards: Schema.$Array<Schema.Struct<{
|
|
621
621
|
readonly key: Schema.String;
|
|
622
|
-
readonly source: Schema.Literals<readonly ["trigger_event", "task", "
|
|
622
|
+
readonly source: Schema.Literals<readonly ["trigger_event", "task", "team", "proposal", "decision", "step_attempt", "change_request", "context_feedback", "run", "team_policy"]>;
|
|
623
623
|
readonly path: Schema.$Array<Schema.String>;
|
|
624
624
|
readonly operator: Schema.Literals<readonly ["equals", "not_equals", "in", "not_in", "exists", "not_exists"]>;
|
|
625
625
|
readonly value: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
@@ -691,7 +691,7 @@ export declare const LoopStep: Schema.Struct<{
|
|
|
691
691
|
readonly kind: Schema.Literal<"human_approval">;
|
|
692
692
|
readonly prompt: Schema.String;
|
|
693
693
|
readonly approvalPolicy: Schema.Struct<{
|
|
694
|
-
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "
|
|
694
|
+
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "require_other_team_member", "require_workspace_owner_or_admin"]>;
|
|
695
695
|
readonly requireDifferentApprover: Schema.optionalKey<Schema.Boolean>;
|
|
696
696
|
readonly autonomousAgentApprovalAllowed: Schema.Literal<false>;
|
|
697
697
|
readonly deniedViolationCodes: Schema.$Array<Schema.Literals<readonly ["autonomous_self_approval", "self_capability_escalation", "missing_required_approval", "unsafe_payload", "target_conflict"]>>;
|
|
@@ -816,7 +816,7 @@ export declare const LoopStep: Schema.Struct<{
|
|
|
816
816
|
readonly kind: Schema.Literal<"human_approval">;
|
|
817
817
|
readonly prompt: Schema.String;
|
|
818
818
|
readonly approvalPolicy: Schema.Struct<{
|
|
819
|
-
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "
|
|
819
|
+
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "require_other_team_member", "require_workspace_owner_or_admin"]>;
|
|
820
820
|
readonly requireDifferentApprover: Schema.optionalKey<Schema.Boolean>;
|
|
821
821
|
readonly autonomousAgentApprovalAllowed: Schema.Literal<false>;
|
|
822
822
|
readonly deniedViolationCodes: Schema.$Array<Schema.Literals<readonly ["autonomous_self_approval", "self_capability_escalation", "missing_required_approval", "unsafe_payload", "target_conflict"]>>;
|
|
@@ -962,9 +962,9 @@ export declare const LoopStep: Schema.Struct<{
|
|
|
962
962
|
readonly required: Schema.optionalKey<Schema.Boolean>;
|
|
963
963
|
}>>;
|
|
964
964
|
readonly allowedCapabilities: Schema.$Array<Schema.Struct<{
|
|
965
|
-
readonly capability: Schema.Literals<readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "
|
|
965
|
+
readonly capability: Schema.Literals<readonly ["read_task", "read_repo_binding", "read_agent_environment", "read_kit", "update_task_status", "read_change_request", "read_change_request_review", "read_task_link", "refresh_change_request_metadata", "record_change_request_review", "record_session_update", "create_task_link", "create_task_dependency", "create_task_asset", "create_follow_up_task", "execute_agent", "read_step_attempt", "record_task_thread_entry", "write_provider_repository", "write_provider_change_request", "publish_provider_check", "write_provider_comment", "request_provider_changes", "approve_provider_change_request", "merge_provider_change_request", "wait_for_event", "request_human_approval", "execute_package_ref", "read_context_feedback", "read_session_update", "read_repo_binding", "read_agent_environment", "read_kit", "read_memory", "read_decision", "create_task_dependency", "propose_memory", "propose_kit", "propose_decision", "propose_agent_environment_policy", "propose_team_context", "propose_context_relevance", "execute_runner_sandbox"]>;
|
|
966
966
|
readonly scope: Schema.optionalKey<Schema.Struct<{
|
|
967
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
967
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "change_request", "step_attempt", "run", "repo_binding", "provider_host"]>;
|
|
968
968
|
readonly id: Schema.optionalKey<Schema.String>;
|
|
969
969
|
readonly idRef: Schema.optionalKey<Schema.String>;
|
|
970
970
|
readonly value: Schema.optionalKey<Schema.String>;
|
|
@@ -1166,6 +1166,8 @@ export declare const RunEvidence: Schema.Struct<{
|
|
|
1166
1166
|
readonly tree: Schema.String;
|
|
1167
1167
|
readonly durationMs: Schema.Int;
|
|
1168
1168
|
readonly outputTail: Schema.String;
|
|
1169
|
+
/** The Run Files the check kept in this Run: its log and what it recorded. */
|
|
1170
|
+
readonly fileIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1169
1171
|
readonly recordedAt: Schema.String;
|
|
1170
1172
|
}>;
|
|
1171
1173
|
export type RunEvidence = (typeof RunEvidence)['Type'];
|
|
@@ -1196,7 +1198,7 @@ export type ApprovedVerificationList = (typeof ApprovedVerificationList)['Type']
|
|
|
1196
1198
|
export declare const RunArtifact: Schema.Struct<{
|
|
1197
1199
|
readonly id: Schema.String;
|
|
1198
1200
|
readonly runId: Schema.String;
|
|
1199
|
-
readonly
|
|
1201
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1200
1202
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1201
1203
|
readonly step: Schema.String;
|
|
1202
1204
|
readonly kind: Schema.String;
|
|
@@ -1215,7 +1217,7 @@ export declare const RunArtifactSearchResult: Schema.Struct<{
|
|
|
1215
1217
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
1216
1218
|
readonly id: Schema.String;
|
|
1217
1219
|
readonly runId: Schema.String;
|
|
1218
|
-
readonly
|
|
1220
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1219
1221
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1220
1222
|
readonly step: Schema.String;
|
|
1221
1223
|
readonly kind: Schema.String;
|
|
@@ -1253,7 +1255,7 @@ export type RunAlignment = (typeof RunAlignment)['Type'];
|
|
|
1253
1255
|
export declare const Run: Schema.Struct<{
|
|
1254
1256
|
readonly id: Schema.String;
|
|
1255
1257
|
readonly workspaceId: Schema.String;
|
|
1256
|
-
readonly
|
|
1258
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1257
1259
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1258
1260
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
1259
1261
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -1340,7 +1342,7 @@ export declare const Run: Schema.Struct<{
|
|
|
1340
1342
|
/** A program Run's bundle digest, fixed at admission. */
|
|
1341
1343
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
1342
1344
|
/** The layer a program Run's Loop resolved from. */
|
|
1343
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
1345
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
1344
1346
|
/** A Child Run's parent. */
|
|
1345
1347
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
1346
1348
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -1396,7 +1398,7 @@ export declare const StepAttemptInputManifest: Schema.Struct<{
|
|
|
1396
1398
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
1397
1399
|
readonly sourceId: Schema.String;
|
|
1398
1400
|
readonly sourceScope: Schema.Struct<{
|
|
1399
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
1401
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
1400
1402
|
readonly id: Schema.String;
|
|
1401
1403
|
}>;
|
|
1402
1404
|
readonly inclusionReason: Schema.String;
|
|
@@ -1420,7 +1422,7 @@ export declare const StepAttemptInputManifest: Schema.Struct<{
|
|
|
1420
1422
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
1421
1423
|
readonly sourceId: Schema.String;
|
|
1422
1424
|
readonly sourceScope: Schema.Struct<{
|
|
1423
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
1425
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
1424
1426
|
readonly id: Schema.String;
|
|
1425
1427
|
}>;
|
|
1426
1428
|
readonly inclusionReason: Schema.String;
|
|
@@ -1529,7 +1531,7 @@ export type StepOutputSubmissionResult = (typeof StepOutputSubmissionResult)['Ty
|
|
|
1529
1531
|
export declare const StepAttempt: Schema.Struct<{
|
|
1530
1532
|
readonly id: Schema.String;
|
|
1531
1533
|
readonly workspaceId: Schema.String;
|
|
1532
|
-
readonly
|
|
1534
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1533
1535
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1534
1536
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
1535
1537
|
readonly runId: Schema.String;
|
|
@@ -1549,7 +1551,7 @@ export declare const StepAttempt: Schema.Struct<{
|
|
|
1549
1551
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
1550
1552
|
readonly sourceId: Schema.String;
|
|
1551
1553
|
readonly sourceScope: Schema.Struct<{
|
|
1552
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
1554
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
1553
1555
|
readonly id: Schema.String;
|
|
1554
1556
|
}>;
|
|
1555
1557
|
readonly inclusionReason: Schema.String;
|
|
@@ -1573,7 +1575,7 @@ export declare const StepAttempt: Schema.Struct<{
|
|
|
1573
1575
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
1574
1576
|
readonly sourceId: Schema.String;
|
|
1575
1577
|
readonly sourceScope: Schema.Struct<{
|
|
1576
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
1578
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
1577
1579
|
readonly id: Schema.String;
|
|
1578
1580
|
}>;
|
|
1579
1581
|
readonly inclusionReason: Schema.String;
|
|
@@ -1681,7 +1683,7 @@ export declare const StepAttemptList: Schema.Struct<{
|
|
|
1681
1683
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
1682
1684
|
readonly id: Schema.String;
|
|
1683
1685
|
readonly workspaceId: Schema.String;
|
|
1684
|
-
readonly
|
|
1686
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1685
1687
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1686
1688
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
1687
1689
|
readonly runId: Schema.String;
|
|
@@ -1701,7 +1703,7 @@ export declare const StepAttemptList: Schema.Struct<{
|
|
|
1701
1703
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
1702
1704
|
readonly sourceId: Schema.String;
|
|
1703
1705
|
readonly sourceScope: Schema.Struct<{
|
|
1704
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
1706
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
1705
1707
|
readonly id: Schema.String;
|
|
1706
1708
|
}>;
|
|
1707
1709
|
readonly inclusionReason: Schema.String;
|
|
@@ -1725,7 +1727,7 @@ export declare const StepAttemptList: Schema.Struct<{
|
|
|
1725
1727
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
1726
1728
|
readonly sourceId: Schema.String;
|
|
1727
1729
|
readonly sourceScope: Schema.Struct<{
|
|
1728
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
1730
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
1729
1731
|
readonly id: Schema.String;
|
|
1730
1732
|
}>;
|
|
1731
1733
|
readonly inclusionReason: Schema.String;
|
|
@@ -1847,7 +1849,7 @@ export declare const QuestionAnswer: Schema.Struct<{
|
|
|
1847
1849
|
export declare const Question: Schema.Struct<{
|
|
1848
1850
|
readonly id: Schema.String;
|
|
1849
1851
|
readonly workspaceId: Schema.String;
|
|
1850
|
-
readonly
|
|
1852
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1851
1853
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1852
1854
|
readonly runId: Schema.String;
|
|
1853
1855
|
/** The Step that asked: a program's `ask` name or an agent's Step name, such as `next:1`. */
|
|
@@ -1882,7 +1884,7 @@ export declare const QuestionList: Schema.Struct<{
|
|
|
1882
1884
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
1883
1885
|
readonly id: Schema.String;
|
|
1884
1886
|
readonly workspaceId: Schema.String;
|
|
1885
|
-
readonly
|
|
1887
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1886
1888
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1887
1889
|
readonly runId: Schema.String;
|
|
1888
1890
|
/** The Step that asked: a program's `ask` name or an agent's Step name, such as `next:1`. */
|
|
@@ -1911,7 +1913,7 @@ export declare const QuestionList: Schema.Struct<{
|
|
|
1911
1913
|
}>>;
|
|
1912
1914
|
}>;
|
|
1913
1915
|
export declare const RunLaunchContext: Schema.Struct<{
|
|
1914
|
-
readonly
|
|
1916
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1915
1917
|
readonly remoteUrl: Schema.optionalKey<Schema.String>;
|
|
1916
1918
|
readonly repoBindingId: Schema.optionalKey<Schema.String>;
|
|
1917
1919
|
readonly branch: Schema.optionalKey<Schema.String>;
|
|
@@ -1921,6 +1923,8 @@ export declare const RunStart: Schema.Struct<{
|
|
|
1921
1923
|
/** The Loop to start; the Task's Type's default Loop when left out. */
|
|
1922
1924
|
readonly loop: Schema.optionalKey<Schema.String>;
|
|
1923
1925
|
readonly words: Schema.optionalKey<Schema.String>;
|
|
1926
|
+
/** The words name no Task: a key in them is text, and a Task is filed for them. */
|
|
1927
|
+
readonly plainWords: Schema.optionalKey<Schema.Boolean>;
|
|
1924
1928
|
/** The Task the Run is for, by id or any key it has had. */
|
|
1925
1929
|
readonly task: Schema.optionalKey<Schema.String>;
|
|
1926
1930
|
/** The Team a Task made from the words goes to. */
|
|
@@ -1930,7 +1934,7 @@ export declare const RunStart: Schema.Struct<{
|
|
|
1930
1934
|
/** Loop Input fields that win over inferred ones. */
|
|
1931
1935
|
readonly input: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
1932
1936
|
readonly context: Schema.optionalKey<Schema.Struct<{
|
|
1933
|
-
readonly
|
|
1937
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1934
1938
|
readonly remoteUrl: Schema.optionalKey<Schema.String>;
|
|
1935
1939
|
readonly repoBindingId: Schema.optionalKey<Schema.String>;
|
|
1936
1940
|
readonly branch: Schema.optionalKey<Schema.String>;
|
|
@@ -1945,7 +1949,7 @@ export declare const RunStarted: Schema.Struct<{
|
|
|
1945
1949
|
readonly run: Schema.Struct<{
|
|
1946
1950
|
readonly id: Schema.String;
|
|
1947
1951
|
readonly workspaceId: Schema.String;
|
|
1948
|
-
readonly
|
|
1952
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
1949
1953
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
1950
1954
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
1951
1955
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -2032,7 +2036,7 @@ export declare const RunStarted: Schema.Struct<{
|
|
|
2032
2036
|
/** A program Run's bundle digest, fixed at admission. */
|
|
2033
2037
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
2034
2038
|
/** The layer a program Run's Loop resolved from. */
|
|
2035
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2039
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2036
2040
|
/** A Child Run's parent. */
|
|
2037
2041
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
2038
2042
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -2268,7 +2272,7 @@ export declare const RunShow: Schema.Struct<{
|
|
|
2268
2272
|
readonly run: Schema.Struct<{
|
|
2269
2273
|
readonly id: Schema.String;
|
|
2270
2274
|
readonly workspaceId: Schema.String;
|
|
2271
|
-
readonly
|
|
2275
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2272
2276
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
2273
2277
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
2274
2278
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -2355,7 +2359,7 @@ export declare const RunShow: Schema.Struct<{
|
|
|
2355
2359
|
/** A program Run's bundle digest, fixed at admission. */
|
|
2356
2360
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
2357
2361
|
/** The layer a program Run's Loop resolved from. */
|
|
2358
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2362
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2359
2363
|
/** A Child Run's parent. */
|
|
2360
2364
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
2361
2365
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -2495,7 +2499,7 @@ export declare const RunShow: Schema.Struct<{
|
|
|
2495
2499
|
readonly questions: Schema.$Array<Schema.Struct<{
|
|
2496
2500
|
readonly id: Schema.String;
|
|
2497
2501
|
readonly workspaceId: Schema.String;
|
|
2498
|
-
readonly
|
|
2502
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2499
2503
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
2500
2504
|
readonly runId: Schema.String;
|
|
2501
2505
|
/** The Step that asked: a program's `ask` name or an agent's Step name, such as `next:1`. */
|
|
@@ -2538,7 +2542,7 @@ export declare const RunShow: Schema.Struct<{
|
|
|
2538
2542
|
readonly artifacts: Schema.$Array<Schema.Struct<{
|
|
2539
2543
|
readonly id: Schema.String;
|
|
2540
2544
|
readonly runId: Schema.String;
|
|
2541
|
-
readonly
|
|
2545
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2542
2546
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
2543
2547
|
readonly step: Schema.String;
|
|
2544
2548
|
readonly kind: Schema.String;
|
|
@@ -2551,7 +2555,7 @@ export declare const RunShow: Schema.Struct<{
|
|
|
2551
2555
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
2552
2556
|
readonly id: Schema.String;
|
|
2553
2557
|
readonly runId: Schema.String;
|
|
2554
|
-
readonly
|
|
2558
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2555
2559
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
2556
2560
|
readonly step: Schema.String;
|
|
2557
2561
|
readonly kind: Schema.String;
|
|
@@ -2578,6 +2582,8 @@ export declare const RunShow: Schema.Struct<{
|
|
|
2578
2582
|
readonly tree: Schema.String;
|
|
2579
2583
|
readonly durationMs: Schema.Int;
|
|
2580
2584
|
readonly outputTail: Schema.String;
|
|
2585
|
+
/** The Run Files the check kept in this Run: its log and what it recorded. */
|
|
2586
|
+
readonly fileIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2581
2587
|
readonly recordedAt: Schema.String;
|
|
2582
2588
|
}>>;
|
|
2583
2589
|
readonly steers: Schema.$Array<Schema.Struct<{
|
|
@@ -2633,7 +2639,7 @@ export declare const RunStartPreview: Schema.Struct<{
|
|
|
2633
2639
|
readonly inputSchema: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2634
2640
|
readonly input: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2635
2641
|
readonly missing: Schema.$Array<Schema.String>;
|
|
2636
|
-
readonly
|
|
2642
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2637
2643
|
readonly inferred: Schema.Struct<{
|
|
2638
2644
|
readonly repoBindingId: Schema.optionalKey<Schema.String>;
|
|
2639
2645
|
readonly branch: Schema.optionalKey<Schema.String>;
|
|
@@ -2647,7 +2653,7 @@ export type RunStartPreview = (typeof RunStartPreview)['Type'];
|
|
|
2647
2653
|
export declare const ProgramLoop: Schema.Struct<{
|
|
2648
2654
|
readonly id: Schema.String;
|
|
2649
2655
|
readonly title: Schema.String;
|
|
2650
|
-
readonly layer: Schema.Literals<readonly ["
|
|
2656
|
+
readonly layer: Schema.Literals<readonly ["team", "workspace", "shipped"]>;
|
|
2651
2657
|
readonly digest: Schema.String;
|
|
2652
2658
|
readonly outcome: Schema.optionalKey<Schema.String>;
|
|
2653
2659
|
readonly offers: Schema.$Array<Schema.Struct<{
|
|
@@ -2664,7 +2670,7 @@ export type ProgramLoop = (typeof ProgramLoop)['Type'];
|
|
|
2664
2670
|
export declare const AutomaticStart: Schema.Struct<{
|
|
2665
2671
|
readonly eventId: Schema.String;
|
|
2666
2672
|
readonly eventType: Schema.String;
|
|
2667
|
-
readonly
|
|
2673
|
+
readonly teamId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2668
2674
|
readonly loop: Schema.String;
|
|
2669
2675
|
readonly runId: Schema.optionalKey<Schema.String>;
|
|
2670
2676
|
readonly rejection: Schema.optionalKey<Schema.String>;
|
|
@@ -2675,7 +2681,7 @@ export declare const AutomaticStartList: Schema.Struct<{
|
|
|
2675
2681
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2676
2682
|
readonly eventId: Schema.String;
|
|
2677
2683
|
readonly eventType: Schema.String;
|
|
2678
|
-
readonly
|
|
2684
|
+
readonly teamId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2679
2685
|
readonly loop: Schema.String;
|
|
2680
2686
|
readonly runId: Schema.optionalKey<Schema.String>;
|
|
2681
2687
|
readonly rejection: Schema.optionalKey<Schema.String>;
|
|
@@ -2686,7 +2692,7 @@ export type AutomaticStartList = (typeof AutomaticStartList)['Type'];
|
|
|
2686
2692
|
/** An Agent as it resolves where it was asked about, merged with what it extends. */
|
|
2687
2693
|
export declare const ProgramAgent: Schema.Struct<{
|
|
2688
2694
|
readonly id: Schema.String;
|
|
2689
|
-
readonly layer: Schema.Literals<readonly ["
|
|
2695
|
+
readonly layer: Schema.Literals<readonly ["team", "workspace", "shipped"]>;
|
|
2690
2696
|
/** The Package that declares it. */
|
|
2691
2697
|
readonly package: Schema.String;
|
|
2692
2698
|
readonly extends: Schema.optionalKey<Schema.String>;
|
|
@@ -2702,20 +2708,20 @@ export declare const ProgramAgent: Schema.Struct<{
|
|
|
2702
2708
|
readonly sandbox: Schema.optionalKey<Schema.Literal<"docker">>;
|
|
2703
2709
|
/** The layer each resolved field came from. */
|
|
2704
2710
|
readonly fieldLayers: Schema.optionalKey<Schema.Struct<{
|
|
2705
|
-
readonly instructions: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2706
|
-
readonly harness: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2707
|
-
readonly model: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2708
|
-
readonly effort: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2709
|
-
readonly kits: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2710
|
-
readonly network: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2711
|
-
readonly sandbox: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2711
|
+
readonly instructions: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2712
|
+
readonly harness: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2713
|
+
readonly model: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2714
|
+
readonly effort: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2715
|
+
readonly kits: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2716
|
+
readonly network: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2717
|
+
readonly sandbox: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2712
2718
|
}>>;
|
|
2713
2719
|
}>;
|
|
2714
2720
|
export type ProgramAgent = (typeof ProgramAgent)['Type'];
|
|
2715
2721
|
export declare const ProgramAgentList: Schema.Struct<{
|
|
2716
2722
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2717
2723
|
readonly id: Schema.String;
|
|
2718
|
-
readonly layer: Schema.Literals<readonly ["
|
|
2724
|
+
readonly layer: Schema.Literals<readonly ["team", "workspace", "shipped"]>;
|
|
2719
2725
|
/** The Package that declares it. */
|
|
2720
2726
|
readonly package: Schema.String;
|
|
2721
2727
|
readonly extends: Schema.optionalKey<Schema.String>;
|
|
@@ -2731,13 +2737,13 @@ export declare const ProgramAgentList: Schema.Struct<{
|
|
|
2731
2737
|
readonly sandbox: Schema.optionalKey<Schema.Literal<"docker">>;
|
|
2732
2738
|
/** The layer each resolved field came from. */
|
|
2733
2739
|
readonly fieldLayers: Schema.optionalKey<Schema.Struct<{
|
|
2734
|
-
readonly instructions: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2735
|
-
readonly harness: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2736
|
-
readonly model: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2737
|
-
readonly effort: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2738
|
-
readonly kits: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2739
|
-
readonly network: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2740
|
-
readonly sandbox: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2740
|
+
readonly instructions: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2741
|
+
readonly harness: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2742
|
+
readonly model: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2743
|
+
readonly effort: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2744
|
+
readonly kits: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2745
|
+
readonly network: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2746
|
+
readonly sandbox: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2741
2747
|
}>>;
|
|
2742
2748
|
}>>;
|
|
2743
2749
|
}>;
|
|
@@ -2746,7 +2752,7 @@ export declare const ProgramLoopList: Schema.Struct<{
|
|
|
2746
2752
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2747
2753
|
readonly id: Schema.String;
|
|
2748
2754
|
readonly title: Schema.String;
|
|
2749
|
-
readonly layer: Schema.Literals<readonly ["
|
|
2755
|
+
readonly layer: Schema.Literals<readonly ["team", "workspace", "shipped"]>;
|
|
2750
2756
|
readonly digest: Schema.String;
|
|
2751
2757
|
readonly outcome: Schema.optionalKey<Schema.String>;
|
|
2752
2758
|
readonly offers: Schema.$Array<Schema.Struct<{
|
|
@@ -2765,7 +2771,7 @@ export declare const RunListItem: Schema.Struct<{
|
|
|
2765
2771
|
readonly run: Schema.Struct<{
|
|
2766
2772
|
readonly id: Schema.String;
|
|
2767
2773
|
readonly workspaceId: Schema.String;
|
|
2768
|
-
readonly
|
|
2774
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2769
2775
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
2770
2776
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
2771
2777
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -2852,7 +2858,7 @@ export declare const RunListItem: Schema.Struct<{
|
|
|
2852
2858
|
/** A program Run's bundle digest, fixed at admission. */
|
|
2853
2859
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
2854
2860
|
/** The layer a program Run's Loop resolved from. */
|
|
2855
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
2861
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
2856
2862
|
/** A Child Run's parent. */
|
|
2857
2863
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
2858
2864
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -2926,7 +2932,7 @@ export declare const RunList: Schema.Struct<{
|
|
|
2926
2932
|
readonly run: Schema.Struct<{
|
|
2927
2933
|
readonly id: Schema.String;
|
|
2928
2934
|
readonly workspaceId: Schema.String;
|
|
2929
|
-
readonly
|
|
2935
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
2930
2936
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
2931
2937
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
2932
2938
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -3013,7 +3019,7 @@ export declare const RunList: Schema.Struct<{
|
|
|
3013
3019
|
/** A program Run's bundle digest, fixed at admission. */
|
|
3014
3020
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
3015
3021
|
/** The layer a program Run's Loop resolved from. */
|
|
3016
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
3022
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
3017
3023
|
/** A Child Run's parent. */
|
|
3018
3024
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
3019
3025
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -3093,7 +3099,7 @@ export declare const RunWaitResult: Schema.Struct<{
|
|
|
3093
3099
|
readonly run: Schema.Struct<{
|
|
3094
3100
|
readonly id: Schema.String;
|
|
3095
3101
|
readonly workspaceId: Schema.String;
|
|
3096
|
-
readonly
|
|
3102
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
3097
3103
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
3098
3104
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
3099
3105
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -3180,7 +3186,7 @@ export declare const RunWaitResult: Schema.Struct<{
|
|
|
3180
3186
|
/** A program Run's bundle digest, fixed at admission. */
|
|
3181
3187
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
3182
3188
|
/** The layer a program Run's Loop resolved from. */
|
|
3183
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
3189
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
3184
3190
|
/** A Child Run's parent. */
|
|
3185
3191
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
3186
3192
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -3232,7 +3238,7 @@ export declare const RunWaitResult: Schema.Struct<{
|
|
|
3232
3238
|
readonly questions: Schema.$Array<Schema.Struct<{
|
|
3233
3239
|
readonly id: Schema.String;
|
|
3234
3240
|
readonly workspaceId: Schema.String;
|
|
3235
|
-
readonly
|
|
3241
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
3236
3242
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
3237
3243
|
readonly runId: Schema.String;
|
|
3238
3244
|
/** The Step that asked: a program's `ask` name or an agent's Step name, such as `next:1`. */
|
|
@@ -3290,7 +3296,7 @@ export declare const RunActionTaken: Schema.Struct<{
|
|
|
3290
3296
|
readonly run: Schema.Struct<{
|
|
3291
3297
|
readonly id: Schema.String;
|
|
3292
3298
|
readonly workspaceId: Schema.String;
|
|
3293
|
-
readonly
|
|
3299
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
3294
3300
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
3295
3301
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
3296
3302
|
/** The Loop's id in the Package that declared it. */
|
|
@@ -3377,7 +3383,7 @@ export declare const RunActionTaken: Schema.Struct<{
|
|
|
3377
3383
|
/** A program Run's bundle digest, fixed at admission. */
|
|
3378
3384
|
readonly loopDigest: Schema.optionalKey<Schema.String>;
|
|
3379
3385
|
/** The layer a program Run's Loop resolved from. */
|
|
3380
|
-
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["
|
|
3386
|
+
readonly loopLayer: Schema.optionalKey<Schema.Literals<readonly ["team", "workspace", "shipped"]>>;
|
|
3381
3387
|
/** A Child Run's parent. */
|
|
3382
3388
|
readonly parentRunId: Schema.optionalKey<Schema.String>;
|
|
3383
3389
|
readonly waiting: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|