pomerado 0.1.1 → 0.2.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/LICENSE +21 -661
  3. package/README.md +15 -10
  4. package/dist/typescript/authoring/auth/SKILL.md +21 -159
  5. package/dist/typescript/authoring/caller-input/SKILL.md +7 -68
  6. package/dist/typescript/authoring/core/SKILL.md +40 -330
  7. package/dist/typescript/authoring/forms/SKILL.md +7 -78
  8. package/dist/typescript/authoring/pagination/SKILL.md +5 -22
  9. package/dist/typescript/authoring/workspace/AGENTS.md +53 -293
  10. package/dist/typescript/authoring/workspace/README.md +2 -10
  11. package/dist/typescript/authoring/writes/SKILL.md +12 -140
  12. package/dist/typescript/src/execution/sign-in-diagnostics.d.ts +19 -20
  13. package/dist/typescript/src/guardian/openai.js +3 -1
  14. package/dist/typescript/src/guardian/upstream-policy.d.ts +2 -1
  15. package/dist/typescript/src/guardian/upstream-policy.js +10 -3
  16. package/dist/typescript/src/guardian/upstream-policy.md +9 -0
  17. package/dist/typescript/src/mint/contracts.d.ts +36 -9
  18. package/dist/typescript/src/mint/harness.js +80 -8
  19. package/dist/typescript/src/mint/incident-contracts.d.ts +6 -6
  20. package/dist/typescript/src/mint/openai.js +4 -2
  21. package/dist/typescript/src/mint/sign-in-failure.d.ts +2 -2
  22. package/dist/typescript/src/mint/skills.d.ts +4 -0
  23. package/dist/typescript/src/mint/skills.js +60 -61
  24. package/dist/typescript/src/runtime/failure-detail.d.ts +10 -11
  25. package/dist/typescript/src/runtime/failure-detail.js +41 -45
  26. package/dist/typescript/src/runtime/input-request.d.ts +1 -0
  27. package/dist/typescript/src/runtime/input-request.js +2 -1
  28. package/dist/typescript/src/runtime/provider-metadata.d.ts +7 -6
  29. package/dist/typescript/src/runtime/script-input.d.ts +2 -2
  30. package/dist/typescript/src/runtime/script-input.js +13 -3
  31. package/dist/typescript/src/standalone/mcp-cli.js +13 -2
  32. package/dist/typescript/src/standalone/mcp-package.js +73 -23
  33. package/dist/typescript/tests/support/credential-masking-corpus.js +2 -2
  34. package/package.json +6 -3
  35. package/third-party/codex/LICENSE +201 -0
  36. package/third-party/codex/NOTICE +6 -0
@@ -415,14 +415,16 @@ export const makeOpenAIMinter = (modelProvider, reasoningEffort = "medium", limi
415
415
  const captchaState = readCaptchaState === undefined
416
416
  ? undefined
417
417
  : tool({
418
- ...hostTool("captcha_state", "Read the trusted host's current Kernel CAPTCHA solver state for this attempt's live browser: detected, captchaType and status (not_detected, pending, solved, challenge_pending, solver_succeeded, failed, abandoned or unknown) with finite counts and ages; a solver task's success is not a solved challenge. Read-only: it never clicks, reloads, navigates, triggers a solve or extends a deadline, and it is not page evidence. Read .agents/captcha/SKILL.md before relying on it. intent states which observation prompted the check.", "CAPTCHA state could not be read. This is not evidence that a challenge was solved or absent; use current page evidence and do not retry the website action.", (request) => readCaptchaState(request)),
418
+ ...hostTool("captcha_state", turn.hostToolDescriptions?.captchaState ??
419
+ "Read the trusted host's current CAPTCHA state for this attempt's live browser, with finite counts and ages. Read-only: it never clicks, reloads, navigates, triggers a solve or extends a deadline, and it is not page evidence. intent states which observation prompted the check.", "CAPTCHA state could not be read. This is not evidence that a challenge was solved or absent; use current page evidence and do not retry the website action.", (request) => readCaptchaState(request)),
419
420
  parameters: parameters(withIntent(Schema.Struct({}))),
420
421
  });
421
422
  const requestRecovery = turn.actions.requestBrowserRecovery;
422
423
  const requestBrowserRecovery = requestRecovery === undefined
423
424
  ? undefined
424
425
  : tool({
425
- ...hostTool("request_browser_recovery", "Troubleshooting only, never part of the published tool: ask the host to replace this attempt's live browser with a new one (the host's recovery policy picks a stronger browser mode or another proxy; the new browser starts on an empty profile, signed out). Guardian reviews your reason first. The host runs no code and repeats nothing; you continue in this conversation and inspect the current page. Read .agents/browser-recovery/SKILL.md before using it. intent states what you observed and why a new browser, not a code fix, should help.", "The browser recovery request did not complete. Nothing was replaced unless a later result says so; read the page before continuing.", (_request, intent) => requestRecovery({ rationale: intent })),
426
+ ...hostTool("request_browser_recovery", turn.hostToolDescriptions?.requestBrowserRecovery ??
427
+ "Troubleshooting only, never part of the published tool: ask the host to replace this attempt's live browser with a new one, which starts on an empty profile, signed out. Guardian reviews your reason first. The host runs no code and repeats nothing; you continue in this conversation and inspect the current page. intent states what you observed and why a new browser, not a code fix, should help.", "The browser recovery request did not complete. Nothing was replaced unless a later result says so; read the page before continuing.", (_request, intent) => requestRecovery({ rationale: intent })),
426
428
  parameters: parameters(withIntent(Schema.Struct({}))),
427
429
  });
428
430
  const skillCapability = skills({ skills: [...turn.skills] });
@@ -43,14 +43,14 @@ export declare const savedProfileSetAsideNotice: (failure: SignInDiagnostic, roo
43
43
  countsTowardSignInCap: false;
44
44
  authentication: SignInDiagnostic;
45
45
  rootCause?: {
46
- subCause: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
46
+ subCause: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_page_call_failed" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
47
47
  operation?: string;
48
48
  errorName?: string;
49
49
  errorCode?: string | number;
50
50
  causeChain?: {
51
51
  name?: string;
52
52
  code?: string | number;
53
- subCause?: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
53
+ subCause?: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_page_call_failed" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
54
54
  }[];
55
55
  };
56
56
  instruction: string;
@@ -7,6 +7,10 @@ export interface WorkspaceGuide {
7
7
  /** Workspace-relative path to content, `AGENTS.md` included. */
8
8
  readonly files: ReadonlyMap<string, string>;
9
9
  }
10
+ /**
11
+ * `standalone` renders each named section's own text. `hosted` is for a host that composed the
12
+ * directory with its own text for every section first, so any section left is an error.
13
+ */
10
14
  export type AuthoringMode = "hosted" | "standalone";
11
15
  /** Pass the trusted installed authoring directory explicitly; it is not a model-selected path. */
12
16
  export declare const loadWorkspaceGuide: (directory: string, mode?: AuthoringMode) => Effect.Effect<WorkspaceGuide, MintFailure>;
@@ -20,21 +20,11 @@ const catalog = [
20
20
  description: "Discover an evidenced login entry and sign in through the host",
21
21
  references: ["auth-entry.ts"],
22
22
  },
23
- {
24
- name: "testing",
25
- description: "Meaningful offline/live checks and honest missing evidence",
26
- references: ["captured-parser.ts"],
27
- },
28
23
  {
29
24
  name: "pagination",
30
25
  description: "Warm state and fresh reconstruction for scoped read cursors",
31
26
  references: ["pagination.ts"],
32
27
  },
33
- {
34
- name: "recovery",
35
- description: "Deterministic variants and residual recovery without repeated writes",
36
- references: ["variants.ts"],
37
- },
38
28
  {
39
29
  name: "forms",
40
30
  description: "Native/custom selection, resolvers, staged forms and expected terms",
@@ -47,59 +37,72 @@ const catalog = [
47
37
  },
48
38
  {
49
39
  name: "writes",
50
- description: "Perform a write once as a live act session, confirm it, then compose and publish its script without running it again",
40
+ description: "Perform an authorized write once, confirm it, then return its integration without running it again",
51
41
  references: ["write-session.ts", "write-readback.ts"],
52
42
  },
53
- {
54
- name: "captcha",
55
- description: "Check Kernel CAPTCHA state on demand; explorations wait and report, operation code reports ChallengeFailure",
56
- references: [],
57
- },
58
- {
59
- name: "browser-recovery",
60
- description: "When the browser, not your code, is at fault: ask for a new browser with request_browser_recovery, and what a new browser cannot fix",
61
- references: [],
62
- },
63
43
  {
64
44
  name: "caller-input",
65
45
  description: "Ask the run's caller mid-run for what only they know: a choice only the page offers, or a code the site sends",
66
46
  references: ["caller-choice.ts", "caller-code.ts"],
67
47
  },
68
- {
69
- name: "http-mcp",
70
- description: "Browser-bound HTTP extraction and coherent public operation design",
71
- references: ["http-version.ts", "kernel-page-fetch.ts"],
72
- },
73
- {
74
- name: "publication",
75
- description: "Read before the first finish_build: what publication checks, private values never to publish, and how to act on each rejection",
76
- references: [],
77
- },
78
48
  ];
79
49
  /**
80
50
  * The host-owned workspace guide, relative to the authoring directory. `AGENTS.md` is the
81
51
  * always-on context: the host installs it at the workspace root and gives the same text to the
82
- * minting model as its instructions, so it holds regardless of the agent runtime. The README and
83
- * its reference sections are read on demand. Each path is installed at the same path under the
84
- * workspace root, without the `workspace/` prefix.
52
+ * minting model as its instructions, so it holds regardless of the agent runtime. The README is
53
+ * read on demand. Each path is installed at the same path under the workspace root, without the
54
+ * `workspace/` prefix.
85
55
  */
86
- const workspaceGuideFiles = [
87
- "README.md",
88
- "reference/offline-commands.md",
89
- "reference/captures.md",
90
- "reference/fixtures.md",
91
- "reference/maintenance.md",
92
- ];
93
- const standaloneSkills = new Set(["core", "auth", "pagination", "forms", "writes", "caller-input"]);
94
- /** These two composition sections keep shared browser instructions and examples identical. */
95
- const authoringText = (text, mode) => {
96
- const rendered = text.replace(/<!-- pomerado:(hosted|standalone):start\n([\s\S]*?)\npomerado:\1:end -->(?:\n(?=$))?/g, (_match, selected, content) => (selected === mode ? content : ""));
97
- if (rendered.includes("<!-- pomerado:"))
98
- throw new Error("Malformed authoring composition section");
56
+ const workspaceGuideFiles = [{ path: "README.md", sectionKey: "guide" }];
57
+ /**
58
+ * A named section is `<!-- pomerado:section ID -->`, or `<!-- pomerado:section ID:start`, its
59
+ * standalone text and `pomerado:section ID:end -->`. A section that ends the file also takes the
60
+ * file's final newline. Each ID starts with its file's key, such as `core.` in `core/SKILL.md`.
61
+ */
62
+ const section = /<!-- pomerado:section ([a-z0-9.-]+)(?: -->|:start\n([\s\S]*?)\npomerado:section \1:end -->)(?:\n(?=$))?/g;
63
+ /**
64
+ * Anything left that reads as a marker, in any case or spacing, is malformed: a broken section, or
65
+ * a 0.1.1 block such as `pomerado:hosted:end -->`. Authoring text never says `pomerado:` itself.
66
+ */
67
+ const sectionTrace = /pomerado:/i;
68
+ const fence = /^\s*(`{3,}|~{3,})/;
69
+ /** A section marker belongs to the file's own text, never to a fenced example. */
70
+ const refuseFencedSections = (text) => {
71
+ let open;
72
+ for (const line of text.split("\n")) {
73
+ const marker = fence.exec(line)?.[1];
74
+ if (marker === undefined) {
75
+ if (open !== undefined && sectionTrace.test(line))
76
+ throw new Error("Authoring section inside a code fence");
77
+ }
78
+ else if (open === undefined)
79
+ open = marker;
80
+ else if (marker[0] === open[0] && marker.length >= open.length)
81
+ open = undefined;
82
+ }
83
+ };
84
+ const authoringText = (text, mode, sectionKey) => {
85
+ if (mode === "hosted") {
86
+ if (sectionTrace.test(text))
87
+ throw new Error("Hosted authoring has a section the host did not compose");
88
+ return text;
89
+ }
90
+ refuseFencedSections(text);
91
+ const seen = new Set();
92
+ const rendered = text.replace(section, (_match, id, content) => {
93
+ if (!id.startsWith(`${sectionKey}.`))
94
+ throw new Error(`Authoring section ${id} is not one of ${sectionKey}'s`);
95
+ if (seen.has(id))
96
+ throw new Error(`Authoring section ${id} appears twice`);
97
+ seen.add(id);
98
+ return content ?? "";
99
+ });
100
+ if (sectionTrace.test(rendered))
101
+ throw new Error("Malformed authoring section");
99
102
  return rendered;
100
103
  };
101
- const readGuideFile = (directory, path, mode) => Effect.tryPromise({
102
- try: async () => authoringText(new TextDecoder("utf-8", { fatal: true }).decode(await readScopedFile(directory, `workspace/${path}`)), mode),
104
+ const readGuideFile = (directory, path, sectionKey, mode) => Effect.tryPromise({
105
+ try: async () => authoringText(new TextDecoder("utf-8", { fatal: true }).decode(await readScopedFile(directory, `workspace/${path}`)), mode, sectionKey),
103
106
  catch: (error) => new MintFailure({
104
107
  failureDetail: failureDetail("mint_host_dependency_failed", {
105
108
  operation: "readScopedFile",
@@ -111,18 +114,16 @@ const readGuideFile = (directory, path, mode) => Effect.tryPromise({
111
114
  }),
112
115
  });
113
116
  /** Pass the trusted installed authoring directory explicitly; it is not a model-selected path. */
114
- export const loadWorkspaceGuide = (directory, mode = "hosted") => Effect.gen(function* () {
115
- const instructions = yield* readGuideFile(directory, "AGENTS.md", mode);
117
+ export const loadWorkspaceGuide = (directory, mode = "standalone") => Effect.gen(function* () {
118
+ const instructions = yield* readGuideFile(directory, "AGENTS.md", "agents", mode);
116
119
  const files = new Map([["AGENTS.md", instructions]]);
117
- for (const path of mode === "hosted" ? workspaceGuideFiles : ["README.md"])
118
- files.set(path, yield* readGuideFile(directory, path, mode));
120
+ for (const { path, sectionKey } of workspaceGuideFiles)
121
+ files.set(path, yield* readGuideFile(directory, path, sectionKey, mode));
119
122
  return { instructions, files };
120
123
  });
121
124
  /** Pass the trusted installed authoring directory explicitly; it is not a model-selected path. */
122
- export const loadAuthoringSkills = (directory, mode = "hosted") => Effect.tryPromise({
123
- try: async () => Promise.all(catalog
124
- .filter((entry) => mode === "hosted" || standaloneSkills.has(entry.name))
125
- .map(async (entry) => {
125
+ export const loadAuthoringSkills = (directory, mode = "standalone") => Effect.tryPromise({
126
+ try: async () => Promise.all(catalog.map(async (entry) => {
126
127
  const references = {};
127
128
  for (const name of entry.references)
128
129
  references[name] = file({
@@ -130,10 +131,8 @@ export const loadAuthoringSkills = (directory, mode = "hosted") => Effect.tryPro
130
131
  });
131
132
  return {
132
133
  name: entry.name,
133
- description: mode === "standalone" && entry.name === "writes"
134
- ? "Perform an authorized write once, confirm it, then return its integration without running it again"
135
- : entry.description,
136
- content: new TextEncoder().encode(authoringText(new TextDecoder("utf-8", { fatal: true }).decode(await readScopedFile(directory, `${entry.name}/SKILL.md`)), mode)),
134
+ description: entry.description,
135
+ content: new TextEncoder().encode(authoringText(new TextDecoder("utf-8", { fatal: true }).decode(await readScopedFile(directory, `${entry.name}/SKILL.md`)), mode, entry.name)),
137
136
  references,
138
137
  };
139
138
  })),
@@ -1,13 +1,12 @@
1
1
  import { Schema } from "effect";
2
2
  /**
3
- * Detailed failure record shared by every host failure class. See
4
- * typescript/src/runtime/ERROR-LOGGING-STANDARD.md. The finite fields (`subCause`, `operation`,
5
- * `phase`) may reach operational logs; everything else reaches the screened diagnostic archive,
6
- * where the privacy broker screens it again under the diagnostics area policy, and, for a relayed
7
- * HTTP failure only, the sandbox's answer through `agentDetail` in `browser/http-relay.ts`.
3
+ * Detailed failure record shared by every host failure class. The finite fields (`subCause`,
4
+ * `operation`, `phase`) may reach operational logs; everything else reaches the screened
5
+ * diagnostic archive, where the privacy broker screens it again under the diagnostics area policy,
6
+ * and, for a relayed HTTP failure only, the sandbox's answer through a host's HTTP relay.
8
7
  */
9
8
  /** Stable, finite sub-causes. Add a new value rather than reusing one for a different check. */
10
- declare const failureSubCauses: readonly ["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"];
9
+ declare const failureSubCauses: readonly ["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_page_call_failed", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"];
11
10
  export type FailureSubCause = (typeof failureSubCauses)[number];
12
11
  export declare const failureDetailBounds: {
13
12
  readonly message: number;
@@ -72,7 +71,7 @@ export interface FailureDetail {
72
71
  readonly site?: string;
73
72
  }
74
73
  export declare const FailureDetailSchema: Schema.Struct<{
75
- subCause: Schema.Literal<["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"]>;
74
+ subCause: Schema.Literal<["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_page_call_failed", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"]>;
76
75
  site: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
77
76
  exact: true;
78
77
  }>;
@@ -96,7 +95,7 @@ export declare const FailureDetailSchema: Schema.Struct<{
96
95
  message: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
97
96
  exact: true;
98
97
  }>;
99
- subCause: Schema.optionalWith<Schema.Literal<["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"]>, {
98
+ subCause: Schema.optionalWith<Schema.Literal<["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_page_call_failed", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"]>, {
100
99
  exact: true;
101
100
  }>;
102
101
  fields: Schema.optionalWith<Schema.Record$<Schema.filter<typeof Schema.String>, Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean]>>, {
@@ -116,7 +115,7 @@ export declare const FailureDetailSchema: Schema.Struct<{
116
115
  message: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
117
116
  exact: true;
118
117
  }>;
119
- subCause: Schema.optionalWith<Schema.Literal<["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"]>, {
118
+ subCause: Schema.optionalWith<Schema.Literal<["cdp_endpoint_invalid", "cdp_connect_failed", "cdp_command_rejected", "cdp_command_timed_out", "cdp_command_pending_limit", "cdp_socket_error", "cdp_socket_closed", "cdp_send_failed", "cdp_frame_over_limit", "cdp_envelope_invalid", "cdp_transport_closed", "cdp_command_not_allowed", "http_relay_transport_failed", "direct_login_transport_failed", "autofill_step_failed", "recorder_start_incomplete", "recorder_context_ambiguous", "recorder_primary_missing", "recorder_target_setup_failed", "recorder_event_unreadable", "recorder_foreign_target_unclosed", "recorder_target_undetached", "recorder_request_unseen", "origin_route_blocked", "origin_policy_read_failed", "origin_policy_timeout", "origin_policy_snapshot_stale", "origin_url_invalid", "browser_origin_missing", "browser_initial_policy_failed", "browser_initial_origin_blocked", "browser_site_not_supported", "browser_entry_url_invalid", "browser_primary_page_crashed", "browser_primary_page_closed", "browser_gone", "browser_unresponsive", "browser_page_call_failed", "browser_loss_repeated", "startup_job_read_failed", "startup_attempt_superseded", "startup_cancel_requested", "startup_job_stopping", "startup_job_stopped", "startup_maintenance_work_failed", "startup_original_read_failed", "startup_original_cancel_requested", "authority_check_unreadable", "authority_unavailable_past_grace", "lease_attempt_inactive", "lease_watchdog_expired", "lease_thread_failed", "run_authority_check_unreadable", "mint_original_cancel_requested", "credentials_resolve_failed", "run_login_request_failed", "run_expired_auth_site_mismatch", "run_browser_loss_retried", "run_signed_in_session_cleared", "browser_relogin_spent", "browser_relogin_unverified", "mint_sign_in_spent", "run_browser_loss_retry_declined", "mint_expected_confirm_unscreened", "mint_admission_generation_changed", "publication_attempt_stopped", "identity_receipt_invalid", "identity_check_failed", "managed_login_credentials_rejected", "autofill_credentials_rejected", "operation_credentials_rejected", "run_autofill_sign_in_failed", "run_sign_in_executor_attached", "mint_host_settle_timeout", "mint_outside_stop_timeout", "mint_recovery_wait_timeout", "mint_recovery_unconfirmed", "model_quota_exhausted", "input_request_handoff_closed", "host_authority_reference_invalid", "host_authority_recheck_failed", "authority_server_renewal_cap_reached", "authority_server_renewal_conflict", "authority_server_renewal_stopped", "authority_server_renewal_unavailable", "authority_session_signed_out", "recovery_unsettled", "kernel_rate_limited", "mint_execution_failed", "mint_host_dependency_failed", "worker_dependency_failed", "kernel_provider_failed", "profile_operation_failed", "capture_operation_failed", "executor_boundary_failed", "sandbox_workspace_failed", "credential_connector_failed", "admission_rejected", "quota_exceeded", "dry_run_unsupported", "kubernetes_create_rejected", "launcher_draining", "launcher_at_capacity", "launcher_tenant_at_capacity", "workload_mode_forbidden", "controller_operation_forbidden", "workload_identity_mismatch", "launch_superseded", "capability_refused", "worker_launcher_unreachable", "job_storage_failed", "private_input_storage_failed", "deploybot_operation_failed", "gateway_dependency_failed", "guardian_dependency_failed", "application_dependency_failed", "provider_failed", "integration_dependency_failed", "dependency_failed", "invalid_input", "not_found", "unclassified"]>, {
120
119
  exact: true;
121
120
  }>;
122
121
  fields: Schema.optionalWith<Schema.Record$<Schema.filter<typeof Schema.String>, Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.Number>, typeof Schema.Boolean]>>, {
@@ -210,14 +209,14 @@ export declare const failureDetailFiniteMetadata: (value: unknown) => {
210
209
  * cause, never on a wrapper's generic code.
211
210
  */
212
211
  export declare const failureRootCause: (value: unknown) => {
213
- subCause: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
212
+ subCause: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_page_call_failed" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
214
213
  operation?: string;
215
214
  errorName?: string;
216
215
  errorCode?: string | number;
217
216
  causeChain?: {
218
217
  name?: string;
219
218
  code?: string | number;
220
- subCause?: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
219
+ subCause?: "admission_rejected" | "application_dependency_failed" | "authority_check_unreadable" | "authority_server_renewal_cap_reached" | "authority_server_renewal_conflict" | "authority_server_renewal_stopped" | "authority_server_renewal_unavailable" | "authority_session_signed_out" | "authority_unavailable_past_grace" | "autofill_credentials_rejected" | "autofill_step_failed" | "browser_entry_url_invalid" | "browser_gone" | "browser_initial_origin_blocked" | "browser_initial_policy_failed" | "browser_loss_repeated" | "browser_origin_missing" | "browser_page_call_failed" | "browser_primary_page_closed" | "browser_primary_page_crashed" | "browser_relogin_spent" | "browser_relogin_unverified" | "browser_site_not_supported" | "browser_unresponsive" | "capability_refused" | "capture_operation_failed" | "cdp_command_not_allowed" | "cdp_command_pending_limit" | "cdp_command_rejected" | "cdp_command_timed_out" | "cdp_connect_failed" | "cdp_endpoint_invalid" | "cdp_envelope_invalid" | "cdp_frame_over_limit" | "cdp_send_failed" | "cdp_socket_closed" | "cdp_socket_error" | "cdp_transport_closed" | "controller_operation_forbidden" | "credential_connector_failed" | "credentials_resolve_failed" | "dependency_failed" | "deploybot_operation_failed" | "direct_login_transport_failed" | "dry_run_unsupported" | "executor_boundary_failed" | "gateway_dependency_failed" | "guardian_dependency_failed" | "host_authority_recheck_failed" | "host_authority_reference_invalid" | "http_relay_transport_failed" | "identity_check_failed" | "identity_receipt_invalid" | "input_request_handoff_closed" | "integration_dependency_failed" | "invalid_input" | "job_storage_failed" | "kernel_provider_failed" | "kernel_rate_limited" | "kubernetes_create_rejected" | "launch_superseded" | "launcher_at_capacity" | "launcher_draining" | "launcher_tenant_at_capacity" | "lease_attempt_inactive" | "lease_thread_failed" | "lease_watchdog_expired" | "managed_login_credentials_rejected" | "mint_admission_generation_changed" | "mint_execution_failed" | "mint_expected_confirm_unscreened" | "mint_host_dependency_failed" | "mint_host_settle_timeout" | "mint_original_cancel_requested" | "mint_outside_stop_timeout" | "mint_recovery_unconfirmed" | "mint_recovery_wait_timeout" | "mint_sign_in_spent" | "model_quota_exhausted" | "not_found" | "operation_credentials_rejected" | "origin_policy_read_failed" | "origin_policy_snapshot_stale" | "origin_policy_timeout" | "origin_route_blocked" | "origin_url_invalid" | "private_input_storage_failed" | "profile_operation_failed" | "provider_failed" | "publication_attempt_stopped" | "quota_exceeded" | "recorder_context_ambiguous" | "recorder_event_unreadable" | "recorder_foreign_target_unclosed" | "recorder_primary_missing" | "recorder_request_unseen" | "recorder_start_incomplete" | "recorder_target_setup_failed" | "recorder_target_undetached" | "recovery_unsettled" | "run_authority_check_unreadable" | "run_autofill_sign_in_failed" | "run_browser_loss_retried" | "run_browser_loss_retry_declined" | "run_expired_auth_site_mismatch" | "run_login_request_failed" | "run_sign_in_executor_attached" | "run_signed_in_session_cleared" | "sandbox_workspace_failed" | "startup_attempt_superseded" | "startup_cancel_requested" | "startup_job_read_failed" | "startup_job_stopped" | "startup_job_stopping" | "startup_maintenance_work_failed" | "startup_original_cancel_requested" | "startup_original_read_failed" | "unclassified" | "worker_dependency_failed" | "worker_launcher_unreachable" | "workload_identity_mismatch" | "workload_mode_forbidden";
221
220
  }[];
222
221
  } | undefined;
223
222
  export {};