@sagmans/dsh-tui 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/.agents/skills/dsh-tui-dogfood/SKILL.md +6 -1
  2. package/.agents/skills/dsh-tui-dogfood/scripts/run-plugin-from-worktree.sh +8 -0
  3. package/.agents/skills/dsh-tui-update-models/references/model-wiring.md +2 -2
  4. package/README.md +30 -19
  5. package/cordis.patch.yml +23 -100
  6. package/lib/agent/presets.d.ts.map +1 -1
  7. package/lib/agent/presets.js +8 -3
  8. package/lib/agent/presets.js.map +1 -1
  9. package/lib/compat/probe.js +1 -1
  10. package/lib/compat/probe.js.map +1 -1
  11. package/lib/compat/section.d.ts +8 -1
  12. package/lib/compat/section.d.ts.map +1 -1
  13. package/lib/compat/section.js +3 -2
  14. package/lib/compat/section.js.map +1 -1
  15. package/lib/herdr/client.d.ts +16 -0
  16. package/lib/herdr/client.d.ts.map +1 -1
  17. package/lib/herdr/client.js +60 -19
  18. package/lib/herdr/client.js.map +1 -1
  19. package/lib/herdr/constants.d.ts +11 -0
  20. package/lib/herdr/constants.d.ts.map +1 -1
  21. package/lib/herdr/constants.js +11 -0
  22. package/lib/herdr/constants.js.map +1 -1
  23. package/lib/herdr/reporter.d.ts +8 -0
  24. package/lib/herdr/reporter.d.ts.map +1 -1
  25. package/lib/herdr/reporter.js +58 -1
  26. package/lib/herdr/reporter.js.map +1 -1
  27. package/lib/herdr/state.d.ts +8 -4
  28. package/lib/herdr/state.d.ts.map +1 -1
  29. package/lib/herdr/state.js +10 -6
  30. package/lib/herdr/state.js.map +1 -1
  31. package/lib/host/preset-files.d.ts +27 -0
  32. package/lib/host/preset-files.d.ts.map +1 -0
  33. package/lib/host/preset-files.js +40 -0
  34. package/lib/host/preset-files.js.map +1 -0
  35. package/lib/host/roster.d.ts +17 -0
  36. package/lib/host/roster.d.ts.map +1 -0
  37. package/lib/host/roster.js +42 -0
  38. package/lib/host/roster.js.map +1 -0
  39. package/lib/host/runner.d.ts +15 -0
  40. package/lib/host/runner.d.ts.map +1 -0
  41. package/lib/host/runner.js +17 -0
  42. package/lib/host/runner.js.map +1 -0
  43. package/lib/index.d.ts +4 -1
  44. package/lib/index.d.ts.map +1 -1
  45. package/lib/index.js +5 -2
  46. package/lib/index.js.map +1 -1
  47. package/lib/surface/appearance-preferences.d.ts.map +1 -1
  48. package/lib/surface/appearance-preferences.js +3 -2
  49. package/lib/surface/appearance-preferences.js.map +1 -1
  50. package/lib/surface/preset-choice.d.ts.map +1 -1
  51. package/lib/surface/preset-choice.js +38 -2
  52. package/lib/surface/preset-choice.js.map +1 -1
  53. package/lib/todo-guard.d.ts +17 -0
  54. package/lib/todo-guard.d.ts.map +1 -1
  55. package/lib/todo-guard.js +3 -1
  56. package/lib/todo-guard.js.map +1 -1
  57. package/lib/transcript/tool-calls.d.ts.map +1 -1
  58. package/lib/transcript/tool-calls.js +16 -2
  59. package/lib/transcript/tool-calls.js.map +1 -1
  60. package/package.json +40 -29
  61. package/presets/cordis.patch.yml +14 -0
  62. package/presets/minimal.patch.yml +14 -0
  63. package/presets/ptc.patch.yml +24 -0
  64. package/presets/standard.patch.yml +14 -0
  65. package/themes/deepseek-blue.yaml +6 -4
  66. package/themes/marine-static.yaml +201 -0
  67. package/themes/pine-slope.yaml +203 -0
  68. package/themes/polar-drift.yaml +194 -0
  69. package/themes/wine-thicket.yaml +205 -0
@@ -0,0 +1,205 @@
1
+ # wine-thicket — the shipped table, anchored on the plum #240413.
2
+ #
3
+ # The anchor is a fill weight rather than a text weight, and at 1.03:1 against a
4
+ # dark terminal it is almost exactly the weight of the background itself: it marks
5
+ # the row a picker has selected by its hue rather than by any contrast it could
6
+ # add, which is why the level starts a step lower than the other themes' — the
7
+ # chroma is all this family offers, and the quiet has to come from the neutrals.
8
+ # The whole table is drawn on that one hue, the accent included. Every
9
+ # neutral is the anchor's hue at a low saturation, so the surface reads as one
10
+ # family rather than as grey rows with a pink link on them.
11
+ #
12
+ # The shades hold the shipped table's own ladder — each role takes the same share
13
+ # of the theme's text luminance (muted 0.63, faint 0.42, arg 0.25, accent 0.57,
14
+ # warn 0.61, added 0.56, removed 0.25) — so this theme is dimmer in absolute terms
15
+ # and identical in structure to any other, and a reader who knows one knows this
16
+ # one. Only the level and the chroma are its own.
17
+ #
18
+ # A rose accent sits 25 degrees from the red the surface already means by removed.
19
+ # The two are told apart by weight instead of by hue: the accent is nearly twice
20
+ # that red's luminance and is the only one of them that ever frames text, which is
21
+ # what keeps a diff from reading as chrome. Green and amber sit far from the family
22
+ # and stay where every surface keeps them.
23
+ #
24
+ # Every element below names a palette entry rather than a shade of its own, so
25
+ # the anchor and the accent it lifts to are one line each to move. The three that
26
+ # name a literal say why there.
27
+ #
28
+ # This file is a reference and a layer, not a workspace: it ships inside the
29
+ # package and a new version replaces it. /theme export wine-thicket writes a full copy
30
+ # into your own themes directory to edit.
31
+
32
+ palette:
33
+ default: '#beb0b6' # the anchor's hue at 10% saturation: the level every other shade is a share of
34
+ muted: '#a38b96' # 0.63 of the text's luminance: labels and scaffolding
35
+ faint: '#926f7f' # 0.42: reasoning, which is meant to recede
36
+ accent: '#d56398' # 0.56: the anchor's hue lifted to text weight for headings, links, code, frames
37
+ arg: '#844e67' # 0.25: an argument recedes under the label of the call it belongs to
38
+ warn: '#ba861e' # 0.61, in amber: a call that has not answered
39
+ added: '#399a67' # 0.55, in green: something that arrived
40
+ removed: '#ab3037' # 0.24, in red: something taken away
41
+ user: '#240413' # the anchor itself: the band under a selected row, and one panel border
42
+ assistant: '#beb0b6' # the reply's text stays plain, so the frame is what marks it
43
+
44
+ tokens:
45
+ # A row of the conversation. The reader's own turn keeps its frame and carries
46
+ # no band: a filled row inside that frame reads as a selected row, and the
47
+ # anchor's own weight would swallow the text it is meant to hold.
48
+ transcript.user: { fg: default }
49
+ # A sent prompt keeps the accent shade without inheriting the editor's setting.
50
+ transcript.user.border: { fg: accent }
51
+ # The reply's own frame. It holds the family's hue at container weight rather
52
+ # than the accent the prompt is framed in: the two frames then differ by how
53
+ # loud they are instead of by hue, and a long answer never wears the shade that
54
+ # means "this is what you typed".
55
+ transcript.assistant.border: { fg: '#784c61' }
56
+ transcript.notice: { fg: muted }
57
+ transcript.marker: { fg: muted }
58
+ transcript.reasoning.summary: { fg: faint, italic: true }
59
+ transcript.reasoning.body: { fg: faint }
60
+ transcript.reasoning.hint: { fg: faint, italic: true }
61
+ # A tool card, drawn in layers: every card, then one kind of card.
62
+ # A call is not a warning, so the label takes the accent rather than the amber
63
+ # the surface reserves for a call that has not answered — the label is the
64
+ # loudest thing on the row, and loudness is what the accent is for.
65
+ tool.title: { fg: accent }
66
+ tool.glyph: { fg: accent } # follows the label it sits beside
67
+ tool.skill: { fg: accent } # follows the label it sits beside
68
+ tool.args: { fg: arg } # below the reasoning shade: an argument is quieter than what the call is doing
69
+ tool.stat.added: { fg: added }
70
+ tool.stat.changed: { fg: warn }
71
+ tool.stat.removed: { fg: removed }
72
+ tool.stat.size: { fg: muted }
73
+ tool.stat.separator: { fg: muted }
74
+ tool.detail: { fg: muted }
75
+ tool.hint: { fg: muted }
76
+ tool.failed.title: { fg: removed }
77
+ tool.failed.glyph: { fg: removed }
78
+ # A call still in flight is state, which is amber's job here; the failed row
79
+ # stays red so the two can never be read as each other.
80
+ tool.running.title: { fg: warn }
81
+ tool.running.elapsed: { fg: warn }
82
+ tool.elapsed.done: { fg: muted, italic: true }
83
+ tool.subcall.title: { fg: muted }
84
+ tool.subcall.running: { fg: warn }
85
+ tool.subcall.args: { fg: arg }
86
+ tool.diff.header: { fg: muted }
87
+ tool.diff.hunk: { fg: muted }
88
+ tool.diff.added: { fg: added }
89
+ tool.diff.removed: { fg: removed }
90
+ tool.read.header: { fg: muted }
91
+ tool.read.lineNumber: { fg: muted }
92
+ tool.read.line: { fg: muted }
93
+ tool.search.path: { fg: muted }
94
+ tool.search.lineNumber: { fg: muted }
95
+ tool.search.match: { fg: muted }
96
+ tool.search.truncated: { fg: muted }
97
+ tool.terminal.cwd: { fg: muted }
98
+ tool.terminal.status: { fg: muted }
99
+ tool.terminal.output: { fg: muted }
100
+ tool.web.url: { fg: muted }
101
+ tool.web.source: { fg: muted }
102
+ tool.web.truncated: { fg: muted }
103
+ tool.generic.detail: { fg: muted }
104
+ # A reply, which is markdown, and the diagrams in it.
105
+ markdown.heading: { fg: accent, bold: true }
106
+ markdown.link: { fg: accent, underline: true }
107
+ markdown.linkUrl: { fg: muted }
108
+ markdown.code: { fg: accent }
109
+ markdown.codeBlock: {}
110
+ markdown.codeBlockBorder: { fg: muted }
111
+ markdown.quote: { fg: muted }
112
+ markdown.quoteBorder: { fg: muted }
113
+ markdown.hr: { fg: muted }
114
+ markdown.listBullet: { fg: accent }
115
+ markdown.bold: { bold: true }
116
+ markdown.italic: { italic: true }
117
+ markdown.strikethrough: { strike: true }
118
+ markdown.underline: { underline: true }
119
+ # A fenced diff: the scaffolding recedes, the rows carry the semantic shades,
120
+ # and the characters that changed sit on a band of the row's own colour. The
121
+ # band is a shade derived from that colour rather than a palette entry, so it
122
+ # stays a literal, and the foreground inherits so a palette move carries both.
123
+ markdown.diff.header: { fg: muted }
124
+ markdown.diff.hunk: { fg: muted }
125
+ markdown.diff.context: {}
126
+ markdown.diff.added: { fg: added }
127
+ markdown.diff.removed: { fg: removed }
128
+ markdown.diff.addedEmphasis: { inherit: markdown.diff.added, bg: '#10261b' }
129
+ markdown.diff.removedEmphasis: { inherit: markdown.diff.removed, bg: '#2e1314' }
130
+ markdown.diagram.border: { fg: muted }
131
+ markdown.diagram.text: {}
132
+ markdown.diagram.edge: { fg: accent }
133
+ markdown.diagram.edgeLabel: { fg: muted }
134
+ markdown.diagram.title: { fg: accent, bold: true }
135
+ markdown.diagram.warning: { fg: warn }
136
+ # A list drawn over the transcript.
137
+ picker.title: { bold: true }
138
+ picker.glyph: { bold: true }
139
+ picker.note: { bold: true }
140
+ picker.filter: { fg: muted }
141
+ # A list is read by moving one row, so the rows the cursor is not on recede:
142
+ # the selected row is then found by its own shade rather than by hunting for
143
+ # the mark in front of it, which is what a bold row alone leaves a reader doing.
144
+ picker.row: { fg: muted }
145
+ picker.rowCurrent: { fg: accent, bold: true, bg: user }
146
+ picker.scrollNewer: { fg: muted }
147
+ picker.scrollOlder: { fg: muted }
148
+ picker.hint: { fg: muted }
149
+ picker.cursor: {}
150
+ picker.border: { fg: muted }
151
+ # A question or an approval, which stops the turn until it is answered.
152
+ gate.title: { bold: true }
153
+ gate.glyphApproval: { bold: true }
154
+ gate.glyphQuestion: { bold: true }
155
+ gate.detail: { fg: muted }
156
+ gate.option: {}
157
+ gate.optionCurrent: { bold: true }
158
+ gate.cursor: {}
159
+ gate.hint: { fg: muted }
160
+ # The work panel above the editor. Each panel is a bordered box, so the border
161
+ # is what says which panel a row belongs to and the rows themselves stay quiet.
162
+ dock.goal: { bold: true }
163
+ dock.planMode: { bold: true }
164
+ dock.todos.border: { fg: accent }
165
+ dock.todos.heading: { bold: true }
166
+ dock.todos.pending: { fg: muted }
167
+ dock.todos.inProgress: { fg: muted }
168
+ dock.todos.overflow: { fg: muted }
169
+ dock.subagents.border: { fg: user }
170
+ dock.subagents.heading: { bold: true }
171
+ dock.subagents.running: { fg: muted }
172
+ dock.subagents.overflow: { fg: muted }
173
+ dock.jobs.border: { fg: warn }
174
+ dock.jobs.heading: { bold: true }
175
+ dock.jobs.running: { fg: muted }
176
+ dock.jobs.overflow: { fg: muted }
177
+ # The footer.
178
+ status.prefix: { fg: accent }
179
+ status.back: { fg: accent }
180
+ # A turn in flight is the one state a reader waits on, so it takes the accent
181
+ # and the weight; ready stays quiet because it is where the surface rests.
182
+ status.activity.working: { fg: accent, bold: true }
183
+ status.activity.ready: { fg: muted }
184
+ status.elapsed: { fg: muted }
185
+ status.agentPreset: { fg: muted }
186
+ status.model: { fg: muted }
187
+ status.effort: { fg: muted }
188
+ status.permission: { fg: muted }
189
+ status.context: { fg: muted }
190
+ status.cache: { fg: muted }
191
+ status.stash: { fg: accent }
192
+ status.cwd: { fg: muted }
193
+ status.separator: { fg: muted }
194
+ # The prompt bar.
195
+ # The one border in the surface that is not a divider: it holds what the reader
196
+ # is writing, which is where the brand belongs on a send affordance.
197
+ editor.border: { fg: accent }
198
+ editor.queued: { dim: true, italic: true }
199
+ editor.queued.more: { fg: muted }
200
+ editor.ghost: { dim: true }
201
+ editor.selectList.selectedPrefix: { fg: accent }
202
+ editor.selectList.selectedText: { bold: true }
203
+ editor.selectList.description: { fg: muted }
204
+ editor.selectList.scrollInfo: { fg: muted }
205
+ editor.selectList.noMatch: { fg: muted }