@opencode/server 0.0.0-dev-19405 → 0.0.0-dev-19406

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.
Files changed (2) hide show
  1. package/dist/process.js +1 -1
  2. package/package.json +8 -8
package/dist/process.js CHANGED
@@ -97,7 +97,7 @@ function dispatch(password, status, application, version) {
97
97
  return yield* healthResponse(status, version);
98
98
  }
99
99
  const state = yield* status.current, app = yield* Ref.get(application), ready = state.type === "ready" && Option.isSome(app);
100
- if ((url.pathname === "/api" || url.pathname.startsWith("/api/") || url.pathname === "/openapi.json") && (!ready || !hasPtyConnectTicketURL(url) && !hasPersistentPtyConnectTicketURL(url)) && !(yield* authorizedRequest(request, auth)))
100
+ if ((!ready || !hasPtyConnectTicketURL(url) && !hasPersistentPtyConnectTicketURL(url)) && !(yield* authorizedRequest(request, auth)))
101
101
  return unauthorized();
102
102
  if (ready)
103
103
  return yield* app.value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/server",
4
- "version": "0.0.0-dev-19405",
4
+ "version": "0.0.0-dev-19406",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -30,17 +30,17 @@
30
30
  "dependencies": {
31
31
  "@effect/platform-node": "4.0.0-rc.112",
32
32
  "@effect/platform-node-shared": "4.0.0-rc.112",
33
- "@opencode/core": "0.0.0-dev-19405",
34
- "@opencode/protocol": "0.0.0-dev-19405",
35
- "@opencode/schema": "0.0.0-dev-19405",
36
- "@opencode/simulation": "0.0.0-dev-19405",
37
- "@opencode/util": "0.0.0-dev-19405",
33
+ "@opencode/core": "0.0.0-dev-19406",
34
+ "@opencode/protocol": "0.0.0-dev-19406",
35
+ "@opencode/schema": "0.0.0-dev-19406",
36
+ "@opencode/simulation": "0.0.0-dev-19406",
37
+ "@opencode/util": "0.0.0-dev-19406",
38
38
  "drizzle-orm": "1.0.0-rc.5-169397b",
39
39
  "effect": "4.0.0-rc.112"
40
40
  },
41
41
  "devDependencies": {
42
- "@opencode/client": "0.0.0-dev-19405",
43
- "@opencode/plugin": "0.0.0-dev-19405",
42
+ "@opencode/client": "0.0.0-dev-19406",
43
+ "@opencode/plugin": "0.0.0-dev-19406",
44
44
  "@tsconfig/bun": "1.0.9",
45
45
  "@types/bun": "1.4.0",
46
46
  "@typescript/native-preview": "7.0.0-dev.20251207.1"