Commit Graph

46689 Commits

Author SHA1 Message Date
brokemac79
f4be39c4f4 fix(providers): read nested llama cpp props context 2026-05-11 13:16:06 +01:00
brokemac79
7c7d19ec84 fix(providers): use llama.cpp runtime context cap 2026-05-11 13:16:06 +01:00
brokemac79
ccdaf1875a fix(doctor): tolerate malformed crontab output (#78112)
Fixes #77773.

Co-authored-by: brokemac79 <martin_cleary@yahoo.co.uk>
2026-05-11 13:15:57 +01:00
Peter Steinberger
a57691cdcb test: tighten gateway websocket assertions 2026-05-11 13:15:45 +01:00
Shakker
75b745d559 test: assert scheduled task command parsing 2026-05-11 13:14:29 +01:00
Peter Steinberger
db9549c46f test: tighten gateway role assertions 2026-05-11 13:13:30 +01:00
Shakker
9c37951435 test: assert service audit issues 2026-05-11 13:13:14 +01:00
Peter Steinberger
c4ed66c58b test: tighten gateway misc assertions 2026-05-11 13:12:01 +01:00
Shakker
0c50714a03 test: assert approval bootstrap retry warning 2026-05-11 13:11:45 +01:00
Shakker
945fcc10fd test: assert runtime guard diagnostics 2026-05-11 13:10:53 +01:00
Peter Steinberger
d932d89778 test: tighten session store rpc assertions 2026-05-11 13:10:18 +01:00
Shakker
fbaac02823 test: assert windows task restart spawn 2026-05-11 13:09:59 +01:00
Val Alexander
342ae551ae fix(logging): reduce active-only liveness noise
Summary:
- Reduce active-only diagnostic liveness noise by emitting transient event-loop max delay samples as info-level telemetry.
- Keep warnings for queued or waiting work and for sustained high P99 loop delay.
- Cover the active-only path in the diagnostic stability tests and changelog.

Verification:
- pnpm format:check src/logging/diagnostic-stability.ts src/logging/diagnostic.test.ts CHANGELOG.md
- pnpm test src/logging/diagnostic.test.ts
- pnpm check:changed
- GitHub PR checks passed on head 25e674fe41.
2026-05-11 07:09:12 -05:00
Peter Steinberger
35827b7dbb test: tighten gateway discovery assertions 2026-05-11 13:09:06 +01:00
Shakker
f7d68cf435 test: assert channel allowlist warnings 2026-05-11 13:08:43 +01:00
Peter Steinberger
4bfdb6ef30 test: tighten gateway health assertions 2026-05-11 13:07:15 +01:00
Peter Steinberger
2dcc05a9eb docs: add Fly container detection changelog (#80209) 2026-05-11 13:06:49 +01:00
Lior Balmas
b94919ab1b test(gateway): isolate Fly env container checks 2026-05-11 13:06:49 +01:00
Lior Balmas
0f8fc6bb61 fix(runtime): detect Fly Machines as containers 2026-05-11 13:06:49 +01:00
Shakker
9bb7f220c9 test: assert daemon config guard json 2026-05-11 13:06:23 +01:00
Peter Steinberger
1f49d34c5f fix(gateway): preserve batched client tool calls 2026-05-11 13:06:05 +01:00
Lellansin
0e6aca34db fix(gateway): align OpenAI chat completions tool protocol
fix(gateway): remove unnecessary type assertion in buildAgentPrompt

fix(gateway): reject unsupported forced tool_choice modes

tool_choice=required and named function tool_choice are now rejected
with invalid_request_error until hard enforcement is implemented
at the agent runtime layer. Only auto and none remain supported.

docs: update Chat Completions tool_choice contract to match rejection behavior

Only auto and none are currently accepted; required and named
function tool_choice are rejected until hard enforcement exists.
2026-05-11 13:06:05 +01:00
Peter Steinberger
efbc550dc9 test: tighten gateway helper assertions 2026-05-11 13:05:47 +01:00
Peter Steinberger
26ac5a3596 test: tighten assistant identity assertions 2026-05-11 13:04:24 +01:00
Ayaan Zaidi
d4c7519989 ci(mantis): allow fork telegram proof 2026-05-11 17:33:29 +05:30
Peter Steinberger
e6b0b37e3f test: tighten websocket log assertions 2026-05-11 13:02:51 +01:00
Shakker
1d5785ba85 test: assert gateway restart handoffs 2026-05-11 13:02:47 +01:00
Peter Steinberger
e0679d0d0c docs: add changelog for sessions resolve scope (#79474) (thanks @samzong) 2026-05-11 13:02:42 +01:00
samzong
c1b29bf5db fix(gateway): scope session resolve store loads 2026-05-11 13:02:42 +01:00
samzong
3e87e55604 fix(ui): preserve empty plugin allowlists
Signed-off-by: samzong <samzong.lu@gmail.com>
2026-05-11 13:02:34 +01:00
samzong
adafd4f5be docs(changelog): note plugin allowlist revert fix
Signed-off-by: samzong <samzong.lu@gmail.com>
2026-05-11 13:02:34 +01:00
samzong
8e92b069d2 fix(ui): remove reverted plugin allow entries
Signed-off-by: samzong <samzong.lu@gmail.com>
2026-05-11 13:02:34 +01:00
Peter Steinberger
776c39b00c test: tighten gateway readiness assertions 2026-05-11 13:01:23 +01:00
Shakker
8f1e6ab13c test: assert config write warnings 2026-05-11 13:00:44 +01:00
Peter Steinberger
e8dc492cb0 test: tighten gateway runtime assertions 2026-05-11 12:59:51 +01:00
Peter Steinberger
8d6bef0de1 test: tighten session create assertions 2026-05-11 12:58:08 +01:00
Shakker
a62b8c77a4 test: assert followup collect prompts 2026-05-11 12:57:48 +01:00
Peter Steinberger
96c2502bfb test: tighten gateway startup assertions 2026-05-11 12:56:28 +01:00
Shakker
51ad59ea0c test: assert acp ledger replay order 2026-05-11 12:55:19 +01:00
Peter Steinberger
a199ddf995 test: tighten gateway response assertions 2026-05-11 12:54:28 +01:00
Shakker
85d5718236 test: assert cli startup routing 2026-05-11 12:52:39 +01:00
Peter Steinberger
3c1d8bbc09 test: tighten shared auth rotation assertions 2026-05-11 12:51:41 +01:00
Peter Steinberger
ee9522ef8d fix: keep browser status page probe within timeout 2026-05-11 12:51:07 +01:00
ai-hpc
b4a420185c fix(browser): add pageReady to Chrome MCP existing-session status
Closes #80268

For Chrome MCP existing-session profiles, browser status previously
exposed only transport-handshake fields (cdpHttp, cdpReady) sourced
from isTransportAvailable(...). It did not surface whether a
page-level tool round-trip (list_pages, etc.) actually succeeds, so
operators and downstream tooling had no honest signal to distinguish
"transport handshake passed" from "page tools are usable".

This adds a pageReady field to BrowserStatus, derived from
profileCtx.isReachable(...) for chrome-mcp profiles (with a status-
bound 5s timeout) and mirroring cdpReady for managed CDP profiles
where the WS handshake already covers page-level reachability.

The status route opts the page probe into ephemeral mode so a passive
status call does not seed a persistent cached Chrome MCP session as a
side effect. listChromeMcpTabs reuses an existing cached attach
session if one already exists, otherwise opens a temporary session
that is closed immediately after the round-trip. The cached-session
path used by /tabs and other interactive routes is unchanged.

isReachable now threads the new ephemeral option (alongside timeoutMs)
into listChromeMcpTabs; existing callers in tabs.ts pass only
timeoutMs and continue to use the cached path.

The page probe is skipped when transport itself is down so status
latency does not regress on offline profiles.

Test changes:
- basic.existing-session.test.ts: the prior assertion that running:
  true and cdpReady: true with isReachable: false is now flipped to
  assert pageReady: false in that state, matching the new contract.
- New tests cover: probe-throws (treated as page-down), both-succeed
  (pageReady: true), transport-down (probe skipped, pageReady: false),
  and an ephemeral-mode regression that asserts the status probe
  passes { ephemeral: true } so it cannot seed a cached session.
2026-05-11 12:51:07 +01:00
Shakker
1eb42c68d9 test: assert completion cache writes 2026-05-11 12:50:46 +01:00
Peter Steinberger
7a6dbffa05 test: tighten gateway auth path assertions 2026-05-11 12:49:55 +01:00
Peter Steinberger
a85c7936e9 test: tighten node pending work assertions 2026-05-11 12:48:31 +01:00
Shakker
c7016bf988 test: assert update cli errors 2026-05-11 12:47:36 +01:00
Peter Steinberger
5f0449d3f3 test: tighten client bootstrap assertions 2026-05-11 12:47:25 +01:00
Peter Steinberger
913c621adb ci: add plugin inspector prerelease advisory 2026-05-11 12:46:33 +01:00