summaryrefslogtreecommitdiffhomepage
path: root/src/features/chat/index.ts
blob: 59da39bf7216a4c9c7dc9069d98c1d45f9d6014a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
export type {
  ProviderRetryView,
  RenderedChunk,
  RenderGroup,
  ToolEntry,
} from "../../core/chunks";
export { groupRenderedChunks, resolveImageUrl, viewProviderRetry } from "../../core/chunks";
export type { TurnMetricsEntry } from "../../core/metrics";
export type { NamedAgentLike, NamedAgentSnapshotLike } from "./model-select";
export {
  isNamedAgentSelection,
  isNumberedOpenCode,
  isVisionModel,
  migrateLegacyModelName,
  modelKeyLabel,
  NAMED_AGENTS_PROVIDER,
  namedAgentNames,
  namedAgentSelectionLabel,
  namedAgentsProviderLabel,
  openCodeNumber,
  providerKeysWithNamedAgents,
} from "./model-select";
export type { ChatTransport, HistorySync, HistoryWindow, MetricsSync } from "./ports";
export type {
  EffortOption,
  ReasoningEffortSaveResult,
  SaveReasoningEffort,
  SaveThinkingSelection,
  SelectionOption,
  SetThinkingRequest,
  ThinkingResponse,
  ThinkingSaveResult,
  ThinkingSelection,
  ThinkingSelectionSaveResult,
} from "./reasoning-effort";
export {
  DEFAULT_REASONING_EFFORT,
  effectiveEffort,
  effectiveSelection,
  effortOptions,
  isReasoningEffort,
  isThinkingSelection,
  REASONING_EFFORT_LEVELS,
  selectionOptions,
} from "./reasoning-effort";
export type { ChatStore, ChatStoreDependencies } from "./store.svelte";
export { createChatStore } from "./store.svelte";
export { default as ChatView } from "./ui/ChatView.svelte";
export type { CompactNowResult, SaveCompactPercentResult } from "./ui/CompactionView.svelte";
export { default as CompactionView } from "./ui/CompactionView.svelte";
export type { ComposerStatus } from "./ui/Composer.svelte";
export { default as Composer } from "./ui/Composer.svelte";
export { default as ModelSelector } from "./ui/ModelSelector.svelte";
export { default as ReasoningEffortSelector } from "./ui/ReasoningEffortSelector.svelte";

/** Public module manifest — aggregated by the shell's "Loaded Modules" view. */
export const manifest = {
  name: "chat",
  description: "Conversation turns, composer, model selector, and metrics",
} as const;