/** * The client-side Typert Remote contribution for the dsh-atlas host * services: mounts the shared strict descriptors into `ctx.remote` under the * `atFile` and `atMention` namespaces. The descriptors and codecs come from * the shared contract module, so the browser bundle and the host manifest * stay on one wire definition. One contribution per package face: both * namespaces ride the same `dsh-atlas` package. */ import type { RemoteResult, TypertRemoteContribution } from '@deepseek-ai/dsh-typert-protocol'; import type { SessionId } from '@deepseek-ai/dsh-session/types'; import type { AtlasRuntimeInfo } from '../atlas.ts'; import type { AtFileSettings, AtFileSettingsUpdate, BrowseListing, ChatCandidate, DirectoryListing, GitChange, PluginCandidate, RecentFolder, ReferenceInfo, SkillCandidate } from '../contract.ts'; export type { DirectoryEntry, DirectoryListing, FileEntry, SkillCandidate, ChatCandidate, PluginCandidate, GitChange, RecentFolder, RecentFolderReason } from '../contract.ts'; /** The combined Remote namespace contribution (one package face). */ export declare const AT_REMOTE: TypertRemoteContribution; declare module '@deepseek-ai/dsh-typert-protocol' { /** The `atFile` namespace face. */ interface TypertRemoteNamespace$617446696c65 { search: (agentId: SessionId, signal?: AbortSignal) => Promise>; inspect: (agentId: SessionId, targets: readonly string[], signal?: AbortSignal) => Promise>; getSettings: () => Promise>; updateSettings: (update: AtFileSettingsUpdate) => Promise>; list: (agentId: SessionId, path: string, include: string, signal?: AbortSignal) => Promise>; browse: (agentId: SessionId, path: string, signal?: AbortSignal) => Promise>; recentFolders: (agentId: SessionId, signal?: AbortSignal) => Promise>; } /** The `atlas` namespace face (host half of the @ data-source seam). */ interface TypertRemoteNamespace$61746c6173 { runtime: (signal?: AbortSignal) => Promise>; gitChanges: (agentId: SessionId, signal?: AbortSignal) => Promise>; } /** The `atMention` namespace face. */ interface TypertRemoteNamespace$61744d656e74696f6e { listSkills: (agentId: SessionId, signal?: AbortSignal) => Promise>; listChats: (agentId: SessionId, query: string, limit: number, signal?: AbortSignal) => Promise>; listPlugins: (signal?: AbortSignal) => Promise>; } interface TypertRemoteMap { 'atFile/search': (agentId: SessionId, signal?: AbortSignal) => Promise>; 'atFile/inspect': (agentId: SessionId, targets: readonly string[], signal?: AbortSignal) => Promise>; 'atFile/external': (agentId: SessionId, signal?: AbortSignal) => Promise>; 'atFile/list': (agentId: SessionId, path: string, include: string, signal?: AbortSignal) => Promise>; 'atFile/browse': (agentId: SessionId, path: string, signal?: AbortSignal) => Promise>; 'atFile/recentFolders': (agentId: SessionId, signal?: AbortSignal) => Promise>; 'atFile/getSettings': () => Promise>; 'atFile/updateSettings': (update: AtFileSettingsUpdate) => Promise>; 'atMention/listSkills': (agentId: SessionId, signal?: AbortSignal) => Promise>; 'atMention/listChats': (agentId: SessionId, query: string, limit: number, signal?: AbortSignal) => Promise>; 'atMention/listPlugins': (signal?: AbortSignal) => Promise>; 'atlas/runtime': (signal?: AbortSignal) => Promise>; 'atlas/gitChanges': (agentId: SessionId, signal?: AbortSignal) => Promise>; } interface TypertRemoteNamespaceMap { atFile: TypertRemoteNamespace$617446696c65; atMention: TypertRemoteNamespace$61744d656e74696f6e; atlas: TypertRemoteNamespace$61746c6173; } }