This commit is contained in:
Shuchang Zheng
2026-02-03 10:40:03 -08:00
committed by GitHub
parent 8d0ad3901e
commit 10fa135aa1
18 changed files with 202 additions and 155 deletions

View File

@@ -26,8 +26,8 @@ export class SkyvernClient {
"x-api-key": _options?.apiKey,
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@skyvern/client",
"X-Fern-SDK-Version": "1.0.11",
"User-Agent": "@skyvern/client/1.0.11",
"X-Fern-SDK-Version": "1.0.12",
"User-Agent": "@skyvern/client/1.0.12",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},

View File

@@ -86,6 +86,8 @@ export interface TaskRunRequest {
max_screenshot_scrolls?: number;
/** The CDP address for the task. */
browser_address?: string;
/** Whether to run the task with agent or code. */
run_with?: string;
}
export namespace TaskRunRequest {

View File

@@ -1,5 +1,11 @@
// This file was auto-generated by Fern from our API Definition.
/**
* Scenario in which a thought was generated.
*
* Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
* can be added without database migrations. See observer_thoughts.observer_thought_scenario column.
*/
export const ThoughtScenario = {
GeneratePlan: "generate_plan",
UserGoalCheck: "user_goal_check",
@@ -9,5 +15,6 @@ export const ThoughtScenario = {
ExtractLoopValues: "extract_loop_values",
GenerateTaskInLoop: "generate_task_in_loop",
GenerateGeneralTask: "generate_general_task",
Termination: "termination",
} as const;
export type ThoughtScenario = (typeof ThoughtScenario)[keyof typeof ThoughtScenario];

View File

@@ -1,10 +1,17 @@
// This file was auto-generated by Fern from our API Definition.
/**
* Type of thought recorded during task execution.
*
* Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
* can be added without database migrations. See observer_thoughts.observer_thought_type column.
*/
export const ThoughtType = {
Plan: "plan",
Metadata: "metadata",
UserGoalCheck: "user_goal_check",
InternalPlan: "internal_plan",
FailureDescribe: "failure_describe",
Termination: "termination",
} as const;
export type ThoughtType = (typeof ThoughtType)[keyof typeof ThoughtType];

View File

@@ -1 +1 @@
export const SDK_VERSION = "1.0.11";
export const SDK_VERSION = "1.0.12";