Skip to content

feat(cli): add provider and artifact commands - #254

Merged
BerryUIKI merged 1 commit into
mainfrom
feature/cli-provider-artifacts
Nov 5, 2026
Merged

BerryUIKI merged 1 commit into
mainfrom
feature/cli-provider-artifacts

Conversation

@BerryUIKI

Copy link
Copy Markdown
Owner

Summary

Extends the alphaforge CLI so the provider and artifact layers can be inspected and configured without the desktop UI.

  • provider status — prints provider, configured state, and model (never the key).
  • provider set-key — prompts without echo and stores the key in the OS keychain under the same service as the desktop app.
  • provider clear-key — removes the stored key.
  • artifact list [--workspace <id>] [--task <id>] — lists persisted artifacts with text or --json output.
  • CLI service wiring now shares ProviderService and ArtifactService.

Test plan

  • cargo build -p alphaforge-cli
  • cargo test -p alphaforge-cli — 9 tests (2 new parser tests)
  • Manual: alphaforge provider status → OpenAI: not configured (model: gpt-4o-mini)

No live model call was performed.

- add provider status/set-key/clear-key with hidden input and OS keychain storage
- add artifact list with workspace and task filters
- share ProviderService and ArtifactService in the CLI context
- document the new commands and update the roadmap
@BerryUIKI
BerryUIKI merged commit 64602f0 into main Nov 5, 2026
4 checks passed
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