-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcordis.patch.yml
More file actions
70 lines (58 loc) · 2.59 KB
/
Copy pathcordis.patch.yml
File metadata and controls
70 lines (58 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# @deepseek-ai/dsh-tui bundle patch: interactive terminal mode directly over
# dsh-base. It mounts no Host, HTTP server, Web runtime, or browser plugin.
# An ordinary provider plugin injects `cmdlineArgs`, parses this app's flags,
# then the interactive driver creates (or resumes) an Agent and streams its
# durable session events into the terminal.
# Interactive runs never watch or reload their composition.
- id: hmr
disabled: true
- id: system-prompt
config:
persona: >-
You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}. You help the user interactively, keep them informed of your plan as you work, and ask before irreversible actions outside the workspace.
- id: tools
config:
# Keep the same temporary process-wide Code Mode opt-in as the Web surface.
mode: !!js process.env.DSH_TOOLS_MODE
- insert:
# Code Mode is a core execution capability, not a Web component.
- id: code-runtime
name: '@deepseek-ai/dsh-code-runtime-worker-thread'
# Web-parity surfaces that need only the shared service (no browser):
# per-message Like/Dislike (`/feedback`) and session transcript export
# (`/export`). Both live in the base package closure. Feedback needs the
# JSON storage stack the web profile also mounts, so we bring it along.
- id: storage
name: '@deepseek-ai/dsh-storage'
- id: storage-json
name: '@deepseek-ai/dsh-storage-json'
config:
root: !!js dshHomePath('storages')
- id: storage-domain
name: '@deepseek-ai/dsh-storage-domain'
config:
backend: json
# The web asks the user through `ask_user_question`; the TUI mounts the
# same model-facing Consumer so the terminal answers it (plan review too).
- id: tool-ask-user
name: '@deepseek-ai/dsh-tool-ask-user'
- id: message-feedback
name: '@deepseek-ai/dsh-message-feedback'
config:
maxNoteBytes: 8192
- id: session-log-download
name: '@deepseek-ai/dsh-session-log-export'
# The interactive app's command-line provider.
- id: tui-startup
name: '@deepseek-ai/dsh-tui/startup'
# Reads its resolved app configuration from the tuiStartup provider.
- id: tui-runner
name: '@deepseek-ai/dsh-tui'
inject: [tuiStartup]
config:
workspace: !!js ctx.tuiStartup.workspace ?? process.cwd()
resumeSessionId: !!js ctx.tuiStartup.resumeSessionId
model: !!js ctx.tuiStartup.model
permission: !!js ctx.tuiStartup.permission
noIntro: !!js ctx.tuiStartup.noIntro ?? false
fresh: !!js ctx.tuiStartup.fresh ?? false