superbee 0.1.6 → 0.2.1-pre.1

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
@@ -49,16 +49,17 @@ Ubuntu, or Docker. On Windows, Superbee keeps per-user operational state under
49
49
  Superbee currently has two npm release channels:
50
50
 
51
51
  - `latest` is the stable channel selected by bare `superbee`, including native Windows support.
52
- - `next` is the prerelease channel for release candidates.
52
+ - `next` is the prerelease channel for testing the current release candidate.
53
53
 
54
- Install Superbee on Windows:
54
+ Install the current prerelease on Windows:
55
55
 
56
56
  ```powershell
57
- npm install -g superbee
57
+ npm install -g superbee@next
58
58
  superbee.cmd setup
59
59
  ```
60
60
 
61
- On macOS or Linux, install it with `npm install -g superbee` and then run `superbee setup`.
61
+ On macOS or Linux, the stable channel remains available with `npm install -g superbee`. To test the
62
+ same prerelease as Windows, install `superbee@next` instead.
62
63
 
63
64
  After installation, ask your AI agent to run `superbee setup` (`superbee.cmd setup` when invoking
64
65
  the Windows shim explicitly). Setup walks the agent through Agent Skill, SessionStart hook, and MCP
@@ -88,9 +89,16 @@ instructions into CLI commands. For example:
88
89
 
89
90
  Behind those requests, the agent drives a small, predictable CLI: `init` creates a bundle in a
90
91
  conventional `.superbee/` folder (discovered automatically, the way git finds `.git`); `new`,
91
- `doc write`, `doc update`, and `link add` create and connect typed documents; `list` and
92
+ `doc write`, `doc update`, `doc field`, and `link add` create and connect typed documents; `list` and
92
93
  `doc read` query them; `sync` shares the board with teammates.
93
94
 
95
+ Use `superbee doc field <action> <document-id> <field-name>` to change one field.
96
+ `set` assigns a supported non-collection field; `add` and `remove` change tags or sources;
97
+ `edit` changes a selected source; `replace-all` replaces the complete tags or sources list.
98
+ `edit` and `replace-all` require `--expected-version` from a document read. Source selectors
99
+ use an exact `--id` or a unique `--resource` for an ID-less source. Supply structured values
100
+ through a JSON or YAML `--from-file`. Verification remains `doc verify`.
101
+
94
102
  When you want to see the knowledge yourself, ask the agent to open it — or run the two
95
103
  human-facing commands directly:
96
104
 
package/SKILL.md CHANGED
@@ -46,6 +46,11 @@ becoming a second source of truth. Add only the layer justified by current evide
46
46
 
47
47
  - Operate only on the bundle resolved from the current project or one the user explicitly selects.
48
48
  A catalog entry is available for selection; it is not ambient project context.
49
+ - Before remote publication, ask whether the intended remote repository exists, then whether
50
+ `origin/board` exists. If either is unknown, stop remote mutation and diagnose access.
51
+ - Superbee does not create the remote repository. If absence is confirmed, create it externally if authorized, or ask an authorized owner/teammate.
52
+ - On an existing repository without `board`, establishment needs consent, repository-specific Write access,
53
+ and branch-create policy clearance; creation authority is irrelevant. If `origin/board` exists, join with `superbee sync`; never establish another board.
49
54
  - If no bundle resolves, determine whether this repository already shares a board and clarify the
50
55
  intended purpose, privacy, participants, and sharing boundary before creating anything.
51
56
  `superbee sync` joins an existing shared board; `superbee init --create-only --dir .superbee` is
@@ -54,6 +59,7 @@ becoming a second source of truth. Add only the layer justified by current evide
54
59
  explicit publication decision.
55
60
  - Never silently rewrite an established Kind, recipe, or its instances. Inspect dependencies and
56
61
  explain migration consequences first.
62
+ - Writes carry an actor (`--actor`/`SUPERBEE_ACTOR`); OKF v0.2 bundles accept only `human:<id>`, `process:<id>`, or `<producer>/<version>` (e.g. `openai/codex`); a bare name is refused with the fix.
57
63
 
58
64
  ## Deliver after acceptance
59
65