@runtypelabs/sdk 11.7.1 → 11.8.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.
package/dist/index.cjs CHANGED
@@ -12760,6 +12760,10 @@ var SignalsNamespace = class {
12760
12760
  async updateSet(id, input) {
12761
12761
  return this.getClient().patch(`/signal-sets/${pathId(id)}`, input);
12762
12762
  }
12763
+ /** Delete a set. Refused with `SIGNAL_SET_BOUND` while any binding is enabled; results already written keep naming it. */
12764
+ async deleteSet(id) {
12765
+ return this.getClient().delete(`/signal-sets/${pathId(id)}`);
12766
+ }
12763
12767
  /** Publish a new immutable version and make it current. Existing bindings keep theirs. */
12764
12768
  async publishVersion(id, definition) {
12765
12769
  return this.getClient().post(`/signal-sets/${pathId(id)}/versions`, { definition });
@@ -14701,7 +14705,7 @@ function transformQueryParams(params) {
14701
14705
  }
14702
14706
  //#endregion
14703
14707
  //#region src/version.ts
14704
- const SDK_VERSION = "11.7.1";
14708
+ const SDK_VERSION = "11.8.0";
14705
14709
  /**
14706
14710
  * Canonical client identity the API uses for attribution
14707
14711
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/dist/index.d.cts CHANGED
@@ -53929,7 +53929,79 @@ interface paths {
53929
53929
  };
53930
53930
  put?: never;
53931
53931
  post?: never;
53932
- delete?: never;
53932
+ /**
53933
+ * Delete a signal set
53934
+ * @description Remove a set from every list and read and free its name. Results and stats already written keep naming it. Refused with SIGNAL_SET_BOUND (details.bindingIds) while any binding is enabled: unbind each first. Built-in sets cannot be deleted.
53935
+ */
53936
+ delete: {
53937
+ parameters: {
53938
+ query?: never;
53939
+ header?: never;
53940
+ path: {
53941
+ id: string;
53942
+ };
53943
+ cookie?: never;
53944
+ };
53945
+ requestBody?: never;
53946
+ responses: {
53947
+ /** @description Deleted */
53948
+ 200: {
53949
+ headers: {
53950
+ [name: string]: unknown;
53951
+ };
53952
+ content: {
53953
+ "application/json": {
53954
+ success: boolean;
53955
+ };
53956
+ };
53957
+ };
53958
+ /** @description Invalid request */
53959
+ 400: {
53960
+ headers: {
53961
+ [name: string]: unknown;
53962
+ };
53963
+ content: {
53964
+ "application/json": components["schemas"]["SignalError"];
53965
+ };
53966
+ };
53967
+ /** @description Unauthorized */
53968
+ 401: {
53969
+ headers: {
53970
+ [name: string]: unknown;
53971
+ };
53972
+ content: {
53973
+ "application/json": components["schemas"]["Error"];
53974
+ };
53975
+ };
53976
+ /** @description Insufficient permissions, or no organization context */
53977
+ 403: {
53978
+ headers: {
53979
+ [name: string]: unknown;
53980
+ };
53981
+ content: {
53982
+ "application/json": components["schemas"]["SignalError"];
53983
+ };
53984
+ };
53985
+ /** @description Not found */
53986
+ 404: {
53987
+ headers: {
53988
+ [name: string]: unknown;
53989
+ };
53990
+ content: {
53991
+ "application/json": components["schemas"]["SignalError"];
53992
+ };
53993
+ };
53994
+ /** @description Still bound, or a built-in set */
53995
+ 409: {
53996
+ headers: {
53997
+ [name: string]: unknown;
53998
+ };
53999
+ content: {
54000
+ "application/json": components["schemas"]["SignalError"];
54001
+ };
54002
+ };
54003
+ };
54004
+ };
53933
54005
  options?: never;
53934
54006
  head?: never;
53935
54007
  /**
@@ -75664,6 +75736,10 @@ export declare class SignalsNamespace {
75664
75736
  }): Promise<{
75665
75737
  signalSet: SignalSet;
75666
75738
  }>;
75739
+ /** Delete a set. Refused with `SIGNAL_SET_BOUND` while any binding is enabled; results already written keep naming it. */
75740
+ deleteSet(id: string): Promise<{
75741
+ success: boolean;
75742
+ }>;
75667
75743
  /** Publish a new immutable version and make it current. Existing bindings keep theirs. */
75668
75744
  publishVersion(id: string, definition: SignalSetDefinitionInput): Promise<{
75669
75745
  signalSet: SignalSet;
@@ -77302,6 +77378,8 @@ interface SimulationToolCallFacts {
77302
77378
  designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
77303
77379
  /** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
77304
77380
  synthesisFailed?: boolean;
77381
+ /** A recorded read answer that shows the values of the episode's own earlier accepted recorded writes. */
77382
+ writeOverlay?: boolean;
77305
77383
  /** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
77306
77384
  unanswered?: boolean;
77307
77385
  /** Why the synthesizer answered as it did, on a synthesized call. */
package/dist/index.d.ts CHANGED
@@ -53929,7 +53929,79 @@ interface paths {
53929
53929
  };
53930
53930
  put?: never;
53931
53931
  post?: never;
53932
- delete?: never;
53932
+ /**
53933
+ * Delete a signal set
53934
+ * @description Remove a set from every list and read and free its name. Results and stats already written keep naming it. Refused with SIGNAL_SET_BOUND (details.bindingIds) while any binding is enabled: unbind each first. Built-in sets cannot be deleted.
53935
+ */
53936
+ delete: {
53937
+ parameters: {
53938
+ query?: never;
53939
+ header?: never;
53940
+ path: {
53941
+ id: string;
53942
+ };
53943
+ cookie?: never;
53944
+ };
53945
+ requestBody?: never;
53946
+ responses: {
53947
+ /** @description Deleted */
53948
+ 200: {
53949
+ headers: {
53950
+ [name: string]: unknown;
53951
+ };
53952
+ content: {
53953
+ "application/json": {
53954
+ success: boolean;
53955
+ };
53956
+ };
53957
+ };
53958
+ /** @description Invalid request */
53959
+ 400: {
53960
+ headers: {
53961
+ [name: string]: unknown;
53962
+ };
53963
+ content: {
53964
+ "application/json": components["schemas"]["SignalError"];
53965
+ };
53966
+ };
53967
+ /** @description Unauthorized */
53968
+ 401: {
53969
+ headers: {
53970
+ [name: string]: unknown;
53971
+ };
53972
+ content: {
53973
+ "application/json": components["schemas"]["Error"];
53974
+ };
53975
+ };
53976
+ /** @description Insufficient permissions, or no organization context */
53977
+ 403: {
53978
+ headers: {
53979
+ [name: string]: unknown;
53980
+ };
53981
+ content: {
53982
+ "application/json": components["schemas"]["SignalError"];
53983
+ };
53984
+ };
53985
+ /** @description Not found */
53986
+ 404: {
53987
+ headers: {
53988
+ [name: string]: unknown;
53989
+ };
53990
+ content: {
53991
+ "application/json": components["schemas"]["SignalError"];
53992
+ };
53993
+ };
53994
+ /** @description Still bound, or a built-in set */
53995
+ 409: {
53996
+ headers: {
53997
+ [name: string]: unknown;
53998
+ };
53999
+ content: {
54000
+ "application/json": components["schemas"]["SignalError"];
54001
+ };
54002
+ };
54003
+ };
54004
+ };
53933
54005
  options?: never;
53934
54006
  head?: never;
53935
54007
  /**
@@ -75664,6 +75736,10 @@ export declare class SignalsNamespace {
75664
75736
  }): Promise<{
75665
75737
  signalSet: SignalSet;
75666
75738
  }>;
75739
+ /** Delete a set. Refused with `SIGNAL_SET_BOUND` while any binding is enabled; results already written keep naming it. */
75740
+ deleteSet(id: string): Promise<{
75741
+ success: boolean;
75742
+ }>;
75667
75743
  /** Publish a new immutable version and make it current. Existing bindings keep theirs. */
75668
75744
  publishVersion(id: string, definition: SignalSetDefinitionInput): Promise<{
75669
75745
  signalSet: SignalSet;
@@ -77302,6 +77378,8 @@ interface SimulationToolCallFacts {
77302
77378
  designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
77303
77379
  /** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
77304
77380
  synthesisFailed?: boolean;
77381
+ /** A recorded read answer that shows the values of the episode's own earlier accepted recorded writes. */
77382
+ writeOverlay?: boolean;
77305
77383
  /** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
77306
77384
  unanswered?: boolean;
77307
77385
  /** Why the synthesizer answered as it did, on a synthesized call. */
package/dist/index.mjs CHANGED
@@ -12759,6 +12759,10 @@ var SignalsNamespace = class {
12759
12759
  async updateSet(id, input) {
12760
12760
  return this.getClient().patch(`/signal-sets/${pathId(id)}`, input);
12761
12761
  }
12762
+ /** Delete a set. Refused with `SIGNAL_SET_BOUND` while any binding is enabled; results already written keep naming it. */
12763
+ async deleteSet(id) {
12764
+ return this.getClient().delete(`/signal-sets/${pathId(id)}`);
12765
+ }
12762
12766
  /** Publish a new immutable version and make it current. Existing bindings keep theirs. */
12763
12767
  async publishVersion(id, definition) {
12764
12768
  return this.getClient().post(`/signal-sets/${pathId(id)}/versions`, { definition });
@@ -14700,7 +14704,7 @@ function transformQueryParams(params) {
14700
14704
  }
14701
14705
  //#endregion
14702
14706
  //#region src/version.ts
14703
- const SDK_VERSION = "11.7.1";
14707
+ const SDK_VERSION = "11.8.0";
14704
14708
  /**
14705
14709
  * Canonical client identity the API uses for attribution
14706
14710
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "11.7.1",
3
+ "version": "11.8.0",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {},
26
26
  "devDependencies": {
27
- "@runtypelabs/shared": "3.96.0",
27
+ "@runtypelabs/shared": "3.97.0",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsdown": "^0.23.0",
30
30
  "typescript": "^6.0.3",