@linxin666/dsh-client-ui-task-board 0.4.8 → 0.4.9
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.
- package/README.i18n.yaml +2 -2
- package/README.md +28 -22
- package/README.zh.md +28 -22
- package/lib/client.js +1435 -682
- package/lib/client.js.map +1 -1
- package/lib/index.js +356 -366
- package/lib/types/client/PluginSettingsCard.d.ts +21 -0
- package/lib/types/client/TaskBoardSettingsCard.d.ts +7 -0
- package/lib/types/client/board/ExecutionLog.d.ts +16 -0
- package/lib/types/client/board/TaskForm.d.ts +4 -0
- package/lib/types/client/board/VerificationReport.d.ts +2 -15
- package/lib/types/client/body-mutations.d.ts +45 -0
- package/lib/types/client/locales.d.ts +42 -6
- package/lib/types/client/suppress-schedule-row.d.ts +86 -0
- package/lib/types/core/controller.d.ts +1 -1
- package/lib/types/core/subtask.d.ts +59 -49
- package/lib/types/core/tasks.d.ts +5 -8
- package/lib/types/core/use-cases/task-update.d.ts +1 -1
- package/lib/types/core/workspace-target.d.ts +23 -3
- package/lib/types/host/launch-admission.d.ts +8 -9
- package/lib/types/host-ledger.d.ts +72 -48
- package/lib/types/host-routes.d.ts +49 -0
- package/lib/types/host-runner.d.ts +20 -10
- package/lib/types/host-service.d.ts +7 -50
- package/lib/types/index.d.ts +61 -63
- package/lib/types/loopback.d.ts +21 -0
- package/lib/types/protocol.d.ts +0 -5
- package/lib/types/tool-surface.d.ts +1 -0
- package/package.json +25 -25
- package/src/client/CardDefaultPresetField.tsx +1 -1
- package/src/client/PluginSettingsCard.tsx +78 -18
- package/src/client/TaskBoardSettingsCard.tsx +68 -25
- package/src/client/board/ExecutionLog.tsx +140 -0
- package/src/client/board/LinkSubtaskModal.tsx +1 -9
- package/src/client/board/NewTaskModal.tsx +2 -11
- package/src/client/board/TaskCard.tsx +45 -23
- package/src/client/board/TaskDetail.tsx +407 -261
- package/src/client/board/TaskForm.tsx +19 -4
- package/src/client/board/VerificationReport.tsx +143 -104
- package/src/client/board/task-markdown.module.css +11 -8
- package/src/client/board-settings.module.css +35 -7
- package/src/client/board.module.css +855 -115
- package/src/client/body-mutations.ts +133 -0
- package/src/client/index.ts +10 -0
- package/src/client/locales.ts +97 -24
- package/src/client/settings-card.module.css +71 -10
- package/src/client/suppress-schedule-row.ts +198 -0
- package/src/core/controller.ts +1 -3
- package/src/core/subtask.ts +81 -76
- package/src/core/tasks.ts +5 -9
- package/src/core/use-cases/task-update.ts +1 -3
- package/src/core/workspace-target.ts +27 -3
- package/src/host/agent-tools.ts +14 -15
- package/src/host/launch-admission.ts +8 -9
- package/src/host-ledger.ts +158 -125
- package/src/host-routes.ts +65 -2
- package/src/host-runner.ts +53 -28
- package/src/host-service.ts +42 -127
- package/src/index.ts +84 -106
- package/src/loopback.ts +32 -0
- package/src/protocol.ts +2 -9
- package/src/tool-surface.ts +1 -0
- package/lib/types/client/board/team-run-promotion.d.ts +0 -26
- package/src/client/board/team-run-promotion.ts +0 -39
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// Generated by scripts/sync-shared.mjs from shared/client/body-mutations.ts. Do not edit this copy; edit the shared source and run "node scripts/sync-shared.mjs".
|
|
2
|
+
/**
|
|
3
|
+
* One `document.body` MutationObserver per page, shared by every family
|
|
4
|
+
* plugin bundle.
|
|
5
|
+
*
|
|
6
|
+
* Family plugins that inject at the DOM level must notice when the shell
|
|
7
|
+
* re-renders around their injected node: the aggregate shell's column shims
|
|
8
|
+
* and any plugin surface still extending the shell from outside the official
|
|
9
|
+
* slot seats. Each consumer used to install its OWN `MutationObserver` on
|
|
10
|
+
* `document.body` with
|
|
11
|
+
* `{ childList: true, subtree: true }`, so a page carrying N family plugins
|
|
12
|
+
* paid N native observers and N callback invocations for EVERY mutation batch
|
|
13
|
+
* the app produced — chat token streaming alone produces many per second, and
|
|
14
|
+
* the count grows with the number of installed plugins.
|
|
15
|
+
*
|
|
16
|
+
* This module keeps exactly ONE body observer per page. The registry lives on
|
|
17
|
+
* `globalThis` under a `Symbol.for` key, so the per-package generated copies
|
|
18
|
+
* of this file (scripts/sync-shared.mjs) and separately bundled plugins all
|
|
19
|
+
* reach the same hub at runtime instead of one hub per module instance.
|
|
20
|
+
* Record subscribers receive the mutations accumulated since the last flush.
|
|
21
|
+
* Consumers that only re-check their DOM use subscribeBodyInvalidations:
|
|
22
|
+
* when all subscribers use that path, the hub retains no mutation records
|
|
23
|
+
* (or detached subtrees) while a background page's animation frames pause.
|
|
24
|
+
* Both paths run at most once per frame. The last subscriber disconnects the
|
|
25
|
+
* observer, cancels the pending frame and releases its records.
|
|
26
|
+
*
|
|
27
|
+
* Failure policy: without a DOM or `MutationObserver` the subscription is a
|
|
28
|
+
* no-op disposer (the same silence the per-consumer observers had), and when
|
|
29
|
+
* `requestAnimationFrame` is unavailable the flush runs synchronously so a
|
|
30
|
+
* subscriber is never silently dropped. A throwing subscriber cannot stop the
|
|
31
|
+
* others.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/** The page-wide hub: one observer plus its subscribers and pending records. */
|
|
35
|
+
interface BodyMutationHub {
|
|
36
|
+
observer: MutationObserver
|
|
37
|
+
subscribers: Set<(records: MutationRecord[]) => void>
|
|
38
|
+
pending: MutationRecord[]
|
|
39
|
+
scheduled: boolean
|
|
40
|
+
frame?: number
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** Cross-bundle registry key; `Symbol.for` so every module copy agrees. */
|
|
44
|
+
const HUB_KEY = Symbol.for('dsh-web.body-mutation-hub')
|
|
45
|
+
const INVALIDATION_ONLY = Symbol.for('dsh-web.body-mutation-invalidation')
|
|
46
|
+
type Subscriber = ((records: MutationRecord[]) => void) & { [INVALIDATION_ONLY]?: true }
|
|
47
|
+
|
|
48
|
+
function needsRecords(subscribers: Set<(records: MutationRecord[]) => void>): boolean {
|
|
49
|
+
for (const listener of subscribers) {
|
|
50
|
+
if (!(listener as Subscriber)[INVALIDATION_ONLY]) return true
|
|
51
|
+
}
|
|
52
|
+
return false
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Subscribe to a coalesced DOM re-check without retaining mutation records.
|
|
57
|
+
* The marked wrapper also works with an older hub, which delivers records
|
|
58
|
+
* that it simply ignores until a page reload picks up the updated hub.
|
|
59
|
+
*/
|
|
60
|
+
export function subscribeBodyInvalidations(subscriber: () => void): () => void {
|
|
61
|
+
const listener: Subscriber = () => { subscriber() }
|
|
62
|
+
listener[INVALIDATION_ONLY] = true
|
|
63
|
+
return subscribeBodyMutations(listener)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Subscribe to body-level childList mutations.
|
|
68
|
+
* @param subscriber - called at most once per animation frame with the records
|
|
69
|
+
* collected since the previous flush; must be safe to run repeatedly.
|
|
70
|
+
* @returns the disposer removing this subscriber (and the observer when it was
|
|
71
|
+
* the last one).
|
|
72
|
+
*/
|
|
73
|
+
export function subscribeBodyMutations(subscriber: (records: MutationRecord[]) => void): () => void {
|
|
74
|
+
if (typeof globalThis === 'undefined' || typeof document === 'undefined') return () => {}
|
|
75
|
+
if (typeof MutationObserver !== 'function') return () => {}
|
|
76
|
+
const registry = globalThis as unknown as Record<symbol, unknown>
|
|
77
|
+
let hub = registry[HUB_KEY] as BodyMutationHub | undefined
|
|
78
|
+
if (hub === undefined) {
|
|
79
|
+
const subscribers = new Set<(records: MutationRecord[]) => void>()
|
|
80
|
+
const created: BodyMutationHub = {
|
|
81
|
+
observer: undefined as unknown as MutationObserver,
|
|
82
|
+
subscribers,
|
|
83
|
+
pending: [],
|
|
84
|
+
scheduled: false,
|
|
85
|
+
}
|
|
86
|
+
const flush = (): void => {
|
|
87
|
+
created.frame = undefined
|
|
88
|
+
created.scheduled = false
|
|
89
|
+
const batch = created.pending
|
|
90
|
+
created.pending = []
|
|
91
|
+
for (const listener of [...subscribers]) {
|
|
92
|
+
if (!subscribers.has(listener)) continue
|
|
93
|
+
try {
|
|
94
|
+
listener(batch)
|
|
95
|
+
} catch {
|
|
96
|
+
// One subscriber must never break the others; the next flush retries it.
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const schedule = (): void => {
|
|
101
|
+
if (created.scheduled) return
|
|
102
|
+
created.scheduled = true
|
|
103
|
+
if (typeof requestAnimationFrame === 'function') created.frame = requestAnimationFrame(flush)
|
|
104
|
+
else flush()
|
|
105
|
+
}
|
|
106
|
+
created.observer = new MutationObserver((records) => {
|
|
107
|
+
if (needsRecords(subscribers)) {
|
|
108
|
+
for (const record of records) created.pending.push(record)
|
|
109
|
+
}
|
|
110
|
+
schedule()
|
|
111
|
+
})
|
|
112
|
+
created.observer.observe(document.body ?? document.documentElement, { childList: true, subtree: true })
|
|
113
|
+
registry[HUB_KEY] = created
|
|
114
|
+
hub = created
|
|
115
|
+
}
|
|
116
|
+
const active = hub
|
|
117
|
+
active.subscribers.add(subscriber)
|
|
118
|
+
let subscribed = true
|
|
119
|
+
return () => {
|
|
120
|
+
if (!subscribed) return
|
|
121
|
+
subscribed = false
|
|
122
|
+
active.subscribers.delete(subscriber)
|
|
123
|
+
if (!needsRecords(active.subscribers)) active.pending = []
|
|
124
|
+
if (active.subscribers.size === 0 && registry[HUB_KEY] === active) {
|
|
125
|
+
active.observer.disconnect()
|
|
126
|
+
if (active.frame !== undefined && typeof cancelAnimationFrame === 'function') cancelAnimationFrame(active.frame)
|
|
127
|
+
active.frame = undefined
|
|
128
|
+
active.pending = []
|
|
129
|
+
active.scheduled = false
|
|
130
|
+
delete registry[HUB_KEY]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
package/src/client/index.ts
CHANGED
|
@@ -31,6 +31,7 @@ import { mainViewSessionId } from './main-session.ts'
|
|
|
31
31
|
import { LocalStorageTaskStore } from '../core/store.ts'
|
|
32
32
|
import { claimTaskboardApply, releaseTaskboardApply } from './apply-guard.ts'
|
|
33
33
|
import { registerTaskBoardPanel } from './native-panel.tsx'
|
|
34
|
+
import { createScheduleRowGuard } from './suppress-schedule-row.ts'
|
|
34
35
|
import { TaskBoardSettingsCard, TaskBoardSettingsCardController, type TaskBoardSettings } from './TaskBoardSettingsCard.tsx'
|
|
35
36
|
import { en, zh, setRuntimeTranslate, type TaskBoardKey } from './locales.ts'
|
|
36
37
|
import { HttpTaskBoardHostTransport } from './host-api.ts'
|
|
@@ -413,6 +414,12 @@ export function apply(ctx: ClientContext): void {
|
|
|
413
414
|
uiDisposer = undefined
|
|
414
415
|
}
|
|
415
416
|
}
|
|
417
|
+
// The board's master switch owns the official automation-tasks entry as
|
|
418
|
+
// well: while the board is on, the shell's duplicate "Automation tasks" row
|
|
419
|
+
// is hidden, and with the board off the official row comes back. The same
|
|
420
|
+
// switch already governs the board's own row, so both scheduling entries
|
|
421
|
+
// appear and disappear together.
|
|
422
|
+
const scheduleRowGuard = createScheduleRowGuard(ctx)
|
|
416
423
|
const syncEnabled = (): void => {
|
|
417
424
|
const snapshot = settingsForm.getSnapshot()
|
|
418
425
|
const enabled = snapshot.status === 'ready'
|
|
@@ -421,8 +428,10 @@ export function apply(ctx: ClientContext): void {
|
|
|
421
428
|
if (enabled) {
|
|
422
429
|
mountUi()
|
|
423
430
|
clientService.setEnabled(true)
|
|
431
|
+
scheduleRowGuard.hide()
|
|
424
432
|
} else {
|
|
425
433
|
clientService.setEnabled(false)
|
|
434
|
+
scheduleRowGuard.show()
|
|
426
435
|
uiDisposer?.()
|
|
427
436
|
}
|
|
428
437
|
}
|
|
@@ -436,6 +445,7 @@ export function apply(ctx: ClientContext): void {
|
|
|
436
445
|
ctx.effect(() => () => {
|
|
437
446
|
unsubscribeSettings()
|
|
438
447
|
uiDisposer?.()
|
|
448
|
+
scheduleRowGuard.dispose()
|
|
439
449
|
}, 'task-board: DOM surfaces')
|
|
440
450
|
syncEnabled()
|
|
441
451
|
}
|
package/src/client/locales.ts
CHANGED
|
@@ -131,6 +131,8 @@ export const zh = {
|
|
|
131
131
|
'detail.editTags': '编辑标签',
|
|
132
132
|
'detail.duplicate': '复制为新任务',
|
|
133
133
|
'detail.duplicateAndEdit': '修改并新建副本',
|
|
134
|
+
'detail.more': '更多操作',
|
|
135
|
+
'detail.moveTo': '移动到…',
|
|
134
136
|
'detail.close': '关闭',
|
|
135
137
|
'edit.title': '编辑任务',
|
|
136
138
|
'edit.save': '保存',
|
|
@@ -141,6 +143,8 @@ export const zh = {
|
|
|
141
143
|
'detail.expand': '展开全文',
|
|
142
144
|
'detail.collapse': '收起',
|
|
143
145
|
'detail.execution': '执行记录',
|
|
146
|
+
'detail.execution.showAll': '显示全部 {count} 条',
|
|
147
|
+
'detail.execution.summary': '{count} 次 · 最近 {time} · {result}',
|
|
144
148
|
'detail.noExecution': '尚未执行',
|
|
145
149
|
'detail.run': '执行',
|
|
146
150
|
'detail.rerun': '重新执行',
|
|
@@ -167,7 +171,7 @@ export const zh = {
|
|
|
167
171
|
'status.move.running': '移到进行中',
|
|
168
172
|
'status.move.done': '移到已完成',
|
|
169
173
|
'status.move.failed': '移到已失败',
|
|
170
|
-
'exec.error.noWorkspace': '
|
|
174
|
+
'exec.error.noWorkspace': '这张卡没有指定工作区,请先在卡片上选择工作区',
|
|
171
175
|
'exec.error.promptRejected': 'Prompt 被拒绝',
|
|
172
176
|
'run.failed': '执行失败:{error}',
|
|
173
177
|
'time.justNow': '刚刚',
|
|
@@ -213,6 +217,12 @@ export const zh = {
|
|
|
213
217
|
'detail.schedule.runsUnlimited': '已执行 {done} 次',
|
|
214
218
|
'detail.schedule.remaining': '剩余 {count} 次',
|
|
215
219
|
'detail.schedule.cancel': '关闭调度',
|
|
220
|
+
'detail.schedule.summary.off': '未启用',
|
|
221
|
+
'detail.schedule.summary.on': '已启用 · 下次 {next}',
|
|
222
|
+
// 折叠行只留下次时刻;规则本身(cron 或单次时刻)走行的 title 提示。
|
|
223
|
+
'detail.schedule.summary.onFull': '已启用 · {plan} · 下次 {next}',
|
|
224
|
+
'detail.schedule.summary.planOnce': '单次 {time}',
|
|
225
|
+
'detail.schedule.summary.planCron': '循环 {cron}',
|
|
216
226
|
'detail.schedule.ended': '调度已结束:{reason}',
|
|
217
227
|
'detail.schedule.skipped': '上次跳过:{reason}',
|
|
218
228
|
'detail.schedule.stop.fired': '单次计划已执行',
|
|
@@ -254,32 +264,47 @@ export const zh = {
|
|
|
254
264
|
'exec.reasoning.hint.unknownModel': '无法从当前名册确认该模型的可选档位;已保存的值原样保留。',
|
|
255
265
|
'exec.reasoning.hint.noEfforts': '该模型没有可选的思考档位,始终沿用模型/宿主的默认值。',
|
|
256
266
|
'exec.reasoning.hint.inherit': '留空即沿用该模型/宿主的默认档位。',
|
|
257
|
-
'exec.teamRunAutoHint': '创建或关联子任务成功后,父任务会自动开启 Agent Team 执行(可随时手动关闭)。',
|
|
258
267
|
'exec.reuseSession': '在同一对话继续',
|
|
259
|
-
'exec.teamRun': '用 Agent Team 执行(Leader/teammate)',
|
|
260
|
-
'exec.teamRunHint': '开启后:执行本任务只启动一个 Leader 会话,每个子任务由它派生为 teammate 并在该会话内并行工作(子任务自身的权限钉住不适用)。关闭则每个成员各开独立会话。',
|
|
261
|
-
'exec.teamRunUnavailable': '当前部署未提供 Agent Teams 服务,无法启用。',
|
|
262
268
|
'exec.reuseSessionHint': '开启后,本任务的后续执行在上一次会话里继续(该会话空闲且仍存在时),不再每次新建对话;每次复用时都会重新应用上面钉住的权限与模型。',
|
|
269
|
+
'exec.reuseSessionHint.short': '后续执行复用上一次的空闲会话',
|
|
263
270
|
'exec.goalRun': '以 dsh 内置的 /goal 开始执行任务',
|
|
264
271
|
'exec.goalRunHint': '默认关闭:勾选后执行时把任务目标作为持久目标交给 dsh 内置的 /goal,会话会自动续跑多轮,直到 agent 标记目标完成;看板在该目标真正结束后才结算本次执行。不勾选则只执行一轮普通对话。',
|
|
272
|
+
'exec.goalRunHint.short': '多轮续跑,目标结束后才结算本次执行',
|
|
273
|
+
'exec.goalRunGlobalOff': '全局总开关已关闭,勾选暂不生效',
|
|
265
274
|
'exec.skipVerification': '跳过本任务的验收',
|
|
266
275
|
'exec.skipVerificationHint': '默认关闭:勾选后本任务以 goal 形式执行时不再拦截 update_goal 标记完成,也不要求通过验收;执行记录会标注「该卡片跳过验收」。仅对之后新开的执行生效,验收总开关关闭时本项无意义。',
|
|
276
|
+
'exec.skipVerificationHint.short': '本卡执行不做验收判定',
|
|
267
277
|
'detail.executionSettings': '执行设置',
|
|
278
|
+
'detail.settings.advanced': '高级设置',
|
|
279
|
+
'detail.settings.summary.none': '全部关闭',
|
|
280
|
+
'detail.settings.summary.reuseSession': '同一对话继续',
|
|
281
|
+
'detail.settings.summary.goal': '/goal 执行',
|
|
282
|
+
'detail.settings.summary.skipVerification': '跳过验收',
|
|
268
283
|
'exec.hint': '执行时生效:工作区决定执行会话落在哪个工作区;Agent 预设决定会话的组合(工具面与提示词段);权限经 /permission 命令应用到会话。留空则继承部署默认。',
|
|
284
|
+
'exec.hint.short': '留空继承部署默认,执行时生效',
|
|
269
285
|
// 插件设置卡片(settings.plugin.item 席位)。
|
|
270
286
|
'settings.title': '任务看板',
|
|
271
287
|
'settings.description': '任务编排、agent 播报与目标验收。',
|
|
272
288
|
'settings.enabled': '启用任务看板',
|
|
273
289
|
'settings.enabledCardHint': '总开关、播报、睡眠保护与子任务层级。',
|
|
274
290
|
'settings.enabledHint': '关闭后隐藏侧边栏入口与看板视图,并注销 task_board_* agent 工具;开启时任何会话都可以通过这些工具读写看板、子任务与定时计划。',
|
|
291
|
+
'settings.enabledHintBrief': '默认开启。关闭后隐藏入口与看板视图,并注销 task_board_* 工具。',
|
|
275
292
|
'settings.announceToAgent': '向 agent 播报任务看板',
|
|
276
293
|
'settings.announceToAgentHint': '开启:每条 agent 系统提示都会包含本看板的说明;关闭:不播报,agent 仅在用户主动提及时了解看板。',
|
|
294
|
+
'settings.announceToAgentHintBrief': '默认关闭。开启后每条 agent 系统提示都会带上本看板说明。',
|
|
277
295
|
'settings.preventIdleSleep': '阻止系统空闲睡眠',
|
|
278
296
|
'settings.preventIdleSleepHint': '默认关闭。开启后,只要存在运行中的 DSH 会话、已启用的定时任务或会话状态尚未确认,Host 就阻止整机因空闲睡眠;屏幕仍可自动关闭。',
|
|
279
|
-
'settings.
|
|
297
|
+
'settings.preventIdleSleepHintBrief': '默认关闭。开启后只要有会话在跑或计划已启用,就阻止整机空闲睡眠。',
|
|
298
|
+
'settings.trustForwardedProxy': '信任自己反代或隧道转发的请求',
|
|
299
|
+
'settings.trustForwardedProxyHint': '默认关闭。关闭时行为与没有这项设置完全一致:带 CF-Connecting-IP 或 X-Forwarded-For 的请求一律不当作本机请求。只有反代或隧道由你自己(运维)运行、并且它拨的是本机回环上游(127.0.0.1:<端口>)时才打开:此时这类请求仍必须带浏览器同源标记,显式跨站请求照旧拒绝。第三方托管的反向代理不要打开——它可以替你伪造这些标记。',
|
|
300
|
+
'settings.trustForwardedProxyHintBrief': '默认关闭。仅在自己的反代或隧道指向本机回环时才开启。',
|
|
280
301
|
'settings.powerBoundary': '这可能增加电池消耗。合盖、手动睡眠、休眠、关机、低电量或企业策略不在保证范围内,也不会唤醒已经睡眠的机器。',
|
|
281
|
-
'settings.powerUnknown': '未知',
|
|
282
302
|
'settings.powerError': '最近一次电源保护错误:{error}',
|
|
303
|
+
'settings.powerPhase': '保护状态',
|
|
304
|
+
'settings.powerPlatform': '平台',
|
|
305
|
+
'settings.powerRunning': '运行会话',
|
|
306
|
+
'settings.powerSchedules': '已启用计划',
|
|
307
|
+
'settings.powerUnknown': '未知',
|
|
283
308
|
'settings.inherit': '继承',
|
|
284
309
|
'settings.on': '开',
|
|
285
310
|
'settings.off': '关',
|
|
@@ -297,28 +322,36 @@ export const zh = {
|
|
|
297
322
|
'settings.invalidNumber': '请输入数字,留空则使用默认值。',
|
|
298
323
|
'settings.sessionPollSeconds': '会话轮询间隔(秒)',
|
|
299
324
|
'settings.sessionPollSecondsHint': '默认 5 秒。仅在看板有需要核对的事情——运行中的卡片或未结算的执行——时才读取会话名册;两者都没有时不再轮询,Host 不会持续扫描持久化会话目录。取值 1–300 秒:间隔越短结算越快、Host 负载越高。',
|
|
325
|
+
'settings.sessionPollSecondsHintBrief': '默认 5 秒,可设 1 到 300:间隔越短结算越快,Host 负载越高。',
|
|
300
326
|
'settings.maxSubtaskDepth': '子任务深度上限',
|
|
301
|
-
'settings.maxSubtaskDepthHint': '默认 1:一个任务只允许一层子任务,子任务不能再创建或关联子任务。最大 3
|
|
327
|
+
'settings.maxSubtaskDepthHint': '默认 1:一个任务只允许一层子任务,子任务不能再创建或关联子任务。最大 3。它只决定一张卡下面能挂多深的子任务:执行一张卡始终只开它自己的一个会话,子任务由它自己按依赖顺序派发,所以层级深浅不改变一次执行开几个会话。',
|
|
328
|
+
'settings.maxSubtaskDepthHintBrief': '默认 1 层,最多 3:只限制子任务能挂多深,不改变一次执行开几个会话。',
|
|
302
329
|
'settings.maxSubtaskDepthOption': '{depth} 层',
|
|
303
330
|
'settings.runLaunchWidth': '并发启动上限',
|
|
304
|
-
'settings.runLaunchWidthHint': '默认 3
|
|
331
|
+
'settings.runLaunchWidthHint': '默认 3。多张卡片同时要执行时(手动执行、重新执行与到点定时一样),同一刻最多有这么多个执行被准入、创建会话并入队 Prompt,其余排队等待;每张卡的一次执行只开它自己一个会话,所以这个值不改变单卡的执行形态。默认值取自本仓「重型实施子代理并发 ≤ 3」的实测纪律。取值 1–16:越大启动越快,Host 的内存与 swap 压力越高。执行中修改只影响尚未入列的启动。',
|
|
332
|
+
'settings.runLaunchWidthHintBrief': '默认 3,可设 1 到 16:多张卡同时要执行时,同一刻最多这么多个开始建会话,其余排队;单卡执行仍只开一个会话。',
|
|
305
333
|
'settings.spendBudgetTokens': '每日 token 上限',
|
|
306
334
|
'settings.spendBudgetTokensHint': '默认 0,表示不设闸,行为与没有这项设置时完全一致(不读账本、不计数)。设为正整数后,今日已用 token 达到该值时:手动执行与重新执行被拒绝,调用方看到的拒绝文本就是原因;到点的定时执行把原因写进调度错误并跳过本次触发,不消耗计划次数,因此调高上限或跨过本地零点后下一次触发照常执行。计量单位是 token 而不是金额:使用账本只对 DeepSeek 官方路由计价,其他路由恒为 0。今日已用取自该账本按本地日期分桶的输入、缓存读写与输出之和,与「使用统计」面板的口径一致。',
|
|
335
|
+
'settings.spendBudgetTokensHintBrief': '默认 0 不设闸。设成正值后今日用量到顶,手动执行被拒绝,定时触发跳过。',
|
|
307
336
|
'settings.runBehaviorTitle': '运行行为',
|
|
308
337
|
'settings.runBehaviorCardHint': '全局原生 /goal 执行开关(总开关,默认关闭)。',
|
|
309
338
|
'settings.goalRunGlobal': '全局启用 DSH 原生 /goal 执行',
|
|
310
339
|
'settings.goalRunGlobalHint': '默认关闭。关闭时所有任务都按普通单回合执行,不调用 dsh 内置的 /goal;只有这里开启、且任务级「以 /goal 开始执行」被勾选时,才执行原生 /goal。任务级勾选始终可操作、也不会被这里的开关改写,总开关只决定它是否生效。开关按执行启动时冻结,只影响之后新开的执行。',
|
|
340
|
+
'settings.goalRunGlobalHintBrief': '默认关闭。只有它与卡片级选项都开启,执行才使用原生 /goal。',
|
|
311
341
|
'settings.goalRunGlobalDisabledTaskOption': '全局「原生 /goal 执行」总开关已关闭:任务级选项仍可随时勾选或取消,但暂不生效,你保存的偏好也不会被改写;开启总开关后即按该偏好执行。本次执行按普通单回合进行,未执行 goal 验收。',
|
|
312
342
|
'settings.goalVerificationTitle': '任务验收',
|
|
313
343
|
'settings.goalVerification': '启用任务验收',
|
|
314
344
|
'settings.goalVerificationCardHint': '验收开关、裁判模型与判据阈值。',
|
|
315
345
|
'settings.goalVerificationHint': '默认打开:以 goal 形式执行的任务在 update_goal 标记完成前必须先通过一次验收(三项 coding 判据(本分区面向工程任务)、阈值 0.65、每项两轮且交换 A/B 位置,实际工作须胜过空工作基线)。首次不通过会把总分、逐项分数与可定位问题反馈给 agent 修复,同一执行最多两次验收;第二次仍不通过则本次执行判失败。仅作用于本插件以 goal 形式执行的任务,不影响普通聊天,也不影响显式 goalRun:false 的单回合任务。每次验收都会真实调用裁判模型并消耗额度。',
|
|
346
|
+
'settings.goalVerificationHintBrief': '默认开启。每项判据两轮,阈值 0.65,每次验收都会调用裁判模型。',
|
|
316
347
|
'settings.goalVerificationModel': '验收模型',
|
|
317
348
|
'settings.goalVerificationModelHint': '留空即继承宿主:使用宿主模型目录的默认路由,而不是任务卡钉住的执行模型。',
|
|
349
|
+
'settings.goalVerificationModelHintBrief': '留空继承宿主默认路由,不跟随卡片钉住的执行模型。',
|
|
318
350
|
'settings.goalVerificationModelInherit': '继承宿主({model})',
|
|
319
351
|
'settings.goalVerificationModelInheritUnknown': '继承宿主(宿主未提供模型目录)',
|
|
320
352
|
'settings.goalVerificationEffort': '推理强度',
|
|
321
353
|
'settings.goalVerificationEffortHint': '留空即继承宿主默认档位。目标模型不支持所选档位时不会盲传:验收改用该模型自己的默认档位,并在下方标注回退。',
|
|
354
|
+
'settings.goalVerificationEffortHintBrief': '留空继承宿主默认档位。目标模型不支持的档位会自动回退。',
|
|
322
355
|
'settings.goalVerificationEffortInherit': '继承宿主({effort})',
|
|
323
356
|
'settings.goalVerificationEffortInheritUnknown': '继承宿主(模型默认档位)',
|
|
324
357
|
'settings.goalVerificationResolved': '实际解析后的验收配置',
|
|
@@ -335,9 +368,13 @@ export const zh = {
|
|
|
335
368
|
'settings.goalVerificationModelInvalid': '配置的验收模型不是 provider/model 形式,已回退宿主默认。',
|
|
336
369
|
'settings.cardDefaultsTitle': '新建卡片默认值',
|
|
337
370
|
'settings.cardDefaultsCardHint': '新建对话框打开时预填的 Agent 预设、权限、模型与思考档位;留空即不设置,创建卡片的行为与未配置时完全一致。它们只是预填,不改变任何既有语义,新建的卡片仍可随时修改;思考档位默认值只在卡片最终钉住的模型就是这里的默认模型时才生效。',
|
|
371
|
+
'settings.cardDefaultsCardBrief': '新建卡片预填的预设、权限、模型与思考档位。',
|
|
338
372
|
'settings.cardDefaultModeHint': '留空不钉住任何值,新建卡片照旧继承部署默认预设。取值优先级为:新建对话框里的显式选择 > 复制源卡或父任务已钉住的值 > 这里的默认值;子任务沿用父卡已钉住的值。',
|
|
373
|
+
'settings.cardDefaultModeHintBrief': '留空不预填,新建卡片照旧跟随部署默认预设。',
|
|
339
374
|
'settings.cardDefaultPermissionHint': '留空为不设置(用会话默认)。高于会话默认权限基线的默认值仍只是预填:卡片执行前照旧需要人工确认。子任务从不沿用父卡的权限,只在父卡未钉住、且这里设置了默认值时才预填。',
|
|
375
|
+
'settings.cardDefaultPermissionHintBrief': '留空为不设置。高于会话基线的默认值执行前仍需人工确认。',
|
|
340
376
|
'settings.cardDefaultModelHint': '留空为宿主默认(agent-default-model)。对话框里的显式选择优先于源卡/父卡已钉住的值,后者优先于这里的默认值;自己选了模型的调用方不借用任何默认档位。',
|
|
377
|
+
'settings.cardDefaultModelHintBrief': '留空即宿主默认模型,对话框里的显式选择始终优先。',
|
|
341
378
|
'running.executing': '执行中',
|
|
342
379
|
'running.verifying': '验收中',
|
|
343
380
|
'running.repairing': '验收未通过修复中',
|
|
@@ -403,7 +440,7 @@ export const zh = {
|
|
|
403
440
|
'verify.applicability.goalDisabled': '本次执行启动时全局「原生 /goal 执行」总开关关闭,按普通单回合执行:本次未执行 goal 验收,既不算已验收通过,也不因此判失败。',
|
|
404
441
|
'verify.effortFallback': '推理强度回退:{requested} → {resolved}',
|
|
405
442
|
'verify.thresholdValue': '{value}%',
|
|
406
|
-
//
|
|
443
|
+
// 子任务(父子关系、执行时由父卡派发、关联/解除关联)。
|
|
407
444
|
'detail.parent': '父任务',
|
|
408
445
|
'detail.parent.open': '打开父任务',
|
|
409
446
|
'detail.subtasks': '子任务',
|
|
@@ -412,8 +449,8 @@ export const zh = {
|
|
|
412
449
|
'detail.subtasks.link': '关联现有任务',
|
|
413
450
|
'detail.subtasks.detach': '解除关联',
|
|
414
451
|
'detail.subtasks.runningLock': '子任务正在执行,结算后才能解除关联或改挂父任务',
|
|
415
|
-
'detail.subtasks.runHint': '
|
|
416
|
-
'detail.subtasks.runHintSettled': '
|
|
452
|
+
'detail.subtasks.runHint': '执行本卡只会开本卡一个会话:它自己读取下面 {count} 个还没做完的子任务,按依赖顺序派发,完工后把子卡结论回填。还有未完成子任务时,执行会用梁神模式(liangshen);预设缺失会直接拒绝执行。',
|
|
453
|
+
'detail.subtasks.runHintSettled': '子任务都已做完,本次执行只会开本卡一个会话,不会再跑它们;想让哪张子卡再跑一次,把它移回待办列或单独执行。',
|
|
417
454
|
'detail.subtasks.waiting': '等待子任务结算',
|
|
418
455
|
'detail.subtasks.depthLimit': '当前子任务深度上限为 {depth} 层,子任务不能再创建或关联子任务。',
|
|
419
456
|
'detail.subtasks.hostOnly': '连接 Host 后才能创建或关联子任务。',
|
|
@@ -578,6 +615,8 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
578
615
|
'detail.editTags': 'Edit tags',
|
|
579
616
|
'detail.duplicate': 'Duplicate Task',
|
|
580
617
|
'detail.duplicateAndEdit': 'Edit as New Copy',
|
|
618
|
+
'detail.more': 'More actions',
|
|
619
|
+
'detail.moveTo': 'Move to…',
|
|
581
620
|
'detail.close': 'Close',
|
|
582
621
|
'edit.title': 'Edit Task',
|
|
583
622
|
'edit.save': 'Save',
|
|
@@ -588,6 +627,8 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
588
627
|
'detail.expand': 'Show more',
|
|
589
628
|
'detail.collapse': 'Show less',
|
|
590
629
|
'detail.execution': 'Execution History',
|
|
630
|
+
'detail.execution.showAll': 'Show all {count}',
|
|
631
|
+
'detail.execution.summary': '{count} runs · latest {time} · {result}',
|
|
591
632
|
'detail.noExecution': 'Not executed yet',
|
|
592
633
|
'detail.run': 'Run',
|
|
593
634
|
'detail.rerun': 'Run Again',
|
|
@@ -614,7 +655,7 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
614
655
|
'status.move.running': 'Move to Running',
|
|
615
656
|
'status.move.done': 'Move to Done',
|
|
616
657
|
'status.move.failed': 'Move to Failed',
|
|
617
|
-
'exec.error.noWorkspace': '
|
|
658
|
+
'exec.error.noWorkspace': 'This card has no workspace pinned; choose one on the card before it can run',
|
|
618
659
|
'exec.error.promptRejected': 'Prompt rejected',
|
|
619
660
|
'run.failed': 'Run failed: {error}',
|
|
620
661
|
'time.justNow': 'just now',
|
|
@@ -661,6 +702,11 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
661
702
|
'detail.schedule.runsUnlimited': 'Ran {done}',
|
|
662
703
|
'detail.schedule.remaining': '{count} left',
|
|
663
704
|
'detail.schedule.cancel': 'Cancel schedule',
|
|
705
|
+
'detail.schedule.summary.off': 'Off',
|
|
706
|
+
'detail.schedule.summary.on': 'On · next {next}',
|
|
707
|
+
'detail.schedule.summary.onFull': 'On · {plan} · next {next}',
|
|
708
|
+
'detail.schedule.summary.planOnce': 'once at {time}',
|
|
709
|
+
'detail.schedule.summary.planCron': 'recurring {cron}',
|
|
664
710
|
'detail.schedule.ended': 'Schedule ended: {reason}',
|
|
665
711
|
'detail.schedule.skipped': 'Last skip: {reason}',
|
|
666
712
|
'detail.schedule.stop.fired': 'the one-shot ran',
|
|
@@ -702,32 +748,47 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
702
748
|
'exec.reasoning.hint.unknownModel': "The current roster cannot confirm this model's effort levels; the stored value is kept as it is.",
|
|
703
749
|
'exec.reasoning.hint.noEfforts': 'This model offers no selectable reasoning effort, so the model or Host default always applies.',
|
|
704
750
|
'exec.reasoning.hint.inherit': 'Leave it empty to follow the model or Host default.',
|
|
705
|
-
'exec.teamRunAutoHint': 'Once a subtask is created or linked, the parent task turns on Agent Team execution automatically (you can switch it off at any time).',
|
|
706
751
|
'exec.reuseSession': 'Continue in the same conversation',
|
|
707
|
-
'exec.teamRun': 'Run with an Agent Team (Lead + teammates)',
|
|
708
|
-
'exec.teamRunHint': 'On: running this task starts one Lead session and spawns a teammate per subtask inside it, working in parallel (a subtask permission pin does not apply). Off: every member gets its own independent session.',
|
|
709
|
-
'exec.teamRunUnavailable': 'This deployment serves no Agent Teams service, so team runs cannot be enabled.',
|
|
710
752
|
'exec.reuseSessionHint': 'When on, later runs continue in the previous session (when that session is idle and still exists) instead of starting a new conversation each time; the pinned permission and model above are re-applied on every reuse.',
|
|
753
|
+
'exec.reuseSessionHint.short': 'Later runs reuse the previous idle session',
|
|
711
754
|
'exec.goalRun': "Start the run with dsh's built-in /goal",
|
|
712
755
|
'exec.goalRunHint': 'Off by default: when checked, the run arms dsh built-in /goal with the task objective, so the session keeps working automatic continuation rounds until the agent marks the goal complete, and the board settles the execution only when that goal really ends. Unchecked: one plain turn.',
|
|
756
|
+
'exec.goalRunHint.short': 'Automatic rounds; the execution settles when the goal ends',
|
|
757
|
+
'exec.goalRunGlobalOff': 'The global switch is off, so checking it has no effect yet',
|
|
713
758
|
'exec.skipVerification': 'Skip acceptance for this task',
|
|
714
759
|
'exec.skipVerificationHint': 'Off by default: when checked, a goal-form run of this task no longer gates update_goal on a passing acceptance, and the execution record is marked as skipped. It applies only to executions started afterwards, and means nothing while the board-wide acceptance switch is off.',
|
|
760
|
+
'exec.skipVerificationHint.short': 'This card runs without an acceptance verdict',
|
|
715
761
|
'detail.executionSettings': 'Execution Settings',
|
|
762
|
+
'detail.settings.advanced': 'Advanced settings',
|
|
763
|
+
'detail.settings.summary.none': 'All off',
|
|
764
|
+
'detail.settings.summary.reuseSession': 'Same conversation',
|
|
765
|
+
'detail.settings.summary.goal': '/goal run',
|
|
766
|
+
'detail.settings.summary.skipVerification': 'Acceptance skipped',
|
|
716
767
|
'exec.hint': 'Applied when the task runs: the workspace decides where the execution session lands; the agent preset composes the session (tool face and prompt sections); the permission is applied through the /permission command. Blank inherits the deployment default.',
|
|
768
|
+
'exec.hint.short': 'Blank inherits the deployment default; applied at run time',
|
|
717
769
|
// Plugin settings card (the `settings.plugin.item` seat).
|
|
718
770
|
'settings.title': 'Task Board',
|
|
719
771
|
'settings.description': 'Task orchestration, agent announcement and goal acceptance.',
|
|
720
772
|
'settings.enabled': 'Enable the task board',
|
|
721
773
|
'settings.enabledCardHint': 'Master switch, announcement, sleep protection and subtask depth.',
|
|
722
774
|
'settings.enabledHint': 'When off, the sidebar entry and board view are hidden and the task_board_* agent tools are unregistered; while on, any session can read and drive the board, its subtasks and its schedules through those tools.',
|
|
775
|
+
'settings.enabledHintBrief': 'On by default. Off hides the entry and board view and unregisters the task_board_* tools.',
|
|
723
776
|
'settings.announceToAgent': 'Announce the task board to agents',
|
|
724
777
|
'settings.announceToAgentHint': 'On: every agent system prompt includes a note about this board. Off: no announcement; agents learn about the board only when you mention it.',
|
|
778
|
+
'settings.announceToAgentHintBrief': 'Off by default. On adds a note about this board to every agent system prompt.',
|
|
725
779
|
'settings.preventIdleSleep': 'Prevent idle system sleep',
|
|
726
780
|
'settings.preventIdleSleepHint': 'Off by default. When enabled, the Host prevents idle system sleep while any DSH session runs, any schedule is enabled, or session state is not yet known. The display may still turn off.',
|
|
727
|
-
'settings.
|
|
781
|
+
'settings.preventIdleSleepHintBrief': 'Off by default. On blocks idle system sleep while a session runs or a schedule is enabled.',
|
|
782
|
+
'settings.trustForwardedProxy': 'Trust requests forwarded by my own proxy or tunnel',
|
|
783
|
+
'settings.trustForwardedProxyHint': 'Off by default. While it is off the fence behaves exactly as if the setting did not exist: a request carrying CF-Connecting-IP or X-Forwarded-For is never treated as local. Turn it on only when the reverse proxy or tunnel is one you (the operator) run yourself and it dials this machine loopback upstream (127.0.0.1:<port>): even then such a request must still carry a browser same-origin marker, and an explicit cross-site request stays refused. Do not enable it for a reverse proxy hosted by a third party, which can forge those markers on your behalf.',
|
|
784
|
+
'settings.trustForwardedProxyHintBrief': 'Off by default. Turn on only for a proxy or tunnel you run that dials this machine loopback.',
|
|
728
785
|
'settings.powerBoundary': 'This may use more battery. Lid close, manual sleep, hibernation, shutdown, low-battery actions, and enterprise policy are outside the guarantee; an already sleeping computer is not woken.',
|
|
729
|
-
'settings.powerUnknown': 'unknown',
|
|
730
786
|
'settings.powerError': 'Latest power-protection error: {error}',
|
|
787
|
+
'settings.powerPhase': 'Protection',
|
|
788
|
+
'settings.powerPlatform': 'Platform',
|
|
789
|
+
'settings.powerRunning': 'Running sessions',
|
|
790
|
+
'settings.powerSchedules': 'Enabled schedules',
|
|
791
|
+
'settings.powerUnknown': 'unknown',
|
|
731
792
|
'settings.inherit': 'Inherit',
|
|
732
793
|
'settings.on': 'On',
|
|
733
794
|
'settings.off': 'Off',
|
|
@@ -745,28 +806,36 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
745
806
|
'settings.invalidNumber': 'Enter a number, or leave blank to use the default.',
|
|
746
807
|
'settings.sessionPollSeconds': 'Session poll interval (seconds)',
|
|
747
808
|
'settings.sessionPollSecondsHint': 'Default 5. The Host reads the DSH session roster only while the board has something to reconcile: a running card or an open execution. With neither it stops polling and never re-scans the persisted session directory. Range 1 to 300 seconds: a shorter interval settles runs sooner and costs the Host more.',
|
|
809
|
+
'settings.sessionPollSecondsHintBrief': 'Default 5 seconds, range 1 to 300: a shorter interval settles runs sooner and costs the Host more.',
|
|
748
810
|
'settings.maxSubtaskDepth': 'Subtask depth limit',
|
|
749
|
-
'settings.maxSubtaskDepthHint': 'Default 1: a task may carry one level of subtasks, and a subtask cannot create or link further subtasks. Maximum 3.
|
|
811
|
+
'settings.maxSubtaskDepthHint': 'Default 1: a task may carry one level of subtasks, and a subtask cannot create or link further subtasks. Maximum 3. The limit only decides how deep the tree under one card can go: a run still opens that card\'s own single session and dispatches its subtasks itself, so the depth never changes how many sessions a run opens.',
|
|
812
|
+
'settings.maxSubtaskDepthHintBrief': 'Default 1, maximum 3: it caps only how deep subtasks can go, not how many sessions a run opens.',
|
|
750
813
|
'settings.maxSubtaskDepthOption': '{depth} levels',
|
|
751
814
|
'settings.runLaunchWidth': 'Concurrent run launches',
|
|
752
|
-
'settings.runLaunchWidthHint': 'Default 3.
|
|
815
|
+
'settings.runLaunchWidthHint': 'Default 3. When several cards want to run at the same time, a manual run, a re-run and a due schedule alike, only this many runs are admitted at once: each creates its session and queues its prompt, and the rest wait their turn. Running one card always opens just that card\'s own session, so this value never changes the shape of a single-card run. The default comes from this repository\'s measured guidance for heavy implementation subagents (at most three). Range 1 to 16: a larger width starts runs sooner and costs the Host more memory and swap. Edited during a run, it bounds the launches that have not been admitted yet.',
|
|
816
|
+
'settings.runLaunchWidthHintBrief': 'Default 3, range 1 to 16: when several cards want to run, this many are admitted at once and the rest wait; a single card still opens one session.',
|
|
753
817
|
'settings.spendBudgetTokens': 'Daily token cap',
|
|
754
818
|
'settings.spendBudgetTokensHint': 'Default 0 means no gate: behavior is exactly what it was before this setting existed, with no ledger read and no counting. With a positive cap, once today\'s measured spend reaches it a manual run or re-run is refused and the caller sees that message as the refusal, while a due schedule writes the reason to the scheduler error and skips that occurrence without spending a planned run — raising the cap, or the local day rolling over, lets the next trigger run as usual. The unit is tokens rather than money: the usage ledger prices only DeepSeek\'s own routes and stays 0 on every other route. Today\'s spend is that ledger\'s local-date bucket summed over input, cache read/write and output, the same measure the usage panel shows.',
|
|
819
|
+
'settings.spendBudgetTokensHintBrief': 'Default 0 gates nothing. Past a positive cap, manual runs are refused and due schedules skip.',
|
|
755
820
|
'settings.runBehaviorTitle': 'Run behavior',
|
|
756
821
|
'settings.runBehaviorCardHint': 'The global native /goal switch (master control, off by default).',
|
|
757
822
|
'settings.goalRunGlobal': 'Global: run tasks with dsh native /goal',
|
|
758
823
|
'settings.goalRunGlobalHint': 'Off by default. While off, every task runs one plain turn and never calls dsh built-in /goal; a run uses native /goal only when this is on AND the task-level option is checked (see the task option below). The task-level checkbox always stays operable and this switch never rewrites it: the master switch only decides whether that choice takes effect. The switch is frozen when an execution starts, so it only affects runs opened afterwards.',
|
|
824
|
+
'settings.goalRunGlobalHintBrief': 'Off by default. A run uses native /goal only when this and the card option are both on.',
|
|
759
825
|
'settings.goalRunGlobalDisabledTaskOption': 'The global native /goal switch is off: the task-level option can still be checked or cleared, but it has no effect right now and the preference you save is never rewritten; turning the global switch back on applies it. This execution runs one plain turn and performs no goal acceptance.',
|
|
760
826
|
'settings.goalVerificationTitle': 'Task acceptance',
|
|
761
827
|
'settings.goalVerification': 'Enable task acceptance',
|
|
762
828
|
'settings.goalVerificationCardHint': 'The switch, the judge model and the criteria threshold.',
|
|
763
829
|
'settings.goalVerificationHint': 'On by default: a task executed in goal form must pass one acceptance before update_goal may mark it complete (the three coding criteria, aimed at engineering tasks, a 0.65 threshold, two rounds per criterion with the A/B slots swapped, and the work must beat the empty-work baseline). A first failure returns the total, the per-criterion scores and the located findings to the fixing agent, and one execution may accept at most twice; a second failure fails that execution. It affects only this board goal-form executions, never plain chat and never a task pinned to goalRun: false. Every acceptance really calls the judge model and spends quota.',
|
|
830
|
+
'settings.goalVerificationHintBrief': 'On by default. Two rounds per criterion at 0.65, and each acceptance calls the judge model.',
|
|
764
831
|
'settings.goalVerificationModel': 'Judge model',
|
|
765
832
|
'settings.goalVerificationModelHint': 'Blank inherits the host: the default route of the host model catalog, never the card pinned execution model.',
|
|
833
|
+
'settings.goalVerificationModelHintBrief': 'Blank inherits the host default route, never the model pinned on the card.',
|
|
766
834
|
'settings.goalVerificationModelInherit': 'Inherit host ({model})',
|
|
767
835
|
'settings.goalVerificationModelInheritUnknown': 'Inherit host (no model catalog)',
|
|
768
836
|
'settings.goalVerificationEffort': 'Reasoning effort',
|
|
769
837
|
'settings.goalVerificationEffortHint': 'Blank inherits the host default level. A level the target model does not declare is never sent blindly: the acceptance falls back to that model own default level, and the fallback is reported below.',
|
|
838
|
+
'settings.goalVerificationEffortHintBrief': 'Blank inherits the host default level. A level the model lacks falls back automatically.',
|
|
770
839
|
'settings.goalVerificationEffortInherit': 'Inherit host ({effort})',
|
|
771
840
|
'settings.goalVerificationEffortInheritUnknown': 'Inherit host (model default level)',
|
|
772
841
|
'settings.goalVerificationResolved': 'Resolved acceptance configuration',
|
|
@@ -782,9 +851,13 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
782
851
|
'settings.goalVerificationEffortFallbackNone': 'The selected reasoning effort {requested} is not supported by the target model; it falls back to that model default level (not sent explicitly).',
|
|
783
852
|
'settings.cardDefaultsTitle': 'New-card defaults',
|
|
784
853
|
'settings.cardDefaultsCardHint': 'What the new-task dialog opens with: agent preset, permission, model and reasoning effort. Blank sets nothing, so creating a card behaves exactly as it does unconfigured. They are only prefills and change no existing meaning, and every new card stays editable; the default reasoning effort applies only while a card ends up on the configured default model.',
|
|
854
|
+
'settings.cardDefaultsCardBrief': 'What a new card opens with: preset, permission, model and effort.',
|
|
785
855
|
'settings.cardDefaultModeHint': 'Blank pins nothing: a new card keeps following the deployment default preset. A target resolves as the explicit choice in the new-task dialog, then the value carried over from the source card or parent, then this default; a subtask keeps what its parent already pinned.',
|
|
856
|
+
'settings.cardDefaultModeHintBrief': 'Blank prefills nothing, so a new card keeps the deployment default preset.',
|
|
786
857
|
'settings.cardDefaultPermissionHint': 'Blank sets nothing (the session default applies). A default above the session permission baseline is still only a prefill: the card still needs a human confirmation before it may run. A subtask never carries its parent permission; this default fills in only where the parent pinned none.',
|
|
858
|
+
'settings.cardDefaultPermissionHintBrief': 'Blank sets nothing. A default above the session baseline still needs a human confirmation.',
|
|
787
859
|
'settings.cardDefaultModelHint': 'Blank is the host default (agent-default-model). An explicit choice in the dialog wins over the value carried over from the source card or parent, which wins over this default; a caller that pins a model of its own borrows no default reasoning level.',
|
|
860
|
+
'settings.cardDefaultModelHintBrief': 'Blank is the host default model, and an explicit dialog choice always wins over it.',
|
|
788
861
|
'settings.goalVerificationModelInvalid': 'The configured judge model is not a provider/model route; the host default is used instead.',
|
|
789
862
|
'running.executing': 'Executing',
|
|
790
863
|
'running.verifying': 'Verifying',
|
|
@@ -851,7 +924,7 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
851
924
|
'verify.applicability.goalDisabled': 'The global native /goal switch was off when this execution started, so it ran one plain turn: no goal acceptance was performed, which neither counts as a pass nor fails the run.',
|
|
852
925
|
'verify.effortFallback': 'Reasoning effort fallback: {requested} → {resolved}',
|
|
853
926
|
'verify.thresholdValue': '{value}%',
|
|
854
|
-
// Subtasks (parent/child links,
|
|
927
|
+
// Subtasks (parent/child links, dispatched by the parent card at run time, link/detach).
|
|
855
928
|
'detail.parent': 'Parent task',
|
|
856
929
|
'detail.parent.open': 'Open parent task',
|
|
857
930
|
'detail.subtasks': 'Subtasks',
|
|
@@ -860,8 +933,8 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
860
933
|
'detail.subtasks.link': 'Link existing task',
|
|
861
934
|
'detail.subtasks.detach': 'Detach',
|
|
862
935
|
'detail.subtasks.runningLock': 'This subtask is running; it can be detached or re-linked once it settles',
|
|
863
|
-
'detail.subtasks.runHint':
|
|
864
|
-
'detail.subtasks.runHintSettled':
|
|
936
|
+
'detail.subtasks.runHint': "Running this card opens one session, this card's own: it reads the {count} unfinished subtasks below, dispatches them in dependency order, and writes each subtask conclusion back once they finish. While any subtask is still unfinished, the run uses the liangshen preset; if that preset is missing, the run is refused outright.",
|
|
937
|
+
'detail.subtasks.runHintSettled': "Every subtask already sits in the done column, so this run opens only this card's own session and leaves them alone. To run one again, move it back to the todo column or run it on its own.",
|
|
865
938
|
'detail.subtasks.waiting': 'Waiting for subtasks',
|
|
866
939
|
'detail.subtasks.depthLimit': 'The subtask depth limit is {depth}; a subtask cannot create or link further subtasks.',
|
|
867
940
|
'detail.subtasks.hostOnly': 'Connect to the Host to create or link subtasks.',
|