fix(experimental): align worktree fixtures and catalogs with current runtime
This commit is contained in:
1 parent
b26f8eadd4
commit
171cf5d70f
22 files changed
+414
-113
No files matched your search
@@ -27,7 +27,6 @@ import LocalSubprocessRuntime from '@deepseek-ai/dsh-subprocess-local'
|
||||
import LocalFileSystem from '@deepseek-ai/dsh-fs-local'
|
||||
import WorkingDirectory from '@deepseek-ai/dsh-working-directory'
|
||||
import * as ToolWorkingDirectory from '@deepseek-ai/dsh-tool-working-directory'
|
||||
import type WorktreeService from '@deepseek-ai/dsh-experimental-worktree'
|
||||
import * as ToolWorktree from '@deepseek-ai/dsh-experimental-tool-worktree'
|
||||
import { AttachmentStore } from '@deepseek-ai/dsh-attachment'
|
||||
import type { ImageAttachmentLimits, ImageAttachmentRef, SaveImageAttachment, StoredImageAttachment } from '@deepseek-ai/dsh-attachment'
|
||||
@@ -629,7 +628,7 @@ const TOOL_PACKAGES: ToolPackage[] = [
|
||||
async mount(ctx) {
|
||||
ctx.provide('worktrees', {
|
||||
create: () => Promise.reject(new Error('gen-tool-catalog: worktree creation is unavailable during schema harvest')),
|
||||
} as unknown as WorktreeService)
|
||||
})
|
||||
await ctx.plugin(ToolWorktree)
|
||||
},
|
||||
note: 'Explicit experimental composition only. Creates a new branch and checkout from a pinned local commit under existing write permissions, then changes the Session directory. Leaving retains the branch and checkout.',
|
||||
|
||||
Reference in new issue
Block a user