@pstdio/ui 0.45.0-nightly.20261021030241 → 0.45.0

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 (133) hide show
  1. package/dist/{EquationComponent-DDd5UoIP.js → EquationComponent-BtOgXA3g.js} +3 -5
  2. package/dist/{EquationComponent-DDd5UoIP.js.map → EquationComponent-BtOgXA3g.js.map} +1 -1
  3. package/dist/{MermaidComponent-CTWuGAqI.js → MermaidComponent--W7gDFCk.js} +4 -5
  4. package/dist/{MermaidComponent-CTWuGAqI.js.map → MermaidComponent--W7gDFCk.js.map} +1 -1
  5. package/dist/activity-timeline-D-IDENMg.js +349 -0
  6. package/dist/activity-timeline-D-IDENMg.js.map +1 -0
  7. package/dist/{apply-theme-preference-B0vCu8zY.d.ts → apply-theme-preference-Wdm8bz5f.d.ts} +0 -2
  8. package/dist/{browser-storage-C_ipoNwP.js → browser-storage-CIj_9R9x.js} +2 -3
  9. package/dist/{browser-storage-C_ipoNwP.js.map → browser-storage-CIj_9R9x.js.map} +1 -1
  10. package/dist/chat-ui.d.ts +2 -40
  11. package/dist/chat-ui.js +219 -280
  12. package/dist/chat-ui.js.map +1 -1
  13. package/dist/{collection-view-fields-tMtZmuhS.d.ts → collection-view-fields-CBlYAPxD.d.ts} +1 -9
  14. package/dist/{collection-view-grouping-BQMfKdQG.js → collection-view-grouping-BHuFPVAV.js} +3 -4
  15. package/dist/{collection-view-grouping-BQMfKdQG.js.map → collection-view-grouping-BHuFPVAV.js.map} +1 -1
  16. package/dist/{collection-view-search-DS9U9WAl.js → collection-view-search-CLvyY0cg.js} +21 -35
  17. package/dist/{collection-view-search-DS9U9WAl.js.map → collection-view-search-CLvyY0cg.js.map} +1 -1
  18. package/dist/collection-view.d.ts +1 -15
  19. package/dist/collection-view.js +3 -4
  20. package/dist/collection-view.js.map +1 -1
  21. package/dist/{data-table-stat-chart-content-waJAm_nt.js → data-table-stat-chart-content-CJVgiHlL.js} +2 -3
  22. package/dist/{data-table-stat-chart-content-waJAm_nt.js.map → data-table-stat-chart-content-CJVgiHlL.js.map} +1 -1
  23. package/dist/data-table.d.ts +2 -14
  24. package/dist/data-table.js +16 -22
  25. package/dist/data-table.js.map +1 -1
  26. package/dist/{diff-bubble-DewUd_2w.js → diff-bubble-DietCcSc.js} +2 -3
  27. package/dist/{diff-bubble-DewUd_2w.js.map → diff-bubble-DietCcSc.js.map} +1 -1
  28. package/dist/{diff-drawer-ByJsQg8F.js → diff-drawer-COlghuX8.js} +11 -25
  29. package/dist/{diff-drawer-ByJsQg8F.js.map → diff-drawer-COlghuX8.js.map} +1 -1
  30. package/dist/{diff-editor-CGpeyoCE.js → diff-editor-BMBk4KXR.js} +3 -4
  31. package/dist/{diff-editor-CGpeyoCE.js.map → diff-editor-BMBk4KXR.js.map} +1 -1
  32. package/dist/{diff-size-Dydn_Uw5.js → diff-size-BR8D-bcL.js} +2 -3
  33. package/dist/{diff-size-Dydn_Uw5.js.map → diff-size-BR8D-bcL.js.map} +1 -1
  34. package/dist/{diff-viewer-ChEyTNpa.js → diff-viewer-nCYtig03.js} +10 -15
  35. package/dist/{diff-viewer-ChEyTNpa.js.map → diff-viewer-nCYtig03.js.map} +1 -1
  36. package/dist/diff.d.ts +0 -22
  37. package/dist/diff.js +8 -9
  38. package/dist/{display-sort-control-BUMkmlIu.js → display-sort-control-DXXkOgUC.js} +6 -7
  39. package/dist/{display-sort-control-BUMkmlIu.js.map → display-sort-control-DXXkOgUC.js.map} +1 -1
  40. package/dist/{drop-indicator-HjlBSIeV.js → drop-indicator-66rhST1K.js} +2 -3
  41. package/dist/{drop-indicator-HjlBSIeV.js.map → drop-indicator-66rhST1K.js.map} +1 -1
  42. package/dist/{edit-mode-data-table-MKEjfFUw.js → edit-mode-data-table-lvGsQ1Da.js} +17 -27
  43. package/dist/{edit-mode-data-table-MKEjfFUw.js.map → edit-mode-data-table-lvGsQ1Da.js.map} +1 -1
  44. package/dist/{empty-state-3mVV_pV-.js → empty-state-J96iLli9.js} +2 -3
  45. package/dist/{empty-state-3mVV_pV-.js.map → empty-state-J96iLli9.js.map} +1 -1
  46. package/dist/{file-change-badge-0QFNv82B.js → file-change-badge-5_T5hnWQ.js} +2 -3
  47. package/dist/{file-change-badge-0QFNv82B.js.map → file-change-badge-5_T5hnWQ.js.map} +1 -1
  48. package/dist/{host-storage-28AkEy1N.js → host-storage-CtscVB4w.js} +3 -4
  49. package/dist/{host-storage-28AkEy1N.js.map → host-storage-CtscVB4w.js.map} +1 -1
  50. package/dist/{host-storage-J0089Hyk.d.ts → host-storage-SnBKPpbc.d.ts} +0 -2
  51. package/dist/{icon-options-DpzDAnlu.js → icon-options-DJmsp8bw.js} +2 -4
  52. package/dist/{icon-options-DpzDAnlu.js.map → icon-options-DJmsp8bw.js.map} +1 -1
  53. package/dist/{index-3H4B61XK.d.ts → index-B0bZ__Yf.d.ts} +1 -5
  54. package/dist/{index-DlmvvQ6x.d.ts → index-CYiWcIGu.d.ts} +0 -18
  55. package/dist/{index-C0PaeiBy.d.ts → index-DYCXgPCg.d.ts} +2 -34
  56. package/dist/{index-eV_0Gjzo.d.ts → index-DzVOXj8n.d.ts} +1 -37
  57. package/dist/index.d.ts +6 -156
  58. package/dist/index.js +973 -958
  59. package/dist/index.js.map +1 -1
  60. package/dist/kanban-renderer.d.ts +2 -2
  61. package/dist/kanban-renderer.js +24 -44
  62. package/dist/kanban-renderer.js.map +1 -1
  63. package/dist/{list-row-BDDAVuVd.js → list-row-Dqb5Xfjf.js} +12 -39
  64. package/dist/{list-row-BDDAVuVd.js.map → list-row-Dqb5Xfjf.js.map} +1 -1
  65. package/dist/{markdown-editor-BPGIS9ku.js → markdown-editor-D419iTD2.js} +65 -159
  66. package/dist/markdown-editor-D419iTD2.js.map +1 -0
  67. package/dist/{mermaid-renderer-BtW_13Sz.js → mermaid-renderer-B8LpF3rD.js} +6 -12
  68. package/dist/{mermaid-renderer-BtW_13Sz.js.map → mermaid-renderer-B8LpF3rD.js.map} +1 -1
  69. package/dist/mermaid.d.ts +0 -2
  70. package/dist/mermaid.js +1 -2
  71. package/dist/{monaco-browser-CLRPSE4-.js → monaco-browser-BBIyiPtL.js} +2 -3
  72. package/dist/{monaco-browser-CLRPSE4-.js.map → monaco-browser-BBIyiPtL.js.map} +1 -1
  73. package/dist/{number-input-QDqWYzTR.js → number-input-DzRvKj64.js} +3 -4
  74. package/dist/{number-input-QDqWYzTR.js.map → number-input-DzRvKj64.js.map} +1 -1
  75. package/dist/{param-editor-Bva0M7Ns.js → param-editor-DyIO1rSf.js} +8 -14
  76. package/dist/{param-editor-Bva0M7Ns.js.map → param-editor-DyIO1rSf.js.map} +1 -1
  77. package/dist/{param-editor-field-BPBlweVg.js → param-editor-field-Bt7NP9OH.js} +682 -676
  78. package/dist/param-editor-field-Bt7NP9OH.js.map +1 -0
  79. package/dist/param-editor.d.ts +0 -66
  80. package/dist/param-editor.js +3 -3
  81. package/dist/prism-CQBZiF5P.js +391 -0
  82. package/dist/prism-CQBZiF5P.js.map +1 -0
  83. package/dist/{queued-follow-up-Bj_vtMgd.js → queued-follow-up-Bl8TC36-.js} +2 -3
  84. package/dist/{queued-follow-up-Bj_vtMgd.js.map → queued-follow-up-Bl8TC36-.js.map} +1 -1
  85. package/dist/{radio-CiFrDN6O.js → radio-BPnviQ4h.js} +2 -3
  86. package/dist/{radio-CiFrDN6O.js.map → radio-BPnviQ4h.js.map} +1 -1
  87. package/dist/{resolve-icon-component-Dy0pOuj5.js → resolve-icon-component-BrIOFsnC.js} +3 -4
  88. package/dist/{resolve-icon-component-Dy0pOuj5.js.map → resolve-icon-component-BrIOFsnC.js.map} +1 -1
  89. package/dist/{resource-badge-DGwekS-G.d.ts → resource-badge-C73K0Vg9.d.ts} +0 -4
  90. package/dist/{rich-text-CH2psble.js → rich-text-DBpBdWtn.js} +75 -104
  91. package/dist/{rich-text-CH2psble.js.map → rich-text-DBpBdWtn.js.map} +1 -1
  92. package/dist/rich-text.d.ts +1 -1
  93. package/dist/rich-text.js +3 -3
  94. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  95. package/dist/{scroll-area-IeoRS73V.js → scroll-area-BfAlvhjh.js} +3 -5
  96. package/dist/{scroll-area-IeoRS73V.js.map → scroll-area-BfAlvhjh.js.map} +1 -1
  97. package/dist/split-panel-motion-context-B8QvAyTv.js +6 -0
  98. package/dist/{split-panel-motion-context-YB0sduVv.js.map → split-panel-motion-context-B8QvAyTv.js.map} +1 -1
  99. package/dist/terminal.d.ts +1 -11
  100. package/dist/terminal.js +7 -15
  101. package/dist/terminal.js.map +1 -1
  102. package/dist/{theme-kKuLN2jb.js → theme-BMHkV5Ry.js} +2 -3
  103. package/dist/{theme-kKuLN2jb.js.map → theme-BMHkV5Ry.js.map} +1 -1
  104. package/dist/{theme-preference-BV4cbJNB.js → theme-preference-Bdi0s7vE.js} +10 -19
  105. package/dist/{theme-preference-BV4cbJNB.js.map → theme-preference-Bdi0s7vE.js.map} +1 -1
  106. package/dist/{theme-BsStBWWL.js → theme-rmCwx-aG.js} +30 -14
  107. package/dist/theme-rmCwx-aG.js.map +1 -0
  108. package/dist/theme.d.ts +1 -1
  109. package/dist/theme.js +2 -2
  110. package/dist/{tree-list-aNC_UTGS.js → tree-list-Bg8U7ZYc.js} +31 -65
  111. package/dist/{tree-list-aNC_UTGS.js.map → tree-list-Bg8U7ZYc.js.map} +1 -1
  112. package/dist/{use-virtualizer-CqDYJolY.js → use-virtualizer-B6ABIiNI.js} +2 -3
  113. package/dist/{use-virtualizer-CqDYJolY.js.map → use-virtualizer-B6ABIiNI.js.map} +1 -1
  114. package/dist/{workspace-badge-BMjS8ii4.d.ts → workspace-badge-DI6ZpW9Z.d.ts} +0 -6
  115. package/dist/{workspace-badge-DqQKSUJw.js → workspace-badge-Dqi-Sh_Q.js} +3 -4
  116. package/dist/{workspace-badge-DqQKSUJw.js.map → workspace-badge-Dqi-Sh_Q.js.map} +1 -1
  117. package/dist-monaco/assets/{css.worker-DFdt6_zu.js → css.worker-D55UB6Ki.js} +7 -7
  118. package/dist-monaco/assets/editor.worker-C3R1XRkp.js +26 -0
  119. package/dist-monaco/assets/{html.worker-JUzsMP-j.js → html.worker-CFLR1M2C.js} +7 -7
  120. package/dist-monaco/assets/json.worker-DJ19GkSR.js +58 -0
  121. package/dist-monaco/assets/{ts.worker-CmEKzkmF.js → ts.worker-DJNYEI7I.js} +32 -32
  122. package/dist-monaco/monaco.js +188 -188
  123. package/package.json +2 -2
  124. package/dist/alert-CO-uOKLm.js +0 -409
  125. package/dist/alert-CO-uOKLm.js.map +0 -1
  126. package/dist/markdown-editor-BPGIS9ku.js.map +0 -1
  127. package/dist/param-editor-field-BPBlweVg.js.map +0 -1
  128. package/dist/prism-E3-NXX_t.js +0 -335
  129. package/dist/prism-E3-NXX_t.js.map +0 -1
  130. package/dist/split-panel-motion-context-YB0sduVv.js +0 -7
  131. package/dist/theme-BsStBWWL.js.map +0 -1
  132. package/dist-monaco/assets/editor.worker-O-CH8JUO.js +0 -26
  133. package/dist-monaco/assets/json.worker-B4dEhy0e.js +0 -58
package/dist/chat-ui.d.ts CHANGED
@@ -1,9 +1,8 @@
1
- import { n as ResourceBadgeProps, r as ScrollArea$1 } from "./resource-badge-DGwekS-G.js";
2
- import { A as PromptSelectionSnapshot, M as PromptCommand, d as ChatLinkCandidate, f as ChatLinkHandler, h as parseChatLink, m as isGuessedChatLink, p as ChatLinkProps } from "./index-eV_0Gjzo.js";
1
+ import { n as ResourceBadgeProps, r as ScrollArea$1 } from "./resource-badge-C73K0Vg9.js";
2
+ import { A as PromptSelectionSnapshot, M as PromptCommand, d as ChatLinkCandidate, f as ChatLinkHandler, h as parseChatLink, m as isGuessedChatLink, p as ChatLinkProps } from "./index-DzVOXj8n.js";
3
3
  import { HTMLChakraProps, IconButtonProps, RecipeVariantProps } from "@chakra-ui/react";
4
4
  import { StickToBottom } from "use-stick-to-bottom";
5
5
  import { ReactNode } from "react";
6
- //#region src/components/chat-ui/components/ai-conversation.d.ts
7
6
  type ConversationRootProps = HTMLChakraProps<"div", React.ComponentProps<typeof StickToBottom>>;
8
7
  type ConversationContentProps = Omit<React.ComponentProps<typeof ScrollArea$1>, "contentProps" | "viewportRef">;
9
8
  type ConversationScrollButtonProps = IconButtonProps;
@@ -301,8 +300,6 @@ export declare const ChatPrimitives: {
301
300
  readonly Viewport: (props: ConversationContentProps) => import("react/jsx-runtime").JSX.Element;
302
301
  readonly ScrollToBottom: (props: ConversationScrollButtonProps) => false | import("react/jsx-runtime").JSX.Element;
303
302
  };
304
- //#endregion
305
- //#region src/components/chat-ui/components/ai-message.d.ts
306
303
  declare const recipe: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "content", {
307
304
  from: {
308
305
  user: {
@@ -392,8 +389,6 @@ export declare const ChatMessage: {
392
389
  readonly Root: import("react").ForwardRefExoticComponent<MessageRootProps & import("react").RefAttributes<HTMLDivElement>>;
393
390
  readonly Content: import("react").ForwardRefExoticComponent<MessageContentProps & import("react").RefAttributes<HTMLDivElement>>;
394
391
  };
395
- //#endregion
396
- //#region src/components/chat-ui/components/approval-prompt.d.ts
397
392
  interface ApprovalPromptProps {
398
393
  toolName: string;
399
394
  toolInput?: unknown;
@@ -401,8 +396,6 @@ interface ApprovalPromptProps {
401
396
  onDeny: () => void;
402
397
  }
403
398
  export declare const ApprovalPrompt: (props: ApprovalPromptProps) => import("react/jsx-runtime").JSX.Element;
404
- //#endregion
405
- //#region src/components/chat-ui/components/attachment-list.d.ts
406
399
  type AttachmentListRenderBadge = (props: AttachmentListItemRenderProps) => ReactNode;
407
400
  interface AttachmentListItemRenderProps {
408
401
  attachmentId: string;
@@ -424,15 +417,11 @@ interface AttachmentListProps {
424
417
  *
425
418
  */
426
419
  export declare const AttachmentList: (props: AttachmentListProps) => import("react/jsx-runtime").JSX.Element | null;
427
- //#endregion
428
- //#region src/components/chat-ui/components/auto-scroll.d.ts
429
420
  interface AutoScrollProps {
430
421
  userMessageCount: number;
431
422
  conversationKey?: string | null;
432
423
  }
433
424
  export declare function AutoScroll(props: AutoScrollProps): null;
434
- //#endregion
435
- //#region src/components/chat-ui/components/chat-input-question-answers.d.ts
436
425
  interface ChatInputQuestionOption {
437
426
  label: string;
438
427
  description?: string;
@@ -456,8 +445,6 @@ interface ChatInputQuestionResponse {
456
445
  callId?: string;
457
446
  }
458
447
  type ChatInputQuestionCustomAnswers = Record<string, string>;
459
- //#endregion
460
- //#region src/components/chat-ui/components/chat-input-question-prompt.d.ts
461
448
  interface QuestionPromptControlsProps {
462
449
  isEditable: boolean;
463
450
  questionPrompt: ChatInputQuestionPrompt;
@@ -468,8 +455,6 @@ interface QuestionPromptControlsProps {
468
455
  onCustomAnswerChange: (question: ChatInputQuestion, questionIndex: number, answer: string) => void;
469
456
  }
470
457
  export declare const QuestionPromptControls: (props: QuestionPromptControlsProps) => import("react/jsx-runtime").JSX.Element;
471
- //#endregion
472
- //#region src/components/chat-ui/components/composer-decision.d.ts
473
458
  /** A native decision occupies the composer without submitting the saved draft. */
474
459
  interface ComposerDecision {
475
460
  id: string;
@@ -484,8 +469,6 @@ interface ComposerDecision {
484
469
  }[];
485
470
  onAction: (actionId: string) => void | Promise<void>;
486
471
  }
487
- //#endregion
488
- //#region src/components/chat-ui/components/chat-input.d.ts
489
472
  interface ChatInputProps {
490
473
  /**
491
474
  * Serialized editor state for the text to show. The editor adopts it whenever its text differs
@@ -527,8 +510,6 @@ interface ChatInputProps {
527
510
  commands?: PromptCommand[];
528
511
  }
529
512
  export declare const ChatInput: (props: ChatInputProps) => import("react/jsx-runtime").JSX.Element;
530
- //#endregion
531
- //#region src/components/chat-ui/components/message-types.d.ts
532
513
  type SessionMessageRole = "user" | "assistant" | "tool" | "system" | "developer";
533
514
  type TextPart = {
534
515
  type: "text";
@@ -642,11 +623,7 @@ type QueuedFollowUp = {
642
623
  }>;
643
624
  position?: number;
644
625
  };
645
- //#endregion
646
- //#region src/components/chat-ui/components/queued-follow-up-list-state.d.ts
647
626
  type QueuedFollowUpMoveDirection = "up" | "down";
648
- //#endregion
649
- //#region src/components/chat-ui/components/chat-panel.d.ts
650
627
  /** Full conversation shell for agent sessions, including messages, input, attachments, and host-provided slots. */
651
628
  interface ChatPanelProps extends ChatLinkProps {
652
629
  /** Stable conversation identity used to reset ready state when switching sessions. */
@@ -711,11 +688,7 @@ interface ChatPanelProps extends ChatLinkProps {
711
688
  chatInputCommands?: PromptCommand[];
712
689
  }
713
690
  export declare const ChatPanel: (props: ChatPanelProps) => import("react/jsx-runtime").JSX.Element;
714
- //#endregion
715
- //#region src/components/chat-ui/components/chat-skeleton.d.ts
716
691
  export declare const ChatSkeleton: () => import("react/jsx-runtime").JSX.Element;
717
- //#endregion
718
- //#region src/components/chat-ui/components/conversation-browse.d.ts
719
692
  interface ConversationBrowseItem {
720
693
  /** Turn id used to scroll the log to this user message. */
721
694
  id: string;
@@ -737,8 +710,6 @@ interface ConversationBrowseProps {
737
710
  * selects that turn. Hidden below a few messages, where a gutter costs space and buys nothing.
738
711
  */
739
712
  export declare const ConversationBrowse: (props: ConversationBrowseProps) => import("react/jsx-runtime").JSX.Element | null;
740
- //#endregion
741
- //#region src/components/chat-ui/components/harness-controls.d.ts
742
713
  interface HarnessAction {
743
714
  id: string;
744
715
  label: string;
@@ -783,16 +754,12 @@ interface HarnessControlsProps {
783
754
  onAction: (modeId: string, actionId: string, argument?: string, modeSnapshot?: HarnessMode) => Promise<void>;
784
755
  }
785
756
  export declare const HarnessControls: (props: HarnessControlsProps) => import("react/jsx-runtime").JSX.Element;
786
- //#endregion
787
- //#region src/components/chat-ui/components/send-button.d.ts
788
757
  interface SendButtonProps extends IconButtonProps {
789
758
  shortcut?: string;
790
759
  title?: string;
791
760
  canInterrupt: boolean;
792
761
  }
793
762
  export declare const SendButton: (props: SendButtonProps) => import("react/jsx-runtime").JSX.Element;
794
- //#endregion
795
- //#region src/components/chat-ui/components/use-question-prompt-state.d.ts
796
763
  /**
797
764
  * Holds what the person picked for the open question and derives what the form would send.
798
765
  * `resetToken` clears the picks whenever the composer itself is reset, such as a new draft.
@@ -810,8 +777,6 @@ export declare const useQuestionPromptState: (questionPrompt: ChatInputQuestionP
810
777
  hasMissingRequiredAnswer: boolean;
811
778
  buildAnswers: () => string[][];
812
779
  };
813
- //#endregion
814
- //#region src/components/chat-ui/components/workspace-hub.d.ts
815
780
  type WorkspaceHubStatus = "ready" | "loading" | "error";
816
781
  interface ChatWorkspaceHubProps {
817
782
  /** Workspace identity/selector shown at the start of the header (e.g. GitBranch + name). */
@@ -829,9 +794,6 @@ interface ChatWorkspaceHubProps {
829
794
  * being created or has failed. The open action recedes during setup.
830
795
  */
831
796
  export declare const ChatWorkspaceHub: (props: ChatWorkspaceHubProps) => import("react/jsx-runtime").JSX.Element;
832
- //#endregion
833
- //#region src/components/chat-ui/utils/editor-state.d.ts
834
797
  export declare const createSerializedPromptState: (input?: string) => string;
835
- //#endregion
836
798
  export { type AlertPart, type AutoScrollProps, type ChatInputProps, type ChatInputQuestion, type ChatInputQuestionCustomAnswers, type ChatInputQuestionOption, type ChatInputQuestionPrompt, type ChatInputQuestionResponse, type ChatLinkCandidate, type ChatLinkHandler, type ChatLinkProps, type ChatMessagePart, type ComposerDecision, type ConversationBrowseItem, type ConversationContentProps, type ConversationRootProps, type ConversationScrollButtonProps, type HarnessControlsProps, type MessageContentProps, type MessageRootProps, type QuestionPromptControlsProps, type QueuedFollowUp, type QueuedFollowUpMoveDirection, type SendButtonProps, type SessionMessage, type SessionMessagePart, type ToolPart, isGuessedChatLink, parseChatLink };
837
799
  export {};