@sys9/tape9-cli 0.12.0-linux-x64 → 0.13.0-darwin-arm64
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 +18 -0
- package/package.json +3 -3
- package/vendor/darwin_arm64/tape9 +0 -0
- package/vendor/linux_amd64/tape9 +0 -0
package/README.md
CHANGED
|
@@ -17,3 +17,21 @@ sys9 tape --help
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
`@sys9/tape9-cli` remains the tape9 package used by `@sys9/cli`.
|
|
20
|
+
|
|
21
|
+
## Append with a predecessor
|
|
22
|
+
|
|
23
|
+
Start a conditional chain on a new or existing Tape, keeping its ordinary content:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
printf 'first batch\n' | tape9 append history --after='' --space my-space
|
|
27
|
+
# Use the batch ID printed by the previous command:
|
|
28
|
+
printf 'next batch\n' | tape9 append history --after BATCH_ID --space my-space
|
|
29
|
+
tape9 append-state history --space my-space --json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Each invocation reads at most 32 MiB and commits one atomic batch. A predecessor
|
|
33
|
+
conflict reports the current tail without appending. The CLI retries within the
|
|
34
|
+
invocation; use the SDK to persist batch identity and payload across processes.
|
|
35
|
+
Ordinary `append` and `capture` remain allowed and do not change the conditional
|
|
36
|
+
tail. Ordering only applies between conditional batches. Once one succeeds, the
|
|
37
|
+
Tape ID cannot be reused after deletion.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sys9/tape9-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-darwin-arm64",
|
|
4
4
|
"description": "tape9 CLI package used by @sys9/cli",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"os": [
|
|
7
|
-
"
|
|
7
|
+
"darwin"
|
|
8
8
|
],
|
|
9
9
|
"cpu": [
|
|
10
|
-
"
|
|
10
|
+
"arm64"
|
|
11
11
|
],
|
|
12
12
|
"files": [
|
|
13
13
|
"vendor"
|
|
Binary file
|
package/vendor/linux_amd64/tape9
DELETED
|
Binary file
|