Skip to content

Fix CLI metadata.generator to report CLI identity instead of plugin identity #133

Description

@nathanacurtis

Problem

When generating specs with the CLI, the metadata.generator field in the output incorrectly identifies the generator as the Figma plugin (reporting the plugin version and URL) rather than the CLI. Consumers of spec files cannot tell whether a spec was produced by the plugin or the CLI.

Solution

The CLI should populate metadata.generator with its own identity — the CLI version number and the CLI's package URL — distinct from the plugin's generator metadata.

Acceptance criteria

  • Specs generated by the CLI report a metadata.generator that identifies the CLI (correct version, correct URL)
  • Specs generated by the CLI no longer report the plugin version or plugin URL in metadata.generator
  • Specs generated by the Figma plugin are unaffected

Implementation details are tracked internally.

Metadata

Metadata

Assignees

Labels

clispecs-cli and MCP server

Type

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions