package: align new project manifests

This commit is contained in:
Hermes Agent
2026-09-02 22:16:30 +00:00
parent 861d0af401
commit 475b54eb6a
4 changed files with 18 additions and 1 deletions
+2
View File
@@ -293,6 +293,8 @@ claro.lock
packages/
```
Starter projects created with `claro new MyProject` use the same `manifest-version: 1` and `lock-version: 1` headers as `claro package init`, so the first project files match the package maintenance tools.
Package names are checked so unsafe names such as `../bad` are rejected when adding packages. Names must also be 64 characters or fewer, which keeps generated package paths predictable. If an unsafe name is already present in `claro.project`, `claro package doctor`, `claro package lock`, and lockfile refreshes during `claro package remove` flag it instead of treating it as safe lockfile data.