(deps commandDeps)
| 114 | } |
| 115 | |
| 116 | func newMemoryCommand(deps commandDeps) *cobra.Command { |
| 117 | cmd := &cobra.Command{ |
| 118 | Use: memoryMemoryKey, |
| 119 | Short: "Show, write, search, and operate Memory v2 durable context", |
| 120 | } |
| 121 | |
| 122 | cmd.AddCommand(newMemoryListCommand(deps)) |
| 123 | cmd.AddCommand(newMemoryShowCommand(deps)) |
| 124 | cmd.AddCommand(newMemoryWriteCommand(deps)) |
| 125 | cmd.AddCommand(newMemoryEditCommand(deps)) |
| 126 | cmd.AddCommand(newMemoryDeleteCommand(deps)) |
| 127 | cmd.AddCommand(newMemorySearchCommand(deps)) |
| 128 | cmd.AddCommand(newMemoryReindexCommand(deps)) |
| 129 | cmd.AddCommand(newMemoryHistoryCommand(deps)) |
| 130 | cmd.AddCommand(newMemoryHealthCommand(deps)) |
| 131 | cmd.AddCommand(newMemoryPromoteCommand(deps)) |
| 132 | cmd.AddCommand(newMemoryResetCommand(deps)) |
| 133 | cmd.AddCommand(newMemoryReloadCommand(deps)) |
| 134 | cmd.AddCommand(newMemoryScopeShowCommand(deps)) |
| 135 | cmd.AddCommand(newMemoryDecisionsCommand(deps)) |
| 136 | cmd.AddCommand(newMemoryRecallCommand(deps)) |
| 137 | cmd.AddCommand(newMemoryDreamCommand(deps)) |
| 138 | cmd.AddCommand(newMemoryDailyCommand(deps)) |
| 139 | cmd.AddCommand(newMemoryExtractorCommand(deps)) |
| 140 | cmd.AddCommand(newMemoryProviderCommand(deps)) |
| 141 | cmd.AddCommand(newMemoryAdhocCommand()) |
| 142 | return cmd |
| 143 | } |
| 144 | |
| 145 | func newMemoryListCommand(deps commandDeps) *cobra.Command { |
| 146 | var flags memorySelectorFlags |
no test coverage detected