@sixb/app 0.2.0 → 0.2.1
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/assets/connector-icons/README.md +1 -0
- package/assets/connector-icons/fleetio.ico +0 -0
- package/dist/agent/activity-label.d.ts.map +1 -1
- package/dist/agent/background/background-card.d.ts +10 -0
- package/dist/agent/background/background-card.d.ts.map +1 -0
- package/dist/agent/background/background-tool-row.d.ts +9 -0
- package/dist/agent/background/background-tool-row.d.ts.map +1 -0
- package/dist/agent/background/context.d.ts +23 -0
- package/dist/agent/background/context.d.ts.map +1 -0
- package/dist/agent/background/interpret.d.ts +116 -0
- package/dist/agent/background/interpret.d.ts.map +1 -0
- package/dist/agent/bash/bash-tool-view.d.ts.map +1 -1
- package/dist/agent/bash/interpret.d.ts +4 -0
- package/dist/agent/bash/interpret.d.ts.map +1 -1
- package/dist/agent/components/composer-menu.d.ts +3 -1
- package/dist/agent/components/composer-menu.d.ts.map +1 -1
- package/dist/agent/components/composer-place.d.ts +11 -0
- package/dist/agent/components/composer-place.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +4 -1
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/computer-place.d.ts +3 -1
- package/dist/agent/components/computer-place.d.ts.map +1 -1
- package/dist/agent/components/transcript.d.ts +6 -0
- package/dist/agent/components/transcript.d.ts.map +1 -1
- package/dist/agent/components/web-fetch-tool-view.d.ts.map +1 -1
- package/dist/agent/delegation/child-parts.d.ts +2 -0
- package/dist/agent/delegation/child-parts.d.ts.map +1 -1
- package/dist/agent/delegation/use-children.d.ts.map +1 -1
- package/dist/agent/hooks/use-agent-conversation.d.ts +15 -1
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-new-thread-place.d.ts +48 -0
- package/dist/agent/hooks/use-new-thread-place.d.ts.map +1 -0
- package/dist/agent/hooks/use-thread-lists.d.ts +40 -0
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
- package/dist/agent/i18n/en.d.ts +60 -0
- 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 +106 -0
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/observed-conversation.d.ts.map +1 -1
- package/dist/agent/tool-views/built-in.d.ts.map +1 -1
- package/dist/agent/utils/web-fetch.d.ts +33 -1
- package/dist/agent/utils/web-fetch.d.ts.map +1 -1
- package/dist/agent/utils/web-search.d.ts +14 -2
- package/dist/agent/utils/web-search.d.ts.map +1 -1
- package/dist/{chunk-zxthr2q5.js → chunk-4j3c3p72.js} +1 -1
- package/dist/{chunk-km25essq.js → chunk-7fj9cfkw.js} +1 -1
- package/dist/{chunk-j9653e83.js → chunk-j8g956dt.js} +1 -1
- package/dist/{chunk-fw2bm6dq.js → chunk-ytadd0b5.js} +3095 -1994
- package/dist/{chunk-fw2bm6dq.js.map → chunk-ytadd0b5.js.map} +25 -19
- package/dist/index.js +1 -1
- package/dist/pages/console/data/shared.d.ts.map +1 -1
- package/dist/pages/settings/usage/messages.d.ts +2 -0
- package/dist/pages/settings/usage/messages.d.ts.map +1 -1
- package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
- package/dist/pages.js +13 -6
- package/dist/pages.js.map +6 -6
- package/package.json +3 -3
- package/src/agent/activity-label.ts +6 -2
- package/src/agent/agent.css +18 -0
- package/src/agent/background/background-card.tsx +308 -0
- package/src/agent/background/background-tool-row.tsx +58 -0
- package/src/agent/background/context.ts +26 -0
- package/src/agent/background/interpret.ts +356 -0
- package/src/agent/bash/bash-tool-view.tsx +9 -4
- package/src/agent/bash/interpret.ts +21 -3
- package/src/agent/components/composer-menu.tsx +4 -1
- package/src/agent/components/composer-place.tsx +144 -0
- package/src/agent/components/composer.tsx +13 -0
- package/src/agent/components/computer-place.tsx +18 -1
- package/src/agent/components/transcript.tsx +33 -1
- package/src/agent/components/web-fetch-tool-view.tsx +94 -29
- package/src/agent/delegation/child-parts.tsx +1 -1
- package/src/agent/hooks/use-agent-conversation.ts +68 -6
- package/src/agent/hooks/use-new-thread-place.ts +170 -0
- package/src/agent/i18n/en.ts +56 -3
- package/src/agent/i18n/fr.ts +58 -3
- package/src/agent/observed-conversation.tsx +3 -0
- package/src/agent/tool-views/built-in.tsx +26 -11
- package/src/agent/utils/web-fetch.ts +89 -10
- package/src/agent/utils/web-search.ts +67 -28
- package/src/pages/console/data/shared.tsx +1 -0
- package/src/pages/settings/usage/messages.ts +2 -0
- package/src/pages/settings/usage/spend-model.ts +1 -0
- /package/dist/{chunk-zxthr2q5.js.map → chunk-4j3c3p72.js.map} +0 -0
- /package/dist/{chunk-km25essq.js.map → chunk-7fj9cfkw.js.map} +0 -0
- /package/dist/{chunk-j9653e83.js.map → chunk-j8g956dt.js.map} +0 -0
|
@@ -56,6 +56,16 @@ export declare function useAgentThreadLists(options: {
|
|
|
56
56
|
folder: string;
|
|
57
57
|
online: boolean;
|
|
58
58
|
};
|
|
59
|
+
backgroundCommands?: Array<{
|
|
60
|
+
threadId: string;
|
|
61
|
+
id: string;
|
|
62
|
+
command: string;
|
|
63
|
+
status: "running" | "exited" | "stopped";
|
|
64
|
+
exitCode?: number;
|
|
65
|
+
startedAt: string;
|
|
66
|
+
endedAt?: string;
|
|
67
|
+
stopping?: boolean;
|
|
68
|
+
}>;
|
|
59
69
|
movedAt?: string;
|
|
60
70
|
status: "active" | "archived";
|
|
61
71
|
activeRunId: string | null;
|
|
@@ -118,6 +128,16 @@ export declare function useAgentThreadLists(options: {
|
|
|
118
128
|
folder: string;
|
|
119
129
|
online: boolean;
|
|
120
130
|
};
|
|
131
|
+
backgroundCommands?: Array<{
|
|
132
|
+
threadId: string;
|
|
133
|
+
id: string;
|
|
134
|
+
command: string;
|
|
135
|
+
status: "running" | "exited" | "stopped";
|
|
136
|
+
exitCode?: number;
|
|
137
|
+
startedAt: string;
|
|
138
|
+
endedAt?: string;
|
|
139
|
+
stopping?: boolean;
|
|
140
|
+
}>;
|
|
121
141
|
movedAt?: string;
|
|
122
142
|
status: "active" | "archived";
|
|
123
143
|
activeRunId: string | null;
|
|
@@ -179,6 +199,16 @@ export declare function useAgentThreadLists(options: {
|
|
|
179
199
|
folder: string;
|
|
180
200
|
online: boolean;
|
|
181
201
|
};
|
|
202
|
+
backgroundCommands?: Array<{
|
|
203
|
+
threadId: string;
|
|
204
|
+
id: string;
|
|
205
|
+
command: string;
|
|
206
|
+
status: "running" | "exited" | "stopped";
|
|
207
|
+
exitCode?: number;
|
|
208
|
+
startedAt: string;
|
|
209
|
+
endedAt?: string;
|
|
210
|
+
stopping?: boolean;
|
|
211
|
+
}>;
|
|
182
212
|
movedAt?: string;
|
|
183
213
|
status: "active" | "archived";
|
|
184
214
|
activeRunId: string | null;
|
|
@@ -237,6 +267,16 @@ export declare function useAgentThreadLists(options: {
|
|
|
237
267
|
folder: string;
|
|
238
268
|
online: boolean;
|
|
239
269
|
};
|
|
270
|
+
backgroundCommands?: Array<{
|
|
271
|
+
threadId: string;
|
|
272
|
+
id: string;
|
|
273
|
+
command: string;
|
|
274
|
+
status: "running" | "exited" | "stopped";
|
|
275
|
+
exitCode?: number;
|
|
276
|
+
startedAt: string;
|
|
277
|
+
endedAt?: string;
|
|
278
|
+
stopping?: boolean;
|
|
279
|
+
}>;
|
|
240
280
|
movedAt?: string;
|
|
241
281
|
status: "active" | "archived";
|
|
242
282
|
activeRunId: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-thread-lists.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-thread-lists.ts"],"names":[],"mappings":"AAoBA;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IAC3C,+EAA+E;IAC/E,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CAC1C;;;
|
|
1
|
+
{"version":3,"file":"use-thread-lists.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-thread-lists.ts"],"names":[],"mappings":"AAoBA;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IAC3C,+EAA+E;IAC/E,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CAC1C;;;wBAiD6z/pB,CAAC;;;;;;;;kBAA6P,CAAC;;;;;;;;;;;;2BAAkV,CAAC;;;;;;+BAAiK,CAAC;;;;;;;;iBAA6M,CAAC;yBAA+B,CAAC;;;;;kBAAqK,CAAC;oBAA8B,CAAC;;;;;;8BAAoJ,CAAC;;;;;wBAAuK,CAAC;;uBAA4D,CAAC;wBAA8B,CAAC;;mBAAsC,CAAC;;;yBAA0G,CAAC;;;;wBAAkH,CAAC;8BAAgE,CAAC;;;;;;;wBAAt4D,CAAC;;;;;;;;kBAA6P,CAAC;;;;;;;;;;;;2BAAkV,CAAC;;;;;;+BAAiK,CAAC;;;;;;;;iBAA6M,CAAC;yBAA+B,CAAC;;;;;kBAAqK,CAAC;oBAA8B,CAAC;;;;;;8BAAoJ,CAAC;;;;;wBAAuK,CAAC;;uBAA4D,CAAC;wBAA8B,CAAC;;mBAAsC,CAAC;;;yBAA0G,CAAC;;;;wBAAkH,CAAC;8BAAgE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;uBAArzC,CAAC;;;;;;2BAAiK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA+uB,CAAC;;mBAA4D,CAAC;oBAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAA/+B,CAAC;;;;;;2BAAiK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA+uB,CAAC;;mBAA4D,CAAC;oBAA8B,CAAC;;;;;;;;;;;;;EAT73iqB"}
|
package/dist/agent/i18n/en.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const en: {
|
|
|
27
27
|
busy: string;
|
|
28
28
|
busyOther: string;
|
|
29
29
|
sandboxUnavailable: string;
|
|
30
|
+
computerUnavailable: string;
|
|
30
31
|
retryFailed: string;
|
|
31
32
|
stopFailed: string;
|
|
32
33
|
removed: string;
|
|
@@ -383,10 +384,18 @@ export declare const en: {
|
|
|
383
384
|
results: (results: number) => string;
|
|
384
385
|
webPage: string;
|
|
385
386
|
reading: (domain: string) => string;
|
|
387
|
+
/** A page read to answer a question about it. */
|
|
388
|
+
asking: (domain: string) => string;
|
|
386
389
|
read: (domain: string) => string;
|
|
387
390
|
reviewing: (domain: string) => string;
|
|
388
391
|
readFailed: (domain: string) => string;
|
|
389
392
|
pageError: string;
|
|
393
|
+
redirectedTo: (domain: string) => string;
|
|
394
|
+
answerFailed: string;
|
|
395
|
+
/** Under an answer that reached its length limit. */
|
|
396
|
+
answerTruncated: string;
|
|
397
|
+
/** Beside the size of a page that was too large to read whole. */
|
|
398
|
+
truncated: string;
|
|
390
399
|
noPageText: string;
|
|
391
400
|
openPage: string;
|
|
392
401
|
newTab: string;
|
|
@@ -448,6 +457,8 @@ export declare const en: {
|
|
|
448
457
|
/** Headlines of the agent's shell commands: past tense when done, progressive while running. */
|
|
449
458
|
bash: {
|
|
450
459
|
preparing: string;
|
|
460
|
+
/** Beside a command stopped at its timeout, which reads otherwise as a plain failure. */
|
|
461
|
+
timedOut: (duration: string) => string;
|
|
451
462
|
steps: {
|
|
452
463
|
title: (steps: number) => string;
|
|
453
464
|
running: (steps: number) => string;
|
|
@@ -846,13 +857,62 @@ export declare const en: {
|
|
|
846
857
|
create: string;
|
|
847
858
|
ownerOnly: (owner: string) => string;
|
|
848
859
|
};
|
|
860
|
+
/** A command the agent runs in the background, as its card and its calls read. */
|
|
861
|
+
background: {
|
|
862
|
+
card: (command: string) => string;
|
|
863
|
+
starting: string;
|
|
864
|
+
running: string;
|
|
865
|
+
waiting: string;
|
|
866
|
+
reading: string;
|
|
867
|
+
stopping: string;
|
|
868
|
+
exited: (code: number) => string;
|
|
869
|
+
stopped: string;
|
|
870
|
+
stoppedWithTurn: string;
|
|
871
|
+
stoppedWithSixb: string;
|
|
872
|
+
unknown: string;
|
|
873
|
+
unreachable: string;
|
|
874
|
+
stop: string;
|
|
875
|
+
stopHint: string;
|
|
876
|
+
stopFailed: string;
|
|
877
|
+
output: string;
|
|
878
|
+
lines: (lines: number) => string;
|
|
879
|
+
earlierOutput: (path: string) => string;
|
|
880
|
+
rows: {
|
|
881
|
+
start: {
|
|
882
|
+
title: string;
|
|
883
|
+
running: string;
|
|
884
|
+
};
|
|
885
|
+
read: {
|
|
886
|
+
title: string;
|
|
887
|
+
running: string;
|
|
888
|
+
};
|
|
889
|
+
wait: {
|
|
890
|
+
title: string;
|
|
891
|
+
running: string;
|
|
892
|
+
};
|
|
893
|
+
stop: {
|
|
894
|
+
title: string;
|
|
895
|
+
running: string;
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
};
|
|
849
899
|
/** A conversation that runs on its owner's computer, as its owner sees it. */
|
|
850
900
|
computer: {
|
|
851
901
|
online: string;
|
|
852
902
|
offline: string;
|
|
853
903
|
offlineNotice: (computer: string, folder: string) => string;
|
|
854
904
|
noFolder: string;
|
|
905
|
+
/** In a desktop app, about a conversation of this computer's. */
|
|
906
|
+
offlineHere: (folder: string) => string;
|
|
907
|
+
runHere: string;
|
|
855
908
|
waitingFor: (computer: string) => string;
|
|
909
|
+
/** Where a new conversation runs, in a desktop app. */
|
|
910
|
+
placeTitle: string;
|
|
911
|
+
placeChip: (place: string) => string;
|
|
912
|
+
cloud: string;
|
|
913
|
+
chooseFolder: string;
|
|
914
|
+
chooseFolderShort: string;
|
|
915
|
+
forgetFolder: (folder: string) => string;
|
|
856
916
|
continueInCloud: string;
|
|
857
917
|
moving: string;
|
|
858
918
|
moveFailed: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/en.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,eAAO,MAAM,EAAE
|
|
1
|
+
{"version":3,"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MrB,MAAM;;;;IAIxB,yFAAyF;;;wBAGvE,MAAM;;;;;;;;;;;;;;;;;;IAmBxB,qEAAqE;;sBAErD,MAAM;;6BAEC,MAAM;8BACL,MAAM;;;;;;QAM5B,6FAA6F;;gCAErE,MAAM;kCACJ,MAAM;2BAEb,MAAM;;;;;;;;;;;;8BAYH,MAAM;;6BAEP,MAAM;;;;;6BAKR,MAAM;;;;;;;;;;;;;;;;;0BAiBP,MAAM;kCACE,MAAM;;;IAGlC,yEAAyE;;;;;;;CAQpD,CAAA;AAEvB,MAAM,MAAM,aAAa,GAAG,OAAO,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/fr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAiBzC,eAAO,MAAM,EAAE,EAAE,WAAW,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/fr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAiBzC,eAAO,MAAM,EAAE,EAAE,WAAW,CAAC,aAAa,CA+gCzC,CAAA"}
|
|
@@ -26,6 +26,7 @@ export declare const useAgentMessages: () => {
|
|
|
26
26
|
busy: string;
|
|
27
27
|
busyOther: string;
|
|
28
28
|
sandboxUnavailable: string;
|
|
29
|
+
computerUnavailable: string;
|
|
29
30
|
retryFailed: string;
|
|
30
31
|
stopFailed: string;
|
|
31
32
|
removed: string;
|
|
@@ -366,10 +367,15 @@ export declare const useAgentMessages: () => {
|
|
|
366
367
|
results: (results: number) => string;
|
|
367
368
|
webPage: string;
|
|
368
369
|
reading: (domain: string) => string;
|
|
370
|
+
asking: (domain: string) => string;
|
|
369
371
|
read: (domain: string) => string;
|
|
370
372
|
reviewing: (domain: string) => string;
|
|
371
373
|
readFailed: (domain: string) => string;
|
|
372
374
|
pageError: string;
|
|
375
|
+
redirectedTo: (domain: string) => string;
|
|
376
|
+
answerFailed: string;
|
|
377
|
+
answerTruncated: string;
|
|
378
|
+
truncated: string;
|
|
373
379
|
noPageText: string;
|
|
374
380
|
openPage: string;
|
|
375
381
|
newTab: string;
|
|
@@ -427,6 +433,7 @@ export declare const useAgentMessages: () => {
|
|
|
427
433
|
};
|
|
428
434
|
bash: {
|
|
429
435
|
preparing: string;
|
|
436
|
+
timedOut: (duration: string) => string;
|
|
430
437
|
steps: {
|
|
431
438
|
title: (steps: number) => string;
|
|
432
439
|
running: (steps: number) => string;
|
|
@@ -820,12 +827,58 @@ export declare const useAgentMessages: () => {
|
|
|
820
827
|
create: string;
|
|
821
828
|
ownerOnly: (owner: string) => string;
|
|
822
829
|
};
|
|
830
|
+
background: {
|
|
831
|
+
card: (command: string) => string;
|
|
832
|
+
starting: string;
|
|
833
|
+
running: string;
|
|
834
|
+
waiting: string;
|
|
835
|
+
reading: string;
|
|
836
|
+
stopping: string;
|
|
837
|
+
exited: (code: number) => string;
|
|
838
|
+
stopped: string;
|
|
839
|
+
stoppedWithTurn: string;
|
|
840
|
+
stoppedWithSixb: string;
|
|
841
|
+
unknown: string;
|
|
842
|
+
unreachable: string;
|
|
843
|
+
stop: string;
|
|
844
|
+
stopHint: string;
|
|
845
|
+
stopFailed: string;
|
|
846
|
+
output: string;
|
|
847
|
+
lines: (lines: number) => string;
|
|
848
|
+
earlierOutput: (path: string) => string;
|
|
849
|
+
rows: {
|
|
850
|
+
start: {
|
|
851
|
+
title: string;
|
|
852
|
+
running: string;
|
|
853
|
+
};
|
|
854
|
+
read: {
|
|
855
|
+
title: string;
|
|
856
|
+
running: string;
|
|
857
|
+
};
|
|
858
|
+
wait: {
|
|
859
|
+
title: string;
|
|
860
|
+
running: string;
|
|
861
|
+
};
|
|
862
|
+
stop: {
|
|
863
|
+
title: string;
|
|
864
|
+
running: string;
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
};
|
|
823
868
|
computer: {
|
|
824
869
|
online: string;
|
|
825
870
|
offline: string;
|
|
826
871
|
offlineNotice: (computer: string, folder: string) => string;
|
|
827
872
|
noFolder: string;
|
|
873
|
+
offlineHere: (folder: string) => string;
|
|
874
|
+
runHere: string;
|
|
828
875
|
waitingFor: (computer: string) => string;
|
|
876
|
+
placeTitle: string;
|
|
877
|
+
placeChip: (place: string) => string;
|
|
878
|
+
cloud: string;
|
|
879
|
+
chooseFolder: string;
|
|
880
|
+
chooseFolderShort: string;
|
|
881
|
+
forgetFolder: (folder: string) => string;
|
|
829
882
|
continueInCloud: string;
|
|
830
883
|
moving: string;
|
|
831
884
|
moveFailed: string;
|
|
@@ -989,6 +1042,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
989
1042
|
busy: string;
|
|
990
1043
|
busyOther: string;
|
|
991
1044
|
sandboxUnavailable: string;
|
|
1045
|
+
computerUnavailable: string;
|
|
992
1046
|
retryFailed: string;
|
|
993
1047
|
stopFailed: string;
|
|
994
1048
|
removed: string;
|
|
@@ -1329,10 +1383,15 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1329
1383
|
results: (results: number) => string;
|
|
1330
1384
|
webPage: string;
|
|
1331
1385
|
reading: (domain: string) => string;
|
|
1386
|
+
asking: (domain: string) => string;
|
|
1332
1387
|
read: (domain: string) => string;
|
|
1333
1388
|
reviewing: (domain: string) => string;
|
|
1334
1389
|
readFailed: (domain: string) => string;
|
|
1335
1390
|
pageError: string;
|
|
1391
|
+
redirectedTo: (domain: string) => string;
|
|
1392
|
+
answerFailed: string;
|
|
1393
|
+
answerTruncated: string;
|
|
1394
|
+
truncated: string;
|
|
1336
1395
|
noPageText: string;
|
|
1337
1396
|
openPage: string;
|
|
1338
1397
|
newTab: string;
|
|
@@ -1390,6 +1449,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1390
1449
|
};
|
|
1391
1450
|
bash: {
|
|
1392
1451
|
preparing: string;
|
|
1452
|
+
timedOut: (duration: string) => string;
|
|
1393
1453
|
steps: {
|
|
1394
1454
|
title: (steps: number) => string;
|
|
1395
1455
|
running: (steps: number) => string;
|
|
@@ -1783,12 +1843,58 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1783
1843
|
create: string;
|
|
1784
1844
|
ownerOnly: (owner: string) => string;
|
|
1785
1845
|
};
|
|
1846
|
+
background: {
|
|
1847
|
+
card: (command: string) => string;
|
|
1848
|
+
starting: string;
|
|
1849
|
+
running: string;
|
|
1850
|
+
waiting: string;
|
|
1851
|
+
reading: string;
|
|
1852
|
+
stopping: string;
|
|
1853
|
+
exited: (code: number) => string;
|
|
1854
|
+
stopped: string;
|
|
1855
|
+
stoppedWithTurn: string;
|
|
1856
|
+
stoppedWithSixb: string;
|
|
1857
|
+
unknown: string;
|
|
1858
|
+
unreachable: string;
|
|
1859
|
+
stop: string;
|
|
1860
|
+
stopHint: string;
|
|
1861
|
+
stopFailed: string;
|
|
1862
|
+
output: string;
|
|
1863
|
+
lines: (lines: number) => string;
|
|
1864
|
+
earlierOutput: (path: string) => string;
|
|
1865
|
+
rows: {
|
|
1866
|
+
start: {
|
|
1867
|
+
title: string;
|
|
1868
|
+
running: string;
|
|
1869
|
+
};
|
|
1870
|
+
read: {
|
|
1871
|
+
title: string;
|
|
1872
|
+
running: string;
|
|
1873
|
+
};
|
|
1874
|
+
wait: {
|
|
1875
|
+
title: string;
|
|
1876
|
+
running: string;
|
|
1877
|
+
};
|
|
1878
|
+
stop: {
|
|
1879
|
+
title: string;
|
|
1880
|
+
running: string;
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1786
1884
|
computer: {
|
|
1787
1885
|
online: string;
|
|
1788
1886
|
offline: string;
|
|
1789
1887
|
offlineNotice: (computer: string, folder: string) => string;
|
|
1790
1888
|
noFolder: string;
|
|
1889
|
+
offlineHere: (folder: string) => string;
|
|
1890
|
+
runHere: string;
|
|
1791
1891
|
waitingFor: (computer: string) => string;
|
|
1892
|
+
placeTitle: string;
|
|
1893
|
+
placeChip: (place: string) => string;
|
|
1894
|
+
cloud: string;
|
|
1895
|
+
chooseFolder: string;
|
|
1896
|
+
chooseFolderShort: string;
|
|
1897
|
+
forgetFolder: (folder: string) => string;
|
|
1792
1898
|
continueInCloud: string;
|
|
1793
1899
|
moving: string;
|
|
1794
1900
|
moveFailed: 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,CAAA;AAK7C,wFAAwF;AACxF,eAAO,MAAM,gBAAgB
|
|
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,CAAA;AAK7C,wFAAwF;AACxF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAG,KAAK,CAE/F;AAID,MAAM,WAAW,yBAAyB;IACxC,wFAAwF;IACxF,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAA;IAC5B,QAAQ,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/C,QAAQ,CAAC,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;CAC1E;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,cAAc,EACd,sBAAsB,GACvB,EAAE,yBAAyB,+BAyH3B;AAOD,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAGhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/built-in.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"built-in.d.ts","sourceRoot":"","sources":["../../../src/agent/tool-views/built-in.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AA4D9C,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,CAE/D"}
|
|
@@ -1,4 +1,36 @@
|
|
|
1
1
|
import { type WebSource } from "./web-search";
|
|
2
|
-
|
|
2
|
+
/** A `web_fetch` result, as the chat shows it. */
|
|
3
|
+
export interface WebFetchPage {
|
|
4
|
+
readonly source: WebSource;
|
|
5
|
+
/** What the agent asked about the page. */
|
|
6
|
+
readonly question?: string;
|
|
7
|
+
readonly answer?: string;
|
|
8
|
+
/** The answer stopped at its length limit: its end may be missing. */
|
|
9
|
+
readonly answerTruncated: boolean;
|
|
10
|
+
/** The question went unanswered: the preview stands in for the answer. */
|
|
11
|
+
readonly answerFailed: boolean;
|
|
12
|
+
/** The start of the page, or all of it when it is short. */
|
|
13
|
+
readonly preview?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Another site the address sent the agent to, which it did not follow. Its host stays whole:
|
|
16
|
+
* `example.com` sending to `www.example.com` would otherwise read as a redirect to itself.
|
|
17
|
+
*/
|
|
18
|
+
readonly redirect?: {
|
|
19
|
+
readonly url: string;
|
|
20
|
+
readonly domain: string;
|
|
21
|
+
};
|
|
22
|
+
readonly status?: number;
|
|
23
|
+
readonly contentType?: string;
|
|
24
|
+
readonly bytes?: number;
|
|
25
|
+
readonly truncated: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Recognize a `web_fetch` output: Sixb's (`source`, `answer`, `preview`), and the Exa tool's that
|
|
29
|
+
* older threads stored (`title`, `url`, `content`).
|
|
30
|
+
*/
|
|
31
|
+
export declare function coerceWebFetchOutput(value: unknown): WebFetchPage | null;
|
|
32
|
+
/** The page a `web_fetch` read, as a source; none when it only pointed elsewhere or failed. */
|
|
33
|
+
export declare function webFetchSource(value: unknown): WebSource | null;
|
|
3
34
|
export declare function webFetchUrl(input: unknown): URL | null;
|
|
35
|
+
export declare function webFetchQuestion(input: unknown): string | undefined;
|
|
4
36
|
//# sourceMappingURL=web-fetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-fetch.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-fetch.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"web-fetch.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAa,MAAM,cAAc,CAAA;AAEjE,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAA;IAC1B,2CAA2C;IAC3C,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,sEAAsE;IACtE,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAA;IACjC,0EAA0E;IAC1E,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,4DAA4D;IAC5D,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IACzB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IAErE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAuCxE;AAED,+FAA+F;AAC/F,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAK/D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,GAAG,GAAG,IAAI,CAGtD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAEnE"}
|
|
@@ -12,9 +12,21 @@ export interface WebSource {
|
|
|
12
12
|
}
|
|
13
13
|
/** A publication date in the reader's language. Sources publish calendar dates, read in UTC. */
|
|
14
14
|
export declare function formatPublicationDate(value: string, locale: string): string;
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Recognize a `web_search` output: Sixb's hits (`snippet`, `publishedAt`), and the Exa tool's
|
|
17
|
+
* that older threads stored (`text`, `author`, `publishedDate`).
|
|
18
|
+
*/
|
|
16
19
|
export declare function coerceWebSearchOutput(value: unknown): readonly WebSource[] | null;
|
|
20
|
+
/** A page as a source, or null when its link is not a plain web address. */
|
|
21
|
+
export declare function webSource(url: string, title: string, text: string): WebSource | null;
|
|
22
|
+
/** A host as people read it: without the `www.` prefix. */
|
|
23
|
+
export declare function displayDomain(url: URL): string;
|
|
17
24
|
export declare function webSearchQuery(input: unknown): string | undefined;
|
|
18
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Keep provider order and the first occurrence; separate pages on one domain remain separate. A
|
|
27
|
+
* page the agent read counts too, unless it only pointed elsewhere.
|
|
28
|
+
*/
|
|
19
29
|
export declare function collectWebSources(parts: readonly NormalizedPart[]): readonly WebSource[];
|
|
30
|
+
/** A plain web address: http or https, with no credentials in it. */
|
|
31
|
+
export declare function httpUrl(value: string): URL | null;
|
|
20
32
|
//# sourceMappingURL=web-search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-search.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-search.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"web-search.d.ts","sourceRoot":"","sources":["../../../src/agent/utils/web-search.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAG9C,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,MAAM,CAAC,E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