Defines types and interfaces for chat functionality in Claudian, including message handling and provider capabilities.
// Source: https://github.com/YishenTu/claudian | License: MIT | Copyright 2025 Yishen Tu
// Provided via justclaw.it.com; keep this notice with the code.
import type { ProviderSelectionSnapshot, ProviderSessionReference } from '../execution/ProviderExecutionRequest';
import type { ProviderCapabilities } from '../providers/types';
import type { ProviderId } from './provider';
import type { SubagentMode, ToolCallInfo, ToolProviderPayload, ToolResultDetails } from './tools';
/** Fork origin reference: identifies the source session and checkpoint. */
export interface ForkSource {
sessionId: string;
resumeAt: string;
}
/** View type identifier for Obsidian. */
export const VIEW_TYPE_CLAUDIAN = 'claudian-view';
/** Supported image media types for attachments. */
export type ImageMediaTyp
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key