dsh-collab-pair 1.4.0 → 1.4.2

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 (3) hide show
  1. package/client.js +13 -11
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/client.js CHANGED
@@ -116,7 +116,8 @@ window.__ModuleLoader__.load({
116
116
  remoteLink: '关联远端员工',
117
117
  remoteMissing: '请填写远端设备和别名。',
118
118
  remoteLinkDone: '已关联远端员工,接着给它派发任务。',
119
- stageTitle: '阶段队列',
119
+ stageTitle: '阶段待办(To-do)',
120
+ stageNoManager: '这个对话还不是项目经理。先在下方关联一个员工,或在侧栏右键该对话选择「设为项目经理(新建员工)」,之后就能在这里预先写多个大阶段。',
120
121
  stageIntro: '先写好几个大阶段,完成一个会自动派发下一个。',
121
122
  stageEmpty: '还没有阶段。先添加几个大阶段,完成一个会自动派发下一个。',
122
123
  stageWorker: '员工',
@@ -251,7 +252,8 @@ window.__ModuleLoader__.load({
251
252
  remoteLink: 'Link remote worker',
252
253
  remoteMissing: 'Enter the remote device and alias.',
253
254
  remoteLinkDone: 'Remote worker linked; dispatch a task next.',
254
- stageTitle: 'Stage queue',
255
+ stageTitle: 'To-do list',
256
+ stageNoManager: 'This conversation is not a project manager yet. Link a worker below, or right-click the conversation in the sidebar and choose "Set as project manager (new worker)"; then you can pre-write multiple stages here.',
255
257
  stageIntro: 'Write a few large stages up front; completing one dispatches the next automatically.',
256
258
  stageEmpty: 'No stage yet. Add a few large stages; completing one dispatches the next automatically.',
257
259
  stageWorker: 'Worker',
@@ -1017,14 +1019,14 @@ window.__ModuleLoader__.load({
1017
1019
  )
1018
1020
  }
1019
1021
 
1020
- const stageCard = role !== 'manager'
1021
- ? null
1022
- : h('div', { style: S.card },
1023
- h('div', { style: S.cardHead },
1024
- h('h3', { style: S.cardTitle }, t('stageTitle')),
1025
- h('span', { style: S.muted }, t('stageIntro')),
1026
- ),
1027
- managed.length === 0
1022
+ const stageCard = h('div', { style: S.card },
1023
+ h('div', { style: S.cardHead },
1024
+ h('h3', { style: S.cardTitle }, t('stageTitle')),
1025
+ h('span', { style: S.muted }, t('stageIntro')),
1026
+ ),
1027
+ role !== 'manager'
1028
+ ? h('p', { style: S.intro }, t('stageNoManager'))
1029
+ : managed.length === 0
1028
1030
  ? h('p', { style: S.intro }, t('stageNoWorker'))
1029
1031
  : h('div', { style: { display: 'flex', flexDirection: 'column', gap: 12 } },
1030
1032
  h('label', { style: S.label }, t('stageWorker'),
@@ -1224,6 +1226,7 @@ window.__ModuleLoader__.load({
1224
1226
  }, t('starLabel')),
1225
1227
  )
1226
1228
  return h('div', { style: S.page },
1229
+ starRow,
1227
1230
  header,
1228
1231
  feedback,
1229
1232
  h('h3', { style: S.cardTitle }, workTitle === undefined ? t('currentTitle') : `${t('currentTitle')} · ${workTitle}`),
@@ -1231,7 +1234,6 @@ window.__ModuleLoader__.load({
1231
1234
  relayCard,
1232
1235
  stageCard,
1233
1236
  boardCard,
1234
- starRow,
1235
1237
  )
1236
1238
  }
1237
1239
 
package/index.js CHANGED
@@ -41,7 +41,7 @@ const DONE = 'done'
41
41
  const STOPPED = 'stopped'
42
42
  const REPORTS = new Set(['done', 'partial', 'blocked'])
43
43
  const PROMPT_TIMEOUT_MS = 180000
44
- const ENGINE = 'collab-pair/1.4.0'
44
+ const ENGINE = 'collab-pair/1.4.2'
45
45
 
46
46
  /** A recoverable failure whose message is meant for the model. */
47
47
  class CollabError extends Error {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-collab-pair",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "For large projects: link a project-manager conversation with local or remote workers across devices (temporary or permanent), dispatch each round from the manager, relay results automatically, pre-write a stage queue that advances when a stage completes, and manage it all from a visual Settings page and a conversation context menu. Includes a relay hub and a free ntfy.sh transport for cross-device runs.",
5
5
  "type": "module",
6
6
  "license": "MIT",