superbee 0.4.3-pre.22 → 0.4.3-pre.23

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.
Files changed (2) hide show
  1. package/dist/superbee.mjs +30 -16
  2. package/package.json +1 -1
package/dist/superbee.mjs CHANGED
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target3) => (target3 = mod != null ? __create(__
44
44
  var define_SUPERBEE_BUILD_IDENTITY_default;
45
45
  var init_define_SUPERBEE_BUILD_IDENTITY = __esm({
46
46
  "<define:__SUPERBEE_BUILD_IDENTITY__>"() {
47
- define_SUPERBEE_BUILD_IDENTITY_default = { schema: "superbee.build-identity.v1", package: { name: "superbee", version: "0.4.3-pre.22" }, source: { commit: "dbc71f69b27926a92085156b7ec82d2289aa1a5b", dirty: false }, artifact: { channel: "npm-package" }, compatibility_contracts: { skill: 1, hook: 1, mcp: 1 } };
47
+ define_SUPERBEE_BUILD_IDENTITY_default = { schema: "superbee.build-identity.v1", package: { name: "superbee", version: "0.4.3-pre.23" }, source: { commit: "cc1faac02f224ef593075f825252800cdc35a59b", dirty: false }, artifact: { channel: "npm-package" }, compatibility_contracts: { skill: 1, hook: 1, mcp: 1 } };
48
48
  }
49
49
  });
50
50
 
@@ -6740,6 +6740,28 @@ var init_bundle_ops = __esm({
6740
6740
  }
6741
6741
  });
6742
6742
 
6743
+ // ../core/src/okf-authoring.ts
6744
+ function resolveOkfAuthoringVersion(requested) {
6745
+ const version5 = requested ?? DEFAULT_OKF_AUTHORING_VERSION;
6746
+ if (!SUPPORTED_OKF_AUTHORING_VERSIONS.includes(version5)) {
6747
+ throw new InvalidInputError(
6748
+ `Unsupported OKF authoring version '${version5}'. This build can author ${SUPPORTED_OKF_AUTHORING_VERSIONS.join(" and ")}; bundles declaring other versions can still be read or transported.`
6749
+ );
6750
+ }
6751
+ return version5;
6752
+ }
6753
+ var SUPPORTED_OKF_AUTHORING_VERSIONS, DEFAULT_OKF_AUTHORING_VERSION;
6754
+ var init_okf_authoring = __esm({
6755
+ "../core/src/okf-authoring.ts"() {
6756
+ "use strict";
6757
+ init_define_SUPERBEE_BUILD_IDENTITY();
6758
+ init_define_SUPERBEE_UPDATE_POLICY();
6759
+ init_errors();
6760
+ SUPPORTED_OKF_AUTHORING_VERSIONS = ["0.1", "0.2"];
6761
+ DEFAULT_OKF_AUTHORING_VERSION = "0.2";
6762
+ }
6763
+ });
6764
+
6743
6765
  // ../core/src/index-marker.ts
6744
6766
  var GENERATED_INDEX_MARKER;
6745
6767
  var init_index_marker = __esm({
@@ -6753,15 +6775,6 @@ var init_index_marker = __esm({
6753
6775
 
6754
6776
  // ../core/src/bundle.ts
6755
6777
  import path4 from "node:path";
6756
- function resolveOkfAuthoringVersion(requested) {
6757
- const version5 = requested ?? DEFAULT_OKF_AUTHORING_VERSION;
6758
- if (!SUPPORTED_OKF_AUTHORING_VERSIONS.includes(version5)) {
6759
- throw new InvalidInputError(
6760
- `Unsupported OKF authoring version '${version5}'. This build can author ${SUPPORTED_OKF_AUTHORING_VERSIONS.join(" and ")}; bundles declaring other versions can still be read or transported.`
6761
- );
6762
- }
6763
- return version5;
6764
- }
6765
6778
  async function initBundle(root, options = {}, filesystemOptions = {}) {
6766
6779
  const okfVersion = resolveOkfAuthoringVersion(options.okfVersion);
6767
6780
  const resolved = path4.resolve(root);
@@ -6783,7 +6796,6 @@ An Open Knowledge Format bundle.
6783
6796
  }
6784
6797
  return { root: resolved, backend };
6785
6798
  }
6786
- var SUPPORTED_OKF_AUTHORING_VERSIONS, DEFAULT_OKF_AUTHORING_VERSION;
6787
6799
  var init_bundle = __esm({
6788
6800
  "../core/src/bundle.ts"() {
6789
6801
  "use strict";
@@ -6791,14 +6803,13 @@ var init_bundle = __esm({
6791
6803
  init_define_SUPERBEE_UPDATE_POLICY();
6792
6804
  init_backend();
6793
6805
  init_bundle_ops();
6794
- init_errors();
6806
+ init_okf_authoring();
6807
+ init_okf_authoring();
6795
6808
  init_frontmatter();
6796
6809
  init_index_marker();
6797
6810
  init_versioning();
6798
6811
  init_bundle_ops();
6799
6812
  setDefaultBackendFactory((root) => new FilesystemBackend(root));
6800
- SUPPORTED_OKF_AUTHORING_VERSIONS = ["0.1", "0.2"];
6801
- DEFAULT_OKF_AUTHORING_VERSION = "0.2";
6802
6813
  }
6803
6814
  });
6804
6815
 
@@ -31244,7 +31255,7 @@ var init_source_profiles = __esm({
31244
31255
  };
31245
31256
  }
31246
31257
  });
31247
- SOURCE_PLUGIN_CORE_VERSION = "0.2.0-pre.33";
31258
+ SOURCE_PLUGIN_CORE_VERSION = "0.2.0-pre.34";
31248
31259
  SOURCE_PROFILES = Object.freeze([restJsonProfile].map((profile) => Object.freeze({ id: profile.id, version: profile.version, kind: profile.kind })));
31249
31260
  }
31250
31261
  });
@@ -96878,7 +96889,10 @@ var init_action_preparation = __esm({
96878
96889
  "use strict";
96879
96890
  init_define_SUPERBEE_BUILD_IDENTITY();
96880
96891
  init_define_SUPERBEE_UPDATE_POLICY();
96881
- init_src();
96892
+ init_links();
96893
+ init_document_field_actions();
96894
+ init_document_mutation();
96895
+ init_kinds();
96882
96896
  init_action_bridge();
96883
96897
  }
96884
96898
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superbee",
3
- "version": "0.4.3-pre.22",
3
+ "version": "0.4.3-pre.23",
4
4
  "type": "module",
5
5
  "description": "Agent-facing Superbee CLI for reading and writing local OKF knowledge bundles: context notes, docs, cross-links, and live bundle Views.",
6
6
  "keywords": [