@buoy-gg/core 7.0.53 → 7.0.55

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SDK_VERSION=void 0;const SDK_VERSION=exports.SDK_VERSION="7.0.53";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SDK_VERSION=void 0;const SDK_VERSION=exports.SDK_VERSION="7.0.55";
@@ -1 +1 @@
1
- "use strict";export const SDK_VERSION="7.0.53";
1
+ "use strict";export const SDK_VERSION="7.0.55";
@@ -52,8 +52,16 @@ export interface FloatingAskBuoyConfig {
52
52
  model: string;
53
53
  /** Which request/response shape the endpoint speaks. @default "anthropic" */
54
54
  protocol?: "anthropic" | "openai";
55
- /** Resolved fresh per request — the app's own short-lived session token. */
56
- headers?: () => Record<string, string> | Promise<Record<string, string>>;
55
+ /**
56
+ * Resolved fresh per request — the app's own short-lived session token.
57
+ * `meta` says which ask, round and try this request is (hosted Ask Buoy
58
+ * sends them on); a callback that ignores it is fine.
59
+ */
60
+ headers?: (meta?: {
61
+ askId: string;
62
+ round: number;
63
+ attempt: number;
64
+ }) => Record<string, string> | Promise<Record<string, string>>;
57
65
  /** DEV ONLY — compiled into the bundle in plaintext. Use `headers` + a gateway. */
58
66
  apiKey?: string;
59
67
  [key: string]: unknown;
@@ -9,5 +9,5 @@
9
9
  * Drift is prevented by a test that fails when this disagrees with
10
10
  * package.json, so a version bump that forgets this file cannot ship.
11
11
  */
12
- export declare const SDK_VERSION = "7.0.53";
12
+ export declare const SDK_VERSION = "7.0.55";
13
13
  //# sourceMappingURL=version.d.ts.map
@@ -52,8 +52,16 @@ export interface FloatingAskBuoyConfig {
52
52
  model: string;
53
53
  /** Which request/response shape the endpoint speaks. @default "anthropic" */
54
54
  protocol?: "anthropic" | "openai";
55
- /** Resolved fresh per request — the app's own short-lived session token. */
56
- headers?: () => Record<string, string> | Promise<Record<string, string>>;
55
+ /**
56
+ * Resolved fresh per request — the app's own short-lived session token.
57
+ * `meta` says which ask, round and try this request is (hosted Ask Buoy
58
+ * sends them on); a callback that ignores it is fine.
59
+ */
60
+ headers?: (meta?: {
61
+ askId: string;
62
+ round: number;
63
+ attempt: number;
64
+ }) => Record<string, string> | Promise<Record<string, string>>;
57
65
  /** DEV ONLY — compiled into the bundle in plaintext. Use `headers` + a gateway. */
58
66
  apiKey?: string;
59
67
  [key: string]: unknown;
@@ -9,5 +9,5 @@
9
9
  * Drift is prevented by a test that fails when this disagrees with
10
10
  * package.json, so a version bump that forgets this file cannot ship.
11
11
  */
12
- export declare const SDK_VERSION = "7.0.53";
12
+ export declare const SDK_VERSION = "7.0.55";
13
13
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/core",
3
- "version": "7.0.53",
3
+ "version": "7.0.55",
4
4
  "description": "Floating developer menu and account setup for React Native. Add tool packages and configure Desktop or MCP connections separately.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -61,10 +61,10 @@
61
61
  ],
62
62
  "dependencies": {
63
63
  "react-devtools-core": "6.1.5",
64
- "@buoy-gg/floating-tools-core": "^7.0.53",
65
- "@buoy-gg/floating-tools-react": "^7.0.53",
66
- "@buoy-gg/shared-ui": "^7.0.53",
67
- "@buoy-gg/license": "^7.0.53"
64
+ "@buoy-gg/floating-tools-core": "^7.0.55",
65
+ "@buoy-gg/license": "^7.0.55",
66
+ "@buoy-gg/floating-tools-react": "^7.0.55",
67
+ "@buoy-gg/shared-ui": "^7.0.55"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "*"