@cat-factory/app 0.270.0 → 0.270.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.
- package/app/components/panels/AgentStepDetail.vue +26 -8
- package/i18n/locales/de.json +2 -0
- package/i18n/locales/en.json +2 -0
- package/i18n/locales/es.json +2 -0
- package/i18n/locales/fr.json +2 -0
- package/i18n/locales/he.json +2 -0
- package/i18n/locales/it.json +2 -0
- package/i18n/locales/ja.json +2 -0
- package/i18n/locales/pl.json +2 -0
- package/i18n/locales/tr.json +2 -0
- package/i18n/locales/uk.json +2 -0
- package/package.json +2 -2
|
@@ -171,6 +171,11 @@ const proposalEditable = computed(() => step.value?.outputIsRendered !== true)
|
|
|
171
171
|
// approve/request-changes/reject rail, it shows the shared iteration-cap prompt
|
|
172
172
|
// (one more round / proceed / stop & reset), resolved through its own endpoint.
|
|
173
173
|
const companionExceeded = computed(() => approvalPending.value && !!step.value?.companion?.exceeded)
|
|
174
|
+
// The SAME park, reached for the opposite reason: the loop was abandoned with rounds still on the
|
|
175
|
+
// budget because the producer handed back the work it was asked to change and the rating did not
|
|
176
|
+
// move. The three choices are identical, so this only picks the wording — the cap copy states a
|
|
177
|
+
// spent limit, which is a false claim about this park (`companion.stalled`).
|
|
178
|
+
const companionStalled = computed(() => companionExceeded.value && !!step.value?.companion?.stalled)
|
|
174
179
|
// A park a DEDICATED window owns (fork choice / follow-up triage): the generic approve
|
|
175
180
|
// resolver refuses these server-side, so the rail is replaced by a redirect to that window.
|
|
176
181
|
// Computed live, since a coder step can park on one WHILE this overlay is already open
|
|
@@ -487,18 +492,31 @@ async function copyOutput() {
|
|
|
487
492
|
:step-index="ctx?.stepIndex ?? null"
|
|
488
493
|
/>
|
|
489
494
|
|
|
490
|
-
<!-- companion rework budget spent
|
|
491
|
-
(one more round / proceed with the current
|
|
495
|
+
<!-- companion rework budget spent, OR the loop abandoned early as unproductive:
|
|
496
|
+
the shared iteration-cap decision (one more round / proceed with the current
|
|
497
|
+
output / stop & reset). One prompt, two headings — the choices are the same but
|
|
498
|
+
the reason is not, and the spent-limit wording is untrue of a stalled loop. -->
|
|
492
499
|
<IterationCapPrompt
|
|
493
500
|
v-if="companionExceeded"
|
|
494
501
|
:heading="
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
502
|
+
companionStalled
|
|
503
|
+
? t('panels.stepDetail.companionStalledHeading', {
|
|
504
|
+
agent: agent.label,
|
|
505
|
+
attempts: step.companion?.attempts,
|
|
506
|
+
maxAttempts: step.companion?.maxAttempts,
|
|
507
|
+
threshold: pctOf(latestVerdict?.threshold ?? 0),
|
|
508
|
+
})
|
|
509
|
+
: t('panels.stepDetail.companionCapHeading', {
|
|
510
|
+
agent: agent.label,
|
|
511
|
+
attempts: step.companion?.maxAttempts,
|
|
512
|
+
threshold: pctOf(latestVerdict?.threshold ?? 0),
|
|
513
|
+
})
|
|
514
|
+
"
|
|
515
|
+
:detail="
|
|
516
|
+
companionStalled
|
|
517
|
+
? t('panels.stepDetail.companionStalledDetail')
|
|
518
|
+
: t('panels.stepDetail.companionCapDetail')
|
|
500
519
|
"
|
|
501
|
-
:detail="t('panels.stepDetail.companionCapDetail')"
|
|
502
520
|
:loading="resolvingCap"
|
|
503
521
|
@resolve="resolveCompanionCap"
|
|
504
522
|
/>
|
package/i18n/locales/de.json
CHANGED
|
@@ -2069,6 +2069,8 @@
|
|
|
2069
2069
|
"closeEsc": "Schließen (Esc)",
|
|
2070
2070
|
"companionCapHeading": "{agent} hat sein Überarbeitungslimit von {attempts} Versuchen erreicht, noch unter der {threshold}-Schwelle.",
|
|
2071
2071
|
"companionCapDetail": "Führe eine weitere automatische Überarbeitungsrunde durch, fahre mit dem nächsten Schritt fort und akzeptiere die aktuelle Ausgabe, oder stoppe und setze die Aufgabe zurück, damit du die Eingaben bearbeiten und erneut einreichen kannst.",
|
|
2072
|
+
"companionStalledHeading": "{agent} hat die Überarbeitungsschleife nach {attempts} von {maxAttempts} Runden gestoppt: Die letzte Überarbeitung kam unverändert zurück und die Bewertung blieb unter der {threshold}-Schwelle.",
|
|
2073
|
+
"companionStalledDetail": "Die restlichen Runden bleiben ungenutzt, weil sie nur ein bereits abgegebenes Urteil wiederholen würden. Führe trotzdem eine weitere Runde durch, fahre mit dem nächsten Schritt fort und akzeptiere die aktuelle Ausgabe, oder stoppe und setze die Aufgabe zurück, damit du die Eingaben bearbeiten und erneut einreichen kannst.",
|
|
2072
2074
|
"infraAttempts": "Infrastruktur-Versuche",
|
|
2073
2075
|
"hideInfraAttempts": "Infrastruktur-Versuche ausblenden",
|
|
2074
2076
|
"executionHistory": "Ausführungshistorie",
|
package/i18n/locales/en.json
CHANGED
|
@@ -1494,6 +1494,8 @@
|
|
|
1494
1494
|
"closeEsc": "Close (Esc)",
|
|
1495
1495
|
"companionCapHeading": "{agent} hit its {attempts}-attempt rework limit, still below the {threshold} bar.",
|
|
1496
1496
|
"companionCapDetail": "Do one more automatic rework round, proceed to the next step accepting the current output, or stop and reset the task so you can edit the inputs and resubmit.",
|
|
1497
|
+
"companionStalledHeading": "{agent} stopped the rework loop after {attempts} of {maxAttempts} rounds: the last revision came back unchanged and the rating held below the {threshold} bar.",
|
|
1498
|
+
"companionStalledDetail": "The remaining rounds were left unspent because they would only repeat a verdict already given. Do one more round anyway, proceed to the next step accepting the current output, or stop and reset the task so you can edit the inputs and resubmit.",
|
|
1497
1499
|
"infraAttempts": "Infrastructure attempts",
|
|
1498
1500
|
"hideInfraAttempts": "Hide infrastructure attempts",
|
|
1499
1501
|
"executionHistory": "Execution history",
|
package/i18n/locales/es.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "Cerrar (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} alcanzó su límite de {attempts} intentos de reelaboración, aún por debajo del umbral de {threshold}.",
|
|
1405
1405
|
"companionCapDetail": "Haz una ronda más de reelaboración automática, avanza al siguiente paso aceptando la salida actual, o detén y restablece la tarea para que puedas editar las entradas y reenviarla.",
|
|
1406
|
+
"companionStalledHeading": "{agent} detuvo el bucle de reelaboración tras {attempts} de {maxAttempts} rondas: la última revisión volvió sin cambios y la puntuación se mantuvo por debajo del umbral de {threshold}.",
|
|
1407
|
+
"companionStalledDetail": "Las rondas restantes quedaron sin usar porque solo repetirían un veredicto ya emitido. Haz una ronda más de todos modos, avanza al siguiente paso aceptando la salida actual, o detén y restablece la tarea para que puedas editar las entradas y reenviarla.",
|
|
1406
1408
|
"infraAttempts": "Intentos de infraestructura",
|
|
1407
1409
|
"hideInfraAttempts": "Ocultar intentos de infraestructura",
|
|
1408
1410
|
"executionHistory": "Historial de ejecución",
|
package/i18n/locales/fr.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "Fermer (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} a atteint sa limite de {attempts} tentatives de retravail, toujours en dessous du seuil {threshold}.",
|
|
1405
1405
|
"companionCapDetail": "Effectuer un tour de retravail automatique supplémentaire, passer à l'étape suivante en acceptant la sortie actuelle, ou arrêter et réinitialiser la tâche pour modifier les entrées et la resoumettre.",
|
|
1406
|
+
"companionStalledHeading": "{agent} a arrêté la boucle de retravail après {attempts} tours sur {maxAttempts} : la dernière révision est revenue inchangée et la note est restée sous le seuil {threshold}.",
|
|
1407
|
+
"companionStalledDetail": "Les tours restants n'ont pas été utilisés car ils ne feraient que répéter un verdict déjà rendu. Effectuer tout de même un tour supplémentaire, passer à l'étape suivante en acceptant la sortie actuelle, ou arrêter et réinitialiser la tâche pour modifier les entrées et la resoumettre.",
|
|
1406
1408
|
"infraAttempts": "Tentatives d'infrastructure",
|
|
1407
1409
|
"hideInfraAttempts": "Masquer les tentatives d'infrastructure",
|
|
1408
1410
|
"executionHistory": "Historique d'exécution",
|
package/i18n/locales/he.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "סגור (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} הגיע למגבלת {attempts} ניסיונות עיבוד מחדש, ועדיין מתחת לרף {threshold}.",
|
|
1405
1405
|
"companionCapDetail": "בצע סבב עיבוד אוטומטי נוסף, המשך לשלב הבא תוך קבלת הפלט הנוכחי, או עצור ואפס את המשימה כדי לערוך את הקלטים ולשלוח מחדש.",
|
|
1406
|
+
"companionStalledHeading": "{agent} עצר את לופ העיבוד מחדש לאחר {attempts} מתוך {maxAttempts} סבבים: הגרסה האחרונה חזרה ללא שינוי והדירוג נשאר מתחת לרף {threshold}.",
|
|
1407
|
+
"companionStalledDetail": "הסבבים שנותרו לא נוצלו מפני שהם רק יחזרו על שיפוט שכבר ניתן. אפשר לבצע סבב נוסף בכל זאת, להמשיך לשלב הבא תוך קבלת הפלט הנוכחי, או לעצור ולאפס את המשימה כדי לערוך את הקלטים ולשלוח מחדש.",
|
|
1406
1408
|
"infraAttempts": "ניסיונות תשתית",
|
|
1407
1409
|
"hideInfraAttempts": "הסתר ניסיונות תשתית",
|
|
1408
1410
|
"executionHistory": "היסטוריית הרצה",
|
package/i18n/locales/it.json
CHANGED
|
@@ -2069,6 +2069,8 @@
|
|
|
2069
2069
|
"closeEsc": "Chiudi (Esc)",
|
|
2070
2070
|
"companionCapHeading": "{agent} ha raggiunto il suo limite di {attempts} tentativi di rielaborazione, ancora al di sotto della soglia {threshold}.",
|
|
2071
2071
|
"companionCapDetail": "Esegui un altro ciclo di rielaborazione automatica, procedi al passaggio successivo accettando l'output attuale, oppure arresta e reimposta l'attivita' cosi' da poter modificare gli input e reinviare.",
|
|
2072
|
+
"companionStalledHeading": "{agent} ha interrotto il ciclo di rielaborazione dopo {attempts} round su {maxAttempts}: l'ultima revisione e' tornata identica e il punteggio e' rimasto sotto la soglia {threshold}.",
|
|
2073
|
+
"companionStalledDetail": "I round rimanenti non sono stati usati perche' avrebbero solo ripetuto un verdetto gia' espresso. Esegui comunque un altro round, procedi al passaggio successivo accettando l'output attuale, oppure arresta e reimposta l'attivita' cosi' da poter modificare gli input e reinviare.",
|
|
2072
2074
|
"infraAttempts": "Tentativi di infrastruttura",
|
|
2073
2075
|
"hideInfraAttempts": "Nascondi i tentativi di infrastruttura",
|
|
2074
2076
|
"executionHistory": "Cronologia delle esecuzioni",
|
package/i18n/locales/ja.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "閉じる (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} は {attempts} 回の再作業上限に達しましたが、まだ {threshold} の基準を下回っています。",
|
|
1405
1405
|
"companionCapDetail": "自動の再作業をもう1回実行するか、現在の出力を受け入れて次のステップに進むか、タスクを停止してリセットし、入力を編集して再送信してください。",
|
|
1406
|
+
"companionStalledHeading": "{agent} は {maxAttempts} 回のうち {attempts} 回で再作業ループを停止しました。直前の修正が変更されずに返され、評価も {threshold} の基準を下回ったままでした。",
|
|
1407
|
+
"companionStalledDetail": "残りの回数は、すでに出された判定を繰り返すだけなので使われていません。それでももう1回実行するか、現在の出力を受け入れて次のステップに進むか、タスクを停止してリセットし、入力を編集して再送信してください。",
|
|
1406
1408
|
"infraAttempts": "インフラの試行",
|
|
1407
1409
|
"hideInfraAttempts": "インフラの試行を非表示",
|
|
1408
1410
|
"executionHistory": "実行履歴",
|
package/i18n/locales/pl.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "Zamknij (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} osiągnął limit {attempts} prób przeróbki, wciąż poniżej progu {threshold}.",
|
|
1405
1405
|
"companionCapDetail": "Wykonaj jeszcze jedną automatyczną rundę przeróbki, przejdź do następnego kroku akceptując bieżący wynik, albo zatrzymaj i zresetuj zadanie, aby edytować dane wejściowe i przesłać ponownie.",
|
|
1406
|
+
"companionStalledHeading": "{agent} zatrzymał pętlę przeróbek po {attempts} z {maxAttempts} rund: ostatnia poprawka wróciła bez zmian, a ocena pozostała poniżej progu {threshold}.",
|
|
1407
|
+
"companionStalledDetail": "Pozostałe rundy nie zostały wykorzystane, bo tylko powtórzyłyby już wydaną ocenę. Wykonaj mimo to jeszcze jedną rundę, przejdź do następnego kroku akceptując bieżący wynik, albo zatrzymaj i zresetuj zadanie, aby edytować dane wejściowe i przesłać ponownie.",
|
|
1406
1408
|
"infraAttempts": "Próby infrastrukturalne",
|
|
1407
1409
|
"hideInfraAttempts": "Ukryj próby infrastrukturalne",
|
|
1408
1410
|
"executionHistory": "Historia wykonania",
|
package/i18n/locales/tr.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "Kapat (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} {attempts} deneme yeniden çalışma sınırına ulaştı, hâlâ {threshold} barının altında.",
|
|
1405
1405
|
"companionCapDetail": "Bir otomatik yeniden çalışma turu daha yapın, mevcut çıktıyı kabul ederek sonraki adıma geçin ya da durup görevi sıfırlayarak girdileri düzenleyip yeniden gönderin.",
|
|
1406
|
+
"companionStalledHeading": "{agent}, {maxAttempts} turun {attempts} turunda yeniden çalışma döngüsünü durdurdu: son revizyon değişmeden döndü ve puan {threshold} barının altında kaldı.",
|
|
1407
|
+
"companionStalledDetail": "Kalan turlar kullanılmadı, çünkü yalnızca verilmiş bir kararı yineleyeceklerdi. Yine de bir tur daha yapın, mevcut çıktıyı kabul ederek sonraki adıma geçin ya da durup görevi sıfırlayarak girdileri düzenleyip yeniden gönderin.",
|
|
1406
1408
|
"infraAttempts": "Altyapı denemeleri",
|
|
1407
1409
|
"hideInfraAttempts": "Altyapı denemelerini gizle",
|
|
1408
1410
|
"executionHistory": "Yürütme geçmişi",
|
package/i18n/locales/uk.json
CHANGED
|
@@ -1403,6 +1403,8 @@
|
|
|
1403
1403
|
"closeEsc": "Закрити (Esc)",
|
|
1404
1404
|
"companionCapHeading": "{agent} досяг ліміту в {attempts} спроб переробки, усе ще нижче планки {threshold}.",
|
|
1405
1405
|
"companionCapDetail": "Виконайте ще один автоматичний раунд переробки, перейдіть до наступного кроку, прийнявши поточний вивід, або зупиніться та скиньте завдання, щоб відредагувати вхідні дані й надіслати повторно.",
|
|
1406
|
+
"companionStalledHeading": "{agent} зупинив цикл переробки після {attempts} з {maxAttempts} раундів: остання версія повернулася без змін, а оцінка залишилася нижче планки {threshold}.",
|
|
1407
|
+
"companionStalledDetail": "Решта раундів залишилися невикористаними, бо лише повторили б уже винесений висновок. Виконайте ще один раунд усе одно, перейдіть до наступного кроку, прийнявши поточний вивід, або зупиніться та скиньте завдання, щоб відредагувати вхідні дані й надіслати повторно.",
|
|
1406
1408
|
"infraAttempts": "Спроби інфраструктури",
|
|
1407
1409
|
"hideInfraAttempts": "Приховати спроби інфраструктури",
|
|
1408
1410
|
"executionHistory": "Історія виконання",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/app",
|
|
3
|
-
"version": "0.270.
|
|
3
|
+
"version": "0.270.2",
|
|
4
4
|
"description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"valibot": "^1.4.2",
|
|
41
41
|
"vue": "3.5.41",
|
|
42
42
|
"wretch": "^3.0.9",
|
|
43
|
-
"@cat-factory/contracts": "0.
|
|
43
|
+
"@cat-factory/contracts": "0.308.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@toad-contracts/testing": "0.3.2",
|