@cat-factory/app 0.280.2 → 0.281.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.
@@ -82,6 +82,8 @@ const STATUS_UI: Record<
82
82
  auth_failed: { color: 'error', icon: 'i-lucide-key-round' },
83
83
  forbidden: { color: 'error', icon: 'i-lucide-shield-x' },
84
84
  unreachable: { color: 'error', icon: 'i-lucide-wifi-off' },
85
+ // Warning rather than error: nothing about the connection is broken, and the fix is to wait.
86
+ rate_limited: { color: 'warning', icon: 'i-lucide-hourglass' },
85
87
  error: { color: 'error', icon: 'i-lucide-triangle-alert' },
86
88
  }
87
89
  </script>
@@ -102,6 +102,14 @@ const CONFLICT_INFO: Record<Exclude<ConflictReason, BespokeConflictReason>, Conf
102
102
  titleKey: 'errors.conflict.title.risk_policy_not_inherited',
103
103
  descriptionKey: 'errors.conflict.description.risk_policy_not_inherited',
104
104
  },
105
+ // Raised only by the public `/api/v1/kaizen/entries/:id/acknowledge` route today, so no SPA
106
+ // action reaches it. Mapped all the same, because the map is exhaustive over the wire
107
+ // vocabulary rather than over the subset this app happens to trigger: the day a Kaizen screen
108
+ // grows an acknowledge button, the copy is already here rather than an untranslated fallback.
109
+ kaizen_entry_not_settled: {
110
+ titleKey: 'errors.conflict.title.kaizen_entry_not_settled',
111
+ descriptionKey: 'errors.conflict.description.kaizen_entry_not_settled',
112
+ },
105
113
  task_limit_reached: {
106
114
  titleKey: 'errors.conflict.title.task_limit_reached',
107
115
  descriptionKey: 'errors.conflict.description.task_limit_reached',
@@ -20,6 +20,9 @@ function grading(over: Partial<KaizenGrading> = {}): KaizenGrading {
20
20
  recommendations: [],
21
21
  graderModel: null,
22
22
  error: null,
23
+ acknowledgedAt: null,
24
+ acknowledgedBy: null,
25
+ acknowledgementNote: null,
23
26
  createdAt: 1,
24
27
  updatedAt: 1,
25
28
  ...over,
@@ -5971,7 +5971,8 @@
5971
5971
  "submission_not_allowed": "Zusammenführen für diesen Lauf nicht erlaubt",
5972
5972
  "webhook_limit_reached": "Webhook-Limit erreicht",
5973
5973
  "risk_policy_inherited": "Diese Richtlinie gehört zum Konto",
5974
- "risk_policy_not_inherited": "Diese Richtlinie gehört zu diesem Board"
5974
+ "risk_policy_not_inherited": "Diese Richtlinie gehört zu diesem Board",
5975
+ "kaizen_entry_not_settled": "Der Kaizen-Eintrag wurde noch nicht bewertet"
5975
5976
  },
5976
5977
  "description": {
5977
5978
  "dependencies_unmet": "Diese Aufgabe hängt von anderen ab, die noch nicht abgeschlossen sind. Schließe sie ab oder gib sie frei und starte dann erneut.",
@@ -6012,7 +6013,8 @@
6012
6013
  "submission_not_allowed": "Die Merge-Richtlinie dieser Aufgabe erlaubt der Rolle, die diesen Lauf gestartet hat, diese Änderungsart nicht zusammenzuführen. Jemand mit einer passenden Rolle kann es tun, oder ein Admin erweitert die Richtlinie in der Merge-Vorlage.",
6013
6014
  "webhook_limit_reached": "Für diesen Workspace ist bereits die maximale Anzahl ausgehender Webhooks registriert. Entfernen Sie einen nicht mehr benötigten und registrieren Sie diesen erneut.",
6014
6015
  "risk_policy_inherited": "Sie gilt für alle Boards des Kontos und kann daher nicht von hier geändert werden. Klone sie in dieses Board und bearbeite die Kopie.",
6015
- "risk_policy_not_inherited": "Sie ist bereits die eigene Richtlinie dieses Boards: bearbeite sie direkt oder lösche sie, wenn sie nicht mehr angeboten werden soll."
6016
+ "risk_policy_not_inherited": "Sie ist bereits die eigene Richtlinie dieses Boards: bearbeite sie direkt oder lösche sie, wenn sie nicht mehr angeboten werden soll.",
6017
+ "kaizen_entry_not_settled": "Die Bewertung steht noch aus oder läuft gerade, es gibt also keine Empfehlungen zum Bestätigen. Versuchen Sie es erneut, sobald sie abgeschlossen ist."
6016
6018
  },
6017
6019
  "action": {
6018
6020
  "connectGitHub": "GitHub verbinden",
@@ -757,7 +757,8 @@
757
757
  "submission_not_allowed": "Merge not allowed for this run",
758
758
  "webhook_limit_reached": "Webhook limit reached",
759
759
  "risk_policy_inherited": "This policy belongs to the account",
760
- "risk_policy_not_inherited": "This policy belongs to this board"
760
+ "risk_policy_not_inherited": "This policy belongs to this board",
761
+ "kaizen_entry_not_settled": "The Kaizen entry has not been graded yet"
761
762
  },
762
763
  "description": {
763
764
  "dependencies_unmet": "This task depends on others that aren't finished yet. Complete or unblock them, then start it again.",
@@ -801,7 +802,8 @@
801
802
  "submission_not_allowed": "This task's merge policy doesn't let the role that started this run merge this kind of change. Somebody whose role may merge it can do so, or an admin can widen the policy in the merge preset.",
802
803
  "webhook_limit_reached": "This workspace already has the maximum number of outbound webhooks registered. Remove one you no longer need, then register this again.",
803
804
  "risk_policy_inherited": "It is shared with every board in the account, so it cannot be changed from here. Clone it to this board and edit the copy.",
804
- "risk_policy_not_inherited": "It is already this board's own policy: edit it directly, or delete it if you no longer want it offered."
805
+ "risk_policy_not_inherited": "It is already this board's own policy: edit it directly, or delete it if you no longer want it offered.",
806
+ "kaizen_entry_not_settled": "Its grading is still queued or running, so there are no recommendations to acknowledge. Try again once it finishes."
805
807
  },
806
808
  "action": {
807
809
  "connectGitHub": "Connect GitHub",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "Fusión no permitida para esta ejecución",
683
683
  "webhook_limit_reached": "Límite de webhooks alcanzado",
684
684
  "risk_policy_inherited": "Esta política pertenece a la cuenta",
685
- "risk_policy_not_inherited": "Esta política pertenece a este tablero"
685
+ "risk_policy_not_inherited": "Esta política pertenece a este tablero",
686
+ "kaizen_entry_not_settled": "La entrada de Kaizen aún no se ha evaluado"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "Esta tarea depende de otras que aún no están terminadas. Complétalas o desbloquéalas y vuelve a iniciarla.",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "La política de fusión de esta tarea no permite que el rol que inició la ejecución fusione este tipo de cambio. Alguien cuyo rol sí lo permita puede hacerlo, o un administrador puede ampliar la política en el preajuste de fusión.",
724
725
  "webhook_limit_reached": "Este espacio de trabajo ya tiene registrado el número máximo de webhooks salientes. Elimina uno que ya no necesites y vuelve a registrar este.",
725
726
  "risk_policy_inherited": "Se comparte con todos los tableros de la cuenta, así que no puede cambiarse desde aquí. Clónala en este tablero y edita la copia.",
726
- "risk_policy_not_inherited": "Ya es la política propia de este tablero: edítala directamente o elimínala si no quieres que se ofrezca."
727
+ "risk_policy_not_inherited": "Ya es la política propia de este tablero: edítala directamente o elimínala si no quieres que se ofrezca.",
728
+ "kaizen_entry_not_settled": "Su evaluación sigue en cola o en curso, así que no hay recomendaciones que confirmar. Inténtalo de nuevo cuando termine."
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "Conectar GitHub",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "Fusion non autorisée pour cette exécution",
683
683
  "webhook_limit_reached": "Limite de webhooks atteinte",
684
684
  "risk_policy_inherited": "Cette politique appartient au compte",
685
- "risk_policy_not_inherited": "Cette politique appartient à ce tableau"
685
+ "risk_policy_not_inherited": "Cette politique appartient à ce tableau",
686
+ "kaizen_entry_not_settled": "L'entrée Kaizen n'a pas encore été évaluée"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "Cette tâche dépend d'autres qui ne sont pas encore terminées. Terminez-les ou débloquez-les, puis relancez-la.",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "La politique de fusion de cette tâche n'autorise pas le rôle qui a lancé cette exécution à fusionner ce type de changement. Un coéquipier dont le rôle le permet peut le faire, ou un admin peut élargir la politique dans le préréglage de fusion.",
724
725
  "webhook_limit_reached": "Cet espace de travail a déjà enregistré le nombre maximal de webhooks sortants. Supprimez-en un dont vous n’avez plus besoin, puis enregistrez celui-ci à nouveau.",
725
726
  "risk_policy_inherited": "Elle est partagée par tous les tableaux du compte et ne peut donc pas être modifiée ici. Clonez-la vers ce tableau et modifiez la copie.",
726
- "risk_policy_not_inherited": "C'est déjà la politique propre à ce tableau : modifiez-la directement, ou supprimez-la si vous ne voulez plus qu'elle soit proposée."
727
+ "risk_policy_not_inherited": "C'est déjà la politique propre à ce tableau : modifiez-la directement, ou supprimez-la si vous ne voulez plus qu'elle soit proposée.",
728
+ "kaizen_entry_not_settled": "Son évaluation est encore en attente ou en cours, il n'y a donc aucune recommandation à accuser réception. Réessayez une fois qu'elle sera terminée."
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "Connecter GitHub",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "מיזוג אינו מותר עבור הרצה זו",
683
683
  "webhook_limit_reached": "הגעת למגבלת ה-Webhooks",
684
684
  "risk_policy_inherited": "המדיניות הזו שייכת לחשבון",
685
- "risk_policy_not_inherited": "המדיניות הזו שייכת ללוח הזה"
685
+ "risk_policy_not_inherited": "המדיניות הזו שייכת ללוח הזה",
686
+ "kaizen_entry_not_settled": "רשומת הקאיזן טרם דורגה"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "משימה זו תלויה במשימות אחרות שטרם הושלמו. השלם או שחרר אותן, ולאחר מכן הפעל אותה שוב.",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "מדיניות המיזוג של המשימה הזו אינה מתירה לתפקיד שהתחיל את ההרצה למזג שינוי מסוג זה. חבר צוות שתפקידו מתיר זאת יכול למזג, או שמנהל יכול להרחיב את המדיניות בהגדרת המיזוג.",
724
725
  "webhook_limit_reached": "במרחב העבודה הזה כבר רשום המספר המרבי של Webhooks יוצאים. הסירו אחד שאינכם צריכים עוד ולאחר מכן רשמו את זה שוב.",
725
726
  "risk_policy_inherited": "היא משותפת לכל הלוחות בחשבון, ולכן לא ניתן לשנות אותה מכאן. שכפלו אותה ללוח הזה וערכו את העותק.",
726
- "risk_policy_not_inherited": "היא כבר המדיניות של הלוח הזה: ערכו אותה ישירות, או מחקו אותה אם אינכם רוצים שתוצע."
727
+ "risk_policy_not_inherited": "היא כבר המדיניות של הלוח הזה: ערכו אותה ישירות, או מחקו אותה אם אינכם רוצים שתוצע.",
728
+ "kaizen_entry_not_settled": "הדירוג שלה עדיין ממתין בתור או מתבצע, ולכן אין המלצות לאישור. נסו שוב לאחר שיסתיים."
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "חבר את GitHub",
@@ -5971,7 +5971,8 @@
5971
5971
  "submission_not_allowed": "Unione non consentita per questa esecuzione",
5972
5972
  "webhook_limit_reached": "Limite di webhook raggiunto",
5973
5973
  "risk_policy_inherited": "Questo criterio appartiene all'account",
5974
- "risk_policy_not_inherited": "Questo criterio appartiene a questa bacheca"
5974
+ "risk_policy_not_inherited": "Questo criterio appartiene a questa bacheca",
5975
+ "kaizen_entry_not_settled": "La voce Kaizen non è ancora stata valutata"
5975
5976
  },
5976
5977
  "description": {
5977
5978
  "dependencies_unmet": "Questa attività dipende da altre non ancora completate. Completale o sbloccale, poi avviala di nuovo.",
@@ -6012,7 +6013,8 @@
6012
6013
  "submission_not_allowed": "La politica di unione di questa attività non consente al ruolo che ha avviato l'esecuzione di unire questo tipo di modifica. Un collega il cui ruolo lo consente può farlo, oppure un amministratore può ampliare la politica nel preset di unione.",
6013
6014
  "webhook_limit_reached": "Questo spazio di lavoro ha già registrato il numero massimo di webhook in uscita. Rimuovine uno che non ti serve più, poi registra di nuovo questo.",
6014
6015
  "risk_policy_inherited": "È condiviso con tutte le bacheche dell'account, quindi non può essere modificato da qui. Clonalo in questa bacheca e modifica la copia.",
6015
- "risk_policy_not_inherited": "È già il criterio proprio di questa bacheca: modificalo direttamente, oppure eliminalo se non vuoi più che venga offerto."
6016
+ "risk_policy_not_inherited": "È già il criterio proprio di questa bacheca: modificalo direttamente, oppure eliminalo se non vuoi più che venga offerto.",
6017
+ "kaizen_entry_not_settled": "La sua valutazione è ancora in coda o in corso, quindi non ci sono raccomandazioni da confermare. Riprova quando sarà terminata."
6016
6018
  },
6017
6019
  "action": {
6018
6020
  "connectGitHub": "Collega GitHub",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "この実行ではマージできません",
683
683
  "webhook_limit_reached": "Webhook の上限に達しました",
684
684
  "risk_policy_inherited": "このポリシーはアカウントのものです",
685
- "risk_policy_not_inherited": "このポリシーはこのボードのものです"
685
+ "risk_policy_not_inherited": "このポリシーはこのボードのものです",
686
+ "kaizen_entry_not_settled": "この Kaizen エントリはまだ採点されていません"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "このタスクは、まだ完了していない他のタスクに依存しています。それらを完了または解除してから、もう一度開始してください。",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "このタスクのマージポリシーでは、実行を開始したロールがこの種類の変更をマージすることを許可していません。マージできるロールのメンバーが対応するか、管理者がマージプリセットでポリシーを広げてください。",
724
725
  "webhook_limit_reached": "このワークスペースには送信 Webhook がすでに上限数まで登録されています。不要なものを削除してから、もう一度登録してください。",
725
726
  "risk_policy_inherited": "アカウント内のすべてのボードで共有されているため、ここからは変更できません。このボードに複製してコピーを編集してください。",
726
- "risk_policy_not_inherited": "すでにこのボード自身のポリシーです。直接編集するか、提示したくない場合は削除してください。"
727
+ "risk_policy_not_inherited": "すでにこのボード自身のポリシーです。直接編集するか、提示したくない場合は削除してください。",
728
+ "kaizen_entry_not_settled": "採点が待機中または実行中のため、確認できる改善提案がまだありません。完了してから再試行してください。"
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "GitHub に接続",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "Scalanie niedozwolone dla tego uruchomienia",
683
683
  "webhook_limit_reached": "Osiągnięto limit webhooków",
684
684
  "risk_policy_inherited": "Ta zasada należy do konta",
685
- "risk_policy_not_inherited": "Ta zasada należy do tej tablicy"
685
+ "risk_policy_not_inherited": "Ta zasada należy do tej tablicy",
686
+ "kaizen_entry_not_settled": "Wpis Kaizen nie został jeszcze oceniony"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "To zadanie zależy od innych, które nie zostały jeszcze ukończone. Ukończ je lub odblokuj, a następnie uruchom je ponownie.",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "Polityka scalania tego zadania nie pozwala roli, która rozpoczęła to uruchomienie, scalić tego typu zmiany. Może to zrobić osoba o odpowiedniej roli albo administrator może rozszerzyć politykę w ustawieniu scalania.",
724
725
  "webhook_limit_reached": "Ta przestrzeń robocza ma już zarejestrowaną maksymalną liczbę wychodzących webhooków. Usuń jeden, którego już nie potrzebujesz, a następnie zarejestruj ten ponownie.",
725
726
  "risk_policy_inherited": "Jest wspólna dla wszystkich tablic konta, więc nie można jej tu zmienić. Sklonuj ją do tej tablicy i edytuj kopię.",
726
- "risk_policy_not_inherited": "To już własna zasada tej tablicy: edytuj ją bezpośrednio albo usuń, jeśli nie ma być dłużej oferowana."
727
+ "risk_policy_not_inherited": "To już własna zasada tej tablicy: edytuj ją bezpośrednio albo usuń, jeśli nie ma być dłużej oferowana.",
728
+ "kaizen_entry_not_settled": "Jego ocena wciąż czeka w kolejce lub trwa, więc nie ma rekomendacji do potwierdzenia. Spróbuj ponownie po jej zakończeniu."
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "Połącz GitHub",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "Bu çalışma için birleştirmeye izin verilmiyor",
683
683
  "webhook_limit_reached": "Webhook sınırına ulaşıldı",
684
684
  "risk_policy_inherited": "Bu ilke hesaba ait",
685
- "risk_policy_not_inherited": "Bu ilke bu panoya ait"
685
+ "risk_policy_not_inherited": "Bu ilke bu panoya ait",
686
+ "kaizen_entry_not_settled": "Kaizen kaydı henüz değerlendirilmedi"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "Bu görev henüz tamamlanmamış başka görevlere bağlı. Onları tamamla veya engelini kaldır, ardından yeniden başlat.",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "Bu görevin birleştirme politikası, çalışmayı başlatan rolün bu tür bir değişikliği birleştirmesine izin vermiyor. Rolü buna izin veren bir takım arkadaşı birleştirebilir ya da bir yönetici birleştirme ön ayarındaki politikayı genişletebilir.",
724
725
  "webhook_limit_reached": "Bu çalışma alanında zaten en fazla sayıda giden webhook kayıtlı. Artık ihtiyaç duymadığınız birini kaldırın ve bunu yeniden kaydedin.",
725
726
  "risk_policy_inherited": "Hesaptaki tüm panolarla paylaşıldığı için buradan değiştirilemez. Bu panoya kopyalayıp kopyayı düzenleyin.",
726
- "risk_policy_not_inherited": "Zaten bu panonun kendi ilkesi: doğrudan düzenleyin ya da artık sunulmasını istemiyorsanız silin."
727
+ "risk_policy_not_inherited": "Zaten bu panonun kendi ilkesi: doğrudan düzenleyin ya da artık sunulmasını istemiyorsanız silin.",
728
+ "kaizen_entry_not_settled": "Değerlendirmesi hâlâ sırada veya sürüyor, bu yüzden onaylanacak bir öneri yok. Tamamlandığında yeniden deneyin."
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "GitHub'ı bağla",
@@ -682,7 +682,8 @@
682
682
  "submission_not_allowed": "Злиття для цього запуску не дозволено",
683
683
  "webhook_limit_reached": "Досягнуто ліміт вебхуків",
684
684
  "risk_policy_inherited": "Ця політика належить обліковому запису",
685
- "risk_policy_not_inherited": "Ця політика належить цій дошці"
685
+ "risk_policy_not_inherited": "Ця політика належить цій дошці",
686
+ "kaizen_entry_not_settled": "Запис Kaizen ще не оцінено"
686
687
  },
687
688
  "description": {
688
689
  "dependencies_unmet": "Це завдання залежить від інших, які ще не завершені. Заверши або розблокуй їх, а потім запусти його знову.",
@@ -723,7 +724,8 @@
723
724
  "submission_not_allowed": "Політика злиття цього завдання не дозволяє ролі, яка розпочала запуск, зливати такий тип змін. Це може зробити колега з відповідною роллю, або адміністратор може розширити політику в наборі злиття.",
724
725
  "webhook_limit_reached": "У цьому робочому просторі вже зареєстровано максимальну кількість вихідних вебхуків. Видаліть той, який більше не потрібен, і зареєструйте цей знову.",
725
726
  "risk_policy_inherited": "Вона спільна для всіх дошок облікового запису, тому змінити її звідси не можна. Клонуйте її на цю дошку й редагуйте копію.",
726
- "risk_policy_not_inherited": "Це вже власна політика цієї дошки: редагуйте її напряму або видаліть, якщо більше не хочете її пропонувати."
727
+ "risk_policy_not_inherited": "Це вже власна політика цієї дошки: редагуйте її напряму або видаліть, якщо більше не хочете її пропонувати.",
728
+ "kaizen_entry_not_settled": "Його оцінювання ще в черзі або триває, тож немає рекомендацій для підтвердження. Спробуйте ще раз, коли воно завершиться."
727
729
  },
728
730
  "action": {
729
731
  "connectGitHub": "Під'єднати GitHub",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.280.2",
3
+ "version": "0.281.0",
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.320.0"
43
+ "@cat-factory/contracts": "0.322.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@toad-contracts/testing": "0.3.2",