@chatu-ai/builder-sdk-mock 0.9.6 → 0.9.7
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/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -110,6 +110,7 @@ export function createMockBuilderClient(script) {
|
|
|
110
110
|
yield { type: 'result', result: { ok: true, remoteUrl: input.remoteUrl, branch: input.branch ?? 'main', sha: 'deadbeefcafe', output: 'mock push ok', webUrl: input.remoteUrl.replace(/\.git$/, '') } };
|
|
111
111
|
},
|
|
112
112
|
},
|
|
113
|
+
runMessage: async (_id, _xid, seq) => ({ ok: true, message: { sequenceNumber: seq, content: 'mock full tool result' } }),
|
|
113
114
|
exec: async function* (_id, command) {
|
|
114
115
|
yield { type: 'log', line: `$ ${command}` };
|
|
115
116
|
yield { type: 'log', line: 'mock output' };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatu-ai/builder-sdk-mock",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "Mock BuilderClient for @chatu-ai/builder-sdk: scripted event replay with latency & disconnect injection",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"node": ">=18"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@chatu-ai/builder-sdk": "0.9.
|
|
44
|
+
"@chatu-ai/builder-sdk": "0.9.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"typescript": "^5.7.0",
|