@fish-under-sea/dsh-client-ui-task-board-fish 0.0.0-stage → 0.5.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 (165) hide show
  1. package/LICENSE +202 -0
  2. package/README.i18n.yaml +6 -0
  3. package/README.md +202 -2
  4. package/README.zh.md +203 -0
  5. package/cordis.patch.yml +12 -0
  6. package/icon.svg +3 -0
  7. package/lib/client.js +12941 -0
  8. package/lib/client.js.map +1 -0
  9. package/lib/index.js +10471 -0
  10. package/lib/types/client/PluginSettingsCard.d.ts +144 -0
  11. package/lib/types/client/TaskBoardSettingsCard.d.ts +92 -0
  12. package/lib/types/client/apply-guard.d.ts +25 -0
  13. package/lib/types/client/board/ClampedMarkdown.d.ts +3 -0
  14. package/lib/types/client/board/ConfirmDialog.d.ts +15 -0
  15. package/lib/types/client/board/EditTaskModal.d.ts +17 -0
  16. package/lib/types/client/board/LinkSubtaskModal.d.ts +14 -0
  17. package/lib/types/client/board/NewTaskModal.d.ts +26 -0
  18. package/lib/types/client/board/TagManagerModal.d.ts +26 -0
  19. package/lib/types/client/board/TaskBoard.d.ts +26 -0
  20. package/lib/types/client/board/TaskCard.d.ts +36 -0
  21. package/lib/types/client/board/TaskDetail.d.ts +9 -0
  22. package/lib/types/client/board/TaskForm.d.ts +72 -0
  23. package/lib/types/client/board/VerificationReport.d.ts +23 -0
  24. package/lib/types/client/board/card-view.d.ts +113 -0
  25. package/lib/types/client/board/icons.d.ts +32 -0
  26. package/lib/types/client/board/overlay.d.ts +69 -0
  27. package/lib/types/client/board/parse-model-pref.d.ts +4 -0
  28. package/lib/types/client/board/preset-label.d.ts +22 -0
  29. package/lib/types/client/board/status-key.d.ts +19 -0
  30. package/lib/types/client/board/task-markdown.d.ts +19 -0
  31. package/lib/types/client/host-api.d.ts +63 -0
  32. package/lib/types/client/index.d.ts +128 -0
  33. package/lib/types/client/locales.d.ts +443 -0
  34. package/lib/types/client/main-session.d.ts +32 -0
  35. package/lib/types/client/native-panel.d.ts +48 -0
  36. package/lib/types/client/plugin-card-seat.d.ts +108 -0
  37. package/lib/types/client/schedule-presets.d.ts +10 -0
  38. package/lib/types/client/schedule-zone.d.ts +97 -0
  39. package/lib/types/client/seats.d.ts +18 -0
  40. package/lib/types/client/service.d.ts +32 -0
  41. package/lib/types/client/settings-entry-form.d.ts +49 -0
  42. package/lib/types/client/settings-form.d.ts +213 -0
  43. package/lib/types/core/controller.d.ts +373 -0
  44. package/lib/types/core/degraded-reason.d.ts +46 -0
  45. package/lib/types/core/extension.d.ts +283 -0
  46. package/lib/types/core/freeze-snapshot.d.ts +71 -0
  47. package/lib/types/core/handover.d.ts +70 -0
  48. package/lib/types/core/issue-form.d.ts +16 -0
  49. package/lib/types/core/package-name.d.ts +9 -0
  50. package/lib/types/core/poll-cadence.d.ts +31 -0
  51. package/lib/types/core/schedule.d.ts +124 -0
  52. package/lib/types/core/session-reuse.d.ts +24 -0
  53. package/lib/types/core/store.d.ts +64 -0
  54. package/lib/types/core/subtask.d.ts +141 -0
  55. package/lib/types/core/tasks.d.ts +601 -0
  56. package/lib/types/core/use-cases/task-archive.d.ts +20 -0
  57. package/lib/types/core/use-cases/task-create.d.ts +27 -0
  58. package/lib/types/core/use-cases/task-delete.d.ts +27 -0
  59. package/lib/types/core/use-cases/task-parent.d.ts +21 -0
  60. package/lib/types/core/use-cases/task-schedule.d.ts +96 -0
  61. package/lib/types/core/use-cases/task-tag.d.ts +48 -0
  62. package/lib/types/core/use-cases/task-update.d.ts +56 -0
  63. package/lib/types/core/verification-budget.d.ts +52 -0
  64. package/lib/types/core/verification.d.ts +753 -0
  65. package/lib/types/core/workspace-target.d.ts +41 -0
  66. package/lib/types/dsh-home.d.ts +16 -0
  67. package/lib/types/host/agent-tools.d.ts +27 -0
  68. package/lib/types/host/extension-registry.d.ts +111 -0
  69. package/lib/types/host/llm-dispatch.d.ts +63 -0
  70. package/lib/types/host/verification-gate.d.ts +95 -0
  71. package/lib/types/host/verification-runner.d.ts +139 -0
  72. package/lib/types/host/workspace-evidence.d.ts +53 -0
  73. package/lib/types/host-ai.d.ts +51 -0
  74. package/lib/types/host-ledger.d.ts +385 -0
  75. package/lib/types/host-routes.d.ts +36 -0
  76. package/lib/types/host-runner.d.ts +252 -0
  77. package/lib/types/host-service.d.ts +379 -0
  78. package/lib/types/http.d.ts +59 -0
  79. package/lib/types/index.d.ts +322 -0
  80. package/lib/types/loopback.d.ts +24 -0
  81. package/lib/types/mount-once.d.ts +55 -0
  82. package/lib/types/power-inhibitor.d.ts +73 -0
  83. package/lib/types/protocol.d.ts +212 -0
  84. package/lib/types/tool-surface.d.ts +71 -0
  85. package/package.json +107 -4
  86. package/src/client/PluginSettingsCard.tsx +564 -0
  87. package/src/client/TaskBoardSettingsCard.tsx +539 -0
  88. package/src/client/apply-guard.ts +35 -0
  89. package/src/client/board/ClampedMarkdown.tsx +69 -0
  90. package/src/client/board/ConfirmDialog.tsx +44 -0
  91. package/src/client/board/EditTaskModal.tsx +110 -0
  92. package/src/client/board/LinkSubtaskModal.tsx +97 -0
  93. package/src/client/board/NewTaskModal.tsx +718 -0
  94. package/src/client/board/TagManagerModal.tsx +235 -0
  95. package/src/client/board/TaskBoard.tsx +558 -0
  96. package/src/client/board/TaskCard.tsx +315 -0
  97. package/src/client/board/TaskDetail.tsx +985 -0
  98. package/src/client/board/TaskForm.tsx +264 -0
  99. package/src/client/board/VerificationReport.tsx +322 -0
  100. package/src/client/board/card-view.ts +220 -0
  101. package/src/client/board/icons.tsx +89 -0
  102. package/src/client/board/overlay.tsx +189 -0
  103. package/src/client/board/parse-model-pref.ts +35 -0
  104. package/src/client/board/preset-label.ts +44 -0
  105. package/src/client/board/status-key.ts +41 -0
  106. package/src/client/board/task-markdown.module.css +137 -0
  107. package/src/client/board/task-markdown.tsx +106 -0
  108. package/src/client/board-settings.module.css +66 -0
  109. package/src/client/board.module.css +1837 -0
  110. package/src/client/css-modules.d.ts +5 -0
  111. package/src/client/host-api.ts +336 -0
  112. package/src/client/index.ts +501 -0
  113. package/src/client/locales.ts +905 -0
  114. package/src/client/main-session.ts +43 -0
  115. package/src/client/native-panel.tsx +140 -0
  116. package/src/client/plugin-card-seat.ts +199 -0
  117. package/src/client/schedule-presets.ts +13 -0
  118. package/src/client/schedule-zone.ts +233 -0
  119. package/src/client/seats.tsx +58 -0
  120. package/src/client/service.ts +94 -0
  121. package/src/client/settings-card.module.css +444 -0
  122. package/src/client/settings-entry-form.ts +142 -0
  123. package/src/client/settings-form.ts +468 -0
  124. package/src/core/controller.ts +871 -0
  125. package/src/core/degraded-reason.ts +81 -0
  126. package/src/core/extension.ts +376 -0
  127. package/src/core/freeze-snapshot.ts +213 -0
  128. package/src/core/handover.ts +132 -0
  129. package/src/core/issue-form.ts +19 -0
  130. package/src/core/package-name.ts +9 -0
  131. package/src/core/poll-cadence.ts +41 -0
  132. package/src/core/schedule.ts +363 -0
  133. package/src/core/session-reuse.ts +40 -0
  134. package/src/core/store.ts +371 -0
  135. package/src/core/subtask.ts +341 -0
  136. package/src/core/tasks.ts +843 -0
  137. package/src/core/use-cases/task-archive.ts +91 -0
  138. package/src/core/use-cases/task-create.ts +110 -0
  139. package/src/core/use-cases/task-delete.ts +43 -0
  140. package/src/core/use-cases/task-parent.ts +65 -0
  141. package/src/core/use-cases/task-schedule.ts +251 -0
  142. package/src/core/use-cases/task-tag.ts +110 -0
  143. package/src/core/use-cases/task-update.ts +126 -0
  144. package/src/core/verification-budget.ts +115 -0
  145. package/src/core/verification.ts +1594 -0
  146. package/src/core/workspace-target.ts +59 -0
  147. package/src/dsh-home.ts +42 -0
  148. package/src/host/agent-tools.ts +762 -0
  149. package/src/host/extension-registry.ts +509 -0
  150. package/src/host/llm-dispatch.ts +87 -0
  151. package/src/host/verification-gate.ts +487 -0
  152. package/src/host/verification-runner.ts +702 -0
  153. package/src/host/workspace-evidence.ts +176 -0
  154. package/src/host-ai.ts +158 -0
  155. package/src/host-ledger.ts +1826 -0
  156. package/src/host-routes.ts +306 -0
  157. package/src/host-runner.ts +755 -0
  158. package/src/host-service.ts +1112 -0
  159. package/src/http.ts +127 -0
  160. package/src/index.ts +722 -0
  161. package/src/loopback.ts +63 -0
  162. package/src/mount-once.ts +142 -0
  163. package/src/power-inhibitor.ts +321 -0
  164. package/src/protocol.ts +591 -0
  165. package/src/tool-surface.ts +95 -0
@@ -0,0 +1,443 @@
1
+ /**
2
+ * Task-board copy: zh-first dictionaries with an English fallback, selected
3
+ * by the document language. Kept dependency-free (no dsh locale service) so
4
+ * the DOM-injected entry row and the standalone board tree share one tiny
5
+ * lookup.
6
+ */
7
+ /** zh dictionary (key-set source of truth). */
8
+ export declare const zh: {
9
+ 'entry.label': string;
10
+ 'board.title': string;
11
+ 'board.close': string;
12
+ 'board.new': string;
13
+ 'board.search': string;
14
+ 'board.empty': string;
15
+ 'board.filterAll': string;
16
+ 'board.archive': string;
17
+ 'board.archiveView': string;
18
+ 'board.backToBoard': string;
19
+ 'archive.empty': string;
20
+ 'board.status': string;
21
+ 'board.status.backlog': string;
22
+ 'board.status.todo': string;
23
+ 'board.status.running': string;
24
+ 'board.status.done': string;
25
+ 'board.status.failed': string;
26
+ 'board.runs': string;
27
+ 'board.pending': string;
28
+ 'board.created': string;
29
+ 'board.hostError': string;
30
+ 'board.hostError.notMounted': string;
31
+ 'board.hostError.ledgerLocked': string;
32
+ 'board.hostError.degraded': string;
33
+ 'board.hostError.unauthorized': string;
34
+ 'board.hostError.forbidden': string;
35
+ 'board.hostError.locked': string;
36
+ 'board.hostError.timeout': string;
37
+ 'board.hostError.unreachable': string;
38
+ 'board.hostError.unexpected': string;
39
+ 'board.project': string;
40
+ 'board.projectAll': string;
41
+ 'board.projectNew': string;
42
+ 'board.projectNewPath': string;
43
+ 'board.projectNewPathPlaceholder': string;
44
+ 'board.projectCreate': string;
45
+ 'board.projectCreateFailed': string;
46
+ 'new.aiParse': string;
47
+ 'new.aiParseHint': string;
48
+ 'new.aiParsePlaceholder': string;
49
+ 'new.aiParseModel': string;
50
+ 'new.aiParseRun': string;
51
+ 'new.aiParseCancel': string;
52
+ 'new.aiParseEmpty': string;
53
+ 'new.aiParseNoModel': string;
54
+ 'new.aiParseUnavailable': string;
55
+ 'new.aiParseTimeout': string;
56
+ 'new.aiParseFailed': string;
57
+ 'board.retryHost': string;
58
+ 'board.hostMeta': string;
59
+ 'new.section.parse': string;
60
+ 'new.section.content': string;
61
+ 'new.section.labels': string;
62
+ 'new.section.execution': string;
63
+ 'new.section.run': string;
64
+ 'new.section.handover': string;
65
+ 'new.section.schedule': string;
66
+ 'new.summary.none': string;
67
+ 'new.summary.labelCount': string;
68
+ 'new.summary.filled': string;
69
+ 'new.summary.scheduleOff': string;
70
+ 'new.summary.multiRound': string;
71
+ 'new.summary.singleRound': string;
72
+ 'new.title': string;
73
+ 'new.titlePlaceholder': string;
74
+ 'new.description': string;
75
+ 'new.descriptionPlaceholder': string;
76
+ 'new.prompt': string;
77
+ 'new.promptPlaceholder': string;
78
+ 'new.submit': string;
79
+ 'new.createAndRun': string;
80
+ 'new.cancel': string;
81
+ 'new.required': string;
82
+ 'new.freeze': string;
83
+ 'new.freezePlaceholder': string;
84
+ 'detail.freeze': string;
85
+ 'detail.freeze.goal': string;
86
+ 'detail.freeze.progress': string;
87
+ 'detail.freeze.next': string;
88
+ 'detail.freeze.frozenAt': string;
89
+ 'detail.freeze.frozenBy': string;
90
+ 'detail.freeze.redacted': string;
91
+ 'card.frozen': string;
92
+ 'new.handover': string;
93
+ 'new.handoverPlaceholder': string;
94
+ 'detail.handover': string;
95
+ 'detail.handover.bundledAt': string;
96
+ 'detail.handover.references': string;
97
+ 'new.tags': string;
98
+ 'new.tagsHint': string;
99
+ 'new.tagName': string;
100
+ 'new.tagNamePlaceholder': string;
101
+ 'new.tagPrompt': string;
102
+ 'new.tagPromptPlaceholder': string;
103
+ 'new.tagAdd': string;
104
+ 'new.tagRemove': string;
105
+ 'board.tagFilter': string;
106
+ 'board.tagFilterClear': string;
107
+ 'board.tagEmpty': string;
108
+ 'board.tagManage': string;
109
+ 'tags.title': string;
110
+ 'tags.hint': string;
111
+ 'tags.empty': string;
112
+ 'tags.usage': string;
113
+ 'tags.rename': string;
114
+ 'tags.renameLabel': string;
115
+ 'tags.delete': string;
116
+ 'tags.deleteTitle': string;
117
+ 'tags.deleteConfirm': string;
118
+ 'tags.deleteOk': string;
119
+ 'tags.save': string;
120
+ 'tags.mergeHint': string;
121
+ 'tags.renameFailed': string;
122
+ 'tags.deleteFailed': string;
123
+ 'tags.done': string;
124
+ 'detail.permissionPending': string;
125
+ 'detail.permissionConfirm': string;
126
+ 'detail.permissionConfirmed': string;
127
+ 'detail.title': string;
128
+ 'detail.edit': string;
129
+ 'detail.editTags': string;
130
+ 'detail.duplicate': string;
131
+ 'detail.duplicateAndEdit': string;
132
+ 'detail.close': string;
133
+ 'edit.title': string;
134
+ 'edit.save': string;
135
+ 'new.duplicateTitle': string;
136
+ 'new.archiveOriginal': string;
137
+ 'detail.prompt': string;
138
+ 'detail.description': string;
139
+ 'detail.expand': string;
140
+ 'detail.collapse': string;
141
+ 'detail.execution': string;
142
+ 'detail.noExecution': string;
143
+ 'detail.run': string;
144
+ 'detail.rerun': string;
145
+ 'detail.delete': string;
146
+ 'detail.archive': string;
147
+ 'detail.restore': string;
148
+ 'detail.archivedAt': string;
149
+ 'detail.viewSession': string;
150
+ 'detail.noSession': string;
151
+ 'detail.executionStarted': string;
152
+ 'detail.execution.initiator': string;
153
+ 'detail.execution.external': string;
154
+ 'detail.executionEnded': string;
155
+ 'detail.result.succeeded': string;
156
+ 'detail.result.failed': string;
157
+ 'detail.result.cancelled': string;
158
+ 'detail.result.running': string;
159
+ 'delete.title': string;
160
+ 'delete.confirm': string;
161
+ 'delete.ok': string;
162
+ 'delete.cancel': string;
163
+ 'status.move.backlog': string;
164
+ 'status.move.todo': string;
165
+ 'status.move.running': string;
166
+ 'status.move.done': string;
167
+ 'status.move.failed': string;
168
+ 'exec.error.noWorkspace': string;
169
+ 'exec.error.promptRejected': string;
170
+ 'run.failed': string;
171
+ 'time.justNow': string;
172
+ 'detail.schedule': string;
173
+ 'detail.schedule.enable': string;
174
+ 'detail.schedule.cron': string;
175
+ 'detail.schedule.presets': string;
176
+ 'detail.schedule.preset.daily9': string;
177
+ 'detail.schedule.preset.hourly': string;
178
+ 'detail.schedule.preset.tenMin': string;
179
+ 'detail.schedule.preset.weeklyMon9': string;
180
+ 'detail.schedule.nextRun': string;
181
+ 'detail.schedule.lastTriggered': string;
182
+ 'detail.schedule.invalid': string;
183
+ 'detail.schedule.notScheduled': string;
184
+ 'detail.schedule.dueSoon': string;
185
+ 'detail.schedule.timeZone': string;
186
+ 'detail.schedule.timeZoneHost': string;
187
+ 'detail.schedule.timeZoneHostUnknown': string;
188
+ 'detail.schedule.timeZoneHint': string;
189
+ 'detail.schedule.timeZoneSearch': string;
190
+ 'detail.schedule.timeZoneNone': string;
191
+ 'detail.schedule.nextRunOverdue': string;
192
+ 'detail.schedule.duration.days': string;
193
+ 'detail.schedule.duration.hours': string;
194
+ 'detail.schedule.duration.minutes': string;
195
+ 'detail.schedule.duration.seconds': string;
196
+ 'detail.schedule.mode': string;
197
+ 'detail.schedule.mode.cron': string;
198
+ 'detail.schedule.mode.once': string;
199
+ 'detail.schedule.at': string;
200
+ 'detail.schedule.atHint': string;
201
+ 'detail.schedule.atInvalid': string;
202
+ 'detail.schedule.plannedAt': string;
203
+ 'detail.schedule.zoneOnceHint': string;
204
+ 'detail.schedule.maxRuns': string;
205
+ 'detail.schedule.maxRunsUnlimited': string;
206
+ 'detail.schedule.maxRunsValue': string;
207
+ 'detail.schedule.maxRunsCustom': string;
208
+ 'detail.schedule.maxRunsInvalid': string;
209
+ 'detail.schedule.runs': string;
210
+ 'detail.schedule.runsUnlimited': string;
211
+ 'detail.schedule.remaining': string;
212
+ 'detail.schedule.cancel': string;
213
+ 'detail.schedule.ended': string;
214
+ 'detail.schedule.skipped': string;
215
+ 'detail.schedule.stop.fired': string;
216
+ 'detail.schedule.stop.limit': string;
217
+ 'detail.schedule.stop.no-target': string;
218
+ 'detail.schedule.stop.missed': string;
219
+ 'detail.schedule.stop.busy': string;
220
+ 'detail.schedule.stop.permission': string;
221
+ 'detail.schedule.stop.launch-failed': string;
222
+ 'card.scheduled': string;
223
+ 'card.scheduledOnce': string;
224
+ 'new.workspace': string;
225
+ 'new.agentPreset': string;
226
+ 'new.permission': string;
227
+ 'new.model': string;
228
+ 'exec.workspace.recent': string;
229
+ 'exec.mode.inherit': string;
230
+ 'exec.mode.inheritWith': string;
231
+ 'exec.mode.builtinGroup': string;
232
+ 'exec.mode.customGroup': string;
233
+ 'preset.builtin.standard': string;
234
+ 'preset.builtin.ptc': string;
235
+ 'preset.builtin.minimal': string;
236
+ 'preset.builtin.cordis': string;
237
+ 'exec.mode.defaultSuffix': string;
238
+ 'exec.mode.brokenSuffix': string;
239
+ 'exec.mode.removed': string;
240
+ 'exec.permission.default': string;
241
+ 'exec.permission.inheritParent': string;
242
+ 'exec.permission.read-only': string;
243
+ 'exec.permission.workspace-write': string;
244
+ 'exec.permission.danger-full-access': string;
245
+ 'exec.model.default': string;
246
+ 'exec.model.unknown': string;
247
+ 'exec.reuseSession': string;
248
+ 'exec.teamRun': string;
249
+ 'exec.teamRunHint': string;
250
+ 'exec.teamRunUnavailable': string;
251
+ 'exec.reuseSessionHint': string;
252
+ 'exec.goalRun': string;
253
+ 'exec.goalRunHint': string;
254
+ 'exec.skipVerification': string;
255
+ 'exec.skipVerificationHint': string;
256
+ 'detail.executionSettings': string;
257
+ 'exec.hint': string;
258
+ 'settings.title': string;
259
+ 'settings.description': string;
260
+ 'settings.enabled': string;
261
+ 'settings.enabledCardHint': string;
262
+ 'settings.enabledHint': string;
263
+ 'settings.announceToAgent': string;
264
+ 'settings.announceToAgentHint': string;
265
+ 'settings.preventIdleSleep': string;
266
+ 'settings.preventIdleSleepHint': string;
267
+ 'settings.powerStatus': string;
268
+ 'settings.powerBoundary': string;
269
+ 'settings.powerUnknown': string;
270
+ 'settings.powerError': string;
271
+ 'settings.inherit': string;
272
+ 'settings.on': string;
273
+ 'settings.off': string;
274
+ 'settings.overridden': string;
275
+ 'settings.reset': string;
276
+ 'settings.notExposed': string;
277
+ 'settings.readOnly': string;
278
+ 'settings.expand': string;
279
+ 'settings.collapse': string;
280
+ 'settings.save': string;
281
+ 'settings.saving': string;
282
+ 'settings.discard': string;
283
+ 'settings.unsaved': string;
284
+ 'settings.saveFailed': string;
285
+ 'settings.invalidNumber': string;
286
+ 'settings.sessionPollSeconds': string;
287
+ 'settings.sessionPollSecondsHint': string;
288
+ 'settings.maxSubtaskDepth': string;
289
+ 'settings.maxSubtaskDepthHint': string;
290
+ 'settings.maxSubtaskDepthOption': string;
291
+ 'settings.runBehaviorTitle': string;
292
+ 'settings.runBehaviorCardHint': string;
293
+ 'settings.goalRunGlobal': string;
294
+ 'settings.goalRunGlobalHint': string;
295
+ 'settings.goalRunGlobalDisabledTaskOption': string;
296
+ 'settings.goalVerificationTitle': string;
297
+ 'settings.goalVerification': string;
298
+ 'settings.goalVerificationCardHint': string;
299
+ 'settings.goalVerificationHint': string;
300
+ 'settings.goalVerificationModel': string;
301
+ 'settings.goalVerificationModelHint': string;
302
+ 'settings.goalVerificationModelInherit': string;
303
+ 'settings.goalVerificationModelInheritUnknown': string;
304
+ 'settings.goalVerificationEffort': string;
305
+ 'settings.goalVerificationEffortHint': string;
306
+ 'settings.goalVerificationEffortInherit': string;
307
+ 'settings.goalVerificationEffortInheritUnknown': string;
308
+ 'settings.goalVerificationResolved': string;
309
+ 'settings.goalVerificationResolvedModel': string;
310
+ 'settings.goalVerificationResolvedEffort': string;
311
+ 'settings.goalVerificationResolvedNoEffort': string;
312
+ 'settings.goalVerificationResolvedSource': string;
313
+ 'settings.goalVerificationSourceInherit': string;
314
+ 'settings.goalVerificationSourceExplicit': string;
315
+ 'settings.goalVerificationResolvedPreset': string;
316
+ 'settings.goalVerificationRouteMissing': string;
317
+ 'settings.goalVerificationEffortFallback': string;
318
+ 'settings.goalVerificationEffortFallbackNone': string;
319
+ 'settings.goalVerificationModelInvalid': string;
320
+ 'running.executing': string;
321
+ 'running.verifying': string;
322
+ 'running.repairing': string;
323
+ 'running.verificationPassed': string;
324
+ 'running.verificationFailed': string;
325
+ 'running.verificationInvalid': string;
326
+ 'verify.title': string;
327
+ 'verify.status.passed': string;
328
+ 'verify.status.failed': string;
329
+ 'verify.status.exception': string;
330
+ 'verify.status.verifying': string;
331
+ 'verify.status.pending': string;
332
+ 'verify.status.off': string;
333
+ 'verify.status.invalid': string;
334
+ 'verify.status.invalidHeld': string;
335
+ 'verify.attemptInvalid': string;
336
+ 'verify.invalidReason.missing-finding': string;
337
+ 'verify.invalidReason.unlocatable-quote': string;
338
+ 'verify.invalidReason.baseline-finding': string;
339
+ 'verify.invalidReason.vacuous-finding': string;
340
+ 'verify.invalidReason.insufficient-evidence': string;
341
+ 'verify.invalidReason.unknown': string;
342
+ 'verify.invalidCounts': string;
343
+ 'verify.invalidDetail': string;
344
+ 'verify.criterionFindings': string;
345
+ 'verify.criterionFinding': string;
346
+ 'verify.criterionFindingFull': string;
347
+ 'verify.location.task': string;
348
+ 'verify.location.trajectory': string;
349
+ 'verify.location.workspace': string;
350
+ 'verify.location.baseline': string;
351
+ 'verify.location.unknown': string;
352
+ 'verify.detailRemoved': string;
353
+ 'verify.cleanup.cleaned': string;
354
+ 'verify.cleanup.pending': string;
355
+ 'verify.cleanup.failed': string;
356
+ 'verify.cleanup.audit': string;
357
+ 'verify.cleanup.stage.quality': string;
358
+ 'verify.cleanup.stage.invalid': string;
359
+ 'verify.cleanup.stage.exception': string;
360
+ 'verify.cleanup.stage.budget': string;
361
+ 'verify.summary': string;
362
+ 'verify.criteria': string;
363
+ 'verify.criterion': string;
364
+ 'verify.rounds': string;
365
+ 'verify.judge': string;
366
+ 'verify.judgeNoEffort': string;
367
+ 'verify.judgeInherited': string;
368
+ 'verify.attempt': string;
369
+ 'verify.attemptException': string;
370
+ 'verify.counts': string;
371
+ 'verify.findings': string;
372
+ 'verify.noFindings': string;
373
+ 'verify.evidence': string;
374
+ 'verify.workspaceEvidence': string;
375
+ 'verify.usage': string;
376
+ 'verify.usageIncomplete': string;
377
+ 'verify.finalFailure': string;
378
+ 'verify.applicability.disabled': string;
379
+ 'verify.applicability.goalUnavailable': string;
380
+ 'verify.applicability.skipped': string;
381
+ 'verify.applicability.teamMember': string;
382
+ 'verify.applicability.goalDisabled': string;
383
+ 'verify.effortFallback': string;
384
+ 'verify.thresholdValue': string;
385
+ 'detail.parent': string;
386
+ 'detail.parent.open': string;
387
+ 'detail.subtasks': string;
388
+ 'detail.subtasks.empty': string;
389
+ 'detail.subtasks.add': string;
390
+ 'detail.subtasks.link': string;
391
+ 'detail.subtasks.detach': string;
392
+ 'detail.subtasks.runningLock': string;
393
+ 'detail.subtasks.runHint': string;
394
+ 'detail.subtasks.waiting': string;
395
+ 'detail.subtasks.depthLimit': string;
396
+ 'detail.subtasks.hostOnly': string;
397
+ 'new.subtaskTitle': string;
398
+ 'new.subtaskInherit': string;
399
+ 'link.subtask.title': string;
400
+ 'link.subtask.hint': string;
401
+ 'link.subtask.empty': string;
402
+ 'link.subtask.confirm': string;
403
+ 'card.subtask': string;
404
+ 'card.subtasks': string;
405
+ 'card.subtasksFailed': string;
406
+ 'card.subtasksRunning': string;
407
+ 'card.subtasksBreakdown': string;
408
+ 'card.result.succeeded': string;
409
+ 'card.result.failed': string;
410
+ 'card.result.cancelled': string;
411
+ 'card.declared': string;
412
+ 'card.declaredHint': string;
413
+ 'card.openSession': string;
414
+ 'card.tagsLabel': string;
415
+ 'card.time.created': string;
416
+ 'card.time.started': string;
417
+ 'card.time.settled': string;
418
+ 'card.time.archived': string;
419
+ 'card.time.updated': string;
420
+ 'board.density.compact': string;
421
+ 'board.density.comfortable': string;
422
+ 'board.group.today': string;
423
+ 'board.group.week': string;
424
+ 'board.group.earlier': string;
425
+ 'board.group.expand': string;
426
+ 'board.group.collapse': string;
427
+ 'board.hideSubtasks': string;
428
+ 'board.showSubtasks': string;
429
+ 'board.subtaskFilterHint': string;
430
+ };
431
+ /** en dictionary, complete against the zh key set. */
432
+ export declare const en: Record<keyof typeof zh, string>;
433
+ /** The dictionary key union. */
434
+ /** The dictionary key union. */
435
+ export type TaskBoardKey = keyof typeof zh;
436
+ /** The settings-card slice of the task-board dictionary. */
437
+ export type SettingsCardKey = TaskBoardKey;
438
+ /** Active dictionary, picked by the document language at call time. */
439
+ export declare function dictionary(): Record<TaskBoardKey, string>;
440
+ /** Wire the SDK translate seat; pass undefined to restore the document-language pick. */
441
+ export declare function setRuntimeTranslate(t: ((key: TaskBoardKey, params?: Record<string, string>) => string) | undefined): void;
442
+ /** Translate a key with optional {name} template params. */
443
+ export declare function t(key: TaskBoardKey, params?: Record<string, string>): string;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Main-view Session derivation for the multi-instance Client Session model.
3
+ *
4
+ * The Client Session Controller carries no global "current" selection: view
5
+ * selection belongs to the workspace UI, which owns the main-area reference and
6
+ * publishes it through the catalog's per-source ownership counts
7
+ * (`SessionSummary.retainedBy.mainView`). A plugin that needs the Session the
8
+ * main view shows derives it from that marker instead of the removed
9
+ * `SessionListState.current` field.
10
+ *
11
+ * The marker describes view ownership, not authority. It is the right input for
12
+ * presentation and for deciding which view a navigation targets; it is not a
13
+ * business fallback, because source counts never imply visibility or success.
14
+ * @module dsh-web/shared/main-session
15
+ */
16
+ /** The catalog row subset this helper reads (a `SessionSummary` projection). */
17
+ export interface MainViewOwnedRow<Id extends string = string> {
18
+ /** Catalog row identity. */
19
+ readonly id: Id;
20
+ /** Per-source local ownership counts; absent rows are never owned. */
21
+ readonly retainedBy?: Readonly<Partial<Record<string, number>>> | undefined;
22
+ }
23
+ /**
24
+ * Resolve the Session the main view currently shows.
25
+ *
26
+ * Reads the catalog's rows rather than a per-id retain-info source: ownership
27
+ * counts ride the list snapshot, so this neither allocates observers nor opens
28
+ * history, and a subscription to the list still fires when the selection moves.
29
+ * @param byId - the session catalog's rows (`SessionListState.byId`), when available.
30
+ * @returns the main-view session id, or undefined when the main view shows none.
31
+ */
32
+ export declare function mainViewSessionId<Id extends string>(byId: Readonly<Record<Id, MainViewOwnedRow<Id> | undefined>> | undefined | null): Id | undefined;
@@ -0,0 +1,48 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { Context as ClientContext } from '@deepseek-ai/cordis';
3
+ import { TASK_BOARD_PANEL_ID, type BoardController } from '../core/controller.ts';
4
+ import { type SlotRenderBinding } from './seats.tsx';
5
+ /** The panel id shared by the sidebar row and the main-slot occupant. */
6
+ export { TASK_BOARD_PANEL_ID };
7
+ /**
8
+ * The sidebar row glyph the shell asks for at its own size and active state.
9
+ * The shell owns the button, label, tooltip and rail geometry; this component
10
+ * draws only the glyph, like every other panel row.
11
+ *
12
+ * The glyph carries `data-dsh-panel-entry` because it is the only DOM the
13
+ * panel's own code owns inside that shell-owned row: the L2 contract (skins)
14
+ * resolves which row belongs to which plugin through it, since the shell
15
+ * stamps no per-entry hook of its own (see contracts/semantic-attrs-v1.md).
16
+ * @param props - the shell's icon share: square edge and selection state.
17
+ * @returns the decorative board glyph.
18
+ */
19
+ export declare function TaskBoardPanelIcon({ size }: {
20
+ size: number;
21
+ active: boolean;
22
+ }): React.ReactElement;
23
+ /**
24
+ * The main-slot page. The layout mounts it only while the board is the selected
25
+ * panel, so the conversation keeps the center column untouched the rest of the
26
+ * time; the wrapper carries the pinned `data-dsh-taskboard-view` semantic
27
+ * anchor (L2 contract, skins) and the container query context the board's
28
+ * responsive rules read.
29
+ * @param props - the framework main-slot share plus this entry's injected face.
30
+ * @returns the board page.
31
+ */
32
+ export declare function TaskBoardPanel({ controller, renderSlot }: {
33
+ controller: BoardController;
34
+ /** Child-slot renderer the registration declares (detail + card decoration). */
35
+ renderSlot?: SlotRenderBinding;
36
+ }): ReactNode;
37
+ /**
38
+ * Register the board's sidebar row and center-column page.
39
+ *
40
+ * Both seats are declared by shell plugins this package does not depend on at
41
+ * runtime, so each registration is wrapped in `ctx.slots.inject`: the callback
42
+ * runs only after the owning entry declares the seat, and a shell that never
43
+ * declares it leaves the board simply absent instead of failing boot.
44
+ * @param ctx - client root context (services: slots).
45
+ * @param controller - the board controller the page and the row drive.
46
+ * @returns disposer releasing both registrations.
47
+ */
48
+ export declare function registerTaskBoardPanel(ctx: ClientContext, controller: BoardController): () => void;
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Family plugin-card seat.
3
+ *
4
+ * A family plugin contributes its settings card to whichever plugin-card seat
5
+ * the running host actually renders:
6
+ *
7
+ * - `web-ui.plugin.item` — the list seat declared by the dsh-web-settings
8
+ * group section (this family's own first-level "Web UI plugins" section);
9
+ * - `plugins.bundle.config` — the official keyed seat of the harness's plugin
10
+ * manager page, keyed by the bundle's package name and rendered on that
11
+ * bundle's page. alpha.2 removed the `settings.plugin.item` keyed seat of the
12
+ * `ui-settings-plugins` tab that this helper used before, so a card keyed by
13
+ * its settings namespace has no seat to land in any more.
14
+ *
15
+ * SEAT SELECTION IS NOT A DECLARATION PROBE. The official plugin surface
16
+ * belongs to the harness bundle and declares its seats before any external
17
+ * plugin's `apply()` runs, so "is the official seat declared?" answers yes even
18
+ * in the deployment whose whole point is the family group. Choosing on that
19
+ * probe sends every family card to the official page and leaves the group's own
20
+ * section permanently empty — the family of reports where the section renders
21
+ * its heading and zero cards.
22
+ *
23
+ * The signal that actually distinguishes the two deployments is whether
24
+ * dsh-web-settings is loaded: it is the package that owns the group section and
25
+ * it publishes the `webUiSettings` service during `apply()`, which every
26
+ * family plugin already reads for its settings form. Group loaded -> the family
27
+ * seat; group absent -> the official seat.
28
+ *
29
+ * The decision is re-evaluated on every `slots/changed` because the group may
30
+ * apply after this plugin (the family aggregate orders it first, a profile that
31
+ * installs the group separately need not): the initial contribution goes to the
32
+ * official seat, then moves to the family seat the moment the group's section
33
+ * registers. The entry is disposed before the replacement is registered, so a
34
+ * card is never in two seats at once.
35
+ *
36
+ * The shared tree has no client-SDK dependency, so this module reads its
37
+ * context through the structural shape below; callers pass the plugin's own
38
+ * `ctx`.
39
+ */
40
+ /** The family list seat key. */
41
+ export declare const FAMILY_PLUGIN_CARD_SEAT = "web-ui.plugin.item";
42
+ /** The official keyed plugin-card seat key (the alpha.2 bundle-configuration seat). */
43
+ export declare const OFFICIAL_PLUGIN_CARD_SEAT = "plugins.bundle.config";
44
+ /** The service dsh-web-settings publishes while it is loaded. */
45
+ export declare const FAMILY_GROUP_SERVICE = "webUiSettings";
46
+ /** The slot-registry member this helper uses (structurally satisfied by ctx.slots). */
47
+ export interface PluginCardSlots {
48
+ /** Contribution of one card entry. */
49
+ register(options: never, component: never): unknown;
50
+ }
51
+ /** The slice of the client context a card contribution needs. */
52
+ export interface PluginCardContext {
53
+ slots: PluginCardSlots;
54
+ /** Service lookup; absent on a context double that only models the slots. */
55
+ get?(name: string): unknown;
56
+ /** Event subscription seat; absent on an event-less test double. */
57
+ on?(event: string, listener: (...args: never[]) => void): unknown;
58
+ }
59
+ /** Owner share of a family list-seat card (that seat supplies nothing). */
60
+ export interface SettingsPluginItemOwnerProps {
61
+ /** Marker field: card owner props are intentionally empty. */
62
+ children?: never;
63
+ }
64
+ /** One family plugin's card contribution. */
65
+ export interface PluginCardSeat {
66
+ /**
67
+ * Npm package name of the bundle this card configures; the official keyed
68
+ * seat dispatches on it. Every family package ships its own bundle patch, so
69
+ * a standalone install lists that package as the bundle whose page renders
70
+ * this card.
71
+ */
72
+ bundle: string;
73
+ /** Family list-seat entry id. */
74
+ id: string;
75
+ /** Family list-seat sort order. */
76
+ order?: number;
77
+ /** Family list-seat display label; the official keyed seat carries none. */
78
+ label?: () => string;
79
+ /** Locale namespace the card renders with. */
80
+ locale: string;
81
+ /**
82
+ * Child slots this card declares and renders. Forwarded to whichever seat
83
+ * the host renders; absent for a card that declares none.
84
+ */
85
+ children?: Record<string, unknown>;
86
+ /** Business-face factory of the registration. */
87
+ inject?: () => object;
88
+ /**
89
+ * The card component. Its props type is the seat's composed shape, which is
90
+ * chosen at runtime, so the helper takes it erased; the registrant keeps its
91
+ * own precise typing at the call site.
92
+ */
93
+ component: unknown;
94
+ }
95
+ /**
96
+ * Whether the family group (dsh-web-settings) is loaded in this page. The
97
+ * service is the group package's own contract, so the probe cannot be fooled
98
+ * by a harness release that starts declaring the official seat differently.
99
+ */
100
+ export declare function familyGroupLoaded(ctx: PluginCardContext): boolean;
101
+ /**
102
+ * Contribute one family plugin card to the seat this host renders, following
103
+ * the group if it loads later. The entry is disposed and re-registered on a
104
+ * seat change, never duplicated.
105
+ * @param ctx - client context (its slot registry decides the seat).
106
+ * @param seat - the card contribution.
107
+ */
108
+ export declare function installPluginCard(ctx: PluginCardContext, seat: PluginCardSeat): void;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Shared scheduled-run presets for the schedule editors (the new-task dialog
3
+ * and the task detail panel): cron expression → locale label.
4
+ */
5
+ import type { TaskBoardKey } from './locales.ts';
6
+ /** Common scheduled-run presets (cron → locale label). */
7
+ export declare const SCHEDULE_PRESETS: ReadonlyArray<{
8
+ cron: string;
9
+ label: TaskBoardKey;
10
+ }>;