Commit Graph
100 Commits
Author SHA1 Message Date
Tianyi Cui 5219b36110 Merge pull request #6498 from deepseek-harness/turtle/approval-never-wording-7e59b56e7f5c
fix(user-approval): describe approval policies by meaning in model-visible text
2026-10-22 23:47:16 +08:00
Tianyi Cui 035fcb88dc Preserve SDK approval wording fixtures after rebase
Co-authored-by: Tianyi Cui <[email protected]>
2026-10-22 23:13:19 +08:00
Tianyi Cui 2a48671b83 Merge pull request #6472 from deepseek-harness/worktree/session-copy-markdown
feat(session): copy sessions as Markdown with source paths
2026-10-21 18:49:57 +08:00
Tianyi Cui 84cfd5f76d Merge master 98fb6ddd into session-copy-markdown
Integrate exact origin/master 98fb6dddb86a9f631054417d48bfc07c06e95a68. Adopt master's canonical narrow-layout overflow probe instead of the branch-local equivalent. Preserve Session Markdown copy, source-path metadata, and locale integration.
2026-10-21 18:10:46 +08:00
Tianyi Cui 0891effd68 test(web): probe locale dialog scroll container
Anchor the desktop-locale overflow probe to the locale selector's nearest horizontal scroll container instead of nav's next sibling. Master moved the settings header between nav and options, so the old positional target put the probe in a fixed header row and the negative control could not overflow.
2026-10-21 18:04:02 +08:00
Tianyi Cui c7278aa4d5 fix(message-quotes): complete Japanese locale registration
Add the Japanese quote action dictionary and register it with the existing Chinese and English dictionaries. The package entered master alongside the Japanese locale lane without a Japanese entry.
2026-10-21 17:46:00 +08:00
Tianyi Cui af4360620e test(snapshots): align background wait present schema
The SDK background-wait-steer fixture was authored on a branch that predates master's present description change (1ec651f2098). Refresh only its expected present tool description; committed Session generations and product behavior stay unchanged.
2026-10-21 17:41:05 +08:00
Tianyi Cui e4e1411a5c test(session-log-export): remove redundant label assertion
Keep the rendered Header and browser scenarios as the copy-action coverage, and describe the backend converter as used by the Session Markdown copy Host route.
2026-10-21 17:24:56 +08:00
Tianyi Cui 0ab1fcb674 fix(session-log-export): clarify Session Markdown copy label
Rename the Header menu item to Copy Session as Markdown (复制会话为 Markdown) so it states that the whole selected Session is copied. Update Header selectors, browser coverage, controller JSDoc, and the bilingual README; success toast wording stays unchanged.
2026-10-21 17:18:56 +08:00
Tianyi Cui 957379e8a9 test(session-log-export): adapt merged input actions
Add the master-introduced insertQuote input action to the isolated Header action fixture so the merged client aggregate typechecks.
2026-10-21 17:18:51 +08:00
Tianyi Cui 7a3c24738e Merge master b9bdd062 into session-copy-markdown
Integrate exact origin/master b9bdd062c8ffd3dc234ebea7f5dff55ff26d87ad. Preserve the Session Markdown copy lifecycle and dictionary while adopting the Japanese locale, regenerate the client slot catalog, and add the Japanese quote-removal string required by the merged locale type.
2026-10-21 17:10:56 +08:00
Tianyi Cui b416e32847 test(office): scope render checks to the exported image 2026-10-19 04:11:05 +08:00
Tianyi Cui ce7414da14 test(office): report render routing failure evidence 2026-10-19 03:58:22 +08:00
Tianyi Cui 36a80c41b3 test(web): explain the adjacent fork clock pins 2026-10-19 03:35:05 +08:00
Tianyi Cui bde18e994e test(web): align fork snapshot clocks 2026-10-19 03:27:12 +08:00
Tianyi Cui 687aa118f1 feat(session-query): export backend Session Markdown converter
Expose the pure Host formatSessionMarkdown(events, sourcePath?) converter at the package entry. Persistence stat/list now report the selected materialized JSONL artifact path, and the Markdown copy route includes that exact optional path after the title. Frontend progressive display and Session format remain unchanged.
2026-10-19 01:46:27 +08:00
Tianyi Cui e16c52f610 fix(session-log-export): keep Markdown route path internal
Remove the unused SESSION_MARKDOWN_EXPORT_PATH package re-export while keeping the internal routes definition and Host import. Read the constant directly from routes in the same-package route test. SESSION_LOG_EXPORT_PATH remains public.
2026-10-18 18:28:26 +08:00
Tianyi Cui 8888db9545 docs(session-log-export): correct Markdown copy facts
Describe the direct session/title field read and same-click deferred clipboard request, cover Markdown copy in the selection guidance, and tighten the Chinese Blob and compaction wording. Re-record the README pair.
2026-10-18 18:05:37 +08:00
Tianyi Cui e0b32d1d90 docs(session-log-export): describe Markdown copy routes
Update the client and Host module descriptions and apply JSDoc to mention the authenticated Markdown copy route alongside ZIP download and feedback. Comment-only change.
2026-10-18 17:56:42 +08:00
Tianyi Cui e671c9e28d fix(session-log-export): address Markdown copy review
Preserve click activation by admitting a promised ClipboardItem write synchronously, own its preparation and write promises, and distinguish preparation from clipboard failures. Fold the title from the single readSession snapshot, preserve indentation, close unfinished assistant fences, and restore the shell.overlay props contract. Update the README pair and browser fixture inventory.
2026-10-18 17:52:54 +08:00
Tianyi Cui 36c89de7bd test(web): include copy Markdown fixture in inventory
The navigation-panes recorded-fixture inventory now lists the owner-local copy-markdown.expected.md file. No assertion was weakened; no snapshot or production code changed.
2026-10-18 17:13:54 +08:00
Tianyi Cui 6118b51fa8 test(session-log-export): remove unknown casts from fixtures
Type the Header and toast test fixtures with the standard Session/global props they render with, and read slot injections through a narrow object helper. Prune the four retired unknown-cast baseline entries. No product behavior changes.
2026-10-18 17:00:45 +08:00
Tianyi Cui ae22f461f3 feat(session-log-export): add Session Markdown copy
Add Copy as Markdown to the Session Header more-actions menu. A new authenticated /api/session.markdown route reads complete live-preferred history through sessionQuery.readSession and renders append-only user, assistant, and tool events as Markdown. Compaction surface replacements, reasoning, injected context, and request metadata stay out of the transcript. One plugin-wide copy operation owns the browser clipboard, with an overlay toast for success and failure.
2026-10-18 16:51:13 +08:00
Tianyi Cui aab314e40e Merge pull request #6465 from deepseek-harness/worktree/unsigned-desktop-local-branding
feat(desktop): use local branding for unsigned packages
2026-10-18 16:15:21 +08:00
Tianyi Cui 5d98573852 Merge remote-tracking branch 'origin/master' into worktree/unsigned-desktop-local-branding
# Conflicts:
#	docs/development.i18n.yaml
2026-10-18 15:53:01 +08:00
Tianyi Cui b98127cf02 Merge pull request #6457 from deepseek-harness/worktree/session-build-generation-prototype
build: generate metadata before package compilation
2026-10-18 15:45:48 +08:00
Tianyi Cui f4260fc2f7 test(desktop): cover unsigned packaging failure and cleanup 2026-10-18 15:31:23 +08:00
Tianyi Cui 091d6ed6be feat(desktop): use local branding for unsigned packages 2026-10-18 15:06:16 +08:00
Tianyi Cui 4d33f27225 Prepare metadata in public library builds 2026-10-18 14:29:23 +08:00
Tianyi Cui 1badf91762 Reuse source alias setup in metadata regression tests 2026-10-18 14:29:23 +08:00
Tianyi Cui 9b310b2b4b Generate source metadata before package compilation 2026-10-18 14:29:23 +08:00
Tianyi Cui dfa1482c75 Merge pull request #6456 from deepseek-harness/worktree/review-local-simplification
docs(review): test necessity before choosing feature ownership
2026-10-18 14:14:42 +08:00
Tianyi Cui 29a0861375 Merge pull request #6450 from deepseek-harness/worktree/headless-auto-review
feat(headless): support unattended Auto review
2026-10-18 11:59:31 +08:00
Tianyi Cui f38b890cc5 fix(auto-review): keep inherited creation prompts as facts 2026-10-18 11:44:14 +08:00
Tianyi Cui bdba350b47 test(auto-review): align Web checks with unified user authority 2026-10-18 11:44:14 +08:00
Tianyi Cui dee2989782 docs(headless): record remaining simplification proposals 2026-10-18 11:44:14 +08:00
Tianyi Cui 55fddb3424 refactor(auto-review): recognize existing user task sources 2026-10-18 11:44:14 +08:00
Tianyi Cui a8963e75a0 docs(headless): record preserved Auto policy on resume 2026-10-18 11:44:14 +08:00
Tianyi Cui e0dffac6fa fix(headless): refine Auto policy reporting and fixtures 2026-10-18 11:44:14 +08:00
Tianyi Cui 04e7e1b45d docs(headless): refresh approval dependency graph 2026-10-18 11:44:14 +08:00
Tianyi Cui 7181effc69 feat(headless): support unattended experimental Auto review 2026-10-18 11:44:14 +08:00
Tianyi Cui d6e6550caf test(auto-review): type the restore timestamp assertion 2026-10-18 11:44:13 +08:00
Tianyi Cui 928c3a872b test(auto-review): pin restore and live reload behavior 2026-10-18 11:44:13 +08:00
Tianyi Cui 4923f3cb4c fix(auto-review): preserve Auto during application shutdown 2026-10-18 11:44:13 +08:00
Tianyi Cui 6403904c3e test(headless): configure policy for the OAR Loader fixture 2026-10-18 11:43:32 +08:00
Tianyi Cui 4db9ed50f8 test(headless): assert parsed policy without config mirrors 2026-10-18 11:13:48 +08:00
Tianyi Cui 5c06a1b917 refactor(headless): read CLI permission selection directly 2026-10-18 11:13:48 +08:00
Tianyi Cui 3ca9c5e623 fix(headless): preserve explicit policy flags in custom profiles 2026-10-18 11:13:48 +08:00
Tianyi Cui 9db5b1e36a test(headless): use typed startup service without a cast 2026-10-18 11:13:48 +08:00
Tianyi Cui cec41e73e0 fix(headless): validate invocation policy across custom profiles 2026-10-18 11:13:48 +08:00
Tianyi Cui 29630d9fa6 feat(headless): support supervised worktree tasks 2026-10-18 11:13:48 +08:00
Tianyi Cui 82e5580545 test(sandbox): cover unsupported policy errors on every host 2026-10-18 11:10:00 +08:00
Tianyi Cui 86baf0c240 test(sandbox): accept bind-mount prevention of root replacement 2026-10-18 11:10:00 +08:00
Tianyi Cui dde160f092 test(sandbox): retain the session workspace regression boundary 2026-10-18 11:10:00 +08:00
Tianyi Cui 64ece4cac1 fix(sandbox): reject redirected and unsupported write grants 2026-10-18 11:10:00 +08:00
Tianyi Cui 07943e1b90 test(ssh): cover session identity with explicit write grants 2026-10-18 11:10:00 +08:00
Tianyi Cui 6b71dcad85 fix(sandbox): support explicit additional writable roots 2026-10-18 11:10:00 +08:00
Tianyi Cui e3518b0ac0 docs(review): clarify extension point and declaration ownership 2026-10-18 10:29:18 +08:00
Tianyi Cui a205710563 docs(review): test necessity before choosing feature ownership 2026-10-18 10:12:02 +08:00
Tianyi Cui e5cac772de Merge pull request #6325 from deepseek-harness/worktree/oar-experimental
feat: add standalone OAR subagent provider and tool
2026-10-18 00:48:15 +08:00
Tianyi Cui 427e3dcd69 feat: add standalone OAR subagent provider and tool 2026-10-18 00:28:33 +08:00
Tianyi Cui c12e805dc7 Merge pinned Pi upgrade base into worker context fix 2026-10-17 23:34:53 +08:00
Tianyi Cui f5fa6e8089 Merge pinned Pi upgrade master into Node 24 base 2026-10-17 23:29:30 +08:00
Tianyi Cui 6b14bac183 Merge pull request #6310 from deepseek-harness/worktree/upgrade-pi-ai-1.2.0
chore(deps): upgrade pi-ai to 1.3.0
2026-10-17 23:13:21 +08:00
Tianyi Cui 443b24cd1b Merge validated Node 24 base into worker context fix 2026-10-17 23:10:55 +08:00
Tianyi Cui 249fc3f9f3 Merge browser CI prerequisites into Node 24 base 2026-10-17 23:05:32 +08:00
Tianyi Cui 6643403536 docs: align Node 24 guide with current release 2026-10-17 23:01:48 +08:00
Tianyi Cui 79a5c00aec Merge master into worktree/oar-node24 2026-10-17 22:59:20 +08:00
Tianyi Cui b9e95fd1e5 docs(upgrade): target rc.2 for the unmerged pi-ai upgrade 2026-10-17 22:44:27 +08:00
Tianyi Cui d6398b3c86 chore(llm): upgrade pi-ai to 1.3.0 2026-10-17 22:44:26 +08:00
Tianyi Cui f9cb7ea9f5 fix(desktop): align runtime patch policy with pi-ai 1.2.0 2026-10-17 22:44:26 +08:00
Tianyi Cui 8fd91f311e chore(deps): upgrade pi-ai to 1.2.0 2026-10-17 22:44:26 +08:00
Tianyi Cui d849cfdd15 test(web): await terminal close before checking process cleanup 2026-10-17 22:43:54 +08:00
Tianyi Cui 9e59ef469f Merge pull request #6432 from deepseek-harness/worktree/fix-acp-account-stdout
fix(acp): keep account catalog diagnostics off stdout
2026-10-17 22:23:28 +08:00
Tianyi Cui ef055d25d0 test(preview): await renderer version effects 2026-10-17 22:09:37 +08:00
Tianyi Cui 64be7f033b docs(web): clarify sidebar hover setup 2026-10-17 22:09:36 +08:00
Tianyi Cui 09b83c3c53 test(web): clear hover before keyboard panel snapshots 2026-10-17 22:09:36 +08:00
Tianyi Cui 6c2c466214 test(web): scope settlement timing to the released question 2026-10-17 22:09:35 +08:00
Tianyi Cui 2f58a68c61 test(web): hold question streaming until the steering snapshot 2026-10-17 22:09:35 +08:00
Tianyi Cui 4edc3e5fcb test: stabilize browser readiness and workflow observations 2026-10-17 22:08:57 +08:00
Tianyi Cui c4bcce7329 test(acp): use shared cleanup for the stdout regression 2026-10-17 21:54:20 +08:00
Tianyi Cui 54af8907ca fix(acp): keep account catalog diagnostics off stdout 2026-10-17 21:54:20 +08:00
Tianyi Cui b1ce8a6e09 Merge pull request #6434 from deepseek-harness/worktree/fix-office-docx-validation
fix(office): stop routine DOCX package validation
2026-10-17 21:50:37 +08:00
Tianyi Cui 6b68baff70 fix(office): stop routine DOCX package validation
Extract the focused Office guidance from PR 5374 and regenerate its recorded skill outputs against the pinned base. Keep the existing real-API content, formatting, and no-package-inspection assertions.
2026-10-17 20:03:50 +08:00
Tianyi Cui 073033b4ea fix(webworker): preserve explicit empty async contexts 2026-10-16 02:28:18 +08:00
Tianyi Cui cfb65d3bb2 fix: validate the Node 24.9 runtime floor 2026-10-15 23:33:49 +08:00
Tianyi Cui c6a59a1ae9 build: require Node.js 24 or newer 2026-10-15 22:51:03 +08:00
Tianyi Cui 7f338ce3be Merge pull request #6272 from deepseek-harness/fix/codex-partial-answer-phase
fix(subagent-codex): accept the partial_answer agent message phase
2026-10-15 20:13:11 +08:00
Tianyi Cui d0286d55d5 Merge pull request #5934 from deepseek-harness/docs/cordis-cleanup-audit
docs(cordis): audit cleanup dependency lifetimes as P0
2026-10-14 15:14:19 +08:00
CreatixChu 983f2a0116 Merge pull request #5035 from deepseek-harness/feat/persistent-ptc
feat(ptc): 支持遵循沙箱策略的 persistent-in-memory 执行
2026-10-10 22:52:46 +08:00
Tianyi Cui dd15a5d066 test(ptc): cover provider unload during policy cleanup
Hold cleanup of an older retained process while a newer call is waiting, then unload the provider. Require the pending call to reject after disposal without starting another process.

Validation: 305 focused tests passed, one skipped; persistent.ts, index.ts, and policy-processes.ts have 100% statements, branches, functions, and lines. Removing the shutdown guard makes the new regression fail.
2026-10-10 22:39:34 +08:00
Tianyi Cui f62483f71f Merge pull request #5990 from deepseek-harness/turtle/worktree-lazy-fetch-d2236b7eb1d9
fix(worktree): disable lazy fetch through GIT_NO_LAZY_FETCH
2026-10-10 22:19:37 +08:00
Tianyi Cui 9d385cd0d9 Merge master into persistent PTC
Preserve the persistent runtime package description with master's alpha.2 version and locale exports. Refresh the two PTC prompt snapshots for the current plan-tool result type.

Validation: full build, 434 focused tests (one skipped), two built-runtime tests, two selected snapshots, package metadata, and all 43 doc-sync checks passed.
2026-10-10 21:55:44 +08:00
Tianyi Cui 926a2c1610 Merge pull request #5958 from deepseek-harness/architecture-review-docs
docs: give architecture review rules a per-artifact home
2026-10-09 23:24:34 +08:00
Tianyi Cui b9863a9e28 fix(ptc): cancel pending runs when Session policy changes
Register calls before awaiting prior process cleanup. Carry policy cancellation into both Node execution modes and retain each admission until its call settles. Track persistent calls during provider disposal as well.

Cover unchanged-mode temporary escalation and policy changes that return to the original mode while cleanup is pending. Document the admission guarantee.

Validation: 308 focused tests passed, one skipped; both changed source files have 100% coverage. Two built-runtime smokes, two selected Session snapshots, all 43 doc-sync gates, and typed lint passed.
2026-10-09 16:43:56 +08:00
Tianyi Cui 70d443903c test(ptc): reproduce policy changes before process launch
Add a parameterized admission regression for per-call and persistent-in-memory execution. Change the Session policy synchronously after submitting the runtime call and require cancellation before spawn.

The two new cases intentionally fail on the reviewed PR #5035 head: execution succeeds with danger-full-access after the Session becomes read-only. The 47 existing host-protocol and policy-process tests pass. No production changes.
2026-10-09 16:10:40 +08:00
Tianyi Cui 0454b67568 Merge pull request #5902 from deepseek-harness/fix/stable-conversation-titles
fix(session-title): keep adequate conversation titles unchanged
2026-10-09 00:24:22 +08:00
Tianyi Cui 353fe00d63 refactor(session-title): separate provider model strategies 2026-10-08 23:37:11 +08:00
Tianyi Cui 03ef39e31f Merge pull request #5792 from deepseek-harness/worktree/full-shell-command-details
fix(client): reveal full shell commands and background call details
2026-10-08 05:32:28 +08:00
Tianyi Cui fc532df69f Merge pull request #5847 from deepseek-harness/worktree/deps-20261007-actions-final
chore(ci): update third-party GitHub Actions
2026-10-07 23:45:02 +08:00