@opencode/server 0.0.0-dev-20798 → 0.0.0-dev-20800
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/{service-status-x5jn5rep.js → server-info-0gbaaetm.js} +2 -2
- package/dist/chunks/{service-status-gzx549bj.js → server-info-1nrxyvqr.js} +7 -7
- package/dist/chunks/{service-status-jphw74cq.js → server-info-1wyt3am5.js} +2 -2
- package/dist/chunks/{service-status-44qh4kfc.js → server-info-1ybjhnn1.js} +3 -3
- package/dist/chunks/{service-status-h2a6nn7k.js → server-info-2ac2kv4c.js} +3 -3
- package/dist/chunks/{service-status-j03v2rh9.js → server-info-3m0ygtwr.js} +2 -2
- package/dist/chunks/{service-status-8cnxq26y.js → server-info-4bxenate.js} +2 -2
- package/dist/chunks/{service-status-ty73jqxf.js → server-info-4hhhes7w.js} +1 -1
- package/dist/chunks/{service-status-360ay1ws.js → server-info-5prskpqe.js} +1 -1
- package/dist/chunks/{service-status-5ytyqf1q.js → server-info-5ytyqf1q.js} +1 -1
- package/dist/chunks/{service-status-73mn2n3x.js → server-info-604r47cy.js} +3 -3
- package/dist/chunks/{service-status-72xpy55t.js → server-info-6hsf2c1e.js} +2 -2
- package/dist/chunks/{service-status-13tvbs17.js → server-info-7armztsr.js} +2 -2
- package/dist/chunks/{service-status-s1824482.js → server-info-7bgw0qp5.js} +5 -3
- package/dist/chunks/{service-status-9qc7495s.js → server-info-88ds18n0.js} +6 -6
- package/dist/chunks/{service-status-nqswsw3h.js → server-info-8me0mqmd.js} +2 -2
- package/dist/chunks/{service-status-c6kb7fmf.js → server-info-93wjydnn.js} +7 -7
- package/dist/chunks/{service-status-735x1s0d.js → server-info-adb03esn.js} +2 -2
- package/dist/chunks/{service-status-anm12x33.js → server-info-anm12x33.js} +1 -1
- package/dist/chunks/{service-status-4r8g7rwq.js → server-info-b3jp5nc2.js} +2 -2
- package/dist/chunks/{service-status-ywn523ee.js → server-info-b56hqv74.js} +12 -4
- package/dist/chunks/{service-status-75c938bc.js → server-info-bkk2wfbz.js} +7 -7
- package/dist/chunks/{service-status-qggsn6y0.js → server-info-gpx0gpd1.js} +2 -2
- package/dist/chunks/{service-status-19taf7de.js → server-info-hc75vmb2.js} +1 -1
- package/dist/chunks/{service-status-7thf5ymx.js → server-info-hg8rd19h.js} +31 -31
- package/dist/chunks/{service-status-vw0q3knq.js → server-info-j4zqsxgy.js} +1 -1
- package/dist/chunks/{service-status-0b39h07j.js → server-info-k136bvh5.js} +1 -1
- package/dist/chunks/{service-status-za5ked7f.js → server-info-k5mfyxdj.js} +16 -16
- package/dist/chunks/{service-status-ybxyv6z5.js → server-info-nnn3xt9j.js} +1 -1
- package/dist/chunks/{service-status-0q1fp77w.js → server-info-nqkf5k2k.js} +1 -1
- package/dist/chunks/{service-status-ysb51p4r.js → server-info-pc33848r.js} +2 -2
- package/dist/chunks/{service-status-8d0mn004.js → server-info-rkx9hda5.js} +2 -2
- package/dist/chunks/{service-status-10bq7mg4.js → server-info-rw74d7br.js} +1 -1
- package/dist/chunks/{service-status-p7hhg8cx.js → server-info-rwtj6z5q.js} +3 -3
- package/dist/chunks/{service-status-9e4rhycp.js → server-info-ryr0njrg.js} +2 -2
- package/dist/chunks/{service-status-sstsrjtg.js → server-info-sstsrjtg.js} +1 -1
- package/dist/chunks/{service-status-rjpqaa8h.js → server-info-tjpn0s1b.js} +5 -5
- package/dist/chunks/{service-status-f3xezvck.js → server-info-vfwf1dhc.js} +2 -2
- package/dist/chunks/{service-status-xsrtpxyd.js → server-info-vpz7f20y.js} +4 -4
- package/dist/chunks/{service-status-bwz286mg.js → server-info-x34tt0qt.js} +5 -2
- package/dist/chunks/{service-status-00mapsdc.js → server-info-y5j6n4zr.js} +2 -2
- package/dist/chunks/{service-status-p177e0cw.js → server-info-y9g6k1bm.js} +2 -2
- package/dist/chunks/{service-status-y4j04q8a.js → server-info-ymfkdnkb.js} +6 -6
- package/dist/chunks/{service-status-tr76qvg4.js → server-info-zj4vfrqs.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.d.ts +1 -1
- package/dist/fetch.js +49 -49
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +6 -6
- 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 +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.js +6 -6
- 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 +8 -8
- 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 +9 -9
- 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 +6 -6
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +43 -43
- package/dist/location.d.ts +3 -1
- package/dist/location.js +6 -4
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +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 +1 -1
- package/dist/process.d.ts +1 -1
- package/dist/process.js +51 -51
- package/dist/pty-environment.js +5 -5
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +2 -2
- package/dist/routes.js +46 -46
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +50 -50
- package/package.json +8 -8
- /package/dist/chunks/{service-status-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-erzfdgke.js → server-info-erzfdgke.js} +0 -0
- /package/dist/chunks/{service-status-h6rt5k9s.js → server-info-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → server-info-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
package/dist/location.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
2
2
|
import { Location } from "@opencode/core/location";
|
|
3
|
+
import { Plugin } from "@opencode/core/plugin";
|
|
3
4
|
import { LocationServiceMap } from "@opencode/core/location-services";
|
|
4
5
|
import { Session } from "@opencode/core/session";
|
|
5
|
-
import { LocationNotFoundError, InvalidRequestError } from "@opencode/protocol/errors";
|
|
6
|
+
import { LocationNotFoundError, InvalidRequestError, ServiceUnavailableError } from "@opencode/protocol/errors";
|
|
6
7
|
import { Effect, Layer } from "effect";
|
|
7
8
|
import { HttpServerRequest } from "effect/http";
|
|
8
9
|
import { HttpApiMiddleware } from "effect/http-api";
|
|
@@ -18,6 +19,7 @@ declare const LocationMiddleware_base: HttpApiMiddleware.ServiceClass<LocationMi
|
|
|
18
19
|
export declare class LocationMiddleware extends LocationMiddleware_base {
|
|
19
20
|
}
|
|
20
21
|
export declare function locationErrors<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, LocationNotFoundError | Exclude<E, Extract<E, FileSystem.DirectoryNotFoundError>>, R>;
|
|
22
|
+
export declare const awaitPlugins: Effect.Effect<void, ServiceUnavailableError, Plugin.Service>;
|
|
21
23
|
export declare function response<A, E, R>(data: Effect.Effect<A, E, R>): Effect.Effect<{
|
|
22
24
|
location: Location.Info;
|
|
23
25
|
data: A;
|
package/dist/location.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2,
|
|
3
3
|
locationErrors2,
|
|
4
|
+
awaitPlugins2,
|
|
4
5
|
response2,
|
|
5
6
|
sessionInfo2,
|
|
6
7
|
requestRef2,
|
|
7
|
-
|
|
8
|
-
} from "./chunks/
|
|
9
|
-
import"./chunks/
|
|
8
|
+
layer5
|
|
9
|
+
} from "./chunks/server-info-b56hqv74.js";
|
|
10
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
10
11
|
export {
|
|
11
12
|
LocationMiddleware2 as LocationMiddleware,
|
|
12
|
-
|
|
13
|
+
awaitPlugins2 as awaitPlugins,
|
|
14
|
+
layer5 as layer,
|
|
13
15
|
locationErrors2 as locationErrors,
|
|
14
16
|
requestRef2 as requestRef,
|
|
15
17
|
response2 as response,
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/server-info-5ytyqf1q.js";
|
|
7
|
+
import"../chunks/server-info-anm12x33.js";
|
|
8
8
|
export {
|
|
9
9
|
Authorization2 as Authorization,
|
|
10
10
|
authorizationLayer2 as authorizationLayer,
|
|
@@ -14,5 +14,5 @@ declare const FormLocationMiddleware_base: HttpApiMiddleware.ServiceClass<FormLo
|
|
|
14
14
|
}, HttpApiMiddleware.HttpApiMiddleware<Instance.Services, readonly [typeof InvalidRequestError, typeof SessionNotFoundError, typeof LocationNotFoundError], never>>;
|
|
15
15
|
export declare class FormLocationMiddleware extends FormLocationMiddleware_base {
|
|
16
16
|
}
|
|
17
|
-
export declare const formLocationLayer: Layer.Layer<FormLocationMiddleware, never,
|
|
17
|
+
export declare const formLocationLayer: Layer.Layer<FormLocationMiddleware, never, Session.Service | Instance.Service | LocationServiceMap.Service>;
|
|
18
18
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormLocationMiddleware2,
|
|
3
3
|
formLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/server-info-4hhhes7w.js";
|
|
5
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
6
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
FormLocationMiddleware2 as FormLocationMiddleware,
|
|
9
9
|
formLocationLayer2 as formLocationLayer
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionLocationMiddleware2,
|
|
3
3
|
sessionLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/server-info-j4zqsxgy.js";
|
|
5
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
6
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/pairing.js
CHANGED
package/dist/process.d.ts
CHANGED
|
@@ -32,13 +32,13 @@ export declare const start: <E, R>(options: {
|
|
|
32
32
|
readonly content?: string | undefined;
|
|
33
33
|
readonly file?: string | undefined;
|
|
34
34
|
} | undefined;
|
|
35
|
+
readonly port?: number | undefined;
|
|
35
36
|
readonly hostname?: string | undefined;
|
|
36
37
|
readonly cors?: readonly string[] | undefined;
|
|
37
38
|
readonly windows?: {
|
|
38
39
|
readonly gitbash?: string | undefined;
|
|
39
40
|
} | undefined;
|
|
40
41
|
readonly password?: string | undefined;
|
|
41
|
-
readonly port?: number | undefined;
|
|
42
42
|
readonly app?: {
|
|
43
43
|
readonly version?: string | undefined;
|
|
44
44
|
readonly name?: string | undefined;
|
package/dist/process.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/server-info-anm12x33.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/server-info-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
unauthorizedResponse2,
|
|
9
9
|
authorizedRequest2
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/server-info-5ytyqf1q.js";
|
|
11
11
|
import {
|
|
12
12
|
withoutParentSpan2
|
|
13
|
-
} from "./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/
|
|
13
|
+
} from "./chunks/server-info-yc7nft6q.js";
|
|
14
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
15
|
+
import"./chunks/server-info-b56hqv74.js";
|
|
16
|
+
import"./chunks/server-info-4hhhes7w.js";
|
|
17
|
+
import"./chunks/server-info-j4zqsxgy.js";
|
|
18
|
+
import"./chunks/server-info-2ac2kv4c.js";
|
|
19
|
+
import"./chunks/server-info-7bgw0qp5.js";
|
|
20
|
+
import"./chunks/server-info-7armztsr.js";
|
|
21
|
+
import"./chunks/server-info-x34tt0qt.js";
|
|
22
|
+
import"./chunks/server-info-y9g6k1bm.js";
|
|
23
|
+
import"./chunks/server-info-604r47cy.js";
|
|
24
|
+
import"./chunks/server-info-1ybjhnn1.js";
|
|
25
|
+
import"./chunks/server-info-y5j6n4zr.js";
|
|
26
|
+
import"./chunks/server-info-b3jp5nc2.js";
|
|
27
|
+
import"./chunks/server-info-4bxenate.js";
|
|
28
|
+
import"./chunks/server-info-3m0ygtwr.js";
|
|
29
|
+
import"./chunks/server-info-rw74d7br.js";
|
|
30
|
+
import"./chunks/server-info-tjpn0s1b.js";
|
|
31
|
+
import"./chunks/server-info-6hsf2c1e.js";
|
|
32
|
+
import"./chunks/server-info-1wyt3am5.js";
|
|
33
|
+
import"./chunks/server-info-adb03esn.js";
|
|
34
34
|
import {
|
|
35
35
|
connectionURLs2
|
|
36
|
-
} from "./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/
|
|
36
|
+
} from "./chunks/server-info-93wjydnn.js";
|
|
37
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
38
|
+
import"./chunks/server-info-ymfkdnkb.js";
|
|
39
|
+
import"./chunks/server-info-vfwf1dhc.js";
|
|
40
|
+
import"./chunks/server-info-bkk2wfbz.js";
|
|
41
|
+
import"./chunks/server-info-h6rt5k9s.js";
|
|
42
|
+
import"./chunks/server-info-1nrxyvqr.js";
|
|
43
|
+
import"./chunks/server-info-rwtj6z5q.js";
|
|
44
|
+
import"./chunks/server-info-gpx0gpd1.js";
|
|
45
|
+
import"./chunks/server-info-pc33848r.js";
|
|
46
|
+
import"./chunks/server-info-nqkf5k2k.js";
|
|
47
|
+
import"./chunks/server-info-rkx9hda5.js";
|
|
48
|
+
import"./chunks/server-info-ryr0njrg.js";
|
|
49
|
+
import"./chunks/server-info-0gbaaetm.js";
|
|
50
|
+
import"./chunks/server-info-hc75vmb2.js";
|
|
51
|
+
import"./chunks/server-info-5prskpqe.js";
|
|
52
|
+
import"./chunks/server-info-zj4vfrqs.js";
|
|
53
|
+
import"./chunks/server-info-8me0mqmd.js";
|
|
54
|
+
import"./chunks/server-info-nnn3xt9j.js";
|
|
55
|
+
import"./chunks/server-info-k136bvh5.js";
|
|
56
|
+
import"./chunks/server-info-hg8rd19h.js";
|
|
57
|
+
import"./chunks/server-info-erzfdgke.js";
|
|
58
58
|
import {
|
|
59
59
|
createRoutes2
|
|
60
|
-
} from "./chunks/
|
|
60
|
+
} from "./chunks/server-info-k5mfyxdj.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./chunks/
|
|
62
|
+
make4
|
|
63
|
+
} from "./chunks/server-info-vpz7f20y.js";
|
|
64
64
|
import {
|
|
65
65
|
__export
|
|
66
|
-
} from "./chunks/
|
|
66
|
+
} from "./chunks/server-info-9rqn6x4v.js";
|
|
67
67
|
|
|
68
68
|
// src/process.ts
|
|
69
69
|
var exports_process = {};
|
|
@@ -90,7 +90,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
90
90
|
const hostname = options.hostname ?? "127.0.0.1";
|
|
91
91
|
const port = Option.fromNullishOr(options.port);
|
|
92
92
|
const shutdown = yield* Latch.make();
|
|
93
|
-
const status = yield*
|
|
93
|
+
const status = yield* make4();
|
|
94
94
|
const bound = yield* listen({ hostname, port });
|
|
95
95
|
const localURLs = () => {
|
|
96
96
|
const address = bound.server.address();
|
package/dist/pty-environment.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service2,
|
|
3
|
+
layer2,
|
|
4
4
|
node2,
|
|
5
5
|
exports_pty_environment
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/server-info-bkk2wfbz.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_pty_environment as PtyEnvironment,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Service2 as Service,
|
|
10
|
+
layer2 as layer,
|
|
11
11
|
node2 as node
|
|
12
12
|
};
|
package/dist/request-tracing.js
CHANGED
package/dist/routes.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import { Layer } from "effect";
|
|
|
25
25
|
import { PtyEnvironment } from "./pty-environment";
|
|
26
26
|
import { ServerPairing } from "./pairing";
|
|
27
27
|
import type { ServerOptions } from "./options";
|
|
28
|
-
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<import("effect/http/HttpClient").HttpClient | Global.Service | Database.Service | Bus.Service | Project.Service | Workspace.Service |
|
|
28
|
+
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<import("effect/http/HttpClient").HttpClient | Global.Service | Database.Service | Bus.Service | Project.Service | Workspace.Service | PersistentPty.Service | Credential.Service | WellKnown.Service | PermissionSaved.Service | SdkPlugins.Service | PluginUpdate.Service | Job.Service | Session.Service | Worktree.Service | Instance.Service | LocationServiceMap.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | ServerPairing.Service | PtyEnvironment.Service | HttpRouter.HttpRouter, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform>;
|
|
29
29
|
type InstanceNode = (replacements: () => LayerNode.Replacements) => LayerNode.Provider<Instance.Service, never, typeof Node.tags.values.global>;
|
|
30
|
-
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<import("effect/http/HttpClient").HttpClient | Global.Service | Database.Service | Bus.Service | Project.Service | Workspace.Service |
|
|
30
|
+
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<import("effect/http/HttpClient").HttpClient | Global.Service | Database.Service | Bus.Service | Project.Service | Workspace.Service | PersistentPty.Service | Credential.Service | WellKnown.Service | PermissionSaved.Service | SdkPlugins.Service | PluginUpdate.Service | Job.Service | Session.Service | Worktree.Service | Instance.Service | LocationServiceMap.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | ServerPairing.Service | PtyEnvironment.Service | HttpRouter.HttpRouter, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform>;
|
|
31
31
|
export {};
|
package/dist/routes.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
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/
|
|
4
|
+
} from "./chunks/server-info-k5mfyxdj.js";
|
|
5
|
+
import"./chunks/server-info-erzfdgke.js";
|
|
6
|
+
import"./chunks/server-info-5ytyqf1q.js";
|
|
7
|
+
import"./chunks/server-info-hg8rd19h.js";
|
|
8
|
+
import"./chunks/server-info-x34tt0qt.js";
|
|
9
|
+
import"./chunks/server-info-pc33848r.js";
|
|
10
|
+
import"./chunks/server-info-k136bvh5.js";
|
|
11
|
+
import"./chunks/server-info-ryr0njrg.js";
|
|
12
|
+
import"./chunks/server-info-b3jp5nc2.js";
|
|
13
|
+
import"./chunks/server-info-3m0ygtwr.js";
|
|
14
|
+
import"./chunks/server-info-7bgw0qp5.js";
|
|
15
|
+
import"./chunks/server-info-vfwf1dhc.js";
|
|
16
|
+
import"./chunks/server-info-5prskpqe.js";
|
|
17
|
+
import"./chunks/server-info-1ybjhnn1.js";
|
|
18
|
+
import"./chunks/server-info-7armztsr.js";
|
|
19
|
+
import"./chunks/server-info-8me0mqmd.js";
|
|
20
|
+
import"./chunks/server-info-ymfkdnkb.js";
|
|
21
|
+
import"./chunks/server-info-nnn3xt9j.js";
|
|
22
|
+
import"./chunks/server-info-rwtj6z5q.js";
|
|
23
|
+
import"./chunks/server-info-1wyt3am5.js";
|
|
24
|
+
import"./chunks/server-info-rw74d7br.js";
|
|
25
|
+
import"./chunks/server-info-rkx9hda5.js";
|
|
26
|
+
import"./chunks/server-info-hc75vmb2.js";
|
|
27
|
+
import"./chunks/server-info-zj4vfrqs.js";
|
|
28
|
+
import"./chunks/server-info-604r47cy.js";
|
|
29
|
+
import"./chunks/server-info-y9g6k1bm.js";
|
|
30
|
+
import"./chunks/server-info-adb03esn.js";
|
|
31
|
+
import"./chunks/server-info-gpx0gpd1.js";
|
|
32
|
+
import"./chunks/server-info-1nrxyvqr.js";
|
|
33
|
+
import"./chunks/server-info-h6rt5k9s.js";
|
|
34
|
+
import"./chunks/server-info-nqkf5k2k.js";
|
|
35
|
+
import"./chunks/server-info-0gbaaetm.js";
|
|
36
|
+
import"./chunks/server-info-y5j6n4zr.js";
|
|
37
|
+
import"./chunks/server-info-6hsf2c1e.js";
|
|
38
|
+
import"./chunks/server-info-4bxenate.js";
|
|
39
|
+
import"./chunks/server-info-2ac2kv4c.js";
|
|
40
|
+
import"./chunks/server-info-4hhhes7w.js";
|
|
41
|
+
import"./chunks/server-info-j4zqsxgy.js";
|
|
42
|
+
import"./chunks/server-info-bkk2wfbz.js";
|
|
43
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
44
|
+
import"./chunks/server-info-tjpn0s1b.js";
|
|
45
|
+
import"./chunks/server-info-93wjydnn.js";
|
|
46
|
+
import"./chunks/server-info-anm12x33.js";
|
|
47
|
+
import"./chunks/server-info-b56hqv74.js";
|
|
48
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
49
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
50
50
|
export {
|
|
51
51
|
createEmbeddedRoutes2 as createEmbeddedRoutes,
|
|
52
52
|
createRoutes2 as createRoutes
|
package/dist/server-info.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service4,
|
|
3
|
+
layer4,
|
|
4
4
|
connectionURLs2,
|
|
5
5
|
exports_server_info
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/server-info-93wjydnn.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_server_info as ServerInfo,
|
|
9
|
-
|
|
9
|
+
Service4 as Service,
|
|
10
10
|
connectionURLs2 as connectionURLs,
|
|
11
|
-
|
|
11
|
+
layer4 as layer
|
|
12
12
|
};
|
package/dist/service-status.js
CHANGED
package/dist/workerd.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
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/
|
|
1
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
2
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
3
|
+
import"./chunks/server-info-b56hqv74.js";
|
|
4
|
+
import"./chunks/server-info-4hhhes7w.js";
|
|
5
|
+
import"./chunks/server-info-j4zqsxgy.js";
|
|
6
|
+
import"./chunks/server-info-2ac2kv4c.js";
|
|
7
|
+
import"./chunks/server-info-anm12x33.js";
|
|
8
|
+
import"./chunks/server-info-7bgw0qp5.js";
|
|
9
|
+
import"./chunks/server-info-7armztsr.js";
|
|
10
|
+
import"./chunks/server-info-x34tt0qt.js";
|
|
11
|
+
import"./chunks/server-info-y9g6k1bm.js";
|
|
12
|
+
import"./chunks/server-info-604r47cy.js";
|
|
13
|
+
import"./chunks/server-info-1ybjhnn1.js";
|
|
14
|
+
import"./chunks/server-info-y5j6n4zr.js";
|
|
15
|
+
import"./chunks/server-info-b3jp5nc2.js";
|
|
16
|
+
import"./chunks/server-info-4bxenate.js";
|
|
17
|
+
import"./chunks/server-info-3m0ygtwr.js";
|
|
18
|
+
import"./chunks/server-info-rw74d7br.js";
|
|
19
|
+
import"./chunks/server-info-tjpn0s1b.js";
|
|
20
|
+
import"./chunks/server-info-6hsf2c1e.js";
|
|
21
|
+
import"./chunks/server-info-1wyt3am5.js";
|
|
22
|
+
import"./chunks/server-info-adb03esn.js";
|
|
23
|
+
import"./chunks/server-info-93wjydnn.js";
|
|
24
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
25
|
+
import"./chunks/server-info-ymfkdnkb.js";
|
|
26
|
+
import"./chunks/server-info-vfwf1dhc.js";
|
|
27
|
+
import"./chunks/server-info-bkk2wfbz.js";
|
|
28
|
+
import"./chunks/server-info-h6rt5k9s.js";
|
|
29
|
+
import"./chunks/server-info-1nrxyvqr.js";
|
|
30
|
+
import"./chunks/server-info-rwtj6z5q.js";
|
|
31
|
+
import"./chunks/server-info-gpx0gpd1.js";
|
|
32
|
+
import"./chunks/server-info-pc33848r.js";
|
|
33
|
+
import"./chunks/server-info-nqkf5k2k.js";
|
|
34
|
+
import"./chunks/server-info-rkx9hda5.js";
|
|
35
|
+
import"./chunks/server-info-ryr0njrg.js";
|
|
36
|
+
import"./chunks/server-info-0gbaaetm.js";
|
|
37
|
+
import"./chunks/server-info-hc75vmb2.js";
|
|
38
|
+
import"./chunks/server-info-5prskpqe.js";
|
|
39
|
+
import"./chunks/server-info-zj4vfrqs.js";
|
|
40
|
+
import"./chunks/server-info-8me0mqmd.js";
|
|
41
|
+
import"./chunks/server-info-nnn3xt9j.js";
|
|
42
|
+
import"./chunks/server-info-k136bvh5.js";
|
|
43
|
+
import"./chunks/server-info-hg8rd19h.js";
|
|
44
|
+
import"./chunks/server-info-5ytyqf1q.js";
|
|
45
|
+
import"./chunks/server-info-erzfdgke.js";
|
|
46
|
+
import"./chunks/server-info-k5mfyxdj.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunks/
|
|
48
|
+
make2
|
|
49
|
+
} from "./chunks/server-info-88ds18n0.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./chunks/
|
|
52
|
+
} from "./chunks/server-info-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/workerd.ts
|
|
55
55
|
var exports_workerd = {};
|
|
@@ -71,7 +71,7 @@ import { Snapshot } from "@opencode/core/snapshot";
|
|
|
71
71
|
import { Vcs } from "@opencode/core/vcs";
|
|
72
72
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
73
73
|
function create(options) {
|
|
74
|
-
return
|
|
74
|
+
return make2(serverOptions(options), { overrides: replacements(options) });
|
|
75
75
|
}
|
|
76
76
|
function serverOptions(options) {
|
|
77
77
|
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-20800",
|
|
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.118",
|
|
32
32
|
"@effect/platform-node-shared": "4.0.0-rc.118",
|
|
33
|
-
"@opencode/core": "0.0.0-dev-
|
|
34
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
35
|
-
"@opencode/schema": "0.0.0-dev-
|
|
36
|
-
"@opencode/simulation": "0.0.0-dev-
|
|
37
|
-
"@opencode/util": "0.0.0-dev-
|
|
33
|
+
"@opencode/core": "0.0.0-dev-20800",
|
|
34
|
+
"@opencode/protocol": "0.0.0-dev-20800",
|
|
35
|
+
"@opencode/schema": "0.0.0-dev-20800",
|
|
36
|
+
"@opencode/simulation": "0.0.0-dev-20800",
|
|
37
|
+
"@opencode/util": "0.0.0-dev-20800",
|
|
38
38
|
"effect": "4.0.0-rc.118"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@opencode-ai/pty": "0.2.0",
|
|
42
|
-
"@opencode/client": "0.0.0-dev-
|
|
43
|
-
"@opencode/plugin": "0.0.0-dev-
|
|
42
|
+
"@opencode/client": "0.0.0-dev-20800",
|
|
43
|
+
"@opencode/plugin": "0.0.0-dev-20800",
|
|
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",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|