claudekit-cli 3.41.4-dev.47 → 3.41.4-dev.49
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 +19 -0
- package/cli-manifest.json +35 -8
- package/dist/index.js +891 -125
- package/dist/ui/assets/index-CRtJwrzd.css +1 -0
- package/dist/ui/assets/index-DyvVqUTe.js +311 -0
- package/dist/ui/index.html +2 -2
- package/package.json +4 -1
- package/dist/ui/assets/index-CKG4dpEV.js +0 -311
- package/dist/ui/assets/index-D3aRuZaq.css +0 -1
package/README.md
CHANGED
|
@@ -656,6 +656,25 @@ bun test
|
|
|
656
656
|
bun run test:integration
|
|
657
657
|
```
|
|
658
658
|
|
|
659
|
+
## E2E Tests
|
|
660
|
+
|
|
661
|
+
Playwright E2E tests cover the `ck migrate` dashboard (3 scenarios). Tests run against the local dev server and use API mocking — no real filesystem state is modified.
|
|
662
|
+
|
|
663
|
+
**Prerequisites:** Node 18+ or Bun 1.0+, Chromium (installed automatically).
|
|
664
|
+
|
|
665
|
+
```bash
|
|
666
|
+
# One-time browser setup (if not already installed)
|
|
667
|
+
./node_modules/.bin/playwright install chromium
|
|
668
|
+
|
|
669
|
+
# Run all E2E specs
|
|
670
|
+
bun run test:e2e
|
|
671
|
+
|
|
672
|
+
# Interactive UI mode (watch + trace viewer)
|
|
673
|
+
bun run test:e2e:ui
|
|
674
|
+
```
|
|
675
|
+
|
|
676
|
+
Note: The dev server starts automatically via `bun run dashboard:dev`. CI wiring is a separate follow-up (local-only for now).
|
|
677
|
+
|
|
659
678
|
## FAQ
|
|
660
679
|
|
|
661
680
|
**Q: Do I need GitHub CLI?**
|
package/cli-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.41.4-dev.
|
|
3
|
-
"generatedAt": "2026-04-
|
|
2
|
+
"version": "3.41.4-dev.49",
|
|
3
|
+
"generatedAt": "2026-04-24T05:30:24.953Z",
|
|
4
4
|
"commands": {
|
|
5
5
|
"agents": {
|
|
6
6
|
"name": "agents",
|
|
@@ -1254,19 +1254,40 @@
|
|
|
1254
1254
|
"usage": "ck migrate [options]",
|
|
1255
1255
|
"examples": [
|
|
1256
1256
|
{
|
|
1257
|
-
"command": "ck migrate --
|
|
1258
|
-
"description": "
|
|
1257
|
+
"command": "ck migrate --install",
|
|
1258
|
+
"description": "Pick items to install interactively (install picker mode)"
|
|
1259
1259
|
},
|
|
1260
1260
|
{
|
|
1261
|
-
"command": "ck migrate --agent codex -
|
|
1262
|
-
"description": "
|
|
1261
|
+
"command": "ck migrate --agent codex --dry-run",
|
|
1262
|
+
"description": "Preview the destination-aware reconcile plan before writing files"
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
|
-
"command": "
|
|
1266
|
-
"description": "
|
|
1265
|
+
"command": "ck migrate --respect-deletions",
|
|
1266
|
+
"description": "Preserve empty directories — do not auto-reinstall deleted items"
|
|
1267
1267
|
}
|
|
1268
1268
|
],
|
|
1269
1269
|
"optionGroups": [
|
|
1270
|
+
{
|
|
1271
|
+
"title": "Mode Options",
|
|
1272
|
+
"options": [
|
|
1273
|
+
{
|
|
1274
|
+
"flags": "--install",
|
|
1275
|
+
"description": "Opt-in install picker mode — interactively select which items to install (default when registry is empty or has unknown checksums)"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"flags": "--reconcile",
|
|
1279
|
+
"description": "Force reconcile mode — compute diff vs registry and apply only changes (default when registry is valid)"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"flags": "--reinstall-empty-dirs",
|
|
1283
|
+
"description": "Reinstall all items when their type directory is empty or missing (default: true). Use --respect-deletions to disable."
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"flags": "--respect-deletions",
|
|
1287
|
+
"description": "Preserve deletion even when a type directory is empty — skip reinstall heuristic. Mutually exclusive with --reinstall-empty-dirs."
|
|
1288
|
+
}
|
|
1289
|
+
]
|
|
1290
|
+
},
|
|
1270
1291
|
{
|
|
1271
1292
|
"title": "Target Options",
|
|
1272
1293
|
"options": [
|
|
@@ -1329,6 +1350,12 @@
|
|
|
1329
1350
|
}
|
|
1330
1351
|
]
|
|
1331
1352
|
}
|
|
1353
|
+
],
|
|
1354
|
+
"sections": [
|
|
1355
|
+
{
|
|
1356
|
+
"title": "Gotchas",
|
|
1357
|
+
"content": " --install and --reconcile are mutually exclusive — pass only one\n --reinstall-empty-dirs and --respect-deletions are mutually exclusive — pass only one\n Default mode is smart-detected: no/stale registry → install, valid registry → reconcile\n --respect-deletions disables the auto-reinstall heuristic for empty directories\n --force overrides skip decisions per item; --reinstall-empty-dirs is a per-directory heuristic"
|
|
1358
|
+
}
|
|
1332
1359
|
]
|
|
1333
1360
|
},
|
|
1334
1361
|
"new": {
|