tileflow 0.1.0-alpha.6 → 0.1.0-alpha.8

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
@@ -213,6 +213,44 @@ explicit, requires confirmation, and can be blocked by retained deployment depen
213
213
  prepared icon identities; they do not turn package directories into a separate hosted library.
214
214
  Use the installed command's help for exact arguments and supported JSON output.
215
215
 
216
+ ## Team Icon Sets and repository locks
217
+
218
+ Two intentionally separate families cover shared icons. `icon-set` manages the remote Team catalog
219
+ with Team authority; `icons install|update|pin` maintain the repository's exact
220
+ `tileflow.icons.lock.json` beside the selected config.
221
+
222
+ ```sh
223
+ npx tileflow icon-set publish ./icons --id brand --team @acme --idempotency-key brand-2026-09-14 --json
224
+ npx tileflow icon-set versions brand --team @acme --json
225
+ npx tileflow icons install --team @acme --json
226
+ npx tileflow icons pin @acme/brand --version 3 --team @acme --json
227
+ ```
228
+
229
+ Use your own directory, Team selector, and retry key. `publish` compiles one local directory into
230
+ the four generated sprite files and creates an immutable integer revision; republishing identical
231
+ bytes reports `unchanged` and reuses the same revision. `list`, `status`, `versions` and `uses` are
232
+ bounded Team reads. `archive` and `unarchive` change only catalog state and never remove retained
233
+ revisions. `purge <slug> --version <n>` additionally requires `--idempotency-key`, an exact
234
+ `--confirm @team/set@version`, and `--acknowledge-unknown-locks`, because repository locks that were
235
+ never deployed are not discoverable and already-downloaded public bytes cannot be revoked.
236
+
237
+ The lock commands inspect the `iconSet()` references your config declares. They are the only
238
+ commands that resolve `latest`, and the only ones that write the lock. `install` fills in declared
239
+ references that have no pin, `update` moves selected references to their current latest revision,
240
+ and `pin` selects one exact revision. Every requested reference is resolved before a single
241
+ compare-and-swap write of the whole snapshot, so a concurrent writer fails the command instead of
242
+ losing its pins. No lock command rewrites `tileflow.config.ts`.
243
+
244
+ `validate`, `build`, `preview`, `deploy`, `icons list` and `icons diff` read the lock and never
245
+ resolve a catalog head. `--cache-dir` chooses the verified artifact cache root and `--offline` fails
246
+ a cache miss instead of hydrating it. Publishing a newer revision changes nothing in a repository
247
+ until `install`, `update` or `pin` changes its exact pin.
248
+
249
+ These commands require an account session or a Team data key carrying `icons:read` for reads and
250
+ `icons:write` for publication, archive state and purge. A Map-scoped deploy key never gains catalog
251
+ authority. Availability depends on your deployment; check the installed command's help and your
252
+ Team's enabled features.
253
+
216
254
  ## Local coordinate commands
217
255
 
218
256
  `setup coordinates` and `coordinates search|describe|operations|transform` require a compatible,
@@ -253,3 +291,14 @@ revision; prefer the installed copy when working with an older release.
253
291
  - [Hosted authentication and deploy](https://github.com/tileflow/tileflow-sdk/blob/main/packages/cli/docs/hosted-authentication-and-deploy.md)
254
292
  - [Agent icon composition](https://github.com/tileflow/tileflow-sdk/blob/main/packages/cli/docs/agent-icon-composition.md)
255
293
  - [Read-only icon comparison](https://github.com/tileflow/tileflow-sdk/blob/main/packages/cli/docs/read-only-icon-comparison.md)
294
+
295
+ ## Validate icon representations
296
+
297
+ `tileflow validate`, development and build resolve icon capabilities before returning a map.
298
+ `TF_ICON_REPRESENTATION_MIXED` means a layer can select SDF and RGBA icons, including a fallback or
299
+ local override. Keep that selection homogeneous or use an explicit bounded mapping. Development
300
+ reports the invalid generation while retaining its last valid artifact.
301
+
302
+ Declare defaults in `tileflow.icons.json`; inspect effective appearances and text-fitting layouts with
303
+ `tileflow icons list --json`. Diff reports detect default-only changes and show rendered previews.
304
+ See [Author recolorable and adaptable icons](https://github.com/tileflow/tileflow-sdk/blob/main/packages/dev/docs/native-icons.md) for the source profile and halo bounds.