/** * @module minions-sdk * Framework-agnostic core library for the Minions structured object system. * * @example * ```typescript * import { TypeRegistry, createMinion, RelationGraph } from 'minions-sdk'; * * const registry = new TypeRegistry(); * const agentType = registry.getBySlug('agent')!; * * const { minion, validation } = createMinion({ * title: 'Research Assistant', * fields: { * role: 'researcher', * model: 'gpt-4', * systemPrompt: 'You are a research assistant.', * tools: ['web-search', 'summarize'], * }, * }, agentType); * ``` */ export type { FieldType, FieldValidation, FieldDefinition, RelationType, MinionStatus, MinionPriority, Minion, MinionType, Relation, CreateMinionInput, UpdateMinionInput, CreateRelationInput, ExecutionResult, Executable, ValidationError, ValidationResult, } from './types/index.js'; export { validateField, validateFields } from './validation/index.js'; export { noteType, linkType, fileType, contactType, agentType, teamType, thoughtType, promptTemplateType, testCaseType, taskType, builtinTypes, } from './schemas/index.js'; export { TypeRegistry } from './registry/index.js'; export { RelationGraph } from './relations/index.js'; export { createMinion, updateMinion, softDelete, hardDelete, restoreMinion, applyDefaults } from './lifecycle/index.js'; export { migrateMinion } from './evolution/index.js'; export { generateId, now } from './utils.js'; export { Minions, MinionWrapper, type MinionsConfig, type MinionPlugin } from './client/index.js'; export type { MinionMiddleware, MinionContext, MinionOperation, NextFn } from './client/index.js'; export { runMiddleware } from './client/index.js'; export type { StorageAdapter, StorageFilter, StorageHooks, FileStorageOptions } from './storage/index.js'; export type { ConvexClientLike, ConvexStorageOptions } from './storage/index.js'; export type { SupabaseClientLike, SupabaseStorageOptions } from './storage/index.js'; export type { KVNamespaceLike, CloudflareKVStorageOptions } from './storage/index.js'; export { MemoryStorageAdapter, ConvexStorageAdapter, SupabaseStorageAdapter, CloudflareKVStorageAdapter, applyFilter, withHooks } from './storage/index.js'; export type { IndexAdapter, IndexEntry } from './index-layer/index.js'; export { toIndexEntry, MemoryIndexAdapter } from './index-layer/index.js'; export { RedisIndexAdapter } from './index-layer/index.js'; export type { RedisClientLike, RedisIndexOptions } from './index-layer/index.js'; export { NeonIndexAdapter } from './index-layer/index.js'; export type { NeonClientLike, NeonIndexOptions } from './index-layer/index.js'; export { SupabaseIndexAdapter } from './index-layer/index.js'; export type { SupabaseIndexOptions } from './index-layer/index.js'; /** * Current specification version — auto-generated from package.json * by `scripts/gen-version.js` during prebuild. Do not edit manually. */ export { SPEC_VERSION } from './version.js'; //# sourceMappingURL=index.d.ts.map