@hue-run/sdk 0.3.1 → 0.3.2

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.
package/CLI.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Hue setup-session CLI contract
2
2
 
3
- Unreleased TypeScript `0.3.1` includes the merged local setup-session CLI core:
3
+ The local setup-session CLI core shipped in TypeScript `0.3.1` and is available from npm:
4
4
 
5
5
  ```sh
6
6
  hue setup
package/EVALUATIONS.md CHANGED
@@ -120,7 +120,7 @@ All declared metrics must appear exactly once and satisfy pinned types, bounds a
120
120
 
121
121
  ### Hosted and manual scorer pins
122
122
 
123
- In TypeScript `0.3.1` (unreleased), the local runner executes only the three known built-in entries and bound `local_code` scorers. It leaves every other pin pending and reports its ID in `deferredScorerVersionIds`, including kinds and built-in entries introduced by a newer server. It never uploads a placeholder result that would occupy the immutable result slot, including placeholders already saved in an older SDK's checkpoint. Direct `scoreLocally()` calls reject pins that require another executor.
123
+ Scorer deferral shipped in TypeScript `0.3.1`: the local runner executes only the three known built-in entries and bound `local_code` scorers. It leaves every other pin pending and reports its ID in `deferredScorerVersionIds`, including kinds and built-in entries introduced by a newer server. It never uploads a placeholder result that would occupy the immutable result slot, including placeholders already saved in an older SDK's checkpoint. Direct `scoreLocally()` calls reject pins that require another executor.
124
124
 
125
125
  `world_outcome` pins run inside Hue and need no local callback or executable source digest. A supporting server owns their execution from saved world evidence. Legacy `local_code` pins still require the exact registered callback; changing the worker cannot convert those immutable pins into hosted ones.
126
126
 
package/README.md CHANGED
@@ -408,7 +408,7 @@ an uncertain preparation. See the
408
408
  an issued facade endpoint or the official Gmail service, and do not claim universal provider
409
409
  parity.
410
410
 
411
- Unreleased TypeScript `0.3.1` defers all scorers the SDK does not execute locally. Only built-ins
411
+ Scorer deferral shipped in TypeScript `0.3.1`. Only built-ins
412
412
  and bound `local_code` callbacks run here; other pins remain pending for their authorized executor.
413
413
  See [scorer execution](EVALUATIONS.md#hosted-and-manual-scorer-pins).
414
414
 
@@ -50,7 +50,7 @@ async function seal(client, runId, executionId, status) {
50
50
  }
51
51
  catch (error) {
52
52
  const recovered = await client.getRun(runId).catch(() => undefined);
53
- if (recovered?.status !== status)
53
+ if (recovered?.status !== status && recovered?.status !== "expired")
54
54
  throw new TargetOutcomeUncertainError(executionId, { cause: error });
55
55
  }
56
56
  }
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** Package version shared by the instrumentation scope and the export User-Agent. */
2
- export declare const sdkVersion = "0.3.1";
2
+ export declare const sdkVersion = "0.3.2";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/write-version.mjs from package.json; do not edit by hand.
2
2
  /** Package version shared by the instrumentation scope and the export User-Agent. */
3
- export const sdkVersion = "0.3.1";
3
+ export const sdkVersion = "0.3.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hue-run/sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {