@quonfig/cli 0.0.43 → 0.0.44

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 CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @quonfig/cli
17
17
  $ qfg COMMAND
18
18
  running command...
19
19
  $ qfg (--version)
20
- @quonfig/cli/0.0.43 linux-x64 node-v24.4.1
20
+ @quonfig/cli/0.0.44 linux-x64 node-v24.4.1
21
21
  $ qfg --help [COMMAND]
22
22
  USAGE
23
23
  $ qfg COMMAND
@@ -195,7 +195,7 @@ EXAMPLES
195
195
  $ qfg activity restore my.flag --yes
196
196
  ```
197
197
 
198
- _See code: [src/commands/activity.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/activity.ts)_
198
+ _See code: [src/commands/activity.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/activity.ts)_
199
199
 
200
200
  ## `qfg activity deleted`
201
201
 
@@ -224,7 +224,7 @@ EXAMPLES
224
224
  $ qfg activity deleted --json
225
225
  ```
226
226
 
227
- _See code: [src/commands/activity/deleted.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/activity/deleted.ts)_
227
+ _See code: [src/commands/activity/deleted.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/activity/deleted.ts)_
228
228
 
229
229
  ## `qfg activity feed`
230
230
 
@@ -259,7 +259,7 @@ EXAMPLES
259
259
  $ qfg activity feed --json
260
260
  ```
261
261
 
262
- _See code: [src/commands/activity/feed.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/activity/feed.ts)_
262
+ _See code: [src/commands/activity/feed.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/activity/feed.ts)_
263
263
 
264
264
  ## `qfg activity history [NAME]`
265
265
 
@@ -293,7 +293,7 @@ EXAMPLES
293
293
  $ qfg activity history request.timeout --json
294
294
  ```
295
295
 
296
- _See code: [src/commands/activity/history.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/activity/history.ts)_
296
+ _See code: [src/commands/activity/history.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/activity/history.ts)_
297
297
 
298
298
  ## `qfg activity restore [NAME]`
299
299
 
@@ -332,7 +332,7 @@ EXAMPLES
332
332
  $ qfg activity restore request.timeout --type config --yes
333
333
  ```
334
334
 
335
- _See code: [src/commands/activity/restore.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/activity/restore.ts)_
335
+ _See code: [src/commands/activity/restore.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/activity/restore.ts)_
336
336
 
337
337
  ## `qfg audit-log [NAME]`
338
338
 
@@ -360,7 +360,7 @@ EXAMPLES
360
360
  $ qfg audit-log my.flag
361
361
  ```
362
362
 
363
- _See code: [src/commands/audit-log.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/audit-log.ts)_
363
+ _See code: [src/commands/audit-log.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/audit-log.ts)_
364
364
 
365
365
  ## `qfg config-schema`
366
366
 
@@ -389,7 +389,7 @@ EXAMPLES
389
389
  $ qfg config-schema --json-schema # full JSON Schema document (copy into your editor)
390
390
  ```
391
391
 
392
- _See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/config-schema.ts)_
392
+ _See code: [src/commands/config-schema.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/config-schema.ts)_
393
393
 
394
394
  ## `qfg create NAME`
395
395
 
@@ -474,7 +474,7 @@ EXAMPLES
474
474
  $ qfg set-rollout my.new.flag --environment production --true-percent 20
475
475
  ```
476
476
 
477
- _See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/create.ts)_
477
+ _See code: [src/commands/create.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/create.ts)_
478
478
 
479
479
  ## `qfg delete NAME`
480
480
 
@@ -520,7 +520,7 @@ EXAMPLES
520
520
  $ qfg delete my.config --yes
521
521
  ```
522
522
 
523
- _See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/delete.ts)_
523
+ _See code: [src/commands/delete.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/delete.ts)_
524
524
 
525
525
  ## `qfg flag info [NAME]`
526
526
 
@@ -723,7 +723,7 @@ EXAMPLES
723
723
  $ qfg generate --targets node-ts -o ./dist # combine with targets
724
724
  ```
725
725
 
726
- _See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/generate.ts)_
726
+ _See code: [src/commands/generate.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/generate.ts)_
727
727
 
728
728
  ## `qfg generate-new-hex-key`
729
729
 
@@ -746,7 +746,7 @@ EXAMPLES
746
746
  $ qfg generate-new-hex-key
747
747
  ```
748
748
 
749
- _See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/generate-new-hex-key.ts)_
749
+ _See code: [src/commands/generate-new-hex-key.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/generate-new-hex-key.ts)_
750
750
 
751
751
  ## `qfg get [NAME]`
752
752
 
@@ -778,7 +778,7 @@ EXAMPLES
778
778
  $ qfg get my.config.name --environment=production
779
779
  ```
780
780
 
781
- _See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/get.ts)_
781
+ _See code: [src/commands/get.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/get.ts)_
782
782
 
783
783
  ## `qfg history NAME`
784
784
 
@@ -804,7 +804,7 @@ EXAMPLES
804
804
  $ qfg history my.flag
805
805
  ```
806
806
 
807
- _See code: [src/commands/history.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/history.ts)_
807
+ _See code: [src/commands/history.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/history.ts)_
808
808
 
809
809
  ## `qfg info [NAME]`
810
810
 
@@ -852,7 +852,7 @@ EXAMPLES
852
852
  $ qfg info my.config.name --exclude-evaluations # skip 24h stats
853
853
  ```
854
854
 
855
- _See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/info.ts)_
855
+ _See code: [src/commands/info.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/info.ts)_
856
856
 
857
857
  ## `qfg init [DIRECTORY]`
858
858
 
@@ -892,7 +892,7 @@ EXAMPLES
892
892
  $ qfg init --dry-run
893
893
  ```
894
894
 
895
- _See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/init.ts)_
895
+ _See code: [src/commands/init.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/init.ts)_
896
896
 
897
897
  ## `qfg interactive`
898
898
 
@@ -922,7 +922,7 @@ EXAMPLES
922
922
  $ qfg
923
923
  ```
924
924
 
925
- _See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/interactive.ts)_
925
+ _See code: [src/commands/interactive.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/interactive.ts)_
926
926
 
927
927
  ## `qfg list`
928
928
 
@@ -962,7 +962,7 @@ EXAMPLES
962
962
  $ qfg list --feature-flags
963
963
  ```
964
964
 
965
- _See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/list.ts)_
965
+ _See code: [src/commands/list.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/list.ts)_
966
966
 
967
967
  ## `qfg log`
968
968
 
@@ -987,7 +987,7 @@ EXAMPLES
987
987
  $ qfg log --limit 5
988
988
  ```
989
989
 
990
- _See code: [src/commands/log.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/log.ts)_
990
+ _See code: [src/commands/log.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/log.ts)_
991
991
 
992
992
  ## `qfg log-level NAME`
993
993
 
@@ -1052,7 +1052,7 @@ EXAMPLES
1052
1052
  $ qfg log-level log-level.my-app --target=Chatty --value=INFO --environment=production
1053
1053
  ```
1054
1054
 
1055
- _See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/log-level.ts)_
1055
+ _See code: [src/commands/log-level.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/log-level.ts)_
1056
1056
 
1057
1057
  ## `qfg login`
1058
1058
 
@@ -1077,7 +1077,7 @@ EXAMPLES
1077
1077
  $ qfg login --profile myprofile
1078
1078
  ```
1079
1079
 
1080
- _See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/login.ts)_
1080
+ _See code: [src/commands/login.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/login.ts)_
1081
1081
 
1082
1082
  ## `qfg logout`
1083
1083
 
@@ -1100,7 +1100,7 @@ EXAMPLES
1100
1100
  $ qfg logout
1101
1101
  ```
1102
1102
 
1103
- _See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/logout.ts)_
1103
+ _See code: [src/commands/logout.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/logout.ts)_
1104
1104
 
1105
1105
  ## `qfg migrate`
1106
1106
 
@@ -1154,7 +1154,7 @@ EXAMPLES
1154
1154
  $ qfg migrate --from launch --api-key $LAUNCH_API_KEY --dir ./quonfig-repo --staging
1155
1155
  ```
1156
1156
 
1157
- _See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/migrate.ts)_
1157
+ _See code: [src/commands/migrate.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/migrate.ts)_
1158
1158
 
1159
1159
  ## `qfg migrate doctor`
1160
1160
 
@@ -1192,7 +1192,7 @@ EXAMPLES
1192
1192
  $ qfg migrate doctor --json
1193
1193
  ```
1194
1194
 
1195
- _See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/migrate/doctor.ts)_
1195
+ _See code: [src/commands/migrate/doctor.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/migrate/doctor.ts)_
1196
1196
 
1197
1197
  ## `qfg migrate my-code`
1198
1198
 
@@ -1224,7 +1224,7 @@ EXAMPLES
1224
1224
  $ qfg migrate my-code --dry-run
1225
1225
  ```
1226
1226
 
1227
- _See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/migrate/my-code.ts)_
1227
+ _See code: [src/commands/migrate/my-code.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/migrate/my-code.ts)_
1228
1228
 
1229
1229
  ## `qfg migrate status`
1230
1230
 
@@ -1255,7 +1255,7 @@ EXAMPLES
1255
1255
  $ qfg migrate status --json
1256
1256
  ```
1257
1257
 
1258
- _See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/migrate/status.ts)_
1258
+ _See code: [src/commands/migrate/status.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/migrate/status.ts)_
1259
1259
 
1260
1260
  ## `qfg override [NAME] [VALUE]`
1261
1261
 
@@ -1310,7 +1310,7 @@ EXAMPLES
1310
1310
  $ qfg override my.flag true --env=staging
1311
1311
  ```
1312
1312
 
1313
- _See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/override.ts)_
1313
+ _See code: [src/commands/override.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/override.ts)_
1314
1314
 
1315
1315
  ## `qfg pull`
1316
1316
 
@@ -1357,7 +1357,7 @@ EXAMPLES
1357
1357
  $ qfg pull # uses QUONFIG_DIR env var
1358
1358
  ```
1359
1359
 
1360
- _See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/pull.ts)_
1360
+ _See code: [src/commands/pull.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/pull.ts)_
1361
1361
 
1362
1362
  ## `qfg push`
1363
1363
 
@@ -1405,7 +1405,7 @@ EXAMPLES
1405
1405
  $ qfg push --dir ./our-config --yes
1406
1406
  ```
1407
1407
 
1408
- _See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/push.ts)_
1408
+ _See code: [src/commands/push.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/push.ts)_
1409
1409
 
1410
1410
  ## `qfg run [COMMAND]`
1411
1411
 
@@ -1456,7 +1456,7 @@ EXAMPLES
1456
1456
  $ qfg run --env DATABASE_URL=db.url --preserve-env --environment=staging -- npm test
1457
1457
  ```
1458
1458
 
1459
- _See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/run.ts)_
1459
+ _See code: [src/commands/run.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/run.ts)_
1460
1460
 
1461
1461
  ## `qfg schema NAME`
1462
1462
 
@@ -1494,7 +1494,7 @@ EXAMPLES
1494
1494
  $ qfg schema my-schema --set-json-schema=@schemas/my-schema.json --protected
1495
1495
  ```
1496
1496
 
1497
- _See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/schema.ts)_
1497
+ _See code: [src/commands/schema.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/schema.ts)_
1498
1498
 
1499
1499
  ## `qfg sdk-key`
1500
1500
 
@@ -1521,7 +1521,7 @@ EXAMPLES
1521
1521
  $ qfg sdk-key revoke <key-id>
1522
1522
  ```
1523
1523
 
1524
- _See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/sdk-key.ts)_
1524
+ _See code: [src/commands/sdk-key.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/sdk-key.ts)_
1525
1525
 
1526
1526
  ## `qfg sdk-key create`
1527
1527
 
@@ -1553,7 +1553,7 @@ EXAMPLES
1553
1553
  $ qfg sdk-key create --environment staging --type browser
1554
1554
  ```
1555
1555
 
1556
- _See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/sdk-key/create.ts)_
1556
+ _See code: [src/commands/sdk-key/create.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/sdk-key/create.ts)_
1557
1557
 
1558
1558
  ## `qfg sdk-key list`
1559
1559
 
@@ -1582,7 +1582,7 @@ EXAMPLES
1582
1582
  $ qfg sdk-key list --environment production
1583
1583
  ```
1584
1584
 
1585
- _See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/sdk-key/list.ts)_
1585
+ _See code: [src/commands/sdk-key/list.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/sdk-key/list.ts)_
1586
1586
 
1587
1587
  ## `qfg sdk-key revoke KEYID`
1588
1588
 
@@ -1609,7 +1609,7 @@ EXAMPLES
1609
1609
  $ qfg sdk-key revoke a1b2c3d4-e5f6-7890-abcd-ef1234567890
1610
1610
  ```
1611
1611
 
1612
- _See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/sdk-key/revoke.ts)_
1612
+ _See code: [src/commands/sdk-key/revoke.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/sdk-key/revoke.ts)_
1613
1613
 
1614
1614
  ## `qfg set-default [NAME]`
1615
1615
 
@@ -1680,7 +1680,7 @@ EXAMPLES
1680
1680
  $ qfg pull && qfg config-schema
1681
1681
  ```
1682
1682
 
1683
- _See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/set-default.ts)_
1683
+ _See code: [src/commands/set-default.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/set-default.ts)_
1684
1684
 
1685
1685
  ## `qfg set-rollout [NAME]`
1686
1686
 
@@ -1757,7 +1757,7 @@ EXAMPLES
1757
1757
  $ qfg set-rollout my.variant.flag --environment production --weights "a:33,b:33,c:34" --hash-by user.id
1758
1758
  ```
1759
1759
 
1760
- _See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/set-rollout.ts)_
1760
+ _See code: [src/commands/set-rollout.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/set-rollout.ts)_
1761
1761
 
1762
1762
  ## `qfg sync`
1763
1763
 
@@ -1789,7 +1789,7 @@ EXAMPLES
1789
1789
  $ qfg sync --watch --dir ./our-config --interval 30
1790
1790
  ```
1791
1791
 
1792
- _See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/sync.ts)_
1792
+ _See code: [src/commands/sync.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/sync.ts)_
1793
1793
 
1794
1794
  ## `qfg toggle [NAME]`
1795
1795
 
@@ -1891,7 +1891,7 @@ EXAMPLES
1891
1891
  $ qfg verify --json
1892
1892
  ```
1893
1893
 
1894
- _See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/verify.ts)_
1894
+ _See code: [src/commands/verify.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/verify.ts)_
1895
1895
 
1896
1896
  ## `qfg whoami`
1897
1897
 
@@ -1914,7 +1914,7 @@ EXAMPLES
1914
1914
  $ qfg whoami
1915
1915
  ```
1916
1916
 
1917
- _See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/whoami.ts)_
1917
+ _See code: [src/commands/whoami.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/whoami.ts)_
1918
1918
 
1919
1919
  ## `qfg workspace`
1920
1920
 
@@ -1937,7 +1937,7 @@ EXAMPLES
1937
1937
  $ qfg workspace
1938
1938
  ```
1939
1939
 
1940
- _See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/workspace.ts)_
1940
+ _See code: [src/commands/workspace.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/workspace.ts)_
1941
1941
 
1942
1942
  ## `qfg workspace bootstrap`
1943
1943
 
@@ -1970,7 +1970,7 @@ EXAMPLES
1970
1970
  $ qfg workspace bootstrap --dir ./our-config --skip-validate
1971
1971
  ```
1972
1972
 
1973
- _See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/workspace/bootstrap.ts)_
1973
+ _See code: [src/commands/workspace/bootstrap.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/workspace/bootstrap.ts)_
1974
1974
 
1975
1975
  ## `qfg workspace create SLUG`
1976
1976
 
@@ -2004,7 +2004,7 @@ EXAMPLES
2004
2004
  $ qfg workspace create my-team --org 11111111-1111-1111-1111-111111111111
2005
2005
  ```
2006
2006
 
2007
- _See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/workspace/create.ts)_
2007
+ _See code: [src/commands/workspace/create.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/workspace/create.ts)_
2008
2008
 
2009
2009
  ## `qfg workspace switch [SLUG]`
2010
2010
 
@@ -2032,7 +2032,7 @@ EXAMPLES
2032
2032
  $ qfg workspace switch acme/production
2033
2033
  ```
2034
2034
 
2035
- _See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.43/src/commands/workspace/switch.ts)_
2035
+ _See code: [src/commands/workspace/switch.ts](https://github.com/quonfig/cli/blob/v0.0.44/src/commands/workspace/switch.ts)_
2036
2036
  <!-- commandsstop -->
2037
2037
 
2038
2038
  ## Local Development
@@ -8,7 +8,6 @@ import { execSync } from 'node:child_process';
8
8
  import * as fs from 'node:fs';
9
9
  import * as path from 'node:path';
10
10
  import { SAMPLE_FILES } from './samples.js';
11
- import { storedConfigJsonSchema } from './schema.js';
12
11
  import { PRE_COMMIT_MARKER, agentsMdTemplate, claudeMdTemplate, preCommitHookContent, readmeTemplate, } from './templates.js';
13
12
  // ── Directories that define a workspace ────────────────────────────────
14
13
  const WORKSPACE_DIRS = ['configs', 'feature-flags', 'segments', 'log-levels', 'schemas'];
@@ -38,7 +37,6 @@ export function planInit(options) {
38
37
  }
39
38
  // 2. Managed files — always overwrite
40
39
  const managedFiles = [
41
- { file: 'quonfig.schema.json', content: JSON.stringify(storedConfigJsonSchema(), null, 2) + '\n' },
42
40
  { file: 'README.md', content: readmeTemplate() },
43
41
  { file: 'CLAUDE.md', content: claudeMdTemplate() },
44
42
  { file: 'AGENTS.md', content: agentsMdTemplate() },
@@ -118,7 +116,6 @@ export function planInit(options) {
118
116
  export function executeInit(plan, dir) {
119
117
  // Build a lookup for managed file content
120
118
  const managedContent = {
121
- 'quonfig.schema.json': JSON.stringify(storedConfigJsonSchema(), null, 2) + '\n',
122
119
  'README.md': readmeTemplate(),
123
120
  'CLAUDE.md': claudeMdTemplate(),
124
121
  'AGENTS.md': agentsMdTemplate(),
@@ -2,7 +2,8 @@
2
2
  * JSON Schema for Quonfig StoredConfig files.
3
3
  *
4
4
  * This is the machine-readable schema for files in configs/, feature-flags/,
5
- * segments/, and log-levels/. Written to `quonfig.schema.json` by `qfg init`.
5
+ * segments/, and log-levels/. Served at api.quonfig.com/schemas/stored-config.json
6
+ * and printed by `qfg config-schema --json-schema`.
6
7
  *
7
8
  * Derived from the Zod schemas in verify/validate.ts — keep in sync.
8
9
  */
@@ -2,7 +2,8 @@
2
2
  * JSON Schema for Quonfig StoredConfig files.
3
3
  *
4
4
  * This is the machine-readable schema for files in configs/, feature-flags/,
5
- * segments/, and log-levels/. Written to `quonfig.schema.json` by `qfg init`.
5
+ * segments/, and log-levels/. Served at api.quonfig.com/schemas/stored-config.json
6
+ * and printed by `qfg config-schema --json-schema`.
6
7
  *
7
8
  * Derived from the Zod schemas in verify/validate.ts — keep in sync.
8
9
  */
@@ -218,7 +219,7 @@ const variant = {
218
219
  type: 'object',
219
220
  properties: {
220
221
  id: { type: 'string' },
221
- key: { type: 'string' },
222
+ name: { type: 'string' },
222
223
  value: simpleValue,
223
224
  description: { type: 'string' },
224
225
  },
@@ -283,6 +284,10 @@ export function storedConfigJsonSchema() {
283
284
  type: 'array',
284
285
  items: { type: 'string' },
285
286
  },
287
+ readyForCleanup: {
288
+ type: 'boolean',
289
+ description: 'Owner-supplied lifecycle marker (qfg-580q). When true on a feature_flag, the UI shows "Ready for cleanup" instead of the rule-derived status — signaling the flag is safe to remove from code.',
290
+ },
286
291
  environments: {
287
292
  type: 'array',
288
293
  items: configEnvironment,
@@ -40,7 +40,7 @@ qfg list
40
40
 
41
41
  ## Schema
42
42
 
43
- \`quonfig.schema.json\` in the repo root defines the config file format. Editors that support JSON Schema will provide autocomplete and validation automatically.
43
+ Config files reference the hosted JSON Schema at <https://api.quonfig.com/schemas/stored-config.json> via their \`$schema\` field. Editors that support JSON Schema will provide autocomplete and validation automatically.
44
44
 
45
45
  ## Validation
46
46
 
@@ -59,12 +59,12 @@ This is a Quonfig workspace repository. Configuration is stored as JSON files in
59
59
 
60
60
  ## JSON Schema
61
61
 
62
- The canonical schema for config files is \`quonfig.schema.json\` in the repo root. Use it as the source of truth for field names, types, enums, and constraints.
62
+ The canonical schema for config files is hosted at <https://api.quonfig.com/schemas/stored-config.json>. Use it as the source of truth for field names, types, enums, and constraints.
63
63
 
64
64
  Config files can reference it for editor support:
65
65
 
66
66
  \`\`\`json
67
- { "$schema": "./quonfig.schema.json", "key": "my.config", ... }
67
+ { "$schema": "https://api.quonfig.com/schemas/stored-config.json", "key": "my.config", ... }
68
68
  \`\`\`
69
69
 
70
70
  ## Directory Structure
@@ -84,7 +84,7 @@ Files must live in the directory matching their \`type\`. The filename (without
84
84
 
85
85
  \`\`\`json
86
86
  {
87
- "$schema": "./quonfig.schema.json",
87
+ "$schema": "https://api.quonfig.com/schemas/stored-config.json",
88
88
  "key": "my-app.timeout",
89
89
  "type": "config",
90
90
  "valueType": "int",
@@ -118,7 +118,7 @@ The \`default\` block (and each environment override) contains a \`rules\` array
118
118
  | Segment | \`IN_SEG\`, \`NOT_IN_SEG\` | \`valueToMatch\` (segment key) |
119
119
  | Other | \`IN_INT_RANGE\`, \`LOOKUP_KEY_IN\`, \`LOOKUP_KEY_NOT_IN\` | \`valueToMatch\` |
120
120
 
121
- See \`quonfig.schema.json\` for the full operator enum and value type definitions.
121
+ See <https://api.quonfig.com/schemas/stored-config.json> for the full operator enum and value type definitions.
122
122
 
123
123
  ## Environments
124
124
 
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.0.43";
1
+ declare const _default: "0.0.44";
2
2
  export default _default;
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // AUTO-GENERATED from package.json by scripts/generate-version.mjs — do not edit.
2
- export default '0.0.43';
2
+ export default '0.0.44';
@@ -3602,5 +3602,5 @@
3602
3602
  ]
3603
3603
  }
3604
3604
  },
3605
- "version": "0.0.43"
3605
+ "version": "0.0.44"
3606
3606
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "packageManager": "yarn@4.11.0+sha512.4e54aeace9141df2f0177c266b05ec50dc044638157dae128c471ba65994ac802122d7ab35bcd9e81641228b7dcf24867d28e750e0bcae8a05277d600008ad54",
3
3
  "name": "@quonfig/cli",
4
- "version": "0.0.43",
4
+ "version": "0.0.44",
5
5
  "bugs": {
6
6
  "url": "https://github.com/quonfig/cli/issues"
7
7
  },