@vitest-agent/engine 0.1.1 → 0.1.3
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/layers/DataStoreLive.js +1 -1
- package/package.json +2 -2
- package/version.js +1 -1
package/layers/DataStoreLive.js
CHANGED
|
@@ -1060,7 +1060,7 @@ const DataStoreLive = Layer.effect(DataStore, Effect.gen(function* () {
|
|
|
1060
1060
|
procedurePath: input.procedurePath,
|
|
1061
1061
|
key: input.key
|
|
1062
1062
|
}));
|
|
1063
|
-
yield* sql`INSERT INTO mcp_idempotent_responses (procedure_path, key, result_json, created_at) VALUES (${input.procedurePath}, ${input.key}, ${input.resultJson}, ${input.createdAt}) ON CONFLICT(procedure_path, key) DO
|
|
1063
|
+
yield* sql`INSERT INTO mcp_idempotent_responses (procedure_path, key, result_json, created_at) VALUES (${input.procedurePath}, ${input.key}, ${input.resultJson}, ${input.createdAt}) ON CONFLICT(procedure_path, key) DO UPDATE SET result_json = excluded.result_json, created_at = excluded.created_at`;
|
|
1064
1064
|
}).pipe(Effect.annotateLogs("service", "DataStore"), Effect.mapError((e) => new DataStoreError({
|
|
1065
1065
|
operation: "write",
|
|
1066
1066
|
table: "mcp_idempotent_responses",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest-agent/engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared services, layers, SQLite data layer, migrations and platform resolution for the vitest-agent CLI and MCP server.",
|
|
6
6
|
"keywords": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@effected/workspaces": "^0.22.0",
|
|
50
50
|
"@effected/xdg": "^0.5.2",
|
|
51
51
|
"@effected/yaml": "^0.15.1",
|
|
52
|
-
"@vitest-agent/sdk": "
|
|
52
|
+
"@vitest-agent/sdk": "5.0.1",
|
|
53
53
|
"effect": "4.0.0-rc.115",
|
|
54
54
|
"std-env": "^4.2.0"
|
|
55
55
|
},
|
package/version.js
CHANGED