@runtypelabs/sdk 11.7.1 → 11.8.1
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 +5 -1
- package/dist/index.d.cts +84 -2
- package/dist/index.d.ts +84 -2
- package/dist/index.mjs +5 -1
- package/package.json +2 -2
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.
|
|
14708
|
+
const SDK_VERSION = "11.8.1";
|
|
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
|
@@ -14601,6 +14601,8 @@ interface paths {
|
|
|
14601
14601
|
requestBody?: {
|
|
14602
14602
|
content: {
|
|
14603
14603
|
"application/json": {
|
|
14604
|
+
/** @description Deliver the message only while the task still waits on the question journaled at this seq (the `seq` of its `question` event). Otherwise the call answers 409 `DELEGATE_TASK_QUESTION_ANSWERED` and delivers nothing, so an answer is safe to retry. */
|
|
14605
|
+
answersQuestionSeq?: number;
|
|
14604
14606
|
message: string;
|
|
14605
14607
|
};
|
|
14606
14608
|
};
|
|
@@ -14615,6 +14617,8 @@ interface paths {
|
|
|
14615
14617
|
"application/json": {
|
|
14616
14618
|
/** @enum {boolean} */
|
|
14617
14619
|
accepted: true;
|
|
14620
|
+
/** @description Journal seq of the `message_received` event this message became. */
|
|
14621
|
+
messageSeq?: number;
|
|
14618
14622
|
task: {
|
|
14619
14623
|
apiKeyId: string | null;
|
|
14620
14624
|
clientName: string | null;
|
|
@@ -14694,7 +14698,7 @@ interface paths {
|
|
|
14694
14698
|
"application/json": components["schemas"]["Error"];
|
|
14695
14699
|
};
|
|
14696
14700
|
};
|
|
14697
|
-
/** @description The task has already settled */
|
|
14701
|
+
/** @description The task has already settled (`DELEGATE_TASK_SETTLED`), or no longer waits on the question named by `answersQuestionSeq` (`DELEGATE_TASK_QUESTION_ANSWERED`) */
|
|
14698
14702
|
409: {
|
|
14699
14703
|
headers: {
|
|
14700
14704
|
[name: string]: unknown;
|
|
@@ -53929,7 +53933,79 @@ interface paths {
|
|
|
53929
53933
|
};
|
|
53930
53934
|
put?: never;
|
|
53931
53935
|
post?: never;
|
|
53932
|
-
|
|
53936
|
+
/**
|
|
53937
|
+
* Delete a signal set
|
|
53938
|
+
* @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.
|
|
53939
|
+
*/
|
|
53940
|
+
delete: {
|
|
53941
|
+
parameters: {
|
|
53942
|
+
query?: never;
|
|
53943
|
+
header?: never;
|
|
53944
|
+
path: {
|
|
53945
|
+
id: string;
|
|
53946
|
+
};
|
|
53947
|
+
cookie?: never;
|
|
53948
|
+
};
|
|
53949
|
+
requestBody?: never;
|
|
53950
|
+
responses: {
|
|
53951
|
+
/** @description Deleted */
|
|
53952
|
+
200: {
|
|
53953
|
+
headers: {
|
|
53954
|
+
[name: string]: unknown;
|
|
53955
|
+
};
|
|
53956
|
+
content: {
|
|
53957
|
+
"application/json": {
|
|
53958
|
+
success: boolean;
|
|
53959
|
+
};
|
|
53960
|
+
};
|
|
53961
|
+
};
|
|
53962
|
+
/** @description Invalid request */
|
|
53963
|
+
400: {
|
|
53964
|
+
headers: {
|
|
53965
|
+
[name: string]: unknown;
|
|
53966
|
+
};
|
|
53967
|
+
content: {
|
|
53968
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53969
|
+
};
|
|
53970
|
+
};
|
|
53971
|
+
/** @description Unauthorized */
|
|
53972
|
+
401: {
|
|
53973
|
+
headers: {
|
|
53974
|
+
[name: string]: unknown;
|
|
53975
|
+
};
|
|
53976
|
+
content: {
|
|
53977
|
+
"application/json": components["schemas"]["Error"];
|
|
53978
|
+
};
|
|
53979
|
+
};
|
|
53980
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53981
|
+
403: {
|
|
53982
|
+
headers: {
|
|
53983
|
+
[name: string]: unknown;
|
|
53984
|
+
};
|
|
53985
|
+
content: {
|
|
53986
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53987
|
+
};
|
|
53988
|
+
};
|
|
53989
|
+
/** @description Not found */
|
|
53990
|
+
404: {
|
|
53991
|
+
headers: {
|
|
53992
|
+
[name: string]: unknown;
|
|
53993
|
+
};
|
|
53994
|
+
content: {
|
|
53995
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53996
|
+
};
|
|
53997
|
+
};
|
|
53998
|
+
/** @description Still bound, or a built-in set */
|
|
53999
|
+
409: {
|
|
54000
|
+
headers: {
|
|
54001
|
+
[name: string]: unknown;
|
|
54002
|
+
};
|
|
54003
|
+
content: {
|
|
54004
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54005
|
+
};
|
|
54006
|
+
};
|
|
54007
|
+
};
|
|
54008
|
+
};
|
|
53933
54009
|
options?: never;
|
|
53934
54010
|
head?: never;
|
|
53935
54011
|
/**
|
|
@@ -75664,6 +75740,10 @@ export declare class SignalsNamespace {
|
|
|
75664
75740
|
}): Promise<{
|
|
75665
75741
|
signalSet: SignalSet;
|
|
75666
75742
|
}>;
|
|
75743
|
+
/** Delete a set. Refused with `SIGNAL_SET_BOUND` while any binding is enabled; results already written keep naming it. */
|
|
75744
|
+
deleteSet(id: string): Promise<{
|
|
75745
|
+
success: boolean;
|
|
75746
|
+
}>;
|
|
75667
75747
|
/** Publish a new immutable version and make it current. Existing bindings keep theirs. */
|
|
75668
75748
|
publishVersion(id: string, definition: SignalSetDefinitionInput): Promise<{
|
|
75669
75749
|
signalSet: SignalSet;
|
|
@@ -77302,6 +77382,8 @@ interface SimulationToolCallFacts {
|
|
|
77302
77382
|
designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
|
|
77303
77383
|
/** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
|
|
77304
77384
|
synthesisFailed?: boolean;
|
|
77385
|
+
/** A recorded read answer that shows the values of the episode's own earlier accepted recorded writes. */
|
|
77386
|
+
writeOverlay?: boolean;
|
|
77305
77387
|
/** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
|
|
77306
77388
|
unanswered?: boolean;
|
|
77307
77389
|
/** Why the synthesizer answered as it did, on a synthesized call. */
|
package/dist/index.d.ts
CHANGED
|
@@ -14601,6 +14601,8 @@ interface paths {
|
|
|
14601
14601
|
requestBody?: {
|
|
14602
14602
|
content: {
|
|
14603
14603
|
"application/json": {
|
|
14604
|
+
/** @description Deliver the message only while the task still waits on the question journaled at this seq (the `seq` of its `question` event). Otherwise the call answers 409 `DELEGATE_TASK_QUESTION_ANSWERED` and delivers nothing, so an answer is safe to retry. */
|
|
14605
|
+
answersQuestionSeq?: number;
|
|
14604
14606
|
message: string;
|
|
14605
14607
|
};
|
|
14606
14608
|
};
|
|
@@ -14615,6 +14617,8 @@ interface paths {
|
|
|
14615
14617
|
"application/json": {
|
|
14616
14618
|
/** @enum {boolean} */
|
|
14617
14619
|
accepted: true;
|
|
14620
|
+
/** @description Journal seq of the `message_received` event this message became. */
|
|
14621
|
+
messageSeq?: number;
|
|
14618
14622
|
task: {
|
|
14619
14623
|
apiKeyId: string | null;
|
|
14620
14624
|
clientName: string | null;
|
|
@@ -14694,7 +14698,7 @@ interface paths {
|
|
|
14694
14698
|
"application/json": components["schemas"]["Error"];
|
|
14695
14699
|
};
|
|
14696
14700
|
};
|
|
14697
|
-
/** @description The task has already settled */
|
|
14701
|
+
/** @description The task has already settled (`DELEGATE_TASK_SETTLED`), or no longer waits on the question named by `answersQuestionSeq` (`DELEGATE_TASK_QUESTION_ANSWERED`) */
|
|
14698
14702
|
409: {
|
|
14699
14703
|
headers: {
|
|
14700
14704
|
[name: string]: unknown;
|
|
@@ -53929,7 +53933,79 @@ interface paths {
|
|
|
53929
53933
|
};
|
|
53930
53934
|
put?: never;
|
|
53931
53935
|
post?: never;
|
|
53932
|
-
|
|
53936
|
+
/**
|
|
53937
|
+
* Delete a signal set
|
|
53938
|
+
* @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.
|
|
53939
|
+
*/
|
|
53940
|
+
delete: {
|
|
53941
|
+
parameters: {
|
|
53942
|
+
query?: never;
|
|
53943
|
+
header?: never;
|
|
53944
|
+
path: {
|
|
53945
|
+
id: string;
|
|
53946
|
+
};
|
|
53947
|
+
cookie?: never;
|
|
53948
|
+
};
|
|
53949
|
+
requestBody?: never;
|
|
53950
|
+
responses: {
|
|
53951
|
+
/** @description Deleted */
|
|
53952
|
+
200: {
|
|
53953
|
+
headers: {
|
|
53954
|
+
[name: string]: unknown;
|
|
53955
|
+
};
|
|
53956
|
+
content: {
|
|
53957
|
+
"application/json": {
|
|
53958
|
+
success: boolean;
|
|
53959
|
+
};
|
|
53960
|
+
};
|
|
53961
|
+
};
|
|
53962
|
+
/** @description Invalid request */
|
|
53963
|
+
400: {
|
|
53964
|
+
headers: {
|
|
53965
|
+
[name: string]: unknown;
|
|
53966
|
+
};
|
|
53967
|
+
content: {
|
|
53968
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53969
|
+
};
|
|
53970
|
+
};
|
|
53971
|
+
/** @description Unauthorized */
|
|
53972
|
+
401: {
|
|
53973
|
+
headers: {
|
|
53974
|
+
[name: string]: unknown;
|
|
53975
|
+
};
|
|
53976
|
+
content: {
|
|
53977
|
+
"application/json": components["schemas"]["Error"];
|
|
53978
|
+
};
|
|
53979
|
+
};
|
|
53980
|
+
/** @description Insufficient permissions, or no organization context */
|
|
53981
|
+
403: {
|
|
53982
|
+
headers: {
|
|
53983
|
+
[name: string]: unknown;
|
|
53984
|
+
};
|
|
53985
|
+
content: {
|
|
53986
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53987
|
+
};
|
|
53988
|
+
};
|
|
53989
|
+
/** @description Not found */
|
|
53990
|
+
404: {
|
|
53991
|
+
headers: {
|
|
53992
|
+
[name: string]: unknown;
|
|
53993
|
+
};
|
|
53994
|
+
content: {
|
|
53995
|
+
"application/json": components["schemas"]["SignalError"];
|
|
53996
|
+
};
|
|
53997
|
+
};
|
|
53998
|
+
/** @description Still bound, or a built-in set */
|
|
53999
|
+
409: {
|
|
54000
|
+
headers: {
|
|
54001
|
+
[name: string]: unknown;
|
|
54002
|
+
};
|
|
54003
|
+
content: {
|
|
54004
|
+
"application/json": components["schemas"]["SignalError"];
|
|
54005
|
+
};
|
|
54006
|
+
};
|
|
54007
|
+
};
|
|
54008
|
+
};
|
|
53933
54009
|
options?: never;
|
|
53934
54010
|
head?: never;
|
|
53935
54011
|
/**
|
|
@@ -75664,6 +75740,10 @@ export declare class SignalsNamespace {
|
|
|
75664
75740
|
}): Promise<{
|
|
75665
75741
|
signalSet: SignalSet;
|
|
75666
75742
|
}>;
|
|
75743
|
+
/** Delete a set. Refused with `SIGNAL_SET_BOUND` while any binding is enabled; results already written keep naming it. */
|
|
75744
|
+
deleteSet(id: string): Promise<{
|
|
75745
|
+
success: boolean;
|
|
75746
|
+
}>;
|
|
75667
75747
|
/** Publish a new immutable version and make it current. Existing bindings keep theirs. */
|
|
75668
75748
|
publishVersion(id: string, definition: SignalSetDefinitionInput): Promise<{
|
|
75669
75749
|
signalSet: SignalSet;
|
|
@@ -77302,6 +77382,8 @@ interface SimulationToolCallFacts {
|
|
|
77302
77382
|
designedBy?: 'shape' | 'paginate' | 'error_design' | 'accept_identifier' | 'add_tool';
|
|
77303
77383
|
/** The synthesizer's answer failed its contract twice, so the call was answered with a stub. */
|
|
77304
77384
|
synthesisFailed?: boolean;
|
|
77385
|
+
/** A recorded read answer that shows the values of the episode's own earlier accepted recorded writes. */
|
|
77386
|
+
writeOverlay?: boolean;
|
|
77305
77387
|
/** No rung could answer the call under its policy, so it got a stub; a policy stub of a write never sets it. */
|
|
77306
77388
|
unanswered?: boolean;
|
|
77307
77389
|
/** 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.
|
|
14707
|
+
const SDK_VERSION = "11.8.1";
|
|
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.
|
|
3
|
+
"version": "11.8.1",
|
|
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.
|
|
27
|
+
"@runtypelabs/shared": "3.97.1",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.0",
|
|
30
30
|
"typescript": "^6.0.3",
|