fix(e2e): select JSONL storage for raw session fixtures
This commit is contained in:
1 parent
680ff5cda2
commit
0317e25314
14 files changed
+14
-5
No files matched your search
@@ -43,6 +43,7 @@ describe('dsh run with Agent Teams enabled', () => {
|
||||
'- id: session-persistence-jsonl',
|
||||
' config:',
|
||||
` root: '${sessions}'`,
|
||||
' storage: jsonl',
|
||||
' compression: none',
|
||||
'- insert:',
|
||||
' - id: team-fixture-llm',
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
- id: session-persistence-jsonl
|
||||
config:
|
||||
root: './.sessions'
|
||||
storage: jsonl
|
||||
compression: none
|
||||
|
||||
- insert:
|
||||
|
||||
@@ -100,6 +100,7 @@ describe('three-mode acceptance: real-profile base', () => {
|
||||
'- id: session-persistence-jsonl',
|
||||
' config:',
|
||||
` root: '${sessions}'`,
|
||||
' storage: jsonl',
|
||||
' compression: none',
|
||||
'- insert:',
|
||||
' - id: base-fixture-llm',
|
||||
|
||||
@@ -406,6 +406,7 @@ export async function bootWebOwner(options: WebOwnerOptions = {}): Promise<WebOw
|
||||
'- id: session-persistence-jsonl',
|
||||
' config:',
|
||||
` root: '${sessionsRoot}'`,
|
||||
' storage: jsonl',
|
||||
' compression: none',
|
||||
'- insert:',
|
||||
' - id: base-fixture-llm',
|
||||
|
||||
@@ -14,7 +14,7 @@ import * as Timeline from '@deepseek-ai/dsh-timeline'
|
||||
const [mode, root, id] = process.argv.slice(2)
|
||||
const ctx = new Context()
|
||||
await mountAgentLoopTestDependencies(ctx)
|
||||
await ctx.plugin(Jsonl, { root, compression: 'none' })
|
||||
await ctx.plugin(Jsonl, { root, storage: 'jsonl', compression: 'none' })
|
||||
try {
|
||||
if (mode === 'compete') {
|
||||
try {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
- id: session-persistence-jsonl
|
||||
config:
|
||||
root: './.sessions'
|
||||
storage: jsonl
|
||||
compression: none
|
||||
|
||||
- insert:
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
- id: session-persistence-jsonl
|
||||
config:
|
||||
root: './.sessions'
|
||||
storage: jsonl
|
||||
compression: none
|
||||
|
||||
- insert:
|
||||
|
||||
@@ -39,7 +39,7 @@ d.save('input.docx')
|
||||
{ insert: [{ id: 'skill-office', name: '@deepseek-ai/dsh-skill-office', config: { assetRoot: join(repo, 'packages/skill/skill-office/assets') } }] },
|
||||
{ insert: [{ id: 'workspace-dependencies', name: '@deepseek-ai/dsh-tool-workspace-dependencies', config: { source: runtime! } }] },
|
||||
...officeModelPatches(),
|
||||
{ id: 'session-persistence-jsonl', config: { root: join(cwd, '.sessions'), compression: 'none' } },
|
||||
{ id: 'session-persistence-jsonl', config: { root: join(cwd, '.sessions'), storage: 'jsonl', compression: 'none' } },
|
||||
]))
|
||||
},
|
||||
async inspect(cwd) {
|
||||
|
||||
@@ -93,7 +93,7 @@ export function registerVisualIntentCases(selected: readonly DocumentFormat[]):
|
||||
...officeToolPatches(),
|
||||
{ insert: [{ id: 'workspace-dependencies', name: '@deepseek-ai/dsh-tool-workspace-dependencies', config: { source: runtime! } }] },
|
||||
...officeModelPatches(),
|
||||
{ id: 'session-persistence-jsonl', config: { root: sessionRoot, compression: 'none' } },
|
||||
{ id: 'session-persistence-jsonl', config: { root: sessionRoot, storage: 'jsonl', compression: 'none' } },
|
||||
]))
|
||||
},
|
||||
async inspect(cwd) {
|
||||
|
||||
@@ -25,7 +25,7 @@ async function prepareOffice(cwd: string) {
|
||||
{ insert: [{ id: 'skill-office', name: '@deepseek-ai/dsh-skill-office', config: { assetRoot: join(repo, 'packages/skill/skill-office/assets') } }] },
|
||||
...officeToolPatches(),
|
||||
{ insert: [{ id: 'workspace-dependencies', name: '@deepseek-ai/dsh-tool-workspace-dependencies', config: { source: runtime! } }] },
|
||||
{ id: 'session-persistence-jsonl', config: { root: join(cwd, '.sessions'), compression: 'none' } },
|
||||
{ id: 'session-persistence-jsonl', config: { root: join(cwd, '.sessions'), storage: 'jsonl', compression: 'none' } },
|
||||
]))
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ describe.skipIf(!process.env.DEEPSEEK_API_KEY || !runtime).each(['native', 'ptc'
|
||||
{ insert: [{ id: 'workspace-dependencies', name: '@deepseek-ai/dsh-tool-workspace-dependencies', config: { source: runtime! } }] },
|
||||
...officeModelPatches(),
|
||||
{ id: 'attachment-local', config: { dshHome: imageRoot } },
|
||||
{ id: 'session-persistence-jsonl', config: { root: sessionRoot, compression: 'none' } },
|
||||
{ id: 'session-persistence-jsonl', config: { root: sessionRoot, storage: 'jsonl', compression: 'none' } },
|
||||
]))
|
||||
},
|
||||
async inspect(cwd) {
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
- id: session-persistence-jsonl
|
||||
config:
|
||||
root: './.sessions'
|
||||
storage: jsonl
|
||||
compression: none
|
||||
|
||||
- id: tool-subagent
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
||||
config:
|
||||
root: !!js dshHomePath('sessions')
|
||||
storage: jsonl
|
||||
compression: none
|
||||
|
||||
- insert:
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
- id: session-persistence-jsonl
|
||||
config:
|
||||
root: './.sessions'
|
||||
storage: jsonl
|
||||
compression: none
|
||||
|
||||
- id: tool-subagent
|
||||
|
||||
Reference in new issue
Block a user