@swarmvaultai/engine 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -3
- package/dist/chunk-EEWB4WGH.js +1056 -0
- package/dist/index.d.ts +20 -6
- package/dist/index.js +808 -50
- package/dist/registry-YDXVCE4Q.js +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
import { Readable, Writable } from 'node:stream';
|
|
3
3
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
4
4
|
|
|
5
|
-
declare function installAgent(rootDir: string, agent: "codex" | "claude" | "cursor"): Promise<string>;
|
|
6
|
-
declare function installConfiguredAgents(rootDir: string): Promise<string[]>;
|
|
7
|
-
|
|
8
5
|
declare const providerCapabilitySchema: z.ZodEnum<{
|
|
9
6
|
responses: "responses";
|
|
10
7
|
chat: "chat";
|
|
@@ -24,9 +21,23 @@ declare const providerTypeSchema: z.ZodEnum<{
|
|
|
24
21
|
anthropic: "anthropic";
|
|
25
22
|
gemini: "gemini";
|
|
26
23
|
"openai-compatible": "openai-compatible";
|
|
24
|
+
openrouter: "openrouter";
|
|
25
|
+
groq: "groq";
|
|
26
|
+
together: "together";
|
|
27
|
+
xai: "xai";
|
|
28
|
+
cerebras: "cerebras";
|
|
27
29
|
custom: "custom";
|
|
28
30
|
}>;
|
|
29
31
|
type ProviderType = z.infer<typeof providerTypeSchema>;
|
|
32
|
+
declare const agentTypeSchema: z.ZodEnum<{
|
|
33
|
+
gemini: "gemini";
|
|
34
|
+
codex: "codex";
|
|
35
|
+
claude: "claude";
|
|
36
|
+
cursor: "cursor";
|
|
37
|
+
goose: "goose";
|
|
38
|
+
pi: "pi";
|
|
39
|
+
}>;
|
|
40
|
+
type AgentType = z.infer<typeof agentTypeSchema>;
|
|
30
41
|
type PageKind = "index" | "source" | "module" | "concept" | "entity" | "output" | "insight";
|
|
31
42
|
type Freshness = "fresh" | "stale";
|
|
32
43
|
type ClaimStatus = "extracted" | "inferred" | "conflicted" | "stale";
|
|
@@ -39,7 +50,7 @@ type PageManager = "system" | "human";
|
|
|
39
50
|
type ApprovalEntryStatus = "pending" | "accepted" | "rejected";
|
|
40
51
|
type ApprovalChangeType = "create" | "update" | "delete" | "promote";
|
|
41
52
|
type SourceKind = "markdown" | "text" | "pdf" | "image" | "html" | "binary" | "code";
|
|
42
|
-
type CodeLanguage = "javascript" | "jsx" | "typescript" | "tsx";
|
|
53
|
+
type CodeLanguage = "javascript" | "jsx" | "typescript" | "tsx" | "python" | "go" | "rust" | "java";
|
|
43
54
|
type CodeSymbolKind = "function" | "class" | "interface" | "type_alias" | "enum" | "variable";
|
|
44
55
|
type OrchestrationRole = "research" | "audit" | "context" | "safety";
|
|
45
56
|
declare const webSearchProviderTypeSchema: z.ZodEnum<{
|
|
@@ -146,7 +157,7 @@ interface VaultConfig {
|
|
|
146
157
|
roots: string[];
|
|
147
158
|
schemaPath?: string;
|
|
148
159
|
}>;
|
|
149
|
-
agents:
|
|
160
|
+
agents: AgentType[];
|
|
150
161
|
schedules?: Record<string, ScheduleJobConfig>;
|
|
151
162
|
orchestration?: OrchestrationConfig;
|
|
152
163
|
webSearch?: {
|
|
@@ -666,6 +677,9 @@ interface ScheduleController {
|
|
|
666
677
|
close(): Promise<void>;
|
|
667
678
|
}
|
|
668
679
|
|
|
680
|
+
declare function installAgent(rootDir: string, agent: AgentType): Promise<string>;
|
|
681
|
+
declare function installConfiguredAgents(rootDir: string): Promise<string[]>;
|
|
682
|
+
|
|
669
683
|
declare function defaultVaultConfig(): VaultConfig;
|
|
670
684
|
declare function defaultVaultSchema(): string;
|
|
671
685
|
declare function resolvePaths(rootDir: string, config?: VaultConfig, configPath?: string, schemaPath?: string): ResolvedPaths;
|
|
@@ -760,4 +774,4 @@ declare function watchVault(rootDir: string, options?: WatchOptions): Promise<Wa
|
|
|
760
774
|
declare function createWebSearchAdapter(id: string, config: WebSearchProviderConfig, rootDir: string): Promise<WebSearchAdapter>;
|
|
761
775
|
declare function getWebSearchAdapterForTask(rootDir: string, task: "deepLintProvider"): Promise<WebSearchAdapter>;
|
|
762
776
|
|
|
763
|
-
export { type AnalyzedTerm, type ApprovalChangeType, type ApprovalDetail, type ApprovalEntry, type ApprovalEntryDetail, type ApprovalEntryStatus, type ApprovalManifest, type ApprovalSummary, type CandidateRecord, type ChartDatum, type ChartSpec, type ClaimStatus, type CodeAnalysis, type CodeDiagnostic, type CodeImport, type CodeLanguage, type CodeSymbol, type CodeSymbolKind, type CommandRoleExecutorConfig, type CompileOptions, type CompileResult, type CompileState, type ExploreOptions, type ExploreResult, type ExploreStepResult, type Freshness, type GenerationAttachment, type GenerationRequest, type GenerationResponse, type GraphArtifact, type GraphEdge, type GraphNode, type GraphPage, type ImageGenerationRequest, type ImageGenerationResponse, type InboxImportResult, type InboxImportSkip, type IngestOptions, type InitOptions, type LintFinding, type LintOptions, type OrchestrationConfig, type OrchestrationFinding, type OrchestrationProposal, type OrchestrationRole, type OrchestrationRoleConfig, type OrchestrationRoleResult, type OutputAsset, type OutputAssetRole, type OutputFormat, type OutputOrigin, type PageKind, type PageManager, type PageStatus, type Polarity, type ProviderAdapter, type ProviderCapability, type ProviderConfig, type ProviderRoleExecutorConfig, type ProviderType, type QueryOptions, type QueryResult, type ResolvedPaths, type ReviewActionResult, type RoleExecutorConfig, type SceneElement, type SceneSpec, type ScheduleController, type ScheduleJobConfig, type ScheduleStateRecord, type ScheduleTriggerConfig, type ScheduledCompileTask, type ScheduledExploreTask, type ScheduledLintTask, type ScheduledQueryTask, type ScheduledRunResult, type ScheduledTaskConfig, type SearchResult, type SourceAnalysis, type SourceAttachment, type SourceClaim, type SourceKind, type SourceManifest, type VaultConfig, type WatchController, type WatchOptions, type WatchRunRecord, type WebSearchAdapter, type WebSearchProviderConfig, type WebSearchProviderType, type WebSearchResult, acceptApproval, archiveCandidate, assertProviderCapability, bootstrapDemo, compileVault, createMcpServer, createProvider, createWebSearchAdapter, defaultVaultConfig, defaultVaultSchema, exploreVault, exportGraphHtml, getProviderForTask, getWebSearchAdapterForTask, getWorkspaceInfo, importInbox, ingestInput, initVault, initWorkspace, installAgent, installConfiguredAgents, lintVault, listApprovals, listCandidates, listManifests, listPages, listSchedules, loadVaultConfig, loadVaultSchema, loadVaultSchemas, promoteCandidate, providerCapabilitySchema, providerTypeSchema, queryVault, readApproval, readExtractedText, readPage, rejectApproval, resolvePaths, runSchedule, searchVault, serveSchedules, startGraphServer, startMcpServer, watchVault, webSearchProviderTypeSchema };
|
|
777
|
+
export { type AgentType, type AnalyzedTerm, type ApprovalChangeType, type ApprovalDetail, type ApprovalEntry, type ApprovalEntryDetail, type ApprovalEntryStatus, type ApprovalManifest, type ApprovalSummary, type CandidateRecord, type ChartDatum, type ChartSpec, type ClaimStatus, type CodeAnalysis, type CodeDiagnostic, type CodeImport, type CodeLanguage, type CodeSymbol, type CodeSymbolKind, type CommandRoleExecutorConfig, type CompileOptions, type CompileResult, type CompileState, type ExploreOptions, type ExploreResult, type ExploreStepResult, type Freshness, type GenerationAttachment, type GenerationRequest, type GenerationResponse, type GraphArtifact, type GraphEdge, type GraphNode, type GraphPage, type ImageGenerationRequest, type ImageGenerationResponse, type InboxImportResult, type InboxImportSkip, type IngestOptions, type InitOptions, type LintFinding, type LintOptions, type OrchestrationConfig, type OrchestrationFinding, type OrchestrationProposal, type OrchestrationRole, type OrchestrationRoleConfig, type OrchestrationRoleResult, type OutputAsset, type OutputAssetRole, type OutputFormat, type OutputOrigin, type PageKind, type PageManager, type PageStatus, type Polarity, type ProviderAdapter, type ProviderCapability, type ProviderConfig, type ProviderRoleExecutorConfig, type ProviderType, type QueryOptions, type QueryResult, type ResolvedPaths, type ReviewActionResult, type RoleExecutorConfig, type SceneElement, type SceneSpec, type ScheduleController, type ScheduleJobConfig, type ScheduleStateRecord, type ScheduleTriggerConfig, type ScheduledCompileTask, type ScheduledExploreTask, type ScheduledLintTask, type ScheduledQueryTask, type ScheduledRunResult, type ScheduledTaskConfig, type SearchResult, type SourceAnalysis, type SourceAttachment, type SourceClaim, type SourceKind, type SourceManifest, type VaultConfig, type WatchController, type WatchOptions, type WatchRunRecord, type WebSearchAdapter, type WebSearchProviderConfig, type WebSearchProviderType, type WebSearchResult, acceptApproval, agentTypeSchema, archiveCandidate, assertProviderCapability, bootstrapDemo, compileVault, createMcpServer, createProvider, createWebSearchAdapter, defaultVaultConfig, defaultVaultSchema, exploreVault, exportGraphHtml, getProviderForTask, getWebSearchAdapterForTask, getWorkspaceInfo, importInbox, ingestInput, initVault, initWorkspace, installAgent, installConfiguredAgents, lintVault, listApprovals, listCandidates, listManifests, listPages, listSchedules, loadVaultConfig, loadVaultSchema, loadVaultSchemas, promoteCandidate, providerCapabilitySchema, providerTypeSchema, queryVault, readApproval, readExtractedText, readPage, rejectApproval, resolvePaths, runSchedule, searchVault, serveSchedules, startGraphServer, startMcpServer, watchVault, webSearchProviderTypeSchema };
|