@opencode/client 0.0.0-dev-19607 → 0.0.0-dev-19610

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.
@@ -1560,7 +1560,7 @@ export type SessionEnvironmentOutput = void;
1560
1560
  export type SessionEnvironmentOperation<E = never> = (input: SessionEnvironmentInput) => Effect.Effect<SessionEnvironmentOutput, E>;
1561
1561
  export type SessionViewInput = {
1562
1562
  readonly sessionID: Session.ID;
1563
- readonly idle: number;
1563
+ readonly idle: DateTime.Utc;
1564
1564
  };
1565
1565
  export type SessionViewOutput = void;
1566
1566
  export type SessionViewOperation<E = never> = (input: SessionViewInput) => Effect.Effect<SessionViewOutput, E>;
@@ -526,7 +526,7 @@ export function make(options) {
526
526
  }, requestOptions).then((value) => value.data),
527
527
  environment: (input, requestOptions) => request({
528
528
  method: "PUT",
529
- path: `/api/session/${encodeURIComponent(input.sessionID)}/environment`,
529
+ path: `/api/experimental/session/${encodeURIComponent(input.sessionID)}/environment`,
530
530
  body: { variables: input["variables"] },
531
531
  successStatus: 204,
532
532
  declaredStatuses: [400, 401, 404],
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-19607",
4
+ "version": "0.0.0-dev-19610",
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-19607",
61
- "@opencode/protocol": "0.0.0-dev-19607"
60
+ "@opencode/schema": "0.0.0-dev-19610",
61
+ "@opencode/protocol": "0.0.0-dev-19610"
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-19607",
77
+ "@opencode/httpapi-codegen": "0.0.0-dev-19610",
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",