@get-bb/plugin-sdk 0.5.31 → 0.6.9

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.
@@ -31,7 +31,6 @@ var RESERVED_BB_CLI_COMMANDS = [
31
31
  "guide",
32
32
  "help",
33
33
  "machine",
34
- "manager",
35
34
  "marketplace",
36
35
  "plugin",
37
36
  "project",
@@ -3872,7 +3871,7 @@ function createFakePluginHostInternal(options, sharedState) {
3872
3871
  async setSettings(values) {
3873
3872
  await setSettingsValues(values);
3874
3873
  },
3875
- async callRpc(method, input) {
3874
+ async callRpc(method, input, options2 = {}) {
3876
3875
  const record = rpcHandlers.get(method);
3877
3876
  if (!record) {
3878
3877
  return throwRpcError({
@@ -3889,7 +3888,11 @@ function createFakePluginHostInternal(options, sharedState) {
3889
3888
  );
3890
3889
  let result;
3891
3890
  try {
3892
- result = await record.handler(validatedInput);
3891
+ result = await record.handler(validatedInput, {
3892
+ experimental_caller: options2.experimental_caller ?? {
3893
+ kind: "client"
3894
+ }
3895
+ });
3893
3896
  } catch (error) {
3894
3897
  return throwRpcError({
3895
3898
  code: "handler_error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@get-bb/plugin-sdk",
3
- "version": "0.5.31",
3
+ "version": "0.6.9",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"
@@ -74,6 +74,12 @@
74
74
  "import": "./dist/internal/composer-customization-validation.js",
75
75
  "default": "./dist/internal/composer-customization-validation.js"
76
76
  },
77
+ "./internal/composer-handle": {
78
+ "source": "./src/internal/composer-handle.ts",
79
+ "types": "./bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts",
80
+ "import": "./dist/internal/composer-handle.js",
81
+ "default": "./dist/internal/composer-handle.js"
82
+ },
77
83
  "./internal/composer-view": {
78
84
  "source": "./src/internal/composer-view.ts",
79
85
  "types": "./bundled-types/bb-plugin-sdk-internal-composer-view.d.ts",
@@ -129,7 +135,7 @@
129
135
  },
130
136
  "dependencies": {
131
137
  "cross-spawn": "^7.0.6",
132
- "zod": "^4.3.6"
138
+ "zod": "^4.6.5"
133
139
  },
134
140
  "devDependencies": {
135
141
  "@bb/domain": "workspace:*",