@ravi-os/sdk 0.261125.1 → 0.261128.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/schemas.js CHANGED
@@ -9443,7 +9443,8 @@ export const AppsGuideReturnSchema = {
9443
9443
  "interface": {
9444
9444
  "enum": [
9445
9445
  "builtin",
9446
- "cli"
9446
+ "cli",
9447
+ "script"
9447
9448
  ],
9448
9449
  "type": "string"
9449
9450
  },
@@ -10287,7 +10288,8 @@ export const AppsListReturnSchema = {
10287
10288
  "interface": {
10288
10289
  "enum": [
10289
10290
  "builtin",
10290
- "cli"
10291
+ "cli",
10292
+ "script"
10291
10293
  ],
10292
10294
  "type": "string"
10293
10295
  },
@@ -10577,7 +10579,8 @@ export const AppsListReturnSchema = {
10577
10579
  "interface": {
10578
10580
  "enum": [
10579
10581
  "builtin",
10580
- "cli"
10582
+ "cli",
10583
+ "script"
10581
10584
  ],
10582
10585
  "type": "string"
10583
10586
  },
@@ -10953,7 +10956,8 @@ export const AppsPromptsReturnSchema = {
10953
10956
  "interface": {
10954
10957
  "enum": [
10955
10958
  "builtin",
10956
- "cli"
10959
+ "cli",
10960
+ "script"
10957
10961
  ],
10958
10962
  "type": "string"
10959
10963
  },
@@ -11226,6 +11230,56 @@ export const AppsPromptsReturnSchema = {
11226
11230
  ],
11227
11231
  "type": "object"
11228
11232
  };
11233
+ /** JSON Schema for the input body of `apps.refresh`. */
11234
+ export const AppsRefreshInputSchema = {
11235
+ "additionalProperties": false,
11236
+ "properties": {},
11237
+ "type": "object"
11238
+ };
11239
+ /** JSON Schema for the return shape of `apps.refresh`. */
11240
+ export const AppsRefreshReturnSchema = {
11241
+ "additionalProperties": false,
11242
+ "properties": {
11243
+ "apps": {
11244
+ "type": "number"
11245
+ },
11246
+ "blockSerial": {
11247
+ "type": "number"
11248
+ },
11249
+ "changed": {
11250
+ "type": "boolean"
11251
+ },
11252
+ "indexSerial": {
11253
+ "type": "number"
11254
+ },
11255
+ "keysSerial": {
11256
+ "type": "number"
11257
+ },
11258
+ "refreshedAt": {
11259
+ "anyOf": [
11260
+ {
11261
+ "type": "string"
11262
+ },
11263
+ {
11264
+ "type": "null"
11265
+ }
11266
+ ]
11267
+ },
11268
+ "source": {
11269
+ "type": "string"
11270
+ }
11271
+ },
11272
+ "required": [
11273
+ "source",
11274
+ "changed",
11275
+ "keysSerial",
11276
+ "indexSerial",
11277
+ "blockSerial",
11278
+ "apps",
11279
+ "refreshedAt"
11280
+ ],
11281
+ "type": "object"
11282
+ };
11229
11283
  /** JSON Schema for the input body of `apps.run`. */
11230
11284
  export const AppsRunInputSchema = {
11231
11285
  "additionalProperties": false,
@@ -11312,7 +11366,8 @@ export const AppsRunReturnSchema = {
11312
11366
  {
11313
11367
  "enum": [
11314
11368
  "builtin",
11315
- "cli"
11369
+ "cli",
11370
+ "script"
11316
11371
  ],
11317
11372
  "type": "string"
11318
11373
  },
@@ -11452,7 +11507,8 @@ export const AppsRunReturnSchema = {
11452
11507
  "interface": {
11453
11508
  "enum": [
11454
11509
  "builtin",
11455
- "cli"
11510
+ "cli",
11511
+ "script"
11456
11512
  ],
11457
11513
  "type": "string"
11458
11514
  },
@@ -11510,7 +11566,8 @@ export const AppsRunReturnSchema = {
11510
11566
  "interface": {
11511
11567
  "enum": [
11512
11568
  "builtin",
11513
- "cli"
11569
+ "cli",
11570
+ "script"
11514
11571
  ],
11515
11572
  "type": "string"
11516
11573
  },
@@ -11800,6 +11857,119 @@ export const AppsScaffoldReturnSchema = {
11800
11857
  ],
11801
11858
  "type": "object"
11802
11859
  };
11860
+ /** JSON Schema for the input body of `apps.search`. */
11861
+ export const AppsSearchInputSchema = {
11862
+ "additionalProperties": false,
11863
+ "properties": {
11864
+ "query": {
11865
+ "description": "Text to match in id, name or description",
11866
+ "type": "string"
11867
+ },
11868
+ "refresh": {
11869
+ "description": "Fetch the signed index before searching",
11870
+ "type": "boolean"
11871
+ }
11872
+ },
11873
+ "type": "object"
11874
+ };
11875
+ /** JSON Schema for the return shape of `apps.search`. */
11876
+ export const AppsSearchReturnSchema = {
11877
+ "additionalProperties": false,
11878
+ "properties": {
11879
+ "apps": {
11880
+ "items": {
11881
+ "additionalProperties": false,
11882
+ "properties": {
11883
+ "blocked": {
11884
+ "type": "boolean"
11885
+ },
11886
+ "class": {
11887
+ "anyOf": [
11888
+ {
11889
+ "enum": [
11890
+ "compose",
11891
+ "connector",
11892
+ "code"
11893
+ ],
11894
+ "type": "string"
11895
+ },
11896
+ {
11897
+ "type": "null"
11898
+ }
11899
+ ]
11900
+ },
11901
+ "description": {
11902
+ "type": "string"
11903
+ },
11904
+ "id": {
11905
+ "type": "string"
11906
+ },
11907
+ "installed": {
11908
+ "anyOf": [
11909
+ {
11910
+ "type": "string"
11911
+ },
11912
+ {
11913
+ "type": "null"
11914
+ }
11915
+ ]
11916
+ },
11917
+ "latest": {
11918
+ "anyOf": [
11919
+ {
11920
+ "type": "string"
11921
+ },
11922
+ {
11923
+ "type": "null"
11924
+ }
11925
+ ]
11926
+ },
11927
+ "name": {
11928
+ "type": "string"
11929
+ },
11930
+ "publisher": {
11931
+ "type": "string"
11932
+ }
11933
+ },
11934
+ "required": [
11935
+ "id",
11936
+ "name",
11937
+ "description",
11938
+ "publisher",
11939
+ "latest",
11940
+ "class",
11941
+ "installed",
11942
+ "blocked"
11943
+ ],
11944
+ "type": "object"
11945
+ },
11946
+ "type": "array"
11947
+ },
11948
+ "indexSerial": {
11949
+ "type": "number"
11950
+ },
11951
+ "refreshedAt": {
11952
+ "anyOf": [
11953
+ {
11954
+ "type": "string"
11955
+ },
11956
+ {
11957
+ "type": "null"
11958
+ }
11959
+ ]
11960
+ },
11961
+ "source": {
11962
+ "type": "string"
11963
+ }
11964
+ },
11965
+ "required": [
11966
+ "source",
11967
+ "indexSerial",
11968
+ "refreshedAt",
11969
+ "apps"
11970
+ ],
11971
+ "type": "object"
11972
+ };
11803
11973
  /** JSON Schema for the input body of `apps.show`. */
11804
11974
  export const AppsShowInputSchema = {
11805
11975
  "additionalProperties": false,
@@ -11950,7 +12120,8 @@ export const AppsShowReturnSchema = {
11950
12120
  "interface": {
11951
12121
  "enum": [
11952
12122
  "builtin",
11953
- "cli"
12123
+ "cli",
12124
+ "script"
11954
12125
  ],
11955
12126
  "type": "string"
11956
12127
  },
@@ -12120,6 +12291,84 @@ export const AppsShowReturnSchema = {
12120
12291
  ],
12121
12292
  "type": "object"
12122
12293
  };
12294
+ /** JSON Schema for the input body of `apps.verify`. */
12295
+ export const AppsVerifyInputSchema = {
12296
+ "additionalProperties": false,
12297
+ "properties": {
12298
+ "id": {
12299
+ "description": "Installed app id. Omit to verify every store app.",
12300
+ "type": "string"
12301
+ }
12302
+ },
12303
+ "type": "object"
12304
+ };
12305
+ /** JSON Schema for the return shape of `apps.verify`. */
12306
+ export const AppsVerifyReturnSchema = {
12307
+ "additionalProperties": false,
12308
+ "properties": {
12309
+ "apps": {
12310
+ "items": {
12311
+ "additionalProperties": false,
12312
+ "properties": {
12313
+ "exposedTo": {
12314
+ "items": {
12315
+ "type": "string"
12316
+ },
12317
+ "type": "array"
12318
+ },
12319
+ "id": {
12320
+ "type": "string"
12321
+ },
12322
+ "ok": {
12323
+ "type": "boolean"
12324
+ },
12325
+ "problems": {
12326
+ "items": {
12327
+ "type": "string"
12328
+ },
12329
+ "type": "array"
12330
+ },
12331
+ "source": {
12332
+ "enum": [
12333
+ "official",
12334
+ "local"
12335
+ ],
12336
+ "type": "string"
12337
+ },
12338
+ "state": {
12339
+ "enum": [
12340
+ "active",
12341
+ "quarantined"
12342
+ ],
12343
+ "type": "string"
12344
+ },
12345
+ "version": {
12346
+ "type": "string"
12347
+ }
12348
+ },
12349
+ "required": [
12350
+ "id",
12351
+ "version",
12352
+ "source",
12353
+ "state",
12354
+ "ok",
12355
+ "problems",
12356
+ "exposedTo"
12357
+ ],
12358
+ "type": "object"
12359
+ },
12360
+ "type": "array"
12361
+ },
12362
+ "ok": {
12363
+ "type": "boolean"
12364
+ }
12365
+ },
12366
+ "required": [
12367
+ "ok",
12368
+ "apps"
12369
+ ],
12370
+ "type": "object"
12371
+ };
12123
12372
  /** JSON Schema for the input body of `artifacts.archive`. */
12124
12373
  export const ArtifactsArchiveInputSchema = {
12125
12374
  "additionalProperties": false,
@@ -67476,6 +67725,22 @@ export const DecisionsAnswerInputSchema = {
67476
67725
  "description": "Decision id from ask/list",
67477
67726
  "type": "string"
67478
67727
  },
67728
+ "scope": {
67729
+ "description": "Where the answer applies: thread (default), agent:<id>, project:<id> or org; wider than the thread needs --source-message or the local operator",
67730
+ "type": "string"
67731
+ },
67732
+ "sourceMessage": {
67733
+ "description": "The owner's message that holds this answer (internal or provider message id), written after the question in its chat or a direct chat. Recorded as provenance; required to widen the scope",
67734
+ "type": "string"
67735
+ },
67736
+ "sourceQuote": {
67737
+ "description": "A passage of the source message that holds the answer; needed unless the message names the decision id",
67738
+ "type": "string"
67739
+ },
67740
+ "supersedes": {
67741
+ "description": "An answered decision this answer replaces",
67742
+ "type": "string"
67743
+ },
67479
67744
  "text": {
67480
67745
  "description": "Explicit outcome",
67481
67746
  "type": "string"
@@ -67614,9 +67879,61 @@ export const DecisionsAnswerReturnSchema = {
67614
67879
  ],
67615
67880
  "type": "string"
67616
67881
  },
67882
+ "revisedAt": {
67883
+ "type": "number"
67884
+ },
67617
67885
  "revision": {
67618
67886
  "type": "number"
67619
67887
  },
67888
+ "scope": {
67889
+ "additionalProperties": false,
67890
+ "properties": {
67891
+ "id": {
67892
+ "anyOf": [
67893
+ {
67894
+ "type": "string"
67895
+ },
67896
+ {
67897
+ "type": "null"
67898
+ }
67899
+ ]
67900
+ },
67901
+ "type": {
67902
+ "enum": [
67903
+ "origin",
67904
+ "agent",
67905
+ "project",
67906
+ "org"
67907
+ ],
67908
+ "type": "string"
67909
+ }
67910
+ },
67911
+ "required": [
67912
+ "type",
67913
+ "id"
67914
+ ],
67915
+ "type": "object"
67916
+ },
67917
+ "sourceExcerpt": {
67918
+ "anyOf": [
67919
+ {
67920
+ "type": "string"
67921
+ },
67922
+ {
67923
+ "type": "null"
67924
+ }
67925
+ ]
67926
+ },
67927
+ "sourceMessageId": {
67928
+ "anyOf": [
67929
+ {
67930
+ "type": "string"
67931
+ },
67932
+ {
67933
+ "type": "null"
67934
+ }
67935
+ ]
67936
+ },
67620
67937
  "status": {
67621
67938
  "enum": [
67622
67939
  "open",
@@ -67625,6 +67942,16 @@ export const DecisionsAnswerReturnSchema = {
67625
67942
  ],
67626
67943
  "type": "string"
67627
67944
  },
67945
+ "supersededBy": {
67946
+ "anyOf": [
67947
+ {
67948
+ "type": "string"
67949
+ },
67950
+ {
67951
+ "type": "null"
67952
+ }
67953
+ ]
67954
+ },
67628
67955
  "updatedAt": {
67629
67956
  "type": "number"
67630
67957
  }
@@ -67633,16 +67960,21 @@ export const DecisionsAnswerReturnSchema = {
67633
67960
  "id",
67634
67961
  "origin",
67635
67962
  "key",
67963
+ "scope",
67636
67964
  "status",
67637
67965
  "ownerType",
67638
67966
  "ownerId",
67639
67967
  "ask",
67640
67968
  "askedBy",
67641
67969
  "askedAt",
67970
+ "revisedAt",
67642
67971
  "answer",
67643
67972
  "answeredBy",
67644
67973
  "answeredAt",
67645
67974
  "blocks",
67975
+ "sourceMessageId",
67976
+ "sourceExcerpt",
67977
+ "supersededBy",
67646
67978
  "revision",
67647
67979
  "createdAt",
67648
67980
  "updatedAt"
@@ -67755,6 +68087,10 @@ export const DecisionsAskInputSchema = {
67755
68087
  "description": "human:<contact>|agent:<id>|unassigned; ownership is not approval authority",
67756
68088
  "type": "string"
67757
68089
  },
68090
+ "scope": {
68091
+ "description": "Proposed scope once answered: thread (default), agent:<id>, project:<id> or org; the answer settles it",
68092
+ "type": "string"
68093
+ },
67758
68094
  "task": {
67759
68095
  "description": "Originating task",
67760
68096
  "type": "string"
@@ -67894,9 +68230,61 @@ export const DecisionsAskReturnSchema = {
67894
68230
  ],
67895
68231
  "type": "string"
67896
68232
  },
68233
+ "revisedAt": {
68234
+ "type": "number"
68235
+ },
67897
68236
  "revision": {
67898
68237
  "type": "number"
67899
68238
  },
68239
+ "scope": {
68240
+ "additionalProperties": false,
68241
+ "properties": {
68242
+ "id": {
68243
+ "anyOf": [
68244
+ {
68245
+ "type": "string"
68246
+ },
68247
+ {
68248
+ "type": "null"
68249
+ }
68250
+ ]
68251
+ },
68252
+ "type": {
68253
+ "enum": [
68254
+ "origin",
68255
+ "agent",
68256
+ "project",
68257
+ "org"
68258
+ ],
68259
+ "type": "string"
68260
+ }
68261
+ },
68262
+ "required": [
68263
+ "type",
68264
+ "id"
68265
+ ],
68266
+ "type": "object"
68267
+ },
68268
+ "sourceExcerpt": {
68269
+ "anyOf": [
68270
+ {
68271
+ "type": "string"
68272
+ },
68273
+ {
68274
+ "type": "null"
68275
+ }
68276
+ ]
68277
+ },
68278
+ "sourceMessageId": {
68279
+ "anyOf": [
68280
+ {
68281
+ "type": "string"
68282
+ },
68283
+ {
68284
+ "type": "null"
68285
+ }
68286
+ ]
68287
+ },
67900
68288
  "status": {
67901
68289
  "enum": [
67902
68290
  "open",
@@ -67905,6 +68293,16 @@ export const DecisionsAskReturnSchema = {
67905
68293
  ],
67906
68294
  "type": "string"
67907
68295
  },
68296
+ "supersededBy": {
68297
+ "anyOf": [
68298
+ {
68299
+ "type": "string"
68300
+ },
68301
+ {
68302
+ "type": "null"
68303
+ }
68304
+ ]
68305
+ },
67908
68306
  "updatedAt": {
67909
68307
  "type": "number"
67910
68308
  }
@@ -67913,16 +68311,21 @@ export const DecisionsAskReturnSchema = {
67913
68311
  "id",
67914
68312
  "origin",
67915
68313
  "key",
68314
+ "scope",
67916
68315
  "status",
67917
68316
  "ownerType",
67918
68317
  "ownerId",
67919
68318
  "ask",
67920
68319
  "askedBy",
67921
68320
  "askedAt",
68321
+ "revisedAt",
67922
68322
  "answer",
67923
68323
  "answeredBy",
67924
68324
  "answeredAt",
67925
68325
  "blocks",
68326
+ "sourceMessageId",
68327
+ "sourceExcerpt",
68328
+ "supersededBy",
67926
68329
  "revision",
67927
68330
  "createdAt",
67928
68331
  "updatedAt"
@@ -68019,6 +68422,10 @@ export const DecisionsListInputSchema = {
68019
68422
  "description": "Include answered history",
68020
68423
  "type": "boolean"
68021
68424
  },
68425
+ "answeredSince": {
68426
+ "description": "Only decisions answered at or after this ISO time or epoch ms (implies --all)",
68427
+ "type": "string"
68428
+ },
68022
68429
  "limit": {
68023
68430
  "description": "Page size (default 50, maximum 500)",
68024
68431
  "type": "string"
@@ -68027,6 +68434,10 @@ export const DecisionsListInputSchema = {
68027
68434
  "description": "Page offset",
68028
68435
  "type": "string"
68029
68436
  },
68437
+ "scope": {
68438
+ "description": "Only decisions with this scope: thread, task, agent:<id>, project:<id> or org",
68439
+ "type": "string"
68440
+ },
68030
68441
  "task": {
68031
68442
  "description": "Filter to a task",
68032
68443
  "type": "string"
@@ -68164,9 +68575,61 @@ export const DecisionsListReturnSchema = {
68164
68575
  ],
68165
68576
  "type": "string"
68166
68577
  },
68578
+ "revisedAt": {
68579
+ "type": "number"
68580
+ },
68167
68581
  "revision": {
68168
68582
  "type": "number"
68169
68583
  },
68584
+ "scope": {
68585
+ "additionalProperties": false,
68586
+ "properties": {
68587
+ "id": {
68588
+ "anyOf": [
68589
+ {
68590
+ "type": "string"
68591
+ },
68592
+ {
68593
+ "type": "null"
68594
+ }
68595
+ ]
68596
+ },
68597
+ "type": {
68598
+ "enum": [
68599
+ "origin",
68600
+ "agent",
68601
+ "project",
68602
+ "org"
68603
+ ],
68604
+ "type": "string"
68605
+ }
68606
+ },
68607
+ "required": [
68608
+ "type",
68609
+ "id"
68610
+ ],
68611
+ "type": "object"
68612
+ },
68613
+ "sourceExcerpt": {
68614
+ "anyOf": [
68615
+ {
68616
+ "type": "string"
68617
+ },
68618
+ {
68619
+ "type": "null"
68620
+ }
68621
+ ]
68622
+ },
68623
+ "sourceMessageId": {
68624
+ "anyOf": [
68625
+ {
68626
+ "type": "string"
68627
+ },
68628
+ {
68629
+ "type": "null"
68630
+ }
68631
+ ]
68632
+ },
68170
68633
  "status": {
68171
68634
  "enum": [
68172
68635
  "open",
@@ -68175,6 +68638,16 @@ export const DecisionsListReturnSchema = {
68175
68638
  ],
68176
68639
  "type": "string"
68177
68640
  },
68641
+ "supersededBy": {
68642
+ "anyOf": [
68643
+ {
68644
+ "type": "string"
68645
+ },
68646
+ {
68647
+ "type": "null"
68648
+ }
68649
+ ]
68650
+ },
68178
68651
  "updatedAt": {
68179
68652
  "type": "number"
68180
68653
  }
@@ -68183,16 +68656,21 @@ export const DecisionsListReturnSchema = {
68183
68656
  "id",
68184
68657
  "origin",
68185
68658
  "key",
68659
+ "scope",
68186
68660
  "status",
68187
68661
  "ownerType",
68188
68662
  "ownerId",
68189
68663
  "ask",
68190
68664
  "askedBy",
68191
68665
  "askedAt",
68666
+ "revisedAt",
68192
68667
  "answer",
68193
68668
  "answeredBy",
68194
68669
  "answeredAt",
68195
68670
  "blocks",
68671
+ "sourceMessageId",
68672
+ "sourceExcerpt",
68673
+ "supersededBy",
68196
68674
  "revision",
68197
68675
  "createdAt",
68198
68676
  "updatedAt"
@@ -68409,9 +68887,61 @@ export const DecisionsResolveDeliveryReturnSchema = {
68409
68887
  ],
68410
68888
  "type": "string"
68411
68889
  },
68890
+ "revisedAt": {
68891
+ "type": "number"
68892
+ },
68412
68893
  "revision": {
68413
68894
  "type": "number"
68414
68895
  },
68896
+ "scope": {
68897
+ "additionalProperties": false,
68898
+ "properties": {
68899
+ "id": {
68900
+ "anyOf": [
68901
+ {
68902
+ "type": "string"
68903
+ },
68904
+ {
68905
+ "type": "null"
68906
+ }
68907
+ ]
68908
+ },
68909
+ "type": {
68910
+ "enum": [
68911
+ "origin",
68912
+ "agent",
68913
+ "project",
68914
+ "org"
68915
+ ],
68916
+ "type": "string"
68917
+ }
68918
+ },
68919
+ "required": [
68920
+ "type",
68921
+ "id"
68922
+ ],
68923
+ "type": "object"
68924
+ },
68925
+ "sourceExcerpt": {
68926
+ "anyOf": [
68927
+ {
68928
+ "type": "string"
68929
+ },
68930
+ {
68931
+ "type": "null"
68932
+ }
68933
+ ]
68934
+ },
68935
+ "sourceMessageId": {
68936
+ "anyOf": [
68937
+ {
68938
+ "type": "string"
68939
+ },
68940
+ {
68941
+ "type": "null"
68942
+ }
68943
+ ]
68944
+ },
68415
68945
  "status": {
68416
68946
  "enum": [
68417
68947
  "open",
@@ -68420,6 +68950,16 @@ export const DecisionsResolveDeliveryReturnSchema = {
68420
68950
  ],
68421
68951
  "type": "string"
68422
68952
  },
68953
+ "supersededBy": {
68954
+ "anyOf": [
68955
+ {
68956
+ "type": "string"
68957
+ },
68958
+ {
68959
+ "type": "null"
68960
+ }
68961
+ ]
68962
+ },
68423
68963
  "updatedAt": {
68424
68964
  "type": "number"
68425
68965
  }
@@ -68428,16 +68968,21 @@ export const DecisionsResolveDeliveryReturnSchema = {
68428
68968
  "id",
68429
68969
  "origin",
68430
68970
  "key",
68971
+ "scope",
68431
68972
  "status",
68432
68973
  "ownerType",
68433
68974
  "ownerId",
68434
68975
  "ask",
68435
68976
  "askedBy",
68436
68977
  "askedAt",
68978
+ "revisedAt",
68437
68979
  "answer",
68438
68980
  "answeredBy",
68439
68981
  "answeredAt",
68440
68982
  "blocks",
68983
+ "sourceMessageId",
68984
+ "sourceExcerpt",
68985
+ "supersededBy",
68441
68986
  "revision",
68442
68987
  "createdAt",
68443
68988
  "updatedAt"
@@ -68672,9 +69217,61 @@ export const DecisionsRetryReturnSchema = {
68672
69217
  ],
68673
69218
  "type": "string"
68674
69219
  },
69220
+ "revisedAt": {
69221
+ "type": "number"
69222
+ },
68675
69223
  "revision": {
68676
69224
  "type": "number"
68677
69225
  },
69226
+ "scope": {
69227
+ "additionalProperties": false,
69228
+ "properties": {
69229
+ "id": {
69230
+ "anyOf": [
69231
+ {
69232
+ "type": "string"
69233
+ },
69234
+ {
69235
+ "type": "null"
69236
+ }
69237
+ ]
69238
+ },
69239
+ "type": {
69240
+ "enum": [
69241
+ "origin",
69242
+ "agent",
69243
+ "project",
69244
+ "org"
69245
+ ],
69246
+ "type": "string"
69247
+ }
69248
+ },
69249
+ "required": [
69250
+ "type",
69251
+ "id"
69252
+ ],
69253
+ "type": "object"
69254
+ },
69255
+ "sourceExcerpt": {
69256
+ "anyOf": [
69257
+ {
69258
+ "type": "string"
69259
+ },
69260
+ {
69261
+ "type": "null"
69262
+ }
69263
+ ]
69264
+ },
69265
+ "sourceMessageId": {
69266
+ "anyOf": [
69267
+ {
69268
+ "type": "string"
69269
+ },
69270
+ {
69271
+ "type": "null"
69272
+ }
69273
+ ]
69274
+ },
68678
69275
  "status": {
68679
69276
  "enum": [
68680
69277
  "open",
@@ -68683,6 +69280,16 @@ export const DecisionsRetryReturnSchema = {
68683
69280
  ],
68684
69281
  "type": "string"
68685
69282
  },
69283
+ "supersededBy": {
69284
+ "anyOf": [
69285
+ {
69286
+ "type": "string"
69287
+ },
69288
+ {
69289
+ "type": "null"
69290
+ }
69291
+ ]
69292
+ },
68686
69293
  "updatedAt": {
68687
69294
  "type": "number"
68688
69295
  }
@@ -68691,16 +69298,21 @@ export const DecisionsRetryReturnSchema = {
68691
69298
  "id",
68692
69299
  "origin",
68693
69300
  "key",
69301
+ "scope",
68694
69302
  "status",
68695
69303
  "ownerType",
68696
69304
  "ownerId",
68697
69305
  "ask",
68698
69306
  "askedBy",
68699
69307
  "askedAt",
69308
+ "revisedAt",
68700
69309
  "answer",
68701
69310
  "answeredBy",
68702
69311
  "answeredAt",
68703
69312
  "blocks",
69313
+ "sourceMessageId",
69314
+ "sourceExcerpt",
69315
+ "supersededBy",
68704
69316
  "revision",
68705
69317
  "createdAt",
68706
69318
  "updatedAt"
@@ -68931,9 +69543,61 @@ export const DecisionsShowReturnSchema = {
68931
69543
  ],
68932
69544
  "type": "string"
68933
69545
  },
69546
+ "revisedAt": {
69547
+ "type": "number"
69548
+ },
68934
69549
  "revision": {
68935
69550
  "type": "number"
68936
69551
  },
69552
+ "scope": {
69553
+ "additionalProperties": false,
69554
+ "properties": {
69555
+ "id": {
69556
+ "anyOf": [
69557
+ {
69558
+ "type": "string"
69559
+ },
69560
+ {
69561
+ "type": "null"
69562
+ }
69563
+ ]
69564
+ },
69565
+ "type": {
69566
+ "enum": [
69567
+ "origin",
69568
+ "agent",
69569
+ "project",
69570
+ "org"
69571
+ ],
69572
+ "type": "string"
69573
+ }
69574
+ },
69575
+ "required": [
69576
+ "type",
69577
+ "id"
69578
+ ],
69579
+ "type": "object"
69580
+ },
69581
+ "sourceExcerpt": {
69582
+ "anyOf": [
69583
+ {
69584
+ "type": "string"
69585
+ },
69586
+ {
69587
+ "type": "null"
69588
+ }
69589
+ ]
69590
+ },
69591
+ "sourceMessageId": {
69592
+ "anyOf": [
69593
+ {
69594
+ "type": "string"
69595
+ },
69596
+ {
69597
+ "type": "null"
69598
+ }
69599
+ ]
69600
+ },
68937
69601
  "status": {
68938
69602
  "enum": [
68939
69603
  "open",
@@ -68942,6 +69606,16 @@ export const DecisionsShowReturnSchema = {
68942
69606
  ],
68943
69607
  "type": "string"
68944
69608
  },
69609
+ "supersededBy": {
69610
+ "anyOf": [
69611
+ {
69612
+ "type": "string"
69613
+ },
69614
+ {
69615
+ "type": "null"
69616
+ }
69617
+ ]
69618
+ },
68945
69619
  "updatedAt": {
68946
69620
  "type": "number"
68947
69621
  }
@@ -68950,16 +69624,21 @@ export const DecisionsShowReturnSchema = {
68950
69624
  "id",
68951
69625
  "origin",
68952
69626
  "key",
69627
+ "scope",
68953
69628
  "status",
68954
69629
  "ownerType",
68955
69630
  "ownerId",
68956
69631
  "ask",
68957
69632
  "askedBy",
68958
69633
  "askedAt",
69634
+ "revisedAt",
68959
69635
  "answer",
68960
69636
  "answeredBy",
68961
69637
  "answeredAt",
68962
69638
  "blocks",
69639
+ "sourceMessageId",
69640
+ "sourceExcerpt",
69641
+ "supersededBy",
68963
69642
  "revision",
68964
69643
  "createdAt",
68965
69644
  "updatedAt"
@@ -69087,6 +69766,283 @@ export const DecisionsShowReturnSchema = {
69087
69766
  ],
69088
69767
  "type": "object"
69089
69768
  };
69769
+ /** JSON Schema for the input body of `decisions.supersede`. */
69770
+ export const DecisionsSupersedeInputSchema = {
69771
+ "additionalProperties": false,
69772
+ "properties": {
69773
+ "by": {
69774
+ "description": "Answered decision that replaces it",
69775
+ "type": "string"
69776
+ },
69777
+ "execute": {
69778
+ "description": "Record the replacement",
69779
+ "type": "boolean"
69780
+ },
69781
+ "id": {
69782
+ "description": "Answered decision to replace",
69783
+ "type": "string"
69784
+ }
69785
+ },
69786
+ "required": [
69787
+ "id"
69788
+ ],
69789
+ "type": "object"
69790
+ };
69791
+ /** JSON Schema for the return shape of `decisions.supersede`. */
69792
+ export const DecisionsSupersedeReturnSchema = {
69793
+ "additionalProperties": false,
69794
+ "properties": {
69795
+ "replaced": {
69796
+ "additionalProperties": false,
69797
+ "properties": {
69798
+ "id": {
69799
+ "type": "string"
69800
+ },
69801
+ "status": {
69802
+ "const": "superseded",
69803
+ "type": "string"
69804
+ },
69805
+ "supersededBy": {
69806
+ "type": "string"
69807
+ }
69808
+ },
69809
+ "required": [
69810
+ "id",
69811
+ "status",
69812
+ "supersededBy"
69813
+ ],
69814
+ "type": "object"
69815
+ },
69816
+ "replacement": {
69817
+ "additionalProperties": false,
69818
+ "properties": {
69819
+ "answer": {
69820
+ "anyOf": [
69821
+ {
69822
+ "type": "string"
69823
+ },
69824
+ {
69825
+ "type": "null"
69826
+ }
69827
+ ]
69828
+ },
69829
+ "answeredAt": {
69830
+ "anyOf": [
69831
+ {
69832
+ "type": "number"
69833
+ },
69834
+ {
69835
+ "type": "null"
69836
+ }
69837
+ ]
69838
+ },
69839
+ "answeredBy": {
69840
+ "anyOf": [
69841
+ {
69842
+ "type": "string"
69843
+ },
69844
+ {
69845
+ "type": "null"
69846
+ }
69847
+ ]
69848
+ },
69849
+ "ask": {
69850
+ "type": "string"
69851
+ },
69852
+ "askedAt": {
69853
+ "type": "number"
69854
+ },
69855
+ "askedBy": {
69856
+ "anyOf": [
69857
+ {
69858
+ "type": "string"
69859
+ },
69860
+ {
69861
+ "type": "null"
69862
+ }
69863
+ ]
69864
+ },
69865
+ "blocks": {
69866
+ "type": "boolean"
69867
+ },
69868
+ "createdAt": {
69869
+ "type": "number"
69870
+ },
69871
+ "id": {
69872
+ "type": "string"
69873
+ },
69874
+ "key": {
69875
+ "type": "string"
69876
+ },
69877
+ "origin": {
69878
+ "additionalProperties": false,
69879
+ "properties": {
69880
+ "chatId": {
69881
+ "anyOf": [
69882
+ {
69883
+ "type": "string"
69884
+ },
69885
+ {
69886
+ "type": "null"
69887
+ }
69888
+ ]
69889
+ },
69890
+ "id": {
69891
+ "type": "string"
69892
+ },
69893
+ "sessionKey": {
69894
+ "anyOf": [
69895
+ {
69896
+ "type": "string"
69897
+ },
69898
+ {
69899
+ "type": "null"
69900
+ }
69901
+ ]
69902
+ },
69903
+ "type": {
69904
+ "enum": [
69905
+ "task",
69906
+ "thread"
69907
+ ],
69908
+ "type": "string"
69909
+ }
69910
+ },
69911
+ "required": [
69912
+ "type",
69913
+ "id",
69914
+ "chatId",
69915
+ "sessionKey"
69916
+ ],
69917
+ "type": "object"
69918
+ },
69919
+ "ownerId": {
69920
+ "anyOf": [
69921
+ {
69922
+ "type": "string"
69923
+ },
69924
+ {
69925
+ "type": "null"
69926
+ }
69927
+ ]
69928
+ },
69929
+ "ownerType": {
69930
+ "enum": [
69931
+ "human",
69932
+ "agent",
69933
+ "unassigned"
69934
+ ],
69935
+ "type": "string"
69936
+ },
69937
+ "revisedAt": {
69938
+ "type": "number"
69939
+ },
69940
+ "revision": {
69941
+ "type": "number"
69942
+ },
69943
+ "scope": {
69944
+ "additionalProperties": false,
69945
+ "properties": {
69946
+ "id": {
69947
+ "anyOf": [
69948
+ {
69949
+ "type": "string"
69950
+ },
69951
+ {
69952
+ "type": "null"
69953
+ }
69954
+ ]
69955
+ },
69956
+ "type": {
69957
+ "enum": [
69958
+ "origin",
69959
+ "agent",
69960
+ "project",
69961
+ "org"
69962
+ ],
69963
+ "type": "string"
69964
+ }
69965
+ },
69966
+ "required": [
69967
+ "type",
69968
+ "id"
69969
+ ],
69970
+ "type": "object"
69971
+ },
69972
+ "sourceExcerpt": {
69973
+ "anyOf": [
69974
+ {
69975
+ "type": "string"
69976
+ },
69977
+ {
69978
+ "type": "null"
69979
+ }
69980
+ ]
69981
+ },
69982
+ "sourceMessageId": {
69983
+ "anyOf": [
69984
+ {
69985
+ "type": "string"
69986
+ },
69987
+ {
69988
+ "type": "null"
69989
+ }
69990
+ ]
69991
+ },
69992
+ "status": {
69993
+ "enum": [
69994
+ "open",
69995
+ "answered",
69996
+ "superseded"
69997
+ ],
69998
+ "type": "string"
69999
+ },
70000
+ "supersededBy": {
70001
+ "anyOf": [
70002
+ {
70003
+ "type": "string"
70004
+ },
70005
+ {
70006
+ "type": "null"
70007
+ }
70008
+ ]
70009
+ },
70010
+ "updatedAt": {
70011
+ "type": "number"
70012
+ }
70013
+ },
70014
+ "required": [
70015
+ "id",
70016
+ "origin",
70017
+ "key",
70018
+ "scope",
70019
+ "status",
70020
+ "ownerType",
70021
+ "ownerId",
70022
+ "ask",
70023
+ "askedBy",
70024
+ "askedAt",
70025
+ "revisedAt",
70026
+ "answer",
70027
+ "answeredBy",
70028
+ "answeredAt",
70029
+ "blocks",
70030
+ "sourceMessageId",
70031
+ "sourceExcerpt",
70032
+ "supersededBy",
70033
+ "revision",
70034
+ "createdAt",
70035
+ "updatedAt"
70036
+ ],
70037
+ "type": "object"
70038
+ }
70039
+ },
70040
+ "required": [
70041
+ "replaced",
70042
+ "replacement"
70043
+ ],
70044
+ "type": "object"
70045
+ };
69090
70046
  /** JSON Schema for the input body of `devin.auth.check`. */
69091
70047
  export const DevinAuthCheckInputSchema = {
69092
70048
  "additionalProperties": false,
@@ -106268,6 +107224,10 @@ export const SessionsRenameReturnSchema = {
106268
107224
  export const SessionsReportInputSchema = {
106269
107225
  "additionalProperties": false,
106270
107226
  "properties": {
107227
+ "ask": {
107228
+ "description": "With --awaiting decision: the question in one line (up to 280 characters). The owner reads this, not the report",
107229
+ "type": "string"
107230
+ },
106271
107231
  "awaiting": {
106272
107232
  "description": "Declare that this thread now waits for the parent: review, decision, merge, dispatch, instruction. The parent is reminded after 15 min and the owner told once after 45 min until the parent acts on this thread",
106273
107233
  "type": "string"
@@ -106276,10 +107236,18 @@ export const SessionsReportInputSchema = {
106276
107236
  "description": "Progress, blocker or decision the parent session needs now",
106277
107237
  "type": "string"
106278
107238
  },
107239
+ "options": {
107240
+ "description": "With --awaiting decision and --ask: the choices the owner picks from, separated by \";\" (up to 6), e.g. --options \"vinculado; conversa\"",
107241
+ "type": "string"
107242
+ },
106279
107243
  "pr": {
106280
107244
  "description": "With --awaiting review and --ref <full SHA>: the PR to review. When that SHA is the PR head and its quality gate passed, the runtime opens the independent review itself (reviewer on another model)",
106281
107245
  "type": "string"
106282
107246
  },
107247
+ "recommend": {
107248
+ "description": "With --awaiting decision and --ask: what this thread recommends",
107249
+ "type": "string"
107250
+ },
106283
107251
  "ref": {
106284
107252
  "description": "What the parent should act on (commit SHA, PR number). Only with --awaiting",
106285
107253
  "type": "string"
@@ -106304,9 +107272,15 @@ export const SessionsReportReturnSchema = {
106304
107272
  "const": "thread.report",
106305
107273
  "type": "string"
106306
107274
  },
107275
+ "decisionError": {
107276
+ "type": "string"
107277
+ },
106307
107278
  "handoff": {
106308
107279
  "additionalProperties": false,
106309
107280
  "properties": {
107281
+ "decisionId": {
107282
+ "type": "string"
107283
+ },
106310
107284
  "id": {
106311
107285
  "type": "string"
106312
107286
  },
@@ -109793,6 +110767,25 @@ export const SessionsThreadSendReturnSchema = {
109793
110767
  "messageId": {
109794
110768
  "type": "string"
109795
110769
  },
110770
+ "openDecisionWaits": {
110771
+ "items": {
110772
+ "additionalProperties": false,
110773
+ "properties": {
110774
+ "decisionId": {
110775
+ "type": "string"
110776
+ },
110777
+ "handoffId": {
110778
+ "type": "string"
110779
+ }
110780
+ },
110781
+ "required": [
110782
+ "handoffId",
110783
+ "decisionId"
110784
+ ],
110785
+ "type": "object"
110786
+ },
110787
+ "type": "array"
110788
+ },
109796
110789
  "reopened": {
109797
110790
  "type": "boolean"
109798
110791
  },
@@ -127895,6 +128888,396 @@ export const TagsDetachReturnSchema = {
127895
128888
  ],
127896
128889
  "type": "object"
127897
128890
  };
128891
+ /** JSON Schema for the input body of `tags.doctor`. */
128892
+ export const TagsDoctorInputSchema = {
128893
+ "additionalProperties": false,
128894
+ "properties": {
128895
+ "limit": {
128896
+ "description": "Max items per list section (default: 50, max: 500)",
128897
+ "type": "string"
128898
+ }
128899
+ },
128900
+ "type": "object"
128901
+ };
128902
+ /** JSON Schema for the return shape of `tags.doctor`. */
128903
+ export const TagsDoctorReturnSchema = {
128904
+ "additionalProperties": false,
128905
+ "properties": {
128906
+ "bindingsByAssetType": {
128907
+ "items": {
128908
+ "additionalProperties": false,
128909
+ "properties": {
128910
+ "assetType": {
128911
+ "type": "string"
128912
+ },
128913
+ "assets": {
128914
+ "type": "number"
128915
+ },
128916
+ "bindings": {
128917
+ "type": "number"
128918
+ },
128919
+ "tags": {
128920
+ "type": "number"
128921
+ }
128922
+ },
128923
+ "required": [
128924
+ "assetType",
128925
+ "bindings",
128926
+ "assets",
128927
+ "tags"
128928
+ ],
128929
+ "type": "object"
128930
+ },
128931
+ "type": "array"
128932
+ },
128933
+ "chatGrantPower": {
128934
+ "items": {
128935
+ "additionalProperties": false,
128936
+ "properties": {
128937
+ "breakGlass": {
128938
+ "items": {
128939
+ "type": "string"
128940
+ },
128941
+ "type": "array"
128942
+ },
128943
+ "capabilities": {
128944
+ "items": {
128945
+ "type": "string"
128946
+ },
128947
+ "type": "array"
128948
+ },
128949
+ "contactId": {
128950
+ "type": "string"
128951
+ },
128952
+ "profile": {
128953
+ "type": "string"
128954
+ },
128955
+ "scope": {
128956
+ "type": "string"
128957
+ }
128958
+ },
128959
+ "required": [
128960
+ "contactId",
128961
+ "profile",
128962
+ "scope",
128963
+ "capabilities",
128964
+ "breakGlass"
128965
+ ],
128966
+ "type": "object"
128967
+ },
128968
+ "type": "array"
128969
+ },
128970
+ "consumers": {
128971
+ "items": {
128972
+ "additionalProperties": false,
128973
+ "properties": {
128974
+ "enabled": {
128975
+ "type": "boolean"
128976
+ },
128977
+ "kinds": {
128978
+ "items": {
128979
+ "enum": [
128980
+ "observer_rule",
128981
+ "tag_rule",
128982
+ "permission_provider"
128983
+ ],
128984
+ "type": "string"
128985
+ },
128986
+ "type": "array"
128987
+ },
128988
+ "slug": {
128989
+ "type": "string"
128990
+ }
128991
+ },
128992
+ "required": [
128993
+ "slug",
128994
+ "kinds",
128995
+ "enabled"
128996
+ ],
128997
+ "type": "object"
128998
+ },
128999
+ "type": "array"
129000
+ },
129001
+ "generatedAt": {
129002
+ "type": "number"
129003
+ },
129004
+ "legacyMirrors": {
129005
+ "items": {
129006
+ "additionalProperties": false,
129007
+ "properties": {
129008
+ "bindings": {
129009
+ "type": "number"
129010
+ },
129011
+ "rewrites": {
129012
+ "type": "number"
129013
+ },
129014
+ "source": {
129015
+ "type": "string"
129016
+ }
129017
+ },
129018
+ "required": [
129019
+ "source",
129020
+ "bindings",
129021
+ "rewrites"
129022
+ ],
129023
+ "type": "object"
129024
+ },
129025
+ "type": "array"
129026
+ },
129027
+ "limit": {
129028
+ "type": "number"
129029
+ },
129030
+ "orphanBindings": {
129031
+ "additionalProperties": false,
129032
+ "properties": {
129033
+ "checked": {
129034
+ "items": {
129035
+ "additionalProperties": false,
129036
+ "properties": {
129037
+ "assetType": {
129038
+ "type": "string"
129039
+ },
129040
+ "bindings": {
129041
+ "type": "number"
129042
+ },
129043
+ "orphans": {
129044
+ "type": "number"
129045
+ },
129046
+ "sampleAssetIds": {
129047
+ "items": {
129048
+ "type": "string"
129049
+ },
129050
+ "type": "array"
129051
+ }
129052
+ },
129053
+ "required": [
129054
+ "assetType",
129055
+ "bindings",
129056
+ "orphans",
129057
+ "sampleAssetIds"
129058
+ ],
129059
+ "type": "object"
129060
+ },
129061
+ "type": "array"
129062
+ },
129063
+ "uncheckedAssetTypes": {
129064
+ "items": {
129065
+ "type": "string"
129066
+ },
129067
+ "type": "array"
129068
+ }
129069
+ },
129070
+ "required": [
129071
+ "checked",
129072
+ "uncheckedAssetTypes"
129073
+ ],
129074
+ "type": "object"
129075
+ },
129076
+ "power": {
129077
+ "enum": [
129078
+ "included",
129079
+ "withheld"
129080
+ ],
129081
+ "type": "string"
129082
+ },
129083
+ "powerTags": {
129084
+ "items": {
129085
+ "additionalProperties": false,
129086
+ "properties": {
129087
+ "breakGlass": {
129088
+ "items": {
129089
+ "type": "string"
129090
+ },
129091
+ "type": "array"
129092
+ },
129093
+ "capabilities": {
129094
+ "items": {
129095
+ "type": "string"
129096
+ },
129097
+ "type": "array"
129098
+ },
129099
+ "contactId": {
129100
+ "type": "string"
129101
+ },
129102
+ "sources": {
129103
+ "items": {
129104
+ "type": "string"
129105
+ },
129106
+ "type": "array"
129107
+ }
129108
+ },
129109
+ "required": [
129110
+ "contactId",
129111
+ "capabilities",
129112
+ "breakGlass",
129113
+ "sources"
129114
+ ],
129115
+ "type": "object"
129116
+ },
129117
+ "type": "array"
129118
+ },
129119
+ "summary": {
129120
+ "additionalProperties": false,
129121
+ "properties": {
129122
+ "bindings": {
129123
+ "type": "number"
129124
+ },
129125
+ "boundTagsWithoutConsumer": {
129126
+ "type": "number"
129127
+ },
129128
+ "chatGrantsWithBreakGlass": {
129129
+ "anyOf": [
129130
+ {
129131
+ "type": "number"
129132
+ },
129133
+ {
129134
+ "type": "null"
129135
+ }
129136
+ ]
129137
+ },
129138
+ "chatGrantsWithCapabilities": {
129139
+ "anyOf": [
129140
+ {
129141
+ "type": "number"
129142
+ },
129143
+ {
129144
+ "type": "null"
129145
+ }
129146
+ ]
129147
+ },
129148
+ "contactsWithBreakGlass": {
129149
+ "anyOf": [
129150
+ {
129151
+ "type": "number"
129152
+ },
129153
+ {
129154
+ "type": "null"
129155
+ }
129156
+ ]
129157
+ },
129158
+ "contactsWithCapabilities": {
129159
+ "anyOf": [
129160
+ {
129161
+ "type": "number"
129162
+ },
129163
+ {
129164
+ "type": "null"
129165
+ }
129166
+ ]
129167
+ },
129168
+ "definitions": {
129169
+ "type": "number"
129170
+ },
129171
+ "legacyMirrorBindings": {
129172
+ "type": "number"
129173
+ },
129174
+ "orphanBindings": {
129175
+ "type": "number"
129176
+ },
129177
+ "unboundDefinitions": {
129178
+ "type": "number"
129179
+ }
129180
+ },
129181
+ "required": [
129182
+ "definitions",
129183
+ "bindings",
129184
+ "unboundDefinitions",
129185
+ "orphanBindings",
129186
+ "boundTagsWithoutConsumer",
129187
+ "contactsWithCapabilities",
129188
+ "contactsWithBreakGlass",
129189
+ "legacyMirrorBindings"
129190
+ ],
129191
+ "type": "object"
129192
+ },
129193
+ "tagRuleErrors": {
129194
+ "items": {
129195
+ "additionalProperties": false,
129196
+ "properties": {
129197
+ "error": {
129198
+ "type": "string"
129199
+ },
129200
+ "source": {
129201
+ "type": "string"
129202
+ }
129203
+ },
129204
+ "required": [
129205
+ "source",
129206
+ "error"
129207
+ ],
129208
+ "type": "object"
129209
+ },
129210
+ "type": "array"
129211
+ },
129212
+ "tagsWithoutConsumer": {
129213
+ "items": {
129214
+ "additionalProperties": false,
129215
+ "properties": {
129216
+ "assetTypes": {
129217
+ "items": {
129218
+ "type": "string"
129219
+ },
129220
+ "type": "array"
129221
+ },
129222
+ "bindings": {
129223
+ "type": "number"
129224
+ },
129225
+ "slug": {
129226
+ "type": "string"
129227
+ }
129228
+ },
129229
+ "required": [
129230
+ "slug",
129231
+ "bindings",
129232
+ "assetTypes"
129233
+ ],
129234
+ "type": "object"
129235
+ },
129236
+ "type": "array"
129237
+ },
129238
+ "unboundDefinitions": {
129239
+ "items": {
129240
+ "additionalProperties": false,
129241
+ "properties": {
129242
+ "createdAt": {
129243
+ "type": "number"
129244
+ },
129245
+ "kind": {
129246
+ "type": "string"
129247
+ },
129248
+ "slug": {
129249
+ "type": "string"
129250
+ },
129251
+ "source": {
129252
+ "type": "string"
129253
+ }
129254
+ },
129255
+ "required": [
129256
+ "slug",
129257
+ "kind",
129258
+ "source",
129259
+ "createdAt"
129260
+ ],
129261
+ "type": "object"
129262
+ },
129263
+ "type": "array"
129264
+ }
129265
+ },
129266
+ "required": [
129267
+ "generatedAt",
129268
+ "summary",
129269
+ "bindingsByAssetType",
129270
+ "unboundDefinitions",
129271
+ "orphanBindings",
129272
+ "consumers",
129273
+ "tagsWithoutConsumer",
129274
+ "powerTags",
129275
+ "legacyMirrors",
129276
+ "tagRuleErrors",
129277
+ "limit"
129278
+ ],
129279
+ "type": "object"
129280
+ };
127898
129281
  /** JSON Schema for the input body of `tags.list`. */
127899
129282
  export const TagsListInputSchema = {
127900
129283
  "additionalProperties": false,
@@ -135418,6 +136801,46 @@ export const VideoAnalyzeReturnSchema = {
135418
136801
  ],
135419
136802
  "type": "object"
135420
136803
  };
136804
+ /** JSON Schema for the input body of `voice.calls.activity`. */
136805
+ export const VoiceCallsActivityInputSchema = {
136806
+ "additionalProperties": false,
136807
+ "properties": {
136808
+ "call": {
136809
+ "description": "Call id",
136810
+ "type": "string"
136811
+ },
136812
+ "state": {
136813
+ "description": "speaking or quiet",
136814
+ "enum": [
136815
+ "speaking",
136816
+ "quiet"
136817
+ ],
136818
+ "type": "string"
136819
+ }
136820
+ },
136821
+ "required": [
136822
+ "call",
136823
+ "state"
136824
+ ],
136825
+ "type": "object"
136826
+ };
136827
+ /** JSON Schema for the return shape of `voice.calls.activity`. */
136828
+ export const VoiceCallsActivityReturnSchema = {
136829
+ "additionalProperties": false,
136830
+ "properties": {
136831
+ "callId": {
136832
+ "type": "string"
136833
+ },
136834
+ "speaking": {
136835
+ "type": "boolean"
136836
+ }
136837
+ },
136838
+ "required": [
136839
+ "callId",
136840
+ "speaking"
136841
+ ],
136842
+ "type": "object"
136843
+ };
135421
136844
  /** JSON Schema for the input body of `voice.calls.approve`. */
135422
136845
  export const VoiceCallsApproveInputSchema = {
135423
136846
  "additionalProperties": false,
@@ -135927,6 +137350,24 @@ export const VoiceCallsListReturnSchema = {
135927
137350
  ],
135928
137351
  "type": "string"
135929
137352
  },
137353
+ "overrides": {
137354
+ "additionalProperties": false,
137355
+ "properties": {
137356
+ "language": {
137357
+ "type": "string"
137358
+ },
137359
+ "liveVoice": {
137360
+ "type": "string"
137361
+ },
137362
+ "ttsModel": {
137363
+ "type": "string"
137364
+ },
137365
+ "voice": {
137366
+ "type": "string"
137367
+ }
137368
+ },
137369
+ "type": "object"
137370
+ },
135930
137371
  "profileId": {
135931
137372
  "type": "string"
135932
137373
  },
@@ -136246,6 +137687,24 @@ export const VoiceCallsShowReturnSchema = {
136246
137687
  ],
136247
137688
  "type": "string"
136248
137689
  },
137690
+ "overrides": {
137691
+ "additionalProperties": false,
137692
+ "properties": {
137693
+ "language": {
137694
+ "type": "string"
137695
+ },
137696
+ "liveVoice": {
137697
+ "type": "string"
137698
+ },
137699
+ "ttsModel": {
137700
+ "type": "string"
137701
+ },
137702
+ "voice": {
137703
+ "type": "string"
137704
+ }
137705
+ },
137706
+ "type": "object"
137707
+ },
136249
137708
  "profileId": {
136250
137709
  "type": "string"
136251
137710
  },
@@ -136524,6 +137983,14 @@ export const VoiceCallsSilenceReturnSchema = {
136524
137983
  export const VoiceCallsStartInputSchema = {
136525
137984
  "additionalProperties": false,
136526
137985
  "properties": {
137986
+ "language": {
137987
+ "description": "This call's language, if the profile allows it",
137988
+ "type": "string"
137989
+ },
137990
+ "liveVoice": {
137991
+ "description": "This call's GPT-Live voice, if the profile allows it",
137992
+ "type": "string"
137993
+ },
136527
137994
  "mode": {
136528
137995
  "description": "push|live|handsfree|mock (default: the profile's)",
136529
137996
  "type": "string"
@@ -136539,6 +138006,14 @@ export const VoiceCallsStartInputSchema = {
136539
138006
  "session": {
136540
138007
  "description": "Session name or key",
136541
138008
  "type": "string"
138009
+ },
138010
+ "ttsModel": {
138011
+ "description": "This call's ElevenLabs model, if the profile allows it",
138012
+ "type": "string"
138013
+ },
138014
+ "voice": {
138015
+ "description": "This call's ElevenLabs voice, if the profile allows it",
138016
+ "type": "string"
136542
138017
  }
136543
138018
  },
136544
138019
  "required": [
@@ -136604,6 +138079,24 @@ export const VoiceCallsStartReturnSchema = {
136604
138079
  ],
136605
138080
  "type": "string"
136606
138081
  },
138082
+ "overrides": {
138083
+ "additionalProperties": false,
138084
+ "properties": {
138085
+ "language": {
138086
+ "type": "string"
138087
+ },
138088
+ "liveVoice": {
138089
+ "type": "string"
138090
+ },
138091
+ "ttsModel": {
138092
+ "type": "string"
138093
+ },
138094
+ "voice": {
138095
+ "type": "string"
138096
+ }
138097
+ },
138098
+ "type": "object"
138099
+ },
136607
138100
  "profileId": {
136608
138101
  "type": "string"
136609
138102
  },
@@ -136761,6 +138254,12 @@ export const VoiceDevicesListReturnSchema = {
136761
138254
  "lastSeenAt": {
136762
138255
  "type": "string"
136763
138256
  },
138257
+ "profiles": {
138258
+ "items": {
138259
+ "type": "string"
138260
+ },
138261
+ "type": "array"
138262
+ },
136764
138263
  "revoked": {
136765
138264
  "type": "boolean"
136766
138265
  },
@@ -136776,6 +138275,7 @@ export const VoiceDevicesListReturnSchema = {
136776
138275
  "label",
136777
138276
  "contactId",
136778
138277
  "sessions",
138278
+ "profiles",
136779
138279
  "createdAt",
136780
138280
  "expiresAt",
136781
138281
  "revoked"
@@ -136863,6 +138363,10 @@ export const VoiceDevicesPairInputSchema = {
136863
138363
  "description": "Device name, e.g. 'iPhone'",
136864
138364
  "type": "string"
136865
138365
  },
138366
+ "profiles": {
138367
+ "description": "Voice profiles it may start calls with (comma-separated; default '*', any)",
138368
+ "type": "string"
138369
+ },
136866
138370
  "session": {
136867
138371
  "description": "Sessions it may call (comma-separated; '*' only for the owner)",
136868
138372
  "type": "string"
@@ -136904,6 +138408,12 @@ export const VoiceDevicesPairReturnSchema = {
136904
138408
  "lastSeenAt": {
136905
138409
  "type": "string"
136906
138410
  },
138411
+ "profiles": {
138412
+ "items": {
138413
+ "type": "string"
138414
+ },
138415
+ "type": "array"
138416
+ },
136907
138417
  "revoked": {
136908
138418
  "type": "boolean"
136909
138419
  },
@@ -136919,6 +138429,7 @@ export const VoiceDevicesPairReturnSchema = {
136919
138429
  "label",
136920
138430
  "contactId",
136921
138431
  "sessions",
138432
+ "profiles",
136922
138433
  "createdAt",
136923
138434
  "expiresAt",
136924
138435
  "revoked"
@@ -136983,6 +138494,12 @@ export const VoiceDevicesRevokeReturnSchema = {
136983
138494
  "lastSeenAt": {
136984
138495
  "type": "string"
136985
138496
  },
138497
+ "profiles": {
138498
+ "items": {
138499
+ "type": "string"
138500
+ },
138501
+ "type": "array"
138502
+ },
136986
138503
  "revoked": {
136987
138504
  "type": "boolean"
136988
138505
  },
@@ -136998,6 +138515,7 @@ export const VoiceDevicesRevokeReturnSchema = {
136998
138515
  "label",
136999
138516
  "contactId",
137000
138517
  "sessions",
138518
+ "profiles",
137001
138519
  "createdAt",
137002
138520
  "expiresAt",
137003
138521
  "revoked"
@@ -137231,6 +138749,46 @@ export const VoiceEnginesListReturnSchema = {
137231
138749
  ],
137232
138750
  "type": "object"
137233
138751
  };
138752
+ /** JSON Schema for the input body of `voice.profiles.bind`. */
138753
+ export const VoiceProfilesBindInputSchema = {
138754
+ "additionalProperties": false,
138755
+ "properties": {
138756
+ "id": {
138757
+ "description": "Profile id",
138758
+ "type": "string"
138759
+ },
138760
+ "session": {
138761
+ "description": "Session name or key",
138762
+ "type": "string"
138763
+ }
138764
+ },
138765
+ "required": [
138766
+ "id",
138767
+ "session"
138768
+ ],
138769
+ "type": "object"
138770
+ };
138771
+ /** JSON Schema for the return shape of `voice.profiles.bind`. */
138772
+ export const VoiceProfilesBindReturnSchema = {
138773
+ "additionalProperties": false,
138774
+ "properties": {
138775
+ "profileId": {
138776
+ "type": "string"
138777
+ },
138778
+ "sessionKey": {
138779
+ "type": "string"
138780
+ },
138781
+ "sessionName": {
138782
+ "type": "string"
138783
+ }
138784
+ },
138785
+ "required": [
138786
+ "profileId",
138787
+ "sessionKey",
138788
+ "sessionName"
138789
+ ],
138790
+ "type": "object"
138791
+ };
137234
138792
  /** JSON Schema for the input body of `voice.profiles.create`. */
137235
138793
  export const VoiceProfilesCreateInputSchema = {
137236
138794
  "additionalProperties": false,
@@ -137239,6 +138797,10 @@ export const VoiceProfilesCreateInputSchema = {
137239
138797
  "description": "Accept third-party speakers (speech only, never control)",
137240
138798
  "type": "boolean"
137241
138799
  },
138800
+ "allowedVoices": {
138801
+ "description": "Voices a call may pick when it overrides one ('*' clears)",
138802
+ "type": "string"
138803
+ },
137242
138804
  "delivery": {
137243
138805
  "description": "speak|when_idle|silent",
137244
138806
  "type": "string"
@@ -137279,6 +138841,22 @@ export const VoiceProfilesCreateInputSchema = {
137279
138841
  "description": "push|live|handsfree|mock",
137280
138842
  "type": "string"
137281
138843
  },
138844
+ "overridable": {
138845
+ "description": "Fields a call may change at start: voice,language,ttsModel,liveVoice (none clears)",
138846
+ "type": "string"
138847
+ },
138848
+ "sttLanguage": {
138849
+ "description": "Transcription language when not --language (empty clears)",
138850
+ "type": "string"
138851
+ },
138852
+ "sttModel": {
138853
+ "description": "Transcription model (empty clears)",
138854
+ "type": "string"
138855
+ },
138856
+ "sttProvider": {
138857
+ "description": "Push transcription provider: auto|groq|openai",
138858
+ "type": "string"
138859
+ },
137282
138860
  "ttsModel": {
137283
138861
  "description": "ElevenLabs model id",
137284
138862
  "type": "string"
@@ -137303,6 +138881,12 @@ export const VoiceProfilesCreateReturnSchema = {
137303
138881
  "allowGuests": {
137304
138882
  "type": "boolean"
137305
138883
  },
138884
+ "allowedVoices": {
138885
+ "items": {
138886
+ "type": "string"
138887
+ },
138888
+ "type": "array"
138889
+ },
137306
138890
  "createdAt": {
137307
138891
  "type": "number"
137308
138892
  },
@@ -137347,6 +138931,31 @@ export const VoiceProfilesCreateReturnSchema = {
137347
138931
  ],
137348
138932
  "type": "string"
137349
138933
  },
138934
+ "overridable": {
138935
+ "items": {
138936
+ "enum": [
138937
+ "voice",
138938
+ "language",
138939
+ "ttsModel",
138940
+ "liveVoice"
138941
+ ],
138942
+ "type": "string"
138943
+ },
138944
+ "type": "array"
138945
+ },
138946
+ "sttLanguage": {
138947
+ "type": "string"
138948
+ },
138949
+ "sttModel": {
138950
+ "type": "string"
138951
+ },
138952
+ "sttProvider": {
138953
+ "enum": [
138954
+ "groq",
138955
+ "openai"
138956
+ ],
138957
+ "type": "string"
138958
+ },
137350
138959
  "ttsModel": {
137351
138960
  "type": "string"
137352
138961
  },
@@ -137483,6 +139092,12 @@ export const VoiceProfilesListReturnSchema = {
137483
139092
  "allowGuests": {
137484
139093
  "type": "boolean"
137485
139094
  },
139095
+ "allowedVoices": {
139096
+ "items": {
139097
+ "type": "string"
139098
+ },
139099
+ "type": "array"
139100
+ },
137486
139101
  "createdAt": {
137487
139102
  "type": "number"
137488
139103
  },
@@ -137527,6 +139142,31 @@ export const VoiceProfilesListReturnSchema = {
137527
139142
  ],
137528
139143
  "type": "string"
137529
139144
  },
139145
+ "overridable": {
139146
+ "items": {
139147
+ "enum": [
139148
+ "voice",
139149
+ "language",
139150
+ "ttsModel",
139151
+ "liveVoice"
139152
+ ],
139153
+ "type": "string"
139154
+ },
139155
+ "type": "array"
139156
+ },
139157
+ "sttLanguage": {
139158
+ "type": "string"
139159
+ },
139160
+ "sttModel": {
139161
+ "type": "string"
139162
+ },
139163
+ "sttProvider": {
139164
+ "enum": [
139165
+ "groq",
139166
+ "openai"
139167
+ ],
139168
+ "type": "string"
139169
+ },
137530
139170
  "ttsModel": {
137531
139171
  "type": "string"
137532
139172
  },
@@ -137589,6 +139229,12 @@ export const VoiceProfilesShowReturnSchema = {
137589
139229
  "allowGuests": {
137590
139230
  "type": "boolean"
137591
139231
  },
139232
+ "allowedVoices": {
139233
+ "items": {
139234
+ "type": "string"
139235
+ },
139236
+ "type": "array"
139237
+ },
137592
139238
  "createdAt": {
137593
139239
  "type": "number"
137594
139240
  },
@@ -137633,6 +139279,31 @@ export const VoiceProfilesShowReturnSchema = {
137633
139279
  ],
137634
139280
  "type": "string"
137635
139281
  },
139282
+ "overridable": {
139283
+ "items": {
139284
+ "enum": [
139285
+ "voice",
139286
+ "language",
139287
+ "ttsModel",
139288
+ "liveVoice"
139289
+ ],
139290
+ "type": "string"
139291
+ },
139292
+ "type": "array"
139293
+ },
139294
+ "sttLanguage": {
139295
+ "type": "string"
139296
+ },
139297
+ "sttModel": {
139298
+ "type": "string"
139299
+ },
139300
+ "sttProvider": {
139301
+ "enum": [
139302
+ "groq",
139303
+ "openai"
139304
+ ],
139305
+ "type": "string"
139306
+ },
137636
139307
  "ttsModel": {
137637
139308
  "type": "string"
137638
139309
  },
@@ -137664,6 +139335,37 @@ export const VoiceProfilesShowReturnSchema = {
137664
139335
  ],
137665
139336
  "type": "object"
137666
139337
  };
139338
+ /** JSON Schema for the input body of `voice.profiles.unbind`. */
139339
+ export const VoiceProfilesUnbindInputSchema = {
139340
+ "additionalProperties": false,
139341
+ "properties": {
139342
+ "session": {
139343
+ "description": "Session name or key",
139344
+ "type": "string"
139345
+ }
139346
+ },
139347
+ "required": [
139348
+ "session"
139349
+ ],
139350
+ "type": "object"
139351
+ };
139352
+ /** JSON Schema for the return shape of `voice.profiles.unbind`. */
139353
+ export const VoiceProfilesUnbindReturnSchema = {
139354
+ "additionalProperties": false,
139355
+ "properties": {
139356
+ "sessionKey": {
139357
+ "type": "string"
139358
+ },
139359
+ "unbound": {
139360
+ "type": "boolean"
139361
+ }
139362
+ },
139363
+ "required": [
139364
+ "sessionKey",
139365
+ "unbound"
139366
+ ],
139367
+ "type": "object"
139368
+ };
137667
139369
  /** JSON Schema for the input body of `voice.profiles.update`. */
137668
139370
  export const VoiceProfilesUpdateInputSchema = {
137669
139371
  "additionalProperties": false,
@@ -137672,6 +139374,10 @@ export const VoiceProfilesUpdateInputSchema = {
137672
139374
  "description": "Accept third-party speakers",
137673
139375
  "type": "boolean"
137674
139376
  },
139377
+ "allowedVoices": {
139378
+ "description": "Voices a call may pick when it overrides one ('*' clears)",
139379
+ "type": "string"
139380
+ },
137675
139381
  "delivery": {
137676
139382
  "description": "speak|when_idle|silent",
137677
139383
  "type": "string"
@@ -137717,6 +139423,22 @@ export const VoiceProfilesUpdateInputSchema = {
137717
139423
  "description": "Stop accepting third-party speakers",
137718
139424
  "type": "boolean"
137719
139425
  },
139426
+ "overridable": {
139427
+ "description": "Fields a call may change at start: voice,language,ttsModel,liveVoice (none clears)",
139428
+ "type": "string"
139429
+ },
139430
+ "sttLanguage": {
139431
+ "description": "Transcription language when not --language (empty clears)",
139432
+ "type": "string"
139433
+ },
139434
+ "sttModel": {
139435
+ "description": "Transcription model (empty clears)",
139436
+ "type": "string"
139437
+ },
139438
+ "sttProvider": {
139439
+ "description": "Push transcription provider: auto|groq|openai",
139440
+ "type": "string"
139441
+ },
137720
139442
  "ttsModel": {
137721
139443
  "description": "ElevenLabs model id",
137722
139444
  "type": "string"
@@ -137741,6 +139463,12 @@ export const VoiceProfilesUpdateReturnSchema = {
137741
139463
  "allowGuests": {
137742
139464
  "type": "boolean"
137743
139465
  },
139466
+ "allowedVoices": {
139467
+ "items": {
139468
+ "type": "string"
139469
+ },
139470
+ "type": "array"
139471
+ },
137744
139472
  "createdAt": {
137745
139473
  "type": "number"
137746
139474
  },
@@ -137785,6 +139513,31 @@ export const VoiceProfilesUpdateReturnSchema = {
137785
139513
  ],
137786
139514
  "type": "string"
137787
139515
  },
139516
+ "overridable": {
139517
+ "items": {
139518
+ "enum": [
139519
+ "voice",
139520
+ "language",
139521
+ "ttsModel",
139522
+ "liveVoice"
139523
+ ],
139524
+ "type": "string"
139525
+ },
139526
+ "type": "array"
139527
+ },
139528
+ "sttLanguage": {
139529
+ "type": "string"
139530
+ },
139531
+ "sttModel": {
139532
+ "type": "string"
139533
+ },
139534
+ "sttProvider": {
139535
+ "enum": [
139536
+ "groq",
139537
+ "openai"
139538
+ ],
139539
+ "type": "string"
139540
+ },
137788
139541
  "ttsModel": {
137789
139542
  "type": "string"
137790
139543
  },