@sixb/app 0.2.5 → 0.2.6
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/components/agent-threads.d.ts.map +1 -1
- package/dist/agent/components/composer-place.d.ts.map +1 -1
- package/dist/agent/components/computer-place.d.ts +24 -6
- package/dist/agent/components/computer-place.d.ts.map +1 -1
- package/dist/agent/components/conversation-panel.d.ts.map +1 -1
- package/dist/agent/components/message-view.d.ts +13 -3
- package/dist/agent/components/message-view.d.ts.map +1 -1
- package/dist/agent/components/pending-messages.d.ts.map +1 -1
- package/dist/agent/components/transcript.d.ts +13 -0
- package/dist/agent/components/transcript.d.ts.map +1 -1
- package/dist/agent/conversation.d.ts +4 -0
- package/dist/agent/conversation.d.ts.map +1 -1
- package/dist/agent/delegation/use-children.d.ts.map +1 -1
- package/dist/agent/format.d.ts +7 -0
- package/dist/agent/format.d.ts.map +1 -1
- package/dist/agent/hooks/thread-queries.d.ts +1548 -0
- package/dist/agent/hooks/thread-queries.d.ts.map +1 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts +41 -2
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-thread-lists.d.ts +80 -3
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -1
- package/dist/agent/hooks/use-thread-place.d.ts +49 -0
- package/dist/agent/hooks/use-thread-place.d.ts.map +1 -0
- package/dist/agent/i18n/en.d.ts +39 -6
- 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 +66 -12
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/live-run.d.ts.map +1 -1
- package/dist/agent/model-selection.d.ts +3 -2
- package/dist/agent/model-selection.d.ts.map +1 -1
- package/dist/agent/moves.d.ts +40 -0
- package/dist/agent/moves.d.ts.map +1 -0
- package/dist/agent/thread-reader-state.d.ts +30 -0
- package/dist/agent/thread-reader-state.d.ts.map +1 -0
- package/dist/agent/types.d.ts +4 -0
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/artifacts/live/session.d.ts.map +1 -1
- package/dist/artifacts/queries.d.ts.map +1 -1
- package/dist/artifacts/renderers/live-frame.d.ts.map +1 -1
- package/dist/{chunk-5sgac68y.js → chunk-096d52h2.js} +1 -1
- package/dist/{chunk-4wm09prf.js → chunk-94d7enwc.js} +1 -1
- package/dist/{chunk-69qgh20f.js → chunk-ezntd3yy.js} +1 -1
- package/dist/{chunk-4fex83k2.js → chunk-qjw5r2vk.js} +2233 -732
- package/dist/{chunk-4fex83k2.js.map → chunk-qjw5r2vk.js.map} +28 -25
- package/dist/createCustomApp.d.ts +8 -1
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +3 -3
- package/dist/pages/console/data/accounts.d.ts +94 -0
- package/dist/pages/console/data/accounts.d.ts.map +1 -0
- package/dist/pages/console/data/connectors.d.ts.map +1 -1
- package/dist/pages/console/data/live-updates.d.ts.map +1 -1
- package/dist/pages/console/data/messages.d.ts +46 -0
- package/dist/pages/console/data/messages.d.ts.map +1 -1
- package/dist/pages/console/data/sync-button.d.ts.map +1 -1
- package/dist/pages/console/data/syncs.d.ts.map +1 -1
- package/dist/pages/settings/usage/breakdown.d.ts.map +1 -1
- package/dist/pages/settings/usage/page.d.ts +4 -1
- package/dist/pages/settings/usage/page.d.ts.map +1 -1
- package/dist/pages/settings/usage/spend-model.d.ts +43 -19
- package/dist/pages/settings/usage/spend-model.d.ts.map +1 -1
- package/dist/pages.js +23086 -22619
- package/dist/pages.js.map +13 -12
- package/dist/server.d.ts +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +40 -3
- package/dist/server.js.map +3 -3
- package/package.json +3 -3
- package/src/agent/agent-chat.tsx +2 -2
- package/src/agent/components/agent-threads.tsx +42 -2
- package/src/agent/components/composer-place.tsx +2 -7
- package/src/agent/components/computer-place.tsx +415 -70
- package/src/agent/components/conversation-panel.tsx +31 -26
- package/src/agent/components/message-view.tsx +418 -9
- package/src/agent/components/pending-messages.tsx +5 -1
- package/src/agent/components/transcript.tsx +136 -5
- package/src/agent/conversation.ts +16 -1
- package/src/agent/format.ts +52 -0
- package/src/agent/hooks/thread-queries.ts +75 -0
- package/src/agent/hooks/use-agent-conversation.ts +454 -112
- package/src/agent/hooks/use-thread-lists.ts +72 -7
- package/src/agent/hooks/use-thread-place.ts +239 -0
- package/src/agent/i18n/en.ts +63 -16
- package/src/agent/i18n/fr.ts +65 -19
- package/src/agent/live-run.ts +38 -0
- package/src/agent/model-selection.ts +3 -2
- package/src/agent/moves.ts +174 -0
- package/src/agent/thread-reader-state.ts +75 -0
- package/src/agent/types.ts +6 -0
- package/src/artifacts/live/session.ts +5 -0
- package/src/createCustomApp.ts +57 -3
- package/src/index.ts +4 -0
- package/src/pages/console/data/accounts.tsx +509 -0
- package/src/pages/console/data/connectors.tsx +7 -15
- package/src/pages/console/data/live-updates.ts +2 -0
- package/src/pages/console/data/messages.ts +73 -0
- package/src/pages/console/data/sync-button.tsx +56 -16
- package/src/pages/console/data/syncs.tsx +66 -41
- package/src/pages/section-ui.tsx +1 -1
- package/src/pages/settings/usage/breakdown.tsx +5 -2
- package/src/pages/settings/usage/filter-menu.tsx +1 -1
- package/src/pages/settings/usage/page.tsx +32 -13
- package/src/pages/settings/usage/spend-chart.tsx +2 -2
- package/src/pages/settings/usage/spend-model.ts +118 -50
- package/src/server.ts +1 -0
- /package/dist/{chunk-5sgac68y.js.map → chunk-096d52h2.js.map} +0 -0
- /package/dist/{chunk-4wm09prf.js.map → chunk-94d7enwc.js.map} +0 -0
- /package/dist/{chunk-69qgh20f.js.map → chunk-ezntd3yy.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thread-queries.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/thread-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;;EAtChw+1B;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAanE;AAKD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAOtF"}
|
|
@@ -22,8 +22,19 @@ export interface UseAgentConversationInput {
|
|
|
22
22
|
}
|
|
23
23
|
/** The parts of {@link ComposerProps} a conversation decides; the page adds the rest. */
|
|
24
24
|
export type ConversationComposerProps = Pick<ComposerProps, "onSend" | "newThreadPlace" | "error" | "disabled" | "pending" | "running" | "steerable" | "stopping" | "onStop" | "hint" | "models" | "selectedModel" | "selectedReasoning" | "modelsLoading" | "modelsError" | "onSelectModel" | "onSelectReasoning" | "onResetReasoning" | "usingDefaultModel" | "onResetModelSelection" | "modelRouting" | "draftKey" | "draft" | "draftAttachments" | "draftContext" | "draftNonce" | "draftReseedKey" | "insertion" | "onInserted" | "approvalMode" | "onApprovalModeChange" | "awaitingApproval" | "dictation" | "contextMeter">;
|
|
25
|
+
/** Draft state for an earlier user message open in the inline editor. */
|
|
26
|
+
export interface AgentMessageEditDraft {
|
|
27
|
+
readonly messageId: string;
|
|
28
|
+
readonly text: string;
|
|
29
|
+
readonly attachments: readonly AgentFileRef[];
|
|
30
|
+
readonly context: readonly AgentContextEntryInput[];
|
|
31
|
+
/** Incremented when a failed edit restores this draft, so the editor reseeds. */
|
|
32
|
+
readonly nonce: number;
|
|
33
|
+
/** Why the last save did not go through, said under the editor. */
|
|
34
|
+
readonly error?: string;
|
|
35
|
+
}
|
|
25
36
|
export type AgentConversation = ReturnType<typeof useAgentConversation>;
|
|
26
|
-
/** Why a message, a retry or a stop did not go through, or the approval mode did not change. */
|
|
37
|
+
/** Why a message, an edit, a retry or a stop did not go through, or the approval mode did not change. */
|
|
27
38
|
export type AgentConversationSendError =
|
|
28
39
|
/** Another answer holds the conversation; `someoneElse` when another person asked for it. */
|
|
29
40
|
{
|
|
@@ -38,7 +49,7 @@ export type AgentConversationSendError =
|
|
|
38
49
|
| {
|
|
39
50
|
readonly code: "computer";
|
|
40
51
|
} | {
|
|
41
|
-
readonly code: "send" | "retry" | "stop" | "approvalMode";
|
|
52
|
+
readonly code: "send" | "edit" | "retry" | "stop" | "approvalMode";
|
|
42
53
|
};
|
|
43
54
|
/** The conversation's messages could not be read. */
|
|
44
55
|
export interface AgentConversationMessagesError {
|
|
@@ -510,6 +521,24 @@ export declare function useAgentConversation({ threadId, onThreadCreated, newThr
|
|
|
510
521
|
messageCount: number;
|
|
511
522
|
createdAt: string;
|
|
512
523
|
updatedAt: string;
|
|
524
|
+
read?: {
|
|
525
|
+
threadId: string;
|
|
526
|
+
throughSeq: number;
|
|
527
|
+
headSeq: number;
|
|
528
|
+
unread: number;
|
|
529
|
+
readAt?: string;
|
|
530
|
+
};
|
|
531
|
+
lastRun?: {
|
|
532
|
+
id: string;
|
|
533
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
534
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
535
|
+
errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
536
|
+
completedAt?: string;
|
|
537
|
+
requestedBy?: {
|
|
538
|
+
type: "user" | "serviceAccount";
|
|
539
|
+
id: string;
|
|
540
|
+
};
|
|
541
|
+
};
|
|
513
542
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
514
543
|
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
515
544
|
} | null;
|
|
@@ -548,6 +577,14 @@ export declare function useAgentConversation({ threadId, onThreadCreated, newThr
|
|
|
548
577
|
};
|
|
549
578
|
composerPending: boolean;
|
|
550
579
|
send: (text: string, attachments: readonly AgentFileRef[], context: readonly AgentContextEntryInput[], delivery?: AgentMessageDelivery) => Promise<void>;
|
|
580
|
+
/** Saved user message ids the reader may edit in place. */
|
|
581
|
+
editableMessageIds: ReadonlySet<string>;
|
|
582
|
+
/** The message currently open in the inline editor, or null. */
|
|
583
|
+
editingMessage: AgentMessageEditDraft | null;
|
|
584
|
+
startEditMessage: (messageId: string) => void;
|
|
585
|
+
cancelEditMessage: () => void;
|
|
586
|
+
/** Edit an earlier user message in place and restart the thread from there. */
|
|
587
|
+
editMessage: (messageId: string, text: string, attachments: readonly AgentFileRef[], context: readonly AgentContextEntryInput[]) => Promise<void>;
|
|
551
588
|
/** Stop the answer in flight, when `turn.canStop`. */
|
|
552
589
|
stop: () => void;
|
|
553
590
|
/** Run again the turn that never answered, when `turn.canRetry`. */
|
|
@@ -668,6 +705,8 @@ export declare function useAgentConversation({ threadId, onThreadCreated, newThr
|
|
|
668
705
|
pendingProps: PendingMessagesProps;
|
|
669
706
|
/** Spread into `<SandboxRecovery>` while set: the composer stays disabled until it is resolved. */
|
|
670
707
|
sandboxRecoveryProps: SandboxRecoveryProps | null;
|
|
708
|
+
/** Where the reader's own conversation runs, and how to switch it between cloud and computer. */
|
|
709
|
+
place: import("./use-thread-place").ThreadPlace | null;
|
|
671
710
|
/** Where the reader's own conversation runs on their computer, for its badge. */
|
|
672
711
|
computer: {
|
|
673
712
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-agent-conversation.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-agent-conversation.ts"],"names":[],"mappings":"AAkCA,OAAO,EAA0B,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAIpF,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAG1B,KAAK,iBAAiB,EAIvB,MAAM,cAAc,CAAA;AAErB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OA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A0K,CAAC;qBAAkL,CAAC;uBAA0N,CAAC;uBAAiC,CAAC;;;;;;;;;;;;;;;;;IAlT/mwnB;;;OAGG;;IAEH,oDAAoD;;;;;;;;IAIpD,uFAAuF;;;;cAhzCjF,MAAM;qBACC,SAAS,YAAY,EAAE;iBAC3B,SAAS,sBAAsB,EAAE;eACnC,MAAM;QACb,sFAAsF;kBAC5E,MAAM;;;iBA0OV,MAAM,eACC,SAAS,YAAY,EAAE,WAC3B,SAAS,sBAAsB,EAAE,aAChC,oBAAoB;IAokC9B,2DAA2D;;IAE3D,gEAAgE;;kCAjkBpD,MAAM;;IAqkBlB,+EAA+E;6BAriBpE,MAAM,QACX,MAAM,eACC,SAAS,YAAY,EAAE,WAC3B,SAAS,sBAAsB,EAAE;IAoiB1C,sDAAsD;;IAEtD,oEAAoE;;IAEpE,4DAA4D;;IAE5D,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqRoqv0B,CAAC;;;;;;;;;;0BAAqgB,CAAC;wBAAkC,CAAC;yBAAiC,CAAC;;;;;;;;;;;;;uBAA0tD,CAAC;;;0BAAiJ,CAAC;wBAAkC,CAAC;yBAAiC,CAAC;;;;;IAnRpv00B,uFAAuF;;IAEvF;;;OAGG;uBAz1BO,aAAa,YACb,qBAAqB,KAC9B,OAAO,CAAC,oBAAoB,CAAC;IAy1B9B,sFAAsF;;4BAt4BzD,iBAAiB;IAy4B9C,gEAAgE;;IAEhE,kCAAkC;;IAElC,qFAAqF;;IAErF;;;OAGG;;IAEH,+FAA+F;;IAE/F,mGAAmG;;IAEnG,iGAAiG;;IAEjG,iFAAiF;;;;;;;IAEjF,2EAA2E;;EAG9E"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { type InfiniteData } from "@tanstack/react-query";
|
|
2
|
+
import type { AgentThreadRead } from "../types";
|
|
1
3
|
/**
|
|
2
4
|
* The reader's threads, the ones shared with them, and those where a call waits for them: what a
|
|
3
5
|
* thread's header counts and the threads page lists. One read for both, so opening the page from a
|
|
4
6
|
* thread shows what the thread already had.
|
|
5
7
|
*/
|
|
6
|
-
export declare function useAgentThreadLists(options
|
|
8
|
+
export declare function useAgentThreadLists(options?: {
|
|
7
9
|
/** How often to read again while nothing announces changes; off by default. */
|
|
8
10
|
readonly refetchInterval?: number | false;
|
|
9
11
|
}): {
|
|
10
|
-
threadsQuery: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<
|
|
12
|
+
threadsQuery: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<InfiniteData<{
|
|
11
13
|
threads: Array<{
|
|
12
14
|
sandboxState?: {
|
|
13
15
|
name: string;
|
|
@@ -73,13 +75,31 @@ export declare function useAgentThreadLists(options: {
|
|
|
73
75
|
messageCount: number;
|
|
74
76
|
createdAt: string;
|
|
75
77
|
updatedAt: string;
|
|
78
|
+
read?: {
|
|
79
|
+
threadId: string;
|
|
80
|
+
throughSeq: number;
|
|
81
|
+
headSeq: number;
|
|
82
|
+
unread: number;
|
|
83
|
+
readAt?: string;
|
|
84
|
+
};
|
|
85
|
+
lastRun?: {
|
|
86
|
+
id: string;
|
|
87
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
88
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
89
|
+
errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
90
|
+
completedAt?: string;
|
|
91
|
+
requestedBy?: {
|
|
92
|
+
type: "user" | "serviceAccount";
|
|
93
|
+
id: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
76
96
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
77
97
|
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
78
98
|
}>;
|
|
79
99
|
hasMore: boolean;
|
|
80
100
|
total: number;
|
|
81
101
|
}, unknown>, import("@sixb/client").ListAgentThreadsError>;
|
|
82
|
-
sharedThreadsQuery: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<
|
|
102
|
+
sharedThreadsQuery: import("@tanstack/react-query").DefinedUseInfiniteQueryResult<InfiniteData<{
|
|
83
103
|
threads: Array<{
|
|
84
104
|
sandboxState?: {
|
|
85
105
|
name: string;
|
|
@@ -145,6 +165,24 @@ export declare function useAgentThreadLists(options: {
|
|
|
145
165
|
messageCount: number;
|
|
146
166
|
createdAt: string;
|
|
147
167
|
updatedAt: string;
|
|
168
|
+
read?: {
|
|
169
|
+
threadId: string;
|
|
170
|
+
throughSeq: number;
|
|
171
|
+
headSeq: number;
|
|
172
|
+
unread: number;
|
|
173
|
+
readAt?: string;
|
|
174
|
+
};
|
|
175
|
+
lastRun?: {
|
|
176
|
+
id: string;
|
|
177
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
178
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
179
|
+
errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
180
|
+
completedAt?: string;
|
|
181
|
+
requestedBy?: {
|
|
182
|
+
type: "user" | "serviceAccount";
|
|
183
|
+
id: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
148
186
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
149
187
|
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
150
188
|
}>;
|
|
@@ -216,6 +254,24 @@ export declare function useAgentThreadLists(options: {
|
|
|
216
254
|
messageCount: number;
|
|
217
255
|
createdAt: string;
|
|
218
256
|
updatedAt: string;
|
|
257
|
+
read?: {
|
|
258
|
+
threadId: string;
|
|
259
|
+
throughSeq: number;
|
|
260
|
+
headSeq: number;
|
|
261
|
+
unread: number;
|
|
262
|
+
readAt?: string;
|
|
263
|
+
};
|
|
264
|
+
lastRun?: {
|
|
265
|
+
id: string;
|
|
266
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
267
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
268
|
+
errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
269
|
+
completedAt?: string;
|
|
270
|
+
requestedBy?: {
|
|
271
|
+
type: "user" | "serviceAccount";
|
|
272
|
+
id: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
219
275
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
220
276
|
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
221
277
|
}[];
|
|
@@ -284,9 +340,30 @@ export declare function useAgentThreadLists(options: {
|
|
|
284
340
|
messageCount: number;
|
|
285
341
|
createdAt: string;
|
|
286
342
|
updatedAt: string;
|
|
343
|
+
read?: {
|
|
344
|
+
threadId: string;
|
|
345
|
+
throughSeq: number;
|
|
346
|
+
headSeq: number;
|
|
347
|
+
unread: number;
|
|
348
|
+
readAt?: string;
|
|
349
|
+
};
|
|
350
|
+
lastRun?: {
|
|
351
|
+
id: string;
|
|
352
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
353
|
+
finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
|
|
354
|
+
errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
|
|
355
|
+
completedAt?: string;
|
|
356
|
+
requestedBy?: {
|
|
357
|
+
type: "user" | "serviceAccount";
|
|
358
|
+
id: string;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
287
361
|
approvalMode?: "manual" | "accept-edits" | "auto";
|
|
288
362
|
approvalModeSource?: "thread" | "default" | "fallback" | "run";
|
|
289
363
|
}[];
|
|
290
364
|
waitingThreadIds: ReadonlySet<string>;
|
|
365
|
+
markThreadRead: (threadId: string, input?: {
|
|
366
|
+
readonly throughMessageId?: string;
|
|
367
|
+
}) => Promise<AgentThreadRead>;
|
|
291
368
|
};
|
|
292
369
|
//# sourceMappingURL=use-thread-lists.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-thread-lists.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-thread-lists.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-thread-lists.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-thread-lists.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,YAAY,EAKlB,MAAM,uBAAuB,CAAA;AAG9B,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,UAAU,CAAA;AAsB5D;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE;IACP,+EAA+E;IAC/E,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;CACrC;;;wBA+Fmy7rB,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;;;;gBAA0G,CAAC;;;;;sBAA6I,CAAC;;mBAAoC,CAAC;;;4BAAqI,CAAC;yBAAkL,CAAC;2BAA0N,CAAC;2BAAiC,CAAC;;;;;wBAA+H,CAAC;8BAAgE,CAAC;;;;;;;wBAAvuF,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;;;;gBAA0G,CAAC;;;;;sBAA6I,CAAC;;mBAAoC,CAAC;;;4BAAqI,CAAC;yBAAkL,CAAC;2BAA0N,CAAC;2BAAiC,CAAC;;;;;wBAA+H,CAAC;8BAAgE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;uBAAtpE,CAAC;;;;;;2BAAiK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA+uB,CAAC;;mBAA4D,CAAC;oBAA8B,CAAC;;;;;;;;;;;;;;kBAA0Y,CAAC;;;;;wBAA0K,CAAC;qBAAkL,CAAC;uBAA0N,CAAC;uBAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAAr9D,CAAC;;;;;;2BAAiK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA+uB,CAAC;;mBAA4D,CAAC;oBAA8B,CAAC;;;;;;;;;;;;;;kBAA0Y,CAAC;;;;;wBAA0K,CAAC;qBAAkL,CAAC;uBAA0N,CAAC;uBAAiC,CAAC;;;;;;;;;+BAhDn0gsB,MAAM,UACT;QAAE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;KAAE,KAC5C,OAAO,CAAC,eAAe,CAAC;EAqC5B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ThreadComputer } from "../components/computer-place";
|
|
2
|
+
import type { ThreadAccess } from "../sharing";
|
|
3
|
+
import type { AgentThread } from "../types";
|
|
4
|
+
import type { PlaceComputer } from "./use-new-thread-place";
|
|
5
|
+
export type ThreadPlaceBusy = "running" | "approval" | null;
|
|
6
|
+
export interface ThreadPlace {
|
|
7
|
+
readonly open: boolean;
|
|
8
|
+
readonly setOpen: (open: boolean) => void;
|
|
9
|
+
readonly onComputer: boolean;
|
|
10
|
+
readonly currentComputer: ThreadComputer | null;
|
|
11
|
+
readonly computers: readonly PlaceComputer[];
|
|
12
|
+
readonly loading: boolean;
|
|
13
|
+
readonly pending: boolean;
|
|
14
|
+
/** Where the move on its way goes: the cloud, or a folder on one of its owner's computers. */
|
|
15
|
+
readonly movingTo: "cloud" | {
|
|
16
|
+
readonly computerId: string;
|
|
17
|
+
readonly folder: string;
|
|
18
|
+
} | null;
|
|
19
|
+
/** What keeps it where it runs: a reply in progress, or one waiting for approval. */
|
|
20
|
+
readonly busy: ThreadPlaceBusy;
|
|
21
|
+
readonly error: "busy" | "failed" | null;
|
|
22
|
+
/** The last move to the cloud's error alone, for the notice that offers it. */
|
|
23
|
+
readonly cloudError: "busy" | "failed" | null;
|
|
24
|
+
/** To the cloud: at once, or after asking when a message waits, as it would then run there. */
|
|
25
|
+
readonly moveToCloud: () => void;
|
|
26
|
+
/** The question asked before a waiting message goes to the cloud. */
|
|
27
|
+
readonly confirmCloud: {
|
|
28
|
+
readonly open: boolean;
|
|
29
|
+
readonly setOpen: (open: boolean) => void;
|
|
30
|
+
readonly accept: () => void;
|
|
31
|
+
};
|
|
32
|
+
readonly moveToFolder: (computer: PlaceComputer, folder: string) => void;
|
|
33
|
+
readonly pickFolder?: () => Promise<void>;
|
|
34
|
+
readonly forgetFolder?: (folder: string) => void;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Where an existing conversation runs, for its owner: switch between the cloud and any connected
|
|
38
|
+
* computer or folder as needed. Null where there is nothing to choose, as for a new conversation:
|
|
39
|
+
* in a browser, a cloud conversation that never moved, while none of its owner's computers is
|
|
40
|
+
* connected.
|
|
41
|
+
*/
|
|
42
|
+
export declare function useThreadPlace(input: {
|
|
43
|
+
readonly thread: AgentThread | null;
|
|
44
|
+
readonly access: ThreadAccess;
|
|
45
|
+
readonly busy: ThreadPlaceBusy;
|
|
46
|
+
/** A message waits for the computer: moving to the cloud runs it there. */
|
|
47
|
+
readonly waiting: boolean;
|
|
48
|
+
}): ThreadPlace | null;
|
|
49
|
+
//# sourceMappingURL=use-thread-place.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-thread-place.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/use-thread-place.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAE3D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,GAAG,IAAI,CAAA;AAE3D,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,eAAe,EAAE,cAAc,GAAG,IAAI,CAAA;IAC/C,QAAQ,CAAC,SAAS,EAAE,SAAS,aAAa,EAAE,CAAA;IAC5C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,8FAA8F;IAC9F,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG;QAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IAC5F,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+
editBusy: string;
|
|
29
|
+
editBusyOther: string;
|
|
27
30
|
busy: string;
|
|
28
31
|
busyOther: string;
|
|
29
32
|
sandboxUnavailable: string;
|
|
@@ -234,6 +237,12 @@ export declare const en: {
|
|
|
234
237
|
ago: (time: string) => string;
|
|
235
238
|
};
|
|
236
239
|
transcript: {
|
|
240
|
+
editMessage: string;
|
|
241
|
+
copyMessage: string;
|
|
242
|
+
copiedMessage: string;
|
|
243
|
+
editInfo: string;
|
|
244
|
+
cancelEdit: string;
|
|
245
|
+
saveEdit: string;
|
|
237
246
|
condensed: string;
|
|
238
247
|
condensing: string;
|
|
239
248
|
condensingLabel: string;
|
|
@@ -1023,7 +1032,10 @@ export declare const en: {
|
|
|
1023
1032
|
computer: {
|
|
1024
1033
|
online: string;
|
|
1025
1034
|
offline: string;
|
|
1026
|
-
|
|
1035
|
+
/** Its folder isn't open on its computer: nothing waits for it. */
|
|
1036
|
+
folderUnavailable: (folder: string, computer: string) => string;
|
|
1037
|
+
/** Its folder isn't open on its computer, and a message waits for it. */
|
|
1038
|
+
messageWaiting: (folder: string, computer: string) => string;
|
|
1027
1039
|
noFolder: string;
|
|
1028
1040
|
/** In a desktop app, about a conversation of this computer's. */
|
|
1029
1041
|
offlineHere: (folder: string) => string;
|
|
@@ -1031,21 +1043,42 @@ export declare const en: {
|
|
|
1031
1043
|
waitingFor: (computer: string) => string;
|
|
1032
1044
|
/** Where a new conversation runs, in a desktop app. */
|
|
1033
1045
|
placeTitle: string;
|
|
1034
|
-
placeChip: (place: string) => string;
|
|
1046
|
+
placeChip: (place: string, status: string | null) => string;
|
|
1047
|
+
noFolderChip: string;
|
|
1035
1048
|
cloud: string;
|
|
1049
|
+
cloudDescription: string;
|
|
1050
|
+
thisComputer: string;
|
|
1051
|
+
checkingComputers: string;
|
|
1052
|
+
noComputers: string;
|
|
1053
|
+
offlineLabel: string;
|
|
1054
|
+
offlineMenuHint: string;
|
|
1036
1055
|
chooseFolder: string;
|
|
1037
1056
|
chooseFolderShort: string;
|
|
1038
1057
|
forgetFolder: (folder: string) => string;
|
|
1039
1058
|
continueInCloud: string;
|
|
1040
1059
|
moving: string;
|
|
1041
1060
|
moveFailed: string;
|
|
1061
|
+
moveSwitchFailed: string;
|
|
1042
1062
|
moveBusy: string;
|
|
1063
|
+
moveWhileRunning: string;
|
|
1064
|
+
moveWhileApproval: string;
|
|
1043
1065
|
confirmTitle: string;
|
|
1044
|
-
confirmDescription: string;
|
|
1066
|
+
confirmDescription: (folder: string | null) => string;
|
|
1067
|
+
confirmAction: string;
|
|
1045
1068
|
cancel: string;
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1069
|
+
/** A folder on a computer, in running text. */
|
|
1070
|
+
placeOn: (folder: string, computer: string) => string;
|
|
1071
|
+
cloudPlace: string;
|
|
1072
|
+
movedToCloud: (from: string | null) => string;
|
|
1073
|
+
movedToFolder: (place: string) => string;
|
|
1074
|
+
/** For someone the conversation is shared with, who isn't shown its folders. */
|
|
1075
|
+
movedToComputer: (owner: string | null) => string;
|
|
1076
|
+
movedBetweenFolders: (folder: string, from: string) => string;
|
|
1077
|
+
movedElsewhere: (place: string | null) => string;
|
|
1078
|
+
/** A fork's first turn, in a workspace of its own. */
|
|
1079
|
+
continuedIn: (place: string) => string;
|
|
1080
|
+
/** A fork's first turn on a computer whose folder the reader isn't shown. */
|
|
1081
|
+
continuedOnComputer: (owner: string | null) => string;
|
|
1049
1082
|
};
|
|
1050
1083
|
/** A conversation its owner shares with other users of the project. */
|
|
1051
1084
|
sharing: {
|
|
@@ -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,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/agent/i18n/en.ts"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,eAAO,MAAM,EAAE;;;;;;;;;;;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AM;;;;;4BAKJ,SAAS,MAAM,EAAE;wBAMrB,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;
|
|
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;AAoBzC,eAAO,MAAM,EAAE,EAAE,WAAW,CAAC,aAAa,CAgrCzC,CAAA"}
|
|
@@ -23,6 +23,9 @@ export declare const useAgentMessages: () => {
|
|
|
23
23
|
threadsLoadFailed: string;
|
|
24
24
|
sharedThreadsLoadFailed: string;
|
|
25
25
|
sendFailed: string;
|
|
26
|
+
editFailed: string;
|
|
27
|
+
editBusy: string;
|
|
28
|
+
editBusyOther: string;
|
|
26
29
|
busy: string;
|
|
27
30
|
busyOther: string;
|
|
28
31
|
sandboxUnavailable: string;
|
|
@@ -222,6 +225,12 @@ export declare const useAgentMessages: () => {
|
|
|
222
225
|
ago: (time: string) => string;
|
|
223
226
|
};
|
|
224
227
|
transcript: {
|
|
228
|
+
editMessage: string;
|
|
229
|
+
copyMessage: string;
|
|
230
|
+
copiedMessage: string;
|
|
231
|
+
editInfo: string;
|
|
232
|
+
cancelEdit: string;
|
|
233
|
+
saveEdit: string;
|
|
225
234
|
condensed: string;
|
|
226
235
|
condensing: string;
|
|
227
236
|
condensingLabel: string;
|
|
@@ -969,27 +978,45 @@ export declare const useAgentMessages: () => {
|
|
|
969
978
|
computer: {
|
|
970
979
|
online: string;
|
|
971
980
|
offline: string;
|
|
972
|
-
|
|
981
|
+
folderUnavailable: (folder: string, computer: string) => string;
|
|
982
|
+
messageWaiting: (folder: string, computer: string) => string;
|
|
973
983
|
noFolder: string;
|
|
974
984
|
offlineHere: (folder: string) => string;
|
|
975
985
|
runHere: string;
|
|
976
986
|
waitingFor: (computer: string) => string;
|
|
977
987
|
placeTitle: string;
|
|
978
|
-
placeChip: (place: string) => string;
|
|
988
|
+
placeChip: (place: string, status: string | null) => string;
|
|
989
|
+
noFolderChip: string;
|
|
979
990
|
cloud: string;
|
|
991
|
+
cloudDescription: string;
|
|
992
|
+
thisComputer: string;
|
|
993
|
+
checkingComputers: string;
|
|
994
|
+
noComputers: string;
|
|
995
|
+
offlineLabel: string;
|
|
996
|
+
offlineMenuHint: string;
|
|
980
997
|
chooseFolder: string;
|
|
981
998
|
chooseFolderShort: string;
|
|
982
999
|
forgetFolder: (folder: string) => string;
|
|
983
1000
|
continueInCloud: string;
|
|
984
1001
|
moving: string;
|
|
985
1002
|
moveFailed: string;
|
|
1003
|
+
moveSwitchFailed: string;
|
|
986
1004
|
moveBusy: string;
|
|
1005
|
+
moveWhileRunning: string;
|
|
1006
|
+
moveWhileApproval: string;
|
|
987
1007
|
confirmTitle: string;
|
|
988
|
-
confirmDescription: string;
|
|
1008
|
+
confirmDescription: (folder: string | null) => string;
|
|
1009
|
+
confirmAction: string;
|
|
989
1010
|
cancel: string;
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1011
|
+
placeOn: (folder: string, computer: string) => string;
|
|
1012
|
+
cloudPlace: string;
|
|
1013
|
+
movedToCloud: (from: string | null) => string;
|
|
1014
|
+
movedToFolder: (place: string) => string;
|
|
1015
|
+
movedToComputer: (owner: string | null) => string;
|
|
1016
|
+
movedBetweenFolders: (folder: string, from: string) => string;
|
|
1017
|
+
movedElsewhere: (place: string | null) => string;
|
|
1018
|
+
continuedIn: (place: string) => string;
|
|
1019
|
+
continuedOnComputer: (owner: string | null) => string;
|
|
993
1020
|
};
|
|
994
1021
|
sharing: {
|
|
995
1022
|
share: string;
|
|
@@ -1140,6 +1167,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1140
1167
|
threadsLoadFailed: string;
|
|
1141
1168
|
sharedThreadsLoadFailed: string;
|
|
1142
1169
|
sendFailed: string;
|
|
1170
|
+
editFailed: string;
|
|
1171
|
+
editBusy: string;
|
|
1172
|
+
editBusyOther: string;
|
|
1143
1173
|
busy: string;
|
|
1144
1174
|
busyOther: string;
|
|
1145
1175
|
sandboxUnavailable: string;
|
|
@@ -1339,6 +1369,12 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1339
1369
|
ago: (time: string) => string;
|
|
1340
1370
|
};
|
|
1341
1371
|
transcript: {
|
|
1372
|
+
editMessage: string;
|
|
1373
|
+
copyMessage: string;
|
|
1374
|
+
copiedMessage: string;
|
|
1375
|
+
editInfo: string;
|
|
1376
|
+
cancelEdit: string;
|
|
1377
|
+
saveEdit: string;
|
|
1342
1378
|
condensed: string;
|
|
1343
1379
|
condensing: string;
|
|
1344
1380
|
condensingLabel: string;
|
|
@@ -2086,27 +2122,45 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
2086
2122
|
computer: {
|
|
2087
2123
|
online: string;
|
|
2088
2124
|
offline: string;
|
|
2089
|
-
|
|
2125
|
+
folderUnavailable: (folder: string, computer: string) => string;
|
|
2126
|
+
messageWaiting: (folder: string, computer: string) => string;
|
|
2090
2127
|
noFolder: string;
|
|
2091
2128
|
offlineHere: (folder: string) => string;
|
|
2092
2129
|
runHere: string;
|
|
2093
2130
|
waitingFor: (computer: string) => string;
|
|
2094
2131
|
placeTitle: string;
|
|
2095
|
-
placeChip: (place: string) => string;
|
|
2132
|
+
placeChip: (place: string, status: string | null) => string;
|
|
2133
|
+
noFolderChip: string;
|
|
2096
2134
|
cloud: string;
|
|
2135
|
+
cloudDescription: string;
|
|
2136
|
+
thisComputer: string;
|
|
2137
|
+
checkingComputers: string;
|
|
2138
|
+
noComputers: string;
|
|
2139
|
+
offlineLabel: string;
|
|
2140
|
+
offlineMenuHint: string;
|
|
2097
2141
|
chooseFolder: string;
|
|
2098
2142
|
chooseFolderShort: string;
|
|
2099
2143
|
forgetFolder: (folder: string) => string;
|
|
2100
2144
|
continueInCloud: string;
|
|
2101
2145
|
moving: string;
|
|
2102
2146
|
moveFailed: string;
|
|
2147
|
+
moveSwitchFailed: string;
|
|
2103
2148
|
moveBusy: string;
|
|
2149
|
+
moveWhileRunning: string;
|
|
2150
|
+
moveWhileApproval: string;
|
|
2104
2151
|
confirmTitle: string;
|
|
2105
|
-
confirmDescription: string;
|
|
2152
|
+
confirmDescription: (folder: string | null) => string;
|
|
2153
|
+
confirmAction: string;
|
|
2106
2154
|
cancel: string;
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2155
|
+
placeOn: (folder: string, computer: string) => string;
|
|
2156
|
+
cloudPlace: string;
|
|
2157
|
+
movedToCloud: (from: string | null) => string;
|
|
2158
|
+
movedToFolder: (place: string) => string;
|
|
2159
|
+
movedToComputer: (owner: string | null) => string;
|
|
2160
|
+
movedBetweenFolders: (folder: string, from: string) => string;
|
|
2161
|
+
movedElsewhere: (place: string | null) => string;
|
|
2162
|
+
continuedIn: (place: string) => string;
|
|
2163
|
+
continuedOnComputer: (owner: string | null) => string;
|
|
2110
2164
|
};
|
|
2111
2165
|
sharing: {
|
|
2112
2166
|
share: 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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAA+B,CAAA;AAE/D,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA;AAC/C,YAAY,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live-run.d.ts","sourceRoot":"","sources":["../../src/agent/live-run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,eAAe,
|
|
1
|
+
{"version":3,"file":"live-run.d.ts","sourceRoot":"","sources":["../../src/agent/live-run.ts"],"names":[],"mappings":"AAAA,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,6EAA6E;IAC7E,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CACpC;AAED,MAAM,MAAM,aAAa,GACrB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACzD;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAA;CAAE,GAC/D;IAAE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/D,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,MAAM,GAAG,IAAW,GAAG,YAAY,CAiB5E;AAED,oGAAoG;AACpG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAEjE;AAED,6EAA6E;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO,CAGjF;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,GAAG,YAAY,CAWvF"}
|
|
@@ -18,8 +18,9 @@ export interface ResolvedModelSelection {
|
|
|
18
18
|
readonly request?: ModelPreference;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* With tiers,
|
|
22
|
-
* one every message runs on `standard`.
|
|
21
|
+
* With tiers, a conversation starts on Auto: a decision model picks each message's model, and
|
|
22
|
+
* without one every message runs on `standard`. A model chosen in any conversation becomes the one
|
|
23
|
+
* the next conversation starts on, and each conversation pins its own.
|
|
23
24
|
*/
|
|
24
25
|
export declare function hasTiers(models: readonly LanguageModel[]): boolean;
|
|
25
26
|
export declare function defaultLanguageModel(models: readonly LanguageModel[]): LanguageModel | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-selection.d.ts","sourceRoot":"","sources":["../../src/agent/model-selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC,CAAA;IAC5D,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAA;CACzC;AAED,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACrC,iGAAiG;IACjG,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,CAAA;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAA;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAA;IACxC,yFAAyF;IACzF,QAAQ,CAAC,OAAO,CAAC,EAAE,eAAe,CAAA;CACnC;AAED
|
|
1
|
+
{"version":3,"file":"model-selection.d.ts","sourceRoot":"","sources":["../../src/agent/model-selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,SAAS,CAAC,CAAA;IAC5D,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAA;CACzC;AAED,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACrC,iGAAiG;IACjG,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,CAAA;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAA;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,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