Z ZPI 文档 v0.3.8
介绍页

源码

packages/ui/src/index.ts

typescript59 行查看原文
export { observeAppearance, useAppearance } from "./appearance.ts";
export { toolCodeLanguage } from "./code-language.ts";
export { type CodePreviewSettings, codePreviewThemes, defaultCodePreview } from "./code-preview.ts";
export { ChatComposer, Conversation, RunGroup } from "./components/Conversation.tsx";
export { ConversationSelectionMenu } from "./components/ConversationSelections.tsx";
export type { DiffEntry } from "./components/DiffView.tsx";
export { DiffView } from "./components/DiffView.tsx";
export type { ComposerContext, ComposerDraft } from "./components/InputContext.tsx";
export { ComposerDraftStore } from "./components/InputContext.tsx";
export { Markdown } from "./components/Markdown.tsx";
export { MermaidBlock } from "./components/MermaidBlock.tsx";
export { ActionHint } from "./components/MessageActions.tsx";
export type { NoticeAction, NoticeProps, NoticeScope, NoticeTone } from "./components/Notice.tsx";
export { Notice } from "./components/Notice.tsx";
export { FileIcon } from "./components/Reference.tsx";
export { ReviewDiffViewer } from "./components/ReviewDiffViewer.tsx";
export { type SortableBindings, SortableList } from "./components/SortableList.tsx";
export { subagentStatusLabels } from "./components/SubagentToolBlock.tsx";
export { TaskFindBar } from "./components/TaskFindBar.tsx";
export { TaskTitleOverflowText } from "./components/TaskTitleOverflowText.tsx";
export { ToolFilePreview } from "./components/ToolBlock.tsx";
export { toolFile } from "./components/tool-presentation.ts";
export { useSelectionStableValue } from "./components/use-selection-stable-value.ts";
export { useTextFind } from "./components/use-text-find.ts";
export { isNavigableRun } from "./conversation-run-partition.ts";
export type { ConversationSelection } from "./conversation-selections.ts";
export {
  appendSelection,
  buildSelectionPrompt,
  fileCommentSourceKey,
  getFileCommentSelection,
  parseSelectionPrompt,
  validSelections,
} from "./conversation-selections.ts";
export type { FindRequest, FindState } from "./find.ts";
export { buildFindMatches } from "./find.ts";
export type {
  FileLocation,
  FileOpenHandler,
  FileOpenOrigin,
  LinkContext,
  WebOpenOptions,
} from "./link-target.ts";
export { resolveLinkTarget, webOpenTarget } from "./link-target.ts";
export type { PreviewServices } from "./preview/preview-lifecycle.ts";
export { createPreviewLoader } from "./preview/preview-lifecycle.ts";
export {
  emptySession,
  mergeHistory,
  mergeHistoryPages,
  progressSummary,
  reduceSession,
  sessionViewBytes,
} from "./reducer.ts";
export type { ReviewDiffData } from "./review-diff.ts";
export { reviewFindTargets } from "./review-find.ts";
export type * from "./types.ts";
export { resultText } from "./types.ts";