@tinycloud/cli 1.2.0-beta.5 → 1.2.0-beta.6
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 +6 -4
- package/dist/index.js +2173 -1997
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +3788 -3594
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -164,10 +164,12 @@ network grant` takes the short name, resolves the network, and grants
|
|
|
164
164
|
Replication is off by default. `--replication` enables it for one invocation;
|
|
165
165
|
`--no-replication` overrides `TC_REPLICATION=1`, and `--replication-debug`
|
|
166
166
|
writes diagnostics to stderr. Save explicit login prefixes with
|
|
167
|
-
`tc auth login --replication-prefix notes
|
|
168
|
-
later logins and rotation.
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
`tc auth login --replication-prefix notes/`; saved prefixes are reapplied on
|
|
168
|
+
later logins and rotation. Prefixes are folders (`notes/`) or `/` for the
|
|
169
|
+
whole space. Whole-space replication requires `kv-sync-root` support and
|
|
170
|
+
`--replication-allow-secrets`, because it includes `vault/`. Replication needs
|
|
171
|
+
unrestricted `get` and explicit `sync` on that folder or broader; an exact-key
|
|
172
|
+
grant never qualifies. Bare replica prefixes are rejected; use `notes/`.
|
|
171
173
|
Use `tc replica report` for event aggregates and pinned keys; `--clear-pending`
|
|
172
174
|
prints a warning because later commits can be read as stale until a subsequent
|
|
173
175
|
sync. `auth logout` removes both legacy replicas and the flag-owned
|