@vellumai/assistant 0.8.12-dev.202606151644.f1e3fed → 0.8.12-dev.202606152015.07e281d

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 (35) hide show
  1. package/openapi.yaml +544 -545
  2. package/package.json +1 -1
  3. package/src/__tests__/agent-loop-output-hooks.test.ts +183 -0
  4. package/src/__tests__/app-dir-path-guard.test.ts +26 -3
  5. package/src/__tests__/credential-prompt-route.test.ts +321 -10
  6. package/src/__tests__/credential-security-invariants.test.ts +1 -0
  7. package/src/__tests__/credential-vault.test.ts +37 -0
  8. package/src/__tests__/model-intents.test.ts +1 -1
  9. package/src/__tests__/notification-telegram-adapter.test.ts +21 -3
  10. package/src/__tests__/workspace-migration-103-upgrade-quality-profile-to-opus-4-8.test.ts +174 -0
  11. package/src/agent/loop.ts +42 -5
  12. package/src/cli/commands/credentials.ts +5 -6
  13. package/src/config/schemas/llm.ts +4 -2
  14. package/src/credential-execution/prompted-credential.ts +205 -0
  15. package/src/notifications/access-request-copy.ts +34 -47
  16. package/src/notifications/adapters/slack.ts +17 -9
  17. package/src/notifications/adapters/telegram.ts +6 -43
  18. package/src/notifications/broadcaster.ts +53 -0
  19. package/src/notifications/copy-composer.ts +20 -6
  20. package/src/notifications/guardian-question-mode.ts +145 -155
  21. package/src/notifications/notification-utils.ts +1 -1
  22. package/src/notifications/tool-approval-copy.ts +74 -46
  23. package/src/notifications/types.ts +8 -0
  24. package/src/plugin-api/types.ts +16 -4
  25. package/src/providers/fireworks/client.ts +3 -0
  26. package/src/providers/inference/auth.ts +6 -4
  27. package/src/providers/model-intents.ts +2 -2
  28. package/src/providers/openai/__tests__/coerce-object-args.test.ts +105 -0
  29. package/src/providers/openai/chat-completions-provider.ts +47 -9
  30. package/src/providers/openai/coerce-object-args.ts +104 -0
  31. package/src/runtime/routes/conversation-query-routes.ts +46 -40
  32. package/src/runtime/routes/credential-prompt-routes.ts +35 -18
  33. package/src/tools/credentials/vault.ts +26 -137
  34. package/src/workspace/migrations/103-upgrade-quality-profile-to-opus-4-8.ts +83 -0
  35. package/src/workspace/migrations/registry.ts +2 -0
package/openapi.yaml CHANGED
@@ -8946,6 +8946,8 @@ paths:
8946
8946
  type: string
8947
8947
  field:
8948
8948
  type: string
8949
+ message:
8950
+ type: string
8949
8951
  required:
8950
8952
  - ok
8951
8953
  additionalProperties: false
@@ -13161,16 +13163,7 @@ paths:
13161
13163
  anyOf:
13162
13164
  - type: array
13163
13165
  items:
13164
- type: object
13165
- properties:
13166
- id:
13167
- type: string
13168
- minLength: 1
13169
- displayName:
13170
- type: string
13171
- minLength: 1
13172
- required:
13173
- - id
13166
+ $ref: "#/components/schemas/ConnectionModel"
13174
13167
  - type: "null"
13175
13168
  required:
13176
13169
  - name
@@ -13281,16 +13274,7 @@ paths:
13281
13274
  anyOf:
13282
13275
  - type: array
13283
13276
  items:
13284
- type: object
13285
- properties:
13286
- id:
13287
- type: string
13288
- minLength: 1
13289
- displayName:
13290
- type: string
13291
- minLength: 1
13292
- required:
13293
- - id
13277
+ $ref: "#/components/schemas/ConnectionModel"
13294
13278
  - type: "null"
13295
13279
  required:
13296
13280
  - auth
@@ -27885,191 +27869,7 @@ components:
27885
27869
  type: string
27886
27870
  additionalProperties:
27887
27871
  anyOf:
27888
- - type: object
27889
- properties:
27890
- provider:
27891
- anyOf:
27892
- - $ref: "#/components/schemas/LLMProvider"
27893
- - type: "null"
27894
- model:
27895
- anyOf:
27896
- - type: string
27897
- minLength: 1
27898
- - type: "null"
27899
- maxTokens:
27900
- anyOf:
27901
- - type: integer
27902
- exclusiveMinimum: 0
27903
- maximum: 9007199254740991
27904
- - type: "null"
27905
- effort:
27906
- anyOf:
27907
- - type: string
27908
- enum:
27909
- - none
27910
- - low
27911
- - medium
27912
- - high
27913
- - xhigh
27914
- - max
27915
- - type: "null"
27916
- speed:
27917
- anyOf:
27918
- - type: string
27919
- enum:
27920
- - standard
27921
- - fast
27922
- - type: "null"
27923
- verbosity:
27924
- anyOf:
27925
- - type: string
27926
- enum:
27927
- - low
27928
- - medium
27929
- - high
27930
- - type: "null"
27931
- temperature:
27932
- anyOf:
27933
- - anyOf:
27934
- - type: number
27935
- minimum: 0
27936
- maximum: 2
27937
- - type: "null"
27938
- - type: "null"
27939
- thinking:
27940
- anyOf:
27941
- - type: object
27942
- properties:
27943
- enabled:
27944
- type: boolean
27945
- streamThinking:
27946
- type: boolean
27947
- level:
27948
- type: string
27949
- enum:
27950
- - minimal
27951
- - low
27952
- - medium
27953
- - high
27954
- - type: "null"
27955
- contextWindow:
27956
- anyOf:
27957
- - type: object
27958
- properties:
27959
- enabled:
27960
- type: boolean
27961
- maxInputTokens:
27962
- type: integer
27963
- exclusiveMinimum: 0
27964
- maximum: 9007199254740991
27965
- targetBudgetRatio:
27966
- type: number
27967
- exclusiveMinimum: 0
27968
- maximum: 1
27969
- compactThreshold:
27970
- type: number
27971
- exclusiveMinimum: 0
27972
- maximum: 1
27973
- summaryBudgetRatio:
27974
- type: number
27975
- exclusiveMinimum: 0
27976
- maximum: 1
27977
- overflowRecovery:
27978
- type: object
27979
- properties:
27980
- enabled:
27981
- type: boolean
27982
- safetyMarginRatio:
27983
- type: number
27984
- exclusiveMinimum: 0
27985
- exclusiveMaximum: 1
27986
- maxAttempts:
27987
- type: integer
27988
- exclusiveMinimum: 0
27989
- maximum: 9007199254740991
27990
- interactiveLatestTurnCompression:
27991
- type: string
27992
- enum:
27993
- - truncate
27994
- - summarize
27995
- - drop
27996
- nonInteractiveLatestTurnCompression:
27997
- type: string
27998
- enum:
27999
- - truncate
28000
- - summarize
28001
- - drop
28002
- - type: "null"
28003
- openrouter:
28004
- anyOf:
28005
- - type: object
28006
- properties:
28007
- only:
28008
- type: array
28009
- items:
28010
- type: string
28011
- minLength: 1
28012
- - type: "null"
28013
- logitBias:
28014
- anyOf:
28015
- - type: string
28016
- enum:
28017
- - suppress-cjk
28018
- - type: "null"
28019
- disableCache:
28020
- anyOf:
28021
- - type: boolean
28022
- - type: "null"
28023
- source:
28024
- anyOf:
28025
- - type: string
28026
- enum:
28027
- - managed
28028
- - user
28029
- - type: "null"
28030
- label:
28031
- anyOf:
28032
- - anyOf:
28033
- - type: string
28034
- minLength: 1
28035
- - type: "null"
28036
- - type: "null"
28037
- description:
28038
- anyOf:
28039
- - type: string
28040
- - type: "null"
28041
- provider_connection:
28042
- anyOf:
28043
- - type: string
28044
- minLength: 1
28045
- - type: "null"
28046
- status:
28047
- anyOf:
28048
- - anyOf:
28049
- - type: string
28050
- enum:
28051
- - active
28052
- - disabled
28053
- - type: "null"
28054
- - type: "null"
28055
- mix:
28056
- anyOf:
28057
- - minItems: 2
28058
- type: array
28059
- items:
28060
- type: object
28061
- properties:
28062
- profile:
28063
- type: string
28064
- minLength: 1
28065
- weight:
28066
- type: number
28067
- exclusiveMinimum: 0
28068
- required:
28069
- - profile
28070
- - weight
28071
- - type: "null"
28072
- additionalProperties: {}
27872
+ - $ref: "#/components/schemas/ProfilePatchEntry"
28073
27873
  - type: "null"
28074
27874
  profileOrder:
28075
27875
  type: array
@@ -28085,146 +27885,7 @@ components:
28085
27885
  type: string
28086
27886
  additionalProperties:
28087
27887
  anyOf:
28088
- - type: object
28089
- properties:
28090
- provider:
28091
- anyOf:
28092
- - $ref: "#/components/schemas/LLMProvider"
28093
- - type: "null"
28094
- model:
28095
- anyOf:
28096
- - type: string
28097
- minLength: 1
28098
- - type: "null"
28099
- maxTokens:
28100
- anyOf:
28101
- - type: integer
28102
- exclusiveMinimum: 0
28103
- maximum: 9007199254740991
28104
- - type: "null"
28105
- effort:
28106
- anyOf:
28107
- - type: string
28108
- enum:
28109
- - none
28110
- - low
28111
- - medium
28112
- - high
28113
- - xhigh
28114
- - max
28115
- - type: "null"
28116
- speed:
28117
- anyOf:
28118
- - type: string
28119
- enum:
28120
- - standard
28121
- - fast
28122
- - type: "null"
28123
- verbosity:
28124
- anyOf:
28125
- - type: string
28126
- enum:
28127
- - low
28128
- - medium
28129
- - high
28130
- - type: "null"
28131
- temperature:
28132
- anyOf:
28133
- - anyOf:
28134
- - type: number
28135
- minimum: 0
28136
- maximum: 2
28137
- - type: "null"
28138
- - type: "null"
28139
- thinking:
28140
- anyOf:
28141
- - type: object
28142
- properties:
28143
- enabled:
28144
- type: boolean
28145
- streamThinking:
28146
- type: boolean
28147
- level:
28148
- type: string
28149
- enum:
28150
- - minimal
28151
- - low
28152
- - medium
28153
- - high
28154
- - type: "null"
28155
- contextWindow:
28156
- anyOf:
28157
- - type: object
28158
- properties:
28159
- enabled:
28160
- type: boolean
28161
- maxInputTokens:
28162
- type: integer
28163
- exclusiveMinimum: 0
28164
- maximum: 9007199254740991
28165
- targetBudgetRatio:
28166
- type: number
28167
- exclusiveMinimum: 0
28168
- maximum: 1
28169
- compactThreshold:
28170
- type: number
28171
- exclusiveMinimum: 0
28172
- maximum: 1
28173
- summaryBudgetRatio:
28174
- type: number
28175
- exclusiveMinimum: 0
28176
- maximum: 1
28177
- overflowRecovery:
28178
- type: object
28179
- properties:
28180
- enabled:
28181
- type: boolean
28182
- safetyMarginRatio:
28183
- type: number
28184
- exclusiveMinimum: 0
28185
- exclusiveMaximum: 1
28186
- maxAttempts:
28187
- type: integer
28188
- exclusiveMinimum: 0
28189
- maximum: 9007199254740991
28190
- interactiveLatestTurnCompression:
28191
- type: string
28192
- enum:
28193
- - truncate
28194
- - summarize
28195
- - drop
28196
- nonInteractiveLatestTurnCompression:
28197
- type: string
28198
- enum:
28199
- - truncate
28200
- - summarize
28201
- - drop
28202
- - type: "null"
28203
- openrouter:
28204
- anyOf:
28205
- - type: object
28206
- properties:
28207
- only:
28208
- type: array
28209
- items:
28210
- type: string
28211
- minLength: 1
28212
- - type: "null"
28213
- logitBias:
28214
- anyOf:
28215
- - type: string
28216
- enum:
28217
- - suppress-cjk
28218
- - type: "null"
28219
- disableCache:
28220
- anyOf:
28221
- - type: boolean
28222
- - type: "null"
28223
- profile:
28224
- anyOf:
28225
- - type: string
28226
- - type: "null"
28227
- additionalProperties: {}
27888
+ - $ref: "#/components/schemas/CallSiteOverrideDraft"
28228
27889
  - type: "null"
28229
27890
  profileSession:
28230
27891
  anyOf:
@@ -28238,17 +27899,7 @@ components:
28238
27899
  additionalProperties: {}
28239
27900
  memory:
28240
27901
  anyOf:
28241
- - type: object
28242
- properties:
28243
- enabled:
28244
- type: boolean
28245
- v2:
28246
- type: object
28247
- properties:
28248
- enabled:
28249
- type: boolean
28250
- additionalProperties: {}
28251
- additionalProperties: {}
27902
+ - $ref: "#/components/schemas/MemoryConfig"
28252
27903
  - type: "null"
28253
27904
  services:
28254
27905
  type: object
@@ -28258,7 +27909,7 @@ components:
28258
27909
  - type: object
28259
27910
  properties:
28260
27911
  mode:
28261
- type: string
27912
+ $ref: "#/components/schemas/ServiceMode"
28262
27913
  provider:
28263
27914
  type: string
28264
27915
  additionalProperties: {}
@@ -28268,7 +27919,7 @@ components:
28268
27919
  - type: object
28269
27920
  properties:
28270
27921
  mode:
28271
- type: string
27922
+ $ref: "#/components/schemas/ServiceMode"
28272
27923
  additionalProperties: {}
28273
27924
  - type: "null"
28274
27925
  inference:
@@ -28276,7 +27927,7 @@ components:
28276
27927
  - type: object
28277
27928
  properties:
28278
27929
  mode:
28279
- type: string
27930
+ $ref: "#/components/schemas/ServiceMode"
28280
27931
  additionalProperties: {}
28281
27932
  - type: "null"
28282
27933
  additionalProperties: {}
@@ -28292,11 +27943,357 @@ components:
28292
27943
  - openrouter
28293
27944
  - openai-compatible
28294
27945
  - minimax
28295
- ConnectionProvider:
28296
- type: string
28297
- enum:
28298
- - anthropic
28299
- - openai
27946
+ ProfilePatchEntry:
27947
+ type: object
27948
+ properties:
27949
+ provider:
27950
+ anyOf:
27951
+ - $ref: "#/components/schemas/LLMProvider"
27952
+ - type: "null"
27953
+ model:
27954
+ anyOf:
27955
+ - type: string
27956
+ minLength: 1
27957
+ - type: "null"
27958
+ maxTokens:
27959
+ anyOf:
27960
+ - type: integer
27961
+ exclusiveMinimum: 0
27962
+ maximum: 9007199254740991
27963
+ - type: "null"
27964
+ effort:
27965
+ anyOf:
27966
+ - type: string
27967
+ enum:
27968
+ - none
27969
+ - low
27970
+ - medium
27971
+ - high
27972
+ - xhigh
27973
+ - max
27974
+ - type: "null"
27975
+ speed:
27976
+ anyOf:
27977
+ - type: string
27978
+ enum:
27979
+ - standard
27980
+ - fast
27981
+ - type: "null"
27982
+ verbosity:
27983
+ anyOf:
27984
+ - type: string
27985
+ enum:
27986
+ - low
27987
+ - medium
27988
+ - high
27989
+ - type: "null"
27990
+ temperature:
27991
+ anyOf:
27992
+ - anyOf:
27993
+ - type: number
27994
+ minimum: 0
27995
+ maximum: 2
27996
+ - type: "null"
27997
+ - type: "null"
27998
+ thinking:
27999
+ anyOf:
28000
+ - type: object
28001
+ properties:
28002
+ enabled:
28003
+ type: boolean
28004
+ streamThinking:
28005
+ type: boolean
28006
+ level:
28007
+ type: string
28008
+ enum:
28009
+ - minimal
28010
+ - low
28011
+ - medium
28012
+ - high
28013
+ - type: "null"
28014
+ contextWindow:
28015
+ anyOf:
28016
+ - type: object
28017
+ properties:
28018
+ enabled:
28019
+ type: boolean
28020
+ maxInputTokens:
28021
+ type: integer
28022
+ exclusiveMinimum: 0
28023
+ maximum: 9007199254740991
28024
+ targetBudgetRatio:
28025
+ type: number
28026
+ exclusiveMinimum: 0
28027
+ maximum: 1
28028
+ compactThreshold:
28029
+ type: number
28030
+ exclusiveMinimum: 0
28031
+ maximum: 1
28032
+ summaryBudgetRatio:
28033
+ type: number
28034
+ exclusiveMinimum: 0
28035
+ maximum: 1
28036
+ overflowRecovery:
28037
+ type: object
28038
+ properties:
28039
+ enabled:
28040
+ type: boolean
28041
+ safetyMarginRatio:
28042
+ type: number
28043
+ exclusiveMinimum: 0
28044
+ exclusiveMaximum: 1
28045
+ maxAttempts:
28046
+ type: integer
28047
+ exclusiveMinimum: 0
28048
+ maximum: 9007199254740991
28049
+ interactiveLatestTurnCompression:
28050
+ type: string
28051
+ enum:
28052
+ - truncate
28053
+ - summarize
28054
+ - drop
28055
+ nonInteractiveLatestTurnCompression:
28056
+ type: string
28057
+ enum:
28058
+ - truncate
28059
+ - summarize
28060
+ - drop
28061
+ - type: "null"
28062
+ openrouter:
28063
+ anyOf:
28064
+ - type: object
28065
+ properties:
28066
+ only:
28067
+ type: array
28068
+ items:
28069
+ type: string
28070
+ minLength: 1
28071
+ - type: "null"
28072
+ logitBias:
28073
+ anyOf:
28074
+ - type: string
28075
+ enum:
28076
+ - suppress-cjk
28077
+ - type: "null"
28078
+ disableCache:
28079
+ anyOf:
28080
+ - type: boolean
28081
+ - type: "null"
28082
+ source:
28083
+ anyOf:
28084
+ - type: string
28085
+ enum:
28086
+ - managed
28087
+ - user
28088
+ - type: "null"
28089
+ label:
28090
+ anyOf:
28091
+ - anyOf:
28092
+ - type: string
28093
+ minLength: 1
28094
+ - type: "null"
28095
+ - type: "null"
28096
+ description:
28097
+ anyOf:
28098
+ - type: string
28099
+ - type: "null"
28100
+ provider_connection:
28101
+ anyOf:
28102
+ - type: string
28103
+ minLength: 1
28104
+ - type: "null"
28105
+ status:
28106
+ anyOf:
28107
+ - anyOf:
28108
+ - $ref: "#/components/schemas/ProfileStatus"
28109
+ - type: "null"
28110
+ - type: "null"
28111
+ mix:
28112
+ anyOf:
28113
+ - minItems: 2
28114
+ type: array
28115
+ items:
28116
+ type: object
28117
+ properties:
28118
+ profile:
28119
+ type: string
28120
+ minLength: 1
28121
+ weight:
28122
+ type: number
28123
+ exclusiveMinimum: 0
28124
+ required:
28125
+ - profile
28126
+ - weight
28127
+ - type: "null"
28128
+ additionalProperties: {}
28129
+ ProfileStatus:
28130
+ type: string
28131
+ enum:
28132
+ - active
28133
+ - disabled
28134
+ CallSiteOverrideDraft:
28135
+ type: object
28136
+ properties:
28137
+ provider:
28138
+ anyOf:
28139
+ - $ref: "#/components/schemas/LLMProvider"
28140
+ - type: "null"
28141
+ model:
28142
+ anyOf:
28143
+ - type: string
28144
+ minLength: 1
28145
+ - type: "null"
28146
+ maxTokens:
28147
+ anyOf:
28148
+ - type: integer
28149
+ exclusiveMinimum: 0
28150
+ maximum: 9007199254740991
28151
+ - type: "null"
28152
+ effort:
28153
+ anyOf:
28154
+ - type: string
28155
+ enum:
28156
+ - none
28157
+ - low
28158
+ - medium
28159
+ - high
28160
+ - xhigh
28161
+ - max
28162
+ - type: "null"
28163
+ speed:
28164
+ anyOf:
28165
+ - type: string
28166
+ enum:
28167
+ - standard
28168
+ - fast
28169
+ - type: "null"
28170
+ verbosity:
28171
+ anyOf:
28172
+ - type: string
28173
+ enum:
28174
+ - low
28175
+ - medium
28176
+ - high
28177
+ - type: "null"
28178
+ temperature:
28179
+ anyOf:
28180
+ - anyOf:
28181
+ - type: number
28182
+ minimum: 0
28183
+ maximum: 2
28184
+ - type: "null"
28185
+ - type: "null"
28186
+ thinking:
28187
+ anyOf:
28188
+ - type: object
28189
+ properties:
28190
+ enabled:
28191
+ type: boolean
28192
+ streamThinking:
28193
+ type: boolean
28194
+ level:
28195
+ type: string
28196
+ enum:
28197
+ - minimal
28198
+ - low
28199
+ - medium
28200
+ - high
28201
+ - type: "null"
28202
+ contextWindow:
28203
+ anyOf:
28204
+ - type: object
28205
+ properties:
28206
+ enabled:
28207
+ type: boolean
28208
+ maxInputTokens:
28209
+ type: integer
28210
+ exclusiveMinimum: 0
28211
+ maximum: 9007199254740991
28212
+ targetBudgetRatio:
28213
+ type: number
28214
+ exclusiveMinimum: 0
28215
+ maximum: 1
28216
+ compactThreshold:
28217
+ type: number
28218
+ exclusiveMinimum: 0
28219
+ maximum: 1
28220
+ summaryBudgetRatio:
28221
+ type: number
28222
+ exclusiveMinimum: 0
28223
+ maximum: 1
28224
+ overflowRecovery:
28225
+ type: object
28226
+ properties:
28227
+ enabled:
28228
+ type: boolean
28229
+ safetyMarginRatio:
28230
+ type: number
28231
+ exclusiveMinimum: 0
28232
+ exclusiveMaximum: 1
28233
+ maxAttempts:
28234
+ type: integer
28235
+ exclusiveMinimum: 0
28236
+ maximum: 9007199254740991
28237
+ interactiveLatestTurnCompression:
28238
+ type: string
28239
+ enum:
28240
+ - truncate
28241
+ - summarize
28242
+ - drop
28243
+ nonInteractiveLatestTurnCompression:
28244
+ type: string
28245
+ enum:
28246
+ - truncate
28247
+ - summarize
28248
+ - drop
28249
+ - type: "null"
28250
+ openrouter:
28251
+ anyOf:
28252
+ - type: object
28253
+ properties:
28254
+ only:
28255
+ type: array
28256
+ items:
28257
+ type: string
28258
+ minLength: 1
28259
+ - type: "null"
28260
+ logitBias:
28261
+ anyOf:
28262
+ - type: string
28263
+ enum:
28264
+ - suppress-cjk
28265
+ - type: "null"
28266
+ disableCache:
28267
+ anyOf:
28268
+ - type: boolean
28269
+ - type: "null"
28270
+ profile:
28271
+ anyOf:
28272
+ - type: string
28273
+ - type: "null"
28274
+ additionalProperties: {}
28275
+ MemoryConfig:
28276
+ type: object
28277
+ properties:
28278
+ enabled:
28279
+ type: boolean
28280
+ v2:
28281
+ type: object
28282
+ properties:
28283
+ enabled:
28284
+ type: boolean
28285
+ additionalProperties: {}
28286
+ additionalProperties: {}
28287
+ ServiceMode:
28288
+ type: string
28289
+ enum:
28290
+ - managed
28291
+ - your-own
28292
+ ConnectionProvider:
28293
+ type: string
28294
+ enum:
28295
+ - anthropic
28296
+ - openai
28300
28297
  - gemini
28301
28298
  - ollama
28302
28299
  - fireworks
@@ -28353,6 +28350,17 @@ components:
28353
28350
  - type
28354
28351
  - credential
28355
28352
  type: object
28353
+ ConnectionModel:
28354
+ type: object
28355
+ properties:
28356
+ id:
28357
+ type: string
28358
+ minLength: 1
28359
+ displayName:
28360
+ type: string
28361
+ minLength: 1
28362
+ required:
28363
+ - id
28356
28364
  ConfigGetResponse:
28357
28365
  type: object
28358
28366
  properties:
@@ -28483,162 +28491,7 @@ components:
28483
28491
  propertyNames:
28484
28492
  type: string
28485
28493
  additionalProperties:
28486
- type: object
28487
- properties:
28488
- provider:
28489
- $ref: "#/components/schemas/LLMProvider"
28490
- model:
28491
- type: string
28492
- minLength: 1
28493
- maxTokens:
28494
- type: integer
28495
- exclusiveMinimum: 0
28496
- maximum: 9007199254740991
28497
- effort:
28498
- type: string
28499
- enum:
28500
- - none
28501
- - low
28502
- - medium
28503
- - high
28504
- - xhigh
28505
- - max
28506
- speed:
28507
- type: string
28508
- enum:
28509
- - standard
28510
- - fast
28511
- verbosity:
28512
- type: string
28513
- enum:
28514
- - low
28515
- - medium
28516
- - high
28517
- temperature:
28518
- anyOf:
28519
- - type: number
28520
- minimum: 0
28521
- maximum: 2
28522
- - type: "null"
28523
- thinking:
28524
- type: object
28525
- properties:
28526
- enabled:
28527
- type: boolean
28528
- streamThinking:
28529
- type: boolean
28530
- level:
28531
- type: string
28532
- enum:
28533
- - minimal
28534
- - low
28535
- - medium
28536
- - high
28537
- additionalProperties: false
28538
- contextWindow:
28539
- type: object
28540
- properties:
28541
- enabled:
28542
- type: boolean
28543
- maxInputTokens:
28544
- type: integer
28545
- exclusiveMinimum: 0
28546
- maximum: 9007199254740991
28547
- targetBudgetRatio:
28548
- type: number
28549
- exclusiveMinimum: 0
28550
- maximum: 1
28551
- compactThreshold:
28552
- type: number
28553
- exclusiveMinimum: 0
28554
- maximum: 1
28555
- summaryBudgetRatio:
28556
- type: number
28557
- exclusiveMinimum: 0
28558
- maximum: 1
28559
- overflowRecovery:
28560
- type: object
28561
- properties:
28562
- enabled:
28563
- type: boolean
28564
- safetyMarginRatio:
28565
- type: number
28566
- exclusiveMinimum: 0
28567
- exclusiveMaximum: 1
28568
- maxAttempts:
28569
- type: integer
28570
- exclusiveMinimum: 0
28571
- maximum: 9007199254740991
28572
- interactiveLatestTurnCompression:
28573
- type: string
28574
- enum:
28575
- - truncate
28576
- - summarize
28577
- - drop
28578
- nonInteractiveLatestTurnCompression:
28579
- type: string
28580
- enum:
28581
- - truncate
28582
- - summarize
28583
- - drop
28584
- additionalProperties: false
28585
- additionalProperties: false
28586
- openrouter:
28587
- type: object
28588
- properties:
28589
- only:
28590
- type: array
28591
- items:
28592
- type: string
28593
- minLength: 1
28594
- additionalProperties: false
28595
- logitBias:
28596
- type: string
28597
- enum:
28598
- - suppress-cjk
28599
- disableCache:
28600
- type: boolean
28601
- source:
28602
- type: string
28603
- enum:
28604
- - managed
28605
- - user
28606
- label:
28607
- anyOf:
28608
- - type: string
28609
- minLength: 1
28610
- - type: "null"
28611
- description:
28612
- type: string
28613
- provider_connection:
28614
- type: string
28615
- minLength: 1
28616
- status:
28617
- anyOf:
28618
- - type: string
28619
- enum:
28620
- - active
28621
- - disabled
28622
- - type: "null"
28623
- mix:
28624
- minItems: 2
28625
- type: array
28626
- items:
28627
- type: object
28628
- properties:
28629
- profile:
28630
- type: string
28631
- minLength: 1
28632
- weight:
28633
- type: number
28634
- exclusiveMinimum: 0
28635
- required:
28636
- - profile
28637
- - weight
28638
- additionalProperties: false
28639
- supportsVision:
28640
- type: boolean
28641
- additionalProperties: {}
28494
+ $ref: "#/components/schemas/ProfileEntry"
28642
28495
  profileOrder:
28643
28496
  type: array
28644
28497
  items:
@@ -28783,17 +28636,7 @@ components:
28783
28636
  items: {}
28784
28637
  additionalProperties: {}
28785
28638
  memory:
28786
- type: object
28787
- properties:
28788
- enabled:
28789
- type: boolean
28790
- v2:
28791
- type: object
28792
- properties:
28793
- enabled:
28794
- type: boolean
28795
- additionalProperties: {}
28796
- additionalProperties: {}
28639
+ $ref: "#/components/schemas/MemoryConfig"
28797
28640
  services:
28798
28641
  type: object
28799
28642
  properties:
@@ -28801,7 +28644,7 @@ components:
28801
28644
  type: object
28802
28645
  properties:
28803
28646
  mode:
28804
- type: string
28647
+ $ref: "#/components/schemas/ServiceMode"
28805
28648
  provider:
28806
28649
  type: string
28807
28650
  additionalProperties: {}
@@ -28809,16 +28652,170 @@ components:
28809
28652
  type: object
28810
28653
  properties:
28811
28654
  mode:
28812
- type: string
28655
+ $ref: "#/components/schemas/ServiceMode"
28813
28656
  additionalProperties: {}
28814
28657
  inference:
28815
28658
  type: object
28816
28659
  properties:
28817
28660
  mode:
28818
- type: string
28661
+ $ref: "#/components/schemas/ServiceMode"
28819
28662
  additionalProperties: {}
28820
28663
  additionalProperties: {}
28821
28664
  additionalProperties: {}
28665
+ ProfileEntry:
28666
+ type: object
28667
+ properties:
28668
+ provider:
28669
+ $ref: "#/components/schemas/LLMProvider"
28670
+ model:
28671
+ type: string
28672
+ minLength: 1
28673
+ maxTokens:
28674
+ type: integer
28675
+ exclusiveMinimum: 0
28676
+ maximum: 9007199254740991
28677
+ effort:
28678
+ type: string
28679
+ enum:
28680
+ - none
28681
+ - low
28682
+ - medium
28683
+ - high
28684
+ - xhigh
28685
+ - max
28686
+ speed:
28687
+ type: string
28688
+ enum:
28689
+ - standard
28690
+ - fast
28691
+ verbosity:
28692
+ type: string
28693
+ enum:
28694
+ - low
28695
+ - medium
28696
+ - high
28697
+ temperature:
28698
+ anyOf:
28699
+ - type: number
28700
+ minimum: 0
28701
+ maximum: 2
28702
+ - type: "null"
28703
+ thinking:
28704
+ type: object
28705
+ properties:
28706
+ enabled:
28707
+ type: boolean
28708
+ streamThinking:
28709
+ type: boolean
28710
+ level:
28711
+ type: string
28712
+ enum:
28713
+ - minimal
28714
+ - low
28715
+ - medium
28716
+ - high
28717
+ additionalProperties: false
28718
+ contextWindow:
28719
+ type: object
28720
+ properties:
28721
+ enabled:
28722
+ type: boolean
28723
+ maxInputTokens:
28724
+ type: integer
28725
+ exclusiveMinimum: 0
28726
+ maximum: 9007199254740991
28727
+ targetBudgetRatio:
28728
+ type: number
28729
+ exclusiveMinimum: 0
28730
+ maximum: 1
28731
+ compactThreshold:
28732
+ type: number
28733
+ exclusiveMinimum: 0
28734
+ maximum: 1
28735
+ summaryBudgetRatio:
28736
+ type: number
28737
+ exclusiveMinimum: 0
28738
+ maximum: 1
28739
+ overflowRecovery:
28740
+ type: object
28741
+ properties:
28742
+ enabled:
28743
+ type: boolean
28744
+ safetyMarginRatio:
28745
+ type: number
28746
+ exclusiveMinimum: 0
28747
+ exclusiveMaximum: 1
28748
+ maxAttempts:
28749
+ type: integer
28750
+ exclusiveMinimum: 0
28751
+ maximum: 9007199254740991
28752
+ interactiveLatestTurnCompression:
28753
+ type: string
28754
+ enum:
28755
+ - truncate
28756
+ - summarize
28757
+ - drop
28758
+ nonInteractiveLatestTurnCompression:
28759
+ type: string
28760
+ enum:
28761
+ - truncate
28762
+ - summarize
28763
+ - drop
28764
+ additionalProperties: false
28765
+ additionalProperties: false
28766
+ openrouter:
28767
+ type: object
28768
+ properties:
28769
+ only:
28770
+ type: array
28771
+ items:
28772
+ type: string
28773
+ minLength: 1
28774
+ additionalProperties: false
28775
+ logitBias:
28776
+ type: string
28777
+ enum:
28778
+ - suppress-cjk
28779
+ disableCache:
28780
+ type: boolean
28781
+ source:
28782
+ type: string
28783
+ enum:
28784
+ - managed
28785
+ - user
28786
+ label:
28787
+ anyOf:
28788
+ - type: string
28789
+ minLength: 1
28790
+ - type: "null"
28791
+ description:
28792
+ type: string
28793
+ provider_connection:
28794
+ type: string
28795
+ minLength: 1
28796
+ status:
28797
+ anyOf:
28798
+ - $ref: "#/components/schemas/ProfileStatus"
28799
+ - type: "null"
28800
+ mix:
28801
+ minItems: 2
28802
+ type: array
28803
+ items:
28804
+ type: object
28805
+ properties:
28806
+ profile:
28807
+ type: string
28808
+ minLength: 1
28809
+ weight:
28810
+ type: number
28811
+ exclusiveMinimum: 0
28812
+ required:
28813
+ - profile
28814
+ - weight
28815
+ additionalProperties: false
28816
+ supportsVision:
28817
+ type: boolean
28818
+ additionalProperties: {}
28822
28819
  ProviderConnection:
28823
28820
  type: object
28824
28821
  properties:
@@ -28843,17 +28840,7 @@ components:
28843
28840
  anyOf:
28844
28841
  - type: array
28845
28842
  items:
28846
- type: object
28847
- properties:
28848
- id:
28849
- type: string
28850
- minLength: 1
28851
- displayName:
28852
- type: string
28853
- minLength: 1
28854
- required:
28855
- - id
28856
- additionalProperties: false
28843
+ $ref: "#/components/schemas/ConnectionModelOutput"
28857
28844
  - type: "null"
28858
28845
  createdAt:
28859
28846
  type: integer
@@ -28952,3 +28939,15 @@ components:
28952
28939
  - credential
28953
28940
  additionalProperties: false
28954
28941
  type: object
28942
+ ConnectionModelOutput:
28943
+ type: object
28944
+ properties:
28945
+ id:
28946
+ type: string
28947
+ minLength: 1
28948
+ displayName:
28949
+ type: string
28950
+ minLength: 1
28951
+ required:
28952
+ - id
28953
+ additionalProperties: false