@bluestep-systems/b6p-cli 1.5.0 → 1.6.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/README.md +3 -3
- package/dist/cli.js +214 -213
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.6.0] — 2026-12-04
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Internal knowledge-base access** (b6p-core 1.7.0). `b6p kb create` and `b6p kb set` take `--access fleet-supers`
|
|
15
|
+
(BlueStep staff, the fleet supers, only) and `--access supers` (BlueStep staff and reseller supers), besides
|
|
16
|
+
`public` and `private`; the value is matched exactly, in lower case. They need no extra confirmation. The gateway
|
|
17
|
+
accepts them only at create and refuses a change to one on an existing knowledge base; b6p shows that refusal as it
|
|
18
|
+
is. `kb create` and `kb set` print the new kinds by name, and an access this version does not know prints as
|
|
19
|
+
`unknown`. Do not set these kinds until the gateway in that environment enforces them.
|
|
20
|
+
- A refused access leads with the server's own message and adds a conditional hint to update the gateway. A 503 from
|
|
21
|
+
web-global on an access change says it is not known whether the change was made, and how to check.
|
|
22
|
+
|
|
10
23
|
## [1.5.0] — 2026-12-04
|
|
11
24
|
|
|
12
25
|
### Added
|
package/README.md
CHANGED
|
@@ -163,8 +163,8 @@ A new token can never outlive the token that creates it: an explicit `--expires`
|
|
|
163
163
|
| `b6p kb list [--scope global\|tenant] [--tenant U…]` | List the knowledge bases you may read, whether you may push, and each one's STATUS (`ok`, `branch-mismatch`, `repo-only`, `row-only`, `unconfirmed`, `undescribed`; a note under the table explains each one present) |
|
|
164
164
|
| `b6p kb pull <ref> [dir]` | Clone a knowledge base into a folder (default `./<name>`, or `./<tenant>-<name>` for a tenant's), or fast-forward an existing clone |
|
|
165
165
|
| `b6p kb push [dir]` | Push a clone (default: the current folder, or the clone that contains it) to the knowledge base's live branch |
|
|
166
|
-
| `b6p kb create <name> [--title <t>] [--live-branch <b>] [--access public\|private] [--confirm-public]` | Register a global knowledge base (and its repository). Defaults: title = name, branch `main`, private |
|
|
167
|
-
| `b6p kb set <name> [--title <t>] [--live-branch <b>] [--access public\|private] [--confirm-public]` | Change a global knowledge base's title, live branch or access, in one request; at least one option is required |
|
|
166
|
+
| `b6p kb create <name> [--title <t>] [--live-branch <b>] [--access public\|private\|fleet-supers\|supers] [--confirm-public]` | Register a global knowledge base (and its repository). Defaults: title = name, branch `main`, private. `fleet-supers` is for BlueStep staff (fleet supers) only; `supers` is for BlueStep staff and reseller supers |
|
|
167
|
+
| `b6p kb set <name> [--title <t>] [--live-branch <b>] [--access public\|private\|fleet-supers\|supers] [--confirm-public]` | Change a global knowledge base's title, live branch or access, in one request; at least one option is required |
|
|
168
168
|
|
|
169
169
|
`<ref>` is `<name>` for a global knowledge base or `U<number>/<name>` for a tenant's; names and the tenant match in any letter case, and the local folder uses the canonical name. Pulls never
|
|
170
170
|
overwrite local changes (the dirty paths are listed) and pushes are fast-forward only: if the knowledge
|
|
@@ -175,7 +175,7 @@ the knowledge base). `--access public` lets anyone on the internet read the know
|
|
|
175
175
|
first, naming the knowledge base (Cancel is the default). `--confirm-public` goes ahead without asking, and says so; the global `--yes`
|
|
176
176
|
alone never makes a knowledge base public (it refuses). A knowledge base that
|
|
177
177
|
is already public is left alone. `--json` prints `{ knowledgeBase, changed }` (`kb set`) or `{ knowledgeBase }`
|
|
178
|
-
(`kb create`). Only global knowledge bases can be created or changed; a tenant's cannot.
|
|
178
|
+
(`kb create`). `--access` is matched exactly, in lower case. `fleet-supers` and `supers` narrow access, so they need no confirmation, but the gateway accepts them only when the knowledge base is created and refuses a change to one on an existing knowledge base; b6p shows the gateway's refusal as it is. Do not set them until the gateway in that environment enforces them: an older gateway refuses them (b6p shows its message, then a hint to update the gateway) or may not enforce them. Only global knowledge bases can be created or changed; a tenant's cannot.
|
|
179
179
|
|
|
180
180
|
### `b6p marketplace` — marketplace repositories
|
|
181
181
|
|