openclaw/extensions/anthropic
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
..
api.ts docs: document anthropic cli config helpers 2026-06-04 07:15:05 -04:00
claude-model-refs.ts refactor(plugins): localize private declarations (#101406) 2026-07-06 23:26:47 -07:00
cli-auth-seam.ts docs: document anthropic cli config helpers 2026-06-04 07:15:05 -04:00
cli-backend.ts feat: unify external sessions with native catalog pagination (#104717) 2026-07-11 17:26:26 -07:00
cli-catalog.ts feat(models): add Claude Sonnet 5 support (#98254) 2026-07-07 00:05:35 +01:00
cli-constants.ts feat(models): add Claude Sonnet 5 support (#98254) 2026-07-07 00:05:35 +01:00
cli-migration.test.ts test(anthropic): cover Sonnet 5 CLI allowlist 2026-07-08 14:48:50 -07:00
cli-migration.ts refactor(extensions): remove unused dead helpers 2026-06-18 11:33:15 +08:00
cli-shared.test.ts fix(onboarding): skip setup for configured gateways and require inference first (#102883) 2026-07-11 10:25:14 -07:00
cli-shared.ts feat(tooling): enforce noUncheckedIndexedAccess in the extensions lane (NUIA phase 4) (#105132) 2026-07-12 09:17:31 +01:00
config-defaults.ts feat(models): add Claude Sonnet 5 support (#98254) 2026-07-07 00:05:35 +01:00
contract-api.ts docs: document anthropic cli config helpers 2026-06-04 07:15:05 -04:00
doctor-contract-api.ts docs: document anthropic cli config helpers 2026-06-04 07:15:05 -04:00
index.test.ts fix(anthropic): don't crash models list when a configured Sonnet 5 model has no cost (#102186) 2026-07-09 22:13:56 +01:00
index.ts feat: add Claude session fleet (#104528) 2026-07-11 08:22:59 -07:00
media-understanding-provider.ts docs: document anthropic runtime provider 2026-06-04 07:17:20 -04:00
openclaw.plugin.json feat: add Claude session fleet (#104528) 2026-07-11 08:22:59 -07:00
openclaw.plugin.test.ts feat(models): add Claude Sonnet 5 support (#98254) 2026-07-07 00:05:35 +01:00
package.json feat: add Claude session fleet (#104528) 2026-07-11 08:22:59 -07:00
provider-contract-api.ts docs: document anthropic runtime provider 2026-06-04 07:17:20 -04:00
provider-discovery.ts docs: document anthropic runtime provider 2026-06-04 07:17:20 -04:00
provider-policy-api.test.ts feat(models): add Claude Mythos 5 support (#101238) 2026-07-06 17:19:49 -07:00
provider-policy-api.ts feat(models): add Claude Mythos 5 support (#101238) 2026-07-06 17:19:49 -07:00
provider-runtime.contract.test.ts docs: document small extension sources 2026-06-04 21:02:07 -04:00
register.runtime.ts feat: add Claude session fleet (#104528) 2026-07-11 08:22:59 -07:00
session-catalog.test.ts feat: unify external sessions with native catalog pagination (#104717) 2026-07-11 17:26:26 -07:00
session-catalog.ts feat: unify external sessions with native catalog pagination (#104717) 2026-07-11 17:26:26 -07:00
setup-api.ts docs: document anthropic runtime provider 2026-06-04 07:17:20 -04:00
stream-wrappers.test.ts feat(models): add Claude Sonnet 5 support (#98254) 2026-07-07 00:05:35 +01:00
stream-wrappers.ts refactor(agents): thread runtime-context carrier indexes 2026-07-06 20:34:01 -07:00
test-api.ts docs: document anthropic runtime provider 2026-06-04 07:17:20 -04:00
tsconfig.json chore(plugins): bulk add package boundary tsconfig rollout 2026-04-07 08:48:23 +01:00
usage.test.ts feat: show provider plan usage (5h/weekly/credits) in the chat context popover, keep API cost for API billing (#102784) 2026-07-09 15:36:13 +01:00
usage.ts feat: show provider plan usage (5h/weekly/credits) in the chat context popover, keep API cost for API billing (#102784) 2026-07-09 15:36:13 +01:00