@opencode/client 0.0.0-dev-19744 → 0.0.0-dev-19752

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.
@@ -938,6 +938,7 @@ export type SessionLogOutput = ({
938
938
  readonly agent: Agent.ID;
939
939
  readonly model: Model.Ref;
940
940
  readonly snapshot?: (string & Brand.Brand<"Snapshot.ID">) | undefined;
941
+ readonly started: number;
941
942
  };
942
943
  } | {
943
944
  readonly id: Event.ID;
@@ -1120,6 +1120,7 @@ export declare const make: (options?: {
1120
1120
  readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
1121
1121
  readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
1122
1122
  };
1123
+ readonly started: number;
1123
1124
  readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
1124
1125
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1125
1126
  readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
@@ -1275,6 +1275,7 @@ export declare const make: (options?: {
1275
1275
  readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
1276
1276
  readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
1277
1277
  };
1278
+ readonly started: number;
1278
1279
  readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
1279
1280
  readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
1280
1281
  readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
@@ -1178,6 +1178,7 @@ export type SessionStepStarted = {
1178
1178
  agent: string;
1179
1179
  model: ModelRef;
1180
1180
  snapshot?: string;
1181
+ started: number;
1181
1182
  };
1182
1183
  };
1183
1184
  export type SessionStepStreamed = {
@@ -704,6 +704,7 @@ export function createData(config) {
704
704
  existing.finish = undefined;
705
705
  existing.rawFinish = undefined;
706
706
  existing.providerState = undefined;
707
+ existing.time.created = event.data.started;
707
708
  existing.time.streamed = undefined;
708
709
  existing.time.completed = undefined;
709
710
  if (event.data.snapshot)
@@ -723,7 +724,7 @@ export function createData(config) {
723
724
  metadata: event.metadata,
724
725
  content: [],
725
726
  snapshot: event.data.snapshot ? { start: event.data.snapshot } : undefined,
726
- time: { created: event.created },
727
+ time: { created: event.data.started },
727
728
  });
728
729
  });
729
730
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/client",
4
- "version": "0.0.0-dev-19744",
4
+ "version": "0.0.0-dev-19752",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode/schema": "0.0.0-dev-19744",
61
- "@opencode/protocol": "0.0.0-dev-19744"
60
+ "@opencode/schema": "0.0.0-dev-19752",
61
+ "@opencode/protocol": "0.0.0-dev-19752"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.0-rc.112",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.0-rc.112",
77
- "@opencode/httpapi-codegen": "0.0.0-dev-19744",
77
+ "@opencode/httpapi-codegen": "0.0.0-dev-19752",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.4.0",
80
80
  "@typescript/native-preview": "7.0.0-dev.20251207.1",