Skip to content

Add shared Agents memory workspace#1290

Open
ved015 wants to merge 2 commits into
mainfrom
feat/agents
Open

Add shared Agents memory workspace#1290
ved015 wants to merge 2 commits into
mainfrom
feat/agents

Conversation

@ved015

@ved015 ved015 commented Jul 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Group Claude Code and Codex containers by project under Agents.
  • Keep agent attribution and add Claude Code/Codex filters.
  • Show project-only labels with the Supermemory logo.

Validation

  • 12 focused tests
  • Biome and changed-file TypeScript checks

Session Details

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
supermemory-mcp 8493d46 Jul 14 2026, 04:16 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app 8493d46 Commit Preview URL

Branch Preview URL
Jul 14 2026, 04:17 AM

@ved015 ved015 marked this pull request as ready for review July 13, 2026 15:56
@claude

claude Bot commented Jul 13, 2026

Copy link
Copy Markdown

Claude finished @ved015's task in 1m 29s —— View job


Review Complete

  • Gather context and understand the changes
  • Analyze code for bugs, security issues, and logic errors
  • Check existing review comments
  • Submit review

Overview: Adds a shared Agents workspace that groups Claude Code and Codex containers by project, with source-based filtering and unified display in the space selector.

Issues found: None — this looks good to ship.

The implementation is well-structured:

  • agent-space.ts cleanly encapsulates tag pattern matching, grouping logic, and source filtering
  • Good test coverage for edge cases (legacy containers, path-scoped tags, grouped selections)
  • Backward compatibility maintained for legacy claudecode_project_ and codex_user_ tags
  • UI components properly handle null/undefined states and agent group boundaries
  • The validation schema correctly accepts the new sources parameter

Score: 10/10

Comment on lines +346 to +349
throw new Error(
response.error?.message || "Failed to fetch agent source count",
)
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rule 'Always use new Error() when throwing errors' is violated. The error is thrown correctly with new Error(...), but the supporting data (the original response.error object) is inlined into the string message rather than passed as the cause argument. The rule states: 'Include any supporting data as the cause argument instead of inlining into the string.' It should be:

throw new Error("Failed to fetch agent source count", {
  cause: response.error,
})
Suggested change
throw new Error(
response.error?.message || "Failed to fetch agent source count",
)
}
throw new Error("Failed to fetch agent source count", {
cause: response.error,
})
}

Spotted by Graphite (based on custom rule: TypeScript style guide (Google))

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview: Adds a shared Agents workspace that groups Claude Code and Codex containers by project, with source-based filtering and unified display in the space selector.

Issues found: None — this looks good to ship.

The implementation is well-structured:

  • agent-space.ts cleanly encapsulates tag pattern matching, grouping logic, and source filtering
  • Good test coverage for edge cases (legacy containers, path-scoped tags, grouped selections)
  • Backward compatibility maintained for legacy claudecode_project_ and codex_user_ tags
  • UI components properly handle null/undefined states and agent group boundaries
  • The validation schema correctly accepts the new sources parameter

Score: 10/10

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview: Adds a shared Agents workspace that groups Claude Code and Codex containers by project, with source-based filtering and unified display in the space selector.

Issues found: None — this looks good to ship.

The implementation is well-structured:

  • agent-space.ts cleanly encapsulates tag pattern matching, grouping logic, and source filtering
  • Good test coverage for edge cases (legacy containers, path-scoped tags, grouped selections)
  • Backward compatibility maintained for legacy claudecode_project_ and codex_user_ tags
  • UI components properly handle null/undefined states and agent group boundaries
  • The validation schema correctly accepts the new sources parameter

Score: 10/10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant