@opencode/sdk 0.0.0-dev-21106 → 0.0.0-dev-21108

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create5
3
- } from "./index-ba53q5rh.js";
3
+ } from "./index-rr226ay9.js";
4
4
  import {
5
5
  __export
6
6
  } from "./index-9rqn6x4v.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create3
3
- } from "./index-y1bqhqf3.js";
3
+ } from "./index-92y66mhh.js";
4
4
  import {
5
5
  __export
6
6
  } from "./index-9rqn6x4v.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create5
3
- } from "./index-ba53q5rh.js";
3
+ } from "./index-rr226ay9.js";
4
4
  import {
5
5
  __export
6
6
  } from "./index-9rqn6x4v.js";
@@ -1,10 +1,10 @@
1
1
  import"../chunks/index-ya9awdj2.js";
2
2
  import"../chunks/index-yqn72msb.js";
3
3
  import"../chunks/index-pqb0kjhx.js";
4
- import"../chunks/index-ba53q5rh.js";
4
+ import"../chunks/index-rr226ay9.js";
5
5
  import {
6
6
  exports_opencode2
7
- } from "../chunks/index-4vhwrh1n.js";
7
+ } from "../chunks/index-x3mg7grt.js";
8
8
  import {
9
9
  exports_tool2
10
10
  } from "../chunks/index-xjkw3602.js";
@@ -3,8 +3,8 @@ import {
3
3
  Service2,
4
4
  layer2,
5
5
  exports_opencode2
6
- } from "../chunks/index-4vhwrh1n.js";
7
- import"../chunks/index-ba53q5rh.js";
6
+ } from "../chunks/index-x3mg7grt.js";
7
+ import"../chunks/index-rr226ay9.js";
8
8
  import"../chunks/index-yqn72msb.js";
9
9
  import"../chunks/index-pqb0kjhx.js";
10
10
  import"../chunks/index-ya9awdj2.js";
@@ -10,7 +10,7 @@ export interface CreateOptions<R = never> extends WorkerdProfile.Options {
10
10
  readonly workspaceProviders?: OpenCode.CreateOptions["workspaceProviders"];
11
11
  readonly instances?: OpenCode.CreateOptions<R>["instances"];
12
12
  }
13
- export declare const create: <R = never>({ log, plugins, workspaceProviders, instances, ...options }: CreateOptions<R>) => import("effect/Effect").Effect<OpenCode.Interface, Error | Config.ConfigError, Scope.Scope | R>;
13
+ export declare const create: <R = never>({ log, plugins, workspaceProviders, instances, ...options }: CreateOptions<R>) => import("effect/Effect").Effect<OpenCode.Interface, Config.ConfigError | Error, R | Scope.Scope>;
14
14
  export declare const layer: <R = never>(options: CreateOptions<R>) => Layer.Layer<OpenCode.Service, Config.ConfigError | Error, Exclude<R, Scope.Scope>>;
15
15
  export type Interface = OpenCode.Interface;
16
16
  export type Requirements = Scope.Scope;
@@ -4,11 +4,11 @@ import {
4
4
  import"../chunks/index-ya9awdj2.js";
5
5
  import"../chunks/index-yqn72msb.js";
6
6
  import"../chunks/index-pqb0kjhx.js";
7
- import"../chunks/index-ba53q5rh.js";
7
+ import"../chunks/index-rr226ay9.js";
8
8
  import {
9
9
  create4,
10
10
  Service2
11
- } from "../chunks/index-4vhwrh1n.js";
11
+ } from "../chunks/index-x3mg7grt.js";
12
12
  import {
13
13
  __export
14
14
  } from "../chunks/index-9rqn6x4v.js";
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import"./chunks/index-ya9awdj2.js";
2
2
  import"./chunks/index-yqn72msb.js";
3
3
  import"./chunks/index-pqb0kjhx.js";
4
- import"./chunks/index-ba53q5rh.js";
5
- import"./chunks/index-y1bqhqf3.js";
4
+ import"./chunks/index-rr226ay9.js";
5
+ import"./chunks/index-92y66mhh.js";
6
6
  import {
7
7
  exports_opencode
8
- } from "./chunks/index-t3hrt7zp.js";
8
+ } from "./chunks/index-qvwx6wph.js";
9
9
  import {
10
10
  exports_tool
11
11
  } from "./chunks/index-jw22y9b0.js";
@@ -22,7 +22,7 @@ export interface EmbedOptions {
22
22
  readonly overrides?: LayerNode.Replacements;
23
23
  }
24
24
  export declare const create: <R = never>(options?: CreateOptions<R> | undefined, embed?: EmbedOptions | undefined) => Effect.Effect<{
25
- runtime: ManagedRuntime.ManagedRuntime<import("effect/http/HttpClient").HttpClient | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/project").Service | import("@opencode/core/bus").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/credential").Service | import("@opencode/core/wellknown").Service | Workspace.Service | import("@opencode/core/permission/saved").Service | SdkPlugins.Service | import("@opencode/core/plugin/update").Service | import("@opencode/core/job").Service | Session.Service | import("@opencode/core/worktree").Service | import("@opencode/core/instance").Service | import("@opencode/core/location-service-map").Service | SessionRestart.Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/location-activity").Service | import("@opencode/server/pairing").Service | import("@opencode/server/pty-environment").Service | HttpRouter.HttpRouter, Error | import("@opencode/core/persistent-pty/index").UnavailableError>;
25
+ runtime: ManagedRuntime.ManagedRuntime<import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/project").Service | import("@opencode/core/bus").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/credential").Service | import("@opencode/core/wellknown").Service | Workspace.Service | import("@opencode/core/permission/saved").Service | import("@opencode/core/instance").Service | import("@opencode/core/job").Service | Session.Service | import("@opencode/core/worktree").Service | import("@opencode/core/plugin/update").Service | import("@opencode/core/location-service-map").Service | SdkPlugins.Service | SessionRestart.Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/location-activity").Service | import("@opencode/server/pairing").Service | import("@opencode/server/pty-environment").Service, Error | import("@opencode/core/persistent-pty/index").UnavailableError>;
26
26
  fetch: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) & {
27
27
  preconnect: () => undefined;
28
28
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  create5,
3
3
  exports_host
4
- } from "../chunks/index-ba53q5rh.js";
4
+ } from "../chunks/index-rr226ay9.js";
5
5
  import"../chunks/index-yqn72msb.js";
6
6
  import"../chunks/index-pqb0kjhx.js";
7
7
  import"../chunks/index-ya9awdj2.js";
@@ -7,50 +7,50 @@ export interface Options extends Omit<ServerWorkerd.Options, "password" | "confi
7
7
  }
8
8
  export declare function make({ config, ...options }: Options): {
9
9
  options: {
10
- readonly models?: {
11
- readonly url?: string | undefined;
12
- readonly file?: string | undefined;
13
- readonly snapshot?: boolean | undefined;
14
- readonly fetch?: boolean | undefined;
10
+ readonly app?: {
11
+ readonly name?: string | undefined;
12
+ readonly version?: string | undefined;
13
+ readonly channel?: string | undefined;
14
+ } | undefined;
15
+ readonly hostname?: string | undefined;
16
+ readonly port?: number | undefined;
17
+ readonly password?: string | undefined;
18
+ readonly cors?: readonly string[] | undefined;
19
+ readonly simulation?: boolean | undefined;
20
+ readonly database?: {
21
+ readonly path?: string | undefined;
15
22
  } | undefined;
16
23
  readonly pty?: {
17
- readonly root?: string | undefined;
18
24
  readonly handoff?: {
19
25
  readonly directory: string;
20
26
  readonly instanceID: string;
21
27
  readonly ticket: string;
22
28
  readonly expiresAt: number;
23
29
  } | undefined;
30
+ readonly root?: string | undefined;
31
+ } | undefined;
32
+ readonly events?: {
33
+ readonly persist?: boolean | undefined;
34
+ } | undefined;
35
+ readonly models?: {
36
+ readonly url?: string | undefined;
37
+ readonly file?: string | undefined;
38
+ readonly fetch?: boolean | undefined;
39
+ readonly snapshot?: boolean | undefined;
24
40
  } | undefined;
25
41
  readonly config?: {
26
42
  readonly directory?: string | undefined;
27
43
  readonly project?: boolean | undefined;
28
- readonly content?: string | undefined;
29
- readonly file?: string | undefined;
30
44
  readonly claude?: boolean | undefined;
45
+ readonly file?: string | undefined;
46
+ readonly content?: string | undefined;
31
47
  } | undefined;
32
- readonly events?: {
33
- readonly persist?: boolean | undefined;
34
- } | undefined;
35
- readonly fs?: {
36
- readonly fff?: boolean | undefined;
37
- readonly filewatcher?: boolean | undefined;
38
- } | undefined;
39
- readonly port?: number | undefined;
40
- readonly hostname?: string | undefined;
41
- readonly cors?: readonly string[] | undefined;
42
48
  readonly windows?: {
43
49
  readonly gitbash?: string | undefined;
44
50
  } | undefined;
45
- readonly password?: string | undefined;
46
- readonly app?: {
47
- readonly version?: string | undefined;
48
- readonly name?: string | undefined;
49
- readonly channel?: string | undefined;
50
- } | undefined;
51
- readonly simulation?: boolean | undefined;
52
- readonly database?: {
53
- readonly path?: string | undefined;
51
+ readonly fs?: {
52
+ readonly filewatcher?: boolean | undefined;
53
+ readonly fff?: boolean | undefined;
54
54
  } | undefined;
55
55
  };
56
56
  replacements: import("@opencode/util/effect/layer-node").Replacements;
package/dist/opencode.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  create2
3
- } from "./chunks/index-t3hrt7zp.js";
4
- import"./chunks/index-y1bqhqf3.js";
5
- import"./chunks/index-ba53q5rh.js";
3
+ } from "./chunks/index-qvwx6wph.js";
4
+ import"./chunks/index-92y66mhh.js";
5
+ import"./chunks/index-rr226ay9.js";
6
6
  import"./chunks/index-yqn72msb.js";
7
7
  import"./chunks/index-pqb0kjhx.js";
8
8
  import"./chunks/index-ya9awdj2.js";
package/dist/promise.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  create3,
3
3
  exports_promise
4
- } from "./chunks/index-y1bqhqf3.js";
5
- import"./chunks/index-ba53q5rh.js";
4
+ } from "./chunks/index-92y66mhh.js";
5
+ import"./chunks/index-rr226ay9.js";
6
6
  import"./chunks/index-yqn72msb.js";
7
7
  import"./chunks/index-pqb0kjhx.js";
8
8
  import"./chunks/index-ya9awdj2.js";
package/dist/workerd.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  import"./chunks/index-ya9awdj2.js";
5
5
  import"./chunks/index-yqn72msb.js";
6
6
  import"./chunks/index-pqb0kjhx.js";
7
- import"./chunks/index-ba53q5rh.js";
7
+ import"./chunks/index-rr226ay9.js";
8
8
  import {
9
9
  create3
10
- } from "./chunks/index-y1bqhqf3.js";
10
+ } from "./chunks/index-92y66mhh.js";
11
11
  import {
12
12
  __export
13
13
  } from "./chunks/index-9rqn6x4v.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "0.0.0-dev-21106",
3
+ "version": "0.0.0-dev-21108",
4
4
  "name": "@opencode/sdk",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -36,24 +36,24 @@
36
36
  "scripts": {
37
37
  "build": "bun run script/build.ts",
38
38
  "test": "bun test --timeout 5000",
39
- "typecheck": "tsgo -b",
39
+ "typecheck": "tsc -b",
40
40
  "verify:package": "bun run script/verify-package.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@opencode/client": "0.0.0-dev-21106",
44
- "@opencode/core": "0.0.0-dev-21106",
45
- "@opencode/plugin": "0.0.0-dev-21106",
46
- "@opencode/schema": "0.0.0-dev-21106",
47
- "@opencode/server": "0.0.0-dev-21106",
48
- "@opencode/util": "0.0.0-dev-21106",
43
+ "@opencode/client": "0.0.0-dev-21108",
44
+ "@opencode/core": "0.0.0-dev-21108",
45
+ "@opencode/plugin": "0.0.0-dev-21108",
46
+ "@opencode/schema": "0.0.0-dev-21108",
47
+ "@opencode/server": "0.0.0-dev-21108",
48
+ "@opencode/util": "0.0.0-dev-21108",
49
49
  "effect": "4.0.1"
50
50
  },
51
51
  "devDependencies": {
52
- "@opencode/ai": "0.0.0-dev-21106",
53
- "@opencode/httpapi-codegen": "0.0.0-dev-21106",
54
- "@opencode/protocol": "0.0.0-dev-21106",
52
+ "@opencode/ai": "0.0.0-dev-21108",
53
+ "@opencode/httpapi-codegen": "0.0.0-dev-21108",
54
+ "@opencode/protocol": "0.0.0-dev-21108",
55
55
  "@tsconfig/bun": "1.0.9",
56
56
  "@types/bun": "1.4.0",
57
- "@typescript/native-preview": "7.0.0-dev.20251207.1"
57
+ "@typescript/native": "npm:typescript@7.0.2"
58
58
  }
59
59
  }