superbee 0.4.6-pre.1 → 0.4.6-pre.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 +7 -2
- package/SKILL.md +13 -5
- package/dist/THIRD-PARTY-NOTICES.txt +2 -2
- package/dist/publication/types.d.ts +8 -0
- package/dist/publication-bridge.mjs +252 -89
- package/dist/publication.mjs +269 -91
- package/dist/superbee.mjs +55729 -50576
- package/package.json +2 -2
- package/references/hosted-checkout.md +1 -1
- package/references/modeling-and-delivery.md +1 -1
- package/references/recipes/review-workflow/references/view-authoring-v0.md +1 -2
- package/references/views/references/view-authoring-v0.md +1 -2
package/README.md
CHANGED
|
@@ -176,8 +176,13 @@ unsent edits and make a fresh checkout, as the error's help describes.
|
|
|
176
176
|
|
|
177
177
|
If you installed the earlier `@holaxis/aslite` package or its marketplace plugin: install
|
|
178
178
|
`superbee` alongside it, have your agent run `superbee setup` to migrate the integrations, then
|
|
179
|
-
run `npm uninstall -g @holaxis/aslite`. Existing `.agentstate-lite/` bundles
|
|
180
|
-
`.agentstate.json`
|
|
179
|
+
run `npm uninstall -g @holaxis/aslite`. Existing `.agentstate-lite/` bundles keep working. Rename
|
|
180
|
+
a `.agentstate.json` binding to `.superbee.json` (same contents), and rename the old environment
|
|
181
|
+
variables (`AGENTSTATE_LITE_ACTOR`, `ASLITE_NO_UPDATE_CHECK`, `AGENTSTATE_LITE_NO_AUTOPULL`) to
|
|
182
|
+
their `SUPERBEE_*` names. An old name set without its new one is refused with that fix; beside its
|
|
183
|
+
new one it is ignored. Remove `AGENTSTATE_LITE_API_KEY` (refused while set) and
|
|
184
|
+
`AGENTSTATE_LITE_REMOTE` (refused when a command has no `--dir`): nothing reads them. Hosted bundles
|
|
185
|
+
use `superbee login`.
|
|
181
186
|
|
|
182
187
|
## Learn more
|
|
183
188
|
|
package/SKILL.md
CHANGED
|
@@ -51,8 +51,10 @@ becoming a second source of truth. Add only the layer justified by current evide
|
|
|
51
51
|
- Superbee does not create the remote repository. If absence is confirmed, create it externally if authorized, or ask an authorized owner/teammate.
|
|
52
52
|
- On an existing repository without `board`, establishment needs consent, repository-specific Write access,
|
|
53
53
|
and branch-create policy clearance; creation authority is irrelevant. If `origin/board` exists, join with `superbee sync`; never establish another board.
|
|
54
|
-
-
|
|
55
|
-
|
|
54
|
+
- Before creating a first notes folder (.superbee), use the project folder the user selected or ask
|
|
55
|
+
them to choose an existing folder, a new folder, or to defer. Empty and non-code folders are valid;
|
|
56
|
+
the launch directory alone is not a project choice. Keep new notes local unless sharing is requested.
|
|
57
|
+
Check the selected project for an existing bundle or shared board before creating anything.
|
|
56
58
|
`superbee sync` joins an existing shared board; `superbee init --create-only --dir .superbee` is
|
|
57
59
|
only for a confirmed greenfield local bundle.
|
|
58
60
|
- Ask before creating durable structure or publishing a local bundle. `sync --establish` is an
|
|
@@ -71,7 +73,7 @@ When the user accepts a domain-modeling offer, read `$REFS/modeling-and-delivery
|
|
|
71
73
|
existing documents, Kinds, recipes, and links before choosing a shape. Create the smallest coherent
|
|
72
74
|
representation, normally with one representative example, verify it, remove temporary authoring
|
|
73
75
|
files, and stop. Use `superbee <command> --help` for exact current syntax rather than relying on a
|
|
74
|
-
copied command manual. Use `--body-file` for multiline Markdown. `list` / `query` filter metadata, not body text; `doc update` / `doc field` patch metadata while preserving omitted fields and body. For body edits, read the complete body with `doc read <id> --body-out <temp-file>` outside the bundle, edit that temporary file, then `doc update <id> --body-file <temp-file> --expected-version <head_version> --actor <actor>` using the version from the read. Re-read and reconcile on a version conflict. Never feed a truncated preview or a full-document `--out` export to `--body-file`: body input is Markdown only; tooling owns YAML frontmatter. With MCP, use available tools and version preconditions; check tool schemas rather than inventing search or patch verbs.
|
|
76
|
+
copied command manual. Use `--body-file` for multiline Markdown. `list` / `query` filter metadata, not body text; `doc update` / `doc field` patch metadata while preserving omitted fields and body. `doc read <id>` returns the whole body up to 20 KiB; a larger body arrives as `body_preview` under a leading `warning: body truncated` line, so read the rest (its help names `--body-out` and the next `--offset` page) before judging the document. For body edits, read the complete body with `doc read <id> --body-out <temp-file>` outside the bundle, edit that temporary file, then `doc update <id> --body-file <temp-file> --expected-version <head_version> --actor <actor>` using the version from the read. Re-read and reconcile on a version conflict. Never feed a truncated preview or a full-document `--out` export to `--body-file`: body input is Markdown only; tooling owns YAML frontmatter. With MCP, use available tools and version preconditions; check tool schemas rather than inventing search or patch verbs.
|
|
75
77
|
|
|
76
78
|
Focused shipped material is available under `$REFS/recipes/` for portable examples,
|
|
77
79
|
`$REFS/views/` for View authoring and examples, and `$REFS/sample-bundle/` for OKF interop. Integration authoring and explicit local source bind/run use `$REFS/author-an-integration.md`; recorded `$REFS/integrations/` examples need no credentials. `RUNTIME` with `details.frontmatter.code` means a document cannot be read: see "When a document cannot be read" in `$REFS/modeling-and-delivery.md`, which also covers `superbee doc import`.
|
|
@@ -93,16 +95,22 @@ When the tone fits, a single 🐝 may mark a successful Superbee outcome.
|
|
|
93
95
|
|
|
94
96
|
## Sync conflicts
|
|
95
97
|
|
|
96
|
-
- A Git board and a hosted checkout share one playbook. When `superbee sync` exits 5 with conflict rows, run `superbee sync --inspect --doc <id>` to see your version and theirs, then `superbee sync --resolve keep|take|revise --doc <id>`: keep writes yours over theirs, take keeps theirs, revise keeps the document as you edited it to the merged result. `--resolve` never sends: run `superbee sync` after keep or revise. A Git board has already kept the teammate's version and saved yours aside, and only the new conflict exits 5: `status` and later `sync` runs keep naming the saved copy, with the command that discards it, until it is settled; keep is refused when your copy also differs in frontmatter, so edit the document to the result and use revise. A hosted checkout keeps your file, treats any concurrent change to one document (even different frontmatter keys) as a conflict, and is explained in `$REFS/hosted-checkout.md`.
|
|
98
|
+
- A Git board and a hosted checkout share one playbook. When `superbee sync` exits 5 with conflict rows, run `superbee sync --inspect --doc <id>` to see your version and theirs, then `superbee sync --resolve keep|take|revise --doc <id>`: keep writes yours over theirs, take keeps theirs, revise keeps the document as you edited it to the merged result. `--resolve` never sends: run `superbee sync` after keep or revise. A Git board has already kept the teammate's version and saved yours aside, and only the new conflict exits 5: `status` and later `sync` runs keep naming the saved copy, with the command that discards it, until it is settled; keep is refused when your copy also differs in frontmatter, so edit the document to the result and use revise. A file that is not a document, such as a JSON snapshot, takes the same verbs by its full path (`--doc feeds/a.json`) and keep writes your saved bytes whole, over whatever the file holds now, including a newer teammate version a later sync brought in, so run `--inspect` first. A hosted checkout keeps your file, treats any concurrent change to one document (even different frontmatter keys) as a conflict, and is explained in `$REFS/hosted-checkout.md`.
|
|
97
99
|
|
|
98
100
|
## Host setup
|
|
99
101
|
|
|
100
102
|
Persistent integrations require `npm install -g superbee` followed by `superbee setup`. Fresh cloud containers need the CLI provisioned before agent tool use and container-valid hook paths; copied laptop hooks do not provision them. Startup pulls are best-effort; inspect sync receipts to verify publication.
|
|
101
103
|
Setup is an agent-driven read-only conductor: the calling agent selects its exact host, executes
|
|
102
|
-
the returned argv action, reports what it is doing, requests approval only when the action says
|
|
104
|
+
the returned argv action from its literal action.cwd, reports what it is doing, requests approval only when the action says
|
|
103
105
|
`approval.required: true`, restarts after Skill, Hook, or MCP changes, and reruns setup to verify.
|
|
104
106
|
Do not ask the user to copy or run a setup command unless execution is unavailable. A catalog entry
|
|
105
107
|
preserves a workspace for explicit selection; it never makes that workspace the current project.
|
|
108
|
+
Before setup creates a first notes folder, pick one with the user: --project <dir> (absolute or .),
|
|
109
|
+
or --no-project to finish user setup and pick later. Project scope needs a project folder.
|
|
110
|
+
Setup ready/complete describe configured readiness, not a host restart or live MCP activation.
|
|
111
|
+
Remember restart_required action receipts even after a later setup inspection is ready; report
|
|
112
|
+
integration as active only after an actual restart/reload and live MCP evidence. If restart is
|
|
113
|
+
pending, name the host and exact setup command to resume. Defer deeper modeling until real work needs it.
|
|
106
114
|
If home or SessionStart reports `skill_update`, run its exact scope-specific command, restart the
|
|
107
115
|
host, and continue; Superbee never rewrites an installed Skill automatically.
|
|
108
116
|
|
|
@@ -447,7 +447,7 @@ CC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for
|
|
|
447
447
|
the full license text.
|
|
448
448
|
|
|
449
449
|
================================================================================
|
|
450
|
-
@modelcontextprotocol/ext-apps@2.0.
|
|
450
|
+
@modelcontextprotocol/ext-apps@2.0.4
|
|
451
451
|
License: MIT
|
|
452
452
|
--------------------------------------------------------------------------------
|
|
453
453
|
The MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 ("Apache-2.0"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.
|
|
@@ -2321,7 +2321,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
2321
2321
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2322
2322
|
|
|
2323
2323
|
================================================================================
|
|
2324
|
-
zod@4.
|
|
2324
|
+
zod@4.6.7
|
|
2325
2325
|
License: MIT
|
|
2326
2326
|
--------------------------------------------------------------------------------
|
|
2327
2327
|
MIT License
|
|
@@ -11,6 +11,14 @@ export type PublicationObjectRefV1 = DeepReadonly<ObjectRef>;
|
|
|
11
11
|
export type PublicationSnapshotV1 = DeepReadonly<GeneratedPublicationSnapshotV1>;
|
|
12
12
|
export interface CapturePublicationSnapshotOptionsV1 {
|
|
13
13
|
schema: typeof PUBLICATION_SNAPSHOT_V1;
|
|
14
|
+
/**
|
|
15
|
+
* `root` must be an absolute, canonical directory path: exactly what `await fs.realpath(root)`
|
|
16
|
+
* returns. Capture never follows or normalizes it, because root identity is re-checked during
|
|
17
|
+
* capture to catch substitution. A symlinked root, or one reached through a symlinked parent
|
|
18
|
+
* (macOS `/var` -> `/private/var`, so `os.tmpdir()` paths) or spelled in another case, is refused
|
|
19
|
+
* with `INVALID_OBJECT_IDENTITY`; that error's `actual` is the path given and `expected` is the
|
|
20
|
+
* resolved path to pass instead.
|
|
21
|
+
*/
|
|
14
22
|
source: {
|
|
15
23
|
kind: "filesystem";
|
|
16
24
|
root: string;
|