Preset icons sized by glyph, and environments secrets in the CLI

Merged
SA
1mo ago
+303-82

Icons

Every preset agent icon rendered at a different optical size because the artwork differed: Claude's asterisk filled its 24-unit viewBox, Codex used 67% of a 721-unit box, Pi 59%, Devin 77%. Each SVG's viewBox is now a tight square around the glyph (measured from a render), and the artboard width/height attributes are gone so the viewBox alone sets the aspect. One-line change in all 34 files; applies everywhere the icons render, including the README.

superset environments secrets

  • secrets set NAME takes the value from --body or stdin; --env-file .env sets every variable in a dotenv file; --visible stores a readable variable instead of a secret; --environment picks the environment when the organization has several.
  • secrets list shows name, visibility and updated time; values are never returned.
  • secrets delete NAME.
  • Group is sandbox: false, and the dotenv parser moved from the desktop into @superset/shared/env-file so both surfaces read the same grammar.

Smoke-tested from source against prod: set via stdin, set via env file with --visible, list, both invalid flag combinations refused, delete.

Docs

environments is an internal-audience group, so its list entry leaves the public CLI reference and the new commands are not documented there. apps/docs/AGENTS.md records the rule. mcp is also internal but still documented and linked from the skills page; left as is pending a decision.

https://claude.ai/code/session_01RL946q6aRucLVJs659sW24


Summary by cubic

Preset agent icons now render at the same relative size, and the CLI can set, list, and delete an environment's variables.

Preset icons

  • Every preset agent SVG's viewBox is now a tight square around the glyph, so side-by-side icons render at similar optical sizes instead of trailing different amounts of artwork padding.
  • Applies to all 34 icons wherever they render, including the README.

superset environments secrets

  • secrets set NAME reads the value from --body or stdin; --env-file sets every variable in a dotenv file; --visible stores it readable instead of as a secret; --environment picks the environment when the organization has several.
  • secrets list shows name, visibility, and updated time (values are never returned); secrets delete NAME removes a variable.
  • The dotenv parser moved from the desktop into @superset/shared/env-file so both surfaces parse the same grammar, and resolveEnvironment selects an environment by id or name.
  • environments is internal, so its commands are not added to the public CLI reference; apps/docs/AGENTS.md records the rule.

Summary by CodeRabbit

  • New Features
    • Added CLI commands to set, list, and delete variables for cloud workspace environments. Set individual variables or import multiple entries from a .env file; values are private by default, with an option to make them visible.
    • Environment selection supports an ID or name. When only one environment is available, it can be selected automatically.
  • Bug Fixes
    • Environment file parsing now handles additional assignment formats, quoted values, comments, and line-ending styles.