@sixb/app 0.1.14 → 0.1.15

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.
Files changed (70) hide show
  1. package/dist/{chunk-vtp6nk44.js → chunk-736c9akn.js} +1 -1
  2. package/dist/{chunk-1rhht9y0.js → chunk-n0cxwvej.js} +1 -1
  3. package/dist/{chunk-0yb22w6m.js → chunk-qh1panvd.js} +1 -1
  4. package/dist/{chunk-aes17xmx.js → chunk-twjs2sb9.js} +3928 -3717
  5. package/dist/{chunk-aes17xmx.js.map → chunk-twjs2sb9.js.map} +46 -42
  6. package/dist/index.js +15 -6
  7. package/dist/index.js.map +6 -6
  8. package/dist/pages.js +60 -44
  9. package/dist/pages.js.map +8 -8
  10. package/dist/server.js +12 -6
  11. package/dist/server.js.map +3 -3
  12. package/package.json +3 -3
  13. package/src/agent/agent-chat.tsx +4 -22
  14. package/src/agent/agent-panel.tsx +4 -0
  15. package/src/agent/agent-surface.tsx +4 -0
  16. package/src/agent/agent.css +33 -3
  17. package/src/agent/approvals.ts +4 -5
  18. package/src/agent/artifact-panel.tsx +113 -37
  19. package/src/agent/components/activity-status.tsx +1 -1
  20. package/src/agent/components/agent-threads.tsx +377 -0
  21. package/src/agent/components/approval-card.tsx +336 -327
  22. package/src/agent/components/approval-mode-chip.tsx +38 -145
  23. package/src/agent/components/auto-model-chip.tsx +103 -167
  24. package/src/agent/components/composer-menu.tsx +185 -0
  25. package/src/agent/components/composer.tsx +38 -43
  26. package/src/agent/components/context-chips.tsx +1 -1
  27. package/src/agent/components/conversation-panel.tsx +16 -36
  28. package/src/agent/components/file-attachment-card.tsx +5 -2
  29. package/src/agent/components/message-parts.tsx +27 -11
  30. package/src/agent/components/message-view.tsx +182 -68
  31. package/src/agent/components/model-controls.tsx +133 -125
  32. package/src/agent/components/model-picker-row.tsx +38 -17
  33. package/src/agent/components/participant-input.tsx +159 -31
  34. package/src/agent/components/reasoning-effort-slider.tsx +27 -27
  35. package/src/agent/components/shared-thread-notice.tsx +1 -1
  36. package/src/agent/components/thread-people.tsx +45 -15
  37. package/src/agent/components/threads-button.tsx +70 -0
  38. package/src/agent/components/transcript.tsx +30 -1
  39. package/src/agent/conversation.ts +25 -1
  40. package/src/agent/delegation/child-card.tsx +187 -247
  41. package/src/agent/delegation/child-cards.tsx +4 -7
  42. package/src/agent/delegation/child-group.tsx +179 -98
  43. package/src/agent/delegation/child-parts.tsx +71 -106
  44. package/src/agent/delegation/child-work.tsx +6 -52
  45. package/src/agent/delegation/interpret.ts +0 -28
  46. package/src/agent/delegation/model.ts +115 -39
  47. package/src/agent/hooks/use-agent-conversation.ts +7 -92
  48. package/src/agent/hooks/use-people-suggestions.ts +90 -0
  49. package/src/agent/hooks/use-thread-lists.ts +77 -0
  50. package/src/agent/i18n/en.ts +96 -83
  51. package/src/agent/i18n/fr.ts +105 -100
  52. package/src/agent/react-router.tsx +48 -5
  53. package/src/agent/run-presentation.ts +6 -2
  54. package/src/agent/thread-navigation.ts +16 -0
  55. package/src/agent/thread-pages.ts +24 -0
  56. package/src/artifacts/person-avatar.tsx +1 -1
  57. package/src/createCustomApp.ts +13 -6
  58. package/src/index.ts +7 -3
  59. package/src/pages/home.tsx +3 -1
  60. package/src/pages/observability/ai-usage/calls.tsx +2 -1
  61. package/src/pages/settings/memory-history.tsx +2 -1
  62. package/src/pages/settings/messages.ts +2 -3
  63. package/src/pages/values.tsx +23 -1
  64. package/src/pages.ts +5 -1
  65. package/src/shell/agent-dock.tsx +4 -2
  66. package/src/agent/agents-page.ts +0 -7
  67. package/src/agent/components/agent-thread-switcher.tsx +0 -519
  68. /package/dist/{chunk-vtp6nk44.js.map → chunk-736c9akn.js.map} +0 -0
  69. /package/dist/{chunk-1rhht9y0.js.map → chunk-n0cxwvej.js.map} +0 -0
  70. /package/dist/{chunk-0yb22w6m.js.map → chunk-qh1panvd.js.map} +0 -0
package/dist/pages.js CHANGED
@@ -85,9 +85,13 @@ import {
85
85
  createLiveRunState,
86
86
  AssistantBody,
87
87
  Transcript2,
88
+ THREADS_PATH,
89
+ threadPath,
90
+ threadPathFromLink,
88
91
  ThreadArtifactsMenu2,
89
92
  AgentChat,
90
93
  AgentChatPage2,
94
+ AgentThreadsPage,
91
95
  useSyncLiveUpdates,
92
96
  usePipelineLiveUpdates,
93
97
  useDatasetLiveUpdates,
@@ -99,7 +103,7 @@ import {
99
103
  useSections2,
100
104
  useSectionNavMounted,
101
105
  readDocumentIdentity
102
- } from "./chunk-aes17xmx.js";
106
+ } from "./chunk-twjs2sb9.js";
103
107
  import {
104
108
  useAppMessages2
105
109
  } from "./chunk-k4epnkcr.js";
@@ -109,16 +113,25 @@ import {
109
113
  isSampleInBounds
110
114
  } from "./chunk-6n5pdqp0.js";
111
115
 
112
- // src/agent/agents-page.ts
116
+ // src/agent/thread-pages.ts
113
117
  import { createElement } from "react";
114
- function AgentsPage(props) {
115
- return createElement(AgentChatPage2, { ...props, routeBase: "/agents" });
118
+ import { Navigate, useParams } from "react-router-dom";
119
+ function ThreadPage(props) {
120
+ return createElement(AgentChatPage2, props);
121
+ }
122
+ var ThreadsPage = AgentThreadsPage;
123
+ function AgentThreadRedirect() {
124
+ const { threadId } = useParams();
125
+ return createElement(Navigate, {
126
+ to: threadId ? threadPath(threadId) : THREADS_PATH,
127
+ replace: true
128
+ });
116
129
  }
117
130
  // src/artifacts/artifact-page.tsx
118
- import { useNavigate, useParams, useSearchParams } from "react-router-dom";
131
+ import { useNavigate, useParams as useParams2, useSearchParams } from "react-router-dom";
119
132
  import { jsx } from "react/jsx-runtime";
120
133
  function ArtifactPage() {
121
- const { artifactId } = useParams();
134
+ const { artifactId } = useParams2();
122
135
  const [searchParams, setSearchParams] = useSearchParams();
123
136
  const navigate = useNavigate();
124
137
  if (!artifactId)
@@ -521,13 +534,13 @@ import {
521
534
  } from "@sixb/client/hooks";
522
535
  import { useQuery as useQuery2 } from "@tanstack/react-query";
523
536
  import { Cable as Cable2, ChevronRight, RefreshCw, Webhook } from "lucide-react";
524
- import { useParams as useParams2 } from "react-router-dom";
537
+ import { useParams as useParams3 } from "react-router-dom";
525
538
 
526
539
  // src/pages/section-page.tsx
527
540
  import { Toaster, toast } from "@sixb/ui/components";
528
541
  import { cn as cn2 } from "@sixb/ui/lib/utils";
529
542
  import { ChevronLeft } from "lucide-react";
530
- import { Link as Link2, Navigate, useLocation } from "react-router-dom";
543
+ import { Link as Link2, Navigate as Navigate2, useLocation } from "react-router-dom";
531
544
  import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
532
545
  var SECTION_TOASTER = "sixb-sections";
533
546
  var notify = {
@@ -543,7 +556,7 @@ function SectionPage({ section, page, ...frame }) {
543
556
  const allowed = usePageAllowed(section, page);
544
557
  const showTabs = !useSectionNavMounted();
545
558
  if (!allowed)
546
- return /* @__PURE__ */ jsx3(Navigate, {
559
+ return /* @__PURE__ */ jsx3(Navigate2, {
547
560
  to: "/",
548
561
  replace: true
549
562
  });
@@ -630,7 +643,7 @@ function SectionWorkspace({ section, page, children }) {
630
643
  const allowed = usePageAllowed(section, page);
631
644
  const showTabs = !useSectionNavMounted();
632
645
  if (!allowed)
633
- return /* @__PURE__ */ jsx3(Navigate, {
646
+ return /* @__PURE__ */ jsx3(Navigate2, {
634
647
  to: "/",
635
648
  replace: true
636
649
  });
@@ -692,7 +705,7 @@ function usePageAllowed(section, page) {
692
705
  }
693
706
  function SectionIndex({ section }) {
694
707
  const target = useOpenSections().find((candidate) => candidate.definition.id === section);
695
- return /* @__PURE__ */ jsx3(Navigate, {
708
+ return /* @__PURE__ */ jsx3(Navigate2, {
696
709
  to: target?.pages[0]?.path ?? "/",
697
710
  replace: true
698
711
  });
@@ -897,7 +910,7 @@ function DataConnectorPage() {
897
910
  const messages = useDataMessages();
898
911
  const format = useFormat();
899
912
  const numbers = useNumbers();
900
- const connectorId = useParams2().connectorId ?? "";
913
+ const connectorId = useParams3().connectorId ?? "";
901
914
  const connectorQuery = useQuery2({
902
915
  ...getConnectorOptions({ path: { connectorId } }),
903
916
  retry: false
@@ -1161,7 +1174,7 @@ import { cn as cn4 } from "@sixb/ui/lib/utils";
1161
1174
  import { keepPreviousData, useQuery as useQuery3 } from "@tanstack/react-query";
1162
1175
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight2, Columns3, Database, Info, Search } from "lucide-react";
1163
1176
  import { useMemo as useMemo2, useState as useState2 } from "react";
1164
- import { Link as Link3, useParams as useParams3, useSearchParams as useSearchParams3 } from "react-router-dom";
1177
+ import { Link as Link3, useParams as useParams4, useSearchParams as useSearchParams3 } from "react-router-dom";
1165
1178
 
1166
1179
  // src/pages/data/schema.tsx
1167
1180
  import { KeyRound } from "lucide-react";
@@ -1290,7 +1303,7 @@ function DataDatasetsPage() {
1290
1303
  });
1291
1304
  }
1292
1305
  function DataDatasetPage() {
1293
- const datasetId = useParams3().datasetId ?? "";
1306
+ const datasetId = useParams4().datasetId ?? "";
1294
1307
  return /* @__PURE__ */ jsx7(DatasetDetail, {
1295
1308
  datasetId
1296
1309
  }, datasetId);
@@ -1879,7 +1892,7 @@ import {
1879
1892
  X
1880
1893
  } from "lucide-react";
1881
1894
  import { lazy, Suspense, useMemo as useMemo3, useState as useState3 } from "react";
1882
- import { Link as Link4, useParams as useParams4, useSearchParams as useSearchParams4 } from "react-router-dom";
1895
+ import { Link as Link4, useParams as useParams5, useSearchParams as useSearchParams4 } from "react-router-dom";
1883
1896
  import { jsx as jsx8, jsxs as jsxs7, Fragment as Fragment5 } from "react/jsx-runtime";
1884
1897
  function DataPipelinesPage() {
1885
1898
  const messages = useDataMessages();
@@ -1961,10 +1974,10 @@ function DataPipelinesPage() {
1961
1974
  })
1962
1975
  });
1963
1976
  }
1964
- var PipelineCanvas = lazy(() => import("./chunk-vtp6nk44.js"));
1977
+ var PipelineCanvas = lazy(() => import("./chunk-736c9akn.js"));
1965
1978
  var previewRows = 50;
1966
1979
  function DataPipelinePage() {
1967
- const pipelineId = useParams4().pipelineId ?? "";
1980
+ const pipelineId = useParams5().pipelineId ?? "";
1968
1981
  return /* @__PURE__ */ jsx8(PipelineDetail, {
1969
1982
  pipelineId
1970
1983
  }, pipelineId);
@@ -2531,7 +2544,7 @@ import {
2531
2544
  import { useQuery as useQuery5 } from "@tanstack/react-query";
2532
2545
  import { Activity, ArrowRight, Box, ChevronRight as ChevronRight4, Layers as Layers2, Link2 as Link22 } from "lucide-react";
2533
2546
  import { useState as useState4 } from "react";
2534
- import { Link as Link5, useParams as useParams5 } from "react-router-dom";
2547
+ import { Link as Link5, useParams as useParams6 } from "react-router-dom";
2535
2548
  import { jsx as jsx9, jsxs as jsxs8, Fragment as Fragment6 } from "react/jsx-runtime";
2536
2549
  var kindIcons = {
2537
2550
  object: Box,
@@ -2657,7 +2670,7 @@ function DataProjectionPage() {
2657
2670
  const messages = useDataMessages();
2658
2671
  const format = useFormat();
2659
2672
  const numbers = useNumbers();
2660
- const projectionId = useParams5().projectionId ?? "";
2673
+ const projectionId = useParams6().projectionId ?? "";
2661
2674
  const projectionQuery = useQuery5({
2662
2675
  ...getProjectionOptions({ path: { projectionId } }),
2663
2676
  retry: false
@@ -2942,7 +2955,7 @@ function MappedTo({
2942
2955
  import { getSyncOptions, listSyncRunsOptions, listSyncsOptions as listSyncsOptions2 } from "@sixb/client/hooks";
2943
2956
  import { useQuery as useQuery6 } from "@tanstack/react-query";
2944
2957
  import { CalendarClock as CalendarClock2, ChevronRight as ChevronRight5, RefreshCw as RefreshCw2 } from "lucide-react";
2945
- import { Link as Link6, useParams as useParams6 } from "react-router-dom";
2958
+ import { Link as Link6, useParams as useParams7 } from "react-router-dom";
2946
2959
  import { jsx as jsx10, jsxs as jsxs9, Fragment as Fragment7 } from "react/jsx-runtime";
2947
2960
  function DataSyncsPage() {
2948
2961
  const messages = useDataMessages();
@@ -3021,7 +3034,7 @@ function DataSyncPage() {
3021
3034
  const messages = useDataMessages();
3022
3035
  const format = useFormat();
3023
3036
  const numbers = useNumbers();
3024
- const syncId = useParams6().syncId ?? "";
3037
+ const syncId = useParams7().syncId ?? "";
3025
3038
  const syncQuery = useQuery6({ ...getSyncOptions({ path: { syncId } }), retry: false });
3026
3039
  const runsQuery = useQuery6({
3027
3040
  ...listSyncRunsOptions({ query: { syncId, limit: "20", order: "desc" } }),
@@ -3325,7 +3338,8 @@ function HomePage() {
3325
3338
  threadId: null,
3326
3339
  welcomeContent: /* @__PURE__ */ jsx12(Welcome, {}),
3327
3340
  onNavigateHome: () => navigate("/"),
3328
- onNavigateThread: (threadId) => navigate(`/agents/${encodeURIComponent(threadId)}`)
3341
+ onNavigateThread: (threadId) => navigate(threadPath(threadId)),
3342
+ onOpenThreads: () => navigate(THREADS_PATH)
3329
3343
  }) : /* @__PURE__ */ jsx12(Empty, {})
3330
3344
  ]
3331
3345
  });
@@ -3375,7 +3389,7 @@ import { getActionRunOptions, listActionsOptions } from "@sixb/client/hooks";
3375
3389
  import { useQuery as useQuery9 } from "@tanstack/react-query";
3376
3390
  import { CircleHelp, Loader2 as Loader22, Zap } from "lucide-react";
3377
3391
  import { useEffect as useEffect3, useMemo as useMemo5, useReducer } from "react";
3378
- import { useParams as useParams7 } from "react-router-dom";
3392
+ import { useParams as useParams8 } from "react-router-dom";
3379
3393
 
3380
3394
  // src/pages/observability/logs.tsx
3381
3395
  import { isSixbApiError as isSixbApiError2 } from "@sixb/client";
@@ -4252,7 +4266,7 @@ var noSchemas = [];
4252
4266
  function ObservabilityActionRunPage() {
4253
4267
  const messages = useObservabilityMessages();
4254
4268
  const format = useFormat();
4255
- const runId = useParams7().runId ?? "";
4269
+ const runId = useParams8().runId ?? "";
4256
4270
  const actionsQuery = useQuery9({ ...listActionsOptions(), retry: false });
4257
4271
  const runQuery = useQuery9({
4258
4272
  ...getActionRunOptions({ path: { runId } }),
@@ -6327,7 +6341,7 @@ import { getObservedAgentThreadOptions } from "@sixb/client/hooks";
6327
6341
  import { useQuery as useQuery13 } from "@tanstack/react-query";
6328
6342
  import { Bot as Bot2 } from "lucide-react";
6329
6343
  import { useCallback, useMemo as useMemo11 } from "react";
6330
- import { useLocation as useLocation3, useParams as useParams8, useSearchParams as useSearchParams7 } from "react-router-dom";
6344
+ import { useLocation as useLocation3, useParams as useParams9, useSearchParams as useSearchParams7 } from "react-router-dom";
6331
6345
 
6332
6346
  // src/agent/observed-conversation.tsx
6333
6347
  import {
@@ -6492,7 +6506,7 @@ var ACTIVITY_HREF = "/observability/activity";
6492
6506
  function ObservabilityAgentThreadPage() {
6493
6507
  const messages = useActivityMessages();
6494
6508
  const { count } = useNumbers();
6495
- const threadId = useParams8().threadId ?? "";
6509
+ const threadId = useParams9().threadId ?? "";
6496
6510
  const location = useLocation3();
6497
6511
  const back = { href: backHref(location.state), label: messages.title };
6498
6512
  const threadQuery = useQuery13({
@@ -7326,7 +7340,7 @@ function groupLabel(group, messages) {
7326
7340
  function groupHref(group) {
7327
7341
  const source = group.attribution;
7328
7342
  if (source?.kind === "agent") {
7329
- return group.canOpenThread ? `/agents/${encodeURIComponent(source.threadId)}` : undefined;
7343
+ return group.canOpenThread ? threadPath(source.threadId) : undefined;
7330
7344
  }
7331
7345
  if (source?.kind === "workflowAgent" || source?.kind === "workflow") {
7332
7346
  return workflowRunHref(source.workflowRunId);
@@ -9708,7 +9722,7 @@ import { cn as cn15 } from "@sixb/ui/lib/utils";
9708
9722
  import { useQuery as useQuery18 } from "@tanstack/react-query";
9709
9723
  import { Bot as Bot4, ChevronRight as ChevronRight11, Cog, Hand, Workflow as Workflow5, Zap as Zap5 } from "lucide-react";
9710
9724
  import { useMemo as useMemo13, useState as useState15 } from "react";
9711
- import { Link as Link10, useParams as useParams9 } from "react-router-dom";
9725
+ import { Link as Link10, useParams as useParams10 } from "react-router-dom";
9712
9726
 
9713
9727
  // src/agent/agent-execution-trace.tsx
9714
9728
  import { Collapsible, CollapsibleContent, CollapsibleTrigger, Markdown } from "@sixb/ui/components";
@@ -10143,7 +10157,7 @@ var nodeIcons = {
10143
10157
  };
10144
10158
  var noSchemas2 = [];
10145
10159
  function ObservabilityWorkflowRunPage() {
10146
- const runId = useParams9().runId ?? "";
10160
+ const runId = useParams10().runId ?? "";
10147
10161
  return /* @__PURE__ */ jsx29(WorkflowRunDetail, {
10148
10162
  runId
10149
10163
  }, runId);
@@ -12624,7 +12638,7 @@ import { cn as cn18 } from "@sixb/ui/lib/utils";
12624
12638
  import { useQuery as useQuery21 } from "@tanstack/react-query";
12625
12639
  import { Box as Box2, ChevronRight as ChevronRight12, LayoutGrid, Network } from "lucide-react";
12626
12640
  import { Fragment as Fragment21, useMemo as useMemo16 } from "react";
12627
- import { Link as Link11, useNavigate as useNavigate4, useParams as useParams10, useSearchParams as useSearchParams10 } from "react-router-dom";
12641
+ import { Link as Link11, useNavigate as useNavigate4, useParams as useParams11, useSearchParams as useSearchParams10 } from "react-router-dom";
12628
12642
  import { jsx as jsx36, jsxs as jsxs33, Fragment as Fragment22 } from "react/jsx-runtime";
12629
12643
  var TAB_VALUES = ["properties", "vectors", "links", "actions", "projections"];
12630
12644
  var DEFAULT_TAB = "properties";
@@ -12632,7 +12646,7 @@ function isTabValue(value) {
12632
12646
  return value !== null && TAB_VALUES.includes(value);
12633
12647
  }
12634
12648
  function OntologyObjectTypePage() {
12635
- const typeId = useParams10().objectTypeId ?? "";
12649
+ const typeId = useParams11().objectTypeId ?? "";
12636
12650
  const navigate = useNavigate4();
12637
12651
  const [searchParams, setSearchParams] = useSearchParams10();
12638
12652
  const selectType = (nextTypeId) => navigate(objectTypeHref(nextTypeId));
@@ -15048,7 +15062,7 @@ import {
15048
15062
  import { useQuery as useQuery24 } from "@tanstack/react-query";
15049
15063
  import { Box as Box3, CalendarIcon } from "lucide-react";
15050
15064
  import { Fragment as Fragment25, lazy as lazy3, Suspense as Suspense3, useEffect as useEffect11, useMemo as useMemo21, useState as useState22 } from "react";
15051
- import { Link as Link12, useParams as useParams11 } from "react-router-dom";
15065
+ import { Link as Link12, useParams as useParams12 } from "react-router-dom";
15052
15066
 
15053
15067
  // src/pages/ontology/components/action-button.tsx
15054
15068
  import { decodeObjectId } from "@sixb/client";
@@ -15954,7 +15968,7 @@ function getUsagePercent(telemetry, objectClass) {
15954
15968
  return null;
15955
15969
  }
15956
15970
  function ObjectPage() {
15957
- const params = useParams11();
15971
+ const params = useParams12();
15958
15972
  const objectId = params.objectTypeId && params.primaryId ? encodeObjectId2(params.objectTypeId, params.primaryId) : undefined;
15959
15973
  const projectName = useQuery24({ ...getProjectInfoOptions(), retry: false }).data?.id ?? "";
15960
15974
  const [selectedPropertyId, setSelectedPropertyId] = useState22(null);
@@ -18464,7 +18478,7 @@ import { cn as cn28 } from "@sixb/ui/lib/utils";
18464
18478
  import { useQuery as useQuery26 } from "@tanstack/react-query";
18465
18479
  import { BellRing, ChevronRight as ChevronRight14, ListChecks, Search as Search6 } from "lucide-react";
18466
18480
  import { useMemo as useMemo23, useState as useState25 } from "react";
18467
- import { useNavigate as useNavigate9, useParams as useParams12 } from "react-router-dom";
18481
+ import { useNavigate as useNavigate9, useParams as useParams13 } from "react-router-dom";
18468
18482
 
18469
18483
  // src/pages/ontology/hooks/rule-live-updates.ts
18470
18484
  import { events as events5, useInvalidateOnEvent as useInvalidateOnEvent3 } from "@sixb/client/hooks";
@@ -19164,7 +19178,7 @@ function OntologyRulesPage() {
19164
19178
  });
19165
19179
  }
19166
19180
  function OntologyRulePage() {
19167
- const { ruleId = "" } = useParams12();
19181
+ const { ruleId = "" } = useParams13();
19168
19182
  const navigate = useNavigate9();
19169
19183
  const decodedRuleId = ruleId;
19170
19184
  useRuleLiveUpdates({ ruleId: decodedRuleId, enabled: decodedRuleId.length > 0 });
@@ -19345,7 +19359,7 @@ import {
19345
19359
  Zap as Zap7
19346
19360
  } from "lucide-react";
19347
19361
  import { useEffect as useEffect15, useMemo as useMemo24 } from "react";
19348
- import { Navigate as Navigate2, useNavigate as useNavigate11, useParams as useParams13, useSearchParams as useSearchParams13 } from "react-router-dom";
19362
+ import { Navigate as Navigate3, useNavigate as useNavigate11, useParams as useParams14, useSearchParams as useSearchParams13 } from "react-router-dom";
19349
19363
 
19350
19364
  // src/pages/ontology/hooks/workflow-live-updates.ts
19351
19365
  import { events as events6, useInvalidateOnEvent as useInvalidateOnEvent4 } from "@sixb/client/hooks";
@@ -21451,7 +21465,7 @@ function WorkflowRunStatusIcon({
21451
21465
  // src/pages/ontology/workflow.tsx
21452
21466
  import { jsx as jsx58, jsxs as jsxs53, Fragment as Fragment30 } from "react/jsx-runtime";
21453
21467
  function OntologyWorkflowPage() {
21454
- const { workflowId = "" } = useParams13();
21468
+ const { workflowId = "" } = useParams14();
21455
21469
  const navigate = useNavigate11();
21456
21470
  const [searchParams, setSearchParams] = useSearchParams13();
21457
21471
  const activeRunId = searchParams.get("run");
@@ -21491,7 +21505,7 @@ function OntologyWorkflowPage() {
21491
21505
  return map;
21492
21506
  }, [runDetail, runNodesByFlowId]);
21493
21507
  if (!workflowId) {
21494
- return /* @__PURE__ */ jsx58(Navigate2, {
21508
+ return /* @__PURE__ */ jsx58(Navigate3, {
21495
21509
  to: "/ontology/workflows",
21496
21510
  replace: true
21497
21511
  });
@@ -23144,7 +23158,7 @@ var en6 = {
23144
23158
  signOutFailed: "Could not sign out.",
23145
23159
  approvals: "When the agent changes things",
23146
23160
  approvalsDescription: "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.",
23147
- approvalsShortcut: "Shift+Tab in an empty message switches between Manual and Accept edits.",
23161
+ approvalsShortcut: "Shift+Tab in an empty message switches to the next mode.",
23148
23162
  approvalsSaved: "Saved. Conversations where you haven't chosen a mode use it.",
23149
23163
  approvalsSaveFailed: "Could not save your choice."
23150
23164
  },
@@ -23497,7 +23511,7 @@ var fr6 = {
23497
23511
  signOutFailed: "Impossible de se d\xE9connecter.",
23498
23512
  approvals: "Quand l\u2019agent modifie quelque chose",
23499
23513
  approvalsDescription: "Ce que l\u2019agent peut faire sans vous demander, dans les conversations o\xF9 vous n\u2019avez pas choisi de mode. Changez-le dans n\u2019importe quelle conversation depuis le bouton sous la zone de message.",
23500
- approvalsShortcut: "Maj+Tab dans un message vide alterne entre Manuel et Modifications accept\xE9es.",
23514
+ approvalsShortcut: "Maj+Tab dans un message vide passe au mode suivant.",
23501
23515
  approvalsSaved: "Enregistr\xE9. Les conversations o\xF9 vous n\u2019avez pas choisi de mode l\u2019utilisent.",
23502
23516
  approvalsSaveFailed: "Impossible d\u2019enregistrer votre choix."
23503
23517
  },
@@ -26049,7 +26063,7 @@ function useChangeOrigin() {
26049
26063
  return { label: messages.bySystem, conversation: null };
26050
26064
  const mine = author.id === currentUserId;
26051
26065
  if (source) {
26052
- return mine ? { label: messages.inYourConversation, conversation: source } : { label: messages.inTeammateConversation, conversation: null };
26066
+ return mine ? { label: messages.inYourConversation, conversation: threadPathFromLink(source) } : { label: messages.inTeammateConversation, conversation: null };
26053
26067
  }
26054
26068
  return { label: mine ? messages.editedByYou : messages.editedByTeammate, conversation: null };
26055
26069
  };
@@ -28341,8 +28355,8 @@ function CreateAccountDialog({
28341
28355
  });
28342
28356
  }
28343
28357
  export {
28358
+ AgentThreadRedirect,
28344
28359
  AgentToolViewsProvider2 as AgentToolViewsProvider,
28345
- AgentsPage,
28346
28360
  ArtifactPage,
28347
28361
  ArtifactsPage,
28348
28362
  DataConnectorPage,
@@ -28382,7 +28396,9 @@ export {
28382
28396
  SettingsMembersPage,
28383
28397
  SettingsMemoryPage,
28384
28398
  SettingsPersonalPage,
28385
- SettingsServiceAccountsPage
28399
+ SettingsServiceAccountsPage,
28400
+ ThreadPage,
28401
+ ThreadsPage
28386
28402
  };
28387
28403
 
28388
- //# debugId=46D52E9F4E6556FF64756E2164756E21
28404
+ //# debugId=AB3DDFE5BC4E58B464756E2164756E21