@phosphorco/bb-thread-metrics 0.1.0 → 0.2.0

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,11 +1,12 @@
1
1
  import type { BbPluginApi } from '@get-bb/plugin-sdk';
2
- import type { ReadInput, DetailInput } from './index.js';
2
+ import type { RecentSnapshotInput, ReadInput, DetailInput } from './index.js';
3
3
  export interface ConformanceOptions {
4
4
  pluginId: string;
5
5
  /** The adopter's real factory/registration, never a second implementation. */
6
6
  register(bb: BbPluginApi): void | Promise<void>;
7
7
  readCases: readonly ReadInput[];
8
8
  detailCases?: readonly DetailInput[];
9
+ recentCases?: readonly RecentSnapshotInput[];
9
10
  deadlineMs?: number;
10
11
  }
11
12
  export interface ConformanceReport {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phosphorco/bb-thread-metrics",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Bounded thread dollar metrics contracts and pure family and heat operations.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
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"},
19
19
  "scripts": {
20
- "build":"bun tools/build.mjs && tsc --project tsconfig.declarations.json",
20
+ "build":"node tools/build-dependency.mjs && bun tools/build.mjs && tsc --project tsconfig.declarations.json",
21
21
  "typecheck":"tsc --noEmit",
22
22
  "test":"node tools/test.mjs"
23
23
  }