@contraagent/ui 0.7.2 → 0.8.1

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 (151) hide show
  1. package/README.md +1 -1
  2. package/custom-elements.json +105 -79
  3. package/dist/adapters/filters.d.ts +7 -1
  4. package/dist/adapters/filters.d.ts.map +1 -1
  5. package/dist/adapters/filters.js +8 -2
  6. package/dist/adapters/filters.js.map +1 -1
  7. package/dist/adapters/journal-columns.d.ts +2 -0
  8. package/dist/adapters/journal-columns.d.ts.map +1 -1
  9. package/dist/adapters/journal-columns.js +20 -7
  10. package/dist/adapters/journal-columns.js.map +1 -1
  11. package/dist/adapters/kpi-tiles.d.ts +8 -3
  12. package/dist/adapters/kpi-tiles.d.ts.map +1 -1
  13. package/dist/adapters/kpi-tiles.js +38 -17
  14. package/dist/adapters/kpi-tiles.js.map +1 -1
  15. package/dist/adapters/transcript/sections.d.ts +5 -0
  16. package/dist/adapters/transcript/sections.d.ts.map +1 -1
  17. package/dist/adapters/transcript/sections.js +7 -1
  18. package/dist/adapters/transcript/sections.js.map +1 -1
  19. package/dist/contraagent-ui.js +687 -697
  20. package/dist/elements/lists/ca-contracts.d.ts +3 -4
  21. package/dist/elements/lists/ca-contracts.d.ts.map +1 -1
  22. package/dist/elements/lists/ca-contracts.js +26 -20
  23. package/dist/elements/lists/ca-contracts.js.map +1 -1
  24. package/dist/elements/overview/ca-kpis.d.ts +3 -1
  25. package/dist/elements/overview/ca-kpis.d.ts.map +1 -1
  26. package/dist/elements/overview/ca-kpis.js +7 -2
  27. package/dist/elements/overview/ca-kpis.js.map +1 -1
  28. package/dist/elements/overview/ca-model-usage.d.ts +2 -1
  29. package/dist/elements/overview/ca-model-usage.d.ts.map +1 -1
  30. package/dist/elements/overview/ca-model-usage.js +3 -2
  31. package/dist/elements/overview/ca-model-usage.js.map +1 -1
  32. package/dist/elements/overview/ca-overview.d.ts +1 -5
  33. package/dist/elements/overview/ca-overview.d.ts.map +1 -1
  34. package/dist/elements/overview/ca-overview.js +53 -77
  35. package/dist/elements/overview/ca-overview.js.map +1 -1
  36. package/dist/elements/overview/ca-pipeline-graph.d.ts +8 -1
  37. package/dist/elements/overview/ca-pipeline-graph.d.ts.map +1 -1
  38. package/dist/elements/overview/ca-pipeline-graph.js +11 -6
  39. package/dist/elements/overview/ca-pipeline-graph.js.map +1 -1
  40. package/dist/elements/overview/ca-run-driver.d.ts.map +1 -1
  41. package/dist/elements/overview/ca-run-driver.js +6 -5
  42. package/dist/elements/overview/ca-run-driver.js.map +1 -1
  43. package/dist/elements/overview/pipeline-graph/strings.js +3 -3
  44. package/dist/elements/overview/pipeline-graph/strings.js.map +1 -1
  45. package/dist/elements/shared/ca-definition.d.ts.map +1 -1
  46. package/dist/elements/shared/ca-definition.js +1 -2
  47. package/dist/elements/shared/ca-definition.js.map +1 -1
  48. package/dist/elements/shared/file-card.d.ts.map +1 -1
  49. package/dist/elements/shared/file-card.js +2 -2
  50. package/dist/elements/shared/file-card.js.map +1 -1
  51. package/dist/elements/shell/ca-hosts.d.ts.map +1 -1
  52. package/dist/elements/shell/ca-hosts.js +1 -2
  53. package/dist/elements/shell/ca-hosts.js.map +1 -1
  54. package/dist/elements/shell/ca-monitor.d.ts +3 -1
  55. package/dist/elements/shell/ca-monitor.d.ts.map +1 -1
  56. package/dist/elements/shell/ca-monitor.js +20 -9
  57. package/dist/elements/shell/ca-monitor.js.map +1 -1
  58. package/dist/elements/shell/ca-run-picker.js +1 -1
  59. package/dist/elements/shell/ca-run-picker.js.map +1 -1
  60. package/dist/elements/shell/ca-theme-switch.d.ts.map +1 -1
  61. package/dist/elements/shell/ca-theme-switch.js +6 -1
  62. package/dist/elements/shell/ca-theme-switch.js.map +1 -1
  63. package/dist/elements/task/ca-task-view.js +2 -2
  64. package/dist/elements/task/ca-task-view.js.map +1 -1
  65. package/dist/elements/task/ca-transcript.d.ts +3 -0
  66. package/dist/elements/task/ca-transcript.d.ts.map +1 -1
  67. package/dist/elements/task/ca-transcript.js +11 -4
  68. package/dist/elements/task/ca-transcript.js.map +1 -1
  69. package/dist/elements/task/context.d.ts +1 -3
  70. package/dist/elements/task/context.d.ts.map +1 -1
  71. package/dist/elements/task/context.js +2 -1
  72. package/dist/elements/task/context.js.map +1 -1
  73. package/dist/elements/task/header.d.ts +3 -0
  74. package/dist/elements/task/header.d.ts.map +1 -1
  75. package/dist/elements/task/header.js +25 -14
  76. package/dist/elements/task/header.js.map +1 -1
  77. package/dist/elements/task/panes/io.d.ts +1 -1
  78. package/dist/elements/task/panes/io.d.ts.map +1 -1
  79. package/dist/elements/task/panes/io.js +21 -25
  80. package/dist/elements/task/panes/io.js.map +1 -1
  81. package/dist/elements/trends/ca-trends.d.ts.map +1 -1
  82. package/dist/elements/trends/ca-trends.js +2 -1
  83. package/dist/elements/trends/ca-trends.js.map +1 -1
  84. package/dist/locales/ja.d.ts +25 -32
  85. package/dist/locales/ja.d.ts.map +1 -1
  86. package/dist/locales/ja.js +25 -32
  87. package/dist/locales/ja.js.map +1 -1
  88. package/dist/words/contract.d.ts +4 -2
  89. package/dist/words/contract.d.ts.map +1 -1
  90. package/dist/words/contract.js +7 -5
  91. package/dist/words/contract.js.map +1 -1
  92. package/dist/words/index.d.ts +1 -0
  93. package/dist/words/index.d.ts.map +1 -1
  94. package/dist/words/index.js +1 -0
  95. package/dist/words/index.js.map +1 -1
  96. package/dist/words/lineage.d.ts +11 -0
  97. package/dist/words/lineage.d.ts.map +1 -1
  98. package/dist/words/lineage.js +13 -1
  99. package/dist/words/lineage.js.map +1 -1
  100. package/dist/words/quota.d.ts +2 -0
  101. package/dist/words/quota.d.ts.map +1 -1
  102. package/dist/words/quota.js +4 -0
  103. package/dist/words/quota.js.map +1 -1
  104. package/dist/words/rounds.d.ts +2 -2
  105. package/dist/words/rounds.js +4 -4
  106. package/dist/words/rounds.js.map +1 -1
  107. package/dist/words/run-line.d.ts +5 -3
  108. package/dist/words/run-line.d.ts.map +1 -1
  109. package/dist/words/run-line.js +6 -4
  110. package/dist/words/run-line.js.map +1 -1
  111. package/dist/words/trends.d.ts +2 -2
  112. package/dist/words/trends.d.ts.map +1 -1
  113. package/dist/words/trends.js +5 -3
  114. package/dist/words/trends.js.map +1 -1
  115. package/dist/words/working-directory.d.ts +5 -0
  116. package/dist/words/working-directory.d.ts.map +1 -0
  117. package/dist/words/working-directory.js +7 -0
  118. package/dist/words/working-directory.js.map +1 -0
  119. package/package.json +3 -3
  120. package/src/adapters/filters.ts +10 -2
  121. package/src/adapters/journal-columns.ts +21 -7
  122. package/src/adapters/kpi-tiles.ts +40 -18
  123. package/src/adapters/transcript/sections.ts +10 -2
  124. package/src/elements/lists/ca-contracts.ts +26 -20
  125. package/src/elements/overview/ca-kpis.ts +4 -2
  126. package/src/elements/overview/ca-model-usage.ts +3 -2
  127. package/src/elements/overview/ca-overview.ts +49 -79
  128. package/src/elements/overview/ca-pipeline-graph.ts +11 -6
  129. package/src/elements/overview/ca-run-driver.ts +5 -6
  130. package/src/elements/overview/pipeline-graph/strings.ts +3 -3
  131. package/src/elements/shared/ca-definition.ts +1 -2
  132. package/src/elements/shared/file-card.ts +2 -2
  133. package/src/elements/shell/ca-hosts.ts +1 -2
  134. package/src/elements/shell/ca-monitor.ts +19 -8
  135. package/src/elements/shell/ca-run-picker.ts +1 -1
  136. package/src/elements/shell/ca-theme-switch.ts +6 -1
  137. package/src/elements/task/ca-task-view.ts +2 -2
  138. package/src/elements/task/ca-transcript.ts +9 -4
  139. package/src/elements/task/context.ts +2 -1
  140. package/src/elements/task/header.ts +27 -15
  141. package/src/elements/task/panes/io.ts +21 -25
  142. package/src/elements/trends/ca-trends.ts +2 -1
  143. package/src/locales/ja.ts +25 -32
  144. package/src/words/contract.ts +9 -5
  145. package/src/words/index.ts +1 -0
  146. package/src/words/lineage.ts +16 -2
  147. package/src/words/quota.ts +6 -0
  148. package/src/words/rounds.ts +4 -4
  149. package/src/words/run-line.ts +8 -5
  150. package/src/words/trends.ts +5 -3
  151. package/src/words/working-directory.ts +8 -0
package/src/locales/ja.ts CHANGED
@@ -33,6 +33,7 @@
33
33
  'part-input-files': `入力ファイル`,
34
34
  'part-params': `パラメータ`,
35
35
  's0007e74d64dabdbc': `実行履歴の未実行のタスク`,
36
+ 's0094a2c710d4521a': `修正ラウンド 1 回後`,
36
37
  's00cfc1e282ce46d7': str`HTTP ステータス ${0}`,
37
38
  's02f7b7c4ece3e097': `実行されず`,
38
39
  's02f936d07f478eb8': str`アカウント: ${0}`,
@@ -51,7 +52,6 @@
51
52
  's051e95917479e3a4': `実行中のエージェントのセッション`,
52
53
  's05548eaadd7b3e53': `選択中の項目`,
53
54
  's05fd532bd52adeae': `認証エラー`,
54
- 's061a40d8b1403d96': `OutputContract`,
55
55
  's0622a6e6cb77254b': `トランスクリプト`,
56
56
  's0668067982f84dcb': `ユニットごとのステージとステップ(CursorStore)`,
57
57
  's066d70cf9d5e2915': `出力`,
@@ -107,19 +107,17 @@
107
107
  's168ae294e3e72ce4': `検証のタイミング`,
108
108
  's1703f5cfa8ed0cc9': str`実行されず ${0} 件`,
109
109
  's1725258e65a9f38f': str`同じフローの実行 ${0} から見込んだ、この実行がまだ作成していないタスク(forecast)`,
110
- 's179ba9809bdf35c7': `アカウントごと、最初の値 → 最後の値`,
111
110
  's17d7937260be87a6': `利用率のルール`,
112
111
  's17ee023c53dcd83c': `書き込み待ち(タスクが待機中)`,
113
112
  's18d4d02c2e47cf0f': str`ループ内の ${0}`,
114
113
  's19785bbda7e548bc': `利用できるモデルなし`,
115
114
  's19ed92a422ad7e4c': `上限: max_concurrent`,
116
115
  's1a20210c3f1e40c9': str`スキップ ${0} 件`,
116
+ 's1a2c5a8f76ad9fe3': str`5 時間枠 ${0} → ${1}`,
117
117
  's1a3bf4da26280428': `種別 · ユニット`,
118
118
  's1a4311a6ff81c6ec': `モデルごとの、エージェントのセッションの使用量。モデル切り替えの前後は別々に集計(Plan.models)`,
119
119
  's1ac8c23d19212c8a': `エディタのテーマ`,
120
- 's1acc85c236fed879': `書き込まれていない出力 1 件(タスクが未実行)`,
121
120
  's1b20c3bebd6687ca': str`種別 ${0}`,
122
- 's1bb7c4234aa7d213': `すべてのタスクが開始済み`,
123
121
  's1bf54dcd1c885a20': `実行中のプロセスなし`,
124
122
  's1c0f7e3a9a6bce79': `パラメータ`,
125
123
  's1c2af4de03b03b48': `タスクが選択されていません`,
@@ -133,7 +131,6 @@
133
131
  's1e9a9d076c64051d': str`プロンプト(${0} 文字、ほか ${1} 文字は未保存)`,
134
132
  's1ebbae8f5810b65b': `入力`,
135
133
  's1f25e1e20469a9ea': `削除`,
136
- 's1f53dce0721a5fdc': str`所要時間 ${0}`,
137
134
  's2043c2041d0a5142': `安全分類器による停止`,
138
135
  's20e04bdc808a6442': str`リセットまで ${0}`,
139
136
  's20f936012bd51f12': `依存先タスクが実行されなかった`,
@@ -148,7 +145,6 @@
148
145
  's23ba00b0f333e17e': str`${0} 回の試行がすべて失敗: ${1}`,
149
146
  's23f40d3ffdd352a6': `定義はまだありません`,
150
147
  's2413de2aeb2cad27': str`完了 ${0}`,
151
- 's2575361362fcf642': `OutputContract・InputContract を宣言したタスクはありません`,
152
148
  's25f66969239538c1': str`まだ登録されていない種別: ${0}`,
153
149
  's26012de2ae38a284': `API 呼び出し 1 回`,
154
150
  's26bae2d058ab07f8': `ユニットなし`,
@@ -159,7 +155,7 @@
159
155
  's27d5ef7cf527424b': `フローの構成`,
160
156
  's28a2fc439aac9783': `リプレイ`,
161
157
  's28add9c74fb1b7ef': `曜日と時刻ごと(期間のタイムゾーン)`,
162
- 's28f91da403800c05': `InputContract`,
158
+ 's29b5ddbe5c1003ee': str`${1} タスク中 ${0} 件`,
163
159
  's29b6d46649a71377': str`最大コンテキスト: ${0}`,
164
160
  's2a2e8a5afcc8d89a': `現在`,
165
161
  's2c0c7686db4c5c18': str`パラメータ ${0}`,
@@ -172,11 +168,9 @@
172
168
  's2e422519ed38f7d8': `周`,
173
169
  's2f3435308f48080e': str`${0} 周`,
174
170
  's2f3c9db4daa3e192': `問題なし`,
175
- 's2f4e0fd086ad4b96': `すべての出力`,
176
171
  's2f54740b39931f87': `定義なし`,
177
172
  's2faec8a0d7db08dd': str`5 時間枠の利用率 ${0}(リセット ${1})`,
178
173
  's2fe3f0ef38a252c7': `ツール`,
179
- 's2fea0e9e542e5b47': str`修正依頼 ${0}`,
180
174
  's31377c5b29515e8b': `終了(未実行のタスク 1 件)`,
181
175
  's31ad37e9f51902fd': str`待たれなかったタスク ${0} 件`,
182
176
  's321b04e2b2f863d5': `余分なフィールド`,
@@ -200,6 +194,8 @@
200
194
  's3786b7768c22d7fd': `検証エラーの後に、同じエージェントのセッションで続けるラウンド(rounds)`,
201
195
  's37da018e1fe6a0d7': `スキーマ以外の検証(validators)`,
202
196
  's3841eba6a1c038af': str`${0} を展開`,
197
+ 's3850065925d06b86': `各タスクが読み込むファイル(InputContract)`,
198
+ 's3850111242895c2f': str`修正ラウンド ${0}`,
203
199
  's387a4a41718122cb': str`検索結果 ${0} 件`,
204
200
  's38e65cca012f316f': `修正依頼のプロンプトに含めて送信`,
205
201
  's38e6a13eab00995b': `日ごとの料金`,
@@ -208,6 +204,7 @@
208
204
  's3a72e9d65b4a1ccb': str`上限: ${0}`,
209
205
  's3aa67b8233b5ecd0': `出力ファイルなし`,
210
206
  's3b32dd23d086c992': `プロセスツリー`,
207
+ 's3b8db9525c909688': `アカウント全体の値 | アカウントごとの最初と最後の値 | エージェントのセッション開始時に取得`,
211
208
  's3b9cab5f0aaad29d': str`${0} にモニター API がありません: ${1}`,
212
209
  's3bde79a5267baa21': str`task_detail コールバックが失敗: ${0}`,
213
210
  's3c6c1ae328e812d5': `実行した試行の回数`,
@@ -219,10 +216,10 @@
219
216
  's3d99e317c3b7b422': `検証エラー後の、同じエージェントのセッション`,
220
217
  's3d9b2f1277134dfc': `テキストファイル`,
221
218
  's3dd137f6b70ab45f': `ネットワークエラーで応答なし`,
222
- 's3f18b1a78ce1a960': `各タスクが書き込むファイル`,
223
219
  's3f7074a6bbbd7726': `修正依頼`,
224
220
  's3fd6bd99e3f6a5be': `開始`,
225
221
  's3fda7269dc9d47ba': `このタスクの出力が後続タスクのパラメータに含まれる(given_from)`,
222
+ 's3ffb8ae91df75075': str`認証情報: ${0}`,
226
223
  's40750d44c5ea3271': str`${0}: 入力`,
227
224
  's4085b471de2e2215': `週の利用率`,
228
225
  's4134711b0b981089': `Tab: 次のノード`,
@@ -234,7 +231,6 @@
234
231
  's451bb7dd42aaf221': `料金の高いタスク`,
235
232
  's454c0dcbb0dffc2f': str`${0} のループの各周`,
236
233
  's45de7528c20a0792': str`${0}(カスタムビュー)`,
237
- 's46694c626352a2a7': `モデル切り替えのあったタスク 1 件`,
238
234
  's467ceab5071e77a3': str`1 周: ${0}`,
239
235
  's473bad4c26a1a663': `キャッシュ読み込み`,
240
236
  's478b912874fef59f': `検証対象のファイル(OutputContract、InputContract)`,
@@ -247,6 +243,7 @@
247
243
  's48e186fb300e5464': `所要時間`,
248
244
  's49098dfd8a30a9b7': `モニターのサーバーに接続済み`,
249
245
  's491765412b82838e': str`${0} のループ`,
246
+ 's49c85c93fd66fbe4': str`修正ラウンド ${0} 回`,
250
247
  's4abcddbf0c24a4e2': str`${0} 日前`,
251
248
  's4cd75aa2c080e64a': `あと 1 件の見込み(forecast)`,
252
249
  's4d613d768e2faa0d': `検索結果 1 件`,
@@ -255,6 +252,7 @@
255
252
  's4efee5b48a4593cb': `ループ`,
256
253
  's4f0af1e75e3f4e0d': `スキーマにない`,
257
254
  's4f901d8830793b99': str`ホスト ${0}`,
255
+ 's4fca51e2e890a0f0': `検証エラーを示し、同じエージェントのセッションで出力の修正を求める依頼。ラウンドの途中、または修正ラウンドで(hook_errors, rounds)`,
258
256
  's4fed3c544c5791df': `エージェントタスク`,
259
257
  's5013070506ff1eda': str`取り消し ${0} 件`,
260
258
  's50182c197f93c873': str`${0}: ${1} → ${2}`,
@@ -268,12 +266,12 @@
268
266
  's525c011dcf23c207': `記録から再生した試行(replayed)`,
269
267
  's529efbcb1a0cf166': str`上限 ${0}`,
270
268
  's52bd9d64b4c399df': `このバージョンの contraagent が対応していないイベント種別(unread_events)`,
271
- 's52c75c50315f2111': `次の周`,
272
269
  's52cce0c30a5db40c': str`${0} の締め切りと仕上げの猶予を過ぎた`,
273
270
  's52cfd5bdf53cbac3': `カスタムビュー`,
274
271
  's535a5e9dfeb308f0': `種別`,
275
272
  's53c57cf5a0992de1': str`${0}: 未実行`,
276
273
  's53c8c76220414382': `不可`,
274
+ 's53ebfdf5583cbe71': `次の周`,
277
275
  's5410888308ba73df': `開始できず`,
278
276
  's54393bfa280ea55b': `プロンプト`,
279
277
  's552240946fb80e49': str`フロー呼び出し ${0}`,
@@ -283,6 +281,7 @@
283
281
  's5590dbf7e425789d': `項目`,
284
282
  's559ffe740d166c8d': `その他のモデル`,
285
283
  's55fa598b754cc3cc': str`${0}(${1})`,
284
+ 's5657377baae212e4': `修正ラウンド 1 回`,
286
285
  's5667ab3a2fddedf6': str`(ほか ${0} 文字は未保存)`,
287
286
  's567f1fa5829fb0c2': `未実行(依存先タスクが失敗)`,
288
287
  's56838581fa8422a5': str`後続タスク: ${0}`,
@@ -306,6 +305,7 @@
306
305
  's5cfa1889ee16f534': `値なし`,
307
306
  's5d0bd939d106436c': `実行中にこのタスクが占有する名前(claims)`,
308
307
  's5d4b0dd369b6083e': str`${0} 回目で完了 | 失敗 ${1} 回`,
308
+ 's5d51d4e0b343cf54': str`利用率: ${0}`,
309
309
  's5da52af9b083c29a': `モデル`,
310
310
  's5de9d2dc62f214f9': `依存先タスク`,
311
311
  's5e30a7b87ccdc74f': `書き込みなし(タスクが未実行)`,
@@ -335,7 +335,6 @@
335
335
  's670ef751f29dc9ae': str`${0} ユニット`,
336
336
  's673f9ec66716c84a': `停止でエラー`,
337
337
  's680fc90489553ed6': `タイムライン`,
338
- 's685f61cef2e55d31': `修正依頼`,
339
338
  's68818ff23f9c3cd6': `その他の検証`,
340
339
  's68d5849bad94a91d': str`仕上げの猶予 ${0}`,
341
340
  's69522c8fd29e217c': `修正依頼 1 回`,
@@ -386,7 +385,6 @@
386
385
  's79a4abd140c07a19': str`未対応のイベント: ${0}`,
387
386
  's79faeb77f29174c8': str`5 時間枠の利用率 ${0}`,
388
387
  's7a14301773287a5c': `エラーで終了したフロー呼び出し 1 件`,
389
- 's7a30a0774744040b': `出力ファイル`,
390
388
  's7a4c9d94aaf75c45': `権限エラー`,
391
389
  's7b16665b242b03f9': `入力ファイルなし`,
392
390
  's7b1cef9707986270': `修正依頼のあった試行`,
@@ -404,14 +402,13 @@
404
402
  's803ce7e1a2294d50': `ファイル`,
405
403
  's8076e2fb2b749dd1': `実行 1 件`,
406
404
  's80c0e9fb2bb2e230': `1 行`,
407
- 's8162d2730a5efc31': `モデル切り替えなし`,
408
405
  's81729579ad44c896': `変更したファイル 1 件`,
406
+ 's81a4ee43fe0936ee': `各タスクが書き込むファイル(OutputContract)`,
409
407
  's822f38a61c9dbabc': str`以前の試行のモデル: ${0}`,
410
408
  's826d5aa7edf4f1db': `エージェントのセッションが使ったモデル`,
411
409
  's8273cf03c84a59ef': `認証情報が休止中`,
412
410
  's837f3597be0e0bda': str`書き込み ${0}`,
413
411
  's84126fa92f00b4ef': `たった今`,
414
- 's843c1705315bbf4e': str`修正依頼 ${0} 回後`,
415
412
  's84fb675fb17d4455': `リトライ`,
416
413
  's851220394bf4ca62': str`テーマ: ${0}`,
417
414
  's851d0f73d02cf0b5': `ファイルの値`,
@@ -425,11 +422,9 @@
425
422
  's877a8bf58317ec9e': str`${0} 回目の失敗後の、新しいエージェントのセッション`,
426
423
  's87aaf1391fb727b7': `実行されず`,
427
424
  's87b0c0d87ec9c3a1': str`モデル切り替え後に完了: ${0}`,
428
- 's87cfcf0fecad5ace': `修正依頼 1 回後`,
429
425
  's8807d2925482479b': `全試行の合計`,
430
426
  's888d98a196a240d8': `入力`,
431
427
  's88be8b2eafea1028': `表で表示`,
432
- 's88e6f151026426e7': str`修正依頼 ${0}`,
433
428
  's892f20ba2aadea33': str`入力 ${0}(${1} の出力)がありません`,
434
429
  's89ece7813063852e': `パラメータなし`,
435
430
  's8a56a8c8bd19c9c7': `なし`,
@@ -464,7 +459,6 @@
464
459
  's90e8d2050eab6478': `ほかの種別が実装する種別(base_kind)`,
465
460
  's90f3ce6dfe4ed0ce': `認証エラー`,
466
461
  's9147091d090a92d4': str`最大 ${0} 周`,
467
- 's915525f01e5ebdb9': str`モデル ${0} 種類`,
468
462
  's919d209719302bd3': str`${0}d ${1}h`,
469
463
  's91d2138e1db80125': `順序のみの依存先`,
470
464
  's9246c889a0392130': str`モデル ${0}`,
@@ -489,7 +483,6 @@
489
483
  's98b1cb8fb62909ec': `グループ`,
490
484
  's98fc8cf0000154d3': `入力ファイルなし`,
491
485
  's9976b5befb314c64': str`${0} 日間`,
492
- 's9a23fee499e1a22d': `すべてのプロセス`,
493
486
  's9a44f95f7acf28e0': str`失敗: ${0}`,
494
487
  's9a629cca97d7a771': str`Web 検索 ${0} 回`,
495
488
  's9aa7daedb08fe44c': `API 呼び出し 1 回あたりの入力の最大値。キャッシュ読み込みとキャッシュ書き込みを含む(peak_context)`,
@@ -500,10 +493,12 @@
500
493
  's9bd11c2c49c08916': str`${0} 回目で完了 | 失敗 ${1} 回 | 最初の失敗: ${2}`,
501
494
  's9c325e901c43f27a': str`上限を超えた利用: ${0}`,
502
495
  's9c5f040496c9716b': str`${0} の出力`,
496
+ 's9c64a5e5cd2b70e9': `修正ラウンド`,
503
497
  's9c77b049b9f43ad5': `すべての中を表示`,
504
498
  's9cb7a149bc9abd88': `実装する種別`,
505
499
  's9d313ec614917a38': str`${0} 時点の書き出し`,
506
500
  's9d60d7651126c205': `最終応答なしで終了`,
501
+ 's9da88e027753b536': str`修正ラウンド ${0} 回後`,
507
502
  's9de543933e6e703a': `モデル`,
508
503
  's9e06cbf9c5f57859': str`状態: ${0}`,
509
504
  's9e8afbe69b10d822': `未実行(入力ファイルに検証エラー)`,
@@ -526,9 +521,8 @@
526
521
  'sa390213ff60c0fd9': str`実行中のエージェントのセッションの新しいイベント ${0} 件を表示`,
527
522
  'sa3c9339de23c1752': `形式`,
528
523
  'sa3d3f3845c4fa2c4': str`週の利用率 ${0}(リセット ${1})`,
524
+ 'sa3db40076838d4d7': `エージェント・モデル`,
529
525
  'sa3deee7949f9fece': `停止`,
530
- 'sa3ed6953c910cb53': `アカウント全体の値 | エージェントのセッション開始時に取得`,
531
- 'sa3f961297cb9207f': `各タスクが読み込むファイル`,
532
526
  'sa434ad4d2100f245': `作成元`,
533
527
  'sa48318e1513f445c': `コマンドライン`,
534
528
  'sa4f4addc6a836fcf': str`最大 ${0} 回`,
@@ -536,7 +530,6 @@
536
530
  'sa50a6326530d8a0d': `折りたたむ`,
537
531
  'sa5441ff1c4c71a32': `API 呼び出しごとのトークンは不明`,
538
532
  'sa57b5e86ecb7d735': `権限エラーになったツール呼び出し`,
539
- 'sa58fd816ed43f98e': `周回数`,
540
533
  'sa6295f265bf36f55': str`${0}: トランスクリプト`,
541
534
  'sa66db52d0401c35d': str`前の ${0} 行を表示`,
542
535
  'sa6ab5184d6315895': `開始日`,
@@ -553,6 +546,7 @@
553
546
  'sa9dbdda88ddccf5c': `報告なし`,
554
547
  'saa08e9b351f629c4': `書き込み待ち(タスクが実行中)`,
555
548
  'saa29a2ac03cd9d19': `理由`,
549
+ 'saa9614e57f673c62': `OutputContract・InputContract を宣言したタスクなし`,
556
550
  'saaaf4d8d7823ecc2': `5 時間枠の利用率`,
557
551
  'saab875d8cfcfe712': `テーマ`,
558
552
  'sab5bbfc5ec1101a1': str`${0} 行目`,
@@ -575,6 +569,7 @@
575
569
  'sb05ee36313adad06': `エラー`,
576
570
  'sb067d7b999cdf867': `実行履歴の修正依頼のあった試行`,
577
571
  'sb0c5ebf2450daf53': `サブスクリプションの利用率`,
572
+ 'sb0cc319c72ab8ad8': str`週 ${0} → ${1}`,
578
573
  'sb0fd4b074f0dc196': `Python タスク 1 回`,
579
574
  'sb105a27af3c34dd9': str`未実行: ${0}`,
580
575
  'sb1068f146c4596c3': `検索語`,
@@ -590,7 +585,6 @@
590
585
  'sb31160f9d54a1178': str`プロンプト(${0} 文字)`,
591
586
  'sb34b61edb59f7b62': str`変更したファイル ${0} 件`,
592
587
  'sb38cfd00b497faae': `ツール呼び出し`,
593
- 'sb45a9b8907f0b38a': `リトライしたタスク 1 件`,
594
588
  'sb4d67c0a20dacf94': `トランスクリプトなし`,
595
589
  'sb51d4fbebeb0e2ec': `パイプラインのプロセス内`,
596
590
  'sb53f7a197981b790': `はい`,
@@ -598,6 +592,7 @@
598
592
  'sb594f8019b3bf708': str`コンテキストの上限に接近(${0}%)`,
599
593
  'sb5ae7a6b849639af': `未実行`,
600
594
  'sb6bb16aa7550533d': `タスク実行中の書き込みが必須`,
595
+ 'sb7471868c78302d7': `下の階層あり`,
601
596
  'sb76f9199c15fe03c': str`${0} に停止`,
602
597
  'sb8127ffb12a5fb54': `実行したエージェントのセッションのトークンは不明(usage_unknown)`,
603
598
  'sb89b16909f010061': `エージェントのセッション 1 回`,
@@ -612,7 +607,6 @@
612
607
  'sbaf87689cccc53eb': `要素 1 個`,
613
608
  'sbb0f058643587149': str`このバージョンの contraagent が対応していないイベント種別(unread_events): ${0}`,
614
609
  'sbb202211084591ed': `開始時の利用率`,
615
- 'sbb77dd1d4c08e701': str`${1} タスク中 ${0} 件が未完了`,
616
610
  'sbb99d4ec27fbb263': `終了`,
617
611
  'sbbe1ac88d71c2fec': `入力元`,
618
612
  'sbc65d1b9648966de': str`${0} 周: ${1}`,
@@ -642,11 +636,11 @@
642
636
  'sc53249f5adb55c77': `休止した認証情報`,
643
637
  'sc54183a104e8da25': str`${0} の締め切りを過ぎた`,
644
638
  'sc5751344f7cedf0f': str`入力 ${0} に検証エラー`,
639
+ 'sc59982d9c1f538fa': str`${2} 年 ${0}〜${1}`,
645
640
  'sc5b9f26a8c698f76': `次のモデルでの新しいエージェントのセッション`,
646
641
  'sc61813a1424783fc': str`週 ${0}`,
647
642
  'sc65ea2cf2f21a13a': `縮小`,
648
643
  'sc683c10250a1b719': `日時`,
649
- 'sc6c0d07e39170334': str`書き込まれていない出力 ${0} 件(タスクが未実行)`,
650
644
  'sc6e4815e573036bd': `締め切りまでに終わらない`,
651
645
  'sc6fd207e5b80c46e': str`エラーで終了したフロー呼び出し ${0} 件`,
652
646
  'sc732f2e2fbe9f15e': `開始`,
@@ -666,6 +660,7 @@
666
660
  'scb862deeee160b4a': `終了(未完了のタスク 1 件)`,
667
661
  'scb967cb2ce8bd344': `最終試行の終了時刻`,
668
662
  'scbd3558d2cfc7dc3': `全文`,
663
+ 'scbfbd1c90da088a2': str`試行 ${1} 回中 ${0} 回`,
669
664
  'sccad21b77f9a317c': str`最も高い種別: ${0}`,
670
665
  'sccce3de7b4abfdfe': `モデルが応答を拒否`,
671
666
  'scd16bc5ac18bdf91': `モデルの応答`,
@@ -695,6 +690,7 @@
695
690
  'sd5c13f0d5d88c035': str`変更: ${0}`,
696
691
  'sd5da7ee4a43a6b2d': str`トークン: 入力 ${0}、出力 ${1}、キャッシュ読み込み ${2}、キャッシュ書き込み ${3}`,
697
692
  'sd5e28ee1c3ede3b6': `所要時間の合計`,
693
+ 'sd6a08709ccdbf95c': `タスク呼び出しが実行全体の代わりに指定した、このタスクの作業ディレクトリ(cwd)`,
698
694
  'sd7338946b42394f4': `失敗`,
699
695
  'sd7445330352af2c5': `検証対象のファイル`,
700
696
  'sd747248fb64d7bb2': `なし(任意)`,
@@ -715,13 +711,11 @@
715
711
  'sdb80a6330c0fa072': `出力に検証エラー`,
716
712
  'sdc40078597054827': str`実行グループ ${0}`,
717
713
  'sdd178845f5450ded': `モニターから応答がありません`,
718
- 'sdd4a8ac67f7885c1': `モデル 1 種類`,
719
- 'sdd826d4b3e02f41b': `修正依頼なし`,
720
714
  'sddf65e6dc438188d': `ビューを表示`,
715
+ 'sde3961511d128fcd': str`作業ディレクトリ ${0}`,
721
716
  'sde7cbc4291a82cc4': `履歴にほか 1 件`,
722
717
  'sde88e8c24887ecfe': str`アカウント ${0}`,
723
718
  'sdf14d39488c16f16': str`${0} 回目で完了 | 失敗 1 回 | 最初の失敗: ${1}`,
724
- 'sdf452c95fdeb4be0': `リトライなし`,
725
719
  'sdf922ccc13491763': `リトライ後に完了`,
726
720
  'se0e6bb970987cfb7': str`${0} から休止中`,
727
721
  'se0edc9b6c4e14371': str`実行されず: ${0}`,
@@ -733,16 +727,15 @@
733
727
  'se2cd8c3175e8f91f': str`期待する型: ${0}`,
734
728
  'se3b4c857f91f80d7': `キーボードショートカット`,
735
729
  'se414b08e593473b2': `作成、試行の失敗後も保持`,
736
- 'se4ba2b7d91bd3060': `修正依頼のあったタスク 1 件`,
737
730
  'se55f1e3401225b3f': `エージェントのセッションの所要時間の合計`,
738
731
  'se5ad61b61dc5c4f6': `モデル切り替え`,
732
+ 'se5af45314a3a6b0f': str`修正ラウンド ${0}`,
739
733
  'se5bc88938f3b6e59': `推移`,
740
734
  'se5d1247fe34fbb95': `monitor.Panel`,
741
735
  'se60a4867465d5d31': `ハイコントラスト`,
742
736
  'se61f0dc09b51fd35': `パイプラインのプロセス内の関数`,
743
737
  'se66872955dc59191': `1 タスク`,
744
738
  'se6982e1c5d0986ac': `後続タスクはこのタスクの完了を待つが、出力は受け取らない(after)`,
745
- 'se6de387a56331077': `下の階層あり`,
746
739
  'se7102b7d5942a59c': str`${0} 回目`,
747
740
  'se751edc73f4d0062': `リプレイと新しいセッション`,
748
741
  'se7bc5096d48d4c1c': str`タスクの所要時間 ${0}`,
@@ -770,6 +763,7 @@
770
763
  'sede9056322866918': `ステージなし`,
771
764
  'seea0f53b4dbb2fb3': `結果`,
772
765
  'seea18d10f66cb015': `ホスト ID なし`,
766
+ 'seed22b61a74bd723': str`入力ルート ${1} の ${0}`,
773
767
  'seee13c69133b70b7': `スキップ`,
774
768
  'seee3885e38ae0126': `完了しなかった試行`,
775
769
  'sef0ce050d92c35e2': str`実行中 ${0} 件`,
@@ -782,7 +776,6 @@
782
776
  'sf14df172fd566bcc': `最初のエージェントのセッション`,
783
777
  'sf260150b06ca44e5': str`実行 ${0} 件`,
784
778
  'sf2b0c091b94a0303': `トークンの報告なし`,
785
- 'sf2c0a590370f775e': `すべての試行が完了`,
786
779
  'sf2d62a5d815803af': str`関数 ${0}`,
787
780
  'sf2e5c0d258c9b689': `定義`,
788
781
  'sf39e43f2714690bc': `周回数`,
@@ -29,14 +29,18 @@ export function contractStatusWhy(s: ContractStatus): string {
29
29
  }
30
30
 
31
31
  /** What a correction is, for tooltips. */
32
- export const correctionTip = (): string => msg('Another round in the same agent session after failed checks (rounds)');
32
+ export const correctionTip = (): string =>
33
+ msg('Failed checks sent back to the same agent session, within its round or in a correction round (hook_errors, rounds)');
33
34
 
34
- /** How many corrections a file took (`rounds` counts the first round too), in words; '' for none. */
35
- export function correctionsLabel(rounds: number | null | undefined, passed: boolean): string {
35
+ /** What a correction round is, for tooltips. */
36
+ export const correctionRoundTip = (): string => msg('Another round in the same agent session after failed checks (rounds)');
37
+
38
+ /** How many correction rounds a file took (`rounds` counts the first round too), in words; '' for none. */
39
+ export function correctionRoundsLabel(rounds: number | null | undefined, passed: boolean): string {
36
40
  const n = (rounds ?? 1) - 1;
37
41
  if (n < 1) return '';
38
- if (passed) return n === 1 ? msg('after 1 correction') : msg(str`after ${n} corrections`);
39
- return n === 1 ? msg('1 correction') : msg(str`${n} corrections`);
42
+ if (passed) return n === 1 ? msg('after 1 correction round') : msg(str`after ${n} correction rounds`);
43
+ return n === 1 ? msg('1 correction round') : msg(str`${n} correction rounds`);
40
44
  }
41
45
 
42
46
  /** Who writes a file, for naming the task an input should have come from. */
@@ -26,6 +26,7 @@ export * from './panels.js';
26
26
  export * from './export.js';
27
27
  export * from './trends.js';
28
28
  export * from './priority.js';
29
+ export * from './working-directory.js';
29
30
  export * from './context.js';
30
31
  export * from './preflight.js';
31
32
  export * from './task-definition.js';
@@ -1,8 +1,9 @@
1
1
  // How a task is joined to an earlier one (`Lineage`), in the words of the graph's
2
2
  // edges: each word names the edge from the earlier task to the later one, in the
3
- // task's earlier and later tasks alike. And an input file's check at the start.
3
+ // task's earlier and later tasks alike. And an input file's check at the start, and
4
+ // its path with its input root.
4
5
  import type { InputFileCheck, Lineage } from '@contraagent/api';
5
- import { msg } from '@lit/localize';
6
+ import { msg, str } from '@lit/localize';
6
7
 
7
8
  /** A lineage as the graph's legend names its edge: given output (solid), runs after (dotted), created after result (dashed). */
8
9
  export function lineageWord(l: Lineage): string {
@@ -28,6 +29,19 @@ export function lineageTip(l: Lineage): string {
28
29
  }
29
30
  }
30
31
 
32
+ /**
33
+ * An input file's path as the task detail shows it (`TaskInputFile`): `data: 2026/x.csv` for
34
+ * a file of an input root the run names, `out/review/a.md` for an output file of the run
35
+ * (the root `out`), else its path; null for a file of no input root.
36
+ */
37
+ export function inputRootPath(f: { root?: string | null; path: string }): string | null {
38
+ if (!f.root) return null;
39
+ return f.root === 'out' ? `out/${f.path}` : `${f.root}: ${f.path}`;
40
+ }
41
+
42
+ /** The tooltip of a file of an input root the run names: its path under the root. */
43
+ export const inputRootTip = (root: string, path: string): string => msg(str`${path} in the input root ${root}`);
44
+
31
45
  /** An input file's check as its task was about to start. */
32
46
  export function inputFileCheckWord(c: InputFileCheck): string {
33
47
  switch (c) {
@@ -49,6 +49,12 @@ export function resetsIn(iso: string | null | undefined, now = Date.now()): stri
49
49
  export const readingShort = (r: QuotaReading): string =>
50
50
  facts(msg(str`weekly ${pct(r.seven_day_pct)}`), msg(str`5-hour ${pct(r.five_hour_pct)}`));
51
51
 
52
+ /** A reading and the next one, window by window ("weekly 41% → 43% | 5-hour 14% → 28%"); the first alone when there is no next. */
53
+ export const readingChange = (a: QuotaReading, b: QuotaReading | null | undefined): string =>
54
+ b
55
+ ? facts(msg(str`weekly ${pct(a.seven_day_pct)} → ${pct(b.seven_day_pct)}`), msg(str`5-hour ${pct(a.five_hour_pct)} → ${pct(b.five_hour_pct)}`))
56
+ : readingShort(a);
57
+
52
58
  /** A reading in full, for a tooltip: both windows, their resets, when it arrived. */
53
59
  export function readingTip(r: QuotaReading): string {
54
60
  const parts = [
@@ -7,17 +7,17 @@ import { stopLabel } from './stop.js';
7
7
  import type { RoundInfo } from '../core/events.js';
8
8
 
9
9
  /**
10
- * "Attempt 1", "Correction 1", "Model switch"; with more than one attempt,
11
- * "Attempt 2 | correction 1" and "Attempt 2 | model switch". `name` is the name of
10
+ * "Attempt 1", "Correction round 1", "Model switch"; with more than one attempt,
11
+ * "Attempt 2 | correction round 1" and "Attempt 2 | model switch". `name` is the name of
12
12
  * the round's attempt (`attemptNames`: "Attempt 1 | resumed run" in a resumed run).
13
13
  */
14
14
  export function roundLabel(r: RoundInfo, tries: number, name = attemptLabel(r.tryNo - 1)): string {
15
15
  if (tries > 1) {
16
- if (r.fixupNo) return facts(name, msg(str`correction ${r.fixupNo}`));
16
+ if (r.fixupNo) return facts(name, msg(str`correction round ${r.fixupNo}`));
17
17
  if (r.hopNo) return facts(name, msg('model switch'));
18
18
  return name;
19
19
  }
20
- if (r.fixupNo) return msg(str`Correction ${r.fixupNo}`);
20
+ if (r.fixupNo) return msg(str`Correction round ${r.fixupNo}`);
21
21
  if (r.hopNo) return msg('Model switch');
22
22
  return attemptLabel(0);
23
23
  }
@@ -1,6 +1,6 @@
1
1
  // The monitor's one-line summaries of a run: the header's run line and the
2
- // history bar's count.
3
- import { deriveRun, elapsedS, runAccounts, spendOf, type RunDerived, type RunState, type RunSummary } from '@contraagent/api';
2
+ // list bar's count while a filter is on.
3
+ import { deriveRun, elapsedS, runAccounts, spendOf, type RunDerived, type RunState, type RunSummary, type TryCounts } from '@contraagent/api';
4
4
  import { msg, str } from '@lit/localize';
5
5
  import { facts, fmtDur, usd } from './format.js';
6
6
  import { stateCount } from './outcome.js';
@@ -29,11 +29,14 @@ export function runLine(state: RunState, summary: RunSummary, derived: RunDerive
29
29
  return facts(msg(str`${c.doneTotal} of ${c.total} tasks done`), notRun, tail);
30
30
  }
31
31
 
32
- /** The history bar's count, as the overview counts: "23 attempts | 4 not started". */
33
- export function triesLine({ tries, notStarted }: RunDerived['tries']): string {
34
- return facts(tries === 1 ? msg('1 attempt') : msg(str`${tries} attempts`), notStarted ? stateCount('not_started', notStarted) : '');
32
+ /** The history bar's count while a filter is on: the attempts shown of all, and the tasks shown that did not start ("12 of 23 attempts | 1 not started"). */
33
+ export function shownTriesLine(shown: TryCounts, all: number): string {
34
+ return facts(msg(str`${shown.tries} of ${all} attempts`), shown.notStarted ? stateCount('not_started', shown.notStarted) : '');
35
35
  }
36
36
 
37
+ /** The tasks bar's count while a filter is on ("12 of 30 tasks"). */
38
+ export const shownTasksLine = (shown: number, all: number): string => msg(str`${shown} of ${all} tasks`);
39
+
37
40
  /** A stub run's mark (`RunSummary.stub`): its tasks were played by the stub agent. */
38
41
  export const stubLabel = (): string => msg('stub agent', { desc: 'A run whose tasks a coding agent with scripted replies played' });
39
42
 
@@ -16,10 +16,12 @@ export function dayLabel(day: string, locale: string = getLocale()): string {
16
16
  return new Intl.DateTimeFormat(locale, { month: 'short', day: 'numeric', timeZone: 'UTC' }).format(d);
17
17
  }
18
18
 
19
- /** The period in words: `Oct 1 to Oct 14, 2026 | Asia/Tokyo`. */
20
- export function periodLabel(from: string, to: string, tz: string, locale: string = getLocale()): string {
19
+ /** The period in words: `Oct 1 to Oct 14, 2026`, and its time zone after it when given (`| Asia/Tokyo`: where no time zone control names it). */
20
+ export function periodLabel(from: string, to: string, tz = '', locale: string = getLocale()): string {
21
21
  const year = to.slice(0, 4);
22
- return msg(str`${dayLabel(from, locale)} to ${dayLabel(to, locale)}, ${year} | ${tz}`, { desc: 'The days the trends cover, and the time zone they are counted in' });
22
+ return tz
23
+ ? msg(str`${dayLabel(from, locale)} to ${dayLabel(to, locale)}, ${year} | ${tz}`, { desc: 'The days the trends cover, and the time zone they are counted in' })
24
+ : msg(str`${dayLabel(from, locale)} to ${dayLabel(to, locale)}, ${year}`, { desc: 'The days the trends cover' });
23
25
  }
24
26
 
25
27
  /** A length of period ending today: `7 days`. */
@@ -0,0 +1,8 @@
1
+ // Words for a task's own working directory (`PlanNode.cwd`): the directory its call options named.
2
+ import { msg, str } from '@lit/localize';
3
+
4
+ /** A task's own working directory as a fact: `Working directory /repo.worktrees/alpha`; '' for none (the run's). */
5
+ export const workingDirectoryText = (cwd: string | null | undefined): string => (cwd ? msg(str`Working directory ${cwd}`) : '');
6
+
7
+ /** What a task's own working directory is, for its tooltip. */
8
+ export const workingDirectoryTip = (): string => msg("Directory the task worked in, named by its task call in place of the run's (cwd)");