opencode-swarm 7.33.2 → 7.34.0

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.
@@ -24,6 +24,7 @@ export { handleFullAutoCommand } from './full-auto';
24
24
  export { handleHandoffCommand } from './handoff';
25
25
  export { handleHistoryCommand } from './history';
26
26
  export { handleKnowledgeListCommand, handleKnowledgeMigrateCommand, handleKnowledgeQuarantineCommand, handleKnowledgeRestoreCommand, } from './knowledge';
27
+ export { handleMemoryCommand, handleMemoryExportCommand, handleMemoryImportCommand, handleMemoryMigrateCommand, handleMemoryStatusCommand, } from './memory';
27
28
  export { handlePlanCommand } from './plan';
28
29
  export { handlePreflightCommand } from './preflight';
29
30
  export { handlePromoteCommand } from './promote';
@@ -0,0 +1,5 @@
1
+ export declare function handleMemoryCommand(_directory: string, _args: string[]): Promise<string>;
2
+ export declare function handleMemoryStatusCommand(directory: string, _args: string[]): Promise<string>;
3
+ export declare function handleMemoryMigrateCommand(directory: string, _args: string[]): Promise<string>;
4
+ export declare function handleMemoryImportCommand(directory: string, _args: string[]): Promise<string>;
5
+ export declare function handleMemoryExportCommand(directory: string, _args: string[]): Promise<string>;
@@ -422,6 +422,39 @@ export declare const COMMAND_REGISTRY: {
422
422
  readonly description: "List knowledge entries";
423
423
  readonly category: "utility";
424
424
  };
425
+ readonly memory: {
426
+ readonly handler: (ctx: CommandContext) => Promise<string>;
427
+ readonly description: "Show Swarm memory commands";
428
+ readonly category: "utility";
429
+ };
430
+ readonly 'memory status': {
431
+ readonly handler: (ctx: CommandContext) => Promise<string>;
432
+ readonly description: "Show Swarm memory provider, JSONL, and migration status";
433
+ readonly subcommandOf: "memory";
434
+ readonly args: "";
435
+ readonly category: "diagnostics";
436
+ };
437
+ readonly 'memory export': {
438
+ readonly handler: (ctx: CommandContext) => Promise<string>;
439
+ readonly description: "Export current Swarm memory to JSONL files";
440
+ readonly subcommandOf: "memory";
441
+ readonly args: "";
442
+ readonly category: "utility";
443
+ };
444
+ readonly 'memory import': {
445
+ readonly handler: (ctx: CommandContext) => Promise<string>;
446
+ readonly description: "Import legacy JSONL memory into SQLite";
447
+ readonly subcommandOf: "memory";
448
+ readonly args: "";
449
+ readonly category: "utility";
450
+ };
451
+ readonly 'memory migrate': {
452
+ readonly handler: (ctx: CommandContext) => Promise<string>;
453
+ readonly description: "Run the one-time legacy JSONL to SQLite migration";
454
+ readonly subcommandOf: "memory";
455
+ readonly args: "";
456
+ readonly category: "utility";
457
+ };
425
458
  readonly checkpoint: {
426
459
  readonly handler: (ctx: CommandContext) => Promise<string>;
427
460
  readonly description: "Manage project checkpoints [save|restore|delete|list] <label>";
@@ -1,5 +1,5 @@
1
1
  import type { ResolvedSwarmCommand, SwarmCommandPolicyResult } from './command-dispatch.js';
2
- export declare const SWARM_COMMAND_TOOL_COMMANDS: readonly ["agents", "config", "config doctor", "config-doctor", "doctor", "doctor tools", "status", "show-plan", "plan", "help", "history", "evidence", "evidence summary", "evidence-summary", "retrieve", "diagnose", "preflight", "benchmark", "knowledge", "sync-plan", "export", "list-agents"];
2
+ export declare const SWARM_COMMAND_TOOL_COMMANDS: readonly ["agents", "config", "config doctor", "config-doctor", "doctor", "doctor tools", "status", "show-plan", "plan", "help", "history", "evidence", "evidence summary", "evidence-summary", "retrieve", "diagnose", "preflight", "benchmark", "knowledge", "memory", "memory status", "memory export", "memory import", "memory migrate", "sync-plan", "export", "list-agents"];
3
3
  export type SwarmCommandToolInputCommand = (typeof SWARM_COMMAND_TOOL_COMMANDS)[number];
4
4
  export declare const SWARM_COMMAND_TOOL_ALLOWLIST: Set<string>;
5
5
  /**