windmill-client 1.836.0 → 1.837.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.836.0",
32
+ VERSION: "1.837.0",
33
33
  WITH_CREDENTIALS: !getEnv("WM_RAW_APP"),
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.836.0",
129
+ VERSION: "1.837.0",
130
130
  WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -10230,8 +10230,9 @@ var JobService = class {
10230
10230
  /**
10231
10231
  * run a saved AI agent
10232
10232
  * Runs the `ai_agent` resource at `path` as stored, for any caller who can read it
10233
- * (operators included), as the caller, who needs access to the agent's AI resource and to
10234
- * whatever its tools use. With `memory_id`, the run is a turn
10233
+ * (operators included). The run is the caller's, or the agent's `on_behalf_of` when its
10234
+ * `run_on_behalf_of` is set; the caller's inputs may then not reference variables or
10235
+ * resources. With `memory_id`, the run is a turn
10235
10236
  * of the caller's conversation with the agent; without, a single run.
10236
10237
  *
10237
10238
  * @param data The data for the request.
@@ -5216,8 +5216,9 @@ export declare class JobService {
5216
5216
  /**
5217
5217
  * run a saved AI agent
5218
5218
  * Runs the `ai_agent` resource at `path` as stored, for any caller who can read it
5219
- * (operators included), as the caller, who needs access to the agent's AI resource and to
5220
- * whatever its tools use. With `memory_id`, the run is a turn
5219
+ * (operators included). The run is the caller's, or the agent's `on_behalf_of` when its
5220
+ * `run_on_behalf_of` is set; the caller's inputs may then not reference variables or
5221
+ * resources. With `memory_id`, the run is a turn
5221
5222
  * of the caller's conversation with the agent; without, a single run.
5222
5223
  *
5223
5224
  * @param data The data for the request.
@@ -9862,8 +9862,9 @@ var JobService = class {
9862
9862
  /**
9863
9863
  * run a saved AI agent
9864
9864
  * Runs the `ai_agent` resource at `path` as stored, for any caller who can read it
9865
- * (operators included), as the caller, who needs access to the agent's AI resource and to
9866
- * whatever its tools use. With `memory_id`, the run is a turn
9865
+ * (operators included). The run is the caller's, or the agent's `on_behalf_of` when its
9866
+ * `run_on_behalf_of` is set; the caller's inputs may then not reference variables or
9867
+ * resources. With `memory_id`, the run is a turn
9867
9868
  * of the caller's conversation with the agent; without, a single run.
9868
9869
  *
9869
9870
  * @param data The data for the request.
@@ -3260,6 +3260,10 @@ export type CreateResource = {
3260
3260
  resource_type: string;
3261
3261
  labels?: Array<(string)>;
3262
3262
  ws_specific?: boolean;
3263
+ /**
3264
+ * ai_agent only. Keep the identity `value.on_behalf_of` names (`u/<username>`, `g/<group>`) rather than the caller's own. Honoured for admins and members of wm_deployers; otherwise every write of an agent sets it to the caller.
3265
+ */
3266
+ preserve_on_behalf_of?: boolean;
3263
3267
  };
3264
3268
  export type EditResource = {
3265
3269
  /**
@@ -3277,6 +3281,10 @@ export type EditResource = {
3277
3281
  resource_type?: string;
3278
3282
  labels?: Array<(string)>;
3279
3283
  ws_specific?: boolean;
3284
+ /**
3285
+ * ai_agent only. Keep the identity `value.on_behalf_of` names (`u/<username>`, `g/<group>`) rather than the caller's own. Honoured for admins and members of wm_deployers; otherwise every write of an agent sets it to the caller.
3286
+ */
3287
+ preserve_on_behalf_of?: boolean;
3280
3288
  };
3281
3289
  export type Resource = {
3282
3290
  workspace_id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.836.0",
4
+ "version": "1.837.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",