Commit Graph

34594 Commits

Author SHA1 Message Date
Peter Steinberger
38caa6832d test: stagger docker aggregate starts 2026-04-24 08:38:41 +01:00
Peter Steinberger
665cc3d537 fix: guard openai tts fetch 2026-04-24 08:37:41 +01:00
Vincent Koc
c1b9aa7d96 fix(plugins): pin official external channel source (#70997) 2026-04-24 00:35:03 -07:00
Peter Steinberger
a437666a37 fix(browser): reject existing-session type timeouts 2026-04-24 08:29:25 +01:00
Peter Steinberger
aa21d4ea7e fix(browser): clarify existing-session timeout limits 2026-04-24 08:27:12 +01:00
Vincent Koc
1e8dc2389e feat(plugins): record local onboarding installs
Record onboarding plugin install source metadata for npm and local paths, while keeping local path install records portable and preserving uninstall cleanup for relative source paths.
2026-04-24 00:27:09 -07:00
Peter Steinberger
69196670b7 refactor: dedupe shared helpers 2026-04-24 08:26:37 +01:00
Peter Steinberger
661f11b947 test: align codex auth hint expectation 2026-04-24 08:25:07 +01:00
Vincent Koc
bcdacfa1b3 feat(diagnostics): carry trace context through hooks
Pass immutable diagnostic trace contexts through agent and tool hook surfaces, emit model usage with the run trace, and parent OTEL spans/logs from validated trace context without retained global state.\n\nThanks @vincentkoc.
2026-04-24 00:24:32 -07:00
Peter Steinberger
33c0cd1378 fix: improve codex model discovery 2026-04-24 08:17:01 +01:00
pashpashpash
81666e586a fix codex dynamic tool hooks (#70965) 2026-04-24 16:14:06 +09:00
Peter Steinberger
4e4aeacae4 perf: slim hot test imports 2026-04-24 08:13:51 +01:00
Peter Steinberger
50e36983bb fix: harden codex verbose tool progress (#70966) (thanks @jalehman) 2026-04-24 08:10:04 +01:00
Ayaan Zaidi
f353a61bab ci(release): use blacksmith docker cache for npm telegram 2026-04-24 12:36:50 +05:30
Ayaan Zaidi
e30837910b ci(release): set up buildx for npm telegram image 2026-04-24 12:33:42 +05:30
Ayaan Zaidi
512d3d2287 ci(release): prebuild npm telegram docker image 2026-04-24 12:29:54 +05:30
Peter Steinberger
28fc03c386 perf: slim reset model selection imports 2026-04-24 07:56:32 +01:00
Peter Steinberger
9f8b400630 perf: slim directive parse test imports 2026-04-24 07:50:46 +01:00
Ayaan Zaidi
a02a54ff13 ci(release): clarify npm telegram approval label 2026-04-24 12:20:14 +05:30
Peter Steinberger
5b3952e857 test: relax live tail readiness checks 2026-04-24 07:48:36 +01:00
Ayaan Zaidi
8ba22ca0dc ci(release): use release approval for npm telegram e2e 2026-04-24 12:15:09 +05:30
pashpashpash
41c5ffc5d5 Project Codex hook notifications into agent events (#70969)
* project codex hook notifications

* keep codex hook duration strict

* include thread scoped codex hook notifications
2026-04-24 15:43:03 +09:00
Josh Lehman
925d11d890 fix: match codex verbose tool logs to pi (#70966) 2026-04-23 23:42:09 -07:00
Vincent Koc
8fade9df27 feat(diagnostics): attach trace context to otel logs (#70961)
* feat(diagnostics): attach trace context to otel logs

* fix(diagnostics): satisfy trace flags lint
2026-04-23 23:40:42 -07:00
Vincent Koc
48b9452c07 docs(faq): tighten FAQ stub pointers and Related cards 2026-04-23 23:37:56 -07:00
Vincent Koc
bc195b8f53 docs(help): rewrite help index to match new tab structure, drop redundant troubleshooting H1 2026-04-23 23:36:49 -07:00
Ayaan Zaidi
972c7112a2 refactor(release): distill npm telegram docker runner 2026-04-24 12:06:33 +05:30
Ayaan Zaidi
02d7215005 ci(release): gate npm telegram e2e by release team 2026-04-24 12:06:33 +05:30
Ayaan Zaidi
ed6b487e20 ci(release): harden npm telegram beta e2e 2026-04-24 12:06:33 +05:30
Ayaan Zaidi
5dd3c37fce test(release): address npm telegram e2e review 2026-04-24 12:06:33 +05:30
Ayaan Zaidi
3d8e6a3aa3 test(release): avoid docker argv secret values 2026-04-24 12:06:33 +05:30
Ayaan Zaidi
0baa8c1763 ci(release): add manual npm telegram beta e2e 2026-04-24 12:06:33 +05:30
Ayaan Zaidi
bd1b8448a5 test(release): support convex npm telegram credentials 2026-04-24 12:06:33 +05:30
Peter Steinberger
b7fba2100f docs: clarify private ws node setup 2026-04-24 07:32:29 +01:00
Peter Steinberger
f85806b6d7 fix: filter gateway node list locally 2026-04-24 07:32:28 +01:00
Vincent Koc
cb4fc58547 feat(plugins): move Bonjour discovery into bundled plugin
* fix(deps): detect constant dynamic imports in ownership audit

* feat(plugins): move bonjour discovery into bundled plugin

* test(plugins): remove moved bonjour core tests

* fix(plugins): harden bonjour disable and console restore

* fix(plugins): split gateway discovery ids from services

* fix(plugins): harden bonjour advertiser shutdown

* fix(plugins): clean up bonjour split lint
2026-04-23 23:29:51 -07:00
Peter Steinberger
564f820efa perf: reuse subagent spawn test module 2026-04-24 07:26:15 +01:00
Peter Steinberger
fa139b4fca fix(voice-call): handle Telnyx callback payloads 2026-04-24 07:25:44 +01:00
Peter Steinberger
ad0fcf9143 perf: tighten auto-reply command tests 2026-04-24 07:22:08 +01:00
Vincent Koc
37c37eecfb feat(plugins): expose install source facts
* feat(plugins): expose install source facts

* fix(plugins): normalize install integrity facts

* fix(plugins): guard install source string fields

* fix(plugins): keep install source facts additive
2026-04-23 23:21:43 -07:00
Peter Steinberger
b588b5a230 fix(channels): accept setup aliases for add 2026-04-24 07:20:45 +01:00
Patrick Erichsen
d29eaeafc1 fix(cli-runner): fire before_agent_reply on cron-triggered turns (#70950)
* test(cli-runner): RED — assert before_agent_reply fires on cron triggers

Mirrors src/agents/pi-embedded-runner/run.before-agent-reply-cron.test.ts
for the CLI runner. Asserts:

1. When trigger=cron and a before_agent_reply hook claims the turn
   (handled: true), runCliAgent must NOT invoke the codex subprocess and
   must return the hook's reply text in payloads[0].
2. When the hook claims without a reply body, the synthesized payload
   uses SILENT_REPLY_TOKEN.
3. Non-cron triggers do not invoke the hook (no behavior change for
   normal user/heartbeat traffic).
4. Without a registered hook, falls through to the CLI subprocess.

Currently fails (RED): tests 1 and 2 fail because runCliAgent never
fires before_agent_reply — the hook gate exists only in the embedded PI
runner (src/agents/pi-embedded-runner/run.ts:326). This is the
CLI-backed-agent dreaming gap reported in #70940 and identified in
PR #70737 review.

Next commit: implement the hook gate in runPreparedCliAgent (GREEN).

* fix(cli-runner): GREEN — fire before_agent_reply for cron-triggered turns

Mirrors the embedded PI runner gate from
src/agents/pi-embedded-runner/run.ts:326 so plugin-managed cron jobs
(notably memory-core dreaming) can short-circuit a CLI-backed agent
turn before the codex/claude/gemini subprocess is spawned.

Without this, configuring a default agent's model to a CLI backend
(codex-cli, claude-cli, gemini-cli, or any third-party
`registerCliBackend` provider) silently broke dreaming: the cron
sentinel was sent to the underlying LLM as a literal user prompt and
the dreaming hook never executed. See openclaw/openclaw#70940 for the
empirical repro (codex-cli observed sending the dream-token to GPT-5.5
with no `memory-core: dreaming promotion complete` line).

Also extracts `buildHandledReplyPayloads` locally; eventually that
should be unified with the embedded PI runner's helper, but that's a
mechanical refactor for a follow-up.

Closes #70940 once both this PR and #70737 land — this fix is only
useful if cron-driven dreaming exists, which is what #70737 introduces.

TDD trail:
- prior commit: RED test asserting the hook gate (4 cases)
- this commit: implementation that turns those tests green (4/4 pass).

Verified: pnpm test src/agents/cli-runner.before-agent-reply-cron.test.ts
4/4 passed; pnpm test src/agents/cli-runner 21/21 passed; lint clean
on touched files; pre-existing tsgo failure in
src/plugin-sdk/provider-tools.ts is unrelated to these changes.
2026-04-23 23:16:26 -07:00
Peter Steinberger
7d9172d5e0 perf: speed up slow extension tests 2026-04-24 07:13:46 +01:00
Peter Steinberger
bcea5e75eb test: harden Docker E2E readiness 2026-04-24 07:10:56 +01:00
Peter Steinberger
7ac35b4f69 perf: merge cron direct delivery tests 2026-04-24 06:54:36 +01:00
Vincent Koc
350d322180 fix(diagnostics): harden trace context parsing (#70955) 2026-04-23 22:47:54 -07:00
Peter Steinberger
bae7b54a85 fix(agents): detect codex cli auth in status
Fixes #70688.
Co-authored-by: Jon Brown <801241+jb510@users.noreply.github.com>
2026-04-24 06:47:28 +01:00
Peter Steinberger
a53fea3905 test: skip ACP marker probes without transcript 2026-04-24 06:42:28 +01:00
Peter Steinberger
c3138e372c chore: remove dead registry aliases 2026-04-24 06:41:49 +01:00
Peter Steinberger
bff212822c fix: restore models list registry fallback 2026-04-24 06:40:38 +01:00