openclaw/src/infra
Peter Steinberger b73a2de9f6 refactor(infra): reuse shared home prefix expansion 2026-02-18 17:48:02 +00:00
..
format-time Centralize date/time formatting utilities (#11831) 2026-02-08 04:53:31 -08:00
net refactor(net): table-drive embedded IPv6 decoding and SSRF tests 2026-02-18 04:57:08 +01:00
outbound refactor(test): share internal hook and npm pack assertions 2026-02-18 17:01:22 +00:00
tls perf(test): fold tls fingerprint normalization into ssrf suite 2026-02-16 02:44:59 +00:00
abort-pattern.test.ts perf(test): fake abort timer and dedupe slack thread cases 2026-02-18 16:14:07 +00:00
agent-events.test.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
agent-events.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
archive-path.test.ts refactor(archive): share archive path safety helpers 2026-02-18 16:48:35 +00:00
archive-path.ts refactor(archive): share archive path safety helpers 2026-02-18 16:48:35 +00:00
archive.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
archive.ts refactor(archive): share archive path safety helpers 2026-02-18 16:48:35 +00:00
backoff.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
binaries.ts
bonjour-ciao.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
bonjour-discovery.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
bonjour-discovery.ts refactor(infra): share isTailnetIPv4 helper 2026-02-15 21:47:51 +00:00
bonjour-errors.ts
bonjour.test.ts perf(test): remove fixed sleeps in async test flows 2026-02-18 17:20:35 +00:00
bonjour.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
brew.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
brew.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
canvas-host-url.ts fix(canvas): port remaining iOS branch stability fixes (#18228) 2026-02-16 16:42:28 +00:00
channel-activity.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
channel-summary.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
channels-status-issues.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
clipboard.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
control-ui-assets.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
control-ui-assets.ts feat(plugins): expose llm input/output hook payloads (openclaw#16724) thanks @SecondThread 2026-02-15 16:01:00 -06:00
dedupe.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
detect-package-manager.ts refactor(update): dedupe package manager detection 2026-02-15 04:34:39 +00:00
device-auth-store.ts refactor(device-auth): share store types + normalization 2026-02-15 04:22:44 +00:00
device-identity.state-dir.test.ts perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
device-identity.ts perf(test): reduce module reload overhead in key suites 2026-02-13 15:45:19 +00:00
device-pairing.test.ts Gateway/CLI: add paired-device remove and clear flows (#20057) 2026-02-18 13:27:31 +00:00
device-pairing.ts Gateway/CLI: add paired-device remove and clear flows (#20057) 2026-02-18 13:27:31 +00:00
diagnostic-events.ts feat: add stuck loop detection and exponential backoff infrastructure for agent polling (#17118) 2026-02-16 15:16:35 -05:00
diagnostic-flags.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
dotenv.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
dotenv.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
env-file.ts refactor: consolidate duplicate utility functions (#12439) 2026-02-08 23:59:43 -08:00
env.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
env.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
errors.ts fix(security): redact Telegram bot tokens in errors 2026-02-16 03:30:53 +01:00
exec-approval-forwarder.test.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
exec-approval-forwarder.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
exec-approvals-allowlist.ts chore: fix CI errors 2026-02-17 23:46:40 -05:00
exec-approvals-analysis.ts refactor(infra): reuse shared home prefix expansion 2026-02-18 17:48:02 +00:00
exec-approvals.test.ts refactor(infra): reuse shared home prefix expansion 2026-02-18 17:48:02 +00:00
exec-approvals.ts refactor(infra): reuse shared home prefix expansion 2026-02-18 17:48:02 +00:00
exec-host.ts refactor(infra): share jsonl socket requester 2026-02-15 13:56:50 +00:00
exec-safe-bin-trust.test.ts refactor(security): extract safeBins trust resolver 2026-02-18 05:01:31 +01:00
exec-safe-bin-trust.ts refactor(security): extract safeBins trust resolver 2026-02-18 05:01:31 +01:00
exec-safety.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
fetch.test.ts perf(test): use microtask wait in fetch rejection test 2026-02-18 16:50:05 +00:00
fetch.ts refactor(infra): make fetch wrapping idempotent 2026-02-16 08:24:55 -05:00
file-lock.ts refactor: share file lock via plugin-sdk 2026-02-15 00:26:46 +00:00
fs-safe.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
gateway-lock.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
gateway-lock.ts refactor(shared): reuse isPidAlive 2026-02-15 19:06:54 +00:00
gemini-auth.ts fix: support OAuth for Gemini media understanding 2026-02-16 23:53:21 +01:00
git-commit.ts Infra: unify git root discovery 2026-02-18 00:45:43 -05:00
git-root.test.ts Infra: unify git root discovery 2026-02-18 00:45:43 -05:00
git-root.ts Infra: unify git root discovery 2026-02-18 00:45:43 -05:00
heartbeat-active-hours.test.ts fix(heartbeat): honor heartbeat.model config for heartbeat turns (#14103) 2026-02-11 14:00:40 -05:00
heartbeat-active-hours.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
heartbeat-events-filter.ts refactor(infra): split heartbeat event filters 2026-02-13 19:08:37 +00:00
heartbeat-events.ts feat(heartbeat): add accountId config option for multi-agent routing (#8702) 2026-02-04 16:49:12 -05:00
heartbeat-runner.ghost-reminder.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
heartbeat-runner.model-override.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
heartbeat-runner.respects-ackmaxchars-heartbeat-acks.test.ts refactor(test): dedupe agent harnesses and routing fixtures 2026-02-18 04:49:22 +00:00
heartbeat-runner.returns-default-unset.test.ts fix(telegram): cron and heartbeat messages land in wrong chat instead of target topic (#19367) 2026-02-18 15:31:01 +05:30
heartbeat-runner.scheduler.test.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
heartbeat-runner.sender-prefers-delivery-target.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
heartbeat-runner.test-harness.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
heartbeat-runner.test-utils.ts refactor(test): share heartbeat sandbox fixtures 2026-02-17 00:49:42 +00:00
heartbeat-runner.transcript-prune.test.ts refactor(test): dedupe channel and monitor action suites 2026-02-18 04:49:22 +00:00
heartbeat-runner.ts fix(telegram): cron and heartbeat messages land in wrong chat instead of target topic (#19367) 2026-02-18 15:31:01 +05:30
heartbeat-visibility.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
heartbeat-visibility.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
heartbeat-wake.test.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
heartbeat-wake.ts Heartbeat: queue pending wakes per target 2026-02-17 01:54:59 +01:00
home-dir.test.ts fix(paths): structurally resolve home dir to prevent Windows path bugs (#12125) 2026-02-08 20:06:29 -05:00
home-dir.ts fix(paths): structurally resolve home dir to prevent Windows path bugs (#12125) 2026-02-08 20:06:29 -05:00
http-body.test.ts perf(test): replace timeout ticks with microtask waits 2026-02-18 16:23:55 +00:00
http-body.ts fix(infra): avoid req.destroy(err) in request body limiters 2026-02-15 03:19:27 +01:00
infra-parsing.test.ts refactor(test): consolidate infra unit tests 2026-02-12 17:16:42 +00:00
infra-runtime.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
infra-store.test.ts refactor(test): consolidate infra unit tests 2026-02-12 17:16:42 +00:00
install-package-dir.ts refactor(install): share package dir install 2026-02-14 15:39:46 +00:00
install-safe-path.test.ts test(skills): split installer security coverage 2026-02-16 03:47:28 +01:00
install-safe-path.ts fix(security): restrict skill download target paths 2026-02-16 03:47:28 +01:00
install-source-utils.test.ts test: dedupe registry/session tests and add install source coverage 2026-02-18 05:05:04 +00:00
install-source-utils.ts refactor: extract shared install and embedding utilities 2026-02-18 04:49:22 +00:00
is-main.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
json-file.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
json-files.ts refactor(infra): extract json file + async lock helpers 2026-02-15 21:46:08 +00:00
jsonl-socket.ts refactor(infra): share jsonl socket requester 2026-02-15 13:56:50 +00:00
machine-name.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
map-size.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
node-pairing.test.ts fix: harden device pairing token generation and verification (#16535) 2026-02-14 16:23:33 -05:00
node-pairing.ts fix: harden device pairing token generation and verification (#16535) 2026-02-14 16:23:33 -05:00
node-shell.ts
npm-registry-spec.ts fix(security): harden plugin/hook npm installs 2026-02-14 14:07:14 +01:00
openclaw-root.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
openclaw-root.ts refactor(infra): dedupe openclaw root candidate scan 2026-02-15 21:48:46 +00:00
os-summary.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
package-json.ts refactor(update): share package.json readers 2026-02-16 00:41:28 +00:00
pairing-files.ts refactor(infra): extract json file + async lock helpers 2026-02-15 21:46:08 +00:00
pairing-token.ts fix: harden device pairing token generation and verification (#16535) 2026-02-14 16:23:33 -05:00
path-env.test.ts perf(test): speed up suites and reduce fs churn 2026-02-15 19:29:27 +00:00
path-env.ts fix: harden exec PATH handling 2026-02-14 19:53:04 +01:00
path-prepend.ts refactor: dedupe PATH prepend helpers 2026-02-15 03:53:53 +00:00
path-safety.test.ts test(skills): split installer security coverage 2026-02-16 03:47:28 +01:00
path-safety.ts fix(security): restrict skill download target paths 2026-02-16 03:47:28 +01:00
ports-format.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
ports-inspect.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
ports-lsof.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
ports-types.ts
ports.test.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
ports.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
process-respawn.test.ts refactor(test): reuse shared env snapshots 2026-02-15 23:15:07 +00:00
process-respawn.ts Agents: add nested subagent orchestration controls and reduce subagent token waste (#14447) 2026-02-14 22:03:45 -08:00
provider-usage.auth.normalizes-keys.test.ts perf(test): speed up suites and reduce fs churn 2026-02-15 19:29:27 +00:00
provider-usage.auth.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.antigravity.test.ts test: add fetch mock helper and reaction coverage 2026-02-17 09:02:39 -05:00
provider-usage.fetch.antigravity.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.claude.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.codex.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.copilot.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.gemini.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.minimax.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.fetch.shared.ts perf: use .abort.bind() instead of arrow closures to prevent memory leaks (#7174) 2026-02-13 18:13:18 +01:00
provider-usage.fetch.ts
provider-usage.fetch.zai.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.format.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.load.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.shared.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
provider-usage.test.ts chore: chore: Fix types in tests 12/N. 2026-02-17 11:22:49 +09:00
provider-usage.ts
provider-usage.types.ts feat: support xiaomi/mimo-v2-flash 2026-01-29 17:15:51 +00:00
restart-sentinel.test.ts Agents: add nested subagent orchestration controls and reduce subagent token waste (#14447) 2026-02-14 22:03:45 -08:00
restart-sentinel.ts Agents: add nested subagent orchestration controls and reduce subagent token waste (#14447) 2026-02-14 22:03:45 -08:00
restart.ts refactor: unify gateway restart deferral and dispatcher cleanup 2026-02-14 00:38:18 +01:00
retry-policy.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
retry.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
retry.ts chore: We have a sleep at home. The sleep at home: 2026-02-02 21:44:02 +09:00
run-node.test.ts refactor(scripts): make run-node main testable 2026-02-14 16:36:15 +00:00
runtime-guard.test.ts fix(runtime): bump minimum Node.js version to 22.12.0 (#5370) 2026-02-05 13:42:52 -08:00
runtime-guard.ts fix(runtime): bump minimum Node.js version to 22.12.0 (#5370) 2026-02-05 13:42:52 -08:00
runtime-status.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
scripts-modules.d.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
session-cost-usage.test.ts chore: Fix types in tests 25/N. 2026-02-17 14:31:02 +09:00
session-cost-usage.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
session-cost-usage.types.ts refactor(infra): extract session cost usage types 2026-02-13 19:08:37 +00:00
session-maintenance-warning.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
shell-env.test.ts refactor(infra): share shell env timeout normalization 2026-02-18 17:23:44 +00:00
shell-env.ts refactor(infra): share shell env timeout normalization 2026-02-18 17:23:44 +00:00
skills-remote.test.ts Skills: clean up remote node cache on disconnect 2026-02-14 18:02:14 -08:00
skills-remote.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
ssh-config.test.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
ssh-config.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
ssh-tunnel.ts refactor: centralize isPlainObject, isRecord, isErrno, isLoopbackHost utilities (#12926) 2026-02-09 17:02:55 -08:00
state-migrations.fs.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
state-migrations.state-dir.test.ts fix: support moltbot legacy state dir 2026-02-14 17:14:21 +00:00
state-migrations.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
system-events.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
system-events.ts fix (heartbeat/cron): preserve cron prompts for tagged interval events 2026-02-14 19:46:31 -08:00
system-presence.test.ts refactor: centralize presence routing and version precedence coverage (#19609) 2026-02-18 00:02:51 -05:00
system-presence.ts refactor: centralize presence routing and version precedence coverage (#19609) 2026-02-18 00:02:51 -05:00
system-presence.version.test.ts refactor: centralize presence routing and version precedence coverage (#19609) 2026-02-18 00:02:51 -05:00
system-run-command.test.ts fix(node-host): enforce system.run rawCommand/argv consistency 2026-02-14 18:53:23 +01:00
system-run-command.ts fix(node-host): enforce system.run rawCommand/argv consistency 2026-02-14 18:53:23 +01:00
tailnet.ts refactor(infra): share isTailnetIPv4 helper 2026-02-15 21:47:51 +00:00
tailscale.test.ts perf(test): optimize heavy suites and stabilize lock timing 2026-02-13 13:29:07 +00:00
tailscale.ts perf(test): optimize heavy suites and stabilize lock timing 2026-02-13 13:29:07 +00:00
tmp-openclaw-dir.test.ts chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
tmp-openclaw-dir.ts fix(security): harden archive extraction (#16203) 2026-02-14 14:42:08 +01:00
transport-ready.test.ts perf(test): speed up suites and reduce fs churn 2026-02-15 19:29:27 +00:00
transport-ready.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
unhandled-rejections.fatal-detection.test.ts chore: Fix broken test. 2026-02-17 15:54:17 +09:00
unhandled-rejections.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
unhandled-rejections.ts Update contributing, deduplicate more functions 2026-02-09 19:21:33 -08:00
update-channels.ts refactor(status): share update channel display + one-liner 2026-02-17 00:32:34 +00:00
update-check.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
update-check.ts refactor(status): share git install label formatting 2026-02-15 04:49:56 +00:00
update-global.ts Deduplicate more 2026-02-09 18:56:58 -08:00
update-runner.test.ts test(infra): dedupe update-runner fixture setup 2026-02-18 12:04:32 +00:00
update-runner.ts fix(update): prevent gateway crash loop after failed self-update 2026-02-16 23:54:49 +01:00
update-startup.test.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
update-startup.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
voicewake.ts refactor(infra): extract json file + async lock helpers 2026-02-15 21:46:08 +00:00
warning-filter.test.ts Memory/QMD: reuse default model cache and skip ENOENT warnings (#12114) 2026-02-08 23:43:08 -08:00
warning-filter.ts chore: suppress warnings for node default output path 2026-02-08 05:32:58 -05:00
watch-node.test.ts fix(gateway): remove watch-mode build/start race (#18782) 2026-02-17 11:24:08 +09:00
widearea-dns.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
widearea-dns.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
ws.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
wsl.ts Update contributing, deduplicate more functions 2026-02-09 19:21:33 -08:00