@the-open-engine/zeroshot 6.43.0 → 6.45.0

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.
@@ -809,6 +809,9 @@ export type RunLogsResult = {
809
809
  readonly "runId": string;
810
810
  readonly "subscriptionId": string;
811
811
  };
812
+ export type RunMetadata = {
813
+ readonly "tokenUsage"?: TokenUsage | null;
814
+ };
812
815
  export type RunSize = "tiny" | "small" | "standard" | "large";
813
816
  export type RunStatus = {
814
817
  readonly "phase": "admitted";
@@ -819,6 +822,7 @@ export type RunStatus = {
819
822
  readonly "activeExecutions": ReadonlyArray<ActiveExecution>;
820
823
  readonly "phase": "stopping";
821
824
  } | {
825
+ readonly "metadata"?: RunMetadata;
822
826
  readonly "phase": "finished";
823
827
  readonly "terminalResult": TerminalResult;
824
828
  };
@@ -931,6 +935,13 @@ export type TerminationWitness = {
931
935
  readonly "maxIterations": number;
932
936
  readonly "ranking": NonEmptyVec_of_FieldPath;
933
937
  };
938
+ export type TokenUsage = {
939
+ readonly "cacheCreationInputTokens"?: number | null;
940
+ readonly "cacheReadInputTokens"?: number | null;
941
+ readonly "complete": boolean;
942
+ readonly "inputTokens": number;
943
+ readonly "outputTokens": number;
944
+ };
934
945
  export type UpdateParams = ({
935
946
  readonly "idempotencyKey": string;
936
947
  readonly "ifGeneration": number;
@@ -809,6 +809,9 @@ export type RunLogsResult = {
809
809
  readonly "runId": string;
810
810
  readonly "subscriptionId": string;
811
811
  };
812
+ export type RunMetadata = {
813
+ readonly "tokenUsage"?: TokenUsage | null;
814
+ };
812
815
  export type RunSize = "tiny" | "small" | "standard" | "large";
813
816
  export type RunStatus = {
814
817
  readonly "phase": "admitted";
@@ -819,6 +822,7 @@ export type RunStatus = {
819
822
  readonly "activeExecutions": ReadonlyArray<ActiveExecution>;
820
823
  readonly "phase": "stopping";
821
824
  } | {
825
+ readonly "metadata"?: RunMetadata;
822
826
  readonly "phase": "finished";
823
827
  readonly "terminalResult": TerminalResult;
824
828
  };
@@ -931,6 +935,13 @@ export type TerminationWitness = {
931
935
  readonly "maxIterations": number;
932
936
  readonly "ranking": NonEmptyVec_of_FieldPath;
933
937
  };
938
+ export type TokenUsage = {
939
+ readonly "cacheCreationInputTokens"?: number | null;
940
+ readonly "cacheReadInputTokens"?: number | null;
941
+ readonly "complete": boolean;
942
+ readonly "inputTokens": number;
943
+ readonly "outputTokens": number;
944
+ };
934
945
  export type UpdateParams = ({
935
946
  readonly "idempotencyKey": string;
936
947
  readonly "ifGeneration": number;
@@ -809,6 +809,9 @@ export type RunLogsResult = {
809
809
  readonly "runId": string;
810
810
  readonly "subscriptionId": string;
811
811
  };
812
+ export type RunMetadata = {
813
+ readonly "tokenUsage"?: TokenUsage | null;
814
+ };
812
815
  export type RunSize = "tiny" | "small" | "standard" | "large";
813
816
  export type RunStatus = {
814
817
  readonly "phase": "admitted";
@@ -819,6 +822,7 @@ export type RunStatus = {
819
822
  readonly "activeExecutions": ReadonlyArray<ActiveExecution>;
820
823
  readonly "phase": "stopping";
821
824
  } | {
825
+ readonly "metadata"?: RunMetadata;
822
826
  readonly "phase": "finished";
823
827
  readonly "terminalResult": TerminalResult;
824
828
  };
@@ -931,6 +935,13 @@ export type TerminationWitness = {
931
935
  readonly "maxIterations": number;
932
936
  readonly "ranking": NonEmptyVec_of_FieldPath;
933
937
  };
938
+ export type TokenUsage = {
939
+ readonly "cacheCreationInputTokens"?: number | null;
940
+ readonly "cacheReadInputTokens"?: number | null;
941
+ readonly "complete": boolean;
942
+ readonly "inputTokens": number;
943
+ readonly "outputTokens": number;
944
+ };
934
945
  export type UpdateParams = ({
935
946
  readonly "idempotencyKey": string;
936
947
  readonly "ifGeneration": number;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@the-open-engine/zeroshot",
3
- "version": "6.43.0",
3
+ "version": "6.45.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@the-open-engine/zeroshot",
9
- "version": "6.43.0",
9
+ "version": "6.45.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-open-engine/zeroshot",
3
- "version": "6.43.0",
3
+ "version": "6.45.0",
4
4
  "description": "Independent executor–verifier orchestration for software changes.",
5
5
  "main": "src/orchestrator.js",
6
6
  "bin": {