/** * OpenViking memory and context bundle for DeepSeek Harness. * * The plugin registers the `openviking` settings namespace (endpoint, * credentials, recall/capture tuning), then mounts a per-profile runtime that: * - injects the OpenViking profile + available-memory index at session start; * - appends a durable, source-attributed recall user message on `agent/pre-step`; * - captures user/assistant/tool events without scraping the transcript; * - commits when the pending-token threshold is crossed, and queues failed * writes for replay at the next session start; * - blocks DSH filesystem/shell tools from treating `viking://` as local paths; * - injects skills saved in OpenViking into the DSH skill catalog through a * `ctx.skills` provider named `openviking` (see `skill-provider.ts`). * * Recall and profile context enter as `source: { kind: 'plugin' }` user * messages, deliberately not the system prompt: a `complete: true` persona * (the stock `minimal` preset) would silently discard prompt additions. * Neither this module nor any other source file names the package: the local * and published identities differ, so the host-side identity is the cordis row * this module is loaded as, and the browser-side identity is injected at build * time (see `scripts/build-client.mjs`). * @module openviking-memory */ import type { Context } from '@deepseek-ai/cordis'; import { Config, OPENVIKING_ENTRY_ID, type OpenVikingEntryConfig } from './config.ts'; export declare const name = "openviking-memory"; export declare const inject: string[]; export { Config, OPENVIKING_ENTRY_ID }; /** Plugin entry: mount the runtime and lifecycle hooks over this row's config. */ export declare function apply(ctx: Context, input?: OpenVikingEntryConfig): () => void; //# sourceMappingURL=index.d.ts.map