@werft-ai/sdk 0.1.2 → 0.1.3-main.08ec8011ee35

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 (5) hide show
  1. package/NOTICE +1 -1
  2. package/README.md +39 -6
  3. package/index.d.ts +1763 -2582
  4. package/index.js +2 -2
  5. package/package.json +1 -1
package/index.js CHANGED
@@ -72,7 +72,7 @@ function contractPolicy(options) {
72
72
  }
73
73
  // ../client/src/client.ts
74
74
  const CSRF_HEADER_NAME = "x-requested-with";
75
- const CSRF_HEADER_VALUE = "agent-platform-web";
75
+ const CSRF_HEADER_VALUE = "werft-web";
76
76
  const csrfHeader = { onRequest({ request }) {
77
77
  request.headers.set(CSRF_HEADER_NAME, CSRF_HEADER_VALUE);
78
78
  return request;
@@ -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.2";
1237
+ const SDK_VERSION = "0.1.3-main.08ec8011ee35";
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.2",
3
+ "version": "0.1.3-main.08ec8011ee35",
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",