Commit Graph

8906 Commits

Author SHA1 Message Date
can1357 31138bf7ec test(python/robomp): added cleanup guards to queue cancel and shutdown tests
- Wrapped queue shutdown and cancel test assertions in `try`/`finally` blocks.
- Cancelled and awaited worker and in-flight tasks in finalizers to prevent lingering background tasks.
- Handled expected `CancelledError` exceptions during task cleanup with `suppress`.
2026-06-14 19:03:58 +02:00
can1357 6325de72f8 test(coding-agent): drop flaky task pending preview height test 2026-06-14 19:03:29 +02:00
can1357 f6539a07bc Merge remote-tracking branch 'origin/farm/d1eaf85c/pin-minimax-m3-context' 2026-06-14 19:02:28 +02:00
can1357 230dcfdde1 fix(collab-web): optimize layout and mobile UX for guest client 2026-06-14 18:55:55 +02:00
roboomp 4efdefa398 Revert "style: bun run fix"
This reverts commit 60b93ea5c1.
2026-06-14 16:50:54 +00:00
roboomp 60b93ea5c1 style: bun run fix 2026-06-14 16:45:38 +00:00
roboomp caad59e526 fix(catalog): pinned minimax m3 context
Pinned MiniMax-M3 contextWindow to 1,000,000 for the minimax and minimax-cn bundled catalog entries during generation.

Added policy and bundled catalog regression coverage while leaving MiniMax coding-plan providers on upstream limits.

Fixes #2576
2026-06-14 16:45:23 +00:00
can1357 7e8122000a chore: bump version to 15.13.0 2026-06-14 18:21:59 +02:00
can1357 2b436f222a chore: update changelogs 2026-06-14 18:21:35 +02:00
can1357 03871d247d fix(pi-natives): dropped const qualifier from napi tokio runtime installer
- Changed `omp_install_tokio_runtime` in `crates/pi-natives/src/lib.rs` from `pub const fn` to `pub fn`.
- Added `#[allow(clippy::missing_const_for_fn)]` to silence the missing-const suggestion for the binding function.
2026-06-14 18:17:40 +02:00
Can Bölük 6eb57448c5 Merge pull request #2444 from 381181295/extension-approval-lifecycle
feat(coding-agent): emit tool approval lifecycle events
2026-06-14 18:16:36 +02:00
can1357 b0a00fdb5d chore: reformat 2026-06-14 18:13:48 +02:00
Can Bölük 98e8d0ba22 Merge pull request #2313 from can1357/farm/a4aed75b/npm-plugin-load-deps
fix(cli): reject unloadable npm plugin installs
2026-06-14 18:13:43 +02:00
can1357 9e18d3fbb0 Merge branch 'main' into farm/a4aed75b/npm-plugin-load-deps 2026-06-14 18:13:29 +02:00
can1357 fd4bdf77fc docs(agent): updated AGENTS.md changelog review guidance wording
- Updated AGENTS.md to state that changelog section order and formatting should not be flagged in reviews or PRs.

Closes #2377
Closes #2379
Closes #2380
Closes #2381
Closes #2382
Closes #2383
Closes #2384
Closes #2410
Closes #2432
Closes #2449
Closes #2451
Closes #2452
Closes #2456
Closes #2457
Closes #2466
Closes #2487
2026-06-14 17:57:10 +02:00
can1357 3709ae0ca9 Merge PR #2451: fix(coding-agent): preserve discovered context windows 2026-06-14 17:54:50 +02:00
can1357 9f8f49f6c1 docs: note that fix-changelogs normalizes changelog formatting 2026-06-14 17:51:45 +02:00
can1357 e28269c235 docs(changelog): move vLLM discovery entries to [Unreleased]
Rebasing onto current main landed both the coding-agent and catalog
vLLM entries under the released [15.12.6] section. Per AGENTS.md, new
entries go under [Unreleased] and released sections are immutable, so
the release tooling would otherwise miss them.

Addresses review feedback on #2451.
2026-06-14 17:50:16 +02:00
Gerben Meijer 4a6eec624b fix(coding-agent): preserve vLLM discovered context windows
Read vLLM max_model_len and OpenAI-compatible context_length metadata during model discovery, route providers.vllm.baseUrl into built-in discovery before cached models exist, and avoid sending local placeholder bearer tokens.

Scope the vLLM model cache to the discovery base URL so endpoint changes refetch immediately, and add focused regression coverage for configured and built-in vLLM discovery.
2026-06-14 17:50:16 +02:00
can1357 da09946ca5 config(config): expanded bun ignore patterns for additional project directories
- Added .git, target, dist, python, and docs patterns to bun's ignore list.
- Expanded bun's pathIgnorePatterns to skip additional generated and source directories during file scanning.
2026-06-14 17:45:12 +02:00
can1357 80c2004ac9 Merge PR #2466: fix(config): prefer context_length from API in model discovery 2026-06-14 17:44:57 +02:00
can1357 da26651129 Merge PR #2432: fix(coding-agent): report local rpc prompt completion 2026-06-14 17:44:29 +02:00
can1357 091c452dd1 Merge PR #2377: fix(coding-agent): derive bundled self root from dist path 2026-06-14 17:44:28 +02:00
can1357 ae0898e3a5 Merge PR #2456: fix(coding-agent): attach clipboard image on stale screenshot paste path 2026-06-14 17:44:28 +02:00
can1357 884cfefe9c Merge PR #2449: fix(discovery): follow symlinked extension packages 2026-06-14 17:44:28 +02:00
can1357 b0ab7ed28c Merge PR #2410: feat(extensions): expose model resolve() and family() via ctx.models 2026-06-14 17:44:28 +02:00
can1357 ff30fe0d62 Merge PR #2457: fix(stats): drop git from profanity list 2026-06-14 17:44:20 +02:00
can1357 0a42a1984f Merge PR #2382: fix(utils): retry TempDir rm on Windows EBUSY 2026-06-14 17:44:20 +02:00
can1357 b9d523e3f0 Merge PR #2379: fix(pi-iso): satisfy clippy for projfs and block-clone 2026-06-14 17:44:19 +02:00
can1357 edb1fc206b fix(coding-agent): keep single Unreleased changelog entry after rebase
Rebasing onto main replayed the branch's changelog history across main's
diverged changelog, duplicating the RPC prompt-completion note and
injecting stray entries/headers into the released [15.12.4] section.
Reset the changelog to main's content with exactly one entry under
[Unreleased] -> Added, per AGENTS.md (released sections are immutable).

Addresses review feedback on #2432.
2026-06-14 17:37:00 +02:00
can1357 8bad22bd9d docs(coding-agent): move Win+Shift+S paste entry under [Unreleased]
The rebase landed the changelog entry inside the already-released
[15.12.4] section because its #2429 anchor was moved there when that
release was cut. Relocate it to [Unreleased] -> Fixed per changelog
convention.

Addresses review feedback on #2456.
2026-06-14 17:36:27 +02:00
art-wiedzmin 53a7253fbb docs(coding-agent): add CHANGELOG entry for Win+Shift+S clipboard paste fallback 2026-06-14 17:33:17 +02:00
art-wiedzmin e31926e698 fix(coding-agent/modes): fall back to clipboard image when pasted screenshot path is missing 2026-06-14 17:33:17 +02:00
can1357 8e7a2fac97 chore: update changelogs 2026-06-14 17:32:28 +02:00
can1357 6d459c88a1 fix(catalog): classify GLM in modelFamilyToken family tokens
modelFamilyToken's fallback chain checked kimi/qwen/minimax/gpt-oss/
deepseek/mimo but omitted GLM, even though parseGlmModel is already
imported here and GLM is a first-class catalog family. GLM ids fell
through to "", so ctx.models.family() split same-lineage provider
mirrors (zai/glm-5.2 vs zhipu-coding-plan/glm-5.2) by provider instead
of folding them. Add the GLM check plus a cross-mirror regression test.

The mandated fmt pass over this file also wraps the ./classify import,
which the PR's added parseKnownModel pushed to 122 cols (biome lineWidth
is 120 -> would otherwise fail `biome check` in CI).

Addresses review feedback on #2410.
2026-06-14 17:31:59 +02:00
Kormákur b7e8599ef8 Move RPC changelog note to Unreleased 2026-06-14 17:30:38 +02:00
Kormákur c805514c75 fix(coding-agent): gate rpc extension turn tracking on send success 2026-06-14 17:30:37 +02:00
Kormákur 62f9cc0ddc docs(rpc): clarify prompt lifecycle timing 2026-06-14 17:30:37 +02:00
Kormákur 1b7fd189bb fix(coding-agent): trim rpc prompt completion scope 2026-06-14 17:30:37 +02:00
Kormákur e2cd316f33 fix(coding-agent): complete local rpc prompts 2026-06-14 17:30:37 +02:00
Kormákur b59ea8e344 fix(coding-agent): handle queued rpc extension messages 2026-06-14 17:30:37 +02:00
Kormákur 27105c99a9 fix(coding-agent): track extension-triggered rpc turns 2026-06-14 17:30:37 +02:00
Kormákur a19d5a35fc fix(coding-agent): mark rpc skill prompts as agent work 2026-06-14 17:30:37 +02:00
Kormákur d418467715 fix(coding-agent): report local rpc prompt completion 2026-06-14 17:30:36 +02:00
can1357 bcde055998 test(config): cover non-positive context_length fallback and satisfy formatter
Add a proxy-discovery regression: a `context_length: 0` upstream value
must be rejected by `toPositiveNumberOrUndefined` and fall back to the
default window. Raw `??` would have pinned it at 0 (nullish coalescing
does not skip 0), so this guards the should-fix the helper was added for.

Also apply biome formatting to the discovery change (collapse the
multiline `contextWindow:` expression, drop a trailing space) and the new
tests so `biome check` passes — the PR as submitted failed the formatter.

Addresses review feedback on #2466.
2026-06-14 17:30:20 +02:00
can1357 20c4052996 fix(config): relocate context_length changelog entry to coding-agent package
The PR added its `### Fixed` entry to packages/agent/CHANGELOG.md
(@oh-my-pi/pi-agent-core), but the change lives in the coding-agent
package (packages/coding-agent/src/config/model-discovery.ts). Per
AGENTS.md the changelog entry belongs in the touched package under
`## [Unreleased]`; the rebase also wedged the misplaced entry inside the
already-released `## [15.12.6]` section. Move it to
packages/coding-agent/CHANGELOG.md and restore packages/agent unchanged.

Addresses review feedback on #2466.
2026-06-14 17:30:20 +02:00
Nicolas Lorin 87c9e77dbe fix(config): prefer context_length from API in model discovery
Updated model discovery to use `context_length` reported by the API when available, falling back to bundled reference data and default. Added `context_length` field to parsed model response and modified context window assignment logic.
2026-06-14 17:30:20 +02:00
can1357 1e11040c50 Merge PR #2452: fix(mnemopi): rank exact memories above weak facts
Brings the mnemopi factRecall lexical-coverage scoring fix (closes #2441).
Dropped the PR's unrelated input-controller-escape / handoff-command test
edits (they predate and would weaken main's current escape-gesture tests);
those two files are kept at main's version.
2026-06-14 17:29:38 +02:00
can1357 f4734e1940 Merge PR #2487: fix(coding-agent): route MCP connecting banner through the render tree 2026-06-14 17:29:38 +02:00
can1357 ce6ac9a9d2 Merge PR #2384: fix(pi-shell): satisfy clippy in process.rs 2026-06-14 17:29:38 +02:00