lua-cli 3.49.0 → 3.49.1

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.
@@ -1945,6 +1945,8 @@ export declare interface BatchingConfig {
1945
1945
 
1946
1946
  export declare const Browser: BrowserApi;
1947
1947
 
1948
+ declare const BROWSER_BOT_WALL_KINDS: readonly ["captcha", "bot-block", "empty-content"];
1949
+
1948
1950
  /**
1949
1951
  * The full command surface (mirrors the desktop bridge's registry). Grouped the
1950
1952
  * way the agent-browser CLI groups them so the surface is complete without
@@ -2109,6 +2111,8 @@ declare const BROWSER_FALLBACKS: readonly ["browser-use", "none"];
2109
2111
 
2110
2112
  declare const BROWSER_LOG_CONTENT_MODES: readonly ["summary", "full", "none"];
2111
2113
 
2114
+ declare const BROWSER_READ_BOT_WALL_BLOCKER = "bot_wall";
2115
+
2112
2116
  declare const BROWSER_READ_FORMATS: readonly ["text", "html", "markdown"];
2113
2117
 
2114
2118
  declare const BROWSER_READ_LOAD_STATES: readonly ["load", "networkidle"];
@@ -2124,6 +2128,8 @@ export declare interface BrowserApi extends BrowserStepwiseApi {
2124
2128
 
2125
2129
  export declare type BrowserApiReadOptions = BrowserReadOptions & BrowserProfileOption;
2126
2130
 
2131
+ declare type BrowserBotWallKind = (typeof BROWSER_BOT_WALL_KINDS)[number];
2132
+
2127
2133
  export declare interface BrowserCommandInputs {
2128
2134
  health: BrowserSessionInput;
2129
2135
  session_open: BrowserSessionInput & {
@@ -2434,9 +2440,13 @@ export declare interface BrowserReadResult {
2434
2440
  matches?: number;
2435
2441
  /** Set when the page is a wall rather than the content you asked for. */
2436
2442
  blocked?: true;
2437
- /** `'login_required'`: the URL redirected to a sign-in page, so the content needs a signed-in session. */
2438
- blocker?: typeof BROWSER_READ_LOGIN_BLOCKER;
2439
- blockerKind?: 'login';
2443
+ /**
2444
+ * `'login_required'`: the URL redirected to a sign-in page, so the content needs a signed-in session.
2445
+ * `'bot_wall'`: the site showed a captcha, refused the automated browser, or served an empty page; `content` is
2446
+ * that wall, not the page you asked for.
2447
+ */
2448
+ blocker?: typeof BROWSER_READ_LOGIN_BLOCKER | typeof BROWSER_READ_BOT_WALL_BLOCKER;
2449
+ blockerKind?: 'login' | BrowserBotWallKind;
2440
2450
  /** What to do about the wall. */
2441
2451
  blockerGuidance?: string;
2442
2452
  }
@@ -3570,6 +3580,7 @@ declare const DECISION_ERROR_CODES: {
3570
3580
  readonly DISABLED: "decision_disabled";
3571
3581
  readonly INSUFFICIENT_CREDITS: "decision_insufficient_credits";
3572
3582
  readonly NOT_FOUND: "decision_not_found";
3583
+ readonly CANCELLED: "decision_cancelled";
3573
3584
  };
3574
3585
 
3575
3586
  declare const DECISION_PROVIDERS: readonly ["jev", "openai"];
@@ -11273,6 +11284,12 @@ declare const WORKFLOW_AGENT_EFFORTS: readonly ["low", "medium", "high"];
11273
11284
  /** `approval.onDeny` (§6.4.11 deny-as-data): `'fail'` fails the step on a denial; default `'continue'`. */
11274
11285
  declare const WORKFLOW_APPROVAL_ON_DENY: readonly ["fail", "continue"];
11275
11286
 
11287
+ /** Default `budget.maxDurationSeconds` of a workflow run (7 days). @catalogLimit workflow.run.defaultMaxDuration seconds */
11288
+ export declare const WORKFLOW_DEFAULT_MAX_DURATION_SECONDS = 604800;
11289
+
11290
+ /** Default `budget.maxDurationSeconds` when the graph can park on a human (approval, signal, suspend): 30 days. @catalogLimit workflow.run.hitlDefaultMaxDuration seconds */
11291
+ export declare const WORKFLOW_HITL_MAX_DURATION_SECONDS = 2592000;
11292
+
11276
11293
  /** D19-r2 (B22; 05 §5.17.6 Harness row) — both behind one `CodingHarness { run(turn) }`. */
11277
11294
  declare const WORKFLOW_JOB_HARNESSES: readonly ["claude-code", "generic"];
11278
11295
 
@@ -11443,6 +11460,8 @@ export declare interface WorkflowGoalEnvelope {
11443
11460
  maxRuns: number;
11444
11461
  budget?: LuaWorkflowConfig['budget'];
11445
11462
  maxTotalCredits?: number;
11463
+ /** The organisation's budget unit, as reported by the server (read-only; never sent on create). */
11464
+ budgetUnit?: 'actions' | 'credits';
11446
11465
  initialState?: Record<string, unknown>;
11447
11466
  }
11448
11467