@verentis/cli 1.0.3 → 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 +46 -3
- package/dist/index.js +734 -87
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
- package/samples/avatar-pack/clay.vavatar +1 -0
- package/samples/avatar-pack/manifest.yaml +29 -0
- package/src/vpkg/vendor/avatar/LICENSE +21 -0
- package/src/vpkg/vendor/avatar/THIRD_PARTY_NOTICES.txt +88 -0
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 `
|
|
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,
|
|
@@ -151,6 +168,30 @@ verentis pack samples/agent --publisher verentis --no-sign # local test only:
|
|
|
151
168
|
The Application sample shows `spec.tools` bindings for an app backend and an app-owned MCP
|
|
152
169
|
server. The Tool sample shows an external MCP server fixture with a credential reference.
|
|
153
170
|
|
|
171
|
+
Agent manifests (`agent.v1`) may request what the agent's own identity needs; an admin consents to it
|
|
172
|
+
when the agent is installed, and a run may only do what both the person running it and the agent may do:
|
|
173
|
+
|
|
174
|
+
```yaml
|
|
175
|
+
spec:
|
|
176
|
+
permissions: [file.read] # scopes, consented like an Application's spec.permissions
|
|
177
|
+
file-access: # at most 64; path absolute or relative to the manifest folder
|
|
178
|
+
- { path: /shared/reference, mode: read, reason: Cite the shared reference material }
|
|
179
|
+
ui: [openui] # may answer with OpenUI interfaces
|
|
180
|
+
model: { profile: standard, choice: open, allowed: [standard, reasoning] } # allowed only with choice: open
|
|
181
|
+
```
|
|
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
|
+
|
|
192
|
+
`verentis validate` and `pack` require a `reason` on every agent `file-access` entry and reject the removed
|
|
193
|
+
`spec.capabilities.files` (use `spec.file-access`); `spec.capabilities.network` and `.execution` remain.
|
|
194
|
+
|
|
154
195
|
## Workspace policy manifests
|
|
155
196
|
|
|
156
197
|
Policy manifests (`kind: Policy`) are not marketplace packages; `verentis validate` accepts them
|
|
@@ -471,7 +512,7 @@ verentis publisher update --description "Tools for data teams" --website https:/
|
|
|
471
512
|
verentis publisher logo set ./brand/logo.svg
|
|
472
513
|
verentis publisher logo remove
|
|
473
514
|
verentis keygen # Ed25519 signing key + register public half
|
|
474
|
-
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
|
|
475
516
|
verentis pack # signed .vpkg (--encrypt seals the payload); fails without a key unless --no-sign
|
|
476
517
|
verentis pack . --env production # writes my-app-production-<version>.vpkg
|
|
477
518
|
verentis pack . --bump-version # increments metadata.version.patch in the manifest
|
|
@@ -527,6 +568,8 @@ categories) lives in the signed manifest — change it and publish a new version
|
|
|
527
568
|
|
|
528
569
|
`verentis install` replaces an existing installation of the same package in the workspace branch in place, like the
|
|
529
570
|
marketplace install dialog. This upgrades or reinstalls an installed package and retries a `Failed` installation.
|
|
571
|
+
Installing or replacing an Application or an Agent records the manifest consent on its installation, so the CLI
|
|
572
|
+
also requests `installation.read` and `app.read` for that call.
|
|
530
573
|
|
|
531
574
|
### Publisher publishing from GitHub Actions
|
|
532
575
|
|