@kortix/ui 0.14.16 → 0.14.17

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.
@@ -15,6 +15,7 @@ export declare const ARTIFACT_ANNOTATION_LIMITS: {
15
15
  readonly texts: 8192;
16
16
  readonly textUnits: 524288;
17
17
  readonly pins: 1000;
18
+ readonly pinLabel: 64;
18
19
  readonly ranges: 64;
19
20
  readonly rects: 64;
20
21
  readonly coordinate: 10000000;
@@ -305,6 +306,22 @@ export declare const artifactAnnotationFrameMessageSchema: z.ZodDiscriminatedUni
305
306
  y: number;
306
307
  };
307
308
  }, unknown>;
309
+ rect: z.ZodOptional<z.ZodObject<{
310
+ x: z.ZodNumber;
311
+ y: z.ZodNumber;
312
+ width: z.ZodNumber;
313
+ height: z.ZodNumber;
314
+ }, "strict", z.ZodTypeAny, {
315
+ x: number;
316
+ y: number;
317
+ width: number;
318
+ height: number;
319
+ }, {
320
+ x: number;
321
+ y: number;
322
+ width: number;
323
+ height: number;
324
+ }>>;
308
325
  kortix: z.ZodLiteral<"annotate">;
309
326
  v: z.ZodLiteral<1>;
310
327
  }, "strict", z.ZodTypeAny, {
@@ -346,12 +363,85 @@ export declare const artifactAnnotationFrameMessageSchema: z.ZodDiscriminatedUni
346
363
  kortix: "annotate";
347
364
  v: 1;
348
365
  revision: number;
366
+ rect?: {
367
+ x: number;
368
+ y: number;
369
+ width: number;
370
+ height: number;
371
+ } | undefined;
349
372
  }, {
350
373
  type: "candidate";
351
374
  kortix: "annotate";
352
375
  v: 1;
353
376
  revision: number;
354
377
  anchor?: unknown;
378
+ rect?: {
379
+ x: number;
380
+ y: number;
381
+ width: number;
382
+ height: number;
383
+ } | undefined;
384
+ }>, z.ZodObject<{
385
+ type: z.ZodLiteral<"selection">;
386
+ state: z.ZodEnum<["none", "too_long"]>;
387
+ rect: z.ZodOptional<z.ZodObject<{
388
+ x: z.ZodNumber;
389
+ y: z.ZodNumber;
390
+ width: z.ZodNumber;
391
+ height: z.ZodNumber;
392
+ }, "strict", z.ZodTypeAny, {
393
+ x: number;
394
+ y: number;
395
+ width: number;
396
+ height: number;
397
+ }, {
398
+ x: number;
399
+ y: number;
400
+ width: number;
401
+ height: number;
402
+ }>>;
403
+ moved: z.ZodOptional<z.ZodLiteral<true>>;
404
+ kortix: z.ZodLiteral<"annotate">;
405
+ v: z.ZodLiteral<1>;
406
+ }, "strict", z.ZodTypeAny, {
407
+ type: "selection";
408
+ kortix: "annotate";
409
+ v: 1;
410
+ state: "none" | "too_long";
411
+ rect?: {
412
+ x: number;
413
+ y: number;
414
+ width: number;
415
+ height: number;
416
+ } | undefined;
417
+ moved?: true | undefined;
418
+ }, {
419
+ type: "selection";
420
+ kortix: "annotate";
421
+ v: 1;
422
+ state: "none" | "too_long";
423
+ rect?: {
424
+ x: number;
425
+ y: number;
426
+ width: number;
427
+ height: number;
428
+ } | undefined;
429
+ moved?: true | undefined;
430
+ }>, z.ZodObject<{
431
+ type: z.ZodLiteral<"key">;
432
+ key: z.ZodEnum<["escape", "comment"]>;
433
+ kortix: z.ZodLiteral<"annotate">;
434
+ v: z.ZodLiteral<1>;
435
+ }, "strict", z.ZodTypeAny, {
436
+ type: "key";
437
+ key: "escape" | "comment";
438
+ kortix: "annotate";
439
+ v: 1;
440
+ }, {
441
+ type: "key";
442
+ key: "escape" | "comment";
443
+ kortix: "annotate";
444
+ v: 1;
355
445
  }>, z.ZodObject<{
356
446
  type: z.ZodLiteral<"focus">;
357
447
  n: z.ZodNumber;
@@ -555,7 +645,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
555
645
  }>, z.ZodObject<{
556
646
  type: z.ZodLiteral<"draw">;
557
647
  revision: z.ZodNumber;
558
- pins: z.ZodArray<z.ZodEffects<z.ZodObject<{
648
+ pins: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
559
649
  n: z.ZodNumber;
560
650
  rects: z.ZodArray<z.ZodObject<{
561
651
  x: z.ZodNumber;
@@ -594,6 +684,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
594
684
  end: number;
595
685
  n: number;
596
686
  }>, "many">;
687
+ label: z.ZodOptional<z.ZodString>;
597
688
  }, "strict", z.ZodTypeAny, {
598
689
  n: number;
599
690
  rects: {
@@ -607,6 +698,35 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
607
698
  end: number;
608
699
  n: number;
609
700
  }[];
701
+ label?: string | undefined;
702
+ }, {
703
+ n: number;
704
+ rects: {
705
+ x: number;
706
+ y: number;
707
+ width: number;
708
+ height: number;
709
+ }[];
710
+ ranges: {
711
+ start: number;
712
+ end: number;
713
+ n: number;
714
+ }[];
715
+ label?: string | undefined;
716
+ }>, {
717
+ n: number;
718
+ rects: {
719
+ x: number;
720
+ y: number;
721
+ width: number;
722
+ height: number;
723
+ }[];
724
+ ranges: {
725
+ start: number;
726
+ end: number;
727
+ n: number;
728
+ }[];
729
+ label?: string | undefined;
610
730
  }, {
611
731
  n: number;
612
732
  rects: {
@@ -620,6 +740,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
620
740
  end: number;
621
741
  n: number;
622
742
  }[];
743
+ label?: string | undefined;
623
744
  }>, {
624
745
  n: number;
625
746
  rects: {
@@ -633,6 +754,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
633
754
  end: number;
634
755
  n: number;
635
756
  }[];
757
+ label?: string | undefined;
636
758
  }, {
637
759
  n: number;
638
760
  rects: {
@@ -646,6 +768,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
646
768
  end: number;
647
769
  n: number;
648
770
  }[];
771
+ label?: string | undefined;
649
772
  }>, "many">;
650
773
  active: z.ZodNullable<z.ZodNumber>;
651
774
  focus: z.ZodBoolean;
@@ -670,6 +793,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
670
793
  end: number;
671
794
  n: number;
672
795
  }[];
796
+ label?: string | undefined;
673
797
  }[];
674
798
  active: number | null;
675
799
  }, {
@@ -691,6 +815,7 @@ export declare const artifactAnnotationHostMessageSchema: z.ZodDiscriminatedUnio
691
815
  end: number;
692
816
  n: number;
693
817
  }[];
818
+ label?: string | undefined;
694
819
  }[];
695
820
  active: number | null;
696
821
  }>]>;
@@ -1,4 +1,8 @@
1
1
  import { z } from 'zod';
2
+ /** The longest text quote, in UTF-16 code units: a paragraph. A longer selection is refused, never cut. */
3
+ export declare const ARTIFACT_TEXT_QUOTE_MAX = 500;
4
+ /** The longest prefix and suffix, in UTF-16 code units. */
5
+ export declare const ARTIFACT_TEXT_CONTEXT_MAX = 32;
2
6
  export declare const artifactCommentAnchorSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3
7
  type: z.ZodLiteral<"text">;
4
8
  version: z.ZodString;
@@ -559,4 +563,29 @@ export type ArtifactTextPosition = {
559
563
  end: number | null;
560
564
  outdated: boolean;
561
565
  };
562
- export declare function reanchorArtifactText(text: string, anchor: ArtifactTextAnchor): ArtifactTextPosition;
566
+ /**
567
+ * The re-anchoring work one read may spend across all its threads (about 100 ms):
568
+ * fuzzy-scanned code units plus alignment cells, and an eighth of a code unit
569
+ * per natively exact-scanned one. A list re-anchors every stored thread, and a
570
+ * commenter can store many unmatched quotes, so the cost of one read must not
571
+ * grow with the thread count. A thread past the budget is outdated for that read.
572
+ */
573
+ export declare const ARTIFACT_REANCHOR_READ_UNITS: number;
574
+ export interface ArtifactReanchorBudget {
575
+ remaining: number;
576
+ }
577
+ /** One budget per read: pass the same object to every reanchorArtifactText call of that read. */
578
+ export declare function createArtifactReanchorBudget(): ArtifactReanchorBudget;
579
+ /**
580
+ * The read budget split into equal shares, one per thread author (a person or an
581
+ * agent session). A commenter whose quotes match nothing spends only their own
582
+ * share, so other people's threads still re-anchor; the read's total stays at
583
+ * ARTIFACT_REANCHOR_READ_UNITS. Name every author of the read up front.
584
+ */
585
+ export declare function createArtifactReanchorBudgets(authors: Iterable<string>): (author: string) => ArtifactReanchorBudget;
586
+ /**
587
+ * Where a text anchor sits in `text` now. Every scan spends `budget`; a caller
588
+ * that re-anchors many threads in one read passes one shared budget
589
+ * (createArtifactReanchorBudget), so the read's cost is bounded.
590
+ */
591
+ export declare function reanchorArtifactText(text: string, anchor: ArtifactTextAnchor, budget?: ArtifactReanchorBudget): ArtifactTextPosition;
@@ -276,13 +276,10 @@ export function ExperimentalTab({ projectId }) {
276
276
  else
277
277
  apply(key, next);
278
278
  };
279
- const drive = rawFeatures.find((f) => f.key === 'drives');
280
- return (_jsxs(_Fragment, { children: [_jsx(ChannelsSwitchDialog, { open: channelsTarget !== null, onOpenChange: (open) => !open && setChannelsTarget(null), turningOn: channelsTarget === true, projectName: project?.name ?? '', driveOff: !!drive && !drive.enabled && drive.operator_only !== true, onConfirm: (alsoDrive) => {
279
+ return (_jsxs(_Fragment, { children: [_jsx(ChannelsSwitchDialog, { open: channelsTarget !== null, onOpenChange: (open) => !open && setChannelsTarget(null), turningOn: channelsTarget === true, projectName: project?.name ?? '', onConfirm: () => {
281
280
  const target = channelsTarget === true;
282
281
  setChannelsTarget(null);
283
282
  apply('project_channels', target);
284
- if (alsoDrive)
285
- apply('drives', true);
286
283
  } }), _jsx(ExperimentalTabView, { isLoading: projectQuery.isLoading, isError: projectQuery.isError, errorMessage: projectQuery.error?.message ?? '', onRetry: () => projectQuery.refetch(), features: features, pendingKeys: Object.keys(pendingValues), canManage: canEdit, canManageOperatorOnly: isOperator, onToggle: handleToggle, showPermissionNotice: !canEdit && !writeCap.isLoading, query: query, onQueryChange: setQuery, copy: {
287
284
  overridden: t('origin.overridden'),
288
285
  managedByKortix: tI18nComplete.raw('texte9ec6c0ad396'),
@@ -1,18 +1,14 @@
1
1
  /**
2
2
  * The confirm step of the project's Channels switch (`project_channels`):
3
- * what turning it on or off changes for everyone in the project. Turning it
4
- * on while Drive is off offers to turn Drive on too (channels get Files).
5
- * Every surface that flips the flag asks through this dialog.
3
+ * what turning it on or off changes for everyone in the project. Every
4
+ * project has a Drive, so channels always get their folders. Every surface that flips the flag asks through this dialog.
6
5
  */
7
- export declare function ChannelsSwitchDialog({ open, onOpenChange, turningOn, projectName, driveOff, pending, onConfirm, }: {
6
+ export declare function ChannelsSwitchDialog({ open, onOpenChange, turningOn, projectName, pending, onConfirm, }: {
8
7
  open: boolean;
9
8
  onOpenChange: (open: boolean) => void;
10
9
  /** The switch's target: on, or off. */
11
10
  turningOn: boolean;
12
11
  projectName: string;
13
- /** Drive is off and the viewer could turn it on: offer it beside Channels. */
14
- driveOff: boolean;
15
12
  pending?: boolean;
16
- /** `alsoDrive`: turn Drive on too. */
17
- onConfirm: (alsoDrive: boolean) => void;
13
+ onConfirm: () => void;
18
14
  }): import("react").JSX.Element;
@@ -1,30 +1,19 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useId, useState } from 'react';
4
3
  import { useTranslations } from '../../i18n/index.js';
5
4
  import { Button } from '../../primitives/button.js';
6
- import { Checkbox } from '../../primitives/checkbox.js';
7
5
  import Loading from '../../primitives/loading.js';
8
- import { Modal, ModalBody, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle } from '../../primitives/modal.js';
6
+ import { Modal, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle } from '../../primitives/modal.js';
9
7
  /**
10
8
  * The confirm step of the project's Channels switch (`project_channels`):
11
- * what turning it on or off changes for everyone in the project. Turning it
12
- * on while Drive is off offers to turn Drive on too (channels get Files).
13
- * Every surface that flips the flag asks through this dialog.
9
+ * what turning it on or off changes for everyone in the project. Every
10
+ * project has a Drive, so channels always get their folders. Every surface that flips the flag asks through this dialog.
14
11
  */
15
- export function ChannelsSwitchDialog({ open, onOpenChange, turningOn, projectName, driveOff, pending = false, onConfirm, }) {
12
+ export function ChannelsSwitchDialog({ open, onOpenChange, turningOn, projectName, pending = false, onConfirm, }) {
16
13
  const t = useTranslations('settings.featureFlags.channelsSwitch');
17
- const id = useId();
18
- const [alsoDrive, setAlsoDrive] = useState(false);
19
- const offerDrive = turningOn && driveOff;
20
14
  return (_jsx(Modal, { open: open, onOpenChange: (next) => {
21
15
  if (pending)
22
16
  return;
23
- if (!next)
24
- setAlsoDrive(false);
25
17
  onOpenChange(next);
26
- }, children: _jsxs(ModalContent, { className: "lg:max-w-md", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { children: turningOn ? t('onTitle', { project: projectName }) : t('offTitle') }), _jsx(ModalDescription, { children: turningOn ? t('onBody') : t('offBody') })] }), offerDrive ? (_jsx(ModalBody, { children: _jsxs("div", { className: "flex items-center gap-2.5", children: [_jsx(Checkbox, { id: `${id}-drive`, checked: alsoDrive, onCheckedChange: (value) => setAlsoDrive(value === true) }), _jsx("label", { htmlFor: `${id}-drive`, className: "text-sm", children: t('drive') })] }) })) : null, _jsxs(ModalFooter, { className: "sm:justify-between", children: [_jsx(Button, { type: "button", variant: "outline-ghost", disabled: pending, onClick: () => onOpenChange(false), children: t('cancel') }), _jsxs(Button, { type: "button", disabled: pending, "aria-busy": pending || undefined, onClick: () => {
27
- onConfirm(offerDrive && alsoDrive);
28
- setAlsoDrive(false);
29
- }, children: [pending ? _jsx(Loading, { className: "size-4 shrink-0" }) : null, turningOn ? t('turnOn') : t('turnOff')] })] })] }) }));
18
+ }, children: _jsxs(ModalContent, { className: "lg:max-w-md", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { children: turningOn ? t('onTitle', { project: projectName }) : t('offTitle') }), _jsx(ModalDescription, { children: turningOn ? t('onBody') : t('offBody') })] }), _jsxs(ModalFooter, { className: "sm:justify-between", children: [_jsx(Button, { type: "button", variant: "outline-ghost", disabled: pending, onClick: () => onOpenChange(false), children: t('cancel') }), _jsxs(Button, { type: "button", disabled: pending, "aria-busy": pending || undefined, onClick: onConfirm, children: [pending ? _jsx(Loading, { className: "size-4 shrink-0" }) : null, turningOn ? t('turnOn') : t('turnOff')] })] })] }) }));
30
19
  }
@@ -22,12 +22,11 @@ export function FeatureGateScreen({ featureKey, featureName, description, intern
22
22
  const permission = useProjectCan(projectId, PROJECT_ACTIONS.PROJECT_SETTINGS_WRITE);
23
23
  const [error, setError] = useState('');
24
24
  const enable = useMutation({
25
- mutationFn: async (alsoDrive = false) => {
25
+ mutationFn: async () => {
26
26
  if (!projectId || internalOnly || permission.isLoading || permission.allowed !== true) {
27
27
  throw new Error('Feature activation is not permitted');
28
28
  }
29
- const updated = await updateFeatureFlag(projectId, featureKey, true);
30
- return alsoDrive ? updateFeatureFlag(projectId, 'drives', true) : updated;
29
+ return updateFeatureFlag(projectId, featureKey, true);
31
30
  },
32
31
  onSuccess: (updated) => {
33
32
  if (!projectId)
@@ -47,16 +46,15 @@ export function FeatureGateScreen({ featureKey, featureName, description, intern
47
46
  enabled: channels && !!projectId,
48
47
  ...contract('config'),
49
48
  });
50
- const drive = project.data?.experimental_features?.find((f) => f.key === 'drives' && f.available);
51
- return (_jsxs("div", { className: "bg-popover rounded-md border px-4 py-5", children: [channels ? (_jsx(ChannelsSwitchDialog, { open: confirming, onOpenChange: setConfirming, turningOn: true, projectName: project.data?.name ?? '', driveOff: !!drive && !drive.enabled && drive.operator_only !== true, onConfirm: (alsoDrive) => {
49
+ return (_jsxs("div", { className: "bg-popover rounded-md border px-4 py-5", children: [channels ? (_jsx(ChannelsSwitchDialog, { open: confirming, onOpenChange: setConfirming, turningOn: true, projectName: project.data?.name ?? '', onConfirm: () => {
52
50
  setConfirming(false);
53
- enable.mutate(alsoDrive);
51
+ enable.mutate();
54
52
  } })) : null, _jsxs("div", { className: "flex flex-col gap-5 sm:flex-row sm:items-center sm:justify-between", children: [_jsxs("div", { className: "flex min-w-0 items-start gap-3", children: [_jsx("span", { className: "bg-muted/50 flex size-9 shrink-0 items-center justify-center rounded-sm", children: _jsx(FlagIcon, { className: "text-muted-foreground size-5" }) }), _jsxs("div", { className: "min-w-0 space-y-1", children: [_jsxs("p", { className: "text-foreground text-sm font-medium", children: [featureName, " ", tI18nComplete.raw('text26965989cce5')] }), _jsx("p", { className: "text-muted-foreground max-w-xl text-xs text-pretty", children: description }), internalOnly ? (_jsx("p", { className: "text-muted-foreground max-w-xl text-xs text-pretty", children: tI18nComplete.raw('text1c41abcc2fff') })) : null] })] }), error ? (_jsx("p", { role: "alert", className: "text-destructive text-xs", children: error })) : null, projectId && !internalOnly ? (_jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [_jsx(Button, { size: "sm", disabled: permission.isLoading || permission.allowed !== true || enable.isPending, onClick: () => {
55
53
  setError('');
56
54
  // Channels changes the sidebar for everyone: it asks first.
57
55
  if (channels)
58
56
  setConfirming(true);
59
57
  else
60
- enable.mutate(false);
58
+ enable.mutate();
61
59
  }, children: enable.isPending ? t('enabling') : t('enable', { name: featureName }) }), _jsx(Button, { asChild: true, size: "sm", variant: "secondary", className: "shrink-0", children: _jsx(UiLink, { href: projectSettingsSectionHref(projectId, 'feature-flags'), children: tI18nComplete.raw('text20a2e59ba129') }) })] })) : null] })] }));
62
60
  }
@@ -0,0 +1,4 @@
1
+ export declare function drivePathToParam(path: string, personal: string | null): string;
2
+ export declare function drivePathFromParam(param: string | null, personal: string | null): string;
3
+ /** `?path=` with its slashes left readable; other query values are kept. */
4
+ export declare function driveUrlWithPath(href: string, param: string): string;
@@ -0,0 +1,50 @@
1
+ /**
2
+ * The folder in view, as Drive's `?path=` query value. Short and readable,
3
+ * and it reverses with no lookup: the caller's own folder (`/Users/<name>`)
4
+ * is `~`, so `/Users/ana/Memory/2026` is `~/Memory/2026`; any other folder is
5
+ * its drive path without the leading slash; the top of Drive is no value.
6
+ *
7
+ * Paths here are the explorer store's form: `/` for the top, else no leading
8
+ * slash (`Users/ana/Memory`). `personal` is `Drive.personalFolder`.
9
+ */
10
+ /** Strips leading and trailing `/` in linear time: `/\/+$/` backtracks
11
+ * quadratically on a long run of slashes inside an untrusted `?path=`. */
12
+ function trimSlashes(value) {
13
+ let start = 0;
14
+ let end = value.length;
15
+ while (start < end && value[start] === '/')
16
+ start++;
17
+ while (end > start && value[end - 1] === '/')
18
+ end--;
19
+ return value.slice(start, end);
20
+ }
21
+ export function drivePathToParam(path, personal) {
22
+ const abs = `/${trimSlashes(path)}`;
23
+ if (abs === '/')
24
+ return '';
25
+ if (personal && (abs === personal || abs.startsWith(`${personal}/`))) {
26
+ return `~${abs.slice(personal.length)}`;
27
+ }
28
+ return abs.slice(1);
29
+ }
30
+ export function drivePathFromParam(param, personal) {
31
+ const value = (param ?? '').trim();
32
+ if (!value)
33
+ return '/';
34
+ // Only `~` or `~/…`: a top-level folder may itself be named `~notes`.
35
+ const abs = value === '~' || value.startsWith('~/')
36
+ ? personal
37
+ ? `${personal}${value.slice(1)}`
38
+ : '/'
39
+ : `/${value}`;
40
+ return trimSlashes(abs) || '/';
41
+ }
42
+ /** `?path=` with its slashes left readable; other query values are kept. */
43
+ export function driveUrlWithPath(href, param) {
44
+ const url = new URL(href);
45
+ if (param)
46
+ url.searchParams.set('path', param);
47
+ else
48
+ url.searchParams.delete('path');
49
+ return `${url.pathname}${url.search.replace(/%2F/gi, '/').replace(/%7E/gi, '~')}${url.hash}`;
50
+ }
@@ -5,6 +5,7 @@
5
5
  */
6
6
  export { saveDriveFile, useDismissDriveConflict, useDriveAvailability, useDriveConflicts, useDriveFolder, useFolderAccess, useFolderPrincipals, useInvalidateDrives, useProjectDrive, useShareFolder, useUnshareFolder, } from './drives/use-drives.js';
7
7
  export { DriveStorageSummary, formatStorageBytes, StorageMeter, StorageNotice, storageTone, type StorageTone, useDriveLimitMessage, useDriveUsage, useFolderMountNotice, } from './drives/drive-storage.js';
8
+ export { drivePathFromParam, drivePathToParam, driveUrlWithPath } from './drives/drive-path-param.js';
8
9
  export { FilePreviewHost } from './file-preview-host.js';
9
10
  export { FilesStoreProvider, getFileIcon } from './project/index.js';
10
11
  export { ChangeRequestDetailDialog } from './project/components/change-request-detail-dialog.js';
@@ -5,6 +5,7 @@
5
5
  */
6
6
  export { saveDriveFile, useDismissDriveConflict, useDriveAvailability, useDriveConflicts, useDriveFolder, useFolderAccess, useFolderPrincipals, useInvalidateDrives, useProjectDrive, useShareFolder, useUnshareFolder, } from './drives/use-drives.js';
7
7
  export { DriveStorageSummary, formatStorageBytes, StorageMeter, StorageNotice, storageTone, useDriveLimitMessage, useDriveUsage, useFolderMountNotice, } from './drives/drive-storage.js';
8
+ export { drivePathFromParam, drivePathToParam, driveUrlWithPath } from './drives/drive-path-param.js';
8
9
  export { FilePreviewHost } from './file-preview-host.js';
9
10
  export { FilesStoreProvider, getFileIcon } from './project/index.js';
10
11
  export { ChangeRequestDetailDialog } from './project/components/change-request-detail-dialog.js';
package/dist/i18n/en.d.ts CHANGED
@@ -800,14 +800,6 @@ declare const catalog: {
800
800
  name: string;
801
801
  description: string;
802
802
  };
803
- volumes: {
804
- name: string;
805
- description: string;
806
- };
807
- drives: {
808
- name: string;
809
- description: string;
810
- };
811
803
  session_log_restore: {
812
804
  name: string;
813
805
  description: string;
@@ -1390,6 +1382,17 @@ declare const catalog: {
1390
1382
  pending: string;
1391
1383
  ownerOnly: string;
1392
1384
  };
1385
+ image: {
1386
+ title: string;
1387
+ states: {
1388
+ resolving: string;
1389
+ serving_last_ready: string;
1390
+ waiting_for_build: string;
1391
+ building: string;
1392
+ copying_to_region: string;
1393
+ waiting_for_provider: string;
1394
+ };
1395
+ };
1393
1396
  };
1394
1397
  sessionDelete: {
1395
1398
  description: string;
@@ -7494,7 +7497,6 @@ declare const catalog: {
7494
7497
  audienceQuestion: string;
7495
7498
  badgeEveryone: string;
7496
7499
  badgePeople: string;
7497
- privateNote: string;
7498
7500
  noTeamFolders: string;
7499
7501
  sessionFilesName: string;
7500
7502
  sessionFilesHint: string;
@@ -7520,6 +7522,20 @@ declare const catalog: {
7520
7522
  accountStorageDescription: string;
7521
7523
  accountStorageEmpty: string;
7522
7524
  accountStorageIncomplete: string;
7525
+ folderInfo: {
7526
+ audienceYouAndAdmins: string;
7527
+ audienceOwnerAndAdmins: string;
7528
+ boxPathHint: string;
7529
+ pathCopied: string;
7530
+ projectAdmins: string;
7531
+ adminsOpenRecorded: string;
7532
+ openedByAdmins: string;
7533
+ noAdminOpens: string;
7534
+ };
7535
+ folderTree: string;
7536
+ treeYou: string;
7537
+ treeExpand: string;
7538
+ treeCollapse: string;
7523
7539
  };
7524
7540
  genui: {
7525
7541
  showData: string;
@@ -8349,9 +8365,6 @@ declare const catalog: {
8349
8365
  quoteLabel: string;
8350
8366
  waitingForPerson: string;
8351
8367
  deliveryFailed: string;
8352
- sendToAgent: string;
8353
- sendExisting: string;
8354
- sendNew: string;
8355
8368
  sendFailed: string;
8356
8369
  retrySend: string;
8357
8370
  discardSend: string;
@@ -8364,6 +8377,7 @@ declare const catalog: {
8364
8377
  contextLoadError: string;
8365
8378
  activityLoadError: string;
8366
8379
  retry: string;
8380
+ sendAgainTo: string;
8367
8381
  noComments: string;
8368
8382
  noCommentsHint: string;
8369
8383
  noResolved: string;
@@ -8424,6 +8438,28 @@ declare const catalog: {
8424
8438
  screenshotMissing: string;
8425
8439
  screenshotCaptureFailed: string;
8426
8440
  sendScreenshotLimit: string;
8441
+ agentsUnavailable: string;
8442
+ showMore: string;
8443
+ showLess: string;
8444
+ moreReplies: string;
8445
+ resolvedBy: string;
8446
+ agent: string;
8447
+ threadResolved: string;
8448
+ undo: string;
8449
+ agentPending: string;
8450
+ agentSent: string;
8451
+ openSession: string;
8452
+ notDelivered: string;
8453
+ sendThreads: string;
8454
+ chooseAgent: string;
8455
+ sentToAgent: string;
8456
+ newCommentFrom: string;
8457
+ newComments: string;
8458
+ filterLabel: string;
8459
+ pagePinLabel: string;
8460
+ showPanelCount: string;
8461
+ hidePanelCount: string;
8462
+ commentSelectionHint: string;
8427
8463
  };
8428
8464
  insertMedia: string;
8429
8465
  diagram: string;
@@ -9067,8 +9103,6 @@ declare const catalog: {
9067
9103
  off: {
9068
9104
  title: string;
9069
9105
  description: string;
9070
- descriptionMember: string;
9071
- action: string;
9072
9106
  };
9073
9107
  };
9074
9108
  onboarding: {