Alex Knight
cd24da031b
feat(plugin-sdk): expose sessionTarget and agentId on cron_changed hook events ( #77641 )
2026-05-05 18:48:06 +10:00
Eva
cb38535875
[plugin sdk] Project session extension slots ( #75609 )
...
Merged via squash.
Prepared head SHA: d9b670a867
Co-authored-by: 100yenadmin <239388517+100yenadmin@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-05-04 08:04:27 -07:00
Eva
8afc9ef73c
[plugin sdk] Harden finalize retry and run context cleanup ( #75600 )
...
Merged via squash.
Prepared head SHA: ec58a6212b
Co-authored-by: 100yenadmin <239388517+100yenadmin@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-05-04 07:04:22 -07:00
Paul Frederiksen
f30dc0aeb4
fix(cron): persist manual run ids in history ( #76288 )
...
Summary:
- The PR carries manual `cron.run` acknowledgement IDs into finished cron events and `cron.runs` history, upda ... surfaces, adds regression coverage, refreshes the SDK baseline hash, and records the fix in the changelog.
- Reproducibility: yes. Current main can be reproduced by source inspection: `cron.run` returns a `manual:...` ... r path omits it; the PR adds targeted assertions for the missing correlation and the task-ledger invariant.
ClawSweeper fixups:
- Included follow-up commit: chore(protocol): update generated cron models
- Included follow-up commit: chore(cron): document manual run id protocol surface
- Included follow-up commit: Preserve cron task ledger run IDs
Validation:
- ClawSweeper review passed for head 04ce879858 .
- Required merge gates passed before the squash merge.
Prepared head SHA: 04ce879858
Review: https://github.com/openclaw/openclaw/pull/76288#issuecomment-4364868383
Co-authored-by: Paul Frederiksen <paul@paulfrederiksen.com >
2026-05-03 00:06:32 +00:00
Peter Steinberger
7ddf28c0d4
feat: support git plugin installs
2026-05-01 10:59:10 +01:00
Vincent Koc
1b25dcf57a
docs(types): mark legacy hook surfaces deprecated
2026-04-28 23:31:32 -07:00
Harry Xie
891c7d9f1c
fix(active-memory): align recall timeout with hook runner
...
Fixes #72606 .
2026-04-28 10:15:01 -05:00
Alex Knight
f155a5f955
Add cron changed plugin hook ( #72773 )
...
* feat: add cron changed plugin hook
* fix: improve cron_changed hook correctness and code quality
- Fix PluginHookGatewayCronDeliveryStatus: replace 'error' with 'unknown'
to match internal CronDeliveryStatus enum
- Add job snapshot to CronEvent so removed events carry the deleted job
- Extract pickDefined helper, replace 14-field verbose spread mapping
- Add toPluginCronJob mapper for explicit internal→public type boundary
- Fix schedule union: use literal-only kind discriminants for TS narrowing
- Use loadConfig() (runtime) instead of params.cfg (startup) in hook ctx
- Use formatErrorMessage instead of String(err) for stack preservation
- Fix pre-existing getCron TS2322 with explicit cast (matches gateway_start)
- Re-export supporting types from hooks.ts for plugin consumers
- Add tests: removed events with job, finished with full fields, runtime cfg
2026-04-28 21:34:42 +10:00
Peter Steinberger
249cb54373
fix: keep acp typing for tool-only replies
2026-04-28 09:58:18 +01:00
scoootscooob
3c636208b0
fix(messages): keep group replies tool-only by default
...
Rewrites the always-on reply handling so group/channel rooms default to message-tool-visible output, while `messages.groupChat.visibleReplies: \"automatic\"` preserves legacy auto-posting.\n\nThanks @scoootscooob.
2026-04-28 07:36:43 +01:00
EVA
1adaa28dc8
[plugin sdk] Add generic plugin host-hook contracts ( #72287 )
...
Merged via squash.
Prepared head SHA: 68e5f2ce19
Co-authored-by: 100yenadmin <239388517+100yenadmin@users.noreply.github.com >
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com >
Reviewed-by: @jalehman
2026-04-27 17:07:02 -07:00
Peter Steinberger
a95da5b52d
fix(models): enrich local transport failure diagnostics
2026-04-27 09:25:38 +01:00
Vincent Koc
c6e9849351
feat(diagnostics): capture model call size timing
2026-04-26 13:43:22 -07:00
Scott Glover
371b69b3e2
Expose cron jobId in plugin hook context
2026-04-26 02:06:48 +01:00
Vincent Koc
f3accc753c
feat(plugins): add before agent finalize hook ( #71765 )
2026-04-25 17:21:17 -07:00
Vincent Koc
275c128e99
feat(plugins): add sanitized model call hooks
2026-04-25 10:56:40 -07:00
Vincent Koc
3bd2ee78b6
feat(plugins): expose hook correlation fields
...
Expose first-class hook correlation fields for plugin message and run lifecycle hooks, including frozen diagnostic trace copies for plugin-facing events.
2026-04-24 11:37:34 -07:00
EVA
860dad268d
[codex] Add contract-first Pi/Codex runtime plan suite ( #71096 )
...
* test: add pi codex runtime contract coverage
* test: expand pi codex tool runtime contracts
* test: tighten tool runtime contracts
* test: reset tool contract param cache
* test: document codex tool middleware fixture
* test: type pi tool contract events
* test: satisfy pi tool contract test types
* test: cover tool media telemetry contracts
* test: reset plugin runtime after tool contracts
* test: add auth profile runtime contracts
* test: strengthen auth profile runtime contracts
* test: clarify auth profile contract fixtures
* test: expand auth profile contract matrix
* test: assert unrelated cli auth isolation
* test: expand auth profile contract matrix
* test: tighten auth profile contract expectations
* test: add outcome fallback runtime contracts
* test: strengthen outcome fallback contracts
* test: isolate outcome fallback contracts
* test: cover codex terminal outcome signals
* test: expand terminal fallback contracts
* test: add delivery no reply runtime contracts
* test: document json no-reply delivery gap
* test: align delivery contract fixtures
* test: add transcript repair runtime contracts
* test: tighten transcript repair contracts
* test: add prompt overlay runtime contracts
* test: tighten prompt overlay contract scope
* test: type prompt overlay contracts
* test: add schema normalization runtime contracts
* test: clarify schema normalization contract gaps
* test: simplify schema normalization contracts
* test: tighten schema normalization contract gaps
* test: cover compaction schema contract
* test: satisfy schema contract lint
* test: add transport params runtime contracts
* test: tighten transport params contract scope
* test: isolate transport params contracts
* test: lock exact transport defaults
* feat: add agent runtime plan foundation
* fix: preserve codex harness auth profiles
* fix: route followup delivery through runtime plan
* fix: normalize parameter-free openai tool schemas
* fix: satisfy runtime plan type checks
* fix: narrow followup delivery runtime planning
* fix: apply codex app-server auth profiles
* fix: classify codex terminal outcomes
* fix: prevent harness auth leakage into unrelated cli providers
* feat: expand agent runtime plan policy contract
* fix: route pi runtime policy through runtime plan
* fix: route codex runtime policy through runtime plan
* fix: route fallback outcome classification through runtime plan
* refactor: make runtime plan contracts topology-safe
* fix: restore runtime plan test type coverage
* fix: align runtime plan schema contract assertions
* fix: stabilize incomplete turn runtime tests
* fix: stabilize codex native web search test
* fix: preserve codex auth profile secret refs
* fix: keep runtime resolved refs canonical
* fix: preserve permissive nested openai schemas
* fix: accept Codex auth provider aliases
* test: update media-only groups mock
* fix: resolve runtime plan rebase checks
* fix: resolve runtime plan rebase checks
---------
Co-authored-by: Eva <eva@100yen.org >
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-04-24 18:34:01 +01:00
EVA
c138368040
feat: add Codex harness extension seams
...
Co-authored-by: Eva <100yenadmin@users.noreply.github.com >
2026-04-24 09:32:27 +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
5d0887574b
feat(plugin-sdk): add conversation binding hooks
2026-04-24 04:24:07 +01:00
Vincent Koc
51f9f94cc3
fix(hooks): harden cli transcript loading ( #70786 )
2026-04-23 14:25:27 -07:00
Peter Steinberger
3e2bc28e51
fix: forward chat images to acp dispatch
2026-04-23 19:06:19 +01:00
Vincent Koc
6d003cbcee
fix(hooks): expose typed gateway startup context
2026-04-22 11:22:51 -07:00
竹田賢史
1d5b58ac18
feat(plugins): pass attachment metadata to before_model_resolve hook ( #67322 )
...
Merged via squash.
Prepared head SHA: 8af0ba9703
Co-authored-by: estack-takeda-yorichika <47170408+estack-takeda-yorichika@users.noreply.github.com >
Co-authored-by: sallyom <11166065+sallyom@users.noreply.github.com >
Reviewed-by: @sallyom
2026-04-20 00:14:50 -04:00
EE
1ce2596195
matrix: fix sessions_spawn --thread subagent session spawning ( #67643 )
...
Merged via squash.
Prepared head SHA: 1e5127e217
Co-authored-by: eejohnso-ops <238848106+eejohnso-ops@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-17 02:17:56 -04:00
Vincent Koc
a88fbf0f64
fix(cycles): split reply payload and option contracts
2026-04-11 22:24:55 +01:00
Vincent Koc
7f5a5a34db
fix(plugins): split hook contract types
2026-04-11 18:06:18 +01:00