@xpert-ai/chatkit-types 0.3.11 → 0.3.13

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 (2) hide show
  1. package/dist/index.d.ts +13 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -680,6 +680,7 @@ export declare type ChatKitSlashCommandAction = {
680
680
  type: string;
681
681
  payload?: Record<string, unknown>;
682
682
  };
683
+ runtimeCapabilities?: unknown;
683
684
  } | {
684
685
  type: 'select_capability';
685
686
  capability: ChatKitSlashCommandCapability;
@@ -1730,6 +1731,7 @@ export declare type ThreadGoal = {
1730
1731
  threadId: string;
1731
1732
  objective: string;
1732
1733
  status: ThreadGoalStatus;
1734
+ goalSpec?: ThreadGoalSpec | null;
1733
1735
  tokensUsed: number;
1734
1736
  elapsedSeconds: number;
1735
1737
  continuationCount: number;
@@ -1738,6 +1740,17 @@ export declare type ThreadGoal = {
1738
1740
  blockedAt?: string | Date | null;
1739
1741
  };
1740
1742
 
1743
+ export declare type ThreadGoalSpec = {
1744
+ originalObjective: string;
1745
+ executableGoal: string;
1746
+ successCriteria: string[];
1747
+ constraints: string[];
1748
+ verificationChecklist: string[];
1749
+ recommendedStrategy: string;
1750
+ source: 'system' | 'llm';
1751
+ generatedAt: string;
1752
+ };
1753
+
1741
1754
  export declare type ThreadGoalStatus = 'active' | 'paused' | 'blocked' | 'usage_limited' | 'budget_limited' | 'complete';
1742
1755
 
1743
1756
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/chatkit-types",
3
- "version": "0.3.11",
3
+ "version": "0.3.13",
4
4
  "description": "Type definitions for the ChatKit.",
5
5
  "sideEffects": false,
6
6
  "type": "module",