@tocca-systems/twp-cli 0.15.1 → 0.17.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.
- package/CHANGELOG.public.md +21 -0
- package/command-model/_routes.json +1939 -0
- package/command-model/analysis.json +4 -4
- package/command-model/attendance.json +2 -2
- package/command-model/badge.json +4 -4
- package/command-model/dynamo-inquiry.json +41 -0
- package/command-model/holiday.json +19 -19
- package/command-model/index.json +5 -5
- package/command-model/invoice.json +1 -1
- package/command-model/project.json +42 -0
- package/command-model/sales.json +150 -150
- package/command-model/staff-kpi.json +47 -6
- package/command-model/staffing-plan.json +41 -0
- package/command-model/user-group.json +2 -2
- package/dist/api-command-UIL4WGMG.js +127 -0
- package/dist/{chunk-2SGDY6YP.js → chunk-2VISRLWS.js} +1 -1
- package/dist/{chunk-HCO3IYGJ.js → chunk-EZCMF4I3.js} +38 -18
- package/dist/{chunk-BPMSIIOU.js → chunk-KXFT226N.js} +11 -11
- package/dist/cli.js +4 -4
- package/dist/{commands-RNBJ3AKL.js → commands-UGGBVOYU.js} +23 -21
- package/dist/{project-KIPSH5GP.js → project-OKTJ32JT.js} +1 -1
- package/dist/run-DWQEHR6I.js +4 -0
- package/dist/{setup-OULTAG6G.js → setup-I4PA2TQW.js} +1 -1
- package/dist/{task-UK4QO26W.js → task-7K54BO5U.js} +1 -1
- package/package.json +1 -1
- package/dist/api-command-HGTPIEAP.js +0 -73
- package/dist/run-BJQLIPWN.js +0 -4
package/CHANGELOG.public.md
CHANGED
|
@@ -11,6 +11,27 @@
|
|
|
11
11
|
`CHANGELOG.md` に残してあります。顧客向けの履歴は public 公開以降を対象とします。
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
+
## 0.16.0
|
|
15
|
+
|
|
16
|
+
`twp task-loop` が、使っている AI アカウントの枠(利用率・上限・再ログイン期限)をエージェントループ画面へ報告できるようになりました。**設定しなければ何も変わりません**(プローブの実行も送信も起きません)。
|
|
17
|
+
|
|
18
|
+
`~/.twp/loops/<プロジェクトUUID>.json` に次のキーを足すと有効になります。
|
|
19
|
+
|
|
20
|
+
```jsonc
|
|
21
|
+
"capacity_probe": {
|
|
22
|
+
"command": ["claude-auto-switch", "status", "--json"],
|
|
23
|
+
"format": "claude_auto_switch/v1", // 既定は "twp.capacity/v1"(正準スキーマ直出し)
|
|
24
|
+
"interval": 900, // 送信間隔(秒)
|
|
25
|
+
"timeout": 15, // プローブのタイムアウト(秒)
|
|
26
|
+
"identity": "masked" // "masked"(既定) | "none" | "full"
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- `command` は任意のコマンドで、**標準出力の JSON を読むだけ**です。`format` が `twp.capacity/v1`(既定)なら正準スキーマをそのまま受け取り、`claude_auto_switch/v1` なら `claude-auto-switch status --json` の出力を変換します。他のツールを使う場合は、正準スキーマを標準出力に書くラッパを用意すれば `format` は既定のまま使えます。
|
|
31
|
+
- メールアドレスは送信前に伏字化されます(`agent@example.com` → `a**nt@ex*******om`)。`"identity": "none"` にすると識別子を一切送りません。
|
|
32
|
+
- プローブが失敗しても**ループは止まりません**。警告を1行出し、「取得に失敗した」という事実のほうを送ります。
|
|
33
|
+
- `command` を指定していない・書式が不正な場合は、警告を出したうえで枠の観測を行いません(勝手に既定のコマンドを実行することはありません)。
|
|
34
|
+
|
|
14
35
|
## 0.15.0
|
|
15
36
|
|
|
16
37
|
モードを自分で調整できるようになりました。`.twp/modes/dev.md`(プロジェクト)や `~/.twp/modes/dev.md`(個人)に markdown を置くと、そのモードのラベル・色・使えるツール・権限・モデルへの指示を上書きできます。書き間違えても起動は止まらず、警告を出して既定の設定で続きます。
|