Releases: packstub/partisan
Releases · packstub/partisan
Release list
v0.5.0
- README: the AI coding agents section reports the Claude Code benchmark (Partisan 0.4.0, Claude Fable 5.1, five runs per task): a Filament resource in 10 turns / $0.30 with agent mode against 18 / $0.85 by hand, with a link to the write-up on packstub.dev.
--fieldsonmake:model,make:migrationandmake:factory(#19):name:type[(args)][:modifier][=default]with Blueprint column types writes$fillableandcasts()on the model, the column lines in the migration and adefinition()in the factory, so the three files agree without an edit. Foreign keys (user_id:foreignId,author_id:foreignIdFor(User)) and morphs (commentable:morphs) add the constrained column, abelongsTo/morphTomethod and a related factory;Userwith no package class resolves throughconfig('auth.providers.users.model'), unresolved package classes are reported (unresolved[n]in agent mode). The AGENTS.md recipe formake:modelcarries the spec.
v0.4.0
- The AGENTS.md section from
partisan:install --agentscarries recipes, not just a pointer: the exactmake:model,make:command --command=<prefix>:…andmake:filament-resource --generate --panel=<id>invocations with the files each one writes and which of them to edit, tailored to the package (namespace, command prefix, first Filament panel, Filament recipe only when the generator exists). - Agent mode:
make:<name> --helpprints the generator's own arguments and options only (usage:,arguments[n]:,options[n]:), without the framework-wide options, and an input error (unknown option, missing argument) is followed by that same usage so the retry needs no separate--helprun. Thehelp[1]hint after a generator is dropped when the command failed.
v0.3.0
partisan:check(#10) boots the package and reports, one pass/fail line each, the providers fromcomposer.json, the commands and routes the package registers, Filament panels with their resource and page counts, the migrations applied to an in-memory SQLite,pint --testonsrc/anddatabase/, and whether every class under the package paths (plusdatabase/factoriesanddatabase/seeders) is autoloadable. Exit code 1 when anything fails; agent mode printshelp[n]lines with the fix for each failure.- Files a generator creates or updates are formatted with the package's own Pint (
vendor/bin/pint, with the package'spint.json) before they are reported (#9), so adeclare_strict_typesrule, import order and docblock class names match the package from the start. Silent when Pint is not installed;PARTISAN_PINT=0opts out. make:filament-resource --generate(and every othermake:filament-*generator run with--generate) works in a package (#8): the package's migrations are applied to an in-memory SQLite connection before the generator runs, so the form schema and table columns come out populated from the model's columns. Nothing is written to disk.- Agent mode (#5): when an AI coding agent runs partisan (detected with
laravel/agent-detector, forced withPARTISAN_AGENT=1, disabled withPARTISAN_AGENT=0) commands never prompt, drop ANSI, and end with the files they created and updated (created[6]:…updated[1]:…,created[0]: no files writtenwhen a generator did nothing) plus ahelp[]hint;partisanwith no command shows a package dashboard instead of the command list. partisan:install --agents(#6) appends an "Artisan generators" section toAGENTS.md(orCLAUDE.mdwhen that is the only instructions file) so agents runphp artisan make:…instead of writing scaffolding by hand.- Dev:
laravel/paofor agent-optimized Pest output when working on partisan with an AI agent.
v0.2.0
- Requires PHP 8.3 or newer (was 8.2). Orchestra Testbench 11 and Canvas 11, which Partisan builds on, already need 8.3, and the test suite runs on 8.3, 8.4 and 8.5.
v0.1.0
Full Changelog: https://github.com/packstub/partisan/commits/v0.1.0