@sixb/app 0.1.14 → 0.1.16
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/agent/agent-chat.d.ts +8 -1
- package/dist/agent/agent-chat.d.ts.map +1 -1
- package/dist/agent/agent-panel.d.ts +8 -1
- package/dist/agent/agent-panel.d.ts.map +1 -1
- package/dist/agent/agent-surface.d.ts +8 -1
- package/dist/agent/agent-surface.d.ts.map +1 -1
- package/dist/agent/approvals.d.ts +1 -4
- package/dist/agent/approvals.d.ts.map +1 -1
- package/dist/agent/artifact-panel.d.ts +21 -2
- package/dist/agent/artifact-panel.d.ts.map +1 -1
- package/dist/agent/components/activity-status.d.ts +1 -1
- package/dist/agent/components/activity-status.d.ts.map +1 -1
- package/dist/agent/components/agent-threads.d.ts +15 -0
- package/dist/agent/components/agent-threads.d.ts.map +1 -0
- package/dist/agent/components/approval-card.d.ts +4 -4
- package/dist/agent/components/approval-card.d.ts.map +1 -1
- package/dist/agent/components/approval-mode-chip.d.ts +4 -6
- package/dist/agent/components/approval-mode-chip.d.ts.map +1 -1
- package/dist/agent/components/auto-model-chip.d.ts +2 -3
- package/dist/agent/components/auto-model-chip.d.ts.map +1 -1
- package/dist/agent/components/composer-menu.d.ts +42 -0
- package/dist/agent/components/composer-menu.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +8 -5
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/conversation-panel.d.ts +3 -12
- package/dist/agent/components/conversation-panel.d.ts.map +1 -1
- package/dist/agent/components/dictation-bar.d.ts +13 -0
- package/dist/agent/components/dictation-bar.d.ts.map +1 -0
- package/dist/agent/components/message-parts.d.ts.map +1 -1
- package/dist/agent/components/message-view.d.ts +3 -1
- package/dist/agent/components/message-view.d.ts.map +1 -1
- package/dist/agent/components/model-controls.d.ts +15 -0
- package/dist/agent/components/model-controls.d.ts.map +1 -1
- package/dist/agent/components/model-picker-row.d.ts +9 -2
- package/dist/agent/components/model-picker-row.d.ts.map +1 -1
- package/dist/agent/components/participant-input.d.ts +7 -6
- package/dist/agent/components/participant-input.d.ts.map +1 -1
- package/dist/agent/components/thread-people.d.ts +4 -4
- package/dist/agent/components/thread-people.d.ts.map +1 -1
- package/dist/agent/components/threads-button.d.ts +14 -0
- package/dist/agent/components/threads-button.d.ts.map +1 -0
- package/dist/agent/conversation.d.ts +3 -1
- package/dist/agent/conversation.d.ts.map +1 -1
- package/dist/agent/delegation/child-card.d.ts +24 -11
- package/dist/agent/delegation/child-card.d.ts.map +1 -1
- package/dist/agent/delegation/child-cards.d.ts +2 -2
- package/dist/agent/delegation/child-cards.d.ts.map +1 -1
- package/dist/agent/delegation/child-group.d.ts +5 -4
- package/dist/agent/delegation/child-group.d.ts.map +1 -1
- package/dist/agent/delegation/child-parts.d.ts +17 -18
- package/dist/agent/delegation/child-parts.d.ts.map +1 -1
- package/dist/agent/delegation/child-work.d.ts +0 -13
- package/dist/agent/delegation/child-work.d.ts.map +1 -1
- package/dist/agent/delegation/interpret.d.ts +0 -5
- package/dist/agent/delegation/interpret.d.ts.map +1 -1
- package/dist/agent/delegation/model.d.ts +12 -6
- package/dist/agent/delegation/model.d.ts.map +1 -1
- package/dist/agent/dictation.d.ts +16 -0
- package/dist/agent/dictation.d.ts.map +1 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts +3 -270
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-people-suggestions.d.ts +21 -0
- package/dist/agent/hooks/use-people-suggestions.d.ts.map +1 -0
- package/dist/agent/hooks/use-thread-lists.d.ts +220 -0
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -0
- package/dist/agent/i18n/en.d.ts +47 -36
- package/dist/agent/i18n/en.d.ts.map +1 -1
- package/dist/agent/i18n/fr.d.ts.map +1 -1
- package/dist/agent/i18n/index.d.ts +84 -72
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/react-router.d.ts +9 -0
- package/dist/agent/react-router.d.ts.map +1 -1
- package/dist/agent/run-presentation.d.ts +4 -1
- package/dist/agent/run-presentation.d.ts.map +1 -1
- package/dist/agent/thread-navigation.d.ts +8 -0
- package/dist/agent/thread-navigation.d.ts.map +1 -1
- package/dist/agent/thread-pages.d.ts +11 -0
- package/dist/agent/thread-pages.d.ts.map +1 -0
- package/dist/artifacts/person-avatar.d.ts +2 -2
- package/dist/{chunk-aes17xmx.js → chunk-12v6y89k.js} +4180 -3793
- package/dist/{chunk-aes17xmx.js.map → chunk-12v6y89k.js.map} +48 -42
- package/dist/{chunk-0yb22w6m.js → chunk-2a69ge8h.js} +1 -1
- package/dist/{chunk-vtp6nk44.js → chunk-bpj9mg5c.js} +1 -1
- package/dist/{chunk-1rhht9y0.js → chunk-hzy2g13h.js} +1 -1
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -6
- package/dist/index.js.map +6 -6
- package/dist/pages/home.d.ts.map +1 -1
- package/dist/pages/observability/ai-usage/calls.d.ts.map +1 -1
- package/dist/pages/settings/memory-history.d.ts.map +1 -1
- package/dist/pages/settings/messages.d.ts.map +1 -1
- package/dist/pages/values.d.ts +5 -0
- package/dist/pages/values.d.ts.map +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.d.ts.map +1 -1
- 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/dist/shell/agent-dock.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/agent/agent-chat.tsx +15 -23
- package/src/agent/agent-panel.tsx +11 -0
- package/src/agent/agent-surface.tsx +11 -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 +168 -103
- package/src/agent/components/context-chips.tsx +1 -1
- package/src/agent/components/conversation-panel.tsx +16 -36
- package/src/agent/components/dictation-bar.tsx +110 -0
- 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/dictation.ts +48 -0
- package/src/agent/hooks/use-agent-conversation.ts +10 -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 +100 -83
- package/src/agent/i18n/fr.ts +109 -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/dist/agent/agents-page.d.ts +0 -4
- package/dist/agent/agents-page.d.ts.map +0 -1
- package/dist/agent/components/agent-thread-switcher.d.ts +0 -37
- package/dist/agent/components/agent-thread-switcher.d.ts.map +0 -1
- package/src/agent/agents-page.ts +0 -7
- package/src/agent/components/agent-thread-switcher.tsx +0 -519
- /package/dist/{chunk-0yb22w6m.js.map → chunk-2a69ge8h.js.map} +0 -0
- /package/dist/{chunk-vtp6nk44.js.map → chunk-bpj9mg5c.js.map} +0 -0
- /package/dist/{chunk-1rhht9y0.js.map → chunk-hzy2g13h.js.map} +0 -0
|
@@ -45,6 +45,10 @@ export declare const useAgentMessages: () => {
|
|
|
45
45
|
removeUnnamedAttachment: string;
|
|
46
46
|
addFiles: string;
|
|
47
47
|
dropFiles: string;
|
|
48
|
+
dictationListening: string;
|
|
49
|
+
dictationTranscribing: string;
|
|
50
|
+
cancelDictation: string;
|
|
51
|
+
finishDictation: string;
|
|
48
52
|
};
|
|
49
53
|
files: {
|
|
50
54
|
spreadsheet: string;
|
|
@@ -84,7 +88,6 @@ export declare const useAgentMessages: () => {
|
|
|
84
88
|
empty: string;
|
|
85
89
|
default: string;
|
|
86
90
|
defaultSummary: (summary: string) => string;
|
|
87
|
-
resetToDefault: string;
|
|
88
91
|
details: (name: string) => string;
|
|
89
92
|
contextWindow: string;
|
|
90
93
|
tokens: (tokens: number) => string;
|
|
@@ -100,7 +103,6 @@ export declare const useAgentMessages: () => {
|
|
|
100
103
|
auto: string;
|
|
101
104
|
autoRouting: string;
|
|
102
105
|
autoStandard: (name: string) => string;
|
|
103
|
-
backToAuto: string;
|
|
104
106
|
};
|
|
105
107
|
reasoning: {
|
|
106
108
|
thinking: string;
|
|
@@ -129,25 +131,21 @@ export declare const useAgentMessages: () => {
|
|
|
129
131
|
};
|
|
130
132
|
};
|
|
131
133
|
threads: {
|
|
132
|
-
history: string;
|
|
133
|
-
historyCurrent: (title: string) => string;
|
|
134
|
-
runningHistory: (running: number, title: string) => string;
|
|
135
134
|
running: (running: number) => string;
|
|
135
|
+
working: string;
|
|
136
136
|
title: string;
|
|
137
|
-
description: (agent: string) => string;
|
|
138
137
|
new: string;
|
|
139
|
-
close: string;
|
|
140
138
|
search: string;
|
|
139
|
+
clearSearch: string;
|
|
141
140
|
searchLabel: (agent: string) => string;
|
|
142
141
|
filter: string;
|
|
143
142
|
all: string;
|
|
144
143
|
archivedFilter: (archived: number) => string;
|
|
145
144
|
archived: string;
|
|
145
|
+
messageCount: (messages: number) => string;
|
|
146
|
+
open: string;
|
|
146
147
|
sharedFilter: (shared: number) => string;
|
|
147
148
|
sharedEmpty: string;
|
|
148
|
-
sharedBy: (owner: string, messages: number) => string;
|
|
149
|
-
current: string;
|
|
150
|
-
currentState: string;
|
|
151
149
|
today: string;
|
|
152
150
|
yesterday: string;
|
|
153
151
|
thisWeek: string;
|
|
@@ -156,7 +154,7 @@ export declare const useAgentMessages: () => {
|
|
|
156
154
|
loading: string;
|
|
157
155
|
loadMore: string;
|
|
158
156
|
empty: string;
|
|
159
|
-
|
|
157
|
+
none: string;
|
|
160
158
|
untitled: string;
|
|
161
159
|
};
|
|
162
160
|
time: {
|
|
@@ -210,7 +208,6 @@ export declare const useAgentMessages: () => {
|
|
|
210
208
|
answeredAgentShort: (key: string) => string;
|
|
211
209
|
agentAsks: (key: string, text: string) => string;
|
|
212
210
|
messageAgentFailed: (key: string) => string;
|
|
213
|
-
worked: string;
|
|
214
211
|
reasoning: string;
|
|
215
212
|
steps: (steps: number) => string;
|
|
216
213
|
searchFailedHint: string;
|
|
@@ -226,7 +223,6 @@ export declare const useAgentMessages: () => {
|
|
|
226
223
|
group: string;
|
|
227
224
|
count: (agents: number) => string;
|
|
228
225
|
working: (agents: number) => string;
|
|
229
|
-
waitingYou: (agents: number) => string;
|
|
230
226
|
waitingOn: (agents: number, name: string) => string;
|
|
231
227
|
waitingOthers: (agents: number) => string;
|
|
232
228
|
later: (agents: number) => string;
|
|
@@ -260,14 +256,9 @@ export declare const useAgentMessages: () => {
|
|
|
260
256
|
asks: string;
|
|
261
257
|
answer: string;
|
|
262
258
|
answerHint: string;
|
|
263
|
-
showWork: string;
|
|
264
|
-
hideWork: string;
|
|
265
|
-
showWorkOf: (title: string) => string;
|
|
266
|
-
hideWorkOf: (title: string) => string;
|
|
267
259
|
close: string;
|
|
268
260
|
viewRequest: string;
|
|
269
261
|
stepsLater: string;
|
|
270
|
-
worked: (duration: string) => string;
|
|
271
262
|
stop: string;
|
|
272
263
|
stopLabel: (title: string) => string;
|
|
273
264
|
stopFailed: string;
|
|
@@ -299,6 +290,24 @@ export declare const useAgentMessages: () => {
|
|
|
299
290
|
heardFromCount: (agents: number) => string;
|
|
300
291
|
waitFailed: string;
|
|
301
292
|
askedAgent: (question: string) => string;
|
|
293
|
+
line: {
|
|
294
|
+
names: (names: readonly string[]) => string;
|
|
295
|
+
starting: (agents: number) => string;
|
|
296
|
+
working: (agents: number) => string;
|
|
297
|
+
asking: (agents: number) => string;
|
|
298
|
+
approval: (agents: number) => string;
|
|
299
|
+
answer: (agents: number) => string;
|
|
300
|
+
waitingOn: (agents: number, name: string) => string;
|
|
301
|
+
waiting: (agents: number) => string;
|
|
302
|
+
later: (agents: number) => string;
|
|
303
|
+
done: (_agents: number) => string;
|
|
304
|
+
failed: (_agents: number) => string;
|
|
305
|
+
stopped: (agents: number) => string;
|
|
306
|
+
};
|
|
307
|
+
panel: (agents: number) => string;
|
|
308
|
+
back: string;
|
|
309
|
+
task: string;
|
|
310
|
+
open: (names: string) => string;
|
|
302
311
|
};
|
|
303
312
|
web: {
|
|
304
313
|
searching: string;
|
|
@@ -695,6 +704,7 @@ export declare const useAgentMessages: () => {
|
|
|
695
704
|
publishFailed: (title: string) => string;
|
|
696
705
|
open: (title: string) => string;
|
|
697
706
|
cards: string;
|
|
707
|
+
close: string;
|
|
698
708
|
};
|
|
699
709
|
memory: {
|
|
700
710
|
saved: (project: boolean) => string;
|
|
@@ -715,20 +725,24 @@ export declare const useAgentMessages: () => {
|
|
|
715
725
|
share: string;
|
|
716
726
|
shareShort: string;
|
|
717
727
|
names: (names: readonly string[]) => string;
|
|
718
|
-
emailPlaceholderEmpty: string;
|
|
719
|
-
addHint: string;
|
|
720
728
|
people: (people: number) => string;
|
|
721
729
|
shareTitle: string;
|
|
722
730
|
peopleTitle: string;
|
|
723
731
|
description: string;
|
|
732
|
+
inThread: string;
|
|
724
733
|
owner: string;
|
|
725
734
|
you: string;
|
|
726
735
|
remove: (name: string) => string;
|
|
727
736
|
removeFailed: string;
|
|
728
|
-
|
|
729
|
-
|
|
737
|
+
addLabel: string;
|
|
738
|
+
addPlaceholder: string;
|
|
739
|
+
addByEmail: string;
|
|
740
|
+
addMore: string;
|
|
741
|
+
suggestions: string;
|
|
742
|
+
addEmail: (email: string) => string;
|
|
730
743
|
invalidEmail: string;
|
|
731
|
-
|
|
744
|
+
notFound: string;
|
|
745
|
+
unstage: (name: string) => string;
|
|
732
746
|
warning: string;
|
|
733
747
|
confirm: (people: number) => string;
|
|
734
748
|
sharing: string;
|
|
@@ -760,22 +774,17 @@ export declare const useAgentMessages: () => {
|
|
|
760
774
|
modes: {
|
|
761
775
|
manual: {
|
|
762
776
|
label: string;
|
|
763
|
-
short: string;
|
|
764
777
|
description: string;
|
|
765
778
|
};
|
|
766
779
|
"accept-edits": {
|
|
767
780
|
label: string;
|
|
768
|
-
short: string;
|
|
769
781
|
description: string;
|
|
770
782
|
};
|
|
771
783
|
auto: {
|
|
772
784
|
label: string;
|
|
773
|
-
short: string;
|
|
774
785
|
description: string;
|
|
775
786
|
};
|
|
776
787
|
};
|
|
777
|
-
makeDefault: string;
|
|
778
|
-
isDefault: string;
|
|
779
788
|
saveFailed: string;
|
|
780
789
|
};
|
|
781
790
|
approvals: {
|
|
@@ -787,17 +796,17 @@ export declare const useAgentMessages: () => {
|
|
|
787
796
|
approving: string;
|
|
788
797
|
deny: string;
|
|
789
798
|
denying: string;
|
|
790
|
-
alwaysAllow:
|
|
799
|
+
alwaysAllow: string;
|
|
800
|
+
alwaysAllowAll: string;
|
|
801
|
+
alwaysAllowHint: (mode: string) => string;
|
|
791
802
|
alwaysAllowAlso: (others: number) => string;
|
|
792
803
|
modeRaised: (mode: string) => string;
|
|
793
804
|
approved: string;
|
|
794
|
-
ran: string;
|
|
795
805
|
running: string;
|
|
796
806
|
failed: string;
|
|
797
807
|
notRun: string;
|
|
798
808
|
authorityLost: string;
|
|
799
809
|
denied: string;
|
|
800
|
-
deniedDetail: string;
|
|
801
810
|
superseded: string;
|
|
802
811
|
supersededDetail: string;
|
|
803
812
|
cancelled: string;
|
|
@@ -805,21 +814,18 @@ export declare const useAgentMessages: () => {
|
|
|
805
814
|
expired: string;
|
|
806
815
|
expiredDetail: (days: number) => string;
|
|
807
816
|
askedForApproval: string;
|
|
808
|
-
fromSubagent: (
|
|
817
|
+
fromSubagent: (name: string) => string;
|
|
809
818
|
effects: {
|
|
810
819
|
ontology: string;
|
|
820
|
+
writeback: string;
|
|
811
821
|
external: string;
|
|
812
822
|
workflow: (name: string) => string;
|
|
813
823
|
};
|
|
814
824
|
noInput: string;
|
|
815
|
-
showInput: string;
|
|
816
|
-
hideInput: string;
|
|
817
|
-
viewRun: string;
|
|
818
825
|
stopWaiting: string;
|
|
819
826
|
stoppingWaiting: string;
|
|
820
827
|
stopWaitingHint: string;
|
|
821
828
|
stopFailed: string;
|
|
822
|
-
open: (name: string) => string;
|
|
823
829
|
resume: {
|
|
824
830
|
retrying: string;
|
|
825
831
|
refused: string;
|
|
@@ -886,6 +892,10 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
886
892
|
removeUnnamedAttachment: string;
|
|
887
893
|
addFiles: string;
|
|
888
894
|
dropFiles: string;
|
|
895
|
+
dictationListening: string;
|
|
896
|
+
dictationTranscribing: string;
|
|
897
|
+
cancelDictation: string;
|
|
898
|
+
finishDictation: string;
|
|
889
899
|
};
|
|
890
900
|
files: {
|
|
891
901
|
spreadsheet: string;
|
|
@@ -925,7 +935,6 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
925
935
|
empty: string;
|
|
926
936
|
default: string;
|
|
927
937
|
defaultSummary: (summary: string) => string;
|
|
928
|
-
resetToDefault: string;
|
|
929
938
|
details: (name: string) => string;
|
|
930
939
|
contextWindow: string;
|
|
931
940
|
tokens: (tokens: number) => string;
|
|
@@ -941,7 +950,6 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
941
950
|
auto: string;
|
|
942
951
|
autoRouting: string;
|
|
943
952
|
autoStandard: (name: string) => string;
|
|
944
|
-
backToAuto: string;
|
|
945
953
|
};
|
|
946
954
|
reasoning: {
|
|
947
955
|
thinking: string;
|
|
@@ -970,25 +978,21 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
970
978
|
};
|
|
971
979
|
};
|
|
972
980
|
threads: {
|
|
973
|
-
history: string;
|
|
974
|
-
historyCurrent: (title: string) => string;
|
|
975
|
-
runningHistory: (running: number, title: string) => string;
|
|
976
981
|
running: (running: number) => string;
|
|
982
|
+
working: string;
|
|
977
983
|
title: string;
|
|
978
|
-
description: (agent: string) => string;
|
|
979
984
|
new: string;
|
|
980
|
-
close: string;
|
|
981
985
|
search: string;
|
|
986
|
+
clearSearch: string;
|
|
982
987
|
searchLabel: (agent: string) => string;
|
|
983
988
|
filter: string;
|
|
984
989
|
all: string;
|
|
985
990
|
archivedFilter: (archived: number) => string;
|
|
986
991
|
archived: string;
|
|
992
|
+
messageCount: (messages: number) => string;
|
|
993
|
+
open: string;
|
|
987
994
|
sharedFilter: (shared: number) => string;
|
|
988
995
|
sharedEmpty: string;
|
|
989
|
-
sharedBy: (owner: string, messages: number) => string;
|
|
990
|
-
current: string;
|
|
991
|
-
currentState: string;
|
|
992
996
|
today: string;
|
|
993
997
|
yesterday: string;
|
|
994
998
|
thisWeek: string;
|
|
@@ -997,7 +1001,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
997
1001
|
loading: string;
|
|
998
1002
|
loadMore: string;
|
|
999
1003
|
empty: string;
|
|
1000
|
-
|
|
1004
|
+
none: string;
|
|
1001
1005
|
untitled: string;
|
|
1002
1006
|
};
|
|
1003
1007
|
time: {
|
|
@@ -1051,7 +1055,6 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1051
1055
|
answeredAgentShort: (key: string) => string;
|
|
1052
1056
|
agentAsks: (key: string, text: string) => string;
|
|
1053
1057
|
messageAgentFailed: (key: string) => string;
|
|
1054
|
-
worked: string;
|
|
1055
1058
|
reasoning: string;
|
|
1056
1059
|
steps: (steps: number) => string;
|
|
1057
1060
|
searchFailedHint: string;
|
|
@@ -1067,7 +1070,6 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1067
1070
|
group: string;
|
|
1068
1071
|
count: (agents: number) => string;
|
|
1069
1072
|
working: (agents: number) => string;
|
|
1070
|
-
waitingYou: (agents: number) => string;
|
|
1071
1073
|
waitingOn: (agents: number, name: string) => string;
|
|
1072
1074
|
waitingOthers: (agents: number) => string;
|
|
1073
1075
|
later: (agents: number) => string;
|
|
@@ -1101,14 +1103,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1101
1103
|
asks: string;
|
|
1102
1104
|
answer: string;
|
|
1103
1105
|
answerHint: string;
|
|
1104
|
-
showWork: string;
|
|
1105
|
-
hideWork: string;
|
|
1106
|
-
showWorkOf: (title: string) => string;
|
|
1107
|
-
hideWorkOf: (title: string) => string;
|
|
1108
1106
|
close: string;
|
|
1109
1107
|
viewRequest: string;
|
|
1110
1108
|
stepsLater: string;
|
|
1111
|
-
worked: (duration: string) => string;
|
|
1112
1109
|
stop: string;
|
|
1113
1110
|
stopLabel: (title: string) => string;
|
|
1114
1111
|
stopFailed: string;
|
|
@@ -1140,6 +1137,24 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1140
1137
|
heardFromCount: (agents: number) => string;
|
|
1141
1138
|
waitFailed: string;
|
|
1142
1139
|
askedAgent: (question: string) => string;
|
|
1140
|
+
line: {
|
|
1141
|
+
names: (names: readonly string[]) => string;
|
|
1142
|
+
starting: (agents: number) => string;
|
|
1143
|
+
working: (agents: number) => string;
|
|
1144
|
+
asking: (agents: number) => string;
|
|
1145
|
+
approval: (agents: number) => string;
|
|
1146
|
+
answer: (agents: number) => string;
|
|
1147
|
+
waitingOn: (agents: number, name: string) => string;
|
|
1148
|
+
waiting: (agents: number) => string;
|
|
1149
|
+
later: (agents: number) => string;
|
|
1150
|
+
done: (_agents: number) => string;
|
|
1151
|
+
failed: (_agents: number) => string;
|
|
1152
|
+
stopped: (agents: number) => string;
|
|
1153
|
+
};
|
|
1154
|
+
panel: (agents: number) => string;
|
|
1155
|
+
back: string;
|
|
1156
|
+
task: string;
|
|
1157
|
+
open: (names: string) => string;
|
|
1143
1158
|
};
|
|
1144
1159
|
web: {
|
|
1145
1160
|
searching: string;
|
|
@@ -1536,6 +1551,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1536
1551
|
publishFailed: (title: string) => string;
|
|
1537
1552
|
open: (title: string) => string;
|
|
1538
1553
|
cards: string;
|
|
1554
|
+
close: string;
|
|
1539
1555
|
};
|
|
1540
1556
|
memory: {
|
|
1541
1557
|
saved: (project: boolean) => string;
|
|
@@ -1556,20 +1572,24 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1556
1572
|
share: string;
|
|
1557
1573
|
shareShort: string;
|
|
1558
1574
|
names: (names: readonly string[]) => string;
|
|
1559
|
-
emailPlaceholderEmpty: string;
|
|
1560
|
-
addHint: string;
|
|
1561
1575
|
people: (people: number) => string;
|
|
1562
1576
|
shareTitle: string;
|
|
1563
1577
|
peopleTitle: string;
|
|
1564
1578
|
description: string;
|
|
1579
|
+
inThread: string;
|
|
1565
1580
|
owner: string;
|
|
1566
1581
|
you: string;
|
|
1567
1582
|
remove: (name: string) => string;
|
|
1568
1583
|
removeFailed: string;
|
|
1569
|
-
|
|
1570
|
-
|
|
1584
|
+
addLabel: string;
|
|
1585
|
+
addPlaceholder: string;
|
|
1586
|
+
addByEmail: string;
|
|
1587
|
+
addMore: string;
|
|
1588
|
+
suggestions: string;
|
|
1589
|
+
addEmail: (email: string) => string;
|
|
1571
1590
|
invalidEmail: string;
|
|
1572
|
-
|
|
1591
|
+
notFound: string;
|
|
1592
|
+
unstage: (name: string) => string;
|
|
1573
1593
|
warning: string;
|
|
1574
1594
|
confirm: (people: number) => string;
|
|
1575
1595
|
sharing: string;
|
|
@@ -1601,22 +1621,17 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1601
1621
|
modes: {
|
|
1602
1622
|
manual: {
|
|
1603
1623
|
label: string;
|
|
1604
|
-
short: string;
|
|
1605
1624
|
description: string;
|
|
1606
1625
|
};
|
|
1607
1626
|
"accept-edits": {
|
|
1608
1627
|
label: string;
|
|
1609
|
-
short: string;
|
|
1610
1628
|
description: string;
|
|
1611
1629
|
};
|
|
1612
1630
|
auto: {
|
|
1613
1631
|
label: string;
|
|
1614
|
-
short: string;
|
|
1615
1632
|
description: string;
|
|
1616
1633
|
};
|
|
1617
1634
|
};
|
|
1618
|
-
makeDefault: string;
|
|
1619
|
-
isDefault: string;
|
|
1620
1635
|
saveFailed: string;
|
|
1621
1636
|
};
|
|
1622
1637
|
approvals: {
|
|
@@ -1628,17 +1643,17 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1628
1643
|
approving: string;
|
|
1629
1644
|
deny: string;
|
|
1630
1645
|
denying: string;
|
|
1631
|
-
alwaysAllow:
|
|
1646
|
+
alwaysAllow: string;
|
|
1647
|
+
alwaysAllowAll: string;
|
|
1648
|
+
alwaysAllowHint: (mode: string) => string;
|
|
1632
1649
|
alwaysAllowAlso: (others: number) => string;
|
|
1633
1650
|
modeRaised: (mode: string) => string;
|
|
1634
1651
|
approved: string;
|
|
1635
|
-
ran: string;
|
|
1636
1652
|
running: string;
|
|
1637
1653
|
failed: string;
|
|
1638
1654
|
notRun: string;
|
|
1639
1655
|
authorityLost: string;
|
|
1640
1656
|
denied: string;
|
|
1641
|
-
deniedDetail: string;
|
|
1642
1657
|
superseded: string;
|
|
1643
1658
|
supersededDetail: string;
|
|
1644
1659
|
cancelled: string;
|
|
@@ -1646,21 +1661,18 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1646
1661
|
expired: string;
|
|
1647
1662
|
expiredDetail: (days: number) => string;
|
|
1648
1663
|
askedForApproval: string;
|
|
1649
|
-
fromSubagent: (
|
|
1664
|
+
fromSubagent: (name: string) => string;
|
|
1650
1665
|
effects: {
|
|
1651
1666
|
ontology: string;
|
|
1667
|
+
writeback: string;
|
|
1652
1668
|
external: string;
|
|
1653
1669
|
workflow: (name: string) => string;
|
|
1654
1670
|
};
|
|
1655
1671
|
noInput: string;
|
|
1656
|
-
showInput: string;
|
|
1657
|
-
hideInput: string;
|
|
1658
|
-
viewRun: string;
|
|
1659
1672
|
stopWaiting: string;
|
|
1660
1673
|
stoppingWaiting: string;
|
|
1661
1674
|
stopWaitingHint: string;
|
|
1662
1675
|
stopFailed: string;
|
|
1663
|
-
open: (name: string) => string;
|
|
1664
1676
|
resume: {
|
|
1665
1677
|
retrying: string;
|
|
1666
1678
|
refused: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,MAAM,CA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E,aAAa,EAAE,CAAA"}
|
|
@@ -3,5 +3,14 @@ export type { AgentFileRef } from "./types";
|
|
|
3
3
|
export interface AgentChatPageProps extends Omit<AgentChatProps, "threadId" | "onNavigateHome" | "onNavigateThread" | "artifactTarget" | "onArtifactTargetChange"> {
|
|
4
4
|
readonly routeBase?: string;
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* One conversation on a page of its own, at `${routeBase}/:threadId`. A new conversation starts at
|
|
8
|
+
* the app's home, and the page of every conversation is `routeBase` itself.
|
|
9
|
+
*/
|
|
6
10
|
export declare function AgentChatPage({ routeBase, className, ambientContext, conversationHeaderActions, ...props }: AgentChatPageProps): import("react").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* Every conversation, on a page of its own beside the chat: search them, open one, or start
|
|
13
|
+
* another.
|
|
14
|
+
*/
|
|
15
|
+
export declare function AgentThreadsPage(): import("react").JSX.Element;
|
|
7
16
|
//# sourceMappingURL=react-router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-router.d.ts","sourceRoot":"","sources":["../../src/agent/react-router.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"react-router.d.ts","sourceRoot":"","sources":["../../src/agent/react-router.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAM7D,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,MAAM,WAAW,kBACf,SAAQ,IAAI,CACV,cAAc,EACd,UAAU,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,wBAAwB,CACjG;IACD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAwB,EACxB,SAAS,EACT,cAAc,EACd,yBAAyB,EACzB,GAAG,KAAK,EACT,EAAE,kBAAkB,+BAiEpB;AASD;;;GAGG;AACH,wBAAgB,gBAAgB,gCA0B/B"}
|
|
@@ -13,13 +13,16 @@ export declare function findPreStreamFailedRun(runs: readonly AgentRun[], messag
|
|
|
13
13
|
export declare function isContinuableDiagnostic(code: string): boolean;
|
|
14
14
|
/**
|
|
15
15
|
* Whether the conversation offers Continue: a turn cut short with its progress saved, or, once
|
|
16
|
-
* nothing runs, a newest answer
|
|
16
|
+
* nothing runs, a newest answer that stopped short of finishing — by its diagnostic, or because its
|
|
17
|
+
* run failed after saving it.
|
|
17
18
|
*/
|
|
18
19
|
export declare function offersContinue(input: {
|
|
19
20
|
readonly presentation: ActiveTurnPresentation;
|
|
20
21
|
readonly isRunning: boolean;
|
|
21
22
|
readonly sandboxRecovery: boolean;
|
|
22
23
|
readonly messages: readonly AgentMessage[];
|
|
24
|
+
/** The newest run in the thread's history. */
|
|
25
|
+
readonly latestRun?: AgentRun | null;
|
|
23
26
|
}): boolean;
|
|
24
27
|
/** Pick the run the conversation should follow: pending send, thread claim, then durable history. */
|
|
25
28
|
export declare function selectActiveRunId(sources: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-presentation.d.ts","sourceRoot":"","sources":["../../src/agent/run-presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAErE,eAAO,MAAM,0BAA0B,QAAS,CAAA;AAEhD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAEtE;AAED,sGAAsG;AACtG,wBAAgB,+BAA+B,CAC7C,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAAC,GAAG,IAAI,EAClD,GAAG,SAAa,GACf,OAAO,CAET;AAED;;;;GAIG;AACH,wBAAgB,s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,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;CAAE;AACzF,2DAA2D;GACzD;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,GAC9B;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAE7B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,sBAAsB,CA2FpF"}
|
|
@@ -2,4 +2,12 @@ import { type AgentMessages } from "./i18n/en";
|
|
|
2
2
|
import type { AgentThread } from "./types";
|
|
3
3
|
export declare const THREAD_PAGE_SIZE = 50;
|
|
4
4
|
export declare function agentThreadTitle(thread: AgentThread | null, messages?: AgentMessages["threads"]): string;
|
|
5
|
+
/** The app's page of every thread; each thread opens beneath it. */
|
|
6
|
+
export declare const THREADS_PATH = "/threads";
|
|
7
|
+
export declare function threadPath(threadId: string): string;
|
|
8
|
+
/**
|
|
9
|
+
* The page a stored thread link opens. Memory saves name the thread they came from as
|
|
10
|
+
* `/agents/<threadId>`, the form core checks them against; this links straight to its page.
|
|
11
|
+
*/
|
|
12
|
+
export declare function threadPathFromLink(link: string): string;
|
|
5
13
|
//# sourceMappingURL=thread-navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-navigation.d.ts","sourceRoot":"","sources":["../../src/agent/thread-navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,WAAW,CAAA;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAElC,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,WAAW,GAAG,IAAI,EAC1B,QAAQ,GAAE,aAAa,CAAC,SAAS,CAAc,GAC9C,MAAM,CAER"}
|
|
1
|
+
{"version":3,"file":"thread-navigation.d.ts","sourceRoot":"","sources":["../../src/agent/thread-navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAM,MAAM,WAAW,CAAA;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAElC,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,WAAW,GAAG,IAAI,EAC1B,QAAQ,GAAE,aAAa,CAAC,SAAS,CAAc,GAC9C,MAAM,CAER;AAED,oEAAoE;AACpE,eAAO,MAAM,YAAY,aAAa,CAAA;AAEtC,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGvD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AgentChatPageProps, AgentThreadsPage } from "./react-router";
|
|
2
|
+
/** The framework's `/threads/:threadId` route: one thread, full page. */
|
|
3
|
+
export declare function ThreadPage(props: Omit<AgentChatPageProps, "routeBase">): import("react").FunctionComponentElement<AgentChatPageProps>;
|
|
4
|
+
/** The framework's `/threads` route: every thread, to search and open. */
|
|
5
|
+
export declare const ThreadsPage: typeof AgentThreadsPage;
|
|
6
|
+
/**
|
|
7
|
+
* Threads used to open at `/agents/:threadId`, and memory saves still name their thread that way:
|
|
8
|
+
* those links open the thread at its page.
|
|
9
|
+
*/
|
|
10
|
+
export declare function AgentThreadRedirect(): import("react").FunctionComponentElement<import("react-router-dom").NavigateProps>;
|
|
11
|
+
//# sourceMappingURL=thread-pages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thread-pages.d.ts","sourceRoot":"","sources":["../../src/agent/thread-pages.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAGzF,yEAAyE;AACzE,wBAAgB,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAE,WAAW,CAAC,gEAEtE;AAED,0EAA0E;AAC1E,eAAO,MAAM,WAAW,yBAAmB,CAAA;AAE3C;;;GAGG;AACH,wBAAgB,mBAAmB,uFAMlC"}
|