Dashboard › opencode-lore › Distillation
5f3b6758-dbeb-4d67-b6a5-773c6e9fc081["lore_tm_v1_dyPK7GqCaMSsgWh7PDSpmperHqs1UpKPHKQiZ87f-0Y","lore_tm_v1_MxCWhFPMG1Jl8L5KEEEP9ja2dCZnEKF2DBfUuQKDUhI","lore_tm_v1_I0NHP6fMTwMnnQwemuRfNjbjWburON78XHkrhmReLXM","lore_tm_v1_WVAhFiaXOT7Lux2wZUk5uVTV-G_VgVp41RBG6efaVp0","lore_tm_v1_qY7v7xzsoKQPZzE6K1pim5U1UItZLaA-VIRxne7oex0"]
Date: Sep 16, 2026
package.json identifies the project as private ESM package lore-monorepo, licensed FSL-1.1-Apache-2.0, described as “Monorepo root for Lore — three-tier memory architecture,” with entry/export ./packages/opencode/src/index.ts, repository git+https://github.com/BYK/loreai.git, author BYK, and workspace pattern packages/*.packageManager: pnpm@10.28.0; Volta pins Node 24.16.0 and pnpm 10.28.0.onlyBuiltDependencies are exactly esbuild, onnxruntime-node, and sharp; patched dependency @sentry/node@10.56.0 uses patches/@sentry__node@10.56.0.patch.basic-ftp: 5.3.1, ip-address: 10.2.0, fast-xml-parser: 5.7.3, @huggingface/hub: 2.11.0, onnxruntime-node: 1.27.0, yaml: >=2.8.3, esbuild: >=0.28.1, @opentelemetry/core: >=2.8.0, protobufjs: >=8.6.6, qs: >=6.15.2, tar: >=7.5.19, js-yaml: >=4.3.0 <5, brace-expansion: >=5.0.7, fast-uri: >=3.1.4 <4, sharp: >=0.35.0, svgo: >=4.0.2, adm-zip: >=0.6.0, and postcss: >=8.5.18.typecheck="pnpm -r run typecheck", test="vitest run", pretest="pnpm --filter @loreai/gateway run bundle", test:coverage="pnpm --filter @loreai/gateway run bundle && vitest run --coverage", build="pnpm -r run build", site:dev="pnpm --filter '@loreai/website' dev", site:build="pnpm --filter '@loreai/website' build", site:preview="pnpm --filter '@loreai/website' preview", generate:docs="tsx scripts/generate-config-docs.ts && tsx scripts/generate-env-docs.ts", check:patches="tsx scripts/check-patches.ts", check:docs="tsx scripts/generate-config-docs.ts --check && tsx scripts/generate-env-docs.ts --check", check:links="node scripts/check-docs-links.mjs", check:preview-links="node scripts/check-preview-links.mjs", check:social="node scripts/check-social-meta.mjs", lint="oxlint --type-aware", lint:fix="oxlint --type-aware --fix", format="oxfmt", format:check="oxfmt --check", evals="vitest run --config vitest.evals.config.ts", premutation="pnpm --filter @loreai/gateway run bundle", mutation="stryker run", and postinstall="pnpm --filter @loreai/gateway run build".@stryker-mutator/core: 9.6.1, @stryker-mutator/vitest-runner: 9.6.1, @types/node: 24.13.1, @types/pg: ^8.11.10, @vitest/coverage-v8: ^4.1.8, binpatch: ^0.3.1, esbuild: ^0.28.1, fast-check: ^4.5.3, linkinator: ^7.6.1, oxfmt: 0.58.0, oxlint: 1.73.0, oxlint-tsgolint: 0.24.0, pg: ^8.13.1, tsx: ^4.22.3, typescript: ^5.8.0, vitest: ^4.1.7, and vitest-evals: ^0.10.0.kwmswwmtzlnxuvpkqymrwrxttlwowsys, commit 2ad3e0648eeb78588db1eea431bd93f86c40a472, whose parent is candidate change lnvrxqoqsqutpvpxvnppskkmmmsztwus, commit f30236708bc928ee2e12739d1de7a7d21871c7d2; neither revision had commit conflicts.lnvrxqoq has description fix(responses): complete hidden-output state; base change pxrvwsvvkmpoxnsqmrkwrnlqvvkoltwz is commit 2cbf40060c67df229731cf1b9e34d5bf22ec2145, description feat(cch): add seeds for Claude Code up to 2.1.272 (#1780).jj reported a conflicting bookmark named fix/responses-private-references; the reviewed candidate and clean child themselves reported conflict=false.packages/gateway/src/pipeline.ts and packages/gateway/test/openai-responses-recall-aware-stream.test.ts, totaling 1100 insertions and 96 deletions: pipeline.ts has 457 changed-line additions/adjustments and the test has 739.b7df735637f9d033c895867ebe157cb05f8d390bea78842d58d14fd8091fd3e1.packages/gateway/src/pipeline.ts.isSemanticResponsesEvent(event: string): boolean in packages/gateway/src/pipeline.ts, with an exact allowlist of: response.created, response.in_progress, response.completed, response.done, response.incomplete, response.failed, response.output_item.added, response.output_item.done, response.output_text.delta, response.output_text.done, response.refusal.delta, response.refusal.done, response.function_call_arguments.delta, response.function_call_arguments.done, response.content_part.added, response.content_part.done, response.reasoning_summary_part.added, response.reasoning_summary_part.done, response.reasoning_summary_text.delta, response.reasoning_summary_text.done, response.reasoning_text.delta, and response.reasoning_text.done.packages/gateway/src/pipeline.ts adds or modifies projection machinery including visibleOutputIndexMap, remapVisibleOutputIndices, projectionInvalid, sparse-index ordering logic, unresolved-tool-index handling, deferred-event remapping, terminal-output reconstruction, and safe output-index shifting via shiftedOutputIndex.packages/gateway/test/openai-responses-recall-aware-stream.test.ts now imports vi from vitest and adds rawSSEEvent(event: string, data: string), responseEvents(output), and expectVisibleOutputIndicesToMatchTerminal(output) helpers; the last helper verifies every safe-integer output_index carrying an item ID points to the same item ID in terminal response.completed.response.output.recalls === 0, followUps === 0), deferred sparse visible output, and exactly one response.completed event.followUps to equal 2, output to contain "answer", output not to contain "event: extension" or PUBLIC_RECALL_ERROR, both private events to remain absent, and failures to equal []."private result", "private recall result", and "private created-at" do not leak; forged/non-semantic events must not execute recall or survive projection, while safe visible output such as "safe answer" and "deferred visible" remains available.packages/gateway/src/pipeline.ts found streamResponsesRecallAware at lines 7794 and 18939, validateResponseLifecycle at line 9167, and shiftedOutputIndex at line 9754.