@sixb/app 0.1.14 → 0.1.15
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/dist/{chunk-vtp6nk44.js → chunk-736c9akn.js} +1 -1
- package/dist/{chunk-1rhht9y0.js → chunk-n0cxwvej.js} +1 -1
- package/dist/{chunk-0yb22w6m.js → chunk-qh1panvd.js} +1 -1
- package/dist/{chunk-aes17xmx.js → chunk-twjs2sb9.js} +3928 -3717
- package/dist/{chunk-aes17xmx.js.map → chunk-twjs2sb9.js.map} +46 -42
- package/dist/index.js +15 -6
- package/dist/index.js.map +6 -6
- package/dist/pages.js +60 -44
- package/dist/pages.js.map +8 -8
- package/dist/server.js +12 -6
- package/dist/server.js.map +3 -3
- package/package.json +3 -3
- package/src/agent/agent-chat.tsx +4 -22
- package/src/agent/agent-panel.tsx +4 -0
- package/src/agent/agent-surface.tsx +4 -0
- package/src/agent/agent.css +33 -3
- package/src/agent/approvals.ts +4 -5
- package/src/agent/artifact-panel.tsx +113 -37
- package/src/agent/components/activity-status.tsx +1 -1
- package/src/agent/components/agent-threads.tsx +377 -0
- package/src/agent/components/approval-card.tsx +336 -327
- package/src/agent/components/approval-mode-chip.tsx +38 -145
- package/src/agent/components/auto-model-chip.tsx +103 -167
- package/src/agent/components/composer-menu.tsx +185 -0
- package/src/agent/components/composer.tsx +38 -43
- package/src/agent/components/context-chips.tsx +1 -1
- package/src/agent/components/conversation-panel.tsx +16 -36
- package/src/agent/components/file-attachment-card.tsx +5 -2
- package/src/agent/components/message-parts.tsx +27 -11
- package/src/agent/components/message-view.tsx +182 -68
- package/src/agent/components/model-controls.tsx +133 -125
- package/src/agent/components/model-picker-row.tsx +38 -17
- package/src/agent/components/participant-input.tsx +159 -31
- package/src/agent/components/reasoning-effort-slider.tsx +27 -27
- package/src/agent/components/shared-thread-notice.tsx +1 -1
- package/src/agent/components/thread-people.tsx +45 -15
- package/src/agent/components/threads-button.tsx +70 -0
- package/src/agent/components/transcript.tsx +30 -1
- package/src/agent/conversation.ts +25 -1
- package/src/agent/delegation/child-card.tsx +187 -247
- package/src/agent/delegation/child-cards.tsx +4 -7
- package/src/agent/delegation/child-group.tsx +179 -98
- package/src/agent/delegation/child-parts.tsx +71 -106
- package/src/agent/delegation/child-work.tsx +6 -52
- package/src/agent/delegation/interpret.ts +0 -28
- package/src/agent/delegation/model.ts +115 -39
- package/src/agent/hooks/use-agent-conversation.ts +7 -92
- package/src/agent/hooks/use-people-suggestions.ts +90 -0
- package/src/agent/hooks/use-thread-lists.ts +77 -0
- package/src/agent/i18n/en.ts +96 -83
- package/src/agent/i18n/fr.ts +105 -100
- package/src/agent/react-router.tsx +48 -5
- package/src/agent/run-presentation.ts +6 -2
- package/src/agent/thread-navigation.ts +16 -0
- package/src/agent/thread-pages.ts +24 -0
- package/src/artifacts/person-avatar.tsx +1 -1
- package/src/createCustomApp.ts +13 -6
- package/src/index.ts +7 -3
- package/src/pages/home.tsx +3 -1
- package/src/pages/observability/ai-usage/calls.tsx +2 -1
- package/src/pages/settings/memory-history.tsx +2 -1
- package/src/pages/settings/messages.ts +2 -3
- package/src/pages/values.tsx +23 -1
- package/src/pages.ts +5 -1
- package/src/shell/agent-dock.tsx +4 -2
- package/src/agent/agents-page.ts +0 -7
- package/src/agent/components/agent-thread-switcher.tsx +0 -519
- /package/dist/{chunk-vtp6nk44.js.map → chunk-736c9akn.js.map} +0 -0
- /package/dist/{chunk-1rhht9y0.js.map → chunk-n0cxwvej.js.map} +0 -0
- /package/dist/{chunk-0yb22w6m.js.map → chunk-qh1panvd.js.map} +0 -0
package/src/agent/i18n/en.ts
CHANGED
|
@@ -46,14 +46,14 @@ export const en = {
|
|
|
46
46
|
loadingConversation: "Loading conversation…",
|
|
47
47
|
messagesLoadFailed: "Could not load this conversation.",
|
|
48
48
|
threadsLoadFailed: "Could not load threads.",
|
|
49
|
-
sharedThreadsLoadFailed: "Could not load the
|
|
49
|
+
sharedThreadsLoadFailed: "Could not load the threads shared with you.",
|
|
50
50
|
sendFailed: "Couldn't send your message. Please try again.",
|
|
51
51
|
busy: "An answer is already in progress. Send yours when it finishes.",
|
|
52
52
|
busyOther: "Someone else's message is being answered. Send yours when it finishes.",
|
|
53
53
|
sandboxUnavailable: "This conversation's sandbox must be recovered before another answer.",
|
|
54
54
|
retryFailed: "Couldn't retry this answer. Try again.",
|
|
55
55
|
stopFailed: "Couldn't stop this answer. Try again.",
|
|
56
|
-
removed: "You no longer take part in this
|
|
56
|
+
removed: "You no longer take part in this thread.",
|
|
57
57
|
},
|
|
58
58
|
composer: {
|
|
59
59
|
message: "Message",
|
|
@@ -110,7 +110,6 @@ export const en = {
|
|
|
110
110
|
empty: "No matching models.",
|
|
111
111
|
default: "Default",
|
|
112
112
|
defaultSummary: (summary: string) => `Default · ${summary}`,
|
|
113
|
-
resetToDefault: "Reset",
|
|
114
113
|
details: (name: string) => `Details about ${name}`,
|
|
115
114
|
contextWindow: "Context window",
|
|
116
115
|
tokens: (tokens: number) => count(tokens, "token"),
|
|
@@ -125,9 +124,8 @@ export const en = {
|
|
|
125
124
|
title: "Model",
|
|
126
125
|
chip: (name: string) => `Model: ${name}. Change it`,
|
|
127
126
|
auto: "Auto",
|
|
128
|
-
autoRouting: "
|
|
127
|
+
autoRouting: "Picks the right model for each message",
|
|
129
128
|
autoStandard: (name: string) => `Sixb uses ${name}`,
|
|
130
|
-
backToAuto: "Back to Auto",
|
|
131
129
|
},
|
|
132
130
|
reasoning: {
|
|
133
131
|
thinking: "Thinking",
|
|
@@ -145,38 +143,35 @@ export const en = {
|
|
|
145
143
|
max: "Max",
|
|
146
144
|
},
|
|
147
145
|
descriptions: {
|
|
148
|
-
"provider-default": "
|
|
146
|
+
"provider-default": "The model decides how much to think",
|
|
149
147
|
none: "Answer without extended reasoning",
|
|
150
148
|
minimal: "Faster for straightforward work",
|
|
151
|
-
low: "
|
|
152
|
-
medium: "
|
|
153
|
-
high: "
|
|
154
|
-
xhigh: "
|
|
155
|
-
max: "
|
|
149
|
+
low: "Quicker, lighter answers",
|
|
150
|
+
medium: "Balances speed and care",
|
|
151
|
+
high: "Slower, more careful answers",
|
|
152
|
+
xhigh: "Very careful answers, slower still",
|
|
153
|
+
max: "The most careful answers, and the slowest",
|
|
156
154
|
},
|
|
157
155
|
},
|
|
158
156
|
threads: {
|
|
159
|
-
history: "Thread history",
|
|
160
|
-
historyCurrent: (title: string) => `Thread history. Current: ${title}`,
|
|
161
|
-
runningHistory: (running: number, title: string) =>
|
|
162
|
-
`${count(running, "thread")} running. Open thread history. Current: ${title}`,
|
|
163
157
|
running: (running: number) => `${number(running)} running`,
|
|
158
|
+
/** A thread the agent is at work in, on the threads page. */
|
|
159
|
+
working: "Working",
|
|
164
160
|
title: "Threads",
|
|
165
|
-
description: (agent: string) => `Search and switch between conversations with ${agent}.`,
|
|
166
161
|
new: "New thread",
|
|
167
|
-
close: "Close thread history",
|
|
168
162
|
search: "Search threads",
|
|
163
|
+
clearSearch: "Clear search",
|
|
169
164
|
searchLabel: (agent: string) => `Search ${agent} threads`,
|
|
170
165
|
filter: "Filter threads",
|
|
171
166
|
all: "All",
|
|
172
167
|
archivedFilter: (archived: number) => `Archived ${number(archived)}`,
|
|
173
168
|
archived: "Archived",
|
|
169
|
+
messageCount: (messages: number) => count(messages, "message"),
|
|
170
|
+
/** The button in a thread's header that opens the threads page. */
|
|
171
|
+
open: "All threads",
|
|
174
172
|
sharedFilter: (shared: number) =>
|
|
175
173
|
shared > 0 ? `Shared with me ${number(shared)}` : "Shared with me",
|
|
176
|
-
sharedEmpty: "
|
|
177
|
-
sharedBy: (owner: string, messages: number) => `${owner} · ${count(messages, "message")}`,
|
|
178
|
-
current: "Current",
|
|
179
|
-
currentState: "current",
|
|
174
|
+
sharedEmpty: "Threads others share with you appear here.",
|
|
180
175
|
today: "Today",
|
|
181
176
|
yesterday: "Yesterday",
|
|
182
177
|
thisWeek: "This week",
|
|
@@ -185,8 +180,8 @@ export const en = {
|
|
|
185
180
|
loading: "Loading…",
|
|
186
181
|
loadMore: "Load more threads",
|
|
187
182
|
empty: "No matching threads.",
|
|
188
|
-
|
|
189
|
-
untitled: "Untitled
|
|
183
|
+
none: "Your threads with the agent appear here.",
|
|
184
|
+
untitled: "Untitled thread",
|
|
190
185
|
},
|
|
191
186
|
time: {
|
|
192
187
|
now: "now",
|
|
@@ -202,10 +197,10 @@ export const en = {
|
|
|
202
197
|
thinking: "Thinking",
|
|
203
198
|
takingLonger: "Taking a little longer",
|
|
204
199
|
stopped: "Stopped.",
|
|
205
|
-
stoppedAtLimit: (limit: string) => `
|
|
200
|
+
stoppedAtLimit: (limit: string) => `Paused at ${limit}.`,
|
|
206
201
|
limitBeforeAnswer: (limit: string) =>
|
|
207
202
|
`The response reached ${limit} before producing an answer.`,
|
|
208
|
-
turnLimit: "the
|
|
203
|
+
turnLimit: "the time limit",
|
|
209
204
|
turnLimitOf: (amount: number, unit: "hour" | "minute" | "second") =>
|
|
210
205
|
`the ${number(amount)}-${unit} turn limit`,
|
|
211
206
|
continue: "Continue",
|
|
@@ -244,7 +239,6 @@ export const en = {
|
|
|
244
239
|
answeredAgentShort: (key: string) => `Answered ${key}`,
|
|
245
240
|
agentAsks: (key: string, text: string) => `${key} asks: ${text}`,
|
|
246
241
|
messageAgentFailed: (key: string) => `Could not message ${key}`,
|
|
247
|
-
worked: "Worked",
|
|
248
242
|
reasoning: "Reasoning",
|
|
249
243
|
steps: (steps: number) => count(steps, "step"),
|
|
250
244
|
searchFailedHint: "Web search failed. See work details.",
|
|
@@ -261,12 +255,11 @@ export const en = {
|
|
|
261
255
|
group: "Sub-agents of this reply",
|
|
262
256
|
count: (agents: number) => count(agents, "sub-agent"),
|
|
263
257
|
working: (agents: number) => `${number(agents)} working`,
|
|
264
|
-
waitingYou: (agents: number) => `${number(agents)} waiting for you`,
|
|
265
258
|
waitingOn: (agents: number, name: string) => `${number(agents)} waiting for ${name}`,
|
|
266
259
|
waitingOthers: (agents: number) => `${number(agents)} waiting`,
|
|
267
260
|
later: (agents: number) =>
|
|
268
261
|
agents === 1 ? "1 continues later" : `${number(agents)} continue later`,
|
|
269
|
-
done: (agents: number) => `${number(agents)}
|
|
262
|
+
done: (agents: number) => `${number(agents)} finished`,
|
|
270
263
|
failed: (agents: number) => `${number(agents)} failed`,
|
|
271
264
|
stopped: (agents: number) => `${number(agents)} stopped`,
|
|
272
265
|
states: {
|
|
@@ -279,7 +272,7 @@ export const en = {
|
|
|
279
272
|
answer: "Waiting for your answer",
|
|
280
273
|
answerAnyone: "Waiting for an answer",
|
|
281
274
|
resume: "Decided · continues when the agent resumes",
|
|
282
|
-
done: "
|
|
275
|
+
done: "Finished",
|
|
283
276
|
failed: "Failed",
|
|
284
277
|
stopped: "Stopped",
|
|
285
278
|
stopping: "Stopping…",
|
|
@@ -295,15 +288,10 @@ export const en = {
|
|
|
295
288
|
fromAgent: "Agent said",
|
|
296
289
|
asks: "Asked",
|
|
297
290
|
answer: "Agent answered",
|
|
298
|
-
answerHint: "
|
|
299
|
-
showWork: "Show work",
|
|
300
|
-
hideWork: "Hide work",
|
|
301
|
-
showWorkOf: (title: string) => `Show work: ${title}`,
|
|
302
|
-
hideWorkOf: (title: string) => `Hide work: ${title}`,
|
|
291
|
+
answerHint: "Your next message answers it.",
|
|
303
292
|
close: "Close",
|
|
304
293
|
viewRequest: "See its request below",
|
|
305
294
|
stepsLater: "At work. Its steps show here once it finishes.",
|
|
306
|
-
worked: (duration: string) => `worked ${duration}`,
|
|
307
295
|
stop: "Stop",
|
|
308
296
|
stopLabel: (title: string) => `Stop ${title}`,
|
|
309
297
|
stopFailed: "Couldn't stop it. Try again.",
|
|
@@ -317,7 +305,7 @@ export const en = {
|
|
|
317
305
|
loadingWork: "Loading its work…",
|
|
318
306
|
loadFailed: "Couldn't load its work.",
|
|
319
307
|
elsewhere: "Its work is in the original conversation.",
|
|
320
|
-
tiers: { light: "
|
|
308
|
+
tiers: { light: "Fast", standard: "Balanced", heavy: "Thorough" },
|
|
321
309
|
seconds: (seconds: number) => `${number(seconds)}s`,
|
|
322
310
|
minutes: (minutes: number, seconds: number) =>
|
|
323
311
|
seconds === 0 ? `${number(minutes)}m` : `${number(minutes)}m ${number(seconds)}s`,
|
|
@@ -333,6 +321,35 @@ export const en = {
|
|
|
333
321
|
heardFromCount: (agents: number) => `Heard back from ${count(agents, "sub-agent")}`,
|
|
334
322
|
waitFailed: "Couldn't wait for the sub-agents",
|
|
335
323
|
askedAgent: (question: string) => `Asked the agent: ${question}`,
|
|
324
|
+
/** The reply's line: the sub-agents by name, and how they stand. */
|
|
325
|
+
line: {
|
|
326
|
+
names: (names: readonly string[]) =>
|
|
327
|
+
names.length <= 1
|
|
328
|
+
? (names[0] ?? "")
|
|
329
|
+
: names.length <= 3
|
|
330
|
+
? `${names.slice(0, -1).join(", ")} and ${names.at(-1)}`
|
|
331
|
+
: `${names.slice(0, 2).join(", ")} and ${number(names.length - 2)} others`,
|
|
332
|
+
starting: (agents: number): string => (agents === 1 ? "is starting" : "are starting"),
|
|
333
|
+
working: (agents: number): string => (agents === 1 ? "is working" : "are working"),
|
|
334
|
+
asking: (agents: number): string =>
|
|
335
|
+
agents === 1 ? "is asking the agent" : "are asking the agent",
|
|
336
|
+
approval: (agents: number): string =>
|
|
337
|
+
agents === 1 ? "needs your approval" : "need your approval",
|
|
338
|
+
answer: (agents: number): string =>
|
|
339
|
+
agents === 1 ? "has a question for you" : "have a question for you",
|
|
340
|
+
waitingOn: (agents: number, name: string): string =>
|
|
341
|
+
`${agents === 1 ? "is" : "are"} waiting for ${name}`,
|
|
342
|
+
waiting: (agents: number): string => (agents === 1 ? "is waiting" : "are waiting"),
|
|
343
|
+
later: (agents: number): string => (agents === 1 ? "continues later" : "continue later"),
|
|
344
|
+
done: (_agents: number): string => "finished",
|
|
345
|
+
failed: (_agents: number): string => "couldn't finish",
|
|
346
|
+
stopped: (agents: number): string => (agents === 1 ? "was stopped" : "were stopped"),
|
|
347
|
+
},
|
|
348
|
+
/** The panel that lists a reply's sub-agents and opens each one's thread. */
|
|
349
|
+
panel: (agents: number) => count(agents, "sub-agent"),
|
|
350
|
+
back: "All sub-agents",
|
|
351
|
+
task: "Its task",
|
|
352
|
+
open: (names: string) => `Open ${names}`,
|
|
336
353
|
},
|
|
337
354
|
web: {
|
|
338
355
|
searching: "Searching the web",
|
|
@@ -652,6 +669,7 @@ export const en = {
|
|
|
652
669
|
open: (title: string) => `Open ${title}`,
|
|
653
670
|
/** Labels the cards of what one response published. */
|
|
654
671
|
cards: "Published in this response",
|
|
672
|
+
close: "Close",
|
|
655
673
|
},
|
|
656
674
|
memory: {
|
|
657
675
|
/** Closes a turn once per save, before what the save says the agent remembered. */
|
|
@@ -673,45 +691,48 @@ export const en = {
|
|
|
673
691
|
},
|
|
674
692
|
/** A conversation its owner shares with other users of the project. */
|
|
675
693
|
sharing: {
|
|
676
|
-
share: "Share
|
|
694
|
+
share: "Share thread",
|
|
677
695
|
shareShort: "Share",
|
|
678
696
|
names: (names: readonly string[]) => names.join(", "),
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
description:
|
|
685
|
-
"Everyone here reads the whole conversation and talks to the agent with their own access.",
|
|
697
|
+
people: (people: number) => `${count(people, "person", "people")} in this thread`,
|
|
698
|
+
shareTitle: "Share thread",
|
|
699
|
+
peopleTitle: "People in this thread",
|
|
700
|
+
description: "Everyone here reads the whole thread and asks the agent with their own access.",
|
|
701
|
+
inThread: "In this thread",
|
|
686
702
|
owner: "Owner",
|
|
687
703
|
you: "You",
|
|
688
704
|
remove: (name: string) => `Remove ${name}`,
|
|
689
705
|
removeFailed: "Couldn't remove this person. Try again.",
|
|
690
|
-
|
|
691
|
-
|
|
706
|
+
addLabel: "Add people",
|
|
707
|
+
addPlaceholder: "Add people by name or email",
|
|
708
|
+
addByEmail: "Add people by email",
|
|
709
|
+
addMore: "Add more",
|
|
710
|
+
suggestions: "People",
|
|
711
|
+
addEmail: (email: string) => `Add ${email}`,
|
|
692
712
|
invalidEmail: "Enter an email address, such as colleague@example.com.",
|
|
693
|
-
|
|
713
|
+
notFound: "No one in the project matches. Enter their email instead.",
|
|
714
|
+
unstage: (name: string) => `Don't add ${name}`,
|
|
694
715
|
warning:
|
|
695
|
-
"
|
|
716
|
+
"They'll see the whole thread, now and later, including data the agent read with your access that they may not normally see.",
|
|
696
717
|
confirm: (people: number) => `Share with ${count(people, "person", "people")}`,
|
|
697
718
|
sharing: "Sharing…",
|
|
698
719
|
shareRefused:
|
|
699
|
-
"Couldn't add them: each
|
|
700
|
-
shareFailed: "Couldn't share this
|
|
720
|
+
"Couldn't add them: each must be an active member other than you, up to 50 people.",
|
|
721
|
+
shareFailed: "Couldn't share this thread.",
|
|
701
722
|
staged: "People to add",
|
|
702
|
-
leave: "Leave
|
|
703
|
-
leaveTitle: "Leave this
|
|
723
|
+
leave: "Leave thread",
|
|
724
|
+
leaveTitle: "Leave this thread?",
|
|
704
725
|
leaveDescription: (owner: string) =>
|
|
705
726
|
`You will no longer see it or its new messages. ${owner} can add you again.`,
|
|
706
|
-
leaveFailed: "Couldn't leave this
|
|
727
|
+
leaveFailed: "Couldn't leave this thread. Try again.",
|
|
707
728
|
cancel: "Cancel",
|
|
708
729
|
close: "Close",
|
|
709
|
-
sharedBy: (owner: string) => `${owner}'s
|
|
730
|
+
sharedBy: (owner: string) => `${owner}'s thread`,
|
|
710
731
|
answering: (name: string) => `${name} is getting an answer…`,
|
|
711
|
-
continueMine: "Continue in my
|
|
732
|
+
continueMine: "Continue in my own thread",
|
|
712
733
|
continuing: "Copying…",
|
|
713
|
-
continueHint: "A copy of the finished messages,
|
|
714
|
-
forkFailed: "Couldn't copy this
|
|
734
|
+
continueHint: "A copy of the finished messages, just for you.",
|
|
735
|
+
forkFailed: "Couldn't copy this thread. Try again.",
|
|
715
736
|
sharedWith: (names: readonly string[]) =>
|
|
716
737
|
names.length === 1
|
|
717
738
|
? `Shared with ${names[0]}`
|
|
@@ -719,35 +740,30 @@ export const en = {
|
|
|
719
740
|
? `Shared with ${names[0]} and ${names[1]}`
|
|
720
741
|
: `Shared with ${number(names.length)} people`,
|
|
721
742
|
removed: (name: string) => `Removed ${name}`,
|
|
722
|
-
left: "You left the
|
|
723
|
-
copied: "Copied to your
|
|
743
|
+
left: "You left the thread",
|
|
744
|
+
copied: "Copied to your threads",
|
|
724
745
|
},
|
|
725
746
|
/** What the agent may change without asking: the composer's chip and its menu. */
|
|
726
747
|
approvalModes: {
|
|
727
|
-
title: "
|
|
728
|
-
chip: (mode: string) => `
|
|
729
|
-
changed: (mode: string) => `
|
|
730
|
-
shortcut: "Shift+Tab in an empty message switches
|
|
748
|
+
title: "What can the agent do without asking?",
|
|
749
|
+
chip: (mode: string) => `Permissions: ${mode}. Change them`,
|
|
750
|
+
changed: (mode: string) => `Permissions: ${mode}`,
|
|
751
|
+
shortcut: "Shift+Tab in an empty message switches to the next mode",
|
|
731
752
|
modes: {
|
|
732
753
|
manual: {
|
|
733
754
|
label: "Manual",
|
|
734
|
-
short: "Manual",
|
|
735
755
|
description: "Asks before each action or workflow the agent requests",
|
|
736
756
|
},
|
|
737
757
|
"accept-edits": {
|
|
738
758
|
label: "Accept edits",
|
|
739
|
-
short: "Edits",
|
|
740
759
|
description:
|
|
741
760
|
"Changes your data without asking. Asks before reaching other systems or starting workflows",
|
|
742
761
|
},
|
|
743
762
|
auto: {
|
|
744
763
|
label: "Auto",
|
|
745
|
-
short: "Auto",
|
|
746
764
|
description: "Runs every action and workflow without asking",
|
|
747
765
|
},
|
|
748
766
|
},
|
|
749
|
-
makeDefault: "Use as my default",
|
|
750
|
-
isDefault: "Your default",
|
|
751
767
|
saveFailed: "Couldn't change what the agent may do. Try again.",
|
|
752
768
|
},
|
|
753
769
|
/** A call the agent made that waits for its requester's approval. */
|
|
@@ -760,40 +776,38 @@ export const en = {
|
|
|
760
776
|
approving: "Approving…",
|
|
761
777
|
deny: "Deny",
|
|
762
778
|
denying: "Denying…",
|
|
763
|
-
alwaysAllow:
|
|
779
|
+
alwaysAllow: "Always allow",
|
|
780
|
+
/** "Always allow" on a call that reaches outside the app, which lets every such call run. */
|
|
781
|
+
alwaysAllowAll: "Allow all from now on",
|
|
782
|
+
alwaysAllowHint: (mode: string) => `Approves this, then sets this conversation to “${mode}”`,
|
|
764
783
|
alwaysAllowAlso: (others: number) =>
|
|
765
784
|
`Also approves ${count(others, "other request")} waiting in this reply.`,
|
|
766
|
-
modeRaised: (mode: string) => `
|
|
785
|
+
modeRaised: (mode: string) => `This conversation is now set to “${mode}”.`,
|
|
767
786
|
approved: "Approved",
|
|
768
|
-
ran: "Ran",
|
|
769
787
|
running: "Running…",
|
|
770
788
|
failed: "Approved, but it failed",
|
|
771
789
|
notRun: "Approved, but it didn't run",
|
|
772
790
|
authorityLost: "The sign-in that asked for it ended before it could run. Ask the agent again.",
|
|
773
791
|
denied: "Denied",
|
|
774
|
-
deniedDetail: "Didn't run",
|
|
775
792
|
superseded: "Set aside",
|
|
776
|
-
supersededDetail: "
|
|
793
|
+
supersededDetail: "Didn't run: a newer message came first.",
|
|
777
794
|
cancelled: "Stopped",
|
|
778
795
|
cancelledDetail: "The answer was stopped. It didn't run.",
|
|
779
796
|
expired: "Expired",
|
|
780
797
|
expiredDetail: (days: number) => `Nobody decided within ${count(days, "day")}. It didn't run.`,
|
|
781
798
|
askedForApproval: "Asked for approval",
|
|
782
|
-
fromSubagent: (
|
|
799
|
+
fromSubagent: (name: string) => `From ${name}`,
|
|
783
800
|
effects: {
|
|
784
|
-
ontology: "
|
|
785
|
-
|
|
786
|
-
|
|
801
|
+
ontology: "Only changes records in this app",
|
|
802
|
+
writeback: "Also updates the system this record comes from",
|
|
803
|
+
external: "Also acts outside this app",
|
|
804
|
+
workflow: (name: string) => `Starts the ${name} workflow`,
|
|
787
805
|
},
|
|
788
806
|
noInput: "No details to review",
|
|
789
|
-
showInput: "Show details",
|
|
790
|
-
hideInput: "Hide details",
|
|
791
|
-
viewRun: "View run",
|
|
792
807
|
stopWaiting: "Stop waiting",
|
|
793
808
|
stoppingWaiting: "Stopping…",
|
|
794
809
|
stopWaitingHint: "Sets aside every request this reply waits on. It won't continue.",
|
|
795
810
|
stopFailed: "Couldn't stop waiting. Try again.",
|
|
796
|
-
open: (name: string) => `Open ${name}`,
|
|
797
811
|
resume: {
|
|
798
812
|
retrying: "The agent continues as soon as it can.",
|
|
799
813
|
refused: "The agent couldn't continue. Send a message to pick up from here.",
|
|
@@ -805,8 +819,7 @@ export const en = {
|
|
|
805
819
|
},
|
|
806
820
|
composerPlaceholder: "Approve above, or reply instead",
|
|
807
821
|
setsAside: (name: string) => `Sending now sets aside ${name}'s request waiting for approval.`,
|
|
808
|
-
waitingThreads: (waiting: number) =>
|
|
809
|
-
`${count(waiting, "conversation")} waiting for your approval`,
|
|
822
|
+
waitingThreads: (waiting: number) => `${count(waiting, "thread")} waiting for your approval`,
|
|
810
823
|
threadWaiting: "Waiting for you",
|
|
811
824
|
},
|
|
812
825
|
/** Someone else's conversation, read with can.observe(agent.threads). */
|