@runtypelabs/sdk 6.1.3 → 6.2.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.d.cts CHANGED
@@ -1870,7 +1870,7 @@ interface paths {
1870
1870
  description?: string;
1871
1871
  timeoutMs?: number;
1872
1872
  toolPool: string[];
1873
- };
1873
+ } | null;
1874
1874
  maxToolCalls?: number;
1875
1875
  mcpServers?: {
1876
1876
  allowedTools?: string[];
@@ -1919,7 +1919,7 @@ interface paths {
1919
1919
  maxSpawnsPerRun?: number;
1920
1920
  maxTurnsLimit?: number;
1921
1921
  toolPool: string[];
1922
- };
1922
+ } | null;
1923
1923
  /** @enum {string} */
1924
1924
  toolCallStrategy?: "auto" | "required" | "none";
1925
1925
  toolConfigs?: {
@@ -24714,562 +24714,6 @@ interface paths {
24714
24714
  patch?: never;
24715
24715
  trace?: never;
24716
24716
  };
24717
- "/v1/products/generation/sessions": {
24718
- parameters: {
24719
- query?: never;
24720
- header?: never;
24721
- path?: never;
24722
- cookie?: never;
24723
- };
24724
- /**
24725
- * List generation sessions
24726
- * @description Returns a paginated list of generation sessions for the authenticated user, optionally filtered by status.
24727
- */
24728
- get: {
24729
- parameters: {
24730
- query?: {
24731
- /** @description Filter by session status */
24732
- status?: string;
24733
- /** @description Max results per page (default 20, max 100) */
24734
- limit?: string;
24735
- /** @description Offset for pagination */
24736
- offset?: string;
24737
- };
24738
- header?: never;
24739
- path?: never;
24740
- cookie?: never;
24741
- };
24742
- requestBody?: never;
24743
- responses: {
24744
- /** @description List of sessions with pagination */
24745
- 200: {
24746
- headers: {
24747
- [name: string]: unknown;
24748
- };
24749
- content: {
24750
- "application/json": {
24751
- data: {
24752
- assemblyState: {
24753
- [key: string]: unknown;
24754
- } | null;
24755
- catalogVersion: string | null;
24756
- createdAt: string;
24757
- expiresAt: string;
24758
- id: string;
24759
- organizationId: string | null;
24760
- plan: {
24761
- [key: string]: unknown;
24762
- } | null;
24763
- prd: {
24764
- [key: string]: unknown;
24765
- } | null;
24766
- productObject: {
24767
- [key: string]: unknown;
24768
- } | null;
24769
- productObjectHash: string | null;
24770
- schemaVersion: string | null;
24771
- /** @enum {string} */
24772
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24773
- updatedAt: string;
24774
- userId: string;
24775
- }[];
24776
- pagination: {
24777
- limit: number;
24778
- offset: number;
24779
- total: number;
24780
- };
24781
- };
24782
- };
24783
- };
24784
- /** @description Unauthorized */
24785
- 401: {
24786
- headers: {
24787
- [name: string]: unknown;
24788
- };
24789
- content: {
24790
- "application/json": components["schemas"]["Error"];
24791
- };
24792
- };
24793
- /** @description Server error */
24794
- 500: {
24795
- headers: {
24796
- [name: string]: unknown;
24797
- };
24798
- content: {
24799
- "application/json": components["schemas"]["Error"];
24800
- };
24801
- };
24802
- };
24803
- };
24804
- put?: never;
24805
- /**
24806
- * Create a generation session
24807
- * @description Creates a new product generation session with an optional PRD and catalog/schema version.
24808
- */
24809
- post: {
24810
- parameters: {
24811
- query?: never;
24812
- header?: never;
24813
- path?: never;
24814
- cookie?: never;
24815
- };
24816
- requestBody?: {
24817
- content: {
24818
- "application/json": {
24819
- catalogVersion?: string;
24820
- prd?: {
24821
- [key: string]: unknown;
24822
- };
24823
- schemaVersion?: string;
24824
- };
24825
- };
24826
- };
24827
- responses: {
24828
- /** @description Session created */
24829
- 201: {
24830
- headers: {
24831
- [name: string]: unknown;
24832
- };
24833
- content: {
24834
- "application/json": {
24835
- assemblyState: {
24836
- [key: string]: unknown;
24837
- } | null;
24838
- catalogVersion: string | null;
24839
- createdAt: string;
24840
- expiresAt: string;
24841
- id: string;
24842
- organizationId: string | null;
24843
- plan: {
24844
- [key: string]: unknown;
24845
- } | null;
24846
- prd: {
24847
- [key: string]: unknown;
24848
- } | null;
24849
- productObject: {
24850
- [key: string]: unknown;
24851
- } | null;
24852
- productObjectHash: string | null;
24853
- schemaVersion: string | null;
24854
- /** @enum {string} */
24855
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24856
- updatedAt: string;
24857
- userId: string;
24858
- };
24859
- };
24860
- };
24861
- /** @description Unauthorized */
24862
- 401: {
24863
- headers: {
24864
- [name: string]: unknown;
24865
- };
24866
- content: {
24867
- "application/json": components["schemas"]["Error"];
24868
- };
24869
- };
24870
- /** @description Forbidden */
24871
- 403: {
24872
- headers: {
24873
- [name: string]: unknown;
24874
- };
24875
- content: {
24876
- "application/json": components["schemas"]["Error"];
24877
- };
24878
- };
24879
- /** @description Server error */
24880
- 500: {
24881
- headers: {
24882
- [name: string]: unknown;
24883
- };
24884
- content: {
24885
- "application/json": components["schemas"]["Error"];
24886
- };
24887
- };
24888
- };
24889
- };
24890
- delete?: never;
24891
- options?: never;
24892
- head?: never;
24893
- patch?: never;
24894
- trace?: never;
24895
- };
24896
- "/v1/products/generation/sessions/{id}": {
24897
- parameters: {
24898
- query?: never;
24899
- header?: never;
24900
- path?: never;
24901
- cookie?: never;
24902
- };
24903
- /**
24904
- * Get session details
24905
- * @description Returns a generation session with its associated events.
24906
- */
24907
- get: {
24908
- parameters: {
24909
- query?: never;
24910
- header?: never;
24911
- path: {
24912
- /** @description Session ID */
24913
- id: string;
24914
- };
24915
- cookie?: never;
24916
- };
24917
- requestBody?: never;
24918
- responses: {
24919
- /** @description Session with events */
24920
- 200: {
24921
- headers: {
24922
- [name: string]: unknown;
24923
- };
24924
- content: {
24925
- "application/json": {
24926
- assemblyState: {
24927
- [key: string]: unknown;
24928
- } | null;
24929
- catalogVersion: string | null;
24930
- createdAt: string;
24931
- events: {
24932
- createdAt: string;
24933
- id: string;
24934
- message: string | null;
24935
- organizationId: string | null;
24936
- payload: {
24937
- [key: string]: unknown;
24938
- };
24939
- sessionId: string;
24940
- stage: string | null;
24941
- type: string;
24942
- userId: string;
24943
- }[];
24944
- expiresAt: string;
24945
- id: string;
24946
- organizationId: string | null;
24947
- plan: {
24948
- [key: string]: unknown;
24949
- } | null;
24950
- prd: {
24951
- [key: string]: unknown;
24952
- } | null;
24953
- productObject: {
24954
- [key: string]: unknown;
24955
- } | null;
24956
- productObjectHash: string | null;
24957
- schemaVersion: string | null;
24958
- /** @enum {string} */
24959
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
24960
- updatedAt: string;
24961
- userId: string;
24962
- };
24963
- };
24964
- };
24965
- /** @description Unauthorized */
24966
- 401: {
24967
- headers: {
24968
- [name: string]: unknown;
24969
- };
24970
- content: {
24971
- "application/json": components["schemas"]["Error"];
24972
- };
24973
- };
24974
- /** @description Session not found */
24975
- 404: {
24976
- headers: {
24977
- [name: string]: unknown;
24978
- };
24979
- content: {
24980
- "application/json": components["schemas"]["Error"];
24981
- };
24982
- };
24983
- /** @description Server error */
24984
- 500: {
24985
- headers: {
24986
- [name: string]: unknown;
24987
- };
24988
- content: {
24989
- "application/json": components["schemas"]["Error"];
24990
- };
24991
- };
24992
- };
24993
- };
24994
- put?: never;
24995
- post?: never;
24996
- /**
24997
- * Delete a generation session
24998
- * @description Permanently deletes a generation session and its associated events.
24999
- */
25000
- delete: {
25001
- parameters: {
25002
- query?: never;
25003
- header?: never;
25004
- path: {
25005
- /** @description Session ID */
25006
- id: string;
25007
- };
25008
- cookie?: never;
25009
- };
25010
- requestBody?: never;
25011
- responses: {
25012
- /** @description Session deleted */
25013
- 200: {
25014
- headers: {
25015
- [name: string]: unknown;
25016
- };
25017
- content: {
25018
- "application/json": {
25019
- success: boolean;
25020
- };
25021
- };
25022
- };
25023
- /** @description Unauthorized */
25024
- 401: {
25025
- headers: {
25026
- [name: string]: unknown;
25027
- };
25028
- content: {
25029
- "application/json": components["schemas"]["Error"];
25030
- };
25031
- };
25032
- /** @description Forbidden */
25033
- 403: {
25034
- headers: {
25035
- [name: string]: unknown;
25036
- };
25037
- content: {
25038
- "application/json": components["schemas"]["Error"];
25039
- };
25040
- };
25041
- /** @description Session not found */
25042
- 404: {
25043
- headers: {
25044
- [name: string]: unknown;
25045
- };
25046
- content: {
25047
- "application/json": components["schemas"]["Error"];
25048
- };
25049
- };
25050
- /** @description Server error */
25051
- 500: {
25052
- headers: {
25053
- [name: string]: unknown;
25054
- };
25055
- content: {
25056
- "application/json": components["schemas"]["Error"];
25057
- };
25058
- };
25059
- };
25060
- };
25061
- options?: never;
25062
- head?: never;
25063
- /**
25064
- * Update a generation session
25065
- * @description Updates session fields including status, PRD, plan, product object, and assembly state.
25066
- */
25067
- patch: {
25068
- parameters: {
25069
- query?: never;
25070
- header?: never;
25071
- path: {
25072
- /** @description Session ID */
25073
- id: string;
25074
- };
25075
- cookie?: never;
25076
- };
25077
- requestBody?: {
25078
- content: {
25079
- "application/json": {
25080
- assemblyState?: {
25081
- [key: string]: unknown;
25082
- };
25083
- plan?: {
25084
- [key: string]: unknown;
25085
- };
25086
- prd?: {
25087
- [key: string]: unknown;
25088
- };
25089
- productObject?: {
25090
- [key: string]: unknown;
25091
- };
25092
- productObjectHash?: string;
25093
- /** @enum {string} */
25094
- status?: "intake" | "generating" | "assembling" | "complete" | "failed";
25095
- };
25096
- };
25097
- };
25098
- responses: {
25099
- /** @description Updated session */
25100
- 200: {
25101
- headers: {
25102
- [name: string]: unknown;
25103
- };
25104
- content: {
25105
- "application/json": {
25106
- assemblyState: {
25107
- [key: string]: unknown;
25108
- } | null;
25109
- catalogVersion: string | null;
25110
- createdAt: string;
25111
- expiresAt: string;
25112
- id: string;
25113
- organizationId: string | null;
25114
- plan: {
25115
- [key: string]: unknown;
25116
- } | null;
25117
- prd: {
25118
- [key: string]: unknown;
25119
- } | null;
25120
- productObject: {
25121
- [key: string]: unknown;
25122
- } | null;
25123
- productObjectHash: string | null;
25124
- schemaVersion: string | null;
25125
- /** @enum {string} */
25126
- status: "intake" | "generating" | "assembling" | "complete" | "failed";
25127
- updatedAt: string;
25128
- userId: string;
25129
- };
25130
- };
25131
- };
25132
- /** @description Unauthorized */
25133
- 401: {
25134
- headers: {
25135
- [name: string]: unknown;
25136
- };
25137
- content: {
25138
- "application/json": components["schemas"]["Error"];
25139
- };
25140
- };
25141
- /** @description Forbidden */
25142
- 403: {
25143
- headers: {
25144
- [name: string]: unknown;
25145
- };
25146
- content: {
25147
- "application/json": components["schemas"]["Error"];
25148
- };
25149
- };
25150
- /** @description Session not found */
25151
- 404: {
25152
- headers: {
25153
- [name: string]: unknown;
25154
- };
25155
- content: {
25156
- "application/json": components["schemas"]["Error"];
25157
- };
25158
- };
25159
- /** @description Server error */
25160
- 500: {
25161
- headers: {
25162
- [name: string]: unknown;
25163
- };
25164
- content: {
25165
- "application/json": components["schemas"]["Error"];
25166
- };
25167
- };
25168
- };
25169
- };
25170
- trace?: never;
25171
- };
25172
- "/v1/products/generation/sessions/{id}/events": {
25173
- parameters: {
25174
- query?: never;
25175
- header?: never;
25176
- path?: never;
25177
- cookie?: never;
25178
- };
25179
- get?: never;
25180
- put?: never;
25181
- /**
25182
- * Append an event to a session
25183
- * @description Adds a new event to a generation session for tracking progress and state changes.
25184
- */
25185
- post: {
25186
- parameters: {
25187
- query?: never;
25188
- header?: never;
25189
- path: {
25190
- /** @description Session ID */
25191
- id: string;
25192
- };
25193
- cookie?: never;
25194
- };
25195
- requestBody?: {
25196
- content: {
25197
- "application/json": {
25198
- message?: string;
25199
- payload?: {
25200
- [key: string]: unknown;
25201
- };
25202
- stage?: string;
25203
- type: string;
25204
- };
25205
- };
25206
- };
25207
- responses: {
25208
- /** @description Event created */
25209
- 201: {
25210
- headers: {
25211
- [name: string]: unknown;
25212
- };
25213
- content: {
25214
- "application/json": {
25215
- createdAt: string;
25216
- id: string;
25217
- message: string | null;
25218
- organizationId: string | null;
25219
- payload: {
25220
- [key: string]: unknown;
25221
- };
25222
- sessionId: string;
25223
- stage: string | null;
25224
- type: string;
25225
- userId: string;
25226
- };
25227
- };
25228
- };
25229
- /** @description Unauthorized */
25230
- 401: {
25231
- headers: {
25232
- [name: string]: unknown;
25233
- };
25234
- content: {
25235
- "application/json": components["schemas"]["Error"];
25236
- };
25237
- };
25238
- /** @description Forbidden */
25239
- 403: {
25240
- headers: {
25241
- [name: string]: unknown;
25242
- };
25243
- content: {
25244
- "application/json": components["schemas"]["Error"];
25245
- };
25246
- };
25247
- /** @description Session not found */
25248
- 404: {
25249
- headers: {
25250
- [name: string]: unknown;
25251
- };
25252
- content: {
25253
- "application/json": components["schemas"]["Error"];
25254
- };
25255
- };
25256
- /** @description Server error */
25257
- 500: {
25258
- headers: {
25259
- [name: string]: unknown;
25260
- };
25261
- content: {
25262
- "application/json": components["schemas"]["Error"];
25263
- };
25264
- };
25265
- };
25266
- };
25267
- delete?: never;
25268
- options?: never;
25269
- head?: never;
25270
- patch?: never;
25271
- trace?: never;
25272
- };
25273
24717
  "/v1/products/pull": {
25274
24718
  parameters: {
25275
24719
  query?: never;
@@ -26331,6 +25775,9 @@ interface paths {
26331
25775
  args: {
26332
25776
  [key: string]: unknown;
26333
25777
  };
25778
+ pendingArgs?: {
25779
+ [key: string]: string;
25780
+ };
26334
25781
  /** @enum {string} */
26335
25782
  rung: "mcp_tool";
26336
25783
  summary: string;
@@ -26357,6 +25804,9 @@ interface paths {
26357
25804
  args: {
26358
25805
  [key: string]: unknown;
26359
25806
  };
25807
+ pendingArgs?: {
25808
+ [key: string]: string;
25809
+ };
26360
25810
  /** @enum {string} */
26361
25811
  rung: "mcp_tool";
26362
25812
  summary: string;
@@ -26400,6 +25850,9 @@ interface paths {
26400
25850
  args: {
26401
25851
  [key: string]: unknown;
26402
25852
  };
25853
+ pendingArgs?: {
25854
+ [key: string]: string;
25855
+ };
26403
25856
  /** @enum {string} */
26404
25857
  rung: "mcp_tool";
26405
25858
  summary: string;
@@ -26426,6 +25879,9 @@ interface paths {
26426
25879
  args: {
26427
25880
  [key: string]: unknown;
26428
25881
  };
25882
+ pendingArgs?: {
25883
+ [key: string]: string;
25884
+ };
26429
25885
  /** @enum {string} */
26430
25886
  rung: "mcp_tool";
26431
25887
  summary: string;
@@ -28831,6 +28287,9 @@ interface paths {
28831
28287
  args: {
28832
28288
  [key: string]: unknown;
28833
28289
  };
28290
+ pendingArgs?: {
28291
+ [key: string]: string;
28292
+ };
28834
28293
  /** @enum {string} */
28835
28294
  rung: "mcp_tool";
28836
28295
  summary: string;
@@ -28857,6 +28316,9 @@ interface paths {
28857
28316
  args: {
28858
28317
  [key: string]: unknown;
28859
28318
  };
28319
+ pendingArgs?: {
28320
+ [key: string]: string;
28321
+ };
28860
28322
  /** @enum {string} */
28861
28323
  rung: "mcp_tool";
28862
28324
  summary: string;
@@ -37307,6 +36769,8 @@ interface paths {
37307
36769
  data: {
37308
36770
  createdAt: string;
37309
36771
  description: string | null;
36772
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
36773
+ docsUrl?: string | null;
37310
36774
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37311
36775
  endUserId: string | null;
37312
36776
  id: string;
@@ -37366,6 +36830,8 @@ interface paths {
37366
36830
  content: {
37367
36831
  "application/json": {
37368
36832
  description?: string;
36833
+ /** Format: uri */
36834
+ docsUrl?: string;
37369
36835
  endUserId?: string;
37370
36836
  key: string;
37371
36837
  productTenantId?: string;
@@ -37384,6 +36850,8 @@ interface paths {
37384
36850
  data: {
37385
36851
  createdAt: string;
37386
36852
  description: string | null;
36853
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
36854
+ docsUrl?: string | null;
37387
36855
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37388
36856
  endUserId: string | null;
37389
36857
  id: string;
@@ -37561,6 +37029,7 @@ interface paths {
37561
37029
  "application/json": {
37562
37030
  returnUrl?: string;
37563
37031
  source: {
37032
+ description?: string;
37564
37033
  key?: string;
37565
37034
  productId?: string;
37566
37035
  /** @enum {string} */
@@ -37604,6 +37073,7 @@ interface paths {
37604
37073
  pendingConfigurationCount: number;
37605
37074
  returnUrl?: string;
37606
37075
  source: {
37076
+ description?: string;
37607
37077
  key?: string;
37608
37078
  productId?: string;
37609
37079
  /** @enum {string} */
@@ -37691,6 +37161,8 @@ interface paths {
37691
37161
  items: {
37692
37162
  description?: string;
37693
37163
  displayName?: string;
37164
+ /** Format: uri */
37165
+ docsUrl?: string;
37694
37166
  expectedVersion?: number;
37695
37167
  itemId?: string;
37696
37168
  key?: string;
@@ -37699,6 +37171,7 @@ interface paths {
37699
37171
  }[];
37700
37172
  returnUrl?: string;
37701
37173
  source: {
37174
+ description?: string;
37702
37175
  key?: string;
37703
37176
  productId?: string;
37704
37177
  /** @enum {string} */
@@ -37743,6 +37216,7 @@ interface paths {
37743
37216
  pendingConfigurationCount: number;
37744
37217
  returnUrl?: string;
37745
37218
  source: {
37219
+ description?: string;
37746
37220
  key?: string;
37747
37221
  productId?: string;
37748
37222
  /** @enum {string} */
@@ -37928,6 +37402,8 @@ interface paths {
37928
37402
  data: {
37929
37403
  createdAt: string;
37930
37404
  description: string | null;
37405
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
37406
+ docsUrl?: string | null;
37931
37407
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
37932
37408
  endUserId: string | null;
37933
37409
  id: string;
@@ -37996,6 +37472,8 @@ interface paths {
37996
37472
  content: {
37997
37473
  "application/json": {
37998
37474
  description?: string;
37475
+ /** Format: uri */
37476
+ docsUrl?: string | null;
37999
37477
  expectedVersion?: number;
38000
37478
  value?: string;
38001
37479
  };
@@ -38012,6 +37490,8 @@ interface paths {
38012
37490
  data: {
38013
37491
  createdAt: string;
38014
37492
  description: string | null;
37493
+ /** @description Optional acquisition link (https only) for the provider console where this credential is created. */
37494
+ docsUrl?: string | null;
38015
37495
  /** @description End User scope (eu_*) when the secret is end-user-scoped; null otherwise. */
38016
37496
  endUserId: string | null;
38017
37497
  id: string;
@@ -41678,6 +41158,7 @@ interface paths {
41678
41158
  enableRuntown: boolean;
41679
41159
  enableRuntypeApps: boolean;
41680
41160
  enableSkillScanner: boolean;
41161
+ enableVoice: boolean;
41681
41162
  enableWorkspaceModel: boolean;
41682
41163
  workspaceModelEligible: boolean;
41683
41164
  workspaceModelReady: boolean;
@@ -48983,10 +48464,6 @@ declare class SkillDriftError extends Error {
48983
48464
  * tool) is intentionally NOT exposed here; authoring a skill via the SDK is
48984
48465
  * authoring, and lands published when you ask it to.
48985
48466
  *
48986
- * The whole surface is gated behind the `enable-agent-skills` flag server-side
48987
- * — when the flag is off these calls fail with a 404 (the admin gate), so the
48988
- * SDK fails closed without any client-side flag handling.
48989
- *
48990
48467
  * Types here mirror the canonical definitions in `@runtypelabs/shared`
48991
48468
  * (`skill-manifest-types.ts`) and the `skills` / `skill_versions` /
48992
48469
  * `agent_skill_bindings` / `skill_proposals` tables. Per SDK convention they