MCPcopy Create free account
hub / github.com/compozy/agh / newMemoryDreamStatusCommand

Function newMemoryDreamStatusCommand

internal/cli/memory.go:897–914  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

895}
896
897func newMemoryDreamStatusCommand(deps commandDeps) *cobra.Command {
898 return &cobra.Command{
899 Use: memoryStatusKey,
900 Short: "Show Memory v2 dreaming runtime status",
901 Args: cobra.NoArgs,
902 RunE: func(cmd *cobra.Command, _ []string) error {
903 client, err := clientFromDeps(deps)
904 if err != nil {
905 return err
906 }
907 response, err := client.GetMemoryDreamStatus(cmd.Context())
908 if err != nil {
909 return err
910 }
911 return writeCommandOutput(cmd, memoryDreamListBundle(response))
912 },
913 }
914}
915
916func newMemoryDailyCommand(deps commandDeps) *cobra.Command {
917 cmd := &cobra.Command{

Callers 1

newMemoryDreamCommandFunction · 0.85

Calls 4

clientFromDepsFunction · 0.85
writeCommandOutputFunction · 0.85
memoryDreamListBundleFunction · 0.85
GetMemoryDreamStatusMethod · 0.65

Tested by

no test coverage detected