Skip to content

feat(cli): improve generated Mosoo command usability#2

Open
Yevanchen wants to merge 1 commit into
langgenius:mainfrom
Yevanchen:feat/product-facade-cli
Open

feat(cli): improve generated Mosoo command usability#2
Yevanchen wants to merge 1 commit into
langgenius:mainfrom
Yevanchen:feat/product-facade-cli

Conversation

@Yevanchen

@Yevanchen Yevanchen commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • remove the handwritten product facade from the PR scope and keep the Lathe-generated catalog as the canonical CLI surface
  • regenerate against current Mosoo main so the CLI exposes controlPlaneOverview and startAgentRun
  • add overlay aliases/help/examples for high-frequency Mosoo workflows: overview, Agent create/publish, provider keys, and Agent run
  • expand the published Mosoo Skill CLI reference with workflow guidance for auth, list/overview, provider keys, Agent create/publish, and run/poll

Scope

This PR is now a generated CLI usability update, not a separate product-command layer. Root-level product commands such as mosoo run or mosoo login still need Lathe/Mosoo upstream support; this PR keeps those workflows on generated command paths such as mosoo console sessions run.

Verification

  • make build
  • go mod tidy
  • go test ./...
  • bin/mosoo commands show console apps control-plane-overview --json
  • bin/mosoo commands show console sessions start-agent-run --json
  • bin/mosoo search "run agent" --json
  • bin/mosoo console credentials create --hostname http://127.0.0.1:9/api --input-app-id 01J00000000000000000000001 --input-vendor-id openai --input-name OpenAI --input-api-key 'sk-test' -o json stops at auth, not missing required flags

Notes

  • Current Lathe required variable flags must still be present; --set and --set-str can supplement body fields but do not replace required generated flags.
  • controlPlaneOverview uses a deeper GraphQL selection so the generated command returns apps.items with nested Agent and provider credential summaries.

@Yevanchen Yevanchen force-pushed the feat/product-facade-cli branch from 98ac6a5 to 5d2030d Compare June 24, 2026 12:51
@Yevanchen Yevanchen changed the title feat(cli): add product facade commands feat(cli): improve generated Mosoo command usability Jun 24, 2026
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