@xpert-ai/contracts 3.25.0 → 3.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/contracts",
3
- "version": "3.25.0",
3
+ "version": "3.26.0",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@octokit/types": "13.10.0",
23
23
  "@types/json-schema": "^7.0.15",
24
- "@xpert-ai/chatkit-types": "~0.16.0",
24
+ "@xpert-ai/chatkit-types": "~0.17.0",
25
25
  "zod-to-json-schema": "^3.25.2"
26
26
  },
27
27
  "peerDependencies": {
@@ -137,10 +137,12 @@ export type TChatThreadMetadata = {
137
137
  title?: string;
138
138
  primary?: boolean;
139
139
  purpose?: TChatThreadPurpose;
140
- /** Graph revision the edited input was captured on; cleared after the first successful run. */
140
+ /** Graph revision captured for a fork; cleared after the first successful run. */
141
141
  forkGraphRevision?: string;
142
142
  /** Client-provided idempotency key for branch creation. */
143
143
  forkRequestId?: string;
144
+ /** Explicit copy semantics for validating idempotent retries. */
145
+ forkMode?: 'latest-sealed-reply';
144
146
  [key: string]: unknown;
145
147
  };
146
148
  export type TToolCallType = 'agent' | 'tool';
@@ -33,6 +33,8 @@ export interface TemplateInstallation {
33
33
  stage: TemplateInstallationStage;
34
34
  attempt: number;
35
35
  assistantId: string | null;
36
+ /** Current authoring access to the target, independent of the historical installation result. Absent on older servers. */
37
+ assistantAvailability?: 'available' | 'unavailable';
36
38
  publish: boolean;
37
39
  retryable: boolean;
38
40
  error: {
@@ -136,7 +136,7 @@ export interface XpertTemplateModelOption extends ModelSelectionMetadata {
136
136
  }
137
137
  export interface XpertTemplateSetup {
138
138
  readiness?: TemplateReadiness;
139
- /** ID of a compatible organization default in `models`; absent if none qualifies. */
139
+ /** ID of an eligible existing binding or organization/tenant default in `models`; absent if none qualifies. */
140
140
  defaultModelId?: string;
141
141
  realtimeModels?: import('./realtime-voice.model').RealtimeModelOption[];
142
142
  requiresModel?: boolean;