@newheap/platform-ai-chat 0.16.0 → 0.18.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
@@ -74,7 +74,11 @@
74
74
  "trigger": "Event",
75
75
  "rule": "Automatic rule",
76
76
  "files": "Attached files",
77
- "file-meta": "{{type}}, {{size}}"
77
+ "file-meta": "{{type}}, {{size}}",
78
+ "application": "Application",
79
+ "application-label": "Message from the application",
80
+ "application-link": "Open",
81
+ "application-trusted": "Instruction for the assistant"
78
82
  },
79
83
  "composer": {
80
84
  "label": "Message",
@@ -192,6 +196,7 @@
192
196
  "waiting-for-participant": "Waiting for the participant who started this task to decide.",
193
197
  "waiting-for-approver": "Waiting for an approver to decide.",
194
198
  "waiting-for-other-approver": "You started this work, so another approver decides.",
199
+ "waiting-for-asker": "Waiting for the person who asked to decide in their own chat.",
195
200
  "give-feedback": "What was wrong?",
196
201
  "stale-kind": {
197
202
  "already-done": "Already done",
@@ -199,7 +204,20 @@
199
204
  "not-applicable": "No longer needed"
200
205
  },
201
206
  "rationale": "Why: {{rationale}}",
202
- "superseded": "Replaced by a newer proposal"
207
+ "superseded": "Replaced by a newer proposal",
208
+ "consultation": {
209
+ "origin": "{{agent}} proposes this, about {{subject}}",
210
+ "answer": "Answer of {{agent}}",
211
+ "own-rights": "Approving runs it right away with your own rights.",
212
+ "leave": "Leave for approvers",
213
+ "leave-label": "Leave for approvers: {{summary}}",
214
+ "leave-explain": {
215
+ "subject-agent-rights": "The approvers of {{subject}} decide; it then runs with the agent's own rights.",
216
+ "subject-asker-rights": "The approvers of {{subject}} decide; it then runs with your rights."
217
+ },
218
+ "moved-status": "Left for approvers",
219
+ "moved": "It now waits for the approvers of {{subject}}."
220
+ }
203
221
  },
204
222
  "proposal-feedback": {
205
223
  "legend": "What was wrong? (optional)",
@@ -407,16 +425,21 @@
407
425
  "assistant-consult-timeout": "The agent did not answer in time.",
408
426
  "assistant-consult-failed": "The agent could not answer.",
409
427
  "assistant-consult-read-only": "A consultation cannot change anything.",
428
+ "assistant-consult-proposal-refused": "No route at the subject takes this proposal any more. Approve or reject it here.",
429
+ "assistant-consult-asker-decides": "The person who asked decides this proposal in their own chat.",
430
+ "assistant-consult-route-not-allowed": "None of the agent's consultations allows this route, so it cannot be switched on.",
431
+ "assistant-consult-proposal-moved": "The proposal was left for the subject's approvers.",
410
432
  "assistant-moved-to-shadow": "The work went to the agent's shadow thread, where a run in shadow takes it.",
411
433
  "assistant-shadow-variant": "A shadow variant always works in shadow.",
412
434
  "assistant-service-account-not-used": "This agent does not answer to a technical account.",
413
435
  "assistant-service-account-not-found": "No account that may sign in exists with this id.",
414
436
  "assistant-skill-in-code": "This skill is part of the code and cannot change here.",
415
437
  "assistant-trigger-in-code": "This trigger is part of the code and cannot change here.",
438
+ "assistant-trigger-filter-not-found": "The event has no filter with this name. Choose from the filters the event offers.",
416
439
  "assistant-skill-in-use": "A trigger still starts this skill. Change or remove the trigger first.",
417
- "assistant-configuration-limit": "This agent already has as many skills or triggers as allowed.",
440
+ "assistant-configuration-limit": "This agent already has as many skills, triggers or consultations as allowed.",
418
441
  "assistant-run-settings-in-code": "This agent is part of the code; its runs are configured there.",
419
- "assistant-run-settings-in-use": "Skills or triggers still belong to this agent. Remove them first.",
442
+ "assistant-run-settings-in-use": "Skills, triggers or consultations still belong to this agent. Remove them first.",
420
443
  "assistant-skill-candidate-not-found": "This skill has no version being evaluated in shadow.",
421
444
  "assistant-skill-version-gone": "The skill version this run was for is no longer evaluated.",
422
445
  "assistant-account-search-unavailable": "The application offers no account search; enter the account's id.",
@@ -444,7 +467,10 @@
444
467
  "assistant-file-type-not-accepted": "This type of file cannot be attached.",
445
468
  "assistant-file-upload-refused": "The application refused this file.",
446
469
  "assistant-file-upload-failed": "The file could not be stored right now. Try again in a moment.",
447
- "assistant-file-scan-refused": "The file did not pass the scan for harmful content and was not stored."
470
+ "assistant-file-scan-refused": "The file did not pass the scan for harmful content and was not stored.",
471
+ "assistant-consultation-in-code": "The agent allows consultation about this kind of object in code; it cannot change here.",
472
+ "assistant-consultation-not-found": "The consultation was not found.",
473
+ "assistant-consultations-not-allowed": "The application does not let administrators add consultations to this agent."
448
474
  },
449
475
  "notices": {
450
476
  "no-answer": "The assistant finished without an answer. Try again or rephrase your question.",
@@ -602,6 +628,8 @@
602
628
  "changed": "Changed by {{user}} on {{date}}.",
603
629
  "reason": "Note: {{reason}}",
604
630
  "waiting": "{{count}} events wait for the resume.",
631
+ "stopped-was-off-hint": "It was off when it stopped: releasing the kill switch switches it back off. Resume switches it on.",
632
+ "stopped-was-on-hint": "It was not off when it stopped: releasing the kill switch makes it work again, as Resume does.",
605
633
  "action": {
606
634
  "active": "Resume",
607
635
  "paused": "Pause",
@@ -689,6 +717,44 @@
689
717
  },
690
718
  "input-label-search": "Account"
691
719
  },
720
+ "consultation-routes": {
721
+ "title": "Consultation routes",
722
+ "description": "Switch a route off for all consultations of this agent at once, in code and in the administration. When another assistant consults this agent and the agent proposes a change, a route decides who decides it and whose rights run it.",
723
+ "load-failed": "The consultation routes could not be read.",
724
+ "route": {
725
+ "asker-decides": "The person who asked decides",
726
+ "subject-agent-rights": "Approvers decide, agent's rights",
727
+ "subject-asker-rights": "Approvers decide, asker's rights"
728
+ },
729
+ "explain": {
730
+ "asker-decides": "The person who asked decides in their own chat; it runs with their own rights.",
731
+ "subject-agent-rights": "The subject's approvers other than the person who asked decide; it runs with the agent's own rights.",
732
+ "subject-asker-rights": "The subject's approvers decide; it runs later with the rights of the person who asked."
733
+ },
734
+ "on": "On",
735
+ "off": "Off",
736
+ "code": "As the consultations allow",
737
+ "overridden": "Overridden",
738
+ "not-allowed": "Not allowed",
739
+ "not-allowed-hint": "No consultation of this agent allows this route, so it stays off and cannot be switched on.",
740
+ "subject-types": "For: {{types}}",
741
+ "action": {
742
+ "on": "Switch on",
743
+ "off": "Switch off",
744
+ "code": "Back to what the consultations allow"
745
+ },
746
+ "explain-change": {
747
+ "on": "Consultations use this route for new proposals again. Proposals already recorded keep their route.",
748
+ "off": "Consultations no longer use this route for new proposals; with every route off, the agent's consultations only read. Proposals already recorded keep their route.",
749
+ "code-on": "The consultations decide again: one of them allows this route, so it is on.",
750
+ "code-off": "The consultations decide again: none of them allows this route, so it stays off."
751
+ },
752
+ "confirm": {
753
+ "on": "Confirm switching on",
754
+ "off": "Confirm switching off",
755
+ "code": "Confirm"
756
+ }
757
+ },
692
758
  "run-config": "Run configuration",
693
759
  "run-now": "Run now",
694
760
  "runs": "Runs",
@@ -726,7 +792,7 @@
726
792
  "instructions": "Instructions",
727
793
  "instructions-hint": "What the agent does and how it answers.",
728
794
  "autonomy": "Autonomy",
729
- "autonomy-hint": "Only Execute allows changes, and every change still needs approval.",
795
+ "autonomy-hint": "Only Execute allows changes in the agent's own work. In a consultation that may propose, Propose and Simulate propose changes too. Every change still needs approval.",
730
796
  "required-policy": "Required policy",
731
797
  "required-policy-hint": "Optional. Only users who pass this policy see the agent.",
732
798
  "profile": "Model profile",
@@ -1146,7 +1212,8 @@
1146
1212
  "agent": "Run settings:",
1147
1213
  "skill": "Skill {{id}}:",
1148
1214
  "candidate": "Candidate of skill {{id}}:",
1149
- "trigger": "Trigger {{id}}:"
1215
+ "trigger": "Trigger {{id}}:",
1216
+ "consultation": "Consultation about {{id}}:"
1150
1217
  },
1151
1218
  "code": {
1152
1219
  "unknown-agent": "the agent can no longer run on its own.",
@@ -1157,11 +1224,23 @@
1157
1224
  "unknown-policy": "the approval policy no longer exists.",
1158
1225
  "unknown-rule-handler": "the rules no longer exist.",
1159
1226
  "unknown-event": "the event no longer exists.",
1227
+ "unknown-filter": "a filter of the event no longer exists, so the trigger starts nothing until you remove it.",
1160
1228
  "unknown-subject-set": "the set of subjects no longer exists.",
1161
1229
  "unknown-skill": "the skill no longer exists.",
1162
1230
  "invalid-schedule": "the schedule or its time zone is not valid.",
1163
1231
  "invalid": "a value is not valid.",
1164
- "not-worked-on": "it concerns a kind of object, or the whole application, that the agent does not work on."
1232
+ "not-worked-on": "it concerns a kind of object, or the whole application, that the agent does not work on.",
1233
+ "unknown-subject-type": "the kind of object no longer exists.",
1234
+ "unknown-agent-policy": "the policy the people who ask need is no longer listed.",
1235
+ "conflicts-with-tool": "another tool already has the name of its tool.",
1236
+ "not-consultable": "the application no longer lets administrators add consultations to this agent.",
1237
+ "route-not-allowed": "a route is no longer allowed, so it is left out.",
1238
+ "agent-answers-to-person": "the route with the agent's account is left out, because the agent answers to the object's responsible person.",
1239
+ "agent-has-no-rights": "the route with the agent's account is left out, because the agent answers for itself and has no rights of its own.",
1240
+ "no-approver": "the route with the agent's account is left out, because the approval policy lets only the person who caused a proposal decide it.",
1241
+ "limit-above-ceiling": "a limit is above what the application allows, so the application's applies.",
1242
+ "requests-not-allowed": "the application no longer allows requests, so it takes none.",
1243
+ "mcp-not-allowed": "the application no longer offers consultations to MCP clients, so they do not see it."
1165
1244
  }
1166
1245
  },
1167
1246
  "field-errors": {
@@ -1178,7 +1257,9 @@
1178
1257
  "instructions-for-model": "Without fixed rules the model works from these instructions; describe what it should do.",
1179
1258
  "application-not-worked-on": "The agent does not work on the whole application. Choose a set of objects, or let the agent work on the whole application first.",
1180
1259
  "megabytes-up-to": "Enter a size above 0 and at most {{max}} MB.",
1181
- "megabytes-positive": "Enter a size above 0 MB."
1260
+ "megabytes-positive": "Enter a size above 0 MB.",
1261
+ "not-allowed": "The application does not allow this.",
1262
+ "routes-required": "Choose at least one route, or let it only answer."
1182
1263
  },
1183
1264
  "settings": {
1184
1265
  "title": "Run settings",
@@ -1389,6 +1470,13 @@
1389
1470
  "source-schedule-hint": "At fixed times, for every subject in a set.",
1390
1471
  "source-schedule-application-hint": "At fixed times, for the whole application or for every object in a set.",
1391
1472
  "debounce-hint": "Waits this long for more events about the same subject and handles them in one run.",
1473
+ "filters": {
1474
+ "title": "Filters",
1475
+ "hint": "Skip events this trigger should not start the agent on, such as changes the agent made itself. Every filter you select must let an event through.",
1476
+ "empty": "This event offers no filters.",
1477
+ "missing": "The event no longer offers this filter, so the trigger starts nothing. Clear it to save.",
1478
+ "applied": "Filters: {{filters}}"
1479
+ },
1392
1480
  "subject-set-hint": "The projects or customers the schedule handles each time.",
1393
1481
  "message-hint": "What the agent reads as its task each time.",
1394
1482
  "examples": "Examples",
@@ -1549,7 +1637,14 @@
1549
1637
  "configured-off": "Run now: not while the application's code switches the agent off.",
1550
1638
  "no-settings": "Run now: only once the agent has run settings.",
1551
1639
  "no-catalog": "Run now: not until the run catalog can be read."
1552
- }
1640
+ },
1641
+ "consultations": "When another assistant consults it",
1642
+ "no-consultations": "No other assistant can consult it yet.",
1643
+ "consultation-proposes": "Answers and proposes",
1644
+ "consultation-answers": "Only answers",
1645
+ "asked-by-none": "No agent asks it yet",
1646
+ "asked-by-one": "Asked by 1 agent",
1647
+ "asked-by": "Asked by {{count}} agents"
1553
1648
  },
1554
1649
  "skills": {
1555
1650
  "code-rules": "Fixed rules in the application's code",
@@ -1632,7 +1727,124 @@
1632
1727
  "edit-trigger": "Change the trigger",
1633
1728
  "edit-skill": "Change the skill",
1634
1729
  "edit-trigger-named": "Edit trigger {{trigger}}",
1635
- "edit-skill-named": "Edit skill {{skill}}"
1730
+ "edit-skill-named": "Edit skill {{skill}}",
1731
+ "edit-consultation": "Change the consultation",
1732
+ "edit-consultation-named": "Edit the consultation about {{type}}"
1733
+ }
1734
+ },
1735
+ "consultations": {
1736
+ "title": "Consultations",
1737
+ "description": "Other assistants may consult this agent about an object. It answers with the rights of the person who asked and, where allowed, proposes changes. A consultation works only once an agent that asks selects its tool.",
1738
+ "add": "Add consultation",
1739
+ "empty": "Nobody can consult this agent yet.",
1740
+ "closed": {
1741
+ "application": "The application does not let administrators add consultations; they come from its code.",
1742
+ "agent": "This agent is defined in code and does not let administrators add consultations to it.",
1743
+ "needs-settings": "Give the agent run settings before you add consultations.",
1744
+ "limit": "This agent has as many consultations as allowed ({{max}}).",
1745
+ "no-types": "Every kind of object this agent works on already has a consultation."
1746
+ },
1747
+ "requests": "Takes requests",
1748
+ "mcp": "Offered to MCP clients",
1749
+ "no-description": "No description.",
1750
+ "askers": "Asked by:",
1751
+ "open-asker": "Open the editor of {{agent}}",
1752
+ "no-askers": "No agent asks it yet. Select its tool in the tools of an agent that should ask it.",
1753
+ "code-hint": "Allowed in code; here only the route switches below change it.",
1754
+ "limits-value": "At most {{calls}} tool calls, {{seconds}} seconds, {{chars}} characters and {{history}} thread messages",
1755
+ "edit-named": "Edit the consultation about {{type}}",
1756
+ "remove-named": "Delete the consultation about {{type}}",
1757
+ "remove-explain": "Its tools disappear; proposals it made can still be decided.",
1758
+ "added": "The consultation was added. It answers once an agent that asks selects its tool.",
1759
+ "saved": "The consultation was saved.",
1760
+ "removed": "The consultation was removed.",
1761
+ "roles": {
1762
+ "reader": "Reader",
1763
+ "participant": "Participant",
1764
+ "approver": "Approver"
1765
+ },
1766
+ "roles-lower": {
1767
+ "reader": "reader",
1768
+ "participant": "participant",
1769
+ "approver": "approver"
1770
+ },
1771
+ "summary": {
1772
+ "ask": "People who are at least {{role}} of the object may ask.",
1773
+ "asker-policy": "They also need {{policy}}.",
1774
+ "asker-policy-agent": "They also need the policy the agent requires, or else access to the assistant.",
1775
+ "read-only": "The agent only answers and proposes nothing.",
1776
+ "proposes": "The agent may propose changes when the person who asked is at least {{role}}: {{routes}}.",
1777
+ "proposes-code": "The agent may propose changes: {{routes}}."
1778
+ },
1779
+ "routes": {
1780
+ "asker-decides": "The person who asked decides in their chat",
1781
+ "subject-asker-rights": "The object's approvers decide, with the rights of the person who asked",
1782
+ "subject-agent-rights": "The object's approvers decide, with this agent's technical account"
1783
+ },
1784
+ "routes-hint": {
1785
+ "asker-decides": "Approving runs it at once with that person's own rights.",
1786
+ "subject-asker-rights": "It waits at the object and runs later with the rights of the person who asked.",
1787
+ "subject-agent-rights": "It waits at the object for an approver other than the person who asked and runs with the agent's own rights."
1788
+ },
1789
+ "route-blocks": {
1790
+ "not-in-ceiling": "The application does not allow this route.",
1791
+ "system": "Not for the whole application.",
1792
+ "agent-answers-to-person": "Not for an agent that answers to the object's responsible person.",
1793
+ "agent-has-no-rights": "Not for an agent that answers for itself: it has no rights of its own to lend."
1794
+ },
1795
+ "limits": {
1796
+ "tool-calls": "Tool calls",
1797
+ "timeout-seconds": "Time limit in seconds",
1798
+ "answer-chars": "Longest answer in characters",
1799
+ "history-messages": "Thread messages it reads"
1800
+ },
1801
+ "form": {
1802
+ "new-title": "New consultation",
1803
+ "edit-title": "Consultation about {{type}}, version {{version}}",
1804
+ "what": "What may other assistants consult it about?",
1805
+ "subject-type": "Kind of object",
1806
+ "subject-type-hint": "Only kinds of objects the agent works on and has no consultation about yet.",
1807
+ "description": "When to consult it",
1808
+ "description-hint": "The assistant that asks reads this to decide when to consult this agent.",
1809
+ "instructions": "Instructions when consulted",
1810
+ "instructions-hint": "Optional. What the agent keeps in mind when it answers, after the platform's own rules for consultations.",
1811
+ "who": "Who may ask?",
1812
+ "minimum-role": "The person who asks is at least",
1813
+ "role-hint": {
1814
+ "reader": "Anyone who may read the object.",
1815
+ "participant": "People who work on the object.",
1816
+ "approver": "People who approve changes to the object."
1817
+ },
1818
+ "asker-policy": "Policy the person needs",
1819
+ "asker-policy-agent": "The policy the agent requires",
1820
+ "asker-policy-hint": "One of the policies the application lists. Without one, the agent's own policy applies, or else access to the assistant.",
1821
+ "do": "What may it do?",
1822
+ "answer": "Only answer",
1823
+ "answer-hint": "It answers with the rights of the person who asked and proposes nothing.",
1824
+ "propose": "Answer and propose changes",
1825
+ "propose-hint": "It may also propose changes; the routes below decide who decides them.",
1826
+ "answers-only": "The application lets consultations only answer.",
1827
+ "routes": "Who decides its proposals?",
1828
+ "routes-hint": "Choose at least one. Of the two routes at the object, choose one at most.",
1829
+ "proposal-role": "Role needed for proposals",
1830
+ "proposal-role-hint": "The person who asked needs at least this role on the object before the agent may propose; with a lower role they get the answer without proposals.",
1831
+ "agent-policy": "The agent's approval policy",
1832
+ "policy-warning": {
1833
+ "four-eyes": "This approval policy uses four eyes, so the person who asked cannot decide their own proposal in their chat; that route does not apply.",
1834
+ "initiator-only": "This approval policy lets only the person who caused a proposal decide it, so the route with the agent's technical account is refused."
1835
+ },
1836
+ "advanced": "Advanced: limits, requests and classification",
1837
+ "limits": "Limits of one consultation",
1838
+ "limits-hint": "Empty starts at the default within what the application allows.",
1839
+ "limit-range": "From {{min}} to {{max}}.",
1840
+ "requests": "Also take requests",
1841
+ "requests-hint": "The assistant that asks may also ask this agent to start a run, with the person as its initiator.",
1842
+ "requests-closed": "The application does not allow requests.",
1843
+ "mcp": "Offer to MCP clients",
1844
+ "mcp-hint": "External MCP clients may consult it too, with the rights of their person.",
1845
+ "mcp-closed": "The application does not offer consultations to MCP clients.",
1846
+ "classification-hint": "How sensitive its answers are in the conversation that asked. Without one, the agent's classification applies.",
1847
+ "in-effect": "A consultation is in effect once saved; it answers once an agent that asks selects its tool."
1636
1848
  }
1637
1849
  }
1638
1850
  },
@@ -1771,6 +1983,7 @@
1771
1983
  "inbox": {
1772
1984
  "title": "Proposals to decide",
1773
1985
  "description": "Proposals of agents that wait for your decision, the ones that expire first on top.",
1986
+ "description-grouped": "Proposals of agents that wait for your decision, grouped by object; the group with the proposal that expires first is on top.",
1774
1987
  "empty": "No proposals wait for you.",
1775
1988
  "select": "Select this proposal",
1776
1989
  "select-all": "Select all",
@@ -1779,7 +1992,18 @@
1779
1992
  "previous": "Previous",
1780
1993
  "next": "Next",
1781
1994
  "page": "Page {{page}} of {{pages}}",
1782
- "pages": "Pages"
1995
+ "pages": "Pages",
1996
+ "new": "New",
1997
+ "new-label": "New since your last visit",
1998
+ "last-visit": "You last looked here on {{date}}. What came since is marked new.",
1999
+ "first-visit": "Everything here is new for you.",
2000
+ "group-loaded": "{{loaded}} of {{total}} shown",
2001
+ "select-group": "Select the {{count}} shown",
2002
+ "select-group-label": "Select the {{count}} proposals of {{name}} shown on this page",
2003
+ "group-continued": "Continued from the previous page.",
2004
+ "group-continues": "More proposals of this group are on the next page.",
2005
+ "run": "One run of {{agent}}, {{date}}",
2006
+ "no-run": "Proposed in a conversation"
1783
2007
  },
1784
2008
  "proposal": {
1785
2009
  "approve": "Approve",
@@ -1809,7 +2033,22 @@
1809
2033
  "shadow": "Shadow"
1810
2034
  },
1811
2035
  "from-consultation": "From a consultation",
1812
- "from-consultation-hint": "Another assistant consulted the agent for this person; it runs with that person's rights only.",
2036
+ "from-consultation-hint": "Another assistant consulted the agent for a person, and the agent proposed this.",
2037
+ "consultation": {
2038
+ "asked-by": "Asked by {{name}}",
2039
+ "the-asker": "the person who asked",
2040
+ "route": {
2041
+ "asker-decides": "The person who asked decides in their own chat; it runs with their own rights.",
2042
+ "subject-agent-rights": "The subject's approvers other than the person who asked decide; it runs with the agent's own rights.",
2043
+ "subject-asker-rights": "The subject's approvers decide; it runs with the rights of the person who asked."
2044
+ },
2045
+ "waiting-for-asker": "Waiting for {{name}} to decide in their own chat.",
2046
+ "four-eyes": "You asked for this, so another approver decides; it runs with the agent's own rights.",
2047
+ "runs-with": {
2048
+ "agent": "Runs with the agent's rights",
2049
+ "accountable": "Runs with the technical account's rights"
2050
+ }
2051
+ },
1813
2052
  "give-feedback": "Give feedback",
1814
2053
  "change-feedback": "Change feedback",
1815
2054
  "your-feedback": "Your feedback: {{category}}",
@@ -1888,6 +2127,11 @@
1888
2127
  "running": "Running",
1889
2128
  "completed": "Answered",
1890
2129
  "failed": "Not answered"
2130
+ },
2131
+ "routes": {
2132
+ "asker-decides": "Asker decides: {{count}}",
2133
+ "subject-agent-rights": "Approvers, agent's rights: {{count}}",
2134
+ "subject-asker-rights": "Approvers, asker's rights: {{count}}"
1891
2135
  }
1892
2136
  },
1893
2137
  "object-agents": {