@sixb/app 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/agent-chat.d.ts +8 -1
- package/dist/agent/agent-chat.d.ts.map +1 -1
- package/dist/agent/agent-panel.d.ts +8 -1
- package/dist/agent/agent-panel.d.ts.map +1 -1
- package/dist/agent/agent-surface.d.ts +8 -1
- package/dist/agent/agent-surface.d.ts.map +1 -1
- package/dist/agent/approvals.d.ts +1 -4
- package/dist/agent/approvals.d.ts.map +1 -1
- package/dist/agent/artifact-panel.d.ts +21 -2
- package/dist/agent/artifact-panel.d.ts.map +1 -1
- package/dist/agent/components/activity-status.d.ts +1 -1
- package/dist/agent/components/activity-status.d.ts.map +1 -1
- package/dist/agent/components/agent-threads.d.ts +15 -0
- package/dist/agent/components/agent-threads.d.ts.map +1 -0
- package/dist/agent/components/approval-card.d.ts +4 -4
- package/dist/agent/components/approval-card.d.ts.map +1 -1
- package/dist/agent/components/approval-mode-chip.d.ts +4 -6
- package/dist/agent/components/approval-mode-chip.d.ts.map +1 -1
- package/dist/agent/components/auto-model-chip.d.ts +2 -3
- package/dist/agent/components/auto-model-chip.d.ts.map +1 -1
- package/dist/agent/components/composer-menu.d.ts +42 -0
- package/dist/agent/components/composer-menu.d.ts.map +1 -0
- package/dist/agent/components/composer.d.ts +8 -5
- package/dist/agent/components/composer.d.ts.map +1 -1
- package/dist/agent/components/conversation-panel.d.ts +3 -12
- package/dist/agent/components/conversation-panel.d.ts.map +1 -1
- package/dist/agent/components/dictation-bar.d.ts +13 -0
- package/dist/agent/components/dictation-bar.d.ts.map +1 -0
- package/dist/agent/components/message-parts.d.ts.map +1 -1
- package/dist/agent/components/message-view.d.ts +3 -1
- package/dist/agent/components/message-view.d.ts.map +1 -1
- package/dist/agent/components/model-controls.d.ts +15 -0
- package/dist/agent/components/model-controls.d.ts.map +1 -1
- package/dist/agent/components/model-picker-row.d.ts +9 -2
- package/dist/agent/components/model-picker-row.d.ts.map +1 -1
- package/dist/agent/components/participant-input.d.ts +7 -6
- package/dist/agent/components/participant-input.d.ts.map +1 -1
- package/dist/agent/components/thread-people.d.ts +4 -4
- package/dist/agent/components/thread-people.d.ts.map +1 -1
- package/dist/agent/components/threads-button.d.ts +14 -0
- package/dist/agent/components/threads-button.d.ts.map +1 -0
- package/dist/agent/conversation.d.ts +3 -1
- package/dist/agent/conversation.d.ts.map +1 -1
- package/dist/agent/delegation/child-card.d.ts +24 -11
- package/dist/agent/delegation/child-card.d.ts.map +1 -1
- package/dist/agent/delegation/child-cards.d.ts +2 -2
- package/dist/agent/delegation/child-cards.d.ts.map +1 -1
- package/dist/agent/delegation/child-group.d.ts +5 -4
- package/dist/agent/delegation/child-group.d.ts.map +1 -1
- package/dist/agent/delegation/child-parts.d.ts +17 -18
- package/dist/agent/delegation/child-parts.d.ts.map +1 -1
- package/dist/agent/delegation/child-work.d.ts +0 -13
- package/dist/agent/delegation/child-work.d.ts.map +1 -1
- package/dist/agent/delegation/interpret.d.ts +0 -5
- package/dist/agent/delegation/interpret.d.ts.map +1 -1
- package/dist/agent/delegation/model.d.ts +12 -6
- package/dist/agent/delegation/model.d.ts.map +1 -1
- package/dist/agent/dictation.d.ts +16 -0
- package/dist/agent/dictation.d.ts.map +1 -0
- package/dist/agent/hooks/use-agent-conversation.d.ts +3 -270
- package/dist/agent/hooks/use-agent-conversation.d.ts.map +1 -1
- package/dist/agent/hooks/use-people-suggestions.d.ts +21 -0
- package/dist/agent/hooks/use-people-suggestions.d.ts.map +1 -0
- package/dist/agent/hooks/use-thread-lists.d.ts +220 -0
- package/dist/agent/hooks/use-thread-lists.d.ts.map +1 -0
- package/dist/agent/i18n/en.d.ts +47 -36
- package/dist/agent/i18n/en.d.ts.map +1 -1
- package/dist/agent/i18n/fr.d.ts.map +1 -1
- package/dist/agent/i18n/index.d.ts +84 -72
- package/dist/agent/i18n/index.d.ts.map +1 -1
- package/dist/agent/react-router.d.ts +9 -0
- package/dist/agent/react-router.d.ts.map +1 -1
- package/dist/agent/run-presentation.d.ts +4 -1
- package/dist/agent/run-presentation.d.ts.map +1 -1
- package/dist/agent/thread-navigation.d.ts +8 -0
- package/dist/agent/thread-navigation.d.ts.map +1 -1
- package/dist/agent/thread-pages.d.ts +11 -0
- package/dist/agent/thread-pages.d.ts.map +1 -0
- package/dist/artifacts/person-avatar.d.ts +2 -2
- package/dist/{chunk-aes17xmx.js → chunk-12v6y89k.js} +4180 -3793
- package/dist/{chunk-aes17xmx.js.map → chunk-12v6y89k.js.map} +48 -42
- package/dist/{chunk-0yb22w6m.js → chunk-2a69ge8h.js} +1 -1
- package/dist/{chunk-vtp6nk44.js → chunk-bpj9mg5c.js} +1 -1
- package/dist/{chunk-1rhht9y0.js → chunk-hzy2g13h.js} +1 -1
- package/dist/createCustomApp.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -6
- package/dist/index.js.map +6 -6
- package/dist/pages/home.d.ts.map +1 -1
- package/dist/pages/observability/ai-usage/calls.d.ts.map +1 -1
- package/dist/pages/settings/memory-history.d.ts.map +1 -1
- package/dist/pages/settings/messages.d.ts.map +1 -1
- package/dist/pages/values.d.ts +5 -0
- package/dist/pages/values.d.ts.map +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.d.ts.map +1 -1
- package/dist/pages.js +60 -44
- package/dist/pages.js.map +8 -8
- package/dist/server.js +12 -6
- package/dist/server.js.map +3 -3
- package/dist/shell/agent-dock.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/agent/agent-chat.tsx +15 -23
- package/src/agent/agent-panel.tsx +11 -0
- package/src/agent/agent-surface.tsx +11 -0
- package/src/agent/agent.css +33 -3
- package/src/agent/approvals.ts +4 -5
- package/src/agent/artifact-panel.tsx +113 -37
- package/src/agent/components/activity-status.tsx +1 -1
- package/src/agent/components/agent-threads.tsx +377 -0
- package/src/agent/components/approval-card.tsx +336 -327
- package/src/agent/components/approval-mode-chip.tsx +38 -145
- package/src/agent/components/auto-model-chip.tsx +103 -167
- package/src/agent/components/composer-menu.tsx +185 -0
- package/src/agent/components/composer.tsx +168 -103
- package/src/agent/components/context-chips.tsx +1 -1
- package/src/agent/components/conversation-panel.tsx +16 -36
- package/src/agent/components/dictation-bar.tsx +110 -0
- package/src/agent/components/file-attachment-card.tsx +5 -2
- package/src/agent/components/message-parts.tsx +27 -11
- package/src/agent/components/message-view.tsx +182 -68
- package/src/agent/components/model-controls.tsx +133 -125
- package/src/agent/components/model-picker-row.tsx +38 -17
- package/src/agent/components/participant-input.tsx +159 -31
- package/src/agent/components/reasoning-effort-slider.tsx +27 -27
- package/src/agent/components/shared-thread-notice.tsx +1 -1
- package/src/agent/components/thread-people.tsx +45 -15
- package/src/agent/components/threads-button.tsx +70 -0
- package/src/agent/components/transcript.tsx +30 -1
- package/src/agent/conversation.ts +25 -1
- package/src/agent/delegation/child-card.tsx +187 -247
- package/src/agent/delegation/child-cards.tsx +4 -7
- package/src/agent/delegation/child-group.tsx +179 -98
- package/src/agent/delegation/child-parts.tsx +71 -106
- package/src/agent/delegation/child-work.tsx +6 -52
- package/src/agent/delegation/interpret.ts +0 -28
- package/src/agent/delegation/model.ts +115 -39
- package/src/agent/dictation.ts +48 -0
- package/src/agent/hooks/use-agent-conversation.ts +10 -92
- package/src/agent/hooks/use-people-suggestions.ts +90 -0
- package/src/agent/hooks/use-thread-lists.ts +77 -0
- package/src/agent/i18n/en.ts +100 -83
- package/src/agent/i18n/fr.ts +109 -100
- package/src/agent/react-router.tsx +48 -5
- package/src/agent/run-presentation.ts +6 -2
- package/src/agent/thread-navigation.ts +16 -0
- package/src/agent/thread-pages.ts +24 -0
- package/src/artifacts/person-avatar.tsx +1 -1
- package/src/createCustomApp.ts +13 -6
- package/src/index.ts +7 -3
- package/src/pages/home.tsx +3 -1
- package/src/pages/observability/ai-usage/calls.tsx +2 -1
- package/src/pages/settings/memory-history.tsx +2 -1
- package/src/pages/settings/messages.ts +2 -3
- package/src/pages/values.tsx +23 -1
- package/src/pages.ts +5 -1
- package/src/shell/agent-dock.tsx +4 -2
- package/dist/agent/agents-page.d.ts +0 -4
- package/dist/agent/agents-page.d.ts.map +0 -1
- package/dist/agent/components/agent-thread-switcher.d.ts +0 -37
- package/dist/agent/components/agent-thread-switcher.d.ts.map +0 -1
- package/src/agent/agents-page.ts +0 -7
- package/src/agent/components/agent-thread-switcher.tsx +0 -519
- /package/dist/{chunk-0yb22w6m.js.map → chunk-2a69ge8h.js.map} +0 -0
- /package/dist/{chunk-vtp6nk44.js.map → chunk-bpj9mg5c.js.map} +0 -0
- /package/dist/{chunk-1rhht9y0.js.map → chunk-hzy2g13h.js.map} +0 -0
package/src/pages/home.tsx
CHANGED
|
@@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/react-query"
|
|
|
3
3
|
import { useState } from "react"
|
|
4
4
|
import { useNavigate } from "react-router-dom"
|
|
5
5
|
import { AgentChat } from "../agent/agent-chat"
|
|
6
|
+
import { THREADS_PATH, threadPath } from "../agent/thread-navigation"
|
|
6
7
|
import { useAppMessages } from "../locale"
|
|
7
8
|
import { readDocumentIdentity } from "../shell/brand"
|
|
8
9
|
import { Mosaic } from "./mosaic"
|
|
@@ -27,7 +28,8 @@ export function HomePage() {
|
|
|
27
28
|
threadId={null}
|
|
28
29
|
welcomeContent={<Welcome />}
|
|
29
30
|
onNavigateHome={() => navigate("/")}
|
|
30
|
-
onNavigateThread={(threadId) => navigate(
|
|
31
|
+
onNavigateThread={(threadId) => navigate(threadPath(threadId))}
|
|
32
|
+
onOpenThreads={() => navigate(THREADS_PATH)}
|
|
31
33
|
/>
|
|
32
34
|
) : (
|
|
33
35
|
<Empty />
|
|
@@ -11,6 +11,7 @@ import { useQuery } from "@tanstack/react-query"
|
|
|
11
11
|
import { ArrowUpRight, Bot, ChevronRight, GitBranch, Layers, Workflow, Zap } from "lucide-react"
|
|
12
12
|
import { type ReactNode, useState } from "react"
|
|
13
13
|
import { Link } from "react-router-dom"
|
|
14
|
+
import { threadPath } from "../../../agent/thread-navigation"
|
|
14
15
|
import { actionRunHref, workflowRunHref } from "../../routes"
|
|
15
16
|
import { PageSection, Panel, Pill, type Tone } from "../../section-ui"
|
|
16
17
|
import { formatMoney } from "./format"
|
|
@@ -141,7 +142,7 @@ function groupLabel(group: Group, messages: AiUsageMessages["calls"]): string {
|
|
|
141
142
|
function groupHref(group: Group): string | undefined {
|
|
142
143
|
const source = group.attribution
|
|
143
144
|
if (source?.kind === "agent") {
|
|
144
|
-
return group.canOpenThread ?
|
|
145
|
+
return group.canOpenThread ? threadPath(source.threadId) : undefined
|
|
145
146
|
}
|
|
146
147
|
if (source?.kind === "workflowAgent" || source?.kind === "workflow") {
|
|
147
148
|
return workflowRunHref(source.workflowRunId)
|
|
@@ -19,6 +19,7 @@ import { keepPreviousData, useMutation, useQuery, useQueryClient } from "@tansta
|
|
|
19
19
|
import { ChevronRight, History, Loader2, MessageSquare, RotateCcw } from "lucide-react"
|
|
20
20
|
import { useMemo, useState } from "react"
|
|
21
21
|
import { Link } from "react-router-dom"
|
|
22
|
+
import { threadPathFromLink } from "../../agent/thread-navigation"
|
|
22
23
|
import { useCurrentUser } from "../../session"
|
|
23
24
|
import { notify } from "../section-page"
|
|
24
25
|
import {
|
|
@@ -192,7 +193,7 @@ function useChangeOrigin(): (revision: Revision) => {
|
|
|
192
193
|
// Someone else's conversation would not open for this person.
|
|
193
194
|
if (source) {
|
|
194
195
|
return mine
|
|
195
|
-
? { label: messages.inYourConversation, conversation: source }
|
|
196
|
+
? { label: messages.inYourConversation, conversation: threadPathFromLink(source) }
|
|
196
197
|
: { label: messages.inTeammateConversation, conversation: null }
|
|
197
198
|
}
|
|
198
199
|
return { label: mine ? messages.editedByYou : messages.editedByTeammate, conversation: null }
|
|
@@ -81,7 +81,7 @@ export const en = {
|
|
|
81
81
|
approvals: "When the agent changes things",
|
|
82
82
|
approvalsDescription:
|
|
83
83
|
"What the agent may do without asking you, in conversations where you haven't chosen a mode. Switch in any conversation from the chip under the message box.",
|
|
84
|
-
approvalsShortcut: "Shift+Tab in an empty message switches
|
|
84
|
+
approvalsShortcut: "Shift+Tab in an empty message switches to the next mode.",
|
|
85
85
|
approvalsSaved: "Saved. Conversations where you haven't chosen a mode use it.",
|
|
86
86
|
approvalsSaveFailed: "Could not save your choice.",
|
|
87
87
|
},
|
|
@@ -458,8 +458,7 @@ export const fr: Translation<SettingsMessages> = {
|
|
|
458
458
|
approvals: "Quand l’agent modifie quelque chose",
|
|
459
459
|
approvalsDescription:
|
|
460
460
|
"Ce que l’agent peut faire sans vous demander, dans les conversations où vous n’avez pas choisi de mode. Changez-le dans n’importe quelle conversation depuis le bouton sous la zone de message.",
|
|
461
|
-
approvalsShortcut:
|
|
462
|
-
"Maj+Tab dans un message vide alterne entre Manuel et Modifications acceptées.",
|
|
461
|
+
approvalsShortcut: "Maj+Tab dans un message vide passe au mode suivant.",
|
|
463
462
|
approvalsSaved: "Enregistré. Les conversations où vous n’avez pas choisi de mode l’utilisent.",
|
|
464
463
|
approvalsSaveFailed: "Impossible d’enregistrer votre choix.",
|
|
465
464
|
},
|
package/src/pages/values.tsx
CHANGED
|
@@ -23,7 +23,15 @@ import {
|
|
|
23
23
|
import { cn } from "@sixb/ui/lib/utils"
|
|
24
24
|
import { useQuery } from "@tanstack/react-query"
|
|
25
25
|
import { Box, Download, Eye, FileIcon, UserRound } from "lucide-react"
|
|
26
|
-
import {
|
|
26
|
+
import {
|
|
27
|
+
createContext,
|
|
28
|
+
type ReactNode,
|
|
29
|
+
useContext,
|
|
30
|
+
useLayoutEffect,
|
|
31
|
+
useMemo,
|
|
32
|
+
useRef,
|
|
33
|
+
useState,
|
|
34
|
+
} from "react"
|
|
27
35
|
import { Link } from "react-router-dom"
|
|
28
36
|
import { objectHref } from "./routes"
|
|
29
37
|
import { CopyButton } from "./section-ui"
|
|
@@ -503,6 +511,12 @@ function Field({
|
|
|
503
511
|
)
|
|
504
512
|
}
|
|
505
513
|
|
|
514
|
+
/**
|
|
515
|
+
* Whether an object reference links to its page. A view many people read, such as an agent's
|
|
516
|
+
* approval card, names the object without sending its readers to the page.
|
|
517
|
+
*/
|
|
518
|
+
export const ObjectRefLinksContext = createContext(true)
|
|
519
|
+
|
|
506
520
|
function Leaf({
|
|
507
521
|
value,
|
|
508
522
|
position,
|
|
@@ -515,8 +529,16 @@ function Leaf({
|
|
|
515
529
|
readonly path: readonly string[]
|
|
516
530
|
}) {
|
|
517
531
|
const locale = useLocale()
|
|
532
|
+
const objectLinks = useContext(ObjectRefLinksContext)
|
|
518
533
|
if (position.objectRef) {
|
|
519
534
|
const { objectTypeId, primaryId } = position.objectRef
|
|
535
|
+
if (!objectLinks) {
|
|
536
|
+
return (
|
|
537
|
+
<span className="break-words">
|
|
538
|
+
{objectTypeId} <span className="text-muted-foreground">{primaryId}</span>
|
|
539
|
+
</span>
|
|
540
|
+
)
|
|
541
|
+
}
|
|
520
542
|
return (
|
|
521
543
|
<Link
|
|
522
544
|
to={objectHref(objectTypeId, primaryId)}
|
package/src/pages.ts
CHANGED
|
@@ -7,7 +7,11 @@
|
|
|
7
7
|
* then keeps the whole graph of a module imported here for its own code: every app with a layout
|
|
8
8
|
* would bundle every page.
|
|
9
9
|
*/
|
|
10
|
-
export {
|
|
10
|
+
export {
|
|
11
|
+
AgentThreadRedirect,
|
|
12
|
+
ThreadPage,
|
|
13
|
+
ThreadsPage,
|
|
14
|
+
} from "./agent/thread-pages"
|
|
11
15
|
export { AgentToolViewsProvider } from "./agent/tool-views/registry"
|
|
12
16
|
export { ArtifactPage } from "./artifacts/artifact-page"
|
|
13
17
|
export { ArtifactsPage } from "./artifacts/gallery"
|
package/src/shell/agent-dock.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import { getAgentOptions } from "@sixb/client/hooks"
|
|
|
2
2
|
import { useQuery } from "@tanstack/react-query"
|
|
3
3
|
import { useLocation, useNavigate } from "react-router-dom"
|
|
4
4
|
import { AgentSurface } from "../agent/agent-surface"
|
|
5
|
+
import { THREADS_PATH, threadPath } from "../agent/thread-navigation"
|
|
5
6
|
import { useAppMessages } from "../locale"
|
|
6
7
|
import { useSectionsEnabled } from "../sections/sections"
|
|
7
8
|
|
|
@@ -17,7 +18,7 @@ export function AgentDock() {
|
|
|
17
18
|
const enabled = useSectionsEnabled()
|
|
18
19
|
const agent = useQuery({ ...getAgentOptions(), enabled, retry: false, staleTime: 5 * 60_000 })
|
|
19
20
|
const conversationPage =
|
|
20
|
-
pathname === "/" || pathname ===
|
|
21
|
+
pathname === "/" || pathname === THREADS_PATH || pathname.startsWith(`${THREADS_PATH}/`)
|
|
21
22
|
if (!enabled || !agent.data || conversationPage) return null
|
|
22
23
|
|
|
23
24
|
return (
|
|
@@ -25,7 +26,8 @@ export function AgentDock() {
|
|
|
25
26
|
title={messages.title}
|
|
26
27
|
launcherLabel={messages.open}
|
|
27
28
|
defaultMode="collapsed"
|
|
28
|
-
onExpandThread={(threadId) => navigate(
|
|
29
|
+
onExpandThread={(threadId) => navigate(threadPath(threadId))}
|
|
30
|
+
onOpenThreads={() => navigate(THREADS_PATH)}
|
|
29
31
|
persistenceKey="sixb.app.agent-dock.v1"
|
|
30
32
|
/>
|
|
31
33
|
)
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type AgentChatPageProps } from "./react-router";
|
|
2
|
-
/** The framework's `/agents` routes: the project's conversations, full page. */
|
|
3
|
-
export declare function AgentsPage(props: Omit<AgentChatPageProps, "routeBase">): import("react").FunctionComponentElement<AgentChatPageProps>;
|
|
4
|
-
//# sourceMappingURL=agents-page.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agents-page.d.ts","sourceRoot":"","sources":["../../src/agent/agents-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAEvE,gFAAgF;AAChF,wBAAgB,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAE,WAAW,CAAC,gEAEtE"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { AgentThread } from "../types";
|
|
2
|
-
/** The conversations other people shared with the reader, paged like their own. */
|
|
3
|
-
export interface SharedThreadList {
|
|
4
|
-
readonly threads: readonly AgentThread[];
|
|
5
|
-
/** All of them, beyond the pages read so far. */
|
|
6
|
-
readonly total: number;
|
|
7
|
-
readonly error?: string | null;
|
|
8
|
-
readonly hasMore?: boolean;
|
|
9
|
-
readonly loadingMore?: boolean;
|
|
10
|
-
readonly loadMoreError?: boolean;
|
|
11
|
-
readonly onLoadMore?: () => void;
|
|
12
|
-
}
|
|
13
|
-
export interface AgentThreadSwitcherProps {
|
|
14
|
-
readonly agentName: string;
|
|
15
|
-
readonly currentThread: AgentThread | null;
|
|
16
|
-
readonly threads: readonly AgentThread[];
|
|
17
|
-
/**
|
|
18
|
-
* Conversations other people shared with the reader, listed apart from their own. Omitted
|
|
19
|
-
* where nothing can be shared, without a signed-in user.
|
|
20
|
-
*/
|
|
21
|
-
readonly sharedThreads?: SharedThreadList;
|
|
22
|
-
readonly runningThreadCount?: number;
|
|
23
|
-
/**
|
|
24
|
-
* The threads where a call waits for the reader's approval: they open the list, each row says so,
|
|
25
|
-
* and the button counts them.
|
|
26
|
-
*/
|
|
27
|
-
readonly waitingThreadIds?: ReadonlySet<string>;
|
|
28
|
-
readonly threadsError?: string | null;
|
|
29
|
-
readonly hasMoreThreads?: boolean;
|
|
30
|
-
readonly loadingMoreThreads?: boolean;
|
|
31
|
-
readonly loadMoreThreadsError?: boolean;
|
|
32
|
-
readonly onLoadMoreThreads?: () => void;
|
|
33
|
-
readonly onSelectThread: (threadId: string) => void;
|
|
34
|
-
readonly onNewThread?: () => void;
|
|
35
|
-
}
|
|
36
|
-
export declare function AgentThreadSwitcher({ agentName, currentThread, threads, sharedThreads, runningThreadCount, waitingThreadIds, threadsError, hasMoreThreads, loadingMoreThreads, loadMoreThreadsError, onLoadMoreThreads, onSelectThread, onNewThread, }: AgentThreadSwitcherProps): import("react").JSX.Element;
|
|
37
|
-
//# sourceMappingURL=agent-thread-switcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent-thread-switcher.d.ts","sourceRoot":"","sources":["../../../src/agent/components/agent-thread-switcher.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,mFAAmF;AACnF,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAA;IACxC,iDAAiD;IACjD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,CAAA;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;CACjC;AAKD,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,aAAa,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1C,QAAQ,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,CAAA;IACxC;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,CAAA;IACzC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IACpC;;;OAGG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAC/C,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IACrC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAA;IACvC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IACvC,QAAQ,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;CAClC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,aAAa,EACb,OAAO,EACP,aAAa,EACb,kBAAsB,EACtB,gBAAqC,EACrC,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,WAAW,GACZ,EAAE,wBAAwB,+BA0S1B"}
|
package/src/agent/agents-page.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { createElement } from "react"
|
|
2
|
-
import { AgentChatPage, type AgentChatPageProps } from "./react-router"
|
|
3
|
-
|
|
4
|
-
/** The framework's `/agents` routes: the project's conversations, full page. */
|
|
5
|
-
export function AgentsPage(props: Omit<AgentChatPageProps, "routeBase">) {
|
|
6
|
-
return createElement(AgentChatPage, { ...props, routeBase: "/agents" })
|
|
7
|
-
}
|