@werft-ai/sdk 0.1.3-main.80f18fb8005a → 0.1.3-main.d3d2dbb85b5b

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 (3) hide show
  1. package/index.d.ts +6 -5
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7451,7 +7451,7 @@ interface components {
7451
7451
  created_at: string;
7452
7452
  } | null;
7453
7453
  scopes: ("sessions:read" | "sessions:write" | "sessions:approve" | "sessions:control" | "sessions:recover")[];
7454
- permissions: ("workspace.read" | "workspace.manage" | "audit_retention.manage" | "member.manage" | "team.manage" | "api_key.manage" | "api_key.manage_own" | "account.link" | "agent.create" | "agent.read" | "agent.settings_read" | "agent.manage" | "agent.restore" | "agent.admin.manage" | "credential.bind" | "binding.manage" | "routine.manage" | "session.read" | "session.submit" | "session.approve" | "session.control" | "session.recover" | "session.share" | "session.rename" | "session.audit_read" | "session.admin_list" | "usage.installation_read" | "usage.agent_read" | "profile.installation.manage" | "installation.settings.manage" | "achievement_rule.manage" | "achievement.review" | "memory.read" | "memory.write" | "artifact.read" | "delivery.send")[];
7454
+ permissions: ("workspace.read" | "workspace.manage" | "audit_retention.manage" | "member.manage" | "team.manage" | "api_key.manage" | "api_key.manage_own" | "account.link" | "agent.create" | "agent.read" | "agent.settings_read" | "agent.manage" | "agent.restore" | "agent.admin.manage" | "credential.bind" | "binding.manage" | "routine.manage" | "session.read" | "session.submit" | "session.approve" | "session.control" | "session.recover" | "session.share" | "session.rename" | "session.audit_read" | "session.admin_list" | "usage.installation_read" | "usage.agent_read" | "profile.installation.manage" | "profile.define" | "installation.settings.manage" | "achievement_rule.manage" | "achievement.review" | "memory.read" | "memory.write" | "artifact.read" | "delivery.send")[];
7455
7455
  };
7456
7456
  UpdateAuthMeRequest: {
7457
7457
  /** @enum {string} */
@@ -7839,7 +7839,7 @@ interface components {
7839
7839
  /** @enum {string} */
7840
7840
  billing: "metered" | "none";
7841
7841
  /** @enum {string} */
7842
- repository_mode: "required" | "optional" | "none";
7842
+ repository_mode?: "required" | "optional" | "none";
7843
7843
  /** @description The catalog repositories that allow this profile, which a session or an agent release of it may name as `repository_id`. */
7844
7844
  repository_ids?: string[];
7845
7845
  permission_wait?: {
@@ -7907,7 +7907,7 @@ interface components {
7907
7907
  /** @enum {string} */
7908
7908
  billing: "metered" | "none";
7909
7909
  /** @enum {string} */
7910
- repository_mode: "required" | "optional" | "none";
7910
+ repository_mode?: "required" | "optional" | "none";
7911
7911
  /** @description The catalog repositories that allow this profile, which a session or an agent release of it may name as `repository_id`. */
7912
7912
  repository_ids?: string[];
7913
7913
  permission_wait?: {
@@ -8132,7 +8132,7 @@ interface components {
8132
8132
  runtime_kind: "claude_agent_sdk" | "codex_app_server" | "pi_coding_agent";
8133
8133
  permission_modes: ("default" | "acceptEdits" | "dontAsk" | "plan" | "bypassPermissions" | "auto")[];
8134
8134
  }[];
8135
- repositories: {
8135
+ repositories?: {
8136
8136
  id: string;
8137
8137
  }[];
8138
8138
  /** @description The built-in tools this installation supports, per runtime version: what a profile's deny may name. A version not listed takes only `tools`. */
@@ -15051,6 +15051,7 @@ interface operations {
15051
15051
  * "usage.installation_read",
15052
15052
  * "usage.agent_read",
15053
15053
  * "profile.installation.manage",
15054
+ * "profile.define",
15054
15055
  * "installation.settings.manage"
15055
15056
  * ]
15056
15057
  * }
@@ -36999,7 +37000,7 @@ export declare function waitForPushRequest(client: Werft, sessionId: SessionId,
36999
37000
  signal?: AbortSignal;
37000
37001
  pollIntervalMs?: number;
37001
37002
  }): Promise<PushRequest>;
37002
- export declare const SDK_VERSION = "0.1.3-main.80f18fb8005a";
37003
+ export declare const SDK_VERSION = "0.1.3-main.d3d2dbb85b5b";
37003
37004
  /** info.version of the spec the types were generated from. Not checked at runtime: the API does not report one. */
37004
37005
  export declare const API_SPEC_VERSION = "0.1.0-alpha";
37005
37006
  export declare const SUPPORTED_SSE_SCHEMA_VERSIONS: readonly [1];
package/index.js CHANGED
@@ -1234,7 +1234,7 @@ async function waitForPushRequest(client, sessionId, pushRequestId, options = {}
1234
1234
  }
1235
1235
  }
1236
1236
  // src/version.ts
1237
- const SDK_VERSION = "0.1.3-main.80f18fb8005a";
1237
+ const SDK_VERSION = "0.1.3-main.d3d2dbb85b5b";
1238
1238
  /** info.version of the spec the types were generated from. Not checked at runtime: the API does not report one. */
1239
1239
  const API_SPEC_VERSION = "0.1.0-alpha";
1240
1240
  const SUPPORTED_SSE_SCHEMA_VERSIONS = [1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@werft-ai/sdk",
3
- "version": "0.1.3-main.80f18fb8005a",
3
+ "version": "0.1.3-main.d3d2dbb85b5b",
4
4
  "description": "Werft TypeScript SDK for servers and scripts: sessions, turns, events, approvals and push over an API key",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",