@phosphorco/bb-thread-metrics 0.2.0 → 0.2.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.
@@ -1,5 +1,13 @@
1
1
  import type { BbPluginApi } from '@get-bb/plugin-sdk';
2
2
  import type { RecentSnapshotInput, ReadInput, DetailInput } from './index.js';
3
+ import type { ScoringConfigV3 } from './index.js';
4
+ /** Drives the adopter's actual registration/storage. Uses a caller-supplied
5
+ * valid candidate; never touches a runtime owner or discovers suppliers. */
6
+ export declare function runHeatSettingsConformance(options: {
7
+ pluginId: string;
8
+ register(bb: BbPluginApi): void | Promise<void>;
9
+ candidate: ScoringConfigV3;
10
+ }): Promise<ConformanceReport>;
3
11
  export interface ConformanceOptions {
4
12
  pluginId: string;
5
13
  /** The adopter's real factory/registration, never a second implementation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phosphorco/bb-thread-metrics",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Bounded thread dollar metrics contracts and pure family and heat operations.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "files": ["dist/", "CONTRACT.md", "README.md", "LICENSE"],
14
14
  "publishConfig": {"access":"public"},
15
- "dependencies": {"zod":"^4.3.6","@phosphorco/bb-usage-algebra":"0.1.0"},
15
+ "dependencies": {"zod":"^4.3.6","@phosphorco/bb-usage-algebra":"0.1.1"},
16
16
  "peerDependencies": {"@get-bb/plugin-sdk":">=0.5.29 <0.6 || ^0.6.29"},
17
17
  "peerDependenciesMeta": {"@get-bb/plugin-sdk":{"optional":true}},
18
18
  "devDependencies": {"@get-bb/plugin-sdk":"0.6.52","@types/bun":"1.3.14","bun":"1.3.14","typescript":"^5.9.3"},