Commit Graph
92 Commits
Author SHA1 Message Date
liukx0205 2be76f92a2 test(session): report legacy opener failures on stderr
The two-process suite asserts only the error name; the message and cause now
reach the inherited stderr so a CI failure identifies the SQLite error.
2026-11-16 14:41:50 +08:00
liukx0205 107cc67d9d test(session): adapt storage coverage to the current SQLite backend 2026-11-16 14:41:50 +08:00
liukx0205 fa1fe0dc4a test(session): align coverage with the latest SQLite implementation 2026-11-16 14:41:50 +08:00
liukx0205 9e0c4674b0 test(session): cover SQLite persistence and document the provider 2026-11-16 14:41:50 +08:00
liukx0205 968b78e6f7 fix(session): list SQLite plugin locale files in the required order 2026-11-15 03:14:30 +08:00
liukx0205 4df3740c2f fix(session): publish SQLite plugin locale metadata 2026-11-15 01:47:29 +08:00
liukx0205 2839c3532c refactor(session): name SQLite persistence classes after their roles
SqliteSessionPersistence, SqliteStore, and SqliteSessionHandle mirror the
JSONL backend's class names; Trace and Segment stay storage-internal terms.
2026-11-15 01:42:35 +08:00
liukx0205 ed2b030a84 refactor(session): share SQLite routing checks and record validation
One ENOENT helper, one routing-database check owned by the store, one
routing-record reader that validates identity, and one publication failure
wrapper replace the copies spread across the store and the service.
2026-11-15 01:42:35 +08:00
liukx0205 92d1100c24 refactor(session): keep SQLite Segment storage without pending-fork wiring
Fork creation lands with its own creation flow; the pending-create fork
record, handle cut offsets, and seed marker checks that flow would replace
are removed. The Segment schema stays, and cut() locates a fork attachment
through the segment_ancestors index instead of walking the parent chain.
The new schema starts at version 1, and the busy timeout and live batching
limits are named constants.
2026-11-15 01:42:35 +08:00
liukx0205 16180383ca perf(session): trim SQLite write validation, listing reads, and open prechecks
Write paths serialize already-typed in-process events without re-running the
read-side envelope validation. Listing checks routing records by their hashed
file names instead of reading each one and scans SQLite concurrently with the
JSONL listing. Reads decode long histories in yielding chunks. Create checks
only the retained JSONL identity before SQLite's own existence check, and a
queued legacy open no longer repeats the routing check its caller just made.
2026-11-15 01:42:34 +08:00
liukx0205 0d13ccf03b perf(session): reduce SQLite persistence overhead 2026-11-15 01:42:34 +08:00
liukx0205 4bd6b6882e refactor(session): trim persistence internals 2026-11-15 01:42:34 +08:00
liukx0205 69cec93294 chore(session): exclude documentation from storage PR 2026-11-15 01:42:34 +08:00
liukx0205 669c1ceaab refactor(session): separate persistence plugin entrypoints 2026-11-15 01:42:34 +08:00
liukx0205 0d8fbdd956 chore(session): narrow storage PR to implementation 2026-11-15 01:42:34 +08:00
liukx0205 86ecc66742 fix(session): enable WAL before publishing SQLite schema 2026-11-15 01:42:16 +08:00
liukx0205 b467fa6ee5 fix(session): keep SQLite storage opt-in 2026-11-15 01:41:54 +08:00
liukx0205 1347262dcb fix(session): register persistence synchronously before database initialization 2026-11-15 01:41:29 +08:00
liukx0205 ebf98e1f2a docs: update SQLite upgrade guide links 2026-11-15 01:41:29 +08:00
liukx0205 60177171c7 fix(ci): align release version and session smoke fixtures 2026-11-15 01:41:28 +08:00
liukx0205 7ecfef7473 fix(session): repair SQLite CI fixtures and failure coverage 2026-11-15 01:41:28 +08:00
liukx0205 2f6def1164 fix(session): retain JSONL migration and update profile acceptance tests 2026-11-15 01:41:28 +08:00
liukx0205 e9ff4c7091 docs(session): document SQLite storage and refresh catalogs 2026-11-15 01:41:28 +08:00
liukx0205 f798414231 fix(session): coordinate legacy reads and retain closing live events 2026-11-15 01:38:51 +08:00
liukx0205 1dd3ed37d1 refactor(session): move persistence coordination into SQLite package 2026-11-15 01:38:51 +08:00
liukx0205 75b3dbc9d8 fix(session): retain JSONL internals and remove SQLite plugin settings 2026-11-15 01:38:51 +08:00
liukx0205 d67adbfac7 refactor(session): keep SQLite private and simplify initialization 2026-11-15 01:38:51 +08:00
liukx0205 a3c870e3e4 feat(session)!: use SQLite and import legacy JSONL on open 2026-11-15 01:38:51 +08:00
Tianyi Cui 4553c9d957 refactor(session)!: remove SQLite persistence backend 2026-08-31 13:23:07 +08:00
imccyu 3f1b46a5db release(dsh): 0.1.2-alpha.2 2026-08-30 21:19:29 +08:00
Tianyi Cui 2c6ff296af Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events"
This reverts commit 2123b2f418b1c8fbb86dc327b598fb11423da226, reversing
changes made to 3c0b5c68ce697537a21084f9135663017474a2e1.
2026-08-30 12:26:20 +08:00
imccyu b27c8fbc02 chore(deps): refresh package manifests 2026-08-30 02:29:53 +08:00
imccyu 9135a13a8b refactor(consumers): remove cross-package runtime relays 2026-08-30 02:29:52 +08:00
imccyu 6c705be1ce release(dsh): 0.1.2-alpha.1 2026-08-28 00:50:12 +08:00
Yichen Jiang 5661b7a972 Merge pull request #3110 from deepseek-harness/worktree/fix-question-drafts-session-switch
fix(web): preserve ask_user_question drafts across Sessions
2026-08-26 16:10:37 +08:00
Magolor df76bc695b feat(session): reduce persistence storage size (#3048) 2026-08-26 08:01:07 +00:00
Yichen Jiang 4e1c87b1a2 fix(ci): bound Windows process contention 2026-08-26 14:24:24 +08:00
_Kerman d3dd816d67 Merge remote-tracking branch 'origin/master' into dshw/pr-deepseek-harness-deepseek-harness-2731
# Conflicts:
#	packages/util/brand/README.i18n.yaml
#	packages/util/brand/README.md
#	packages/util/brand/README.zh.md
2026-08-26 10:35:38 +08:00
Tianyi Cui 0d551b9f5c docs(session): align SQLite schema evidence 2026-08-26 01:39:53 +08:00
Tianyi Cui 42dc2a46c2 refactor(session): require known event types on read 2026-08-26 00:22:31 +08:00
Magolor 0b5eba0c8d docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
_Kerman f436c888aa Merge remote-tracking branch 'origin/master' into xtr/message-tool-call-id 2026-08-25 20:24:54 +08:00
imccyu 211e6939e3 Revert "Merge pull request #2698 from deepseek-harness/xtr/session-format-migration"
This reverts commit 4b592eb90df20dc53dd12215921d5a9137214777, reversing
changes made to d15d3275d905e4d21229cd70a074388a428189d1.
2026-08-25 15:30:10 +08:00
_Kerman 9365ef496d Merge remote-tracking branch 'origin/master' into xtr/message-tool-call-id
# Conflicts:
#	packages/acp/acp/tests/approval.spec.ts
#	packages/acp/acp/tests/edges.spec.ts
#	packages/api/session-controller/tests/event-script.client.ts
#	packages/client/connection/src/client/fixture.ts
#	packages/client/ui-conversation/src/client/contract/slots.ts
#	packages/client/ui-conversation/src/client/contract/views.ts
#	packages/client/ui-conversation/src/client/index.ts
#	packages/client/ui-conversation/src/client/stores.ts
#	packages/core/agent-loop/tests/loop.spec.ts
#	packages/extensions/cordis-client-runner/src/client/slot-catalog.ts
#	packages/extensions/tool-cordis/src/api-catalog.ts
#	packages/host/apiproxy/src/api-proxy.ts
#	packages/host/apiproxy/src/api/events.ts
#	packages/host/apiproxy/tests/api-proxy-view.spec.ts
#	packages/interaction/user-approval/src/index.ts
#	packages/llm/llm-deepseek/tests/adapter.e2e.ts
#	packages/llm/llm-pi-ai/src/context.ts
#	packages/llm/llm-pi-ai/tests/context.spec.ts
#	packages/llm/llm/tests/content.spec.ts
#	packages/subagent/subagent/tests/continuation.spec.ts
#	packages/subagent/tool-subagent/tests/tool-subagent.spec.ts
#	packages/test-support/llm-replay/tests/llm-replay.spec.ts
#	packages/todo/tool-todo/tests/tool-todo.spec.ts
#	scripts/gen-persistence-catalog.ts
2026-08-25 14:37:44 +08:00
_Kerman d385dfb3e3 Merge remote-tracking branch 'github/master' into xtr/session-format-migration
# Conflicts:
#	docs/config-catalog.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	packages/session/session-persistence-jsonl/src/index.ts
#	packages/session/session-persistence/src/coordinator.ts
#	packages/session/session-persistence/src/index.ts
2026-08-25 12:41:23 +08:00
imccyu 7f4cdc809c refactor(session-persistence): add borrowable prepared sessions 2026-08-25 06:05:50 +08:00
Tianyi Cui 10ba26dcf7 test(sqlite): decouple retry pacing from setup time 2026-08-24 23:06:05 +08:00
_Kerman 2ba721f799 Merge github/master into xtr/session-format-migration 2026-08-22 21:51:30 +08:00
Tianyi Cui 511181684c feat(acp): complete standard v1 automation controls 2026-08-22 18:52:27 +08:00
_Kerman 3cd80a6f3f Merge remote-tracking branch 'origin/xtr/session-format-migration' into xtr/message-tool-call-id
# Conflicts:
#	.agents/notes/implemented/architecture/2026-06-20-branded-ids.i18n.yaml
#	.agents/notes/implemented/architecture/2026-06-20-branded-ids.md
#	.agents/notes/implemented/architecture/2026-06-20-branded-ids.zh.md
#	packages/fs/tool-fs/tests/read-image.spec.ts
#	packages/llm/llm-deepseek/tests/adapter.e2e.ts
#	packages/llm/llm-deepseek/tests/serialize.spec.ts
#	packages/llm/llm-pi-ai/src/context.ts
#	packages/llm/llm-pi-ai/tests/context.spec.ts
#	packages/llm/llm-pi-ai/tests/convert.spec.ts
#	packages/llm/llm/src/message.ts
#	packages/llm/llm/tests/content.spec.ts
2026-08-22 16:03:48 +08:00