Commit Graph

17196 Commits

Author SHA1 Message Date
Pedro Paulo Vezza Campos ae804857dd test(lsp): isolate config tests from the developer's user lsp.json
`lsp regressions > detects pyright and pylsp in Windows virtualenv Scripts for
Python-only roots` fails on any machine that has ~/.omp/agent/lsp.json:

  expect(config.servers[server]?.resolvedCommand).toBe(localBin)
  Expected: ".../.venv/Scripts/pyright-langserver.exe"
  Received: undefined

The test was not asserting against the packaged defaults at all. loadConfig
walks the user config dirs (~/.omp/agent, ~/.pi/agent, ~/.claude) via
getConfigDirPaths, which resolves from os.homedir(). Any user lsp.json with a
`servers` block sets hasOverrides, which takes loadConfig off its auto-detect
branch and onto the override branch, where the user's rootMarkers replace the
packaged ones.

On this machine that file overrides pyright with

  rootMarkers: ["pyproject.toml", "uv.lock", "requirements.txt", "setup.py"]

which contains neither `pyrightconfig.json` nor `setup.cfg` — precisely the
two markers the test creates. loadConfig therefore returned zero servers.
`ruff` is absent from that file, keeps the packaged rootMarkers, and its
sibling tests pass, which is why only this one failed.

Confirmed by probing inside the test: hasRootMarkers() true and
resolveCommand() returning the .exe, while loadConfig().servers was {} — the
detection helpers were fine, the branch was not.

Point os.homedir() at an empty directory for every test in the file so they
see a pristine environment. Bun's os.homedir() reads the passwd entry rather
than $HOME, so the env var alone does not redirect the walk; both are set.

Verification: 76 pass / 0 fail (was 75 / 1) on a machine with a user lsp.json.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-17 11:59:45 -07:00
Jaaneek 7affc3d402 fix(ai): send omp User-Agent on xAI chat only
xAI chat was inheriting Bun's default UA. Set USER_AGENT on xai and
xai-oauth unless the request already supplied one.
2026-08-17 18:40:57 +00:00
can1357 54e1a8c900 chore: bump version to 17.3.6 2026-08-17 17:16:40 +03:00
can1357 bf8537015e Merge branch 'main' into pr-8772 2026-08-17 15:55:20 +03:00
can1357 9913c58ec1 Merge branch 'main' into pr-8052 2026-08-17 11:00:58 +03:00
can1357 d187249375 Merge PR #7824: fix(stats): restore configurable dashboard bind host (@anatoli-tsinovoy) 2026-08-17 10:47:48 +03:00
can1357 d8c5659d9a feat(catalog): updated context window floor and pricing parameters for gpt models
- Updated GPT-5.6 context window floor to 1,000,000 tokens across discovery, policies, and tests.
- Updated model configurations and pricing parameters in catalog models JSON.
2026-08-17 10:47:30 +03:00
Anatoli Tsinovoy 16ad301117 fix(stats): restore configurable dashboard bind host 2026-08-17 09:46:49 +03:00
Yang Yang 848f7fb0fd feat(catalog): default paid xAI and SuperGrok to grok-4.6
Point xai and xai-oauth at grok-4.6, already in the bundled catalog.
Tests pin the default id in models.json and load picker fixtures from
the catalog so the next bump does not rot hardcoded name or cost.
2026-08-16 16:29:14 -07:00
can1357 37eee71978 chore: bump version to 17.3.5 2026-08-16 10:21:05 +03:00
can1357 02cd22dc9b feat: added live tracking and stale status warnings for agent activity snapshots
- Added live tracking and stale status warnings for agent activity snapshots.
- Fixed text wrapping with ANSI escape sequences to defer style open sequences after whitespace.
- Added VirtualRenderScheduler for deterministic virtual-clock rendering tests.
2026-08-16 10:18:56 +03:00
Can Bölük ca1f184823 chore: rewritten changelogs 2026-08-16 09:28:34 +03:00
can1357 906f5b1463 style(coding-agent/registry): formatted persisted mid-spawn test writes as template literals
- Replaced `join("\\n") + "\\n"` concatenations with template-literal interpolation in mid-spawn registry fixtures.
- Updated the three Bun.write calls in `persisted-mid-spawn-stub.test.ts` to use the template form.
2026-08-16 09:19:30 +03:00
Can Bölük 14c99e9519 Merge remote-tracking branch 'origin/farm/343b94da/fix-alibaba-cn-console-url' 2026-08-16 09:13:29 +03:00
Can Bölük f05abb0ab4 Merge remote-tracking branch 'origin/farm/38b90f8c/fix-biome-json-reporter-schema' 2026-08-16 09:13:21 +03:00
can1357 fe6648cb56 chore(edit): removed unused import left by retry-token revert 2026-08-16 07:59:58 +02:00
can1357 8fdb6a4197 fix(edit): dropped compact seen-line retry tokens (#8461)
Reverted the retry-token continuation flow (merge 34628528bf and prompt
follow-up 446e745bf4): seen-line rejections resend the full patch again.
2026-08-16 07:58:55 +02:00
roboomp 3d1bad9c88 fix(coding-agent): map biome 2.x json reporter schema
BiomeClient#parseJsonOutput expected a stale --reporter=json shape
(location.path.file, byte-offset span, description), so the shape guard
dropped every diagnostic against Biome 2.x output and lint() returned []
with no warning. Parse the current schema instead: string location.path,
1-indexed location.start/end {line,column}, and message. Drop the now-dead
offsetsToPositions helper and warn when a non-empty diagnostics array has
no recognizable location, so future schema drift surfaces instead of
silently reporting "no lint issues".

Fixes #8694
2026-08-16 05:39:14 +00:00
roboomp d71ff70c3d fix(ai): updated Alibaba China console URL
Opened the current Bailian API-key management page from the China interactive login flow and updated its user guidance.

Added regression coverage for the emitted auth URL and instructions.

Fixes #8691
2026-08-16 02:56:38 +00:00
can1357 4dc82c56b9 chore(session): removed unused loader import 2026-08-16 02:59:57 +02:00
can1357 f474b43880 chore(changelog): normalized changelogs after merged fixes 2026-08-16 02:59:03 +02:00
can1357 66df516fc4 chore(catalog): regenerated models.json from upstream sources 2026-08-16 02:58:41 +02:00
can1357 f045ae0d07 fix(collab): replicated discarded branch markers 2026-08-16 02:57:16 +02:00
can1357 a0717151da fix(catalog): matched generator key order for Daybreak compat override 2026-08-16 02:57:16 +02:00
can1357 9d21956d35 Merge PR #8491: fix(agent): remove capped empty stop tails (@roboomp)
# Conflicts:
#	packages/coding-agent/src/session/agent-session.ts
#	packages/coding-agent/src/session/session-manager.ts
#	packages/coding-agent/test/agent-session-empty-stop-guard.test.ts
#	packages/coding-agent/test/session-manager-immediate-persist.test.ts
2026-08-16 02:56:08 +02:00
can1357 c162a82169 fix(vibe): deferred IRC wakes during mode exit 2026-08-16 02:49:32 +02:00
can1357 5420b29364 Merge PR #8327: fix(vibe): cancel active turn on mode exit (@roboomp)
# Conflicts:
#	packages/coding-agent/test/interactive-mode-vibe-toggle.test.ts
2026-08-16 02:49:32 +02:00
can1357 c78444541b Merge PR #8560: fix(coding-agent): stop invalid Anthropic thinking fallback (@roboomp)
# Conflicts:
#	packages/coding-agent/src/session/turn-recovery.ts
2026-08-16 02:49:03 +02:00
can1357 c7ecc3ef66 Merge PR #8598: fix(session): repair torn JSONL appends (@roboomp)
# Conflicts:
#	packages/coding-agent/src/session/session-loader.ts
#	packages/coding-agent/src/session/session-manager.ts
#	packages/coding-agent/test/session-loader-stream.test.ts
2026-08-16 02:48:12 +02:00
can1357 d57a0ff233 fix(extensions): preserved drafts before custom presentation 2026-08-16 02:45:04 +02:00
can1357 5b24971163 fix(extensions): charged custom dialog setup to timeout 2026-08-16 02:45:04 +02:00
can1357 06793c72bb Merge PR #8441: fix(extensions): pause tool-call timeout during human dialogs (@Seljuke)
# Conflicts:
#	packages/coding-agent/test/extensions-runner.test.ts
2026-08-16 02:45:04 +02:00
can1357 5fde7547f7 Merge PR #8244: fix(catalog): omit forced tool choice for go responses (@roboomp)
# Conflicts:
#	packages/catalog/src/models.json
2026-08-16 02:44:24 +02:00
can1357 668cb2115f fix(ai): scoped exclusive-required flattening to xAI 2026-08-16 02:43:35 +02:00
David Andrews 7c5ee37227 fix(ai): scoped xAI root-union flatten and quarantine 2026-08-16 02:43:35 +02:00
David Andrews cb96258405 fix(ai): flattened xAI exclusive-required anyOf at tool root only 2026-08-16 02:43:35 +02:00
David Andrews 96922bd5c9 fix(ai): flattened xAI MCP exclusive-required anyOf 2026-08-16 02:43:35 +02:00
Muhammad Mustaqeem 87cfda9368 test(lsp): restored idle suite and completed the fake process shape 2026-08-16 02:43:35 +02:00
Muhammad Mustaqeem 776c9b9c4d test(lsp): localized the native/unit failure with a temporary probe 2026-08-16 02:43:35 +02:00
Muhammad Mustaqeem 815ba44173 test(lsp): drove every idle assertion from a single clock read 2026-08-16 02:43:35 +02:00
Muhammad Mustaqeem 9501b2299b fix(lsp): stopped reaping clients with in-flight requests (#8390) 2026-08-16 02:43:35 +02:00
Muhammad Mustaqeem d62a986689 fix(lsp): stopped reaping clients with in-flight requests (#8390) 2026-08-16 02:43:34 +02:00
can1357 1a5f07a263 docs(ai): recorded repeated response guard 2026-08-16 02:43:34 +02:00
can1357 69b3987975 Merge PR #8669: fix(ai): stop runaway repeated responses (@pstarkgit) 2026-08-16 02:43:34 +02:00
can1357 c404f370e7 test(coding-agent): covered parked id respawn 2026-08-16 02:43:34 +02:00
can1357 45e4fa7884 Merge PR #8492: fix(coding-agent): reclaim dead parked agent corpses on respawn (@roboomp) 2026-08-16 02:43:34 +02:00
can1357 9c2c17b3e2 Merge PR #8349: fix(ai): rotate Cursor conversationId after a poisoned conversation (@zhang17-24) 2026-08-16 02:43:34 +02:00
can1357 44e50af907 fix(agent): excluded reasoning from empty-stop diagnosis 2026-08-16 02:43:34 +02:00
can1357 14813330f5 Merge PR #8512: fix(agent): name billed output tokens on capped empty stops (@roboomp) 2026-08-16 02:43:34 +02:00
can1357 e224493fe2 Merge PR #8553: fix(discovery): honor non-recursive glob in loadFilesFromDir (@roboomp) 2026-08-16 02:43:33 +02:00