@secondlayer/cli 8.5.0 → 8.5.2

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
@@ -65,6 +65,7 @@ sl subscriptions create my-hook \
65
65
  |---|---|
66
66
  | `sl login` / `sl logout` | Start or revoke a session |
67
67
  | `sl whoami` | Print account, credential source, and active project |
68
+ | `sl keys create --product streams [--name <name>]` | Mint a scoped `streams`/`index` read key; prints the `sk-sl_` key **once**. Needs an account key in `SL_API_KEY` |
68
69
  | `sl projects create [name]` | Create a project |
69
70
  | `sl projects list` | List projects |
70
71
  | `sl projects use <slug>` | Bind cwd to a project (writes `./.secondlayer/project`) |
@@ -75,6 +76,10 @@ Project binding is per-directory: `.secondlayer/project` in cwd takes
75
76
  precedence over `~/.secondlayer/config.json:defaultProject`. The walk-up stops
76
77
  at `.git`.
77
78
 
79
+ **Key products:** an `account` key (dashboard default) grants both `streams:read`
80
+ and `index:read` and is the only key that can mint; `streams`/`index` keys are
81
+ scoped reads and cannot mint (403). Minted keys inherit your plan's tier.
82
+
78
83
  ### Subgraphs
79
84
 
80
85
  | Command | What it does |
package/dist/cli.js CHANGED
@@ -32354,7 +32354,7 @@ var {
32354
32354
  // package.json
32355
32355
  var package_default = {
32356
32356
  name: "@secondlayer/cli",
32357
- version: "8.5.0",
32357
+ version: "8.5.2",
32358
32358
  repository: {
32359
32359
  type: "git",
32360
32360
  url: "git+https://github.com/ryanwaits/secondlayer.git",
@@ -32403,10 +32403,10 @@ var package_default = {
32403
32403
  dependencies: {
32404
32404
  "@inquirer/prompts": "^8.2.0",
32405
32405
  "@secondlayer/bundler": "^0.3.7",
32406
- "@secondlayer/sdk": "^6.9.0",
32407
- "@secondlayer/shared": "^6.18.0",
32406
+ "@secondlayer/sdk": "^6.10.0",
32407
+ "@secondlayer/shared": "^6.23.0",
32408
32408
  "@secondlayer/stacks": "^2.3.0",
32409
- "@secondlayer/subgraphs": "^3.5.0",
32409
+ "@secondlayer/subgraphs": "^3.7.3",
32410
32410
  "@biomejs/js-api": "^0.7.0",
32411
32411
  "@biomejs/wasm-nodejs": "^1.9.0",
32412
32412
  esbuild: "^0.19.0",
@@ -38397,5 +38397,5 @@ registerAccountCommand(program);
38397
38397
  registerKeysCommand(program);
38398
38398
  program.parse();
38399
38399
 
38400
- //# debugId=09F28BAC8C0CF0E864756E2164756E21
38400
+ //# debugId=4DE21216DA94981F64756E2164756E21
38401
38401
  //# sourceMappingURL=cli.js.map