@newheap/platform-ai-chat 0.8.0 → 0.9.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/i18n/en.json CHANGED
@@ -7,6 +7,11 @@
7
7
  "unread": "{{count}} unread conversations",
8
8
  "running": "{{count}} conversations working"
9
9
  },
10
+ "subject-badge": {
11
+ "to-decide": "Proposals to decide: {{toDecide}} of {{open}} open.",
12
+ "open": "Open proposals: {{open}}.",
13
+ "working": "An agent is working on this."
14
+ },
10
15
  "panel": {
11
16
  "title": "Assistant",
12
17
  "region-label": "Assistant panel",
@@ -62,7 +67,8 @@
62
67
  "working": "The assistant is working",
63
68
  "loading": "Loading conversation",
64
69
  "elapsed": "{{seconds}}s",
65
- "participant": "Participant"
70
+ "participant": "Participant",
71
+ "trigger": "Event"
66
72
  },
67
73
  "composer": {
68
74
  "label": "Message",
@@ -109,8 +115,16 @@
109
115
  "succeeded": "Completed",
110
116
  "failed": "Failed",
111
117
  "awaiting-approval": "Awaiting approval",
112
- "rejected": "Rejected"
113
- }
118
+ "rejected": "Rejected",
119
+ "not-executed": "Not run"
120
+ },
121
+ "grant-source": {
122
+ "delegated": "On behalf of the initiator",
123
+ "agent": "Agent rights",
124
+ "delegated-hint": "The agent used the rights of the person who started it.",
125
+ "agent-hint": "The agent used a right it was granted itself, beyond the rights of the people involved."
126
+ },
127
+ "restricted": "Shielded: the agent obtained this with its own rights, which you do not have."
114
128
  },
115
129
  "tool-group": {
116
130
  "running": "Calling {{name}}…",
@@ -119,6 +133,7 @@
119
133
  "used-many": "Used {{count}} tools",
120
134
  "progress": "{{finished}} of {{total}} done",
121
135
  "failed": "{{count}} failed",
136
+ "not-executed": "{{count}} not run",
122
137
  "show-calls": "Show tool calls",
123
138
  "hide-calls": "Hide tool calls"
124
139
  },
@@ -140,10 +155,58 @@
140
155
  "pending": "Pending",
141
156
  "approved": "Approved",
142
157
  "rejected": "Rejected",
143
- "expired": "Expired"
158
+ "expired": "Expired",
159
+ "withdrawn": "Withdrawn",
160
+ "stale": "Outdated",
161
+ "executing": "Running",
162
+ "executed": "Done",
163
+ "execution-failed": "Failed",
164
+ "execution-unknown": "Outcome unknown",
165
+ "resolved": "Resolved",
166
+ "shadow": "Shadow"
144
167
  },
145
168
  "waiting-for": "Waiting for {{name}} to decide. The action uses their permissions.",
146
- "waiting-for-participant": "Waiting for the participant who started this task to decide."
169
+ "waiting-for-participant": "Waiting for the participant who started this task to decide.",
170
+ "waiting-for-approver": "Waiting for an approver to decide.",
171
+ "waiting-for-other-approver": "You started this work, so another approver decides.",
172
+ "give-feedback": "What was wrong?"
173
+ },
174
+ "proposal-feedback": {
175
+ "legend": "What was wrong? (optional)",
176
+ "bulk": "Applies to the {{count}} proposals you rejected.",
177
+ "categories": {
178
+ "incorrect": "Incorrect",
179
+ "wrong-value": "Wrong value",
180
+ "not-needed": "Not needed",
181
+ "not-now": "Not now",
182
+ "already-done": "Already done",
183
+ "not-allowed": "Not allowed",
184
+ "other": "Other"
185
+ },
186
+ "hints": {
187
+ "incorrect": "The proposal is factually wrong.",
188
+ "wrong-value": "The right action, with the wrong values.",
189
+ "not-needed": "The change is unnecessary.",
190
+ "not-now": "Right, but not at this moment.",
191
+ "already-done": "Already done or in progress elsewhere.",
192
+ "not-allowed": "Against policy, or beyond what the agent should do.",
193
+ "other": "Explain it in the text below."
194
+ },
195
+ "groups": {
196
+ "wrong": "The agent was wrong",
197
+ "right-but-not-now": "Right, but not now",
198
+ "not-allowed": "Not allowed",
199
+ "other": "Other"
200
+ },
201
+ "text-label": "Anything to add? (optional)",
202
+ "text-hint": "The agent's administrators read this to improve it.",
203
+ "characters": "{{count}}/{{max}}",
204
+ "send": "Send",
205
+ "sending": "Sending…",
206
+ "skip": "Skip",
207
+ "cancel": "Cancel",
208
+ "thanks": "Thanks for your feedback",
209
+ "partial": "Saved for {{stored}} of {{total}} proposals; the others changed in the meantime."
147
210
  },
148
211
  "result-codes": {
149
212
  "api-bridge-validation": "The request was not valid.",
@@ -152,7 +215,13 @@
152
215
  "api-bridge-not-found": "The item was not found.",
153
216
  "api-bridge-conflict": "The item was changed in the meantime.",
154
217
  "api-bridge-upstream": "The service is not available.",
155
- "api-bridge-timeout": "The request took too long."
218
+ "api-bridge-timeout": "The request took too long.",
219
+ "assistant-proposal-recorded": "Proposed; waits for a person's approval",
220
+ "assistant-proposal-rejected": "Not run: the proposal was rejected.",
221
+ "assistant-proposal-expired": "Not run: nobody decided before the proposal expired.",
222
+ "assistant-proposal-withdrawn": "Not run: the proposal was withdrawn.",
223
+ "assistant-proposal-stale": "Not run: the subject changed since the proposal.",
224
+ "assistant-proposal-execution-failed": "The approved proposal could not be run."
156
225
  },
157
226
  "errors": {
158
227
  "generic": "Something went wrong. Please try again.",
@@ -211,7 +280,38 @@
211
280
  "assistant-directory-unavailable": "Inviting colleagues directly is not available.",
212
281
  "assistant-push-unavailable": "Desktop notifications are not available.",
213
282
  "assistant-push-subscription-invalid": "This browser could not be registered for notifications.",
214
- "assistant-conversation-removed": "This conversation is no longer available to you."
283
+ "assistant-conversation-removed": "This conversation is no longer available to you.",
284
+ "assistant-subject-not-found": "The subject no longer exists.",
285
+ "assistant-subject-type-unknown": "This kind of subject is not known to the assistant.",
286
+ "assistant-subject-access-denied": "Your role on this subject does not allow this.",
287
+ "assistant-no-accountable-owner": "Nobody answers for this agent on this subject.",
288
+ "assistant-agent-disabled": "This agent has been stopped.",
289
+ "assistant-agent-not-configured": "This agent cannot run on its own.",
290
+ "assistant-run-not-found": "The run was not found.",
291
+ "assistant-run-not-retryable": "This run cannot be retried.",
292
+ "assistant-approval-policy-denied": "You may not decide this proposal.",
293
+ "assistant-four-eyes-required": "Someone other than the person who started this must decide it.",
294
+ "assistant-execution-not-uncertain": "This execution is not waiting to be resolved.",
295
+ "assistant-proposal-stale": "The subject changed since this proposal; it was not executed.",
296
+ "assistant-trigger-not-found": "The trigger was not found.",
297
+ "assistant-webhook-signature-invalid": "The webhook call has no valid signature.",
298
+ "assistant-webhook-payload-invalid": "The webhook call could not be read.",
299
+ "assistant-memory-not-configured": "This agent keeps no working memory.",
300
+ "assistant-memory-invalid": "The working memory change does not fit its schema.",
301
+ "assistant-memory-conflict": "The working memory changed at the same time.",
302
+ "assistant-artifact-invalid": "The file is not valid or too large.",
303
+ "assistant-artifact-outside-turn": "Files can only be saved while the agent works.",
304
+ "assistant-artifact-not-found": "The file was not found.",
305
+ "assistant-feedback-invalid": "Choose one of the listed reasons and keep the explanation under 1,000 characters.",
306
+ "assistant-feedback-not-accepted": "Feedback is possible only after a proposal was rejected or closed.",
307
+ "assistant-consult-subject-unavailable": "The subject does not exist or you may not consult the agent about it.",
308
+ "assistant-consult-agent-unavailable": "The agent cannot be consulted right now.",
309
+ "assistant-consult-depth-exceeded": "This consultation would ask agents in a loop or nest too deeply.",
310
+ "assistant-consult-budget-exhausted": "The agent's daily budget is spent.",
311
+ "assistant-consult-limit-reached": "You reached the daily number of consultations.",
312
+ "assistant-consult-timeout": "The agent did not answer in time.",
313
+ "assistant-consult-failed": "The agent could not answer.",
314
+ "assistant-consult-read-only": "A consultation cannot change anything."
215
315
  },
216
316
  "notices": {
217
317
  "no-answer": "The assistant finished without an answer. Try again or rephrase your question.",
@@ -325,7 +425,8 @@
325
425
  "propose": "Propose",
326
426
  "simulate": "Simulate",
327
427
  "execute": "Execute"
328
- }
428
+ },
429
+ "feedback": "Feedback"
329
430
  },
330
431
  "agent-editor": {
331
432
  "new-title": "New agent",
@@ -439,6 +540,57 @@
439
540
  "missing-warning": "The server no longer lists this tool.",
440
541
  "save": "Save tool",
441
542
  "back": "Back to the servers"
543
+ },
544
+ "feedback": {
545
+ "title": "Feedback on proposals",
546
+ "description": "What people said when they rejected this agent's proposals. Compare agent versions to see whether a change to the prompt, tools or policy helped.",
547
+ "agent": "{{name}} ({{id}})",
548
+ "back": "Back to agents",
549
+ "refresh": "Refresh",
550
+ "export": "Export (JSON Lines)",
551
+ "exporting": "Exporting…",
552
+ "export-hint": "The export holds subject data and the proposed tool input, and is recorded in the audit log.",
553
+ "period": "Period",
554
+ "periods": {
555
+ "last-7-days": "Last 7 days",
556
+ "last-30-days": "Last 30 days",
557
+ "last-90-days": "Last 90 days"
558
+ },
559
+ "tool": "Tool",
560
+ "all-tools": "All tools",
561
+ "category": "Category",
562
+ "all-categories": "All categories",
563
+ "category-hint": "The category narrows the feedback and the export.",
564
+ "summary-title": "Per tool and agent version",
565
+ "summary-empty": "The agent made no proposals in this period.",
566
+ "columns": {
567
+ "tool": "Tool",
568
+ "version": "Agent version",
569
+ "approved": "Approved",
570
+ "rejected": "Rejected",
571
+ "expired": "Expired",
572
+ "rejection-rate": "Rejection rate",
573
+ "with-feedback": "Rejected with feedback",
574
+ "people": "People",
575
+ "categories": "Top categories"
576
+ },
577
+ "version": "v{{version}}",
578
+ "consultations": "Consultations",
579
+ "no-decisions": "Not decided yet",
580
+ "no-categories": "None",
581
+ "list-title": "Feedback",
582
+ "list-count": "{{count}} in total",
583
+ "list-empty": "Nobody gave feedback in this period.",
584
+ "list-empty-filtered": "No feedback matches these filters.",
585
+ "no-text": "No explanation given.",
586
+ "proposal": "Proposal:",
587
+ "author": "By {{actor}}",
588
+ "bulk": "Bulk",
589
+ "bulk-hint": "Given once for several proposals rejected together; weigh it lower.",
590
+ "previous": "Previous",
591
+ "next": "Next",
592
+ "page": "Page {{page}} of {{pages}}",
593
+ "pages": "Pages"
442
594
  }
443
595
  },
444
596
  "page-context": {
@@ -485,6 +637,150 @@
485
637
  "remove": "Remove {{name}}",
486
638
  "leave": "Leave conversation",
487
639
  "no-conversation": "Start or open a conversation to share it."
640
+ },
641
+ "agent-runs": {
642
+ "loading": "Loading…",
643
+ "load-failed": "This could not be loaded.",
644
+ "retry": "Try again",
645
+ "refresh": "Refresh",
646
+ "role": {
647
+ "none": "No role on this subject",
648
+ "reader": "Reader",
649
+ "participant": "Participant",
650
+ "approver": "Approver"
651
+ },
652
+ "thread": {
653
+ "title": "Agent",
654
+ "waiting-inputs": "{{count}} messages wait for the next run",
655
+ "open-conversation": "Open conversation",
656
+ "start-message": "Instruction for the agent (optional)",
657
+ "start": "Start the agent",
658
+ "starting": "Starting…",
659
+ "no-proposals": "The agent has proposed nothing here yet.",
660
+ "no-thread": "The agent has not worked on this yet.",
661
+ "tabs": {
662
+ "proposals": "Proposals",
663
+ "runs": "Runs",
664
+ "consultations": "Consultations",
665
+ "memory": "Working memory",
666
+ "artifacts": "Files"
667
+ },
668
+ "outcome": {
669
+ "started": "The agent starts shortly.",
670
+ "queued": "The agent starts after the current run.",
671
+ "coalesced": "Your request joins the run that is about to start.",
672
+ "superseded": "The current run stops and the agent starts again.",
673
+ "ignored": "The agent is busy; nothing was started.",
674
+ "deduplicated": "This was already started.",
675
+ "rejected": "The agent could not be started."
676
+ }
677
+ },
678
+ "subject": {
679
+ "title": "Agent suggestions",
680
+ "description": "Proposals that agents made here and that wait for a decision, the first to expire on top.",
681
+ "empty": "No open suggestions from agents.",
682
+ "unavailable": "You cannot see agent work on this item.",
683
+ "agents": "Agents",
684
+ "idle": "Not working now",
685
+ "opening": "Opening…",
686
+ "open-conversation-label": "Open conversation with {{agent}}",
687
+ "start-label": "Start the agent: {{agent}}",
688
+ "assistant-unavailable": "The assistant is not available."
689
+ },
690
+ "inbox": {
691
+ "title": "Proposals to decide",
692
+ "description": "Proposals of agents that wait for your decision, the ones that expire first on top.",
693
+ "empty": "No proposals wait for you.",
694
+ "select": "Select this proposal",
695
+ "select-all": "Select all",
696
+ "approve-selected": "Approve selected",
697
+ "reject-selected": "Reject selected",
698
+ "previous": "Previous",
699
+ "next": "Next",
700
+ "page": "Page {{page}} of {{pages}}",
701
+ "pages": "Pages"
702
+ },
703
+ "proposal": {
704
+ "approve": "Approve",
705
+ "reject": "Reject",
706
+ "expires": "Expires {{date}}",
707
+ "decided-by": "Decided by {{actor}}",
708
+ "arguments": "Input",
709
+ "re-execute": "Run again",
710
+ "mark-resolved": "Mark as resolved",
711
+ "unknown-hint": "The execution stopped without a known outcome. Check whether it happened before you run it again.",
712
+ "mode": {
713
+ "inline": "The run waits",
714
+ "deferred": "Decide later"
715
+ },
716
+ "status": {
717
+ "pending": "Waiting",
718
+ "approved": "Approved",
719
+ "rejected": "Rejected",
720
+ "expired": "Expired",
721
+ "withdrawn": "Withdrawn",
722
+ "stale": "Outdated",
723
+ "executing": "Running",
724
+ "executed": "Done",
725
+ "execution-failed": "Failed",
726
+ "execution-unknown": "Outcome unknown",
727
+ "resolved": "Resolved",
728
+ "shadow": "Shadow"
729
+ },
730
+ "from-consultation": "From a consultation",
731
+ "from-consultation-hint": "Another assistant consulted the agent for this person; it runs with that person's rights only.",
732
+ "give-feedback": "Give feedback",
733
+ "change-feedback": "Change feedback",
734
+ "your-feedback": "Your feedback: {{category}}",
735
+ "rejected-one": "You rejected: {{summary}}"
736
+ },
737
+ "run": {
738
+ "empty": "No runs yet.",
739
+ "status": {
740
+ "queued": "Queued",
741
+ "running": "Running",
742
+ "waiting-for-approval": "Waiting for approval",
743
+ "completed": "Completed",
744
+ "failed": "Failed",
745
+ "cancelled": "Cancelled"
746
+ },
747
+ "shadow": "Shadow",
748
+ "trigger": "Trigger: {{trigger}}",
749
+ "tool-calls": "{{count}} tool calls",
750
+ "tokens": "{{count}} tokens",
751
+ "proposals": "{{count}} proposals",
752
+ "attempt": "Attempt {{attempt}}",
753
+ "cancel": "Cancel",
754
+ "resume": "Resume",
755
+ "restart": "Start again"
756
+ },
757
+ "memory": {
758
+ "not-configured": "This agent keeps no working memory.",
759
+ "version": "Schema version {{version}}",
760
+ "updated": "Updated {{date}}",
761
+ "empty": "The agent has not noted anything yet."
762
+ },
763
+ "artifacts": {
764
+ "download-failed": "The file could not be downloaded.",
765
+ "empty": "No files yet.",
766
+ "version": "v{{version}}",
767
+ "restricted": "Shielded (agent rights)",
768
+ "size": "{{size}} bytes",
769
+ "download": "Download"
770
+ },
771
+ "consultation": {
772
+ "empty": "No assistant has consulted this agent about this subject yet.",
773
+ "private": "Only who asked and how it ended is shown here; the question and the answer stay in the asking conversation.",
774
+ "asked-by": "Asked by {{name}}",
775
+ "through": "through {{agent}}",
776
+ "depth": "Nested, level {{depth}}",
777
+ "more": "{{count}} older consultations are not shown.",
778
+ "status": {
779
+ "running": "Running",
780
+ "completed": "Answered",
781
+ "failed": "Not answered"
782
+ }
783
+ }
488
784
  }
489
785
  }
490
786
  }