@clickraft/cli 0.4.0 → 0.6.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/CHANGELOG.md +14 -3
- package/README.md +3 -0
- package/dist/cli.js +549 -42
- package/dist/cli.js.map +1 -1
- package/dist/index.js +549 -42
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
## [0.
|
|
1
|
+
## [0.6.0](https://github.com/clickraft/cli/compare/v0.5.0...v0.6.0) (2026-05-25)
|
|
2
2
|
|
|
3
3
|
### Features
|
|
4
4
|
|
|
5
|
-
* **errors:** add
|
|
6
|
-
* **
|
|
5
|
+
* **errors:** add PRODUCT_* server error codes ([b60a018](https://github.com/clickraft/cli/commit/b60a0184f57d52d8a423631adeea69d47e8f28fc))
|
|
6
|
+
* **products:** add --product flag to generate create ([41a8948](https://github.com/clickraft/cli/commit/41a8948ee79c63abffe891411c0a36c67059d2d5))
|
|
7
|
+
* **products:** add product list command with cursor pagination ([ca4c343](https://github.com/clickraft/cli/commit/ca4c3433e5e3aa7c53ccdd5ab26bac3775d37608))
|
|
8
|
+
* **products:** show product and primary image IDs in list render ([2dc1d65](https://github.com/clickraft/cli/commit/2dc1d653ada365ceb0f1fa68697df71e24045633))
|
|
9
|
+
* **products:** wire product commands into CLI dispatch ([c458355](https://github.com/clickraft/cli/commit/c45835599fe546f8a19ad6b08eb35ee772299d49))
|
|
10
|
+
* **scopes:** request products:read in OAuth login ([ad67816](https://github.com/clickraft/cli/commit/ad67816e359de8198f2c5423de9f6ab9671f7418))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **products:** align scope-insufficient hint in error message and Try line ([6f6cb1e](https://github.com/clickraft/cli/commit/6f6cb1e935e9e65b7039f4423acdb0569772892d))
|
|
15
|
+
* **products:** honor meta.hint in JSON error envelope ([f39b516](https://github.com/clickraft/cli/commit/f39b51668b29d5d78166933d56bd4f3954039ebe))
|
|
16
|
+
* **products:** tolerate forward-compat additive fields in list response ([cfe7bf2](https://github.com/clickraft/cli/commit/cfe7bf25dc18710583408dea9dc1e975449ce13a))
|
|
17
|
+
* **products:** validate --limit range and correct login help scope count ([d1341d9](https://github.com/clickraft/cli/commit/d1341d929f80f87407ec89c9abff5c214cd3b52a))
|
|
7
18
|
|
|
8
19
|
# Changelog
|
|
9
20
|
|
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ clickraft login
|
|
|
19
19
|
clickraft generate create --prompt "a serene mountain landscape at dawn"
|
|
20
20
|
clickraft balance
|
|
21
21
|
clickraft brand-model list
|
|
22
|
+
clickraft models list
|
|
23
|
+
clickraft models list --category image --tier pro
|
|
22
24
|
clickraft template list
|
|
23
25
|
clickraft template get <template-id>
|
|
24
26
|
clickraft template find "coffee brand"
|
|
@@ -56,6 +58,7 @@ export CLOUDFLARE_ACCESS_CLIENT_SECRET="<client-secret>"
|
|
|
56
58
|
clickraft tokens list --profile staging
|
|
57
59
|
clickraft balance --profile staging
|
|
58
60
|
clickraft brand-model list --profile staging
|
|
61
|
+
clickraft models list --profile staging
|
|
59
62
|
```
|
|
60
63
|
|
|
61
64
|
Both env vars must be set together — if only one is set the CLI exits with a configuration error. Production usage (the default) does not require these env vars.
|