@mercury-fw/core 0.29.4 → 0.31.0
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/CHANGELOG.md +23 -0
- package/package.json +5 -5
- package/src/router/terminal-provider.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @mercury-fw/core
|
|
2
2
|
|
|
3
|
+
## 0.31.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6ae8133: - `mfw local-packages <folder>` makes an app install `@mercury-fw/*` packages from local tarballs (`bun pm pack`) instead of the registry, transitive dependencies included; `--off` goes back to the registry.
|
|
8
|
+
- `mfw e2e` runs end-to-end tests against an app's real model through its REPL: cases of turns with checks on the tool calls and the answer, repeated runs, results kept in `e2e/results/`.
|
|
9
|
+
- Test files declare their cases with `e2e()` from `@mercury-fw/cli/e2e`.
|
|
10
|
+
- A new app's Dockerfile copies `.packs/` when present, and its `.gitignore` leaves out `.packs/` and `e2e/results/`.
|
|
11
|
+
- In the REPL, `/dump` after a confirmation no longer writes the turn before it.
|
|
12
|
+
- @mercury-fw/plugin-types@0.31.0
|
|
13
|
+
- @mercury-fw/channel-types@0.31.0
|
|
14
|
+
- @mercury-fw/cli-engine@0.31.0
|
|
15
|
+
- @mercury-fw/confirm-engine@0.31.0
|
|
16
|
+
|
|
17
|
+
## 0.30.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- @mercury-fw/plugin-types@0.30.0
|
|
22
|
+
- @mercury-fw/channel-types@0.30.0
|
|
23
|
+
- @mercury-fw/cli-engine@0.30.0
|
|
24
|
+
- @mercury-fw/confirm-engine@0.30.0
|
|
25
|
+
|
|
3
26
|
## 0.29.4
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercury-fw/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"test": "bun test"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@mercury-fw/channel-types": "0.
|
|
35
|
-
"@mercury-fw/cli-engine": "0.
|
|
36
|
-
"@mercury-fw/confirm-engine": "0.
|
|
37
|
-
"@mercury-fw/plugin-types": "0.
|
|
34
|
+
"@mercury-fw/channel-types": "0.31.0",
|
|
35
|
+
"@mercury-fw/cli-engine": "0.31.0",
|
|
36
|
+
"@mercury-fw/confirm-engine": "0.31.0",
|
|
37
|
+
"@mercury-fw/plugin-types": "0.31.0",
|
|
38
38
|
"@qdrant/js-client-rest": "^1.19.0",
|
|
39
39
|
"ai": "^7.0.126",
|
|
40
40
|
"ai-sdk-ollama": "^4.4.0",
|
|
@@ -70,6 +70,8 @@ export function createTerminalProvider(deps: TerminalProviderDeps): Provider {
|
|
|
70
70
|
userId: TERMINAL_SESSION_KEY,
|
|
71
71
|
});
|
|
72
72
|
if (confirmReply !== null) {
|
|
73
|
+
// A turn of its own, with no model steps: /dump mustn't show the one before.
|
|
74
|
+
lastSteps = [];
|
|
73
75
|
return confirmReply;
|
|
74
76
|
}
|
|
75
77
|
|