@verentis/cli 1.0.4 → 1.0.5

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
@@ -47,6 +47,9 @@ new preview or change its destinations. There is no `--yes` expansion or automat
47
47
  install retry. After HTTP failure or a lost response, use `install-result`, not the same consent.
48
48
 
49
49
  Dependency-free packages preserve the existing install/in-place replacement behavior.
50
+ Use `verentis install-targets` to see the connected server's personal installation matrix. To install for yourself
51
+ in one workspace, pass `--target personal` to both preview and approval. This always previews, even without
52
+ dependencies, and refuses a legacy server's workspace-only response. Omit `--target` for existing workspace behavior.
50
53
  `--preview` opts them into the same explicit graph review. Required declarations cannot bypass
51
54
  consent through a legacy API or update. Installation is not atomic; completed/shared dependencies
52
55
  and retained user data are never rolled back. A Failed exact target can be recovered only with
@@ -83,7 +86,7 @@ Optional packages are never installed implicitly.
83
86
  `kind` names the package type. The known types come from the Marketplace's package type
84
87
  registry, bundled with the CLI in `src/vpkg/package-types.json` (refresh it from a platform checkout
85
88
  with `npm run sync:package-types -- [path/to/platform]`): `Application`, `ExecutionEngine`,
86
- `Agent`, `Skill`, `Tool`, `Bundle` and `Theme`. Lookup accepts the type name or an alias in any
89
+ `Agent`, `Skill`, `Tool`, `Bundle`, `Theme` and `AvatarPack`. Lookup accepts the type name or an alias in any
87
90
  case or punctuation (`engine`, `execution-engine`, `theme`). When a manifest uses a type this CLI
88
91
  does not know, `validate`/`pack` fetch the current registry once from `GET /v1/package-types` and
89
92
  cache it in `~/.verentis/package-types.json` (`publish` refreshes it too); any failure falls back to
@@ -91,7 +94,7 @@ the bundled list. Set `VERENTIS_PACKAGE_TYPES_CACHE=0` to use only the bundled r
91
94
 
92
95
  In a project directory the manifest is `manifest.yaml`, or a single `<name>.<suffix>.yaml` whose suffix
93
96
  is a registry media slug or alias (`app`, `application`, `engine`, `agent`, `skill`, `tool`, `bundle`,
94
- `theme`, plus `policy`), for example `wholesale-theme.theme.yaml`. `manifest.yaml` wins when present;
97
+ `theme`, `avatar-pack`, plus `policy`), for example `wholesale-theme.theme.yaml`. `manifest.yaml` wins when present;
95
98
  otherwise more than one typed manifest in the directory is an error.
96
99
 
97
100
  Validation follows the type's profile: application-only sections (`spec.launch`, `spec.splash`,
@@ -102,6 +105,20 @@ other types, as are the spec fields a type forbids (for example `spec.entry` or
102
105
  `metadata.tags` is an optional list of up to 10 unique lowercase slugs (`a-z`, `0-9`, single
103
106
  hyphens, at most 32 characters each), e.g. `tags: [branding, dark-mode]`.
104
107
 
108
+ ## Avatar style packs
109
+
110
+ `verentis init my-clay --type avatar-pack` creates a starter from [the real Clay package](samples/avatar-pack/manifest.yaml).
111
+ Set `packaging.publisher` to your registered publisher, then run `verentis validate my-clay`,
112
+ `verentis pack my-clay --key <registered-key>` and `verentis publish <file.vpkg>`. Use your own key;
113
+ the sample has no release credentials. `--no-sign` and encryption are not supported for `AvatarPack`.
114
+
115
+ The v1 schema accepts a single shipped renderer/recipe (`opaline`/`clay`, revision 1). The bundled
116
+ `clay.vavatar` is the reviewed native Studio project; keep its bytes and digest unchanged. Narrow
117
+ the available palette/finish/expression choices, map message cues to supported native states,
118
+ and pick a static preview state. No downloads, runtime code, custom placement, dependencies, scopes
119
+ or extra payload files. The native renderer and third-party notices ship in the SDK, not in the pack.
120
+ Clay attribution: Opaline core 1.2.0, Copyright (c) 2026 Inlaylab, MIT. Other styles are not qualified.
121
+
105
122
  ## Theme packages
106
123
 
107
124
  A `Theme` replaces the workspace theme. `verentis init my-theme --type theme` scaffolds a manifest,
@@ -163,6 +180,15 @@ spec:
163
180
  model: { profile: standard, choice: open, allowed: [standard, reasoning] } # allowed only with choice: open
164
181
  ```
165
182
 
183
+ An optional avatar grants no permissions. Set `spec.avatar` to
184
+ `{format: vavatar, definition: ./avatar/face.vavatar, fallback: ./avatar/poster.png}` for a
185
+ self-contained native runtime face (UTF-8 JSON, up to 4 MiB). `dotlottie/v2` with a `.lottie`
186
+ definition is still supported. The static poster is optional. `validate` and `pack` check the
187
+ declared assets and include them by default; list them explicitly when using `packaging.files`.
188
+ Native definitions cannot be `packaging.templates`. Both commands use the offline, parser-only
189
+ `@verentis/avatar` 0.5.0 prerelease snapshot in `src/vpkg/vendor/avatar` (SHA-256
190
+ `d57692eece009c7126aebfcd6b34457bc158eee1e1eabb236951ad1d12ea76df`), not a renderer or network service.
191
+
166
192
  `verentis validate` and `pack` require a `reason` on every agent `file-access` entry and reject the removed
167
193
  `spec.capabilities.files` (use `spec.file-access`); `spec.capabilities.network` and `.execution` remain.
168
194
 
@@ -486,7 +512,7 @@ verentis publisher update --description "Tools for data teams" --website https:/
486
512
  verentis publisher logo set ./brand/logo.svg
487
513
  verentis publisher logo remove
488
514
  verentis keygen # Ed25519 signing key + register public half
489
- verentis init my-app --type application # or --type engine | bundle | theme
515
+ verentis init my-app --type application # or --type engine | bundle | theme | avatar-pack
490
516
  verentis pack # signed .vpkg (--encrypt seals the payload); fails without a key unless --no-sign
491
517
  verentis pack . --env production # writes my-app-production-<version>.vpkg
492
518
  verentis pack . --bump-version # increments metadata.version.patch in the manifest