spfn 0.3.0-beta.6 → 0.3.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/index.js +463 -280
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,9 +145,15 @@ no pre-build needed.
|
|
|
145
145
|
| `-p, --port <port>` | SPFN server port (sets `SPFN_PORT`) | `spfn.config.js` `ports.server`, then `8790` |
|
|
146
146
|
| `-H, --host <host>` | SPFN server host (sets `SPFN_HOST`) | `spfn.config.js` `host`, then `localhost` |
|
|
147
147
|
| `--allow-pending-migrations` | Start even when migrations are pending (they are listed as a warning) | off |
|
|
148
|
+
| `--no-agent-files` | Do not write the SPFN instruction block into `AGENTS.md` (same as `SPFN_AGENT_FILES=0`) | writes on |
|
|
148
149
|
|
|
149
150
|
Note: hot reload is **off by default** — pass `--watch` to restart on file changes.
|
|
150
151
|
|
|
152
|
+
On startup `spfn dev` refreshes a marked block of SPFN conventions in the project's
|
|
153
|
+
`AGENTS.md` (creating the file, and a `CLAUDE.md` that references it, when absent) so
|
|
154
|
+
coding agents read the right idioms. Only the marked region is rewritten, and only when
|
|
155
|
+
its content actually changed.
|
|
156
|
+
|
|
151
157
|
Pending migrations stop the boot — see [Database](#spfn-db) for what the refusal looks
|
|
152
158
|
like and how to override it.
|
|
153
159
|
|