Commit Graph

7463 Commits

Author SHA1 Message Date
Peter Steinberger
4016a4f96d test: remove final async placeholders 2026-05-08 20:20:13 +01:00
Peter Steinberger
368fd23af6 test: require before tool call callback 2026-05-08 20:11:43 +01:00
Peter Steinberger
630cf8e079 test: require context engine maintenance callbacks 2026-05-08 20:09:30 +01:00
Peter Steinberger
57c82f4ca5 test: require cli runner async callbacks 2026-05-08 20:06:05 +01:00
Peter Steinberger
848ffe90e6 test: tighten plugin contract async callbacks 2026-05-08 20:03:03 +01:00
Peter Steinberger
11d7f54555 test: require agent async callbacks 2026-05-08 19:59:59 +01:00
Peter Steinberger
7460954c53 test: require embedded runner deferred callbacks 2026-05-08 19:57:38 +01:00
Peter Steinberger
6f26a477be test: require core weak guard lookups 2026-05-08 17:53:05 +01:00
Peter Steinberger
827354b7b2 test: require active video task status 2026-05-08 17:51:25 +01:00
Peter Steinberger
f42f6dde9a test: require generation tool handles 2026-05-08 17:34:42 +01:00
Peter Steinberger
bbd6d9e254 test: stabilize node 26 full-suite edge cases 2026-05-08 16:52:23 +01:00
Peter Steinberger
7cc0b21e4d test: restore node 26 test compatibility 2026-05-08 16:52:23 +01:00
Peter Steinberger
add9b8920e test: clear nullable matcher scan 2026-05-08 16:02:28 +01:00
Peter Steinberger
a571fcf041 test: tighten auth profile assertions 2026-05-08 15:58:11 +01:00
Peter Steinberger
e5dd03fb3d test: tighten runner image helper assertions 2026-05-08 15:56:02 +01:00
Peter Steinberger
7c401f24e4 test: dedupe history image prune assertions 2026-05-08 15:54:03 +01:00
Peter Steinberger
a6313f64f9 test: tighten nullable agent helper assertions 2026-05-08 15:51:12 +01:00
Peter Steinberger
28fad6a6c3 test: dedupe image generation tool assertions 2026-05-08 15:49:38 +01:00
Peter Steinberger
a0459cde8a test: use gemini 3.1 in live switch 2026-05-08 15:47:36 +01:00
Peter Steinberger
d7d83eb867 test: dedupe cli backend resolution assertions 2026-05-08 15:36:43 +01:00
Peter Steinberger
23a9bf8333 test: tighten image tool factory assertions 2026-05-08 15:33:36 +01:00
Peter Steinberger
e402efe818 test: tighten media tool factory assertions 2026-05-08 15:31:27 +01:00
Peter Steinberger
7ff5e09289 test: tighten nullable status assertions 2026-05-08 15:27:28 +01:00
Peter Steinberger
f309a4020d test: clear defined matcher scan 2026-05-08 15:25:24 +01:00
Peter Steinberger
d0ea405662 test: tighten object shape assertions 2026-05-08 15:17:56 +01:00
Peter Steinberger
f6476140d2 test: tighten live provider assertions 2026-05-08 15:11:21 +01:00
Peter Steinberger
9491176811 test: tighten provider rewrite assertions 2026-05-08 15:03:49 +01:00
Peter Steinberger
dd1b276a9c test: tighten provider stream assertions 2026-05-08 15:00:10 +01:00
Peter Steinberger
cd89496d08 test: tighten timeout signature assertions 2026-05-08 14:57:41 +01:00
Peter Steinberger
2008873be6 test: tighten agent timestamp assertions 2026-05-08 14:54:31 +01:00
Peter Steinberger
f9a29a06ef test: tighten agent string assertions 2026-05-08 14:53:25 +01:00
Peter Steinberger
a16f0dd73c test: tighten session status ids 2026-05-08 14:52:15 +01:00
Peter Steinberger
0fe6a3c938 test: tighten subagent registry timestamps 2026-05-08 14:49:49 +01:00
Jeremy Knows
b32312efa5 fix(failover): defer profile cooldown marking to unblock rate-limit rotation (#57283)
Merged via squash.

Prepared head SHA: 498c31d6dc
Co-authored-by: jeremyknows <237305675+jeremyknows@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
2026-05-08 16:49:47 +03:00
Peter Steinberger
1b9986952c test: tighten auth profile assertions 2026-05-08 14:47:55 +01:00
Peter Steinberger
5457462e62 feat(discord): add realtime voice modes
Add Discord realtime voice modes with OpenAI realtime support, talk-buffer/bidi routing, per-turn speaker context enforcement, and lifecycle cleanup.
2026-05-08 09:16:04 -04:00
Super Zheng
e7277b4e3a refactor(agents): preserve raw reasoning stream and push formatting to edge (#78397)
Merged via squash.

Prepared head SHA: bb56f7ee00
Co-authored-by: medns <1575008+medns@users.noreply.github.com>
Co-authored-by: odysseus0 <8635094+odysseus0@users.noreply.github.com>
Reviewed-by: @odysseus0
2026-05-08 06:08:21 -07:00
Peter Steinberger
be28fdcb60 test: clarify live loose boolean assertions 2026-05-08 14:06:02 +01:00
Peter Steinberger
5c589673ec test: clarify loose boolean assertions 2026-05-08 14:00:34 +01:00
Peter Steinberger
bc720dedaf test: clarify boolean membership assertions 2026-05-08 13:54:10 +01:00
Peter Steinberger
8221f0914a test: clarify small core accepted assertions 2026-05-08 13:37:09 +01:00
Peter Steinberger
59d86d65db test: clarify context pruning malformed assertions 2026-05-08 13:11:55 +01:00
Peter Steinberger
52b0d14825 test: clarify sandbox auth assertions 2026-05-08 13:10:00 +01:00
Panda Dev
d1bf0eb770 fix(fetch-timeout): pass operation and url context at omitting call sites (#79195) (#79253) 2026-05-08 22:09:45 +10:00
Peter Steinberger
42c9bd59e7 test: clarify guard fallback assertions 2026-05-08 12:54:21 +01:00
Chencheng Li
15b39313cc fix: separate Current time from Reference UTC (#42654)
Merged via squash.

Prepared head SHA: 0829399ebd
Co-authored-by: chencheng-li <49442600+chencheng-li@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
2026-05-08 14:19:28 +03:00
RenzoMXD
8fb22fdfe2 fix(agents): compare file-target structurally not via fingerprint split
Address clawsweeper P2 on PR #79067: the prior cross-tool recovery
extracted the path target by splitting the joined fingerprint string
on `|`, which is also a legal character in file paths. A failed edit on
`/tmp/a|left` and a successful write to `/tmp/a|right` would both
extract as `path=/tmp/a` and incorrectly clear the prior failure.

Carry a structured `fileTarget: { path?, oldpath? }` alongside the
existing `actionFingerprint` string and compare it directly.
`extractFileTarget` reads args once at fingerprint-build time, with
the same alias support as `buildToolActionFingerprint`. The
fingerprint string is unchanged for diagnostics and the exact-equality
match path; only the cross-tool fallback now compares structurally.

Threaded through `ToolMutationState`, `ToolActionRef`, `ToolCallSummary`,
and `ToolErrorSummary` so the existing handler code at
`pi-embedded-subscribe.handlers.tools.ts:910-928` can populate and
consume it without re-parsing.

Adds delimiter-bearing-path regression test asserting that
`/tmp/a|left` vs `/tmp/a|right` returns false, and that an identical
delimiter-bearing path on both sides still matches.
2026-05-08 07:00:00 -04:00
RenzoMXD
3f4c64163d fix(agents): narrow self-heal recovery to edit↔write pair
Drop apply_patch from the file-mutating recovery set after clawsweeper
P2 review on PR #79067 noted production apply_patch calls only carry
opaque `input` patch text, so buildToolActionFingerprint never extracts
a `path=` segment from real call args. Including apply_patch only
matched handcrafted fingerprints in tests, not real recoveries, and
the public CHANGELOG claim was unimplemented.

Also drops the now-orphaned `oldpath` segment from
FILE_TARGET_FINGERPRINT_KEYS since edit and write do not produce it,
and replaces the apply_patch test expectation with an explicit
negative assertion that proves the narrowing.

Re-files apply_patch ↔ write recovery as a future enhancement; it
needs single-file patch-target extraction in
buildToolActionFingerprint to be honestly supportable.
2026-05-08 07:00:00 -04:00
RenzoMXD
79b292c2be fix(agents): self-heal cross-tool file-mutation in cron classifier
Recognize a successful file-mutation on the same path/oldpath target as
recovery for an earlier failed file-mutation, even when the tool name
differs (edit -> write, apply_patch -> write, etc). Previously
isSameToolMutationAction required exact fingerprint equality, which
includes tool=<name>, so an edit failure followed by a successful
write to the same path was never recognized as recovery. The unresolved
lastToolError then drove the cron classifier to flag a healthy
self-healed run as fatal with the user-visible warning prefix from
issue #79024. Limited to file-mutating tools (edit, write, apply_patch)
and the stable path/oldpath segments of the action fingerprint;
non-file-mutating tools and different paths still fail closed.

Fixes #79024.
2026-05-08 07:00:00 -04:00
Peter Steinberger
607f0b4a9d test: clear remaining agent assertion scans 2026-05-08 11:46:22 +01:00