opencode-self-improvement 0.15.24 → 0.15.25
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/package.json +4 -4
- package/src/index.ts +1 -1
- package/src/recall/score.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-self-improvement",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.25",
|
|
4
4
|
"description": "Durable memory for opencode: remember facts, decisions, and commands across sessions, plus a one-command per-repo setup (/repo-init).",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"exports": {
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"gate": "bun scripts/merge-gate.ts",
|
|
66
66
|
"gate:hooks": "git config core.hooksPath .githooks",
|
|
67
67
|
"typecheck": "bun x tsc --noEmit -p tsconfig.json",
|
|
68
|
-
"bench": "bun bench/inject-cost.ts",
|
|
69
|
-
"bench:recall": "bun bench/recall-quality.ts",
|
|
70
|
-
"bench:write": "bun bench/write-latency.ts",
|
|
68
|
+
"bench": "bun bench/runners/inject-cost.ts",
|
|
69
|
+
"bench:recall": "bun bench/runners/recall-quality.ts",
|
|
70
|
+
"bench:write": "bun bench/runners/write-latency.ts",
|
|
71
71
|
"sweep:test": "bun scripts/test-sweep.ts",
|
|
72
72
|
"memory-view": "bun run src/viewer/server.ts",
|
|
73
73
|
"format": "biome format --write",
|
package/src/index.ts
CHANGED
|
@@ -237,7 +237,7 @@ const impl = {
|
|
|
237
237
|
// ever writes through the gate. A per-session, per-trigger cooldown bounds
|
|
238
238
|
// the cost. Compaction-triggered rows carry the CAPTURE_COMPACT_TAG tag and
|
|
239
239
|
// auto_capture_compaction_* evidence lines, idle rows keep auto_capture_*,
|
|
240
|
-
// so decay/status — and bench/capture-trigger-compare.ts — can measure
|
|
240
|
+
// so decay/status — and bench/runners/capture-trigger-compare.ts — can measure
|
|
241
241
|
// which trigger earns its tokens. Every failure is swallowed: capture must
|
|
242
242
|
// never be able to break a session.
|
|
243
243
|
const capture = configureAutoCapture(ctx, {
|
package/src/recall/score.ts
CHANGED
|
@@ -46,7 +46,7 @@ const LONG_QUERY_TOKENS = 3;
|
|
|
46
46
|
// author-supplied aliases indexed at write time (#40 item 3, the vocabulary
|
|
47
47
|
// bridge for the bench's strict-paraphrase wall). Keywords are indexed, never
|
|
48
48
|
// rendered, so they cannot change what a block costs.
|
|
49
|
-
// Exported for bench/recall-quality.ts — the benchmark measures the shipped
|
|
49
|
+
// Exported for bench/runners/recall-quality.ts — the benchmark measures the shipped
|
|
50
50
|
// matcher.
|
|
51
51
|
//
|
|
52
52
|
// Superseded rows are dropped HERE, not only by the callers. Every model-facing
|