@opencode/server 0.0.0-dev-1322 → 0.0.0-dev-1324
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.
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{pairing-ryf8gt7t.js → routes-20wvj9q6.js} +2 -2
- package/dist/chunks/{pairing-0q7s66m2.js → routes-39nnfjx1.js} +4 -4
- package/dist/chunks/{pairing-c0pd5awd.js → routes-4apj6a8e.js} +2 -2
- package/dist/chunks/{pairing-9chkqb53.js → routes-4d81c38p.js} +4 -4
- package/dist/chunks/{pairing-n7n1k6t0.js → routes-4gbck4qg.js} +2 -2
- package/dist/chunks/{pairing-cheayfe6.js → routes-4gdxfk9h.js} +8 -8
- package/dist/chunks/{pairing-2b13xzyt.js → routes-4r2ye500.js} +2 -2
- package/dist/chunks/{pairing-g23ffrnz.js → routes-50kbksvb.js} +2 -2
- package/dist/chunks/{pairing-z3e7v67k.js → routes-5pdfedjd.js} +5 -5
- package/dist/chunks/{pairing-65w1cjm7.js → routes-6s1v5h8n.js} +4 -4
- package/dist/chunks/{pairing-065pppgn.js → routes-6t6fd9bq.js} +2 -2
- package/dist/chunks/{pairing-7b9xm1qg.js → routes-7b9xm1qg.js} +1 -1
- package/dist/chunks/{pairing-fhb2ewd9.js → routes-7x6cg3xs.js} +2 -2
- package/dist/chunks/{pairing-7ydfwv45.js → routes-7ydfwv45.js} +1 -1
- package/dist/chunks/{pairing-z4znncxg.js → routes-86dz2n4m.js} +2 -2
- package/dist/chunks/{pairing-669rq3zn.js → routes-8n1ypg70.js} +3 -3
- package/dist/chunks/{pairing-8sb6qqpn.js → routes-8sb6qqpn.js} +1 -1
- package/dist/chunks/{pairing-9cd3a4b8.js → routes-9cd3a4b8.js} +1 -1
- package/dist/chunks/{pairing-xhsknm82.js → routes-b1x3j2e8.js} +2 -2
- package/dist/chunks/{pairing-500wz90y.js → routes-b7yt2ykh.js} +2 -2
- package/dist/chunks/{pairing-27f8nny0.js → routes-b87bs0cf.js} +2 -2
- package/dist/chunks/{pairing-9epy4pks.js → routes-bvm82fhd.js} +4 -4
- package/dist/chunks/{pairing-ahhjt1wh.js → routes-d0advawr.js} +2 -2
- package/dist/chunks/{pairing-djr0jy89.js → routes-djr0jy89.js} +1 -1
- package/dist/chunks/{pairing-0tp9bckc.js → routes-edwk6ehd.js} +1 -1
- package/dist/chunks/{pairing-qesrj4p3.js → routes-g329ycmh.js} +8 -8
- package/dist/chunks/{pairing-z030czn6.js → routes-g80pvn6e.js} +2 -2
- package/dist/chunks/{pairing-j9bm09j4.js → routes-g97h7k0s.js} +1 -1
- package/dist/chunks/{pairing-3svx81fb.js → routes-gp51b0m6.js} +3 -3
- package/dist/chunks/{pairing-j4at0y5c.js → routes-j4at0y5c.js} +1 -1
- package/dist/chunks/{pairing-ywn523ee.js → routes-j80tzjj3.js} +3 -3
- package/dist/chunks/{pairing-nezkqcz0.js → routes-k26h7zjg.js} +2 -2
- package/dist/chunks/{pairing-mzs0n5xz.js → routes-kqr36gas.js} +7 -7
- package/dist/chunks/{pairing-myqk22k5.js → routes-myqk22k5.js} +2 -2
- package/dist/chunks/{pairing-ah2sj2pr.js → routes-n6ypjnhz.js} +1 -1
- package/dist/chunks/{pairing-mevm0qpj.js → routes-nkfbbfe7.js} +4 -4
- package/dist/chunks/{pairing-w7qv5azt.js → routes-p3ekc874.js} +2 -2
- package/dist/chunks/{pairing-k3qt4jsw.js → routes-p4zkxzv7.js} +1 -1
- package/dist/chunks/{pairing-f7t35c4p.js → routes-p89q26vy.js} +35 -35
- package/dist/chunks/{pairing-2q06e3dd.js → routes-p9wp66hf.js} +1 -1
- package/dist/chunks/{pairing-ghcy4ddk.js → routes-pv4dnzzq.js} +1 -1
- package/dist/chunks/{pairing-vw0q3knq.js → routes-qahj7606.js} +1 -1
- package/dist/chunks/{pairing-950f60t4.js → routes-r90c0ath.js} +16 -14
- package/dist/chunks/{pairing-e6pxnnfj.js → routes-s8cv2y4y.js} +8 -8
- package/dist/chunks/{pairing-8pn9ceqg.js → routes-s8t5gq7c.js} +3 -3
- package/dist/chunks/{pairing-t32e1bbt.js → routes-t32e1bbt.js} +1 -1
- package/dist/chunks/{pairing-7qpea5x7.js → routes-t62b1gmw.js} +2 -2
- package/dist/chunks/{pairing-yr4jk19s.js → routes-t8azv5ge.js} +2 -2
- package/dist/chunks/{pairing-xygx09yd.js → routes-v0z8pce5.js} +2 -2
- package/dist/chunks/{pairing-c3v4yszv.js → routes-wbrxtn62.js} +4 -4
- package/dist/chunks/{pairing-6h2twn5f.js → routes-wecgp61r.js} +10 -10
- package/dist/chunks/{pairing-wtrkk6n8.js → routes-wh07bcjv.js} +1 -1
- package/dist/chunks/{pairing-cx7az6y7.js → routes-zrptb2x8.js} +2 -2
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +7 -7
- package/dist/fetch.js +61 -61
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/artifact.js +3 -3
- package/dist/handlers/automation.js +2 -2
- package/dist/handlers/blob.js +3 -3
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +7 -7
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +8 -8
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.js +2 -2
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +2 -2
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.js +15 -15
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +8 -8
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.js +7 -7
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/usage.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.js +52 -52
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/defect-response.js +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +3 -3
- package/dist/process.js +64 -62
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +56 -56
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +62 -62
- package/package.json +8 -8
- /package/dist/chunks/{pairing-9rqn6x4v.js → routes-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pairing-bd8755ek.js → routes-bd8755ek.js} +0 -0
- /package/dist/chunks/{pairing-n26yr6pw.js → routes-n26yr6pw.js} +0 -0
- /package/dist/chunks/{pairing-q187pxxd.js → routes-q187pxxd.js} +0 -0
- /package/dist/chunks/{pairing-q4bn6dy8.js → routes-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{pairing-smaf4a18.js → routes-smaf4a18.js} +0 -0
- /package/dist/chunks/{pairing-xthc02cw.js → routes-xthc02cw.js} +0 -0
- /package/dist/chunks/{pairing-yc7nft6q.js → routes-yc7nft6q.js} +0 -0
package/dist/process.js
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/routes-j4at0y5c.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/routes-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
unauthorizedResponse2,
|
|
9
9
|
authorizedRequest2
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/routes-7b9xm1qg.js";
|
|
11
11
|
import {
|
|
12
12
|
withoutParentSpan2
|
|
13
|
-
} from "./chunks/
|
|
13
|
+
} from "./chunks/routes-yc7nft6q.js";
|
|
14
14
|
import {
|
|
15
15
|
middleware2
|
|
16
|
-
} from "./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
16
|
+
} from "./chunks/routes-myqk22k5.js";
|
|
17
|
+
import"./chunks/routes-smaf4a18.js";
|
|
18
|
+
import"./chunks/routes-j80tzjj3.js";
|
|
19
|
+
import"./chunks/routes-n6ypjnhz.js";
|
|
20
|
+
import"./chunks/routes-qahj7606.js";
|
|
21
|
+
import"./chunks/routes-s8t5gq7c.js";
|
|
22
|
+
import"./chunks/routes-p3ekc874.js";
|
|
23
|
+
import"./chunks/routes-v0z8pce5.js";
|
|
24
|
+
import"./chunks/routes-xthc02cw.js";
|
|
25
|
+
import"./chunks/routes-gp51b0m6.js";
|
|
26
|
+
import"./chunks/routes-d0advawr.js";
|
|
27
|
+
import"./chunks/routes-6t6fd9bq.js";
|
|
28
|
+
import"./chunks/routes-4d81c38p.js";
|
|
29
|
+
import"./chunks/routes-8n1ypg70.js";
|
|
30
|
+
import"./chunks/routes-t32e1bbt.js";
|
|
31
|
+
import"./chunks/routes-8sb6qqpn.js";
|
|
32
|
+
import"./chunks/routes-wbrxtn62.js";
|
|
33
|
+
import"./chunks/routes-zrptb2x8.js";
|
|
34
|
+
import"./chunks/routes-b87bs0cf.js";
|
|
35
|
+
import"./chunks/routes-4apj6a8e.js";
|
|
36
|
+
import"./chunks/routes-p4zkxzv7.js";
|
|
37
|
+
import"./chunks/routes-wecgp61r.js";
|
|
38
|
+
import"./chunks/routes-6s1v5h8n.js";
|
|
39
|
+
import"./chunks/routes-k26h7zjg.js";
|
|
40
|
+
import"./chunks/routes-20wvj9q6.js";
|
|
41
41
|
import {
|
|
42
42
|
connectionURLs2
|
|
43
|
-
} from "./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
70
|
-
import"./chunks/
|
|
43
|
+
} from "./chunks/routes-5pdfedjd.js";
|
|
44
|
+
import"./chunks/routes-kqr36gas.js";
|
|
45
|
+
import"./chunks/routes-4gdxfk9h.js";
|
|
46
|
+
import"./chunks/routes-b7yt2ykh.js";
|
|
47
|
+
import"./chunks/routes-q187pxxd.js";
|
|
48
|
+
import"./chunks/routes-nkfbbfe7.js";
|
|
49
|
+
import"./chunks/routes-t62b1gmw.js";
|
|
50
|
+
import"./chunks/routes-50kbksvb.js";
|
|
51
|
+
import"./chunks/routes-9cd3a4b8.js";
|
|
52
|
+
import"./chunks/routes-7ydfwv45.js";
|
|
53
|
+
import"./chunks/routes-djr0jy89.js";
|
|
54
|
+
import"./chunks/routes-s8cv2y4y.js";
|
|
55
|
+
import"./chunks/routes-b1x3j2e8.js";
|
|
56
|
+
import"./chunks/routes-t8azv5ge.js";
|
|
57
|
+
import"./chunks/routes-wh07bcjv.js";
|
|
58
|
+
import"./chunks/routes-4r2ye500.js";
|
|
59
|
+
import"./chunks/routes-7x6cg3xs.js";
|
|
60
|
+
import"./chunks/routes-4gbck4qg.js";
|
|
61
|
+
import"./chunks/routes-bvm82fhd.js";
|
|
62
|
+
import"./chunks/routes-86dz2n4m.js";
|
|
63
|
+
import"./chunks/routes-edwk6ehd.js";
|
|
64
|
+
import"./chunks/routes-p9wp66hf.js";
|
|
65
|
+
import"./chunks/routes-g80pvn6e.js";
|
|
66
|
+
import"./chunks/routes-pv4dnzzq.js";
|
|
67
|
+
import"./chunks/routes-g97h7k0s.js";
|
|
68
|
+
import"./chunks/routes-p89q26vy.js";
|
|
69
|
+
import"./chunks/routes-bd8755ek.js";
|
|
70
|
+
import"./chunks/routes-n26yr6pw.js";
|
|
71
71
|
import {
|
|
72
72
|
createRoutes2
|
|
73
|
-
} from "./chunks/
|
|
73
|
+
} from "./chunks/routes-r90c0ath.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunks/
|
|
75
|
+
make2
|
|
76
|
+
} from "./chunks/routes-39nnfjx1.js";
|
|
77
77
|
import {
|
|
78
78
|
__export
|
|
79
|
-
} from "./chunks/
|
|
79
|
+
} from "./chunks/routes-9rqn6x4v.js";
|
|
80
80
|
|
|
81
81
|
// src/process.ts
|
|
82
82
|
var exports_process = {};
|
|
@@ -88,6 +88,7 @@ import { NodeHttpServer } from "@effect/platform-node";
|
|
|
88
88
|
import { Bus } from "@opencode/core/bus";
|
|
89
89
|
import { SessionRestart } from "@opencode/core/session/execution/restart";
|
|
90
90
|
import { Automation } from "@opencode/core/automation";
|
|
91
|
+
import { SessionSearchBuild } from "@opencode/core/session/search-build";
|
|
91
92
|
import { InstallationEvent } from "@opencode/schema/installation-event";
|
|
92
93
|
import { hasPtyConnectTicketURL } from "@opencode/protocol/groups/pty";
|
|
93
94
|
import { hasPersistentPtyConnectTicketURL } from "@opencode/protocol/groups/persistent-pty";
|
|
@@ -105,7 +106,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
105
106
|
const hostname = options.hostname ?? "127.0.0.1";
|
|
106
107
|
const port = Option.fromNullishOr(options.port);
|
|
107
108
|
const shutdown = yield* Latch.make();
|
|
108
|
-
const status = yield*
|
|
109
|
+
const status = yield* make2();
|
|
109
110
|
const bound = yield* listen({ hostname, port });
|
|
110
111
|
const localURLs = () => {
|
|
111
112
|
const address = bound.server.address();
|
|
@@ -132,6 +133,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
132
133
|
yield* installRestartContinuity(Context.get(context, SessionRestart.Service)).pipe(Effect.provideService(Scope.Scope, applicationScope));
|
|
133
134
|
}
|
|
134
135
|
yield* Effect.forkIn(Context.get(context, Automation.Service).run, applicationScope);
|
|
136
|
+
yield* Effect.forkIn(Context.get(context, SessionSearchBuild.Service).run, applicationScope);
|
|
135
137
|
yield* Ref.set(application, Option.some(Context.get(context, HttpRouter.HttpRouter).asHttpEffect()));
|
|
136
138
|
yield* status.ready;
|
|
137
139
|
const bus = Context.get(context, Bus.Service);
|
package/dist/range.js
CHANGED
package/dist/request-site.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
rejected2,
|
|
3
3
|
middleware2,
|
|
4
4
|
exports_request_site
|
|
5
|
-
} from "./chunks/
|
|
6
|
-
import"./chunks/
|
|
5
|
+
} from "./chunks/routes-myqk22k5.js";
|
|
6
|
+
import"./chunks/routes-q4bn6dy8.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_request_site as RequestSite,
|
|
9
9
|
middleware2 as middleware,
|
package/dist/request-tracing.js
CHANGED
package/dist/routes.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
23
23
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
24
24
|
import { LocationActivity } from "@opencode/core/location-activity";
|
|
25
25
|
import { Machines } from "@opencode/core/machine/machines";
|
|
26
|
+
import { SessionSearchBuild } from "@opencode/core/session/search-build";
|
|
26
27
|
import { SessionRestart } from "@opencode/core/session/execution/restart";
|
|
27
28
|
import { Automation } from "@opencode/core/automation";
|
|
28
29
|
import { PluginUpdate } from "@opencode/core/plugin/update";
|
|
@@ -34,7 +35,7 @@ import { HttpRouter } from "effect/http";
|
|
|
34
35
|
import { Layer } from "effect";
|
|
35
36
|
import { ServerPairing } from "./pairing";
|
|
36
37
|
import type { ServerOptions } from "./options";
|
|
37
|
-
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Workspace.Service | Machines.Service | PermissionSaved.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Worktree.Service | BlobStore.Service | VideoGeneration.Service | Automation.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | FileWatch.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
38
|
+
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Workspace.Service | Machines.Service | PermissionSaved.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Worktree.Service | BlobStore.Service | SessionSearchBuild.Service | VideoGeneration.Service | Automation.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | FileWatch.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
38
39
|
type InstanceNode = (replacements: () => LayerNode.Replacements) => LayerNode.Provider<Instance.Service, never, typeof Node.tags.values.global>;
|
|
39
|
-
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Workspace.Service | Machines.Service | PermissionSaved.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Worktree.Service | BlobStore.Service | VideoGeneration.Service | Automation.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | FileWatch.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
40
|
+
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Workspace.Service | Machines.Service | PermissionSaved.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Worktree.Service | BlobStore.Service | SessionSearchBuild.Service | VideoGeneration.Service | Automation.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | FileWatch.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
40
41
|
export {};
|
package/dist/routes.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRoutes2,
|
|
3
3
|
createEmbeddedRoutes2
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
11
|
-
import"./chunks/
|
|
12
|
-
import"./chunks/
|
|
13
|
-
import"./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/routes-r90c0ath.js";
|
|
5
|
+
import"./chunks/routes-n26yr6pw.js";
|
|
6
|
+
import"./chunks/routes-bd8755ek.js";
|
|
7
|
+
import"./chunks/routes-7b9xm1qg.js";
|
|
8
|
+
import"./chunks/routes-p89q26vy.js";
|
|
9
|
+
import"./chunks/routes-8n1ypg70.js";
|
|
10
|
+
import"./chunks/routes-4gdxfk9h.js";
|
|
11
|
+
import"./chunks/routes-v0z8pce5.js";
|
|
12
|
+
import"./chunks/routes-zrptb2x8.js";
|
|
13
|
+
import"./chunks/routes-edwk6ehd.js";
|
|
14
|
+
import"./chunks/routes-86dz2n4m.js";
|
|
15
|
+
import"./chunks/routes-4gbck4qg.js";
|
|
16
|
+
import"./chunks/routes-pv4dnzzq.js";
|
|
17
|
+
import"./chunks/routes-6t6fd9bq.js";
|
|
18
|
+
import"./chunks/routes-b7yt2ykh.js";
|
|
19
|
+
import"./chunks/routes-b1x3j2e8.js";
|
|
20
|
+
import"./chunks/routes-d0advawr.js";
|
|
21
|
+
import"./chunks/routes-4r2ye500.js";
|
|
22
|
+
import"./chunks/routes-20wvj9q6.js";
|
|
23
|
+
import"./chunks/routes-bvm82fhd.js";
|
|
24
|
+
import"./chunks/routes-nkfbbfe7.js";
|
|
25
|
+
import"./chunks/routes-gp51b0m6.js";
|
|
26
|
+
import"./chunks/routes-4apj6a8e.js";
|
|
27
|
+
import"./chunks/routes-k26h7zjg.js";
|
|
28
|
+
import"./chunks/routes-p9wp66hf.js";
|
|
29
|
+
import"./chunks/routes-7x6cg3xs.js";
|
|
30
|
+
import"./chunks/routes-p4zkxzv7.js";
|
|
31
|
+
import"./chunks/routes-6s1v5h8n.js";
|
|
32
|
+
import"./chunks/routes-g97h7k0s.js";
|
|
33
|
+
import"./chunks/routes-b87bs0cf.js";
|
|
34
|
+
import"./chunks/routes-4d81c38p.js";
|
|
35
|
+
import"./chunks/routes-p3ekc874.js";
|
|
36
|
+
import"./chunks/routes-g80pvn6e.js";
|
|
37
|
+
import"./chunks/routes-wh07bcjv.js";
|
|
38
|
+
import"./chunks/routes-s8cv2y4y.js";
|
|
39
|
+
import"./chunks/routes-t62b1gmw.js";
|
|
40
|
+
import"./chunks/routes-7ydfwv45.js";
|
|
41
|
+
import"./chunks/routes-djr0jy89.js";
|
|
42
|
+
import"./chunks/routes-50kbksvb.js";
|
|
43
|
+
import"./chunks/routes-9cd3a4b8.js";
|
|
44
|
+
import"./chunks/routes-q187pxxd.js";
|
|
45
|
+
import"./chunks/routes-t8azv5ge.js";
|
|
46
|
+
import"./chunks/routes-wbrxtn62.js";
|
|
47
|
+
import"./chunks/routes-s8t5gq7c.js";
|
|
48
|
+
import"./chunks/routes-qahj7606.js";
|
|
49
|
+
import"./chunks/routes-n6ypjnhz.js";
|
|
50
|
+
import"./chunks/routes-kqr36gas.js";
|
|
51
|
+
import"./chunks/routes-j4at0y5c.js";
|
|
52
|
+
import"./chunks/routes-t32e1bbt.js";
|
|
53
|
+
import"./chunks/routes-5pdfedjd.js";
|
|
54
|
+
import"./chunks/routes-j80tzjj3.js";
|
|
55
|
+
import"./chunks/routes-smaf4a18.js";
|
|
56
|
+
import"./chunks/routes-wecgp61r.js";
|
|
57
|
+
import"./chunks/routes-q4bn6dy8.js";
|
|
58
|
+
import"./chunks/routes-8sb6qqpn.js";
|
|
59
|
+
import"./chunks/routes-xthc02cw.js";
|
|
60
60
|
export {
|
|
61
61
|
createEmbeddedRoutes2 as createEmbeddedRoutes,
|
|
62
62
|
createRoutes2 as createRoutes
|
package/dist/server-info.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service3,
|
|
3
3
|
layer2,
|
|
4
4
|
connectionURLs2,
|
|
5
5
|
exports_server_info
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/routes-5pdfedjd.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_server_info as ServerInfo,
|
|
9
|
-
|
|
9
|
+
Service3 as Service,
|
|
10
10
|
connectionURLs2 as connectionURLs,
|
|
11
11
|
layer2 as layer
|
|
12
12
|
};
|
package/dist/service-status.js
CHANGED
package/dist/workerd.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import"./chunks/
|
|
2
|
-
import"./chunks/
|
|
3
|
-
import"./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
11
|
-
import"./chunks/
|
|
12
|
-
import"./chunks/
|
|
13
|
-
import"./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/routes-q4bn6dy8.js";
|
|
2
|
+
import"./chunks/routes-myqk22k5.js";
|
|
3
|
+
import"./chunks/routes-yc7nft6q.js";
|
|
4
|
+
import"./chunks/routes-smaf4a18.js";
|
|
5
|
+
import"./chunks/routes-j80tzjj3.js";
|
|
6
|
+
import"./chunks/routes-n6ypjnhz.js";
|
|
7
|
+
import"./chunks/routes-qahj7606.js";
|
|
8
|
+
import"./chunks/routes-s8t5gq7c.js";
|
|
9
|
+
import"./chunks/routes-j4at0y5c.js";
|
|
10
|
+
import"./chunks/routes-p3ekc874.js";
|
|
11
|
+
import"./chunks/routes-v0z8pce5.js";
|
|
12
|
+
import"./chunks/routes-xthc02cw.js";
|
|
13
|
+
import"./chunks/routes-gp51b0m6.js";
|
|
14
|
+
import"./chunks/routes-d0advawr.js";
|
|
15
|
+
import"./chunks/routes-6t6fd9bq.js";
|
|
16
|
+
import"./chunks/routes-4d81c38p.js";
|
|
17
|
+
import"./chunks/routes-8n1ypg70.js";
|
|
18
|
+
import"./chunks/routes-t32e1bbt.js";
|
|
19
|
+
import"./chunks/routes-8sb6qqpn.js";
|
|
20
|
+
import"./chunks/routes-wbrxtn62.js";
|
|
21
|
+
import"./chunks/routes-zrptb2x8.js";
|
|
22
|
+
import"./chunks/routes-b87bs0cf.js";
|
|
23
|
+
import"./chunks/routes-4apj6a8e.js";
|
|
24
|
+
import"./chunks/routes-p4zkxzv7.js";
|
|
25
|
+
import"./chunks/routes-wecgp61r.js";
|
|
26
|
+
import"./chunks/routes-6s1v5h8n.js";
|
|
27
|
+
import"./chunks/routes-k26h7zjg.js";
|
|
28
|
+
import"./chunks/routes-20wvj9q6.js";
|
|
29
|
+
import"./chunks/routes-5pdfedjd.js";
|
|
30
|
+
import"./chunks/routes-kqr36gas.js";
|
|
31
|
+
import"./chunks/routes-4gdxfk9h.js";
|
|
32
|
+
import"./chunks/routes-b7yt2ykh.js";
|
|
33
|
+
import"./chunks/routes-q187pxxd.js";
|
|
34
|
+
import"./chunks/routes-nkfbbfe7.js";
|
|
35
|
+
import"./chunks/routes-t62b1gmw.js";
|
|
36
|
+
import"./chunks/routes-50kbksvb.js";
|
|
37
|
+
import"./chunks/routes-9cd3a4b8.js";
|
|
38
|
+
import"./chunks/routes-7ydfwv45.js";
|
|
39
|
+
import"./chunks/routes-djr0jy89.js";
|
|
40
|
+
import"./chunks/routes-s8cv2y4y.js";
|
|
41
|
+
import"./chunks/routes-b1x3j2e8.js";
|
|
42
|
+
import"./chunks/routes-t8azv5ge.js";
|
|
43
|
+
import"./chunks/routes-wh07bcjv.js";
|
|
44
|
+
import"./chunks/routes-4r2ye500.js";
|
|
45
|
+
import"./chunks/routes-7x6cg3xs.js";
|
|
46
|
+
import"./chunks/routes-4gbck4qg.js";
|
|
47
|
+
import"./chunks/routes-bvm82fhd.js";
|
|
48
|
+
import"./chunks/routes-86dz2n4m.js";
|
|
49
|
+
import"./chunks/routes-edwk6ehd.js";
|
|
50
|
+
import"./chunks/routes-p9wp66hf.js";
|
|
51
|
+
import"./chunks/routes-g80pvn6e.js";
|
|
52
|
+
import"./chunks/routes-pv4dnzzq.js";
|
|
53
|
+
import"./chunks/routes-g97h7k0s.js";
|
|
54
|
+
import"./chunks/routes-p89q26vy.js";
|
|
55
|
+
import"./chunks/routes-7b9xm1qg.js";
|
|
56
|
+
import"./chunks/routes-bd8755ek.js";
|
|
57
|
+
import"./chunks/routes-n26yr6pw.js";
|
|
58
|
+
import"./chunks/routes-r90c0ath.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunks/
|
|
60
|
+
make3
|
|
61
|
+
} from "./chunks/routes-g329ycmh.js";
|
|
62
62
|
import {
|
|
63
63
|
__export
|
|
64
|
-
} from "./chunks/
|
|
64
|
+
} from "./chunks/routes-9rqn6x4v.js";
|
|
65
65
|
|
|
66
66
|
// src/workerd.ts
|
|
67
67
|
var exports_workerd = {};
|
|
@@ -86,7 +86,7 @@ import { Vcs } from "@opencode/core/vcs";
|
|
|
86
86
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
87
87
|
import { Npm } from "@opencode/util/npm";
|
|
88
88
|
function create(options) {
|
|
89
|
-
return
|
|
89
|
+
return make3(serverOptions(options), { overrides: replacements(options) });
|
|
90
90
|
}
|
|
91
91
|
function serverOptions(options) {
|
|
92
92
|
return {
|
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-
|
|
4
|
+
"version": "0.0.0-dev-1324",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@effect/platform-node": "4.1.0",
|
|
34
34
|
"@effect/platform-node-shared": "4.1.0",
|
|
35
|
-
"@opencode/core": "0.0.0-dev-
|
|
36
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
37
|
-
"@opencode/schema": "0.0.0-dev-
|
|
38
|
-
"@opencode/simulation": "0.0.0-dev-
|
|
39
|
-
"@opencode/util": "0.0.0-dev-
|
|
35
|
+
"@opencode/core": "0.0.0-dev-1324",
|
|
36
|
+
"@opencode/protocol": "0.0.0-dev-1324",
|
|
37
|
+
"@opencode/schema": "0.0.0-dev-1324",
|
|
38
|
+
"@opencode/simulation": "0.0.0-dev-1324",
|
|
39
|
+
"@opencode/util": "0.0.0-dev-1324",
|
|
40
40
|
"effect": "4.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@opencode/pty": "0.6.0",
|
|
44
|
-
"@opencode/client": "0.0.0-dev-
|
|
45
|
-
"@opencode/plugin": "0.0.0-dev-
|
|
44
|
+
"@opencode/client": "0.0.0-dev-1324",
|
|
45
|
+
"@opencode/plugin": "0.0.0-dev-1324",
|
|
46
46
|
"@tsconfig/bun": "1.0.9",
|
|
47
47
|
"@types/bun": "1.4.3",
|
|
48
48
|
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|