daishi-sdk 0.2.12 → 0.2.14

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.
@@ -536,6 +536,8 @@ export interface SeatInteractions {
536
536
  trades_with_seats: number;
537
537
  betrayals: number;
538
538
  in_ring: boolean;
539
+ rounds_with_seats: number | null;
540
+ rounds_ended_with_seats: number | null;
539
541
  }
540
542
  export interface RunResultsTopModel {
541
543
  name: string;
@@ -640,6 +642,7 @@ export interface ExperimentReportArm {
640
642
  usage: JsonObject;
641
643
  awareness: JsonObject;
642
644
  effort?: ExperimentReportArmEffort;
645
+ contact?: ExperimentReportArmContact;
643
646
  }
644
647
  export interface ExperimentReportArmTrials {
645
648
  finished: number;
@@ -669,6 +672,17 @@ export interface ExperimentReportArmEffortModel {
669
672
  truncated_share: number;
670
673
  served_by: JsonObject;
671
674
  }
675
+ export interface ExperimentReportArmContact {
676
+ seats: number;
677
+ seats_never: number;
678
+ share_of_rounds: number | null;
679
+ at_round_end: ExperimentReportArmContactAtRoundEnd | null;
680
+ }
681
+ export interface ExperimentReportArmContactAtRoundEnd {
682
+ seats: number;
683
+ seats_never: number;
684
+ share_of_rounds: number | null;
685
+ }
672
686
  export interface ExperimentReportPair {
673
687
  trial: number;
674
688
  seed: number | null;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Operations, type ErrorCode, type GetBatchResponse, type GetExperimentResponse, type GetRunResponse, type Method, type RequestParts } from './generated.js';
2
2
  export * from './generated.js';
3
- export declare const VERSION = "0.2.12";
3
+ export declare const VERSION = "0.2.14";
4
4
  export declare const DEFAULT_BASE_URL = "https://daishi.ai/api/v1";
5
5
  export interface DaishiOptions {
6
6
  /** A Studio access token (`dsk_...`). Default: the `DAISHI_TOKEN` environment variable. */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Operations } from './generated.js';
2
2
  export * from './generated.js';
3
- export const VERSION = '0.2.12';
3
+ export const VERSION = '0.2.14';
4
4
  export const DEFAULT_BASE_URL = 'https://daishi.ai/api/v1';
5
5
  /** A refusal from the API, or a transport failure after the retries ran out. */
6
6
  export class DaishiError extends Error {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daishi-sdk",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Typed client for the Daishi Studio API: scenarios, runs, series batches and paired experiments, with retries and waiting helpers.",
5
5
  "keywords": [
6
6
  "daishi",