@functional-systems/lambdadb-cli 0.1.0-dev.5 → 0.1.0
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/CHANGELOG.md +13 -0
- package/CONTRIBUTING.md +5 -5
- package/README.md +8 -1
- package/RELEASING.md +16 -0
- package/VALIDATION.md +51 -6
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.1.0] - 2026-09-18
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- First stable release of the project-scoped LambdaDB CLI: configure, doctor,
|
|
10
|
+
collection list/describe/create, JSONL ordinary/bulk import, query and ID fetch.
|
|
11
|
+
- Explicit branch/tag/alias read targets, noninteractive commands, versioned JSON
|
|
12
|
+
output and documented exit codes, including partial and unknown write outcomes.
|
|
13
|
+
- Reuse of TypeScript SDK 0.5.1 for authentication, transport, read retries,
|
|
14
|
+
pagination, bulk transfers and large response downloads.
|
|
15
|
+
- Apache-2.0 licensing, installed-package contract tests, opt-in development-project
|
|
16
|
+
smoke tests and provenance-enabled npm publication.
|
|
17
|
+
|
|
5
18
|
### Fixed
|
|
6
19
|
|
|
7
20
|
- Development publication verifies registry propagation for up to five minutes,
|
package/CONTRIBUTING.md
CHANGED
|
@@ -14,9 +14,6 @@ not LambdaDB collection branches or refs.
|
|
|
14
14
|
4. Address review feedback and pass both required CI checks before merging.
|
|
15
15
|
5. Delete the short-lived branch after verifying the merge.
|
|
16
16
|
|
|
17
|
-
For the initial MVP, `feat/cli-mvp` targets the initial `develop` commit. The
|
|
18
|
-
review includes the CLI implementation, tests, documentation and CI setup.
|
|
19
|
-
|
|
20
17
|
## Local and CI validation
|
|
21
18
|
|
|
22
19
|
```sh
|
|
@@ -67,8 +64,11 @@ commit so the shared branch ancestry is preserved. After promotion, synchronize
|
|
|
67
64
|
`develop`, especially release-only changes or hotfixes. Include the next intended
|
|
68
65
|
development base in that synchronization PR so develop retains a dev version.
|
|
69
66
|
|
|
70
|
-
A separate `release/*` branch
|
|
71
|
-
|
|
67
|
+
A separate `release/*` branch can be created from reviewed develop and target
|
|
68
|
+
main when preparing rc/stable metadata while develop retains its automatic dev
|
|
69
|
+
base. The first stable release uses `release/0.1.0` for this reason. Do not merge
|
|
70
|
+
stable package metadata into develop without setting its next dev base, because
|
|
71
|
+
automatic development publication requires an `X.Y.Z-dev.N` version.
|
|
72
72
|
|
|
73
73
|
The first npm bootstrap, rc/stable tags and GitHub Releases remain explicit
|
|
74
74
|
release actions. Subsequent dev publication is automatic once enabled.
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Requires Node.js 22.14 or newer and npm.
|
|
|
10
10
|
|
|
11
11
|
### Install from npm
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
The verified development build is available on the `dev` channel:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
16
|
npm install --global @functional-systems/lambdadb-cli@dev
|
|
@@ -18,6 +18,13 @@ lambdadb --version
|
|
|
18
18
|
lambdadb --help
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
This checkout prepares `0.1.0`. Once its GitHub Release and npm publication are
|
|
22
|
+
complete, install the stable version with:
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
npm install --global @functional-systems/lambdadb-cli@0.1.0
|
|
26
|
+
```
|
|
27
|
+
|
|
21
28
|
The `dev` channel contains prerelease versions. For reproducible CI runs, pin an
|
|
22
29
|
exact published version instead of the moving `dev` tag. See
|
|
23
30
|
[RELEASING.md](RELEASING.md#current-status) for release preparation status and
|
package/RELEASING.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
## Current status
|
|
4
4
|
|
|
5
|
+
The `release/0.1.0` candidate prepares the first stable version from reviewed
|
|
6
|
+
`develop` commit `c8947e9`. It changes package/lock versions and release documents;
|
|
7
|
+
CLI runtime, dependencies, tests and workflows match the verified development build.
|
|
8
|
+
The promotion PR targets `main` directly so `develop` keeps its automatic dev base.
|
|
9
|
+
Merge with a merge commit, then obtain authorization for `v0.1.0` and a non-prerelease
|
|
10
|
+
GitHub Release. Main promotion alone does not publish npm. After publication,
|
|
11
|
+
verify `latest=0.1.0`, provenance and a clean consumer installation. Synchronize
|
|
12
|
+
main back to develop through a PR that also sets the next development base.
|
|
13
|
+
Stable publication has not yet been performed.
|
|
14
|
+
|
|
15
|
+
The ordinary develop merge published `0.1.0-dev.5` through OIDC in
|
|
16
|
+
[one successful workflow attempt](https://github.com/lambdadb/lambdadb-cli/actions/runs/35344153978).
|
|
17
|
+
The new verification logic handled approximately three minutes of registry
|
|
18
|
+
propagation without repeating the write or rerunning the workflow. A fresh npm
|
|
19
|
+
installation passed 35 CLI contracts, integrity and provenance/signature checks.
|
|
20
|
+
|
|
5
21
|
Bootstrap and initial OIDC publication were completed on 2026-09-18:
|
|
6
22
|
|
|
7
23
|
- `0.1.0-dev.1` was published publicly from reviewed develop as the manual bootstrap.
|
package/VALIDATION.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
Date: 2026-09-18. Local contract tests use loopback servers and synthetic
|
|
4
4
|
credentials. A separate authenticated development-project smoke is recorded below.
|
|
5
5
|
|
|
6
|
+
## Stable 0.1.0 candidate
|
|
7
|
+
|
|
8
|
+
Prepared `release/0.1.0` from reviewed develop commit
|
|
9
|
+
`c8947e96308283ac593e712716f0732121bb1958`. Relative to that commit, only package
|
|
10
|
+
versions and release documents change. Runtime source, dependencies, tests,
|
|
11
|
+
examples and workflows are unchanged. Stable publication remains pending.
|
|
12
|
+
|
|
13
|
+
On Node.js 24.15.0 / npm 11.12.1, a new worktree passed `npm ci`, lint, type
|
|
14
|
+
checking, all 59 source tests, and 35 installed-package contract tests.
|
|
15
|
+
`RELEASE_TAG=v0.1.0 RELEASE_PRERELEASE=false npm run check:version -- --release`
|
|
16
|
+
passed and selected `latest`. CI results for the final commit belong to the
|
|
17
|
+
promotion PR; local success is not a substitute for those required checks.
|
|
18
|
+
|
|
19
|
+
A newly packed `0.1.0` tarball was installed into an isolated temporary consumer.
|
|
20
|
+
Its executable reported `0.1.0` and was selected with `LAMBDADB_TEST_CLI` while
|
|
21
|
+
running `node --test --test-reporter=tap test/live/cli.test.mjs`. The launcher used
|
|
22
|
+
the maintainer's existing opt-in development settings and the in-memory variable
|
|
23
|
+
mapping described below; it did not change or copy `.env.local` into the worktree.
|
|
24
|
+
Target: `bench-recall` at
|
|
25
|
+
`https://internal-dev-aws-apne2-v3-c05a2b5d492a.lambdadb.ai`.
|
|
26
|
+
|
|
27
|
+
- Doctor and temporary collection creation passed within the first second.
|
|
28
|
+
- Two ordinary documents with 3 MiB payloads each and one bulk document were
|
|
29
|
+
accepted at approximately 3 seconds. Acceptance did not imply search visibility.
|
|
30
|
+
- Query and ID fetch on `branch:main` returned all three documents with exact
|
|
31
|
+
contents at approximately 69 seconds, without a pending-write overlay.
|
|
32
|
+
- The live test passed in 69.6 seconds. Cleanup was accepted, then an independent
|
|
33
|
+
SDK get returned `ResourceNotFoundError` for
|
|
34
|
+
`cli-smoke-b854ef72-1448-42ae-8c9a-ce5c0441f104`, confirming its absence.
|
|
35
|
+
- The source `.env.local` was byte-for-byte unchanged, and the temporary consumer
|
|
36
|
+
and tarball were removed. No key or signed URL is recorded here.
|
|
37
|
+
|
|
38
|
+
Only documentation was updated after this live run; the final package is checked
|
|
39
|
+
again with the installed-package contracts. This is development-service evidence
|
|
40
|
+
for a bounded sample, not a latency/readiness guarantee or live tag/alias coverage.
|
|
41
|
+
The stable npm artifact and release-event workflow remain unverified until the
|
|
42
|
+
explicit publication and subsequent consumer/provenance checks.
|
|
43
|
+
|
|
6
44
|
## Public bootstrap and OIDC publication
|
|
7
45
|
|
|
8
46
|
On 2026-09-18, the maintainer authorized the public bootstrap
|
|
@@ -57,11 +95,18 @@ A read-only probe used the actual npm CLI and new bounded-read flags to verify
|
|
|
57
95
|
the existing `0.1.0-dev.4` manifest/tag. Only its preflight and accepted write were
|
|
58
96
|
simulated; the probe performed no registry mutation.
|
|
59
97
|
|
|
60
|
-
The
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
98
|
+
The [ordinary develop merge workflow](https://github.com/lambdadb/lambdadb-cli/actions/runs/35344153978)
|
|
99
|
+
published `0.1.0-dev.5` from `c8947e96308283ac593e712716f0732121bb1958`
|
|
100
|
+
on attempt 1. Node 22/24 validation and exact-artifact tests passed. Publication
|
|
101
|
+
succeeded at 12:22:09 UTC; registry verification completed at 12:25:10 UTC with
|
|
102
|
+
`result=published`. The approximately 181-second propagation delay required only
|
|
103
|
+
read retries, with no manual rerun or repeated publication.
|
|
104
|
+
|
|
105
|
+
A fresh npm `@dev` install with an isolated cache passed all 35 CLI contract tests,
|
|
106
|
+
version/help, tarball/lockfile integrity checks and npm signature verification.
|
|
107
|
+
Provenance identified the expected repository, develop ref, workflow, source
|
|
108
|
+
commit and attempt 1. `dev=0.1.0-dev.5`; `latest` remained `0.1.0-dev.1`.
|
|
109
|
+
These registry checks are separate from the development-service smoke below.
|
|
65
110
|
|
|
66
111
|
## Initial local automation validation (before publication)
|
|
67
112
|
|
|
@@ -255,7 +300,7 @@ deployment state of an individual LambdaDB endpoint.
|
|
|
255
300
|
SIGINT/SIGTERM were checked on macOS; CI targets Linux.
|
|
256
301
|
- No main promotion, explicit rc/stable publication or GitHub Release workflow
|
|
257
302
|
execution. Public bootstrap and automatic dev/OIDC publication are verified
|
|
258
|
-
above
|
|
303
|
+
above, including the five-minute verification behavior on an ordinary develop merge.
|
|
259
304
|
- Mock large-response tests cover SDK routing/credential separation at 1 MiB;
|
|
260
305
|
the live sample verifies combined content above 6 MiB. Neither is an exhaustive
|
|
261
306
|
memory/size stress test. Imports buffer a maximum 64 MiB source file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@functional-systems/lambdadb-cli",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Project-scoped LambdaDB command-line tools",
|
|
6
6
|
"type": "module",
|
|
@@ -52,6 +52,5 @@
|
|
|
52
52
|
"bugs": {
|
|
53
53
|
"url": "https://github.com/lambdadb/lambdadb-cli/issues"
|
|
54
54
|
},
|
|
55
|
-
"license": "Apache-2.0"
|
|
56
|
-
"gitHead": "c8947e96308283ac593e712716f0732121bb1958"
|
|
55
|
+
"license": "Apache-2.0"
|
|
57
56
|
}
|