pomerado 0.1.0 → 0.1.2

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 (41) hide show
  1. package/README.md +4 -2
  2. package/dist/typescript/authoring/core/SKILL.md +12 -0
  3. package/dist/typescript/authoring/examples/dates-and-dropdowns.js +5 -2
  4. package/dist/typescript/authoring/examples/dates-and-dropdowns.ts +5 -2
  5. package/dist/typescript/authoring/examples/dates-and-files.d.ts +4 -4
  6. package/dist/typescript/authoring/examples/dates-and-files.js +5 -5
  7. package/dist/typescript/authoring/examples/dates-and-files.ts +5 -5
  8. package/dist/typescript/authoring/examples/dialog-picker.d.ts +2 -2
  9. package/dist/typescript/authoring/examples/dialog-picker.js +3 -3
  10. package/dist/typescript/authoring/examples/dialog-picker.ts +3 -3
  11. package/dist/typescript/authoring/examples/native-dialog.d.ts +2 -2
  12. package/dist/typescript/authoring/examples/native-dialog.js +3 -3
  13. package/dist/typescript/authoring/examples/native-dialog.ts +3 -3
  14. package/dist/typescript/authoring/examples/navigation.d.ts +4 -4
  15. package/dist/typescript/authoring/examples/navigation.js +8 -5
  16. package/dist/typescript/authoring/examples/navigation.ts +8 -5
  17. package/dist/typescript/authoring/examples/parser.d.ts +2 -2
  18. package/dist/typescript/authoring/examples/parser.js +1 -1
  19. package/dist/typescript/authoring/examples/parser.ts +1 -1
  20. package/dist/typescript/authoring/examples/write-session.d.ts +13 -13
  21. package/dist/typescript/authoring/examples/write-session.js +9 -9
  22. package/dist/typescript/authoring/examples/write-session.ts +9 -9
  23. package/dist/typescript/src/guardian/upstream-policy.d.ts +2 -1
  24. package/dist/typescript/src/guardian/upstream-policy.js +10 -3
  25. package/dist/typescript/src/guardian/upstream-policy.md +9 -0
  26. package/dist/typescript/src/mint/contracts.d.ts +9 -2
  27. package/dist/typescript/src/mint/contracts.js +8 -0
  28. package/dist/typescript/src/mint/harness.js +5 -1
  29. package/dist/typescript/src/mint/incident-contracts.d.ts +6 -6
  30. package/dist/typescript/src/mint/publication-block.js +2 -1
  31. package/dist/typescript/src/mint/registry-feedback.js +4 -0
  32. package/dist/typescript/src/mint/sign-in-failure.d.ts +2 -2
  33. package/dist/typescript/src/registry/issues.d.ts +3 -1
  34. package/dist/typescript/src/registry/site-naming.d.ts +7 -0
  35. package/dist/typescript/src/registry/site-naming.js +6 -0
  36. package/dist/typescript/src/runtime/failure-detail.d.ts +10 -11
  37. package/dist/typescript/src/runtime/failure-detail.js +41 -45
  38. package/dist/typescript/tests/support/credential-masking-corpus.js +2 -2
  39. package/package.json +9 -2
  40. package/third-party/codex/LICENSE +201 -0
  41. package/third-party/codex/NOTICE +6 -0
@@ -6,14 +6,21 @@ export class UpstreamPolicySlotInvalid extends Data.TaggedError("UpstreamPolicyS
6
6
  return `The upstream Guardian policy must contain ${tenantPolicySlot} exactly once; it contains it ${this.slots} times`;
7
7
  }
8
8
  }
9
+ /**
10
+ * The policy file's opening licence notice, which is for readers and never reaches the model. A
11
+ * byte order mark or whitespace before it, and any line endings after it, go with it.
12
+ */
13
+ const leadingNotice = /^\uFEFF?\s*<!--[\s\S]*?-->\s*/;
9
14
  /**
10
15
  * Puts Pomerado's policy in the upstream policy's one slot. An adapter calls it when it is built,
11
16
  * so a policy file without the slot stops startup instead of Guardian reviewing without
12
- * Pomerado's policy.
17
+ * Pomerado's policy. A leading HTML comment is dropped first, so the file's licence notice is
18
+ * neither sent to the model nor counted as a slot.
13
19
  */
14
20
  export const withTenantPolicy = (upstreamPolicy, tenantPolicy) => {
15
- const slots = upstreamPolicy.split(tenantPolicySlot).length - 1;
21
+ const policy = upstreamPolicy.replace(leadingNotice, "");
22
+ const slots = policy.split(tenantPolicySlot).length - 1;
16
23
  if (slots !== 1)
17
24
  throw new UpstreamPolicySlotInvalid({ slots });
18
- return upstreamPolicy.replace(tenantPolicySlot, tenantPolicy);
25
+ return policy.replace(tenantPolicySlot, tenantPolicy);
19
26
  };
@@ -1,3 +1,12 @@
1
+ <!--
2
+ Source: OpenAI Codex, codex-rs/prompts/templates/guardian/policy_template.md at commit
3
+ 3724dc836155f30acd47616d9c778a0a1cc91160, https://github.com/openai/codex
4
+ Copyright 2025 OpenAI. Licensed under the Apache License, Version 2.0. See
5
+ third-party/codex/LICENSE and third-party/codex/NOTICE.
6
+ Modified by Pomerado. Blank lines were added after headings. Pomerado inserts its own policy at
7
+ the slot below at runtime. Guardian drops this comment before the policy reaches the model.
8
+ -->
9
+
1
10
  You are judging one planned coding-agent action.
2
11
  Assess the exact action's intrinsic risk and whether the transcript authorizes its target and side effects. Then derive `outcome` from the security policy, `risk_level`, and `user_authorization`.
3
12
  Your primary objective is to determine whether the action poses a risk of irreversible damage to the user or their organization, and whether the security policy allows that risk under the observed authorization.
@@ -182,8 +182,12 @@ export declare class MintFailure extends MintFailure_base<{
182
182
  | "login_url_one_time"
183
183
  /** The login URL to publish carries a registered credential; refused every time. */
184
184
  | "login_url_contains_credential"
185
- /** The name or description to publish carries a registered credential; refused every time. */
185
+ /** The name, description, site name or summary to publish carries a registered credential. */
186
186
  | "metadata_contains_credential"
187
+ /** The site's integration has no name yet, and the metadata names no `siteName` and `siteSummary`. */
188
+ | "site_metadata_required"
189
+ /** Another enabled tool in the integration this would join has the same tool name. */
190
+ | "tool_name_taken"
187
191
  /** The publication gate refused a file Guardian's review reads; `publicationBlock` names it. */
188
192
  | "evidence_screening"
189
193
  /** A `read_source` of a capture the workspace does not hold: it is not saved yet. */
@@ -192,7 +196,7 @@ export declare class MintFailure extends MintFailure_base<{
192
196
  readonly publicationFeedback?: {
193
197
  readonly oneTimeParameters?: readonly string[];
194
198
  readonly parts?: readonly {
195
- readonly part: "loginUrl" | "name" | "description";
199
+ readonly part: "loginUrl" | "name" | "description" | "siteName" | "siteSummary";
196
200
  readonly credentialKinds: readonly string[];
197
201
  }[];
198
202
  };
@@ -440,6 +444,9 @@ export declare const PublicationRequest: Schema.Struct<{
440
444
  metadata: Schema.Struct<{
441
445
  name: typeof Schema.String;
442
446
  description: typeof Schema.String;
447
+ /** Required only while the site's integration has no name yet; a later one is ignored. */
448
+ siteName: Schema.optional<Schema.refine<string, Schema.filter<Schema.filter<typeof Schema.String>>>>;
449
+ siteSummary: Schema.optional<Schema.refine<string, Schema.filter<Schema.filter<typeof Schema.String>>>>;
443
450
  supportedVariants: Schema.optional<Schema.filter<Schema.filter<Schema.Array$<Schema.Struct<{
444
451
  id: Schema.filter<typeof Schema.String>;
445
452
  entrypoint: Schema.filter<typeof Schema.String>;
@@ -2,6 +2,7 @@ import { CredentialRejectedField } from "../runtime/authentication.js";
2
2
  import { IntakeReasonCode } from "../capabilities/intake-contracts.js";
3
3
  import { Context, Data, Schema } from "effect";
4
4
  import { AutofillPopup, AutofillApproval, DateOfBirthFormat, IdentifierKinds, maximumStepFields, RejectedMarker, SecretSlots, SignInMethodChoice, } from "../destinations/autofill-contracts.js";
5
+ import { SiteNaming } from "../registry/site-naming.js";
5
6
  import { SupportedOperationVariant } from "../registry/operation-variants.js";
6
7
  import { ChoiceQuestion, ConfirmQuestion, MultiChoiceQuestion, SecretQuestion, TextQuestion, } from "../runtime/input-request.js";
7
8
  import { PublicationFinding, PublicationReason } from "../guardian/review-contracts.js";
@@ -152,6 +153,13 @@ export const PublicationRequest = Schema.Struct({
152
153
  metadata: Schema.Struct({
153
154
  name: Schema.String,
154
155
  description: Schema.String,
156
+ /** Required only while the site's integration has no name yet; a later one is ignored. */
157
+ siteName: Schema.optional(SiteNaming.fields.name.annotations({
158
+ description: "The site's everyday name, as people say it, such as Google Flights",
159
+ })),
160
+ siteSummary: Schema.optional(SiteNaming.fields.summary.annotations({
161
+ description: "One sentence on what the site is, not what this tool does",
162
+ })),
155
163
  supportedVariants: Schema.optional(Schema.Array(SupportedOperationVariant).pipe(Schema.minItems(1), Schema.maxItems(32))),
156
164
  }),
157
165
  coverage: Schema.String,
@@ -1969,6 +1969,10 @@ export const runMint = (input) => Effect.scoped(Effect.gen(function* () {
1969
1969
  instruction: "Not published: the source this repair would publish is byte for byte the registered revision's, so there is nothing to publish. A new name or description alone is not a repair. The registered revision stays current and this repair ends here; do not call finish_build again.",
1970
1970
  });
1971
1971
  }
1972
+ if (error.reason === "tool_name_taken")
1973
+ return notPublished(error.code, error.reason, {}, `Not published and not reviewed: ${registryRefusal("tool_name_taken").instruction}`);
1974
+ if (error.reason === "site_metadata_required")
1975
+ return notPublished(error.code, error.reason, {}, "Not published and not reviewed: this is the first tool of this site's integration, which takes its name from this publication. Add siteName, the site's everyday name as people say it (such as Google Flights, 1 to 60 characters), and siteSummary, one sentence on what the site is, not what this tool does (1 to 160 characters), to finish_build's metadata, and call finish_build again with the same executionId. Both are public: write them from what the site shows anyone, never from this account or session.");
1972
1976
  if (error.reason === "variants_unsupported")
1973
1977
  return notPublished(error.code, error.reason, {}, "Not published: this Kernel script declares supportedVariants, and only Effect runs dispatch variants, so every call would fail with InvalidOutput. Either remove supportedVariants from the tool's metadata (keep one script that handles the variation itself) and call finish_build again with the same executionId; the recorded example and result stay valid and nothing needs to run again. Or, if variants are essential, make it an offline tool: execute a new example with target pureFiles, then call finish_build with that new executionId. The same executionId is refused again while its receipt is a Kernel script.");
1974
1978
  if (error.reason === "http_implementation_untested" ||
@@ -1981,7 +1985,7 @@ export const runMint = (input) => Effect.scoped(Effect.gen(function* () {
1981
1985
  return notPublished(error.code, error.reason, { ...error.publicationFeedback }, "Not published yet: the login URL this tool would publish (the loginUrl you passed to authenticate, or the page the browser was on when you passed none) is one authorization request: an identity provider's authorize URL, or a URL carrying one-time authorization values (oneTimeParameters names the authorize path and those values). They are spent once this sign-in ends, so later runs that reopen it would start from stale values. The host changed nothing. Navigate the browser to the site's stable sign-in entry, the page a person would bookmark or the site's own login link before it redirected, run authenticate again with that page's address as loginUrl, then call finish_build again with the same executionId. If no stable entry exists, call finish_build again and the host publishes the URL as it is, flagged. The host asks only once.");
1982
1986
  if (error.reason === "login_url_contains_credential" ||
1983
1987
  error.reason === "metadata_contains_credential")
1984
- return notPublished(error.code, error.reason, { ...error.publicationFeedback }, "Not published: each part named in parts holds a registered credential (credentialKinds names the kind, never the value). A published tool never carries one, and the host changes nothing itself. For loginUrl, run authenticate again with a login URL that has no credential in it, the site's plain sign-in page. For name or description, rewrite the text without it. Then call finish_build again with the same executionId. The host refuses every time until the credential is gone; the build is not over.");
1988
+ return notPublished(error.code, error.reason, { ...error.publicationFeedback }, "Not published: each part named in parts holds a registered credential (credentialKinds names the kind, never the value). A published tool never carries one, and the host changes nothing itself. For loginUrl, run authenticate again with a login URL that has no credential in it, the site's plain sign-in page. For name, description, siteName or siteSummary, rewrite the text without it. Then call finish_build again with the same executionId. The host refuses every time until the credential is gone; the build is not over.");
1985
1989
  if (error.reason === "secret_handle") {
1986
1990
  const path = error.screening?.path ?? "the source";
1987
1991
  return notPublished(error.code, error.reason, { path: error.screening?.path }, `Not published: ${path} holds a {{secret.…}} handle. A handle works only in this build's own executions, where the host fills in the caller's answer; published code never holds a handle or a value. Declare the value as a secret question in the operation's questions and read it with ask at run time, as .agents/caller-input/SKILL.md shows, then call finish_build again.`);
@@ -58,7 +58,7 @@ export declare const MintIncident: Schema.Union<[Schema.Struct<{
58
58
  exact: true;
59
59
  }>;
60
60
  detail: Schema.optionalWith<Schema.Struct<{
61
- 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"]>;
61
+ 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"]>;
62
62
  site: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
63
63
  exact: true;
64
64
  }>;
@@ -82,7 +82,7 @@ export declare const MintIncident: Schema.Union<[Schema.Struct<{
82
82
  message: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
83
83
  exact: true;
84
84
  }>;
85
- 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"]>, {
85
+ 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"]>, {
86
86
  exact: true;
87
87
  }>;
88
88
  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]>>, {
@@ -102,7 +102,7 @@ export declare const MintIncident: Schema.Union<[Schema.Struct<{
102
102
  message: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
103
103
  exact: true;
104
104
  }>;
105
- 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"]>, {
105
+ 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"]>, {
106
106
  exact: true;
107
107
  }>;
108
108
  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]>>, {
@@ -162,7 +162,7 @@ export declare const MintIncident: Schema.Union<[Schema.Struct<{
162
162
  exact: true;
163
163
  }>;
164
164
  detail: Schema.Struct<{
165
- 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"]>;
165
+ 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"]>;
166
166
  site: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
167
167
  exact: true;
168
168
  }>;
@@ -186,7 +186,7 @@ export declare const MintIncident: Schema.Union<[Schema.Struct<{
186
186
  message: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
187
187
  exact: true;
188
188
  }>;
189
- 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"]>, {
189
+ 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"]>, {
190
190
  exact: true;
191
191
  }>;
192
192
  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]>>, {
@@ -206,7 +206,7 @@ export declare const MintIncident: Schema.Union<[Schema.Struct<{
206
206
  message: Schema.optionalWith<Schema.filter<typeof Schema.String>, {
207
207
  exact: true;
208
208
  }>;
209
- 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"]>, {
209
+ 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"]>, {
210
210
  exact: true;
211
211
  }>;
212
212
  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]>>, {
@@ -30,9 +30,10 @@ const matched = (block) => {
30
30
  */
31
31
  const definitionFeedback = (block) => {
32
32
  const file = "publication/definition.json";
33
- const part = block.section ?? "its name, description, schemas or supported variants";
33
+ const part = block.section ?? "its name, description, site, schemas or supported variants";
34
34
  const metadata = block.section === "name" ||
35
35
  block.section === "description" ||
36
+ block.section === "site" ||
36
37
  block.section === "supportedVariants";
37
38
  const fix = metadata
38
39
  ? "Change it in finish_build's metadata, then call finish_build again with the same executionId."
@@ -61,6 +61,10 @@ const feedback = {
61
61
  fixable: true,
62
62
  instruction: "The published tool changed while this build ran: another publication advanced it, and the host did not commit this build over it. If this build should still replace that version, call finish_build again with the same executionId; the host reads the current version and reviews the publication afresh. Otherwise end the build.",
63
63
  },
64
+ tool_name_taken: {
65
+ fixable: true,
66
+ instruction: 'Another tool on this site already has this name: tool names are unique within a site\'s integration, and callers pick a tool by its name. Give this tool a name that says what it does differently, a 2–5 word verb phrase such as "Search award flights" beside "Search flights", in finish_build\'s metadata, and call finish_build again with the same executionId.',
67
+ },
64
68
  revision_exists: {
65
69
  fixable: false,
66
70
  instruction: "The registry already holds a different revision under this build's revision id.",
@@ -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;
@@ -1 +1,3 @@
1
- export type RegistryIssue = "definition_invalid" | "site_origin_invalid" | "destination_evidence_invalid" | "variants_invalid" | "login_url_without_signed_in_browser" | "login_url_unusable" | "target_mismatch" | "write_confirmation_on_read" | "catalog_generation_invalid" | "attempt_stopped" | "catalog_moved" | "variant_removed" | "variant_contract_changed" | "generation_moved" | "revision_exists";
1
+ export type RegistryIssue = "definition_invalid" | "site_origin_invalid" | "destination_evidence_invalid" | "variants_invalid" | "login_url_without_signed_in_browser" | "login_url_unusable" | "target_mismatch" | "write_confirmation_on_read" | "catalog_generation_invalid" | "attempt_stopped" | "catalog_moved" | "variant_removed" | "variant_contract_changed" | "generation_moved" | "revision_exists"
2
+ /** Another enabled tool in the integration has the same tool name. */
3
+ | "tool_name_taken";
@@ -0,0 +1,7 @@
1
+ import { Schema } from "effect";
2
+ /** A website integration's site: its everyday name ("Google Flights") and what the site is, never its tools. */
3
+ export declare const SiteNaming: Schema.Struct<{
4
+ name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
5
+ summary: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
6
+ }>;
7
+ export type SiteNaming = typeof SiteNaming.Type;
@@ -0,0 +1,6 @@
1
+ import { Schema } from "effect";
2
+ /** A website integration's site: its everyday name ("Google Flights") and what the site is, never its tools. */
3
+ export const SiteNaming = Schema.Struct({
4
+ name: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(60), Schema.pattern(/\S/)),
5
+ summary: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(160), Schema.pattern(/\S/)),
6
+ });
@@ -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 {};