@photon-ai/cli 0.4.0 → 1.0.0
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 +2 -5
- package/dist/photon.js +78 -78
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -256,7 +256,7 @@ The CLI's config root is resolved in this order:
|
|
|
256
256
|
|
|
257
257
|
If a legacy `~/.config/photon-dashboard/` directory exists from a prior pre-rename install, it migrates automatically to the new path on first run.
|
|
258
258
|
|
|
259
|
-
Other env vars: `
|
|
259
|
+
Other env vars: `PHOTON_NO_UPDATE_NOTIFIER=1` (mute update prompt).
|
|
260
260
|
|
|
261
261
|
---
|
|
262
262
|
|
|
@@ -278,12 +278,9 @@ bun run typecheck
|
|
|
278
278
|
|
|
279
279
|
# Build (produces dist/photon.js)
|
|
280
280
|
bun run build
|
|
281
|
-
|
|
282
|
-
# Sync API types from a sibling `dashboard` checkout (maintainer)
|
|
283
|
-
bun run sync:api
|
|
284
281
|
```
|
|
285
282
|
|
|
286
|
-
The CLI's API contract comes from the `@photon-ai/api-
|
|
283
|
+
The CLI's API contract comes from the [`@photon-ai/dashboard-api`](https://www.npmjs.com/package/@photon-ai/dashboard-api) package, a types-only bundle of the dashboard's public API (the `PublicApp` Elysia type, used with `@elysiajs/eden` treaty). To pick up dashboard API changes, bump that dependency — its version tracks the dashboard release tag.
|
|
287
284
|
|
|
288
285
|
See [`docs/cli-design.md`](docs/cli-design.md) and [`docs/cli-build-plan.md`](docs/cli-build-plan.md) for the full architecture notes.
|
|
289
286
|
|