runbios-sdk 0.2.1-dev.136 → 0.2.1-dev.137

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/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
36
36
  * SDK version. Sent as part of the User-Agent header.
37
37
  * Must match package.json "version" -- enforced by a contract test.
38
38
  */
39
- export declare const VERSION = "0.2.1-dev.136";
39
+ export declare const VERSION = "0.2.1-dev.137";
40
40
  export declare class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  readonly models: Models;
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ import { Loop } from './resources/loop.js';
36
36
  * SDK version. Sent as part of the User-Agent header.
37
37
  * Must match package.json "version" -- enforced by a contract test.
38
38
  */
39
- export const VERSION = '0.2.1-dev.136';
39
+ export const VERSION = '0.2.1-dev.137';
40
40
  export class RunBiOS {
41
41
  /** Search models, fetch configs, check adapter compatibility. */
42
42
  models;
package/dist/types.d.ts CHANGED
@@ -2243,10 +2243,27 @@ export interface LoopImportResult {
2243
2243
  */
2244
2244
  reviewed: number;
2245
2245
  needs_review: number;
2246
+ /**
2247
+ * How many rows could not be READ as a conversation. The file's shape is
2248
+ * wrong, and changing the file is what fixes it.
2249
+ */
2246
2250
  refused: number;
2251
+ /**
2252
+ * How many rows were understood and then could not be stored. Counted apart
2253
+ * from `refused`, because the two are different claims and rewriting a file
2254
+ * that was already correct fixes nothing. A call with any of these fails
2255
+ * rather than succeeding, and the failure carries these same fields.
2256
+ */
2257
+ not_saved?: number;
2247
2258
  /** How many rows of each recognised shape, so a mis-shaped file is visible. */
2248
2259
  by_shape: Record<string, number>;
2249
2260
  refused_why: Record<string, number>;
2261
+ /**
2262
+ * The conversations this call created, in file order. Without them a caller
2263
+ * whose import half-failed has a number and no way to reach what landed: no
2264
+ * way to label it, review it, or delete it and start again.
2265
+ */
2266
+ trace_ids?: string[];
2250
2267
  notes: string[];
2251
2268
  }
2252
2269
  export interface LoopSignal {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-dev.136",
3
+ "version": "0.2.1-dev.137",
4
4
  "description": "Official TypeScript SDK for the Run BiOS training and deployment platform API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",