@skyvern/client 1.0.11 → 1.0.12

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.
@@ -56,8 +56,8 @@ class SkyvernClient {
56
56
  "x-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@skyvern/client",
59
- "X-Fern-SDK-Version": "1.0.11",
60
- "User-Agent": "@skyvern/client/1.0.11",
59
+ "X-Fern-SDK-Version": "1.0.12",
60
+ "User-Agent": "@skyvern/client/1.0.12",
61
61
  "X-Fern-Runtime": core.RUNTIME.type,
62
62
  "X-Fern-Runtime-Version": core.RUNTIME.version,
63
63
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -83,6 +83,8 @@ export interface TaskRunRequest {
83
83
  max_screenshot_scrolls?: number;
84
84
  /** The CDP address for the task. */
85
85
  browser_address?: string;
86
+ /** Whether to run the task with agent or code. */
87
+ run_with?: string;
86
88
  }
87
89
  export declare namespace TaskRunRequest {
88
90
  /**
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Scenario in which a thought was generated.
3
+ *
4
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
5
+ * can be added without database migrations. See observer_thoughts.observer_thought_scenario column.
6
+ */
1
7
  export declare const ThoughtScenario: {
2
8
  readonly GeneratePlan: "generate_plan";
3
9
  readonly UserGoalCheck: "user_goal_check";
@@ -7,5 +13,6 @@ export declare const ThoughtScenario: {
7
13
  readonly ExtractLoopValues: "extract_loop_values";
8
14
  readonly GenerateTaskInLoop: "generate_task_in_loop";
9
15
  readonly GenerateGeneralTask: "generate_general_task";
16
+ readonly Termination: "termination";
10
17
  };
11
18
  export type ThoughtScenario = (typeof ThoughtScenario)[keyof typeof ThoughtScenario];
@@ -2,6 +2,12 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ThoughtScenario = void 0;
5
+ /**
6
+ * Scenario in which a thought was generated.
7
+ *
8
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
9
+ * can be added without database migrations. See observer_thoughts.observer_thought_scenario column.
10
+ */
5
11
  exports.ThoughtScenario = {
6
12
  GeneratePlan: "generate_plan",
7
13
  UserGoalCheck: "user_goal_check",
@@ -11,4 +17,5 @@ exports.ThoughtScenario = {
11
17
  ExtractLoopValues: "extract_loop_values",
12
18
  GenerateTaskInLoop: "generate_task_in_loop",
13
19
  GenerateGeneralTask: "generate_general_task",
20
+ Termination: "termination",
14
21
  };
@@ -1,8 +1,15 @@
1
+ /**
2
+ * Type of thought recorded during task execution.
3
+ *
4
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
5
+ * can be added without database migrations. See observer_thoughts.observer_thought_type column.
6
+ */
1
7
  export declare const ThoughtType: {
2
8
  readonly Plan: "plan";
3
9
  readonly Metadata: "metadata";
4
10
  readonly UserGoalCheck: "user_goal_check";
5
11
  readonly InternalPlan: "internal_plan";
6
12
  readonly FailureDescribe: "failure_describe";
13
+ readonly Termination: "termination";
7
14
  };
8
15
  export type ThoughtType = (typeof ThoughtType)[keyof typeof ThoughtType];
@@ -2,10 +2,17 @@
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.ThoughtType = void 0;
5
+ /**
6
+ * Type of thought recorded during task execution.
7
+ *
8
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
9
+ * can be added without database migrations. See observer_thoughts.observer_thought_type column.
10
+ */
5
11
  exports.ThoughtType = {
6
12
  Plan: "plan",
7
13
  Metadata: "metadata",
8
14
  UserGoalCheck: "user_goal_check",
9
15
  InternalPlan: "internal_plan",
10
16
  FailureDescribe: "failure_describe",
17
+ Termination: "termination",
11
18
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.11";
1
+ export declare const SDK_VERSION = "1.0.12";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.0.11";
4
+ exports.SDK_VERSION = "1.0.12";
@@ -20,8 +20,8 @@ export class SkyvernClient {
20
20
  "x-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@skyvern/client",
23
- "X-Fern-SDK-Version": "1.0.11",
24
- "User-Agent": "@skyvern/client/1.0.11",
23
+ "X-Fern-SDK-Version": "1.0.12",
24
+ "User-Agent": "@skyvern/client/1.0.12",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -83,6 +83,8 @@ export interface TaskRunRequest {
83
83
  max_screenshot_scrolls?: number;
84
84
  /** The CDP address for the task. */
85
85
  browser_address?: string;
86
+ /** Whether to run the task with agent or code. */
87
+ run_with?: string;
86
88
  }
87
89
  export declare namespace TaskRunRequest {
88
90
  /**
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Scenario in which a thought was generated.
3
+ *
4
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
5
+ * can be added without database migrations. See observer_thoughts.observer_thought_scenario column.
6
+ */
1
7
  export declare const ThoughtScenario: {
2
8
  readonly GeneratePlan: "generate_plan";
3
9
  readonly UserGoalCheck: "user_goal_check";
@@ -7,5 +13,6 @@ export declare const ThoughtScenario: {
7
13
  readonly ExtractLoopValues: "extract_loop_values";
8
14
  readonly GenerateTaskInLoop: "generate_task_in_loop";
9
15
  readonly GenerateGeneralTask: "generate_general_task";
16
+ readonly Termination: "termination";
10
17
  };
11
18
  export type ThoughtScenario = (typeof ThoughtScenario)[keyof typeof ThoughtScenario];
@@ -1,4 +1,10 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
+ /**
3
+ * Scenario in which a thought was generated.
4
+ *
5
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
6
+ * can be added without database migrations. See observer_thoughts.observer_thought_scenario column.
7
+ */
2
8
  export const ThoughtScenario = {
3
9
  GeneratePlan: "generate_plan",
4
10
  UserGoalCheck: "user_goal_check",
@@ -8,4 +14,5 @@ export const ThoughtScenario = {
8
14
  ExtractLoopValues: "extract_loop_values",
9
15
  GenerateTaskInLoop: "generate_task_in_loop",
10
16
  GenerateGeneralTask: "generate_general_task",
17
+ Termination: "termination",
11
18
  };
@@ -1,8 +1,15 @@
1
+ /**
2
+ * Type of thought recorded during task execution.
3
+ *
4
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
5
+ * can be added without database migrations. See observer_thoughts.observer_thought_type column.
6
+ */
1
7
  export declare const ThoughtType: {
2
8
  readonly Plan: "plan";
3
9
  readonly Metadata: "metadata";
4
10
  readonly UserGoalCheck: "user_goal_check";
5
11
  readonly InternalPlan: "internal_plan";
6
12
  readonly FailureDescribe: "failure_describe";
13
+ readonly Termination: "termination";
7
14
  };
8
15
  export type ThoughtType = (typeof ThoughtType)[keyof typeof ThoughtType];
@@ -1,8 +1,15 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
+ /**
3
+ * Type of thought recorded during task execution.
4
+ *
5
+ * Note: Stored as VARCHAR in the database (not a PostgreSQL ENUM), so new values
6
+ * can be added without database migrations. See observer_thoughts.observer_thought_type column.
7
+ */
2
8
  export const ThoughtType = {
3
9
  Plan: "plan",
4
10
  Metadata: "metadata",
5
11
  UserGoalCheck: "user_goal_check",
6
12
  InternalPlan: "internal_plan",
7
13
  FailureDescribe: "failure_describe",
14
+ Termination: "termination",
8
15
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.11";
1
+ export declare const SDK_VERSION = "1.0.12";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.0.11";
1
+ export const SDK_VERSION = "1.0.12";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyvern/client",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",