openclaw/extensions/memory-wiki/src
Peter Steinberger 218dcd815a
feat(tooling): enforce noUncheckedIndexedAccess in the extensions lane (NUIA phase 4) (#105132)
* fix(extensions): make indexed access explicit across channel plugins

Transport-payload-safe burn-down: malformed Telegram/Discord/QQ/LINE
and sibling channel input keeps existing skip paths; no synthesized
fields, no new throws in delivery loops. Zalo escape sentinels preserve
literal matches instead of undefined replacements.

* fix(extensions): make indexed access explicit across provider and memory plugins

Stream and model iteration, tool-block guards, capture guards, and
sparse accumulators; singleton model reads carry named invariants.

* fix(extensions): make indexed access explicit across tooling plugins, flip the extensions lane

Remaining plugins (oc-path, qa-lab, browser, logbook, and siblings) plus
the tsconfig.extensions.json flag flip. Cleanup: logbook sampleFrames
NaN index at max=1, QA retry clamp at non-positive attempts, dead Canvas
probe and OpenShell no-op slice removed, twitch test setup leak excluded
from the prod lane.

* refactor(plugin-sdk): expose expectDefined via a focused SDK subpath

Extensions imported @openclaw/normalization-core directly, crossing the
external-plugin packaging boundary (it only worked because the runtime
builder bundles undeclared workspace helpers). expect-runtime joins the
canonical entrypoints JSON, generated exports, API baseline, docs, and
subpath contract test; all 78 extension imports now use the SDK seam.
Two scanner-shaped locals renamed for review-bundle hygiene.

* chore(plugin-sdk): raise surface budgets for the expect-runtime subpath

One new entrypoint with one callable export, added intentionally as the
packaging-honest seam for extension invariant helpers.
2026-07-12 09:17:31 +01:00
..
agent-vault-isolation.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
apply.test.ts fix(memory-wiki): prevent partial failures during concurrent agent writes (#103408) 2026-07-10 18:22:51 -07:00
apply.ts fix(memory-wiki): prevent partial failures during concurrent agent writes (#103408) 2026-07-10 18:22:51 -07:00
bridge.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
bridge.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
chatgpt-import.ts fix: land nine small correctness fixes (#100204) 2026-07-05 01:44:56 -07:00
claim-health.test.ts fix(memory-wiki): keep claim freshness tied to evidence timestamps (#97465) 2026-06-28 11:58:45 -07:00
claim-health.ts chore(tooling): enforce formatting and refresh TypeScript checks (#104239) 2026-07-11 01:09:51 -07:00
cli.test.ts fix(memory-wiki): keep terminal truncation UTF-16 safe (#103178) 2026-07-10 10:15:17 +01:00
cli.ts fix(memory-wiki): keep terminal truncation UTF-16 safe (#103178) 2026-07-10 10:15:17 +01:00
compile.test.ts fix(memory-wiki): gracefully handle unparsable YAML frontmatter in vault scans (#96125) (#97177) 2026-06-30 17:21:19 -07:00
compile.ts fix(memory-wiki): prevent partial failures during concurrent agent writes (#103408) 2026-07-10 18:22:51 -07:00
config-compat.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
config-compat.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
config.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
config.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
corpus-supplement.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
corpus-supplement.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
gateway.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
gateway.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
import-insights.test.ts fix(memory-wiki): truncate import insights safely 2026-06-28 11:19:55 -07:00
import-insights.ts fix(memory-wiki): truncate import insights safely 2026-06-28 11:19:55 -07:00
import-runs-state.ts refactor(memory-wiki): localize internal helper types (#101931) 2026-07-07 17:46:54 -07:00
import-runs.test.ts refactor(memory-wiki): store import runs in sqlite (#91108) 2026-06-07 01:04:43 -07:00
import-runs.ts refactor(memory-wiki): store import runs in sqlite (#91108) 2026-06-07 01:04:43 -07:00
ingest-human-notes.test.ts fix(memory-wiki): preserve human notes block on source re-ingest (#95614) 2026-06-23 00:33:45 +00:00
ingest.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
ingest.ts fix(memory-wiki): avoid implicit error coercion (#99307) 2026-07-02 18:56:46 -07:00
lint.test.ts fix: normalise wiki lint targets (#100017) 2026-07-06 04:03:15 -07:00
lint.ts fix: normalise wiki lint targets (#100017) 2026-07-06 04:03:15 -07:00
log.ts feat(memory-wiki): import OKF bundles 2026-06-13 19:27:52 +08:00
markdown.test.ts fix(memory-wiki): strip fenced code and inline code before wikilink extraction (#98095) 2026-07-06 02:00:12 -07:00
markdown.ts feat(tooling): enforce noUncheckedIndexedAccess in the extensions lane (NUIA phase 4) (#105132) 2026-07-12 09:17:31 +01:00
memory-palace.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
memory-palace.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
mutation-coordinator.test.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
mutation-coordinator.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
obsidian.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
obsidian.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
okf.test.ts feat(memory-wiki): import OKF bundles 2026-06-13 19:27:52 +08:00
okf.ts refactor(memory-wiki): localize internal helper types (#101931) 2026-07-07 17:46:54 -07:00
prompt-section.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
prompt-section.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
query.test.ts fix(memory-wiki): fail with a readable error when the shared memory manager violates the contract (#100902) 2026-07-06 09:20:43 -07:00
query.ts feat(tooling): enforce noUncheckedIndexedAccess in the extensions lane (NUIA phase 4) (#105132) 2026-07-12 09:17:31 +01:00
reserved-index-collision.repro.test.ts fix(memory-wiki): disambiguate the reserved index page stem for synthesis and ingest (#94326) 2026-07-01 08:35:13 -07:00
source-page-shared.test.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
source-page-shared.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
source-path-shared.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
source-sync-state.test.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
source-sync-state.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
source-sync.test.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
source-sync.ts fix(memory-wiki): stop duplicate bridge imports under polling (#91828) 2026-07-10 19:20:15 -07:00
status.test.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
status.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
test-helpers.ts refactor(memory-wiki): store source sync state in sqlite 2026-06-06 20:04:27 -07:00
time.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
time.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
tool.test.ts fix(memory-wiki): accept wiki apply op aliases 2026-06-06 08:35:33 -07:00
tool.ts feat(memory-wiki): isolate vaults per agent (#103349) 2026-07-10 05:19:13 +01:00
unsafe-local.test.ts docs: document medium extension sources 2026-06-04 21:33:54 -04:00
unsafe-local.ts refactor(memory-wiki): store source sync state in sqlite 2026-06-06 20:04:27 -07:00
vault-page-write.test.ts fix(memory-wiki): retry transient source-page rewrite race (#94443) 2026-06-22 17:22:15 +00:00
vault-page-write.ts refactor(memory-wiki): localize internal helper types (#101931) 2026-07-07 17:46:54 -07:00
vault.test.ts chore(deadcode): drop retired memory wiki vault metadata 2026-06-21 19:08:39 +08:00
vault.ts chore(deadcode): drop retired memory wiki vault metadata 2026-06-21 19:08:39 +08:00
wiki-notes-read-retry.test.ts fix: land nine small correctness fixes (#100204) 2026-07-05 01:44:56 -07:00