openclaw/src/agents/pi-embedded-runner
openperf 56b5ba0dcb fix: address security and review feedback
- Fix CWE-209: use static safe message instead of raw provider error text
- Fix CWE-117: sanitize provider/model in logs via sanitizeForLog
- Hide CLI hints from external channels via shouldSurfaceToControlUi
- Move overload cap check before advanceAuthProfile to save setup latency
- Export MAX_LIVE_SWITCH_RETRIES as module-level constant
- Use exact toBe() assertions in tests
- Correct failover decision label to fallback_model
2026-03-31 20:25:09 +05:30
..
run fix(gateway): prevent session death loop on overloaded fallback 2026-03-31 20:25:09 +05:30
abort.ts
anthropic-stream-wrappers.ts Anthropic: wire explicit service tier params (#45453) 2026-03-30 08:54:56 +09:00
bedrock-stream-wrappers.ts refactor: split bedrock provider stream helpers 2026-03-28 01:40:30 +00:00
cache-ttl.test.ts
cache-ttl.ts
compact-reasons.test.ts
compact-reasons.ts
compact.hooks.harness.ts
compact.hooks.test.ts
compact.runtime.ts
compact.ts refactor(channels): route core through registered plugin capabilities 2026-03-30 01:03:42 +01:00
compaction-hooks.ts
compaction-runtime-context.test.ts
compaction-runtime-context.ts
compaction-safety-timeout.ts
context-engine-maintenance.test.ts
context-engine-maintenance.ts
extensions.test.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
extensions.ts refactor(plugins): decouple bundled plugin runtime loading 2026-03-29 09:10:38 +01:00
extra-params.cache-retention-default.test.ts
extra-params.google.test.ts
extra-params.kilocode.test.ts
extra-params.ollama.test.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00
extra-params.openai.test.ts fix: add OpenAI version attribution header 2026-03-27 20:29:18 +00:00
extra-params.openrouter-cache-control.test.ts
extra-params.pi-ai-mock.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00
extra-params.test-support.ts fix: use azure-openai-responses for Azure custom providers (#50851) (thanks @kunalk16) 2026-03-30 16:17:03 +05:30
extra-params.ts fix: use azure-openai-responses for Azure custom providers (#50851) (thanks @kunalk16) 2026-03-30 16:17:03 +05:30
extra-params.xai-tool-payload.test.ts xAI: strip unsupported payload fields 2026-03-28 21:35:13 +00:00
extra-params.zai-tool-stream.test.ts
google-stream-wrappers.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00
google.test.ts
google.ts fix: use azure-openai-responses for Azure custom providers (#50851) (thanks @kunalk16) 2026-03-30 16:17:03 +05:30
history.test.ts fix: normalize history session provider lookup 2026-03-27 21:19:09 -05:00
history.ts fix: normalize history session provider lookup 2026-03-27 21:19:09 -05:00
kilocode.test.ts
lanes.test.ts
lanes.ts
logger.ts
message-action-discovery-input.test.ts
message-action-discovery-input.ts
minimax-stream-wrappers.ts
model.forward-compat.errors-and-overrides.test.ts
model.forward-compat.test-support.ts
model.forward-compat.test.ts
model.provider-normalization.ts refactor: generalize provider transport hooks 2026-03-29 23:05:58 +09:00
model.provider-runtime.test-support.ts build: update deps and align pi sdk usage 2026-03-31 22:56:20 +09:00
model.startup-retry.test.ts fix: apply Mistral compat across proxy transports 2026-03-29 16:32:31 +09:00
model.test-harness.ts build: update deps and align pi sdk usage 2026-03-31 22:56:20 +09:00
model.test.ts fix: clear stalled model resolution lanes 2026-03-30 05:09:26 +09:00
model.ts fix: use azure-openai-responses for Azure custom providers (#50851) (thanks @kunalk16) 2026-03-30 16:17:03 +05:30
moonshot-stream-wrappers.test.ts
moonshot-stream-wrappers.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00
moonshot-thinking-stream-wrappers.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00
openai-stream-wrappers.ts fix: use azure-openai-responses for Azure custom providers (#50851) (thanks @kunalk16) 2026-03-30 16:17:03 +05:30
openrouter-model-capabilities.test.ts
openrouter-model-capabilities.ts
proxy-stream-wrappers.test.ts
proxy-stream-wrappers.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00
run.codex-server-error-fallback.test.ts fix(agents): fail over and sanitize Codex server_error payloads (#42892) 2026-03-27 16:51:39 +03:00
run.overflow-compaction.fixture.ts
run.overflow-compaction.harness.ts fix(agents): fail over and sanitize Codex server_error payloads (#42892) 2026-03-27 16:51:39 +03:00
run.overflow-compaction.loop.test.ts
run.overflow-compaction.test.ts
run.timeout-triggered-compaction.test.ts
run.ts fix: address security and review feedback 2026-03-31 20:25:09 +05:30
runs.test.ts fix: apply live model switches during active retries 2026-03-27 12:01:55 +00:00
runs.ts fix: apply live model switches during active retries 2026-03-27 12:01:55 +00:00
sandbox-info.ts
sanitize-session-history.tool-result-details.test.ts
session-manager-cache.test.ts
session-manager-cache.ts
session-manager-init.ts
session-truncation.test.ts
session-truncation.ts
sessions-yield.orchestration.test.ts
skills-runtime.integration.test.ts
skills-runtime.test.ts
skills-runtime.ts
stream-payload-utils.ts
system-prompt.test.ts
system-prompt.ts
thinking.test.ts
thinking.ts
tool-name-allowlist.ts
tool-result-char-estimator.ts
tool-result-context-guard.test.ts
tool-result-context-guard.ts
tool-result-truncation.test.ts
tool-result-truncation.ts
tool-split.ts
transcript-rewrite.test.ts
transcript-rewrite.ts
types.ts
usage-accumulator.test.ts
usage-accumulator.ts
usage-reporting.test.ts Reduce lint suppressions in core tests and runtime 2026-03-27 02:11:26 -05:00
utils.ts
wait-for-idle-before-flush.ts
zai-stream-wrappers.ts refactor: move stream payload compat into provider seams 2026-03-28 00:10:39 +00:00