@takeshape/util 11.97.6 → 11.98.6

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.
@@ -2,7 +2,8 @@ import type { CoreMessage } from 'ai';
2
2
  export type AgentSessionValueContentOutput = {
3
3
  content: unknown;
4
4
  };
5
- export type AgentSessionValueChatOutput = AgentSessionValueContentOutput & {
5
+ export type AgentSessionValueChatOutput = {
6
+ content: unknown;
6
7
  artifact?: Record<string, unknown>;
7
8
  references: Array<{
8
9
  _tid: string;
@@ -19,6 +20,7 @@ export type AgentSessionValue<Output = AgentSessionValueOutput> = {
19
20
  includeMetadata?: true;
20
21
  input: string;
21
22
  output: Output;
23
+ agentHistoryUpdate?: CoreMessage[] | null;
22
24
  };
23
25
  export type AgentSession = {
24
26
  id: string;
@@ -32,5 +34,8 @@ export type AgentSession = {
32
34
  stateOutputs: Record<string, unknown>;
33
35
  currentValue?: AgentSessionValue;
34
36
  userHistory: CoreMessage[];
37
+ hasAgentHistory?: boolean;
38
+ };
39
+ export type InspectAgentSessionResult = AgentSession & {
35
40
  agentHistory: CoreMessage[];
36
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/util",
3
- "version": "11.97.6",
3
+ "version": "11.98.6",
4
4
  "description": "Shared utilities",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -45,8 +45,8 @@
45
45
  "tiny-invariant": "^1.2.0",
46
46
  "uint8array-extras": "^1.4.0",
47
47
  "url-parse": "^1.5.3",
48
- "@takeshape/prism": "11.97.6",
49
- "@takeshape/routing": "11.97.6"
48
+ "@takeshape/prism": "11.98.6",
49
+ "@takeshape/routing": "11.98.6"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/classnames": "^2.2.9",