mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
feat: add multi-run fusion and session change walkthroughs
Fuse two to five completed multi-run entries into one synthesized session, and explain a session's diff as ordered walkthrough stops cached by diff hash. - Multi-run fusion service, persistence, routes and FuseRunDialog - Change walkthrough service, persistence, routes and ChangesWalkthroughDialog - Shared unified-diff parser plus bounded text generation, json-extract, text-truncate and service-error helpers
This commit is contained in:
1 parent
90c6ccf236
commit
b36d412ca2
66 files changed
+6228
-468
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import type { Migration } from '../migration-runner'
|
||||
import { ensureMultiRunFusionTable } from '../multi-runs'
|
||||
|
||||
const migration: Migration = {
|
||||
id: '202610061700-multi-run-fusions',
|
||||
up(db) {
|
||||
ensureMultiRunFusionTable(db)
|
||||
},
|
||||
down(db) {
|
||||
db.run('DROP TABLE IF EXISTS multi_run_fusions')
|
||||
},
|
||||
}
|
||||
|
||||
export default migration
|
||||
@@ -0,0 +1,14 @@
|
||||
import type { Migration } from '../migration-runner'
|
||||
import { ensureChangeWalkthroughTable } from '../change-walkthroughs'
|
||||
|
||||
const migration: Migration = {
|
||||
id: '202610061701-change-walkthroughs',
|
||||
up(db) {
|
||||
ensureChangeWalkthroughTable(db)
|
||||
},
|
||||
down(db) {
|
||||
db.run('DROP TABLE IF EXISTS change_walkthroughs')
|
||||
},
|
||||
}
|
||||
|
||||
export default migration
|
||||
@@ -27,6 +27,8 @@ import migration025 from './025-session-permission-modes'
|
||||
import migration026 from './026-session-goals'
|
||||
import migration027 from './027-multi-runs'
|
||||
import migration202610061345 from './202610061345-schedule-workspace-mode'
|
||||
import migration202610061700 from './202610061700-multi-run-fusions'
|
||||
import migration202610061701 from './202610061701-change-walkthroughs'
|
||||
|
||||
export const allMigrations: Migration[] = [
|
||||
migration001,
|
||||
@@ -57,4 +59,6 @@ export const allMigrations: Migration[] = [
|
||||
migration026,
|
||||
migration027,
|
||||
migration202610061345,
|
||||
migration202610061700,
|
||||
migration202610061701,
|
||||
]
|
||||
Reference in new issue
Block a user