openclaw/src/gateway
Peter Steinberger ea0ef18704 refactor: centralize exec approval timeout 2026-02-15 01:18:53 +01:00
..
protocol refactor(outbound): dedupe poll threading + tighten duration semantics 2026-02-14 19:03:46 +01:00
server fix(security): harden hooks module loading 2026-02-14 15:03:27 +01:00
server-methods refactor: centralize exec approval timeout 2026-02-15 01:18:53 +01:00
agent-prompt.e2e.test.ts refactor(gateway): share agent prompt builder 2026-02-14 15:39:45 +00:00
agent-prompt.ts refactor(gateway): share agent prompt builder 2026-02-14 15:39:45 +00:00
assistant-identity.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
assistant-identity.ts feat(ui): add Agents dashboard 2026-02-02 21:31:17 -05:00
auth-rate-limit.test.ts feat(gateway): add auth rate-limiting & brute-force protection (#15035) 2026-02-13 15:32:38 +01:00
auth-rate-limit.ts feat(gateway): add auth rate-limiting & brute-force protection (#15035) 2026-02-13 15:32:38 +01:00
auth.test.ts feat(gateway): add trusted-proxy auth mode (#15940) 2026-02-14 12:32:17 +01:00
auth.ts feat(gateway): add trusted-proxy auth mode (#15940) 2026-02-14 12:32:17 +01:00
boot.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
boot.ts fix: fix(boot): use ephemeral session per boot to prevent stale context (openclaw#11764) thanks @mcinteerj 2026-02-12 09:41:43 -06:00
call.test.ts fix: context overflow compaction and subagent announce improvements (#11664) (thanks @tyler6204) 2026-02-07 20:02:32 -08:00
call.ts fix: context overflow compaction and subagent announce improvements (#11664) (thanks @tyler6204) 2026-02-07 20:02:32 -08:00
chat-abort.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
chat-attachments.test.ts fix(security): reject oversized base64 before decode 2026-02-14 15:45:41 +01:00
chat-attachments.ts fix(security): reject oversized base64 before decode 2026-02-14 15:45:41 +01:00
chat-sanitize.test.ts fix: hide message_id hints in web chat 2026-01-24 13:52:31 +00:00
chat-sanitize.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
client.e2e.test.ts perf: speed up gateway missing-tick e2e watchdog 2026-02-13 19:52:45 +00:00
client.maxpayload.test.ts perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
client.ts fix(gateway): remove unused device auth import 2026-02-14 22:01:12 +01:00
config-reload.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
config-reload.ts fix: ignore meta field changes in config file watcher (#13460) 2026-02-12 07:55:26 -06:00
control-ui-shared.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
control-ui.test.ts fix: harden control ui framing + ws origin 2026-02-03 16:00:57 -08:00
control-ui.ts fix: harden control ui framing + ws origin 2026-02-03 16:00:57 -08:00
device-auth.ts feat: enforce device-bound connect challenge 2026-01-20 13:04:19 +00:00
exec-approval-manager.ts fix(gateway): bind system.run approvals to exec approvals 2026-02-14 13:27:45 +01:00
gateway-cli-backend.live.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
gateway-models.profiles.live.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
gateway.e2e.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
hooks-mapping.test.ts fix(security): harden hooks module loading 2026-02-14 15:03:27 +01:00
hooks-mapping.ts fix(security): restrict hook transform module loading 2026-02-14 13:46:09 +01:00
hooks.test.ts perf(test): speed up Vitest bootstrap 2026-02-14 12:13:27 +00:00
hooks.ts fix(security): enforce bounded webhook body handling 2026-02-13 19:14:54 +01:00
http-common.ts fix(security): enforce bounded webhook body handling 2026-02-13 19:14:54 +01:00
http-utils.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
live-image-probe.ts refactor: consolidate PNG encoder and safeParseJson utilities (#12457) 2026-02-09 00:21:54 -08:00
net.test.ts feat(gateway): add trusted-proxy auth mode (#15940) 2026-02-14 12:32:17 +01:00
net.ts feat(gateway): add trusted-proxy auth mode (#15940) 2026-02-14 12:32:17 +01:00
node-command-policy.test.ts Gateway/Plugins: device pairing + phone control plugins (#11755) 2026-02-08 18:07:13 +01:00
node-command-policy.ts fix(gateway): block node.invoke exec approvals 2026-02-14 19:22:37 +01:00
node-invoke-sanitize.ts refactor(gateway): centralize node.invoke param sanitization 2026-02-14 13:27:45 +01:00
node-invoke-system-run-approval.ts fix(node-host): enforce system.run rawCommand/argv consistency 2026-02-14 18:53:23 +01:00
node-registry.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
open-responses.schema.ts feat(gateway): implement OpenResponses /v1/responses endpoint phase 2 2026-01-20 07:37:01 +00:00
openai-http.e2e.test.ts feat(gateway): add auth rate-limiting & brute-force protection (#15035) 2026-02-13 15:32:38 +01:00
openai-http.ts refactor(gateway): share agent prompt builder 2026-02-14 15:39:45 +00:00
openresponses-http.e2e.test.ts perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
openresponses-http.ts refactor(gateway): share agent prompt builder 2026-02-14 15:39:45 +00:00
openresponses-parity.e2e.test.ts test(gateway): add OpenResponses parity E2E tests 2026-01-20 07:37:01 +00:00
origin-check.test.ts fix: harden control ui framing + ws origin 2026-02-03 16:00:57 -08:00
origin-check.ts refactor: centralize isPlainObject, isRecord, isErrno, isLoopbackHost utilities (#12926) 2026-02-09 17:02:55 -08:00
probe.ts refactor: consolidate duplicate utility functions (#12439) 2026-02-08 23:59:43 -08:00
server-broadcast.test.ts TUI/Gateway: fix pi streaming + tool routing + model display + msg updating (#8432) 2026-02-04 17:12:16 -05:00
server-broadcast.ts perf(gateway): optimize sessions/ws/routing 2026-02-14 12:21:44 +00:00
server-browser.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-channels.ts perf(gateway): skip idle channel shutdown work 2026-02-13 23:57:03 +00:00
server-chat-registry.test.ts test(gateway): cover helper registries 2026-01-03 19:37:09 +01:00
server-chat.agent-events.test.ts fix(webchat): filter NO_REPLY token from streaming and final replies (#16286) 2026-02-14 18:26:19 +01:00
server-chat.ts fix(webchat): filter NO_REPLY token from streaming and final replies (#16286) 2026-02-14 18:26:19 +01:00
server-close.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
server-constants.ts fix(gateway): increase WebSocket max payload to 5 MB for image uploads (#14486) 2026-02-12 17:48:49 +01:00
server-cron.ts fix(cron): pass agentId to runHeartbeatOnce for main-session jobs (#14140) 2026-02-11 22:22:29 -06:00
server-discovery-runtime.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
server-discovery.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
server-discovery.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-http.hooks-request-timeout.test.ts fix(gateway): prune expired entries instead of clearing all hook auth failure state (#15848) 2026-02-14 01:46:12 +01:00
server-http.ts fix(gateway): prune expired entries instead of clearing all hook auth failure state (#15848) 2026-02-14 01:46:12 +01:00
server-lanes.ts refactor: use command lane enum 2026-01-20 10:51:25 +00:00
server-maintenance.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
server-methods-list.ts fix: ensure exec approval is registered before returning (#2402) (#3357) 2026-02-13 19:57:02 +01:00
server-methods.ts fix: ensure exec approval is registered before returning (#2402) (#3357) 2026-02-13 19:57:02 +01:00
server-mobile-nodes.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-model-catalog.ts refactor(gateway): split server runtime 2026-01-14 09:11:21 +00:00
server-node-events-types.ts refactor: remove bridge protocol 2026-01-19 10:08:29 +00:00
server-node-events.test.ts agents: reduce prompt token bloat from exec and context (#16539) 2026-02-14 18:32:45 -05:00
server-node-events.ts agents: reduce prompt token bloat from exec and context (#16539) 2026-02-14 18:32:45 -05:00
server-node-subscriptions.test.ts chore: Enable more lint rules, disable some that trigger a lot. Will clean up later. 2026-01-31 16:04:04 +09:00
server-node-subscriptions.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-plugins.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
server-plugins.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
server-reload-handlers.ts refactor: unify gateway restart deferral and dispatcher cleanup 2026-02-14 00:38:18 +01:00
server-reload.config-during-reply.test.ts perf(test): statically import gateway reload deps 2026-02-13 23:52:20 +00:00
server-reload.integration.test.ts perf(test): statically import gateway reload deps 2026-02-13 23:52:20 +00:00
server-reload.real-scenario.test.ts perf(test): statically import gateway reload deps 2026-02-13 23:52:20 +00:00
server-restart-sentinel.ts fix: defer gateway restart until all replies are sent (#12970) 2026-02-14 00:29:29 +01:00
server-runtime-config.test.ts feat(gateway): add trusted-proxy auth mode (#15940) 2026-02-14 12:32:17 +01:00
server-runtime-config.ts feat(gateway): add trusted-proxy auth mode (#15940) 2026-02-14 12:32:17 +01:00
server-runtime-state.ts feat(gateway): add auth rate-limiting & brute-force protection (#15035) 2026-02-13 15:32:38 +01:00
server-session-key.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-shared.ts refactor(gateway): split server helpers 2026-01-03 19:37:09 +01:00
server-startup-log.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
server-startup-memory.test.ts Gateway: eager-init QMD backend on startup 2026-02-09 23:58:34 -08:00
server-startup-memory.ts Gateway: eager-init QMD backend on startup 2026-02-09 23:58:34 -08:00
server-startup.ts Gateway: eager-init QMD backend on startup 2026-02-09 23:58:34 -08:00
server-tailscale.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
server-utils.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
server-utils.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-wizard-sessions.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
server-ws-runtime.ts feat(gateway): add auth rate-limiting & brute-force protection (#15035) 2026-02-13 15:32:38 +01:00
server.agent.gateway-server-agent-a.e2e.test.ts refactor(test): share gateway server plugin mocks 2026-02-14 23:51:41 +00:00
server.agent.gateway-server-agent-b.e2e.test.ts refactor(test): share gateway server plugin mocks 2026-02-14 23:51:41 +00:00
server.agent.gateway-server-agent.mocks.ts fix(test): complete gateway plugin registry mock 2026-02-14 23:51:41 +00:00
server.auth.e2e.test.ts refactor(test): dedupe gateway auth e2e lockout setup 2026-02-14 23:51:42 +00:00
server.canvas-auth.e2e.test.ts perf: reduce test/runtime overhead in plugin runtime and e2e harness 2026-02-13 18:24:19 +00:00
server.channels.e2e.test.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
server.chat.gateway-server-chat-b.e2e.test.ts perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
server.chat.gateway-server-chat.e2e.test.ts perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
server.config-apply.e2e.test.ts perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
server.config-patch.e2e.test.ts perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
server.cron.e2e.test.ts fix: cron scheduler reliability, store hardening, and UX improvements (#10776) 2026-02-06 18:03:03 -08:00
server.health.e2e.test.ts perf(test): trim duplicate e2e suites and harden signal hooks 2026-02-13 16:46:43 +00:00
server.hooks.e2e.test.ts fix: harden hook session key routing defaults 2026-02-13 02:09:14 +01:00
server.impl.ts fix(cli): run plugin gateway_stop hooks before message exit (#16580) 2026-02-14 17:33:08 -05:00
server.ios-client-id.e2e.test.ts perf(test): stabilize e2e harness and reduce flaky gateway coverage 2026-02-13 17:32:14 +00:00
server.models-voicewake-misc.e2e.test.ts test(e2e): stabilize suite 2026-02-14 22:01:11 +01:00
server.node-invoke-approval-bypass.e2e.test.ts fix(gateway): block node.invoke exec approvals 2026-02-14 19:22:37 +01:00
server.nodes.late-invoke.test.ts chore: fix lint after invoke result handler split 2026-02-14 20:11:57 +00:00
server.plugin-http-auth.test.ts fix: Unauthenticated Nostr profile API allows remote config tampering (#13719) 2026-02-12 07:55:22 -06:00
server.reload.e2e.test.ts test(e2e): stabilize suite 2026-02-14 22:01:11 +01:00
server.roles-allowlist-update.e2e.test.ts test(e2e): stabilize suite 2026-02-14 22:01:11 +01:00
server.sessions-send.e2e.test.ts fix: preserve inter-session input provenance (thanks @anbecker) 2026-02-13 02:02:01 +01:00
server.sessions.gateway-server-sessions-a.e2e.test.ts fix(gateway): abort active runs during sessions.reset (#16576) 2026-02-14 17:42:33 -05:00
server.skills-status.e2e.test.ts fix: redact config values in skills status 2026-02-14 17:35:16 +01:00
server.talk-config.e2e.test.ts fix: allow device-paired clients to retrieve TTS API keys (#14613) 2026-02-13 17:07:49 +01:00
server.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
session-utils.fs.test.ts fix(sessions): resolve transcript paths with explicit agent context (#16288) 2026-02-14 13:44:51 -05:00
session-utils.fs.ts fix(sessions): resolve transcript paths with explicit agent context (#16288) 2026-02-14 13:44:51 -05:00
session-utils.test.ts fix(sessions): resolve transcript paths with explicit agent context (#16288) 2026-02-14 13:44:51 -05:00
session-utils.ts perf(gateway): optimize sessions/ws/routing 2026-02-14 12:21:44 +00:00
session-utils.types.ts fix: /status shows incorrect context percentage — totalTokens clamped to contextTokens (#15114) (#15133) 2026-02-12 23:52:19 -05:00
sessions-patch.test.ts test: lock /think off persistence (#9564) 2026-02-09 16:08:15 -08:00
sessions-patch.ts Fix: Honor `/think off` for reasoning-capable models 2026-02-09 16:08:15 -08:00
sessions-resolve.ts fix(gateway): normalize session key casing to prevent ghost sessions (#12846) 2026-02-13 20:42:24 +01:00
test-helpers.e2e.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
test-helpers.mocks.ts security: redact credentials from config.get gateway responses (#9858) 2026-02-05 16:34:48 -08:00
test-helpers.openai-mock.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
test-helpers.server.ts perf(test): minimize gateway startup in vitest 2026-02-14 05:25:40 +00:00
test-helpers.ts refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00
tools-invoke-http.test.ts perf(test): mock config stack in tools invoke http tests 2026-02-14 18:46:24 +00:00
tools-invoke-http.ts refactor(tools): centralize default policy steps 2026-02-14 15:39:45 +00:00
ws-log.test.ts fix: add agent context to ws logs 2026-01-17 20:37:36 +00:00
ws-log.ts perf(gateway): optimize sessions/ws/routing 2026-02-14 12:21:44 +00:00
ws-logging.ts Gateway: optimize ws logs in normal mode 2025-12-18 13:27:52 +00:00