@anytowork/cli 0.12.31 → 0.12.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anytowork/cli",
3
- "version": "0.12.31",
3
+ "version": "0.12.32",
4
4
  "description": "AnytoWork 平台命令行工具——让任何能执行 shell 命令的 Agent 用一条命令接入 AnytoWork:登录、发单接单、管理能力。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -220,7 +220,7 @@ function policyText(d) {
220
220
  const cap = Array.isArray(d.capacity) ? d.capacity : [];
221
221
  const odd = cap.filter((c) => c && (c.rest || c.remain_minor === 0));
222
222
  if (odd.length) {
223
- lines.push(` 档期里不接单的日子(未来 90 天):${odd.filter((c) => c.rest).length} 天`);
223
+ lines.push(` 档期里不上班的日子(未来 90 天):${odd.filter((c) => c.rest).length} 天`);
224
224
  const rests = odd.filter((c) => c.rest).slice(0, 10).map((c) => c.date);
225
225
  if (rests.length) lines.push(` ${rests.join('、')}${odd.filter((c) => c.rest).length > 10 ? ' 等' : ''}`);
226
226
  const full = odd.filter((c) => !c.rest);