@opencode/sdk 0.0.0-dev-20766 → 0.0.0-dev-20770

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.
@@ -6,10 +6,10 @@ import {
6
6
  var exports_workerd = {};
7
7
  __export(exports_workerd, {
8
8
  WorkerdProfile: () => exports_workerd,
9
- make: () => make3
9
+ make: () => make2
10
10
  });
11
11
  import { ServerWorkerd } from "@opencode/server/workerd";
12
- function make3({ config, ...options }) {
12
+ function make2({ config, ...options }) {
13
13
  const server = {
14
14
  ...options,
15
15
  config: config === undefined ? undefined : { content: JSON.stringify(config) }
@@ -20,4 +20,4 @@ function make3({ config, ...options }) {
20
20
  };
21
21
  }
22
22
 
23
- export { make3, exports_workerd };
23
+ export { make2, exports_workerd };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create4
3
- } from "./index-k87g9nyf.js";
3
+ } from "./index-e21xa38g.js";
4
4
  import {
5
5
  __export
6
6
  } from "./index-9rqn6x4v.js";
@@ -3,8 +3,8 @@ import {
3
3
  context2
4
4
  } from "./index-ya9awdj2.js";
5
5
  import {
6
- make2
7
- } from "./index-v1qmz9qa.js";
6
+ make3
7
+ } from "./index-yqn72msb.js";
8
8
  import {
9
9
  provide2,
10
10
  node2
@@ -39,7 +39,7 @@ var create5 = Effect.fn("EmbeddedHost.create")(function* (options = {}, embed =
39
39
  const services = yield* runtime.contextEffect;
40
40
  runtime.runFork(Context.get(services, SessionRestart.Service).resumeSuspendedSessions);
41
41
  const handler = HttpEffect.toWebHandlerWith(context2(services))(Context.get(services, HttpRouter.HttpRouter).asHttpEffect());
42
- const transport = make2(handler, runtime.dispose);
42
+ const transport = make3(handler, runtime.dispose);
43
43
  return {
44
44
  runtime,
45
45
  fetch: transport.fetch,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create5
3
- } from "./index-akrjwed3.js";
3
+ } from "./index-87d8edbs.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-akrjwed3.js";
3
+ } from "./index-87d8edbs.js";
4
4
  import {
5
5
  __export
6
6
  } from "./index-9rqn6x4v.js";
@@ -6,9 +6,9 @@ import {
6
6
  var exports_fetch = {};
7
7
  __export(exports_fetch, {
8
8
  OwnedFetch: () => exports_fetch,
9
- make: () => make2
9
+ make: () => make3
10
10
  });
11
- function make2(handler, dispose) {
11
+ function make3(handler, dispose) {
12
12
  const requests = new Map;
13
13
  const closed = new Error("OpenCode host is closed");
14
14
  let closePromise;
@@ -125,4 +125,4 @@ function trackResponse(response, signal, finish) {
125
125
  return new Response(body, response);
126
126
  }
127
127
 
128
- export { make2, exports_fetch };
128
+ export { make3, exports_fetch };
@@ -1,10 +1,10 @@
1
1
  import"../chunks/index-ya9awdj2.js";
2
- import"../chunks/index-v1qmz9qa.js";
2
+ import"../chunks/index-yqn72msb.js";
3
3
  import"../chunks/index-pqb0kjhx.js";
4
- import"../chunks/index-akrjwed3.js";
4
+ import"../chunks/index-87d8edbs.js";
5
5
  import {
6
6
  exports_opencode
7
- } from "../chunks/index-k1kpzw2w.js";
7
+ } from "../chunks/index-p91gvm80.js";
8
8
  import {
9
9
  exports_tool
10
10
  } from "../chunks/index-n1hprnh9.js";
@@ -3,10 +3,10 @@ import {
3
3
  Service2,
4
4
  layer2,
5
5
  exports_opencode
6
- } from "../chunks/index-k1kpzw2w.js";
7
- import"../chunks/index-akrjwed3.js";
6
+ } from "../chunks/index-p91gvm80.js";
7
+ import"../chunks/index-87d8edbs.js";
8
8
  import"../chunks/index-pqb0kjhx.js";
9
- import"../chunks/index-v1qmz9qa.js";
9
+ import"../chunks/index-yqn72msb.js";
10
10
  import"../chunks/index-ya9awdj2.js";
11
11
  export {
12
12
  exports_opencode as OpenCode,
@@ -1,14 +1,14 @@
1
1
  import {
2
- make3
3
- } from "../chunks/index-qtsmxzjm.js";
2
+ make2
3
+ } from "../chunks/index-39225h8g.js";
4
4
  import"../chunks/index-ya9awdj2.js";
5
- import"../chunks/index-v1qmz9qa.js";
5
+ import"../chunks/index-yqn72msb.js";
6
6
  import"../chunks/index-pqb0kjhx.js";
7
- import"../chunks/index-akrjwed3.js";
7
+ import"../chunks/index-87d8edbs.js";
8
8
  import {
9
9
  create2,
10
10
  Service2
11
- } from "../chunks/index-k1kpzw2w.js";
11
+ } from "../chunks/index-p91gvm80.js";
12
12
  import {
13
13
  __export
14
14
  } from "../chunks/index-9rqn6x4v.js";
@@ -22,7 +22,7 @@ __export(exports_workerd, {
22
22
  });
23
23
  import { Layer } from "effect";
24
24
  var create = ({ log, workspaceProviders, instances, ...options }) => {
25
- const profile = make3(options);
25
+ const profile = make2(options);
26
26
  return create2({ ...profile.options, log, workspaceProviders, instances }, { overrides: profile.replacements });
27
27
  };
28
28
  var layer = (options) => Layer.effect(Service2, create(options));
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import"./chunks/index-ya9awdj2.js";
2
- import"./chunks/index-v1qmz9qa.js";
2
+ import"./chunks/index-yqn72msb.js";
3
3
  import"./chunks/index-pqb0kjhx.js";
4
- import"./chunks/index-akrjwed3.js";
5
- import"./chunks/index-k87g9nyf.js";
4
+ import"./chunks/index-87d8edbs.js";
5
+ import"./chunks/index-e21xa38g.js";
6
6
  import {
7
7
  exports_opencode2
8
- } from "./chunks/index-jhj3y38c.js";
8
+ } from "./chunks/index-6rsrpxj7.js";
9
9
  import {
10
10
  exports_tool2
11
11
  } from "./chunks/index-hdqq71na.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
- make2,
2
+ make3,
3
3
  exports_fetch
4
- } from "../chunks/index-v1qmz9qa.js";
4
+ } from "../chunks/index-yqn72msb.js";
5
5
  export {
6
6
  exports_fetch as OwnedFetch,
7
- make2 as make
7
+ make3 as make
8
8
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create5,
3
3
  exports_host
4
- } from "../chunks/index-akrjwed3.js";
4
+ } from "../chunks/index-87d8edbs.js";
5
5
  import"../chunks/index-pqb0kjhx.js";
6
- import"../chunks/index-v1qmz9qa.js";
6
+ import"../chunks/index-yqn72msb.js";
7
7
  import"../chunks/index-ya9awdj2.js";
8
8
  export {
9
9
  exports_host as EmbeddedHost,
@@ -1,8 +1,8 @@
1
1
  import {
2
- make3,
2
+ make2,
3
3
  exports_workerd
4
- } from "../chunks/index-qtsmxzjm.js";
4
+ } from "../chunks/index-39225h8g.js";
5
5
  export {
6
6
  exports_workerd as WorkerdProfile,
7
- make3 as make
7
+ make2 as make
8
8
  };
package/dist/opencode.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  create3
3
- } from "./chunks/index-jhj3y38c.js";
4
- import"./chunks/index-k87g9nyf.js";
5
- import"./chunks/index-akrjwed3.js";
3
+ } from "./chunks/index-6rsrpxj7.js";
4
+ import"./chunks/index-e21xa38g.js";
5
+ import"./chunks/index-87d8edbs.js";
6
6
  import"./chunks/index-pqb0kjhx.js";
7
- import"./chunks/index-v1qmz9qa.js";
7
+ import"./chunks/index-yqn72msb.js";
8
8
  import"./chunks/index-ya9awdj2.js";
9
9
  export {
10
10
  create3 as create
package/dist/promise.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  create4,
3
3
  exports_promise
4
- } from "./chunks/index-k87g9nyf.js";
5
- import"./chunks/index-akrjwed3.js";
4
+ } from "./chunks/index-e21xa38g.js";
5
+ import"./chunks/index-87d8edbs.js";
6
6
  import"./chunks/index-pqb0kjhx.js";
7
- import"./chunks/index-v1qmz9qa.js";
7
+ import"./chunks/index-yqn72msb.js";
8
8
  import"./chunks/index-ya9awdj2.js";
9
9
  export {
10
10
  exports_promise as PromiseSdk,
package/dist/workerd.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
- make3
3
- } from "./chunks/index-qtsmxzjm.js";
2
+ make2
3
+ } from "./chunks/index-39225h8g.js";
4
4
  import"./chunks/index-ya9awdj2.js";
5
- import"./chunks/index-v1qmz9qa.js";
5
+ import"./chunks/index-yqn72msb.js";
6
6
  import"./chunks/index-pqb0kjhx.js";
7
- import"./chunks/index-akrjwed3.js";
7
+ import"./chunks/index-87d8edbs.js";
8
8
  import {
9
9
  create4
10
- } from "./chunks/index-k87g9nyf.js";
10
+ } from "./chunks/index-e21xa38g.js";
11
11
  import {
12
12
  __export
13
13
  } from "./chunks/index-9rqn6x4v.js";
@@ -19,7 +19,7 @@ __export(exports_workerd, {
19
19
  create: () => create
20
20
  });
21
21
  var create = ({ log, plugins, instances, ...options }) => {
22
- const profile = make3(options);
22
+ const profile = make2(options);
23
23
  return create4({ ...profile.options, log, plugins, instances }, { overrides: profile.replacements });
24
24
  };
25
25
  export {
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-20766",
3
+ "version": "0.0.0-dev-20770",
4
4
  "name": "@opencode/sdk",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,18 +40,18 @@
40
40
  "verify:package": "bun run script/verify-package.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@opencode/client": "0.0.0-dev-20766",
44
- "@opencode/core": "0.0.0-dev-20766",
45
- "@opencode/plugin": "0.0.0-dev-20766",
46
- "@opencode/schema": "0.0.0-dev-20766",
47
- "@opencode/server": "0.0.0-dev-20766",
48
- "@opencode/util": "0.0.0-dev-20766",
43
+ "@opencode/client": "0.0.0-dev-20770",
44
+ "@opencode/core": "0.0.0-dev-20770",
45
+ "@opencode/plugin": "0.0.0-dev-20770",
46
+ "@opencode/schema": "0.0.0-dev-20770",
47
+ "@opencode/server": "0.0.0-dev-20770",
48
+ "@opencode/util": "0.0.0-dev-20770",
49
49
  "effect": "4.0.0-rc.112"
50
50
  },
51
51
  "devDependencies": {
52
- "@opencode/ai": "0.0.0-dev-20766",
53
- "@opencode/httpapi-codegen": "0.0.0-dev-20766",
54
- "@opencode/protocol": "0.0.0-dev-20766",
52
+ "@opencode/ai": "0.0.0-dev-20770",
53
+ "@opencode/httpapi-codegen": "0.0.0-dev-20770",
54
+ "@opencode/protocol": "0.0.0-dev-20770",
55
55
  "@tsconfig/bun": "1.0.9",
56
56
  "@types/bun": "1.4.0",
57
57
  "@typescript/native-preview": "7.0.0-dev.20251207.1"