Commit Graph

40327 Commits

Author SHA1 Message Date
Peter Steinberger
c6b2ec28c8 refactor: mechanical dedup batch (protocol types, update-cli bridge, talk fallback) (#114432)
* refactor(onboarding): remove search setup barrel

* refactor(plugins): reuse detected package manifest

* test(update): replace global helper bridges

* refactor(talk): remove dead legacy response fallback

* refactor(protocol): derive root types from schema

The maintainer approved broadening the additive schema-backed type surface without a protocol version bump.

* fix(plugins): drop stale package path import

* test(protocol): type dynamic registry lookups

* docs(talk): explain canonical response boundary

* refactor(talk): enforce canonical response input

* fix(protocol): keep root type exports registry-free

* refactor(update): expose helpers through test facades

* fix(protocol): keep result types on leaf schema modules
2026-07-27 06:55:07 -04:00
Peter Steinberger
dd472deab4 fix(plugins): preserve settings for compatibility IDs (#114521)
Honor canonical plugin identity across allowlists, denylists, and plugin mutations. Preserve and deterministically deep-merge alias configuration, and explicitly persist canonical entries in CLI enable and disable commands.

Closes #114320

Co-authored-by: kevin2966n <147227108+kevin2966n@users.noreply.github.com>
2026-07-27 06:54:14 -04:00
Peter Steinberger
521f45592e fix(agents): harden exec auto-review shell approval (#114519) 2026-07-27 06:50:18 -04:00
Peter Steinberger
91b1f9676f fix(media): reject malformed provider binary payloads (#114514) 2026-07-27 06:39:47 -04:00
Peter Steinberger
c8ebf57731 feat(agents): advertise searchable tool capabilities (#114508) 2026-07-27 06:33:21 -04:00
Peter Steinberger
457a83a946 fix(cron): exclude queued lane waits from agent setup timeouts (#114512)
Co-authored-by: hugin-bot <291969853+hugin-bot@users.noreply.github.com>
2026-07-27 06:32:50 -04:00
LZY3538
93d44f9c80 fix(gateway): run health check after startup grace (#114275) 2026-07-27 06:30:09 -04:00
Peter Steinberger
c1dab6a5e0 test: speed up measured CI hotspots (#114367)
* test: remove redundant followup goal integration

* test: cover CLI help table in process

* test: inject usage cost settle timing

* test: reuse rendered plugin SDK baseline

* test: reuse bundled provider registrations

* test: isolate startup quarantine mapping

* test: inject session patch auth metadata

* test: avoid CLI help catch shadowing

* test(cli): keep gateway dependencies internal

* test(auto-reply): stabilize cold followup setup
2026-07-27 06:25:56 -04:00
Peter Steinberger
50dee059a2 refactor(delivery): prevent duplicate and lost scheduled deliveries (#114479)
* refactor(delivery): make cron delivery durable and recoverable

* fix(delivery): preserve immutable staged media during stable reuse

* fix(delivery): fence platform attempt settlement and ambiguous batches

* fix(delivery): preserve legacy queues and fence bounded terminal states

* fix(delivery): retain ambiguous partial abort and rejection evidence

* fix(delivery): never impersonate active bounded delivery owners

* fix(delivery): narrow optional durable queue custody

* fix(delivery): enforce admission and stable-owner recovery fences

* fix(delivery): fence explicitly reusable permanent producer intents

* refactor(delivery): split durable queue owners and remove cycle

* fix(delivery): fence permanent recovery and in-flight producer leases

* fix(delivery): limit active recovery leases to explicit producers
2026-07-27 06:22:16 -04:00
Peter Steinberger
5aac6d488f fix: prevent Anthropic live Gateway verification timeouts (#114495)
* fix: restore Anthropic live Gateway transcript verification

* fix: stabilize SQLite transcript reader cleanup
2026-07-27 06:20:45 -04:00
Peter Steinberger
9f5ba09a0d fix(sessions): prevent lifecycle races and unsafe session management (#114477)
* fix(sessions): harden lifecycle, ownership, and subagent spawning

* test(agents): refresh session tool prompt snapshots

* fix(sessions): await rebuilding transcript projections

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-27 06:17:51 -04:00
Peter Steinberger
da9ed01c08 fix(cron): preserve future one-shots during manual runs (#114491)
Co-authored-by: Jerry-Xin <3401616+Jerry-Xin@users.noreply.github.com>
2026-07-27 06:10:56 -04:00
Peter Steinberger
b7cc6811b7 fix: fall back on raw provider request errors (#114457)
* fix(agents): classify raw provider request errors

Co-authored-by: Christopher Bradford <7553311+sunkencity999@users.noreply.github.com>

* chore: leave release notes to release workflow

* test(agents): lock error classification precedence

* fix(agents): preserve structured error diagnostics

* fix(gateway): retry sends during transcript rebuilds

* fix(gateway): preserve steer sequencing across rebuilds

* style(tui): satisfy retry guard lint

---------

Co-authored-by: Christopher Bradford <7553311+sunkencity999@users.noreply.github.com>
2026-07-27 06:02:15 -04:00
Peter Steinberger
d16c2dedd2 fix(cli): prevent blocked plugin enable side effects (#114490) 2026-07-27 05:58:33 -04:00
Peter Steinberger
d92a8f5812 perf(gateway): yield between transcript delta pages during cold touched-files folds (#114478) 2026-07-27 05:54:11 -04:00
Peter Steinberger
2bd4858252 refactor(gateway): make reload restart transactional (#114368) 2026-07-27 05:46:00 -04:00
Vadim Belman
ba499528d4 fix(gateway): preserve indentation when recombining non-streaming replies (#56145)
* fix(gateway): preserve indentation across non-streaming replies

* fix(gateway): preserve non-streaming reply indentation

Adapt the original fix from @vrurg in #56145 to the current Gateway-owned reply assembler. Preserve authored fenced-code indentation in authenticated chat events, persisted history, transcript projections, and /btw side-result events without changing streaming or protocol behavior.

Co-authored-by: Smartie Sysadmin <smartie-sysadmin@crayfish.lflat.org>

---------

Co-authored-by: Smartie Sysadmin <smartie-sysadmin@crayfish.lflat.org>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-27 05:45:19 -04:00
Peter Steinberger
269bc5c89e fix(cli): preserve machine-readable stdout (#113654)
Co-authored-by: 1052326311 <65798732+1052326311@users.noreply.github.com>
2026-07-27 05:44:16 -04:00
Peter Steinberger
fd6e042d87 fix(gateway): keep configured local auth authoritative (#114462)
* fix(gateway): align configured local credentials

* test(gateway): align local credential coverage

* chore(gateway): leave release note to release process
2026-07-27 05:43:31 -04:00
Peter Steinberger
2a78e19984 test(gateway): keep observer suite within lint cap 2026-07-27 05:43:19 -04:00
Peter Steinberger
252dae77dd test(gateway): prove terminal owner recovery 2026-07-27 05:43:19 -04:00
Peter Steinberger
64bf485ba2 fix(sessions): scope observer state by agent 2026-07-27 05:43:19 -04:00
Peter Steinberger
57f239fb5d test(gateway): split observer bookkeeping coverage 2026-07-27 05:43:19 -04:00
Peter Steinberger
51f228f6fe fix(ui): preserve agent-owned session navigation
Add agent ownership to observer digests, scope global observer delivery and reconciliation, and centralize application session selection across navigation and reconnects.

Co-authored-by: xbrxr03 <abrarhabib03@gmail.com>
2026-07-27 05:43:19 -04:00
Peter Steinberger
95bac0129d fix(gateway): stop listing IDENTITY.md as a core file editor tab (#114470) 2026-07-27 05:34:44 -04:00
Peter Steinberger
84a4ff30d5 refactor(gateway): centralize parameter validation and shared helpers (#114353)
* refactor(gateway): centralize parameter validation

* refactor(outbound): centralize runtime scaffolding stripping

* refactor(usage): remove session cost forwarding layers

* refactor(gateway): share attachment failure logging

* refactor(gateway): centralize startup tracing helpers

* fix(usage): keep refresh result type internal

* fix(outbound): preserve visible whitespace around runtime context
2026-07-27 05:34:12 -04:00
WilShi
dafecc756a fix(cli): surface deviceId in devices list table (#114370)
* fix(cli): surface deviceId in devices list table

* docs(changelog): add devices list deviceId fix (#114279)

* fix(cli): keep paired device IDs copyable

Co-authored-by: WilShi <1638083992@qq.com>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-27 05:24:34 -04:00
Pavan Kumar Gondhi
db97a748f2 fix: block additional exec wrapper carriers (#114132) 2026-07-27 14:52:48 +05:30
Peter Steinberger
c7842b2713 test(plugins): refresh process-stable metadata explicitly (#114469) 2026-07-27 05:20:04 -04:00
Peter Steinberger
04376ccd43 docs(agents): make sessions tool archive/pin capabilities discoverable (#114463) 2026-07-27 05:15:20 -04:00
Peter Steinberger
4b9c922458 fix(agents): harden compact tool search and execution (#114461) 2026-07-27 05:13:41 -04:00
ooiuuii
f9be52b5f9 fix(cron): clear future orphan run markers (#111743)
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-27 05:09:00 -04:00
Peter Steinberger
b6c3ff1aa1 fix(providers): make Ollama and LM Studio onboarding reliable (#114405)
* fix(ollama): persist local auth only after model selection

* fix(ollama): preserve native max thinking effort

* fix(lmstudio): preserve model tool capabilities

* fix(lmstudio): preserve configured model compatibility

* test(ollama): prove isolated onboarding and persisted gateway turns

* fix(ollama): fail closed on unresolved secret references

* fix(ollama): keep local onboarding model catalogs installed-only

* fix(onboard): preflight local models before reset

* fix(lmstudio): normalize unsupported tool schema patterns

* Revert "test(ollama): prove isolated onboarding and persisted gateway turns"

This reverts commit 1d333d4c67.

* Revert "fix(ollama): preserve native max thinking effort"

This reverts commit 5d2600b098.

* fix(lmstudio): preserve typed model compatibility

* test(lmstudio): await provider catalog augmentation

* test(ollama): narrow optional discovery auth fixture

* test(lmstudio): narrow reset validator registration

* fix(onboard): preserve verified local model lean defaults

* test(ollama): split non-interactive onboarding auth regressions

* fix(onboard): exclude hosted Ollama models from lean defaults

* test(onboard): prove local reset preflight order
2026-07-27 05:07:29 -04:00
Peter Steinberger
ed2c01308c refactor(agents): consolidate lifecycle regression coverage (#114425) 2026-07-27 05:05:34 -04:00
Peter Steinberger
faafafb875 fix(cron): carry bounded current conversation context (#114455) 2026-07-27 05:03:34 -04:00
Peter Steinberger
78d7a8489c refactor(gateway): derive the agent core-files list from the canonical workspace set (#114436) 2026-07-27 05:02:57 -04:00
Peter Steinberger
914bd1946a fix(cli): isolate explicit profiles from inherited service state (#114446) 2026-07-27 04:59:20 -04:00
Peter Steinberger
6b48140a53 fix(cron): completed jobs stay stuck behind slower batch runs (#114441)
* fix(cron): finalize completed jobs without blocking sibling runs

Co-authored-by: Eduardo Piva <efpiva@gmail.com>

* fix(cron): keep completion drain helpers private

---------

Co-authored-by: Eduardo Piva <efpiva@gmail.com>
2026-07-27 04:58:34 -04:00
Peter Steinberger
2d5dfe4063 refactor(config): consolidate session and recovery regression tests (#114426) 2026-07-27 04:56:14 -04:00
ClawSweeper
afb1b014e2 fix(ui): show background tasks per chat session (#114433)
* fix(ui): scope background tasks to chat sessions

* refactor(ui): privatize session agent helper

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-27 01:53:03 -07:00
Peter Steinberger
bc54710daf fix: restore live Gateway model verification (#114451) 2026-07-27 04:50:52 -04:00
Peter Steinberger
ac6009eab1 fix(tui): keep shared sessions live and bound stream state (#114443)
Fix cross-client terminal history synchronization without letting stale snapshots erase in-flight responses. Bound orphaned stream assembly, preserve session and agent ownership, and cover real Gateway delivery, persistence races, reconnects, and stress bursts.

Closes #38829.

Credits prior issue investigation in #96252 and bounded-stream work in #109492.

Co-authored-by: Harjoth Khara <48686985+harjothkhara@users.noreply.github.com>
Co-authored-by: Wynne668 <290981215+ZengWen-DT@users.noreply.github.com>
2026-07-27 04:39:42 -04:00
Peter Steinberger
4029070c3d refactor(gateway): consolidate chat voice and reload test fixtures (#114420) 2026-07-27 04:38:00 -04:00
Peter Steinberger
2fa5281b14 fix(cron): bind jobs to durable session (#114421) 2026-07-27 04:34:02 -04:00
Peter Steinberger
4aa2ab2b25 perf(gateway): fold session touched-files incrementally via transcript delta (#114401)
* perf(gateway): fold session touched-files incrementally via transcript delta

* refactor(gateway): keep session touched-files fold on the canonical sqlite path

* test(gateway): split session files transcript-fold coverage

* test(gateway): drop unused session-files test-support exports
2026-07-27 04:32:57 -04:00
Peter Steinberger
9b171190f2 perf(sessions): cache branch summaries behind a transcript watermark (#114412) 2026-07-27 04:24:48 -04:00
Dallin Romney
ec391edea7 fix: clarify unstored exec approval defaults (#114417) 2026-07-27 16:07:11 +08:00
Peter Steinberger
669db2968f refactor(agents): retire TOOLS.md into an AGENTS.md section with a doctor migration (#113966)
* fix(agents): stop retired attestation hashes from faking a vanished workspace

* feat(agents): migrate TOOLS.md content into the AGENTS.md tools section

* refactor(agents): drop TOOLS.md from the workspace bootstrap set

* refactor(policy): read tool policy entries from AGENTS.md

* docs: describe local tool notes as an AGENTS.md section

* test(codex): drop TOOLS.md developer-instruction coverage with the removed path

* test(agents): cover the TOOLS.md doctor migration behaviors

* refactor(doctor): satisfy TOOLS.md migration lint

* test(agents): split workspace attestation survival coverage

* refactor(codex): simplify workspace context basenames

* refactor(doctor): keep TOOLS.md migration helpers module-local

* docs: regenerate docs map

* fix(doctor): keep migration claims fresh

* fix(doctor): preserve nested tool notes

* refactor(doctor): split tools migration helpers

* refactor(doctor): limit TOOLS.md migration to workspace root

* style(doctor): keep migration under line limit

* fix(doctor): recover interrupted AGENTS publish

* docs(hooks): describe root-only TOOLS.md migration accurately

* fix(doctor): preserve migrated tool guidance visibility

* test(agents): regenerate prompt snapshots after rebase

* fix(policy): block evaluation while TOOLS.md is unmigrated

* fix(doctor): check merged bootstrap budget per agent

* fix(doctor): keep budget helper internal

* refactor(doctor): keep migration budget helpers to their consumers
2026-07-27 03:56:30 -04:00
Peter Steinberger
3b519cecb8 refactor(plugins): consolidate security and install test fixtures (#114410) 2026-07-27 03:52:37 -04:00
Peter Steinberger
08b1ff73e2 refactor(channels): fix account resolution and setup isolation (#114395)
* refactor(channels): fix account resolution and setup isolation

* fix(channels): keep account resolvers safely destructurable
2026-07-27 03:49:37 -04:00