@qvac/core 1.0.0-rc.10 → 1.0.0-rc.11
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 +2 -0
- package/dist-lib/lib/compaction.js +2 -2
- package/package.json +1 -1
- package/tui/boot.mjs +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -235,6 +235,8 @@ release.
|
|
|
235
235
|
when its mesh closes or is left. (#783, #790, #793)
|
|
236
236
|
- A chat rename made while its title is generated is kept. (#780)
|
|
237
237
|
- Copying tool activity keeps the seq placeholder. (#810)
|
|
238
|
+
- `duck`'s launcher no longer bundles a second copy of the harness's model addons, which on
|
|
239
|
+
linux-x64 ran its build out of room. (#832)
|
|
238
240
|
|
|
239
241
|
## [0.11.4] - 2026-10-30
|
|
240
242
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HarnessError } from '@qvac/harness/errors';
|
|
2
2
|
import { COMPACTION_MIN_CTX_SIZE } from './model-context.js';
|
|
3
3
|
export const COMPACTION_KEEP_TURNS = 1;
|
|
4
4
|
export const COMPACTION_TURN_PREFIX = '[Summary of the earlier conversation in this chat, written by another model. Treat it as established context, not as a new request.]';
|
|
@@ -114,5 +114,5 @@ export function nearContextLimit(cacheTokens, ctxSize) {
|
|
|
114
114
|
return cacheTokens >= ctxSize * compactionTriggerRatio(ctxSize);
|
|
115
115
|
}
|
|
116
116
|
export function isContextOverflowFailure(message) {
|
|
117
|
-
return message === CONTEXT_OVERFLOW_MESSAGE;
|
|
117
|
+
return message === HarnessError.CONTEXT_OVERFLOW_MESSAGE;
|
|
118
118
|
}
|
package/package.json
CHANGED
package/tui/boot.mjs
CHANGED
|
@@ -21,6 +21,7 @@ async function resolvePaths(entries) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
const harnessSpecifier = '@qvac/harness/worker/stow-entry.mjs'
|
|
24
25
|
const sidecarEntry = fileURLToPath(new URL('../worker/stow-entry.mjs', import.meta.url))
|
|
25
26
|
if (!fs.existsSync(sidecarEntry)) {
|
|
26
27
|
throw new Error(`assistant sidecar entry missing at ${sidecarEntry}`)
|
|
@@ -29,7 +30,8 @@ async function resolvePaths(entries) {
|
|
|
29
30
|
return {
|
|
30
31
|
// imported here, as at load it reads a path from import.meta.url, which a bundle does not have
|
|
31
32
|
skillsDir: (await import('@qvac/skills')).skillsDir,
|
|
32
|
-
|
|
33
|
+
// a variable, as bare-pack follows a literal and would bundle the harness graph into duck again
|
|
34
|
+
harnessEntry: fileURLToPath(import.meta.resolve(harnessSpecifier)),
|
|
33
35
|
sidecarEntry
|
|
34
36
|
}
|
|
35
37
|
}
|