@eigenpal/sdk 1.0.0-rc.4 → 1.0.0-rc.5

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.
@@ -161,6 +161,8 @@ export type CreatedProjectRelease = {
161
161
  kind: 'workflow' | 'agent';
162
162
  /** New or changed against the newest release before it (true in the first release). */
163
163
  changed: boolean;
164
+ /** In the release before it but not in this one: the release takes it out (also changed). */
165
+ removed?: boolean;
164
166
  }> | null;
165
167
  release?: ProjectRelease;
166
168
  /** False when the commit was numbered already: that release is answered and no second number is made (a dry run says so up front). A bump word, or the same number again, on a commit that has a release always answers it. */
@@ -679,7 +681,7 @@ export type Experiment = {
679
681
  failedCount: number;
680
682
  /** Runs that failed without their example expecting it: they have no output to grade, so no evaluator ran. */
681
683
  erroredCount?: number;
682
- /** Average automated evaluator score. */
684
+ /** Average automated evaluator score over the examples, an errored example counting as 0 (agent experiments: over the scored runs). */
683
685
  avgScore: number | null;
684
686
  createdAt: string;
685
687
  completedAt: string | null;
@@ -728,7 +730,7 @@ export type ExperimentDetail = {
728
730
  failedCount: number;
729
731
  /** Runs that failed without their example expecting it: they have no output to grade, so no evaluator ran. */
730
732
  erroredCount?: number;
731
- /** Average automated evaluator score. */
733
+ /** Average automated evaluator score over the examples, an errored example counting as 0 (agent experiments: over the scored runs). */
732
734
  avgScore: number | null;
733
735
  createdAt: string;
734
736
  completedAt: string | null;
@@ -751,6 +753,8 @@ export type ExperimentDetail = {
751
753
  evalPassed: boolean | null;
752
754
  /** Why the run failed, for an errored run; null otherwise. */
753
755
  error?: string | null;
756
+ /** True when the evaluation completed a review step of this run without a person: evaluations never wait for a review, they answer it with the edits in the example's meta.json, or unchanged. */
757
+ simulatedReview?: boolean;
754
758
  createdAt: string;
755
759
  completedAt: string | null;
756
760
  }>;
@@ -1007,7 +1011,7 @@ export type ProjectRelease = {
1007
1011
  notes: string | null;
1008
1012
  createdAt: string;
1009
1013
  createdBy: string | null;
1010
- /** The name (or email) of whoever made the release; listing only, null for releases from Git or a promotion. */
1014
+ /** The name (or email) of whoever made the release; null for releases from Git or a promotion. */
1011
1015
  createdByName?: string | null;
1012
1016
  /** Set while withdrawn: version ranges skip the release, its exact number still resolves. */
1013
1017
  withdrawn: {
@@ -1043,7 +1047,7 @@ export type ProjectReleaseDetail = {
1043
1047
  notes: string | null;
1044
1048
  createdAt: string;
1045
1049
  createdBy: string | null;
1046
- /** The name (or email) of whoever made the release; listing only, null for releases from Git or a promotion. */
1050
+ /** The name (or email) of whoever made the release; null for releases from Git or a promotion. */
1047
1051
  createdByName?: string | null;
1048
1052
  /** Set while withdrawn: version ranges skip the release, its exact number still resolves. */
1049
1053
  withdrawn: {
@@ -1052,12 +1056,14 @@ export type ProjectReleaseDetail = {
1052
1056
  } | null;
1053
1057
  /** Its build is what is live here now. */
1054
1058
  live: boolean;
1055
- /** Every workflow and agent of the release's build. */
1059
+ /** Every workflow and agent of the release's build, then those it removed (removed). */
1056
1060
  automations: Array<{
1057
1061
  name: string;
1058
1062
  kind: 'workflow' | 'agent';
1059
1063
  /** New or changed since the release numbered before it; true in the first release. */
1060
1064
  changed: boolean;
1065
+ /** In the release before it but not in this one: the release takes it out (also changed). */
1066
+ removed?: boolean;
1061
1067
  }>;
1062
1068
  };
1063
1069
  export type ProjectReleaseList = {
@@ -1594,6 +1600,8 @@ export type ReviewTaskDetail = {
1594
1600
  }>;
1595
1601
  instructions: string | null;
1596
1602
  completedBy: string | null;
1603
+ /** Name (or email) of the person who approved or rejected the task. */
1604
+ completedByName?: string | null;
1597
1605
  completedAt: string | null;
1598
1606
  outcomeReason: string | null;
1599
1607
  /** Optional lineage@1 document resolved from the extract sidecar. Omitted when missing or unreadable. Validate with @openparser/lineage. */
@@ -16,5 +16,5 @@
16
16
  * for log lines and proxies that don't surface custom headers.
17
17
  */
18
18
  export declare const SDK_LANGUAGE = "typescript";
19
- export declare const SDK_VERSION = "1.0.0-rc.4";
19
+ export declare const SDK_VERSION = "1.0.0-rc.5";
20
20
  export declare function buildTelemetryHeaders(): Record<string, string>;
package/dist/telemetry.js CHANGED
@@ -18,7 +18,7 @@
18
18
  export const SDK_LANGUAGE = 'typescript';
19
19
  // Rewritten at publish time by scripts/release/platform/render-sdk-versions.sh.
20
20
  // Keep this string literal exactly stable — sed matches on it.
21
- export const SDK_VERSION = '1.0.0-rc.4';
21
+ export const SDK_VERSION = '1.0.0-rc.5';
22
22
  function detectRuntime() {
23
23
  const g = globalThis;
24
24
  if (g.Bun?.version)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/sdk",
3
- "version": "1.0.0-rc.4",
3
+ "version": "1.0.0-rc.5",
4
4
  "description": "Official TypeScript SDK for the EigenPal API",
5
5
  "type": "module",
6
6
  "engines": {