Repository navigation
Releases
Pluto CLI v0.15.0
Adds optional --oidc initialization and wizard choice, saved in pluto.toml. Uses published native OIDC and PostgreSQL adapter modules, explicit account migration 007, encrypted pending logins, server-owned account/session fences and trusted-Origin begin/callback routes. Runtime sign-in and public enrollment default off; secrets remain environment/secret-manager configuration.
Generated native, HeroUI and shadcn auth frontends show only configured provider IDs, use same-origin API POST followed by browser navigation and give immediate redirect feedback without JavaScript tokens. OpenAPI describes the JSON authorization URL and native redirects with Location headers. The default no-referrer policy and trusted-Origin guard are preserved. Existing authored applications are not migrated automatically.
Account-backed generated applications now apply 007_external_accounts.sql after 001–006 for PostgreSQL v0.5. Session-only profiles retain their existing migration contract. Google/generic OIDC is supported; GitHub OAuth, explicit linking and native MFA remain separate work. No live provider call or independent audit is claimed.
v0.14.0 — Account authentication foundation
Generated applications now pin Pluto Auth root/password/PostgreSQL v0.4.0.
- Local-credential profiles include explicit 006_authentication.sql after the existing migrations.
- Password sign-in persists server-owned authentication evidence; session rotation preserves verification times.
- Generated single- and multi-tenant lifecycle tests exercise the published modules, schema and stored evidence.
- Existing authored apps require deliberate dependency upgrades and migration; no startup DDL or automatic source rewrite.
Native social/OIDC adapters, TOTP enrollment and their UI flows remain follow-on work. No factor policy is enabled automatically.
Validation: repository checks, full race suite and generated single/multi PostgreSQL lifecycles with style/vet/module verification.
CLI v0.13.0: responsive frontend actions
New native, HeroUI v3 and shadcn forms use published Pluto Frontend v0.2.1 action primitives. They acknowledge submission immediately, preserve failed input, prevent conflicting writes and fence old-scope completion. Connected forms require explicit scope. Unknown outcomes remain locked until reconciliation; optimistic behavior is an explicit feature-layer policy.
Existing authored frontend files are not migrated automatically. See docs/FRONTEND.md for integration and limits.
Validation: repository formatting/lint/vet/build/tests, Go race suite, and generated native/HeroUI/shadcn/native-bare consumers with compilation, canonical formatting and interaction tests.
Pluto CLI v0.12.1 — Comment block spacing
New frontend scaffolds require a blank line before standalone comment blocks, except at line 1.
- Enforced for JavaScript and TypeScript, including function/branch starts.
- Consecutive comment lines stay together and remain attached to the code below.
- Inline trailing comments and next-line directives retain their meaning.
- The cross-language convention is recorded in project instructions.
- Formatter regression tests cover headers, grouped comments, block starts, inline comments, directives and idempotency.
Validated with repository checks, the full CLI race suite and four generated frontend profiles. Existing authored configs are not overwritten by upgrading the CLI. No manifest or runtime API migration is required.
Pluto CLI v0.12.0 — Expanded frontend readability
New frontend scaffolds include expanded, configurable TypeScript readability defaults.
- Pinned ESLint Stylistic 5.10.0 requires braces, multiline blocks, logical blank lines, one statement per line and separate object/type member lines.
- Nested ternaries must become named values or explicit branches.
npm run fmtcombines 80-column Prettier wrapping with ESLint structural fixes;npm run lintchecks the same canonical result without writes.- Formatter regression tests verify idempotency, diagnostics and preserved behavior.
- Native, HeroUI and shadcn auth templates use explicit rendering branches.
Validation passed: repository checks, full race suite, and four fresh frontend consumers including auth, custom registries, later component additions, lint/type/test/build checks.
Existing frontends retain authored configs. See README migration instructions to adopt the new policy intentionally. No manifest or runtime API migration is required.
Pluto CLI v0.11.0 — Typed lifecycle scaffolding
Adds pluto add state GROUP and a terminal wizard for explicit business lifecycles.
- Generates authored Go state/event definitions, a pure ownership guard, unit tests and a fuzz target under
internal/domain/GROUP. - Uses the published stdlib-only Pluto Core v0.4.0 state primitive; new apps pin Core v0.4.0.
- Preserves authored files, validates groups, rejects symlinks and supports
--dry-runand--no-input. - Existing apps explicitly upgrade Core before generation; the command resolves packages with
-mod=readonlyand never silently changes pins. - No manifest schema change, automatic route wiring or database migration. Applications own authorization, tenant scope and transactional state/audit/outbox persistence.
Validation includes complete repository/race checks, single- and multi-tenant generated consumers, bounded fuzzing, mutation smoke, disposable PostgreSQL/Valkey tests and terminal wizard checks.
go install github.com/plutoframework/cli/cmd/pluto@v0.11.0
pluto add state purchases --dry-run
pluto add state purchasesv0.10.0 — Opt-in typed agents
Add opt-in typed agents through pluto add agent GROUP ACTION --permission ... --provider scripted|openai and the existing wizard.
Agent metadata uses schema 8; schema 7 remains readable until explicit agent opt-in. Scaffolding preserves authored code and uses normal collision preflight/rollback. Generated code pins Pluto Agent v0.1.3, separates verified dependencies from model arguments, enforces a read-only run allowlist, and reuses application resource operations. Provider credentials remain environment-only. The command adds no agent OTEL module or provider SDK.
Validated with generated single/multi-tenant consumers for both providers, generator checks, race tests, bounded fuzzing, seeded mutation smoke, and terminal wizard checks. Scripted mode requires no credentials; validation makes no live AI calls.
Applications must inject their own verified identity, current RBAC policy, resource operations and feature gate before enabling a route. Bounds are not hard billing caps; no durable or exactly-once run guarantee is provided.
v0.8.0 — Shared Core feature flags
Generated applications now use the published pluto-core/features package rather than copying the evaluator into each app.
Existing --feature and --feature-client-visible endpoint options remain unchanged. Core owns immutable snapshots, explicit bool presence, ordered override layers, environment normalization/parsing and client-visible filtering. Applications retain declarations, verified identity/tenant scope and authorization. Feature flags never grant permissions.
Pins Core v0.3.0, with no new Go runtime dependencies. Existing apps are not rewritten automatically; see docs/FEATURE-FLAGS.md for adoption. The example's principal-aware adapter also uses Core.
Validation: Core/root-adapter checks and race tests; CLI generated-consumer tests and race checks; example Go checks/race, OpenAPI freshness and frontend checks/build. Three focused feature mutations were killed. No new database behavior or SQL integration pass is claimed.
Install: go install github.com/plutoframework/cli/cmd/pluto@v0.8.0
v0.7.0 — Local component registries
Pluto CLI now supports application-defined local component registries.
[frontend.registries.company]
path = ".pluto/components"pluto frontend components list
pluto frontend add component purchase-review --from company/approval-panel --dry-run
pluto frontend add component purchase-review --from company/approval-panelIncludes declarative multi-file templates, local component dependency graphs, exact npm pins, optional curated shadcn primitives, SHA-256 provenance and conflict-safe generation. Authored files are preserved. Unknown hooks, incompatible profiles, dependency drift, cycles, traversal and symlinks are rejected. No new runtime or generator dependencies were added.
The repository includes a HeroUI approval-panel registry and an interaction test. Fresh native, HeroUI, shadcn and auth-free consumers passed checks/builds; the HeroUI consumer installs and tests the custom registry. CLI formatting/lint/vet/build/tests/race and 15 seeded mutation checks passed.
This first pass supports local registries for existing UI profiles. Remote packs, custom UI-library profiles, free-form template input schemas and shadcn registry imports remain future work. Existing backend schema 7 remains unchanged; the prototype schema-1 example app is not automatically migrated.
See docs/COMPONENT-REGISTRIES.md for authoring, template inputs, provenance, dependency handling and ownership.
Install: go install github.com/plutoframework/cli/cmd/pluto@v0.7.0
v0.6.0 — TOML-driven frontend themes
Pluto frontends can now define shared theme settings in pluto.toml.
- Optional frontend.theme mode, radius, font_family, authored CSS path and light/dark semantic color tokens.
- Adapters for native controls, HeroUI v3 and shadcn; unspecified tokens preserve profile defaults.
- Generated CSS and an external prepaint bootstrap; system mode follows OS changes without browser storage.
- Vite start/build generation and TOML watch/reload; authored CSS is never rewritten and loads last.
pluto frontend themeandpluto frontend theme --check; npm and pluto vet freshness checks.- Strict token/value/path validation and symlink refusal. One pinned build-time TOML dependency; no new Go runtime or browser dependency.
Validated CLI lint/vet/build/tests/race, four fresh consumer variants, example repository checks and five real browser workflows. Thirteen seeded Go mutations and four Node compiler mutations were killed. No comprehensive security audit is claimed.
Existing frontend files are not silently migrated. Backend schema 7 remains unchanged. See docs/THEMES.md for configuration, ownership, adoption steps and reproducible checks.
Install: go install github.com/plutoframework/cli/cmd/pluto@v0.6.0