goatchain 0.0.29 → 0.0.31

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.
@@ -1,5 +1,6 @@
1
1
  import type { ToolCallWithResult } from '../agent/types';
2
2
  import type { ModelStopReason } from '../model/types';
3
+ import type { MessageQueueSnapshot } from '../session/types';
3
4
  import type { Usage } from './common';
4
5
  import type { Message } from './message';
5
6
  /**
@@ -141,6 +142,12 @@ export interface ConversationContext {
141
142
  * Full message history
142
143
  */
143
144
  messages: Message[];
145
+ /**
146
+ * Raw uncompressed message history kept for audit/rebuild.
147
+ * Absent in legacy snapshots, in which case `messages` is treated as both
148
+ * the working and raw view.
149
+ */
150
+ rawMessages?: Message[];
144
151
  /**
145
152
  * Total message count
146
153
  */
@@ -207,6 +214,10 @@ export interface SessionSnapshot {
207
214
  * User-defined metadata
208
215
  */
209
216
  metadata?: Record<string, unknown>;
217
+ /**
218
+ * Optional message queue snapshot.
219
+ */
220
+ messageQueue?: MessageQueueSnapshot;
210
221
  }
211
222
  /**
212
223
  * Model configuration stored in checkpoint (serializable)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "goatchain",
3
3
  "type": "module",
4
- "version": "0.0.29",
4
+ "version": "0.0.31",
5
5
  "workspaces": [
6
6
  "packages/*"
7
7
  ],
8
- "packageManager": "pnpm@10.16.0+sha512.8066e7b034217b700a9a4dbb3a005061d641ba130a89915213a10b3ca4919c19c037bec8066afdc559b89635fdb806b16ea673f2468fbb28aabfa13c53e3f769",
8
+ "packageManager": "pnpm@10.30.3",
9
9
  "description": "",
10
10
  "author": "Dim Code",
11
11
  "keywords": [],
@@ -69,15 +69,15 @@
69
69
  "dependencies": {
70
70
  "@agentclientprotocol/sdk": "^0.12.0",
71
71
  "@anthropic-ai/sdk": "^0.40.1",
72
- "@google/genai": "^1.39.0",
73
- "@modelcontextprotocol/sdk": "^1.17.3",
72
+ "@google/genai": "^1.43.0",
73
+ "@modelcontextprotocol/sdk": "^1.27.1",
74
74
  "@simon_he/vue-tui": "^0.0.3",
75
- "adm-zip": "^0.5.10",
75
+ "adm-zip": "^0.5.16",
76
76
  "cheerio": "^1.2.0",
77
77
  "fast-glob": "^3.3.3",
78
- "file-type": "^19.0.0",
78
+ "file-type": "^19.6.0",
79
79
  "mammoth": "^1.11.0",
80
- "openai": "^6.9.1",
80
+ "openai": "^6.25.0",
81
81
  "pdf-parse": "^2.4.5",
82
82
  "picomatch": "^4.0.3",
83
83
  "pptx-parser": "^1.1.7-beta.9",
@@ -86,27 +86,27 @@
86
86
  "xlsx": "^0.18.5"
87
87
  },
88
88
  "devDependencies": {
89
- "@antfu/eslint-config": "^6.7.1",
90
- "@changesets/cli": "^2.29.7",
91
- "@slidev/cli": "^52.1.0",
89
+ "@antfu/eslint-config": "^6.7.3",
90
+ "@changesets/cli": "^2.29.8",
91
+ "@slidev/cli": "^52.13.0",
92
92
  "@slidev/theme-default": "^0.25.0",
93
- "@sxzz/prettier-config": "^2.2.6",
94
- "@tsconfig/recommended": "^1.0.10",
95
- "@types/node": "^22.13.5",
93
+ "@sxzz/prettier-config": "^2.3.1",
94
+ "@tsconfig/recommended": "^1.0.13",
95
+ "@types/node": "^22.19.13",
96
+ "@types/picomatch": "^4.0.2",
96
97
  "@types/semver": "^7.7.1",
97
98
  "@types/turndown": "^5.0.6",
98
- "@types/picomatch": "^4.0.2",
99
- "bumpp": "^10.3.2",
99
+ "bumpp": "^10.4.1",
100
100
  "bun-types": "latest",
101
- "chokidar": "^4.0.1",
102
- "dotenv": "^17.2.1",
103
- "eslint": "^9.19.0",
101
+ "chokidar": "^4.0.3",
102
+ "dotenv": "^17.3.1",
103
+ "eslint": "^9.39.3",
104
104
  "esno": "^4.8.0",
105
105
  "picocolors": "^1.1.1",
106
- "prettier": "^3.6.2",
107
- "tsx": "^4.20.5",
108
- "typescript": "^5.9.2",
109
- "typescript-eslint": "^8.22.0"
106
+ "prettier": "^3.8.1",
107
+ "tsx": "^4.21.0",
108
+ "typescript": "^5.9.3",
109
+ "typescript-eslint": "^8.56.1"
110
110
  },
111
111
  "trustedDependencies": [
112
112
  "@ast-grep/cli",