daishi-sdk 0.2.12 → 0.2.13
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/generated.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -536,6 +536,7 @@ export interface SeatInteractions {
|
|
|
536
536
|
trades_with_seats: number;
|
|
537
537
|
betrayals: number;
|
|
538
538
|
in_ring: boolean;
|
|
539
|
+
rounds_with_seats: number | null;
|
|
539
540
|
}
|
|
540
541
|
export interface RunResultsTopModel {
|
|
541
542
|
name: string;
|
|
@@ -640,6 +641,7 @@ export interface ExperimentReportArm {
|
|
|
640
641
|
usage: JsonObject;
|
|
641
642
|
awareness: JsonObject;
|
|
642
643
|
effort?: ExperimentReportArmEffort;
|
|
644
|
+
contact?: ExperimentReportArmContact;
|
|
643
645
|
}
|
|
644
646
|
export interface ExperimentReportArmTrials {
|
|
645
647
|
finished: number;
|
|
@@ -669,6 +671,11 @@ export interface ExperimentReportArmEffortModel {
|
|
|
669
671
|
truncated_share: number;
|
|
670
672
|
served_by: JsonObject;
|
|
671
673
|
}
|
|
674
|
+
export interface ExperimentReportArmContact {
|
|
675
|
+
seats: number;
|
|
676
|
+
seats_never: number;
|
|
677
|
+
share_of_rounds: number | null;
|
|
678
|
+
}
|
|
672
679
|
export interface ExperimentReportPair {
|
|
673
680
|
trial: number;
|
|
674
681
|
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.
|
|
3
|
+
export declare const VERSION = "0.2.13";
|
|
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.
|
|
3
|
+
export const VERSION = '0.2.13';
|
|
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