@vibexp/api-client 0.77.0 → 0.78.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.
@@ -4458,7 +4458,7 @@ export type UpdateTeamSearchSettingsRequest = {
4458
4458
  rank_half_life_days: number;
4459
4459
  };
4460
4460
  /**
4461
- * The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n cap, and whether the team can currently use AI summaries at all.
4461
+ * The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all.
4462
4462
  *
4463
4463
  */
4464
4464
  export type TeamAiSummarySettings = {
@@ -4474,6 +4474,11 @@ export type TeamAiSummarySettings = {
4474
4474
  *
4475
4475
  */
4476
4476
  max_top_n: number;
4477
+ /**
4478
+ * Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
4479
+ *
4480
+ */
4481
+ max_output_tokens_ceiling: number;
4477
4482
  /**
4478
4483
  * Whether the team has at least one model provider configured (existence, not health) — AI summaries cannot run without one regardless of `enabled`.
4479
4484
  *
@@ -4507,7 +4512,7 @@ export type TeamAiSummarySettingsValues = {
4507
4512
  max_output_tokens: number;
4508
4513
  };
4509
4514
  /**
4510
- * A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n` and `available` are deliberately absent — both are computed, not settable.
4515
+ * A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable.
4511
4516
  *
4512
4517
  */
4513
4518
  export type UpdateTeamAiSummarySettingsRequest = {
@@ -13117,7 +13122,7 @@ export type UpdateTeamAiSummarySettingsData = {
13117
13122
  };
13118
13123
  export type UpdateTeamAiSummarySettingsErrors = {
13119
13124
  /**
13120
- * Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, a non-positive `max_output_tokens`, or a `model_provider_id` that does not belong to this team
13125
+ * Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, `max_output_tokens` outside `1..max_output_tokens_ceiling`, or a `model_provider_id` that does not belong to this team
13121
13126
  *
13122
13127
  */
13123
13128
  400: ErrorResponse;
package/dist/schema.d.ts CHANGED
@@ -10053,7 +10053,7 @@ export interface components {
10053
10053
  */
10054
10054
  rank_half_life_days: number;
10055
10055
  };
10056
- /** @description The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n cap, and whether the team can currently use AI summaries at all. */
10056
+ /** @description The AI summary settings in effect for a team, with enough context for a client to render the whole settings surface from this one response: the effective values, where they came from, the instance defaults to preview a reset against, the instance-owned top_n and max_output_tokens caps, and whether the team can currently use AI summaries at all. */
10057
10057
  TeamAISummarySettings: {
10058
10058
  /**
10059
10059
  * @description Where the effective values come from. `instance` means the team has no override and inherits the deployment defaults; `team` means the team has stored its own profile.
@@ -10070,6 +10070,11 @@ export interface components {
10070
10070
  * @example 10
10071
10071
  */
10072
10072
  max_top_n: number;
10073
+ /**
10074
+ * @description Instance-owned ceiling on `max_output_tokens`, from `ai_summary.max_output_tokens_ceiling`. Not team-configurable — exposed so clients can bound their own input control instead of guessing.
10075
+ * @example 4096
10076
+ */
10077
+ max_output_tokens_ceiling: number;
10073
10078
  /**
10074
10079
  * @description Whether the team has at least one model provider configured (existence, not health) — AI summaries cannot run without one regardless of `enabled`.
10075
10080
  * @example true
@@ -10106,7 +10111,7 @@ export interface components {
10106
10111
  */
10107
10112
  max_output_tokens: number;
10108
10113
  };
10109
- /** @description A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n` and `available` are deliberately absent — both are computed, not settable. */
10114
+ /** @description A complete replacement AI summary profile for the team. There is no partial update: every field is required, and the whole profile is stored or replaced atomically. `max_top_n`, `max_output_tokens_ceiling` and `available` are deliberately absent — all are computed, not settable. */
10110
10115
  UpdateTeamAISummarySettingsRequest: {
10111
10116
  /** @example true */
10112
10117
  enabled: boolean;
@@ -22316,7 +22321,7 @@ export interface operations {
22316
22321
  "application/json": components["schemas"]["TeamAISummarySettings"];
22317
22322
  };
22318
22323
  };
22319
- /** @description Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, a non-positive `max_output_tokens`, or a `model_provider_id` that does not belong to this team */
22324
+ /** @description Invalid profile — `top_n` outside `1..max_top_n`, an unknown `style`, `max_output_tokens` outside `1..max_output_tokens_ceiling`, or a `model_provider_id` that does not belong to this team */
22320
22325
  400: {
22321
22326
  headers: {
22322
22327
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibexp/api-client",
3
- "version": "0.77.0",
3
+ "version": "0.78.0",
4
4
  "description": "Typed VibeXP API client generated from the OpenAPI spec (openapi-fetch main entrypoint, axios SDK at ./axios)",
5
5
  "license": "MIT",
6
6
  "repository": {