Commit Graph

1969 Commits

Author SHA1 Message Date
程序员阿江(Relakkes) 8336cd8cc9 feat(computer-use): finalize native input and global app consent
Route coordinate clicks through the exact AX hit, reuse render-local
attributes and keep keyboard macros within validated native boundaries.
Preserve lossless capture evidence while returning bounded model images,
and propagate cancellation through daemon and lock acquisition.

Remove legacy per-app restrictions after feature-wide consent on both
platforms while retaining global disablement and target validation.
Include native helpers, regression tests and a stable receiver fixture.

Validation: 224 focused TypeScript tests, 516 XCTest cases and 15 Swift
Testing cases passed. Local sidecar and Electron builds, development
package creation and package smoke checks passed.
2026-09-10 20:58:39 +08:00
程序员阿江(Relakkes) 4fc3173cd1 merge: integrate QA-003 active-session lifecycle fix 2026-09-10 19:08:48 +08:00
程序员阿江(Relakkes) fd395ab900 fix: preserve active session checkpoints after retention cleanup 2026-09-10 19:07:57 +08:00
程序员阿江(Relakkes) c6a00fbaa0 merge: integrate QA-003 transcript queue cleanup fix 2026-09-10 18:56:29 +08:00
程序员阿江(Relakkes) c5ff34ff56 fix: discard stale transcript queues after retention cleanup 2026-09-10 18:55:57 +08:00
程序员阿江(Relakkes) b0b9d325cf merge: integrate QA-003 deleted-session exit fix 2026-09-10 18:33:43 +08:00
程序员阿江(Relakkes) fac81ecc37 fix: keep runtime exit metadata from recreating deleted sessions 2026-09-10 18:33:03 +08:00
程序员阿江(Relakkes) 53e643d814 merge: integrate QA-003 checkpoint follow-up 2026-09-10 18:23:54 +08:00
程序员阿江(Relakkes) c068246c15 fix: allow checkpoint reads for in-memory sessions 2026-09-10 18:23:28 +08:00
程序员阿江(Relakkes) dcf20fe7dd merge: integrate QA-005 MCP disable fix 2026-09-10 18:10:55 +08:00
程序员阿江(Relakkes) a24931002d fix(mcp): enforce disabled state across active sessions 2026-09-10 18:09:43 +08:00
程序员阿江(Relakkes) 7004677af1 merge: integrate QA-003 retention fix 2026-09-10 17:59:49 +08:00
程序员阿江(Relakkes) 85650d70db fix: honor disabled session retention across writes and resume 2026-09-10 17:58:58 +08:00
程序员阿江(Relakkes) dcc38d1d88 merge: integrate QA-006 provider 1m fix 2026-09-10 17:57:30 +08:00
程序员阿江(Relakkes) e2478bb083 fix(desktop): preserve provider 1m flags in runtime selection 2026-09-10 17:56:12 +08:00
程序员阿江(Relakkes) 2da1e9a7f0 merge: add computer-use screenshot pixel dimensions 2026-09-10 16:30:56 +08:00
程序员阿江(Relakkes) 0fff908e0e fix(computer-use): include pixel dimensions with screenshots 2026-09-10 16:30:22 +08:00
程序员阿江(Relakkes) 74f87a27e4 revert(session): remove protocol-based session restrictions
Revert efe5cae19 so existing sessions remain usable and models can be
switched without protocol admission checks. Retain the additive index
schema for already-upgraded caches and rebuild their summaries.
2026-09-10 14:00:50 +08:00
程序员阿江(Relakkes) 56c6a9aa8e feat(computer-use): align native app automation with Codex
Add a persistent isolated JavaScript worker for native app actions and batch
known operations without a model round trip between each input. Preserve
per-cell context, native errors, screenshot coordinates, and image types.

Align macOS gesture, key, inventory, capture, scroll, and clipboard behavior;
include a signed native receiver fixture and compiled sidecar regression tests.
Keep the Windows pixel route and fix cancellation with session-owned mouse
cleanup, lock revalidation, and portable signing-fixture tests.
2026-09-10 03:34:39 +08:00
程序员阿江(Relakkes) a2b3f59aaf feat(session): keep transcripts for 365 days by default
Transcripts now default to a 365-day retention and can be changed from
Settings > General, where a change previews how many files the new window
removes and requires confirmation before anything is deleted. Plans, file
history, debug logs, pastes and agent worktrees keep the previous 30-day
window instead of inheriting the transcript setting.

Also cleans subagent transcripts together with their parent session, and
restricts the bulk cleanup endpoint to the desktop process token so an H5
token cannot wipe every transcript in one request.
2026-09-09 23:24:38 +08:00
程序员阿江(Relakkes) efe5cae19e fix(session): lock model switching to the session API protocol 2026-09-09 23:05:33 +08:00
程序员阿江(Relakkes) 9c731d8ea5 feat(provider): add ApiSmart sponsorship and image generation support 2026-09-09 21:32:04 +08:00
程序员阿江(Relakkes) e2b636081a fix(computer-use): preserve window identity and snapshots after overlay failure 2026-09-09 20:30:05 +08:00
程序员阿江(Relakkes) 8546f43ec3 fix(desktop): load older sessions while scrolling within projects 2026-09-08 16:05:48 +08:00
程序员阿江(Relakkes) 0d8a1a11fa fix(desktop): add bounded full session history browsing
Keep historical conversations reachable beyond the recent sidebar limit, hydrate only opened sessions, and restore old tabs through metadata-only lookups. Preserve newer metadata across history and restore races. Refs #1287.
2026-09-08 15:32:36 +08:00
程序员阿江(Relakkes) f0acdc4ce0 fix(anthropic): avoid duplicate /v1 in compatible endpoints (#1279)
Normalize a terminal API version at Anthropic request boundaries while
preserving gateway prefixes and saved provider settings. Cover SDK messages,
token counting, proxy streams, connectivity, titles, files, and recovery CLI.

Fixes #1279
2026-09-08 15:32:36 +08:00
zhb 7d13cc6d3c fix(model): preserve provider capabilities across context markers
Use the shared model identity rules for capability matching and cache keys.
Preserve Fable overrides and explicit capability opt-outs across 1M aliases.
2026-09-08 15:32:36 +08:00
程序员阿江(Relakkes) 3b8531bba6 fix(api): preserve explicit context betas for Anthropic relays 2026-09-08 15:08:12 +08:00
程序员阿江(Relakkes) 59c7857beb feat(im): resume project session history (#1286)
Add shared project and session selection across IM adapters, preserve bindings on
failed restoration, and synchronize permissions with desktop clients.

Fixes #1286
2026-09-08 15:08:12 +08:00
程序员阿江(Relakkes) 82447fcf23 fix(proxy): preserve DeepSeek vision images in OpenAI chat (#1304) 2026-09-08 15:08:12 +08:00
程序员阿江(Relakkes) 5c48991967 fix(openai): stop policy rejection retries and support Astra context
Adapt structured policy-error handling and Astra model metadata from sub2api's recent compatibility updates. Preserve rejection codes through HTTP and SSE, stop retry and non-streaming replay, and add Astra's effective context to the official runtime.

Reference: https://github.com/Wei-Shaw/sub2api/pull/6636 and https://github.com/Wei-Shaw/sub2api/pull/6572. Implementation uses the existing TypeScript runtime and local regression harnesses.
2026-09-08 15:08:12 +08:00
程序员阿江(Relakkes) 6c6c4d08a2 fix(openai): use desktop OAuth credentials for model discovery 2026-09-08 15:08:12 +08:00
程序员阿江-Relakkes 19991d8b01 fix(chat): preserve history while tasks are running (#1296)
Preserve durable history during live updates and rebase stream retry cleanup after hydration.

Fixes #1284
2026-09-08 13:46:26 +08:00
程序员阿江(Relakkes) 405b3d6276 fix(chat): preserve hydrated history during stream retry cleanup 2026-09-08 13:32:43 +08:00
程序员阿江(Relakkes) 1aa4d3ef9c merge: integrate main into history race fix 2026-09-08 13:28:19 +08:00
Relakkes Yang 951cd0be3f fix(desktop): preserve history after runtime config errors (#1303)
Treat rejected runtime selections as non-terminal errors and restore the full transcript when only configuration errors are present. Cover errors before, during, and after history loading, plus active streaming and permission states.
2026-09-08 13:10:48 +08:00
程序员阿江-Relakkes 95834e156e Merge pull request #1301 from vzionv/fix/tool-result-media-preservation
fix(core): preserve tool result media across provider and MCP paths
2026-09-07 23:46:57 +08:00
程序员阿江(Relakkes) cfc15ecbf6 Merge remote-tracking branch 'origin/main' into fix/pr-1301-maintainer 2026-09-07 23:39:51 +08:00
程序员阿江-Relakkes 5a7ad2d309 Merge pull request #1299 from vzionv/fix/mcp-connection-races
fix: prevent MCP reconnects from restoring disabled servers
2026-09-07 23:39:37 +08:00
程序员阿江(Relakkes) a981779996 test(server): synchronize inspection and cancellation regressions 2026-09-07 23:35:01 +08:00
程序员阿江(Relakkes) 5f7c719c96 fix(ci): preserve coverage logs across reporter cleanup 2026-09-07 23:30:57 +08:00
程序员阿江(Relakkes) 4eb7ca42ac fix(ci): install native sidecar workspace dependencies 2026-09-07 23:27:37 +08:00
程序员阿江(Relakkes) bd5689dfad fix(ci): run macOS Swift checks on a required macOS lane 2026-09-07 23:23:32 +08:00
程序员阿江(Relakkes) c6146501cc fix(ci): capture coverage reports through regular file descriptors 2026-09-07 23:20:34 +08:00
程序员阿江(Relakkes) 6cc9fd5f49 test(desktop): await checkpoint reload after conversation rewind 2026-09-07 23:19:16 +08:00
程序员阿江(Relakkes) 2d2fc1b432 test(history): wait for complete records after append rollback 2026-09-07 23:10:14 +08:00
程序员阿江(Relakkes) 8e6664f7e9 test(proxy): cover Anthropic upstream failure traces 2026-09-07 23:09:52 +08:00
程序员阿江(Relakkes) eb5726297c fix(media): harden proxy forwarding and packaged image loading 2026-09-07 23:02:13 +08:00
程序员阿江(Relakkes) 2845d29873 test(mcp): restore mocked modules between regression suites 2026-09-07 22:56:52 +08:00
程序员阿江(Relakkes) 01c0dfc585 fix(mcp): preserve newer connections during stale cleanup 2026-09-07 22:53:10 +08:00