@mycadet/assistant 0.12.10 → 0.13.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.
Files changed (180) hide show
  1. package/node_modules/@mycadet/ces-client/node_modules/@mycadet/service-contracts/src/__tests__/ingress.test.ts +10 -10
  2. package/node_modules/@mycadet/ces-client/node_modules/@mycadet/service-contracts/src/ingress.ts +3 -3
  3. package/node_modules/@mycadet/ces-client/src/http-credentials.ts +18 -1
  4. package/node_modules/@mycadet/gateway-client/node_modules/@mycadet/service-contracts/src/__tests__/ingress.test.ts +10 -10
  5. package/node_modules/@mycadet/gateway-client/node_modules/@mycadet/service-contracts/src/ingress.ts +3 -3
  6. package/node_modules/@mycadet/gateway-client/src/gateway-ipc-contracts.ts +0 -20
  7. package/node_modules/@mycadet/service-contracts/src/__tests__/ingress.test.ts +10 -10
  8. package/node_modules/@mycadet/service-contracts/src/ingress.ts +3 -3
  9. package/openapi.yaml +2 -708
  10. package/package.json +2 -3
  11. package/scripts/sync-web-search-catalog.ts +1 -2
  12. package/src/__tests__/cloud-profile-guard.test.ts +41 -5
  13. package/src/__tests__/config-schema.test.ts +6 -38
  14. package/src/__tests__/conversation-queue.test.ts +45 -6
  15. package/src/__tests__/db-readiness-http-gate.test.ts +0 -6
  16. package/src/__tests__/persist-onboarding-artifacts.test.ts +0 -1
  17. package/src/__tests__/persona-resolver.test.ts +0 -51
  18. package/src/__tests__/provider-cloud-proxy-integration.test.ts +2 -110
  19. package/src/__tests__/run-due-schedules.test.ts +0 -4
  20. package/src/__tests__/schedule-store.test.ts +0 -12
  21. package/src/__tests__/stt-stream-session.test.ts +4 -4
  22. package/src/__tests__/telephony-tts-guard.test.ts +2 -50
  23. package/src/__tests__/voice-config-update.test.ts +12 -167
  24. package/src/__tests__/web-search-catalog-parity.test.ts +0 -2
  25. package/src/__tests__/workspace-migration-130-speech-mode-to-provider.test.ts +9 -7
  26. package/src/__tests__/workspace-migration-132-web-search-mode-to-provider.test.ts +6 -6
  27. package/src/calls/__tests__/voice-session-bridge.test.ts +1 -4
  28. package/src/calls/resolve-call-tts-provider.ts +6 -25
  29. package/src/calls/telephony-credential-preflight.ts +0 -10
  30. package/src/calls/telephony-tts-capability.ts +1 -17
  31. package/src/cli/commands/tts.ts +1 -2
  32. package/src/cli/index.help.ts +0 -2
  33. package/src/cli/program.ts +0 -2
  34. package/src/config/bundled-skills/settings/tools/voice-config-update.ts +4 -42
  35. package/src/config/schemas/__tests__/stt.test.ts +10 -14
  36. package/src/config/schemas/llm.ts +3 -5
  37. package/src/config/schemas/services.ts +5 -6
  38. package/src/config/schemas/stt.ts +1 -3
  39. package/src/config/schemas/tts.ts +1 -30
  40. package/src/daemon/daemon-readiness.ts +4 -29
  41. package/src/daemon/lifecycle.ts +0 -31
  42. package/src/daemon/providers-setup.ts +0 -8
  43. package/src/heartbeat/__tests__/heartbeat-service.test.ts +0 -1
  44. package/src/heartbeat/heartbeat-service.ts +1 -66
  45. package/src/ipc/__tests__/db-readiness-ipc-gate.test.ts +1 -9
  46. package/src/live-voice/__tests__/live-voice-credential-preflight.test.ts +0 -44
  47. package/src/live-voice/__tests__/live-voice-flux-turn-end.test.ts +4 -6
  48. package/src/live-voice/__tests__/live-voice-stt.test.ts +1 -1
  49. package/src/live-voice/live-voice-credential-preflight.ts +9 -33
  50. package/src/live-voice/live-voice-session.ts +10 -6
  51. package/src/live-voice/live-voice-tts.ts +1 -8
  52. package/src/plugins/defaults/memory/worker.ts +3 -3
  53. package/src/prompts/persona-resolver.ts +0 -35
  54. package/src/providers/__tests__/search-provider-catalog.test.ts +5 -8
  55. package/src/providers/__tests__/voice-error-copy.test.ts +9 -10
  56. package/src/providers/search-provider-catalog.ts +7 -39
  57. package/src/providers/speech-to-text/__tests__/provider-catalog.test.ts +3 -47
  58. package/src/providers/speech-to-text/__tests__/resolve.test.ts +6 -372
  59. package/src/providers/speech-to-text/provider-catalog.ts +2 -73
  60. package/src/providers/speech-to-text/resolve.ts +3 -120
  61. package/src/runtime/http-router-types.ts +1 -3
  62. package/src/runtime/http-server.ts +1 -1
  63. package/src/runtime/routes/__tests__/conversation-query-routes.test.ts +13 -11
  64. package/src/runtime/routes/__tests__/tts-routes.test.ts +2 -6
  65. package/src/runtime/routes/conversation-query-routes.ts +0 -96
  66. package/src/runtime/routes/inbound-stages/transcribe-audio.test.ts +7 -7
  67. package/src/runtime/routes/index.ts +0 -4
  68. package/src/runtime/routes/live-voice-routes.test.ts +4 -11
  69. package/src/runtime/routes/live-voice-routes.ts +8 -11
  70. package/src/runtime/routes/secret-routes.ts +0 -6
  71. package/src/runtime/routes/tts-routes.ts +0 -38
  72. package/src/schedule/__tests__/plugin-schedule-reconciler.test.ts +1 -7
  73. package/src/schedule/__tests__/worker-mcp-readiness.test.ts +0 -4
  74. package/src/schedule/schedule-store.ts +0 -7
  75. package/src/schedule/scheduler.ts +0 -5
  76. package/src/schedule/worker.ts +1 -1
  77. package/src/stt/__tests__/daemon-batch-transcriber.test.ts +2 -10
  78. package/src/stt/daemon-batch-transcriber.ts +4 -38
  79. package/src/stt/types.ts +1 -9
  80. package/src/tools/network/__tests__/web-search.test.ts +3 -250
  81. package/src/tools/network/web-search.ts +4 -165
  82. package/src/tts/__tests__/provider-resolution.test.ts +0 -5
  83. package/src/tts/provider-catalog.ts +0 -4
  84. package/src/tts/types.ts +0 -1
  85. package/src/__tests__/cloud-speech-defaults.test.ts +0 -330
  86. package/src/__tests__/migration-cross-version-compatibility.test.ts +0 -1708
  87. package/src/__tests__/migration-export-http.test.ts +0 -557
  88. package/src/__tests__/migration-export-streaming.test.ts +0 -350
  89. package/src/__tests__/migration-export-to-gcs.test.ts +0 -706
  90. package/src/__tests__/migration-import-commit-http.test.ts +0 -1176
  91. package/src/__tests__/migration-import-from-gcs.test.ts +0 -534
  92. package/src/__tests__/migration-import-from-path.test.ts +0 -324
  93. package/src/__tests__/migration-import-from-url.test.ts +0 -588
  94. package/src/__tests__/migration-import-preflight-http.test.ts +0 -739
  95. package/src/__tests__/migration-jobs-status.test.ts +0 -139
  96. package/src/__tests__/migration-parity-persistence.test.ts +0 -1891
  97. package/src/__tests__/migration-transport.test.ts +0 -1089
  98. package/src/__tests__/migration-validate-http.test.ts +0 -634
  99. package/src/__tests__/migration-wizard.test.ts +0 -1395
  100. package/src/__tests__/rebind-secrets-screen.test.ts +0 -876
  101. package/src/__tests__/sanitize-config-for-transfer.test.ts +0 -259
  102. package/src/__tests__/transfer-progress-screen.test.ts +0 -1217
  103. package/src/__tests__/validation-results-screen.test.ts +0 -1130
  104. package/src/__tests__/vbundle-pax-and-symlink.test.ts +0 -147
  105. package/src/background-wake/background-wake-routes.test.ts +0 -906
  106. package/src/background-wake/cloud-client.test.ts +0 -328
  107. package/src/background-wake/cloud-client.ts +0 -196
  108. package/src/background-wake/next-wake.test.ts +0 -335
  109. package/src/background-wake/next-wake.ts +0 -188
  110. package/src/background-wake/publisher.ts +0 -93
  111. package/src/background-wake/wake-intent-hooks.test.ts +0 -234
  112. package/src/cli/commands/__tests__/backup.test.ts +0 -363
  113. package/src/cli/commands/backup.help.ts +0 -180
  114. package/src/cli/commands/backup.ts +0 -398
  115. package/src/cloud/cloud-speech.test.ts +0 -335
  116. package/src/cloud/cloud-speech.ts +0 -300
  117. package/src/config/cloud-speech-defaults.ts +0 -300
  118. package/src/config/sanitize-for-transfer.ts +0 -111
  119. package/src/live-voice/__tests__/live-voice-cloud-speech-fallback.test.ts +0 -250
  120. package/src/providers/speech-to-text/__tests__/cadet-cloud-realtime.test.ts +0 -457
  121. package/src/providers/speech-to-text/__tests__/cadet-cloud.test.ts +0 -271
  122. package/src/providers/speech-to-text/__tests__/cadet-speech-relay-connection.test.ts +0 -126
  123. package/src/providers/speech-to-text/cadet-cloud-flux-realtime.ts +0 -309
  124. package/src/providers/speech-to-text/cadet-cloud-realtime.ts +0 -315
  125. package/src/providers/speech-to-text/cadet-cloud.ts +0 -108
  126. package/src/providers/speech-to-text/cadet-speech-relay-connection.ts +0 -176
  127. package/src/runtime/migrations/__tests__/gcs-signed-url.test.ts +0 -254
  128. package/src/runtime/migrations/__tests__/job-registry.test.ts +0 -346
  129. package/src/runtime/migrations/__tests__/origin-mode.test.ts +0 -62
  130. package/src/runtime/migrations/__tests__/rebind-secrets-credentials.test.ts +0 -184
  131. package/src/runtime/migrations/__tests__/staged-import-path.test.ts +0 -110
  132. package/src/runtime/migrations/__tests__/v1-test-helpers.ts +0 -112
  133. package/src/runtime/migrations/__tests__/vbundle-builder-credentials.test.ts +0 -285
  134. package/src/runtime/migrations/__tests__/vbundle-builder-fd-leak.test.ts +0 -126
  135. package/src/runtime/migrations/__tests__/vbundle-builder-v1-shape.test.ts +0 -253
  136. package/src/runtime/migrations/__tests__/vbundle-import-credentials.test.ts +0 -208
  137. package/src/runtime/migrations/__tests__/vbundle-import-parity.test.ts +0 -485
  138. package/src/runtime/migrations/__tests__/vbundle-import-policy.test.ts +0 -349
  139. package/src/runtime/migrations/__tests__/vbundle-import-version-compat.test.ts +0 -196
  140. package/src/runtime/migrations/__tests__/vbundle-legacy-user-md.test.ts +0 -551
  141. package/src/runtime/migrations/__tests__/vbundle-metadata-merge-integration.test.ts +0 -428
  142. package/src/runtime/migrations/__tests__/vbundle-metadata-merge.test.ts +0 -220
  143. package/src/runtime/migrations/__tests__/vbundle-streaming-importer.test.ts +0 -1823
  144. package/src/runtime/migrations/__tests__/vbundle-streaming-validator.test.ts +0 -598
  145. package/src/runtime/migrations/__tests__/vbundle-symlink-importer.test.ts +0 -463
  146. package/src/runtime/migrations/__tests__/vbundle-symlink-streaming-importer.test.ts +0 -538
  147. package/src/runtime/migrations/__tests__/vbundle-symlink-streaming.test.ts +0 -515
  148. package/src/runtime/migrations/__tests__/vbundle-symlink-tar.test.ts +0 -453
  149. package/src/runtime/migrations/__tests__/vbundle-symlink-walker.test.ts +0 -319
  150. package/src/runtime/migrations/__tests__/vbundle-tar-stream.test.ts +0 -240
  151. package/src/runtime/migrations/__tests__/vbundle-validator-v1-schema.test.ts +0 -473
  152. package/src/runtime/migrations/gcs-signed-url.ts +0 -190
  153. package/src/runtime/migrations/job-registry.ts +0 -297
  154. package/src/runtime/migrations/migration-transport.ts +0 -612
  155. package/src/runtime/migrations/migration-wizard.ts +0 -747
  156. package/src/runtime/migrations/origin-mode.ts +0 -42
  157. package/src/runtime/migrations/rebind-secrets-screen.ts +0 -412
  158. package/src/runtime/migrations/staged-import-path.ts +0 -116
  159. package/src/runtime/migrations/transfer-progress-screen.ts +0 -323
  160. package/src/runtime/migrations/validation-results-screen.ts +0 -469
  161. package/src/runtime/migrations/vbundle-builder.ts +0 -1382
  162. package/src/runtime/migrations/vbundle-import-analyzer.ts +0 -405
  163. package/src/runtime/migrations/vbundle-import-policy.ts +0 -241
  164. package/src/runtime/migrations/vbundle-importer.ts +0 -826
  165. package/src/runtime/migrations/vbundle-metadata-merge.ts +0 -113
  166. package/src/runtime/migrations/vbundle-streaming-importer.ts +0 -2844
  167. package/src/runtime/migrations/vbundle-streaming-validator.ts +0 -426
  168. package/src/runtime/migrations/vbundle-tar-stream.ts +0 -244
  169. package/src/runtime/migrations/vbundle-validator.ts +0 -724
  170. package/src/runtime/routes/__tests__/migration-cadet-metadata-reconcile.test.ts +0 -227
  171. package/src/runtime/routes/__tests__/migration-export-secrets-redacted.test.ts +0 -54
  172. package/src/runtime/routes/__tests__/migration-import-allowed-hosts-env.test.ts +0 -70
  173. package/src/runtime/routes/__tests__/migration-import-credential-filter.test.ts +0 -257
  174. package/src/runtime/routes/background-wake-routes.ts +0 -387
  175. package/src/runtime/routes/migration-routes.ts +0 -2584
  176. package/src/tools/network/__tests__/cloud-search-proxy.test.ts +0 -282
  177. package/src/tools/network/cloud-search-proxy.ts +0 -211
  178. package/src/tts/__tests__/cadet-provider.test.ts +0 -253
  179. package/src/tts/providers/cadet-provider.ts +0 -244
  180. package/src/types/tar-stream.d.ts +0 -66
package/openapi.yaml CHANGED
@@ -3,7 +3,7 @@
3
3
  openapi: 3.1.0
4
4
  info:
5
5
  title: Cadet Assistant API
6
- version: 0.12.10
6
+ version: 0.13.0
7
7
  description: Auto-generated OpenAPI specification for the Cadet Assistant runtime HTTP server.
8
8
  servers:
9
9
  - url: http://127.0.0.1:7821
@@ -3262,200 +3262,6 @@ paths:
3262
3262
  required:
3263
3263
  - cancelled
3264
3264
  additionalProperties: false
3265
- /v1/background-wake/drain-due:
3266
- post:
3267
- operationId: backgroundwake_draindue_post
3268
- summary: Drain due background wake work
3269
- description: Run due heartbeat and scheduler work for a background wake lease.
3270
- tags:
3271
- - background-wake
3272
- requestBody:
3273
- required: true
3274
- content:
3275
- application/json:
3276
- schema:
3277
- anyOf:
3278
- - type: object
3279
- properties:
3280
- leaseId:
3281
- type: string
3282
- minLength: 1
3283
- reason:
3284
- type: string
3285
- minLength: 1
3286
- sourceGeneration:
3287
- type: string
3288
- minLength: 1
3289
- startedAt:
3290
- anyOf:
3291
- - type: number
3292
- - type: string
3293
- deadlineAt:
3294
- anyOf:
3295
- - type: number
3296
- - type: string
3297
- required:
3298
- - leaseId
3299
- - reason
3300
- - sourceGeneration
3301
- - startedAt
3302
- - deadlineAt
3303
- - type: object
3304
- properties:
3305
- lease_id:
3306
- type: string
3307
- minLength: 1
3308
- reason:
3309
- type: string
3310
- minLength: 1
3311
- source_generation:
3312
- type: string
3313
- minLength: 1
3314
- started_at:
3315
- anyOf:
3316
- - type: number
3317
- - type: string
3318
- deadline_at:
3319
- anyOf:
3320
- - type: number
3321
- - type: string
3322
- required:
3323
- - lease_id
3324
- - reason
3325
- - source_generation
3326
- - started_at
3327
- - deadline_at
3328
- responses:
3329
- "200":
3330
- description: Successful response
3331
- content:
3332
- application/json:
3333
- schema:
3334
- type: object
3335
- properties:
3336
- accepted:
3337
- type: boolean
3338
- leaseId:
3339
- type: string
3340
- reason:
3341
- type: string
3342
- sourceGeneration:
3343
- type: string
3344
- startedAt:
3345
- type: number
3346
- deadlineAt:
3347
- type: number
3348
- required:
3349
- - accepted
3350
- - leaseId
3351
- - reason
3352
- - sourceGeneration
3353
- - startedAt
3354
- - deadlineAt
3355
- additionalProperties: false
3356
- /v1/background-wake/intent:
3357
- get:
3358
- operationId: backgroundwake_intent_get
3359
- summary: Get background wake intent
3360
- description: Return the current computed background wake intent.
3361
- tags:
3362
- - background-wake
3363
- responses:
3364
- "200":
3365
- description: Successful response
3366
- content:
3367
- application/json:
3368
- schema:
3369
- type: object
3370
- properties:
3371
- intent:
3372
- anyOf:
3373
- - type: object
3374
- properties:
3375
- nextWakeAt:
3376
- type: number
3377
- actualNextDueAt:
3378
- type: number
3379
- reason:
3380
- type: string
3381
- enum:
3382
- - heartbeat
3383
- - schedule
3384
- - mixed
3385
- sourceGeneration:
3386
- type: string
3387
- computedAt:
3388
- type: number
3389
- sourcePayload:
3390
- type: object
3391
- propertyNames:
3392
- type: string
3393
- additionalProperties: {}
3394
- required:
3395
- - nextWakeAt
3396
- - actualNextDueAt
3397
- - reason
3398
- - sourceGeneration
3399
- - computedAt
3400
- - sourcePayload
3401
- additionalProperties: false
3402
- - type: "null"
3403
- required:
3404
- - intent
3405
- additionalProperties: false
3406
- /v1/background-wake/prepare-sleep:
3407
- post:
3408
- operationId: backgroundwake_preparesleep_post
3409
- summary: Prepare for assistant sleep
3410
- description: Return the current background wake intent and whether sleep should be deferred.
3411
- tags:
3412
- - background-wake
3413
- responses:
3414
- "200":
3415
- description: Successful response
3416
- content:
3417
- application/json:
3418
- schema:
3419
- type: object
3420
- properties:
3421
- intent:
3422
- anyOf:
3423
- - type: object
3424
- properties:
3425
- nextWakeAt:
3426
- type: number
3427
- actualNextDueAt:
3428
- type: number
3429
- reason:
3430
- type: string
3431
- enum:
3432
- - heartbeat
3433
- - schedule
3434
- - mixed
3435
- sourceGeneration:
3436
- type: string
3437
- computedAt:
3438
- type: number
3439
- sourcePayload:
3440
- type: object
3441
- propertyNames:
3442
- type: string
3443
- additionalProperties: {}
3444
- required:
3445
- - nextWakeAt
3446
- - actualNextDueAt
3447
- - reason
3448
- - sourceGeneration
3449
- - computedAt
3450
- - sourcePayload
3451
- additionalProperties: false
3452
- - type: "null"
3453
- deferSleep:
3454
- type: boolean
3455
- required:
3456
- - intent
3457
- - deferSleep
3458
- additionalProperties: false
3459
3265
  /v1/bookmarks:
3460
3266
  get:
3461
3267
  operationId: bookmarks_get
@@ -7985,7 +7791,6 @@ paths:
7985
7791
  format: mp3
7986
7792
  sampleRate: 24000
7987
7793
  bitRate: 128000
7988
- cadet: {}
7989
7794
  google-oauth:
7990
7795
  mode: managed
7991
7796
  outlook-oauth:
@@ -8057,7 +7862,6 @@ paths:
8057
7862
  default: inference-provider-native
8058
7863
  type: string
8059
7864
  enum:
8060
- - cadet
8061
7865
  - inference-provider-native
8062
7866
  - perplexity
8063
7867
  - brave
@@ -8108,7 +7912,6 @@ paths:
8108
7912
  - google-gemini
8109
7913
  - openai-whisper
8110
7914
  - xai
8111
- - cadet
8112
7915
  language:
8113
7916
  default: multi
8114
7917
  description:
@@ -8149,7 +7952,6 @@ paths:
8149
7952
  - google-gemini
8150
7953
  - openai-whisper
8151
7954
  - xai
8152
- - cadet
8153
7955
  model:
8154
7956
  description: Model family this consumer uses. Omitted runs the provider's default family
8155
7957
  type: string
@@ -8192,7 +7994,6 @@ paths:
8192
7994
  format: mp3
8193
7995
  sampleRate: 24000
8194
7996
  bitRate: 128000
8195
- cadet: {}
8196
7997
  type: object
8197
7998
  properties:
8198
7999
  provider:
@@ -8204,7 +8005,6 @@ paths:
8204
8005
  - fish-audio
8205
8006
  - deepgram
8206
8007
  - xai
8207
- - cadet
8208
8008
  providers:
8209
8009
  default:
8210
8010
  elevenlabs:
@@ -8229,7 +8029,6 @@ paths:
8229
8029
  format: mp3
8230
8030
  sampleRate: 24000
8231
8031
  bitRate: 128000
8232
- cadet: {}
8233
8032
  type: object
8234
8033
  properties:
8235
8034
  elevenlabs:
@@ -8416,36 +8215,11 @@ paths:
8416
8215
  - bitRate
8417
8216
  additionalProperties: false
8418
8217
  description: xAI provider configuration under services.tts
8419
- cadet:
8420
- default: {}
8421
- type: object
8422
- properties:
8423
- model:
8424
- description:
8425
- Managed TTS voice model (e.g. aura-2-thalia-en). Unset means the cloud's default voice. The cloud rejects
8426
- voices it does not offer.
8427
- type: string
8428
- languageVoices:
8429
- description:
8430
- 'Per-language voice overrides for live voice. Keys are normalized on save to lowercase base language
8431
- subtags ("hi-IN" and "HI" both store as "hi"); values are managed TTS voice
8432
- models (e.g. aura-2-thalia-en) and must be voices offered by the cloud rate card:
8433
- an unpriced model is rejected by the relay (missing_price), the same contract as
8434
- services.tts.providers.cadet.model. Applied when the turn''s spoken language
8435
- matches an entry and no explicit voice is requested.'
8436
- type: object
8437
- propertyNames:
8438
- type: string
8439
- additionalProperties:
8440
- type: string
8441
- additionalProperties: false
8442
- description: Cadet Cloud provider configuration under services.tts
8443
8218
  required:
8444
8219
  - elevenlabs
8445
8220
  - fish-audio
8446
8221
  - deepgram
8447
8222
  - xai
8448
- - cadet
8449
8223
  additionalProperties: false
8450
8224
  required:
8451
8225
  - provider
@@ -11201,7 +10975,6 @@ paths:
11201
10975
  format: mp3
11202
10976
  sampleRate: 24000
11203
10977
  bitRate: 128000
11204
- cadet: {}
11205
10978
  google-oauth:
11206
10979
  mode: managed
11207
10980
  outlook-oauth:
@@ -11273,7 +11046,6 @@ paths:
11273
11046
  default: inference-provider-native
11274
11047
  type: string
11275
11048
  enum:
11276
- - cadet
11277
11049
  - inference-provider-native
11278
11050
  - perplexity
11279
11051
  - brave
@@ -11324,7 +11096,6 @@ paths:
11324
11096
  - google-gemini
11325
11097
  - openai-whisper
11326
11098
  - xai
11327
- - cadet
11328
11099
  language:
11329
11100
  default: multi
11330
11101
  description:
@@ -11365,7 +11136,6 @@ paths:
11365
11136
  - google-gemini
11366
11137
  - openai-whisper
11367
11138
  - xai
11368
- - cadet
11369
11139
  model:
11370
11140
  description: Model family this consumer uses. Omitted runs the provider's default family
11371
11141
  type: string
@@ -11408,7 +11178,6 @@ paths:
11408
11178
  format: mp3
11409
11179
  sampleRate: 24000
11410
11180
  bitRate: 128000
11411
- cadet: {}
11412
11181
  type: object
11413
11182
  properties:
11414
11183
  provider:
@@ -11420,7 +11189,6 @@ paths:
11420
11189
  - fish-audio
11421
11190
  - deepgram
11422
11191
  - xai
11423
- - cadet
11424
11192
  providers:
11425
11193
  default:
11426
11194
  elevenlabs:
@@ -11445,7 +11213,6 @@ paths:
11445
11213
  format: mp3
11446
11214
  sampleRate: 24000
11447
11215
  bitRate: 128000
11448
- cadet: {}
11449
11216
  type: object
11450
11217
  properties:
11451
11218
  elevenlabs:
@@ -11632,36 +11399,11 @@ paths:
11632
11399
  - bitRate
11633
11400
  additionalProperties: false
11634
11401
  description: xAI provider configuration under services.tts
11635
- cadet:
11636
- default: {}
11637
- type: object
11638
- properties:
11639
- model:
11640
- description:
11641
- Managed TTS voice model (e.g. aura-2-thalia-en). Unset means the cloud's default voice. The cloud rejects
11642
- voices it does not offer.
11643
- type: string
11644
- languageVoices:
11645
- description:
11646
- 'Per-language voice overrides for live voice. Keys are normalized on save to lowercase base language
11647
- subtags ("hi-IN" and "HI" both store as "hi"); values are managed TTS voice
11648
- models (e.g. aura-2-thalia-en) and must be voices offered by the cloud rate card:
11649
- an unpriced model is rejected by the relay (missing_price), the same contract as
11650
- services.tts.providers.cadet.model. Applied when the turn''s spoken language
11651
- matches an entry and no explicit voice is requested.'
11652
- type: object
11653
- propertyNames:
11654
- type: string
11655
- additionalProperties:
11656
- type: string
11657
- additionalProperties: false
11658
- description: Cadet Cloud provider configuration under services.tts
11659
11402
  required:
11660
11403
  - elevenlabs
11661
11404
  - fish-audio
11662
11405
  - deepgram
11663
11406
  - xai
11664
- - cadet
11665
11407
  additionalProperties: false
11666
11408
  required:
11667
11409
  - provider
@@ -25182,7 +24924,7 @@ paths:
25182
24924
  post:
25183
24925
  operationId: livevoice_preflight_post
25184
24926
  summary: Live voice preflight
25185
- description: Ensure cloud speech defaulting has run, then report whether live voice can start.
24927
+ description: Report whether live voice can start with the current speech credentials.
25186
24928
  tags:
25187
24929
  - live-voice
25188
24930
  responses:
@@ -29818,407 +29560,6 @@ paths:
29818
29560
  description: The queued message was enqueued by a different actor principal.
29819
29561
  "404":
29820
29562
  description: Conversation or queued message not found.
29821
- /v1/migrations/export:
29822
- post:
29823
- operationId: migrations_export_post
29824
- summary: Export a .vbundle archive
29825
- description: Generate and download a .vbundle archive of the assistant's data. Optional JSON body for metadata.
29826
- tags:
29827
- - migrations
29828
- requestBody:
29829
- required: true
29830
- content:
29831
- application/json:
29832
- schema:
29833
- type: object
29834
- properties:
29835
- description:
29836
- type: string
29837
- description: Human-readable export description
29838
- required:
29839
- - description
29840
- responses:
29841
- "200":
29842
- description: Successful response
29843
- /v1/migrations/export-to-gcs:
29844
- post:
29845
- operationId: migrations_exporttogcs_post
29846
- summary: Start an async export streamed to a GCS signed URL
29847
- description:
29848
- Kick off a background export job that PUTs a freshly-built .vbundle archive to the supplied GCS signed URL.
29849
- Returns 202 with a job_id the caller can poll via the job-status endpoint. Fails fast with 409 if another export
29850
- job is already pending or running.
29851
- tags:
29852
- - migrations
29853
- requestBody:
29854
- required: true
29855
- content:
29856
- application/json:
29857
- schema:
29858
- type: object
29859
- properties:
29860
- upload_url:
29861
- type: string
29862
- format: uri
29863
- description: Signed GCS PUT URL that receives the exported bundle.
29864
- description:
29865
- description: Human-readable export description.
29866
- type: string
29867
- profile:
29868
- description:
29869
- "Export profile. 'migration' (default) builds a teleport bundle. 'debug' builds a bundle for Cadet staff to
29870
- open on a debug clone: no credentials, plus the gateway's database and logs under gateway/."
29871
- type: string
29872
- enum:
29873
- - migration
29874
- - debug
29875
- required:
29876
- - upload_url
29877
- responses:
29878
- "202":
29879
- description: Successful response
29880
- content:
29881
- application/json:
29882
- schema:
29883
- type: object
29884
- properties:
29885
- job_id:
29886
- type: string
29887
- status:
29888
- type: string
29889
- const: pending
29890
- type:
29891
- type: string
29892
- const: export
29893
- required:
29894
- - job_id
29895
- - status
29896
- - type
29897
- additionalProperties: false
29898
- /v1/migrations/import:
29899
- post:
29900
- operationId: migrations_import_post
29901
- summary: Import a .vbundle archive
29902
- description:
29903
- Commit a .vbundle archive import to disk — destructive. Accepts the bundle as raw bytes
29904
- (application/octet-stream), multipart/form-data, a JSON body with `{ url }` carrying a signed URL the daemon
29905
- fetches, or a JSON body with `{ path }` pointing at a file staged under the workspace `.restore-staging`
29906
- directory.
29907
- tags:
29908
- - migrations
29909
- requestBody:
29910
- required: true
29911
- content:
29912
- application/json:
29913
- schema:
29914
- type: object
29915
- properties:
29916
- url:
29917
- description: A signed GCS URL pointing to the .vbundle archive (JSON body path only).
29918
- type: string
29919
- format: uri
29920
- path:
29921
- description: Workspace-relative or absolute path to a staged .vbundle under .restore-staging (JSON body path only).
29922
- type: string
29923
- minLength: 1
29924
- responses:
29925
- "200":
29926
- description: Successful response
29927
- content:
29928
- application/json:
29929
- schema:
29930
- type: object
29931
- properties:
29932
- success:
29933
- type: boolean
29934
- summary:
29935
- type: object
29936
- properties: {}
29937
- additionalProperties: {}
29938
- files:
29939
- type: array
29940
- items: {}
29941
- manifest:
29942
- type: object
29943
- properties: {}
29944
- additionalProperties: {}
29945
- warnings:
29946
- type: array
29947
- items: {}
29948
- required:
29949
- - success
29950
- - summary
29951
- - files
29952
- - manifest
29953
- - warnings
29954
- additionalProperties: false
29955
- "502":
29956
- description: Upstream fetch failed (URL body only).
29957
- /v1/migrations/import-from-gcs:
29958
- post:
29959
- operationId: migrations_importfromgcs_post
29960
- summary: Start an async .vbundle import from a signed GCS URL
29961
- description:
29962
- Schedule a background import job that fetches the bundle at `bundle_url` and streams it through the
29963
- importer. Returns 202 with a `job_id`; poll `GET /v1/migrations/jobs/{job_id}` for status. 409 if another import
29964
- is already in flight.
29965
- tags:
29966
- - migrations
29967
- requestBody:
29968
- required: true
29969
- content:
29970
- application/json:
29971
- schema:
29972
- type: object
29973
- properties:
29974
- bundle_url:
29975
- type: string
29976
- format: uri
29977
- required:
29978
- - bundle_url
29979
- responses:
29980
- "202":
29981
- description: Successful response
29982
- content:
29983
- application/json:
29984
- schema:
29985
- type: object
29986
- properties:
29987
- job_id:
29988
- type: string
29989
- status:
29990
- type: string
29991
- const: pending
29992
- type:
29993
- type: string
29994
- const: import
29995
- required:
29996
- - job_id
29997
- - status
29998
- - type
29999
- additionalProperties: false
30000
- "409":
30001
- description: Another import job is already pending or running.
30002
- /v1/migrations/import-preflight:
30003
- post:
30004
- operationId: migrations_importpreflight_post
30005
- summary: Dry-run import analysis
30006
- description:
30007
- Validate a .vbundle archive and return a report of what would change on import without modifying data.
30008
- Accepts raw bytes, multipart form data, or JSON `{ path }` pointing at a file staged under the workspace
30009
- `.restore-staging` directory.
30010
- tags:
30011
- - migrations
30012
- requestBody:
30013
- required: true
30014
- content:
30015
- application/json:
30016
- schema:
30017
- type: object
30018
- properties:
30019
- path:
30020
- description: Workspace-relative or absolute path to a staged .vbundle under .restore-staging (JSON body path only).
30021
- type: string
30022
- minLength: 1
30023
- responses:
30024
- "200":
30025
- description: Successful response
30026
- content:
30027
- application/json:
30028
- schema:
30029
- type: object
30030
- properties:
30031
- can_import:
30032
- type: boolean
30033
- summary:
30034
- type: object
30035
- properties: {}
30036
- additionalProperties: {}
30037
- files:
30038
- type: array
30039
- items: {}
30040
- conflicts:
30041
- type: array
30042
- items: {}
30043
- manifest:
30044
- type: object
30045
- properties: {}
30046
- additionalProperties: {}
30047
- required:
30048
- - can_import
30049
- - summary
30050
- - files
30051
- - conflicts
30052
- - manifest
30053
- additionalProperties: false
30054
- /v1/migrations/jobs/{job_id}:
30055
- get:
30056
- operationId: migrations_jobs_by_job_id_get
30057
- summary: Get migration job status
30058
- description:
30059
- "Return the current status of an async migration job (export or import). The response discriminates on
30060
- `status`: `processing` (pending or running), `complete` (with `result`), or `failed` (with `error`,
30061
- `error_code`, optional `upstream_status`)."
30062
- tags:
30063
- - migrations
30064
- parameters:
30065
- - name: job_id
30066
- in: path
30067
- required: true
30068
- schema:
30069
- type: string
30070
- responses:
30071
- "200":
30072
- description: Successful response
30073
- content:
30074
- application/json:
30075
- schema:
30076
- oneOf:
30077
- - type: object
30078
- properties:
30079
- job_id:
30080
- type: string
30081
- type:
30082
- type: string
30083
- enum:
30084
- - export
30085
- - import
30086
- status:
30087
- type: string
30088
- const: processing
30089
- required:
30090
- - job_id
30091
- - type
30092
- - status
30093
- additionalProperties: false
30094
- - type: object
30095
- properties:
30096
- job_id:
30097
- type: string
30098
- type:
30099
- type: string
30100
- enum:
30101
- - export
30102
- - import
30103
- status:
30104
- type: string
30105
- const: complete
30106
- result: {}
30107
- required:
30108
- - job_id
30109
- - type
30110
- - status
30111
- - result
30112
- additionalProperties: false
30113
- - type: object
30114
- properties:
30115
- job_id:
30116
- type: string
30117
- type:
30118
- type: string
30119
- enum:
30120
- - export
30121
- - import
30122
- status:
30123
- type: string
30124
- const: failed
30125
- error:
30126
- type: string
30127
- error_code:
30128
- type: string
30129
- upstream_status:
30130
- type: integer
30131
- minimum: -9007199254740991
30132
- maximum: 9007199254740991
30133
- required:
30134
- - job_id
30135
- - type
30136
- - status
30137
- - error
30138
- - error_code
30139
- additionalProperties: false
30140
- type: object
30141
- "404":
30142
- description: No job matches the given id.
30143
- /v1/migrations/preflight-from-gcs:
30144
- post:
30145
- operationId: migrations_preflightfromgcs_post
30146
- summary: Dry-run import analysis from a signed GCS URL
30147
- description:
30148
- Fetch a .vbundle archive from a signed GCS download URL and return a preflight report — what would change
30149
- if the bundle were imported — without writing anything to disk. Enables `cadet teleport --dry-run` against local
30150
- and docker targets.
30151
- tags:
30152
- - migrations
30153
- requestBody:
30154
- required: true
30155
- content:
30156
- application/json:
30157
- schema:
30158
- type: object
30159
- properties:
30160
- bundle_url:
30161
- type: string
30162
- format: uri
30163
- description: Signed GCS GET URL for the bundle.
30164
- required:
30165
- - bundle_url
30166
- responses:
30167
- "200":
30168
- description: Successful response
30169
- content:
30170
- application/json:
30171
- schema:
30172
- type: object
30173
- properties:
30174
- can_import:
30175
- type: boolean
30176
- summary:
30177
- type: object
30178
- properties: {}
30179
- additionalProperties: {}
30180
- files:
30181
- type: array
30182
- items: {}
30183
- conflicts:
30184
- type: array
30185
- items: {}
30186
- validation:
30187
- type: object
30188
- properties: {}
30189
- additionalProperties: {}
30190
- required:
30191
- - can_import
30192
- additionalProperties: false
30193
- /v1/migrations/validate:
30194
- post:
30195
- operationId: migrations_validate_post
30196
- summary: Validate a .vbundle archive
30197
- description: Upload a .vbundle archive for validation. Accepts raw binary or multipart form data.
30198
- tags:
30199
- - migrations
30200
- responses:
30201
- "200":
30202
- description: Successful response
30203
- content:
30204
- application/json:
30205
- schema:
30206
- type: object
30207
- properties:
30208
- is_valid:
30209
- type: boolean
30210
- errors:
30211
- type: array
30212
- items: {}
30213
- manifest:
30214
- type: object
30215
- properties: {}
30216
- additionalProperties: {}
30217
- required:
30218
- - is_valid
30219
- - errors
30220
- - manifest
30221
- additionalProperties: false
30222
29563
  /v1/model:
30223
29564
  get:
30224
29565
  operationId: model_get
@@ -41673,53 +41014,6 @@ paths:
41673
41014
  - description
41674
41015
  - scopeOptions
41675
41016
  additionalProperties: false
41676
- /v1/tts/managed-voices:
41677
- get:
41678
- operationId: tts_managedvoices_get
41679
- summary: List managed TTS voices
41680
- description:
41681
- Return the voices offered by Cadet Cloud TTS, fetched live from the cloud. Only currently-usable voices are
41682
- returned; defaultModel is always one of them (null when none are offered).
41683
- tags:
41684
- - tts
41685
- responses:
41686
- "200":
41687
- description: Successful response
41688
- content:
41689
- application/json:
41690
- schema:
41691
- type: object
41692
- properties:
41693
- voices:
41694
- type: array
41695
- items:
41696
- type: object
41697
- properties:
41698
- model:
41699
- type: string
41700
- label:
41701
- type: string
41702
- description:
41703
- type: string
41704
- sampleUrl:
41705
- type: string
41706
- source:
41707
- type: string
41708
- required:
41709
- - model
41710
- - label
41711
- - description
41712
- - sampleUrl
41713
- - source
41714
- additionalProperties: false
41715
- defaultModel:
41716
- anyOf:
41717
- - type: string
41718
- - type: "null"
41719
- required:
41720
- - voices
41721
- - defaultModel
41722
- additionalProperties: false
41723
41017
  /v1/tts/providers:
41724
41018
  get:
41725
41019
  operationId: tts_providers_get