@sixb/app 0.2.5 → 0.2.7
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/sandbox-recovery.d.ts +8 -2
- package/dist/agent/components/sandbox-recovery.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 +5 -5
- 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 +44 -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 +76 -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-69qgh20f.js → chunk-1f4h75n3.js} +1 -1
- package/dist/{chunk-4fex83k2.js → chunk-7v9622qb.js} +2254 -739
- package/dist/{chunk-4fex83k2.js.map → chunk-7v9622qb.js.map} +29 -26
- package/dist/{chunk-5sgac68y.js → chunk-dntecmwb.js} +1 -1
- package/dist/{chunk-4wm09prf.js → chunk-qmka6aea.js} +1 -1
- 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/datasets.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/pipelines.d.ts.map +1 -1
- package/dist/pages/console/data/projections.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/console/ontology/actions.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-type.d.ts.map +1 -1
- package/dist/pages/console/ontology/object-types.d.ts.map +1 -1
- package/dist/pages/console/ontology/rules.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflow.d.ts.map +1 -1
- package/dist/pages/console/ontology/workflows.d.ts.map +1 -1
- package/dist/pages/folders.d.ts +106 -0
- package/dist/pages/folders.d.ts.map +1 -0
- 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 +23453 -22656
- package/dist/pages.js.map +23 -21
- 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/sandbox-recovery.tsx +24 -6
- 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 +461 -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 +69 -16
- package/src/agent/i18n/fr.ts +71 -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 +67 -64
- package/src/pages/console/data/datasets.tsx +79 -68
- package/src/pages/console/data/live-updates.ts +2 -0
- package/src/pages/console/data/messages.ts +73 -0
- package/src/pages/console/data/pipelines.tsx +80 -69
- package/src/pages/console/data/projections.tsx +111 -82
- package/src/pages/console/data/sync-button.tsx +56 -16
- package/src/pages/console/data/syncs.tsx +121 -86
- package/src/pages/console/ontology/actions.tsx +51 -24
- package/src/pages/console/ontology/object-type.tsx +5 -1
- package/src/pages/console/ontology/object-types.tsx +41 -32
- package/src/pages/console/ontology/rules.tsx +48 -38
- package/src/pages/console/ontology/workflow.tsx +9 -3
- package/src/pages/console/ontology/workflows.tsx +55 -67
- package/src/pages/folders.tsx +335 -0
- 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-69qgh20f.js.map → chunk-1f4h75n3.js.map} +0 -0
- /package/dist/{chunk-5sgac68y.js.map → chunk-dntecmwb.js.map} +0 -0
- /package/dist/{chunk-4wm09prf.js.map → chunk-qmka6aea.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thread-queries.d.ts","sourceRoot":"","sources":["../../../src/agent/hooks/thread-queries.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,WAAW,EAAgC,MAAM,uBAAuB,CAAA;AAatF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;uBAqDsjrtB,CAAC;;;;;;2BAAiK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;oBAA+uB,CAAC;;mBAA4D,CAAC;oBAA8B,CAAC;;;;;;;;;;;;;;kBAA0Y,CAAC;;;;;wBAA0K,CAAC;qBAAkL,CAAC;uBAA0N,CAAC;uBAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;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+C,CAAC;oCAA0C,CAAC;yCAA+C,CAAC;mCAAyC,CAAC;qCAA2C,CAAC;qCAA2C,CAAC;gCAAsC,CAAC;mCAAyC,CAAC;;;oBAAkH,CAAC;;;;;;;;;2BAA+S,CAAC;;;;;;qBAAsP,CAAC;;;;;2BAAmV,CAAC;;;8BAAiJ,CAAC;4BAAkC,CAAC;6BAAiC,CAAC;;;;;yBAAsI,CAAC;2BAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;+BAAt1F,CAAC;+BAAiC,CAAC;;;;;yBAAkM,CAAC;;;;wBAAsG,CAAC;6BAAuD,CAAC;;;gCAAyK,CAAC;0BAAwD,CAAC;4BAAkC,CAAC;;;;2BAAkG,CAAC;gCAAkC,CAAC;yBAA8K,CAAC;mCAA+B,CAAC;oCAAsC,CAAC;mCAAqC,CAAC;2CAA6C,CAAC;4CAA8C,CAAC;6CAA+C,CAAC;wCAA0C,CAAC;6CAA+C,CAAC;uCAAyC,CAAC;yCAA2C,CAAC;yCAA2C,CAAC;oCAAsC,CAAC;uCAAyC,CAAC;;;wBAAkH,CAAC;;;;;;;;;+BAA+S,CAAC;;;;;;yBAAsP,CAAC;;;;;+BAAmV,CAAC;;;kCAAiJ,CAAC;gCAAkC,CAAC;iCAAiC,CAAC;;;;;6BAAsI,CAAC;+BAAiC,CAAC;;;;;;;;EAtChii2B;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,OAAO,EAAE,KAAK,0BAA0B,
|
|
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,OAAO,EAAE,KAAK,0BAA0B,EAAc,MAAM,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BpE,MAAM,QACX,MAAM,eACC,SAAS,YAAY,EAAE,WAC3B,SAAS,sBAAsB,EAAE;IA2iB1C,sDAAsD;;IAEtD,oEAAoE;;IAEpE,4DAA4D;;IAE5D,kFAAkF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqR+1y0B,CAAC;;;;;;;;;;0BAAqgB,CAAC;wBAAkC,CAAC;yBAAiC,CAAC;;;;;;;;;;;;;uBAA0tD,CAAC;;;0BAAiJ,CAAC;wBAAkC,CAAC;yBAAiC,CAAC;;;;;IAnR/630B,uFAAuF;;IAEvF;;;OAGG;uBAh2BO,aAAa,YACb,qBAAqB,KAC9B,OAAO,CAAC,oBAAoB,CAAC;IAg2B9B,sFAAsF;;4BA74BzD,iBAAiB;IAg5B9C,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+Fmy+rB,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;;;;;;;;;+BAhDn0jsB,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,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AAE,OAAO,KAAK,IAAI,CAAA;QACzC,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAA;KAC5B,CAAA;IACD,QAAQ,CAAC,YAAY,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACxE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzC,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CACjD;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAA;IACnC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAA;IAC9B,2EAA2E;IAC3E,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B,GAAG,WAAW,GAAG,IAAI,CA2KrB"}
|
package/dist/agent/i18n/en.d.ts
CHANGED
|
@@ -24,6 +24,9 @@ export declare const en: {
|
|
|
24
24
|
threadsLoadFailed: string;
|
|
25
25
|
sharedThreadsLoadFailed: string;
|
|
26
26
|
sendFailed: string;
|
|
27
|
+
editFailed: string;
|
|
28
|
+
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;
|
|
@@ -264,6 +273,7 @@ export declare const en: {
|
|
|
264
273
|
diagnostics: {
|
|
265
274
|
step_limit_reached: string;
|
|
266
275
|
output_limit_reached: string;
|
|
276
|
+
workspace_not_saved: string;
|
|
267
277
|
unknown: string;
|
|
268
278
|
};
|
|
269
279
|
activity: {
|
|
@@ -979,6 +989,10 @@ export declare const en: {
|
|
|
979
989
|
resuming: string;
|
|
980
990
|
resumeHint: string;
|
|
981
991
|
resumeFailed: string;
|
|
992
|
+
answeredTitle: string;
|
|
993
|
+
answeredDescription: string;
|
|
994
|
+
keepFiles: string;
|
|
995
|
+
keepingFiles: string;
|
|
982
996
|
};
|
|
983
997
|
/** A command the agent runs in the background, as its card and its calls read. */
|
|
984
998
|
background: {
|
|
@@ -1023,7 +1037,10 @@ export declare const en: {
|
|
|
1023
1037
|
computer: {
|
|
1024
1038
|
online: string;
|
|
1025
1039
|
offline: string;
|
|
1026
|
-
|
|
1040
|
+
/** Its folder isn't open on its computer: nothing waits for it. */
|
|
1041
|
+
folderUnavailable: (folder: string, computer: string) => string;
|
|
1042
|
+
/** Its folder isn't open on its computer, and a message waits for it. */
|
|
1043
|
+
messageWaiting: (folder: string, computer: string) => string;
|
|
1027
1044
|
noFolder: string;
|
|
1028
1045
|
/** In a desktop app, about a conversation of this computer's. */
|
|
1029
1046
|
offlineHere: (folder: string) => string;
|
|
@@ -1031,21 +1048,42 @@ export declare const en: {
|
|
|
1031
1048
|
waitingFor: (computer: string) => string;
|
|
1032
1049
|
/** Where a new conversation runs, in a desktop app. */
|
|
1033
1050
|
placeTitle: string;
|
|
1034
|
-
placeChip: (place: string) => string;
|
|
1051
|
+
placeChip: (place: string, status: string | null) => string;
|
|
1052
|
+
noFolderChip: string;
|
|
1035
1053
|
cloud: string;
|
|
1054
|
+
cloudDescription: string;
|
|
1055
|
+
thisComputer: string;
|
|
1056
|
+
checkingComputers: string;
|
|
1057
|
+
noComputers: string;
|
|
1058
|
+
offlineLabel: string;
|
|
1059
|
+
offlineMenuHint: string;
|
|
1036
1060
|
chooseFolder: string;
|
|
1037
1061
|
chooseFolderShort: string;
|
|
1038
1062
|
forgetFolder: (folder: string) => string;
|
|
1039
1063
|
continueInCloud: string;
|
|
1040
1064
|
moving: string;
|
|
1041
1065
|
moveFailed: string;
|
|
1066
|
+
moveSwitchFailed: string;
|
|
1042
1067
|
moveBusy: string;
|
|
1068
|
+
moveWhileRunning: string;
|
|
1069
|
+
moveWhileApproval: string;
|
|
1043
1070
|
confirmTitle: string;
|
|
1044
|
-
confirmDescription: string;
|
|
1071
|
+
confirmDescription: (folder: string | null) => string;
|
|
1072
|
+
confirmAction: string;
|
|
1045
1073
|
cancel: string;
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1074
|
+
/** A folder on a computer, in running text. */
|
|
1075
|
+
placeOn: (folder: string, computer: string) => string;
|
|
1076
|
+
cloudPlace: string;
|
|
1077
|
+
movedToCloud: (from: string | null) => string;
|
|
1078
|
+
movedToFolder: (place: string) => string;
|
|
1079
|
+
/** For someone the conversation is shared with, who isn't shown its folders. */
|
|
1080
|
+
movedToComputer: (owner: string | null) => string;
|
|
1081
|
+
movedBetweenFolders: (folder: string, from: string) => string;
|
|
1082
|
+
movedElsewhere: (place: string | null) => string;
|
|
1083
|
+
/** A fork's first turn, in a workspace of its own. */
|
|
1084
|
+
continuedIn: (place: string) => string;
|
|
1085
|
+
/** A fork's first turn on a computer whose folder the reader isn't shown. */
|
|
1086
|
+
continuedOnComputer: (owner: string | null) => string;
|
|
1049
1087
|
};
|
|
1050
1088
|
/** A conversation its owner shares with other users of the project. */
|
|
1051
1089
|
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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MAAM;;;;0BAKd,MAAM;QACxB,8FAA8F;4BAC1E,MAAM;0BACR,MAAM;;;;;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,CAsrCzC,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;
|
|
@@ -250,6 +259,7 @@ export declare const useAgentMessages: () => {
|
|
|
250
259
|
diagnostics: {
|
|
251
260
|
step_limit_reached: string;
|
|
252
261
|
output_limit_reached: string;
|
|
262
|
+
workspace_not_saved: string;
|
|
253
263
|
unknown: string;
|
|
254
264
|
};
|
|
255
265
|
activity: {
|
|
@@ -927,6 +937,10 @@ export declare const useAgentMessages: () => {
|
|
|
927
937
|
resuming: string;
|
|
928
938
|
resumeHint: string;
|
|
929
939
|
resumeFailed: string;
|
|
940
|
+
answeredTitle: string;
|
|
941
|
+
answeredDescription: string;
|
|
942
|
+
keepFiles: string;
|
|
943
|
+
keepingFiles: string;
|
|
930
944
|
};
|
|
931
945
|
background: {
|
|
932
946
|
card: (command: string) => string;
|
|
@@ -969,27 +983,45 @@ export declare const useAgentMessages: () => {
|
|
|
969
983
|
computer: {
|
|
970
984
|
online: string;
|
|
971
985
|
offline: string;
|
|
972
|
-
|
|
986
|
+
folderUnavailable: (folder: string, computer: string) => string;
|
|
987
|
+
messageWaiting: (folder: string, computer: string) => string;
|
|
973
988
|
noFolder: string;
|
|
974
989
|
offlineHere: (folder: string) => string;
|
|
975
990
|
runHere: string;
|
|
976
991
|
waitingFor: (computer: string) => string;
|
|
977
992
|
placeTitle: string;
|
|
978
|
-
placeChip: (place: string) => string;
|
|
993
|
+
placeChip: (place: string, status: string | null) => string;
|
|
994
|
+
noFolderChip: string;
|
|
979
995
|
cloud: string;
|
|
996
|
+
cloudDescription: string;
|
|
997
|
+
thisComputer: string;
|
|
998
|
+
checkingComputers: string;
|
|
999
|
+
noComputers: string;
|
|
1000
|
+
offlineLabel: string;
|
|
1001
|
+
offlineMenuHint: string;
|
|
980
1002
|
chooseFolder: string;
|
|
981
1003
|
chooseFolderShort: string;
|
|
982
1004
|
forgetFolder: (folder: string) => string;
|
|
983
1005
|
continueInCloud: string;
|
|
984
1006
|
moving: string;
|
|
985
1007
|
moveFailed: string;
|
|
1008
|
+
moveSwitchFailed: string;
|
|
986
1009
|
moveBusy: string;
|
|
1010
|
+
moveWhileRunning: string;
|
|
1011
|
+
moveWhileApproval: string;
|
|
987
1012
|
confirmTitle: string;
|
|
988
|
-
confirmDescription: string;
|
|
1013
|
+
confirmDescription: (folder: string | null) => string;
|
|
1014
|
+
confirmAction: string;
|
|
989
1015
|
cancel: string;
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1016
|
+
placeOn: (folder: string, computer: string) => string;
|
|
1017
|
+
cloudPlace: string;
|
|
1018
|
+
movedToCloud: (from: string | null) => string;
|
|
1019
|
+
movedToFolder: (place: string) => string;
|
|
1020
|
+
movedToComputer: (owner: string | null) => string;
|
|
1021
|
+
movedBetweenFolders: (folder: string, from: string) => string;
|
|
1022
|
+
movedElsewhere: (place: string | null) => string;
|
|
1023
|
+
continuedIn: (place: string) => string;
|
|
1024
|
+
continuedOnComputer: (owner: string | null) => string;
|
|
993
1025
|
};
|
|
994
1026
|
sharing: {
|
|
995
1027
|
share: string;
|
|
@@ -1140,6 +1172,9 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1140
1172
|
threadsLoadFailed: string;
|
|
1141
1173
|
sharedThreadsLoadFailed: string;
|
|
1142
1174
|
sendFailed: string;
|
|
1175
|
+
editFailed: string;
|
|
1176
|
+
editBusy: string;
|
|
1177
|
+
editBusyOther: string;
|
|
1143
1178
|
busy: string;
|
|
1144
1179
|
busyOther: string;
|
|
1145
1180
|
sandboxUnavailable: string;
|
|
@@ -1339,6 +1374,12 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1339
1374
|
ago: (time: string) => string;
|
|
1340
1375
|
};
|
|
1341
1376
|
transcript: {
|
|
1377
|
+
editMessage: string;
|
|
1378
|
+
copyMessage: string;
|
|
1379
|
+
copiedMessage: string;
|
|
1380
|
+
editInfo: string;
|
|
1381
|
+
cancelEdit: string;
|
|
1382
|
+
saveEdit: string;
|
|
1342
1383
|
condensed: string;
|
|
1343
1384
|
condensing: string;
|
|
1344
1385
|
condensingLabel: string;
|
|
@@ -1367,6 +1408,7 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
1367
1408
|
diagnostics: {
|
|
1368
1409
|
step_limit_reached: string;
|
|
1369
1410
|
output_limit_reached: string;
|
|
1411
|
+
workspace_not_saved: string;
|
|
1370
1412
|
unknown: string;
|
|
1371
1413
|
};
|
|
1372
1414
|
activity: {
|
|
@@ -2044,6 +2086,10 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
2044
2086
|
resuming: string;
|
|
2045
2087
|
resumeHint: string;
|
|
2046
2088
|
resumeFailed: string;
|
|
2089
|
+
answeredTitle: string;
|
|
2090
|
+
answeredDescription: string;
|
|
2091
|
+
keepFiles: string;
|
|
2092
|
+
keepingFiles: string;
|
|
2047
2093
|
};
|
|
2048
2094
|
background: {
|
|
2049
2095
|
card: (command: string) => string;
|
|
@@ -2086,27 +2132,45 @@ export declare const AgentLabelsProvider: (props: import("@sixb/ui/lib/i18n").La
|
|
|
2086
2132
|
computer: {
|
|
2087
2133
|
online: string;
|
|
2088
2134
|
offline: string;
|
|
2089
|
-
|
|
2135
|
+
folderUnavailable: (folder: string, computer: string) => string;
|
|
2136
|
+
messageWaiting: (folder: string, computer: string) => string;
|
|
2090
2137
|
noFolder: string;
|
|
2091
2138
|
offlineHere: (folder: string) => string;
|
|
2092
2139
|
runHere: string;
|
|
2093
2140
|
waitingFor: (computer: string) => string;
|
|
2094
2141
|
placeTitle: string;
|
|
2095
|
-
placeChip: (place: string) => string;
|
|
2142
|
+
placeChip: (place: string, status: string | null) => string;
|
|
2143
|
+
noFolderChip: string;
|
|
2096
2144
|
cloud: string;
|
|
2145
|
+
cloudDescription: string;
|
|
2146
|
+
thisComputer: string;
|
|
2147
|
+
checkingComputers: string;
|
|
2148
|
+
noComputers: string;
|
|
2149
|
+
offlineLabel: string;
|
|
2150
|
+
offlineMenuHint: string;
|
|
2097
2151
|
chooseFolder: string;
|
|
2098
2152
|
chooseFolderShort: string;
|
|
2099
2153
|
forgetFolder: (folder: string) => string;
|
|
2100
2154
|
continueInCloud: string;
|
|
2101
2155
|
moving: string;
|
|
2102
2156
|
moveFailed: string;
|
|
2157
|
+
moveSwitchFailed: string;
|
|
2103
2158
|
moveBusy: string;
|
|
2159
|
+
moveWhileRunning: string;
|
|
2160
|
+
moveWhileApproval: string;
|
|
2104
2161
|
confirmTitle: string;
|
|
2105
|
-
confirmDescription: string;
|
|
2162
|
+
confirmDescription: (folder: string | null) => string;
|
|
2163
|
+
confirmAction: string;
|
|
2106
2164
|
cancel: string;
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2165
|
+
placeOn: (folder: string, computer: string) => string;
|
|
2166
|
+
cloudPlace: string;
|
|
2167
|
+
movedToCloud: (from: string | null) => string;
|
|
2168
|
+
movedToFolder: (place: string) => string;
|
|
2169
|
+
movedToComputer: (owner: string | null) => string;
|
|
2170
|
+
movedBetweenFolders: (folder: string, from: string) => string;
|
|
2171
|
+
movedElsewhere: (place: string | null) => string;
|
|
2172
|
+
continuedIn: (place: string) => string;
|
|
2173
|
+
continuedOnComputer: (owner: string | null) => string;
|
|
2110
2174
|
};
|
|
2111
2175
|
sharing: {
|
|
2112
2176
|
share: string;
|