@opencode/server 0.0.0-dev-1335 → 0.0.0-dev-1336
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/{workerd-d0advawr.js → media-uri-100nc7c0.js} +2 -2
- package/dist/chunks/{workerd-zrptb2x8.js → media-uri-2cm4dfcc.js} +2 -2
- package/dist/chunks/{workerd-a73r5s54.js → media-uri-2dfpsz22.js} +16 -16
- package/dist/chunks/{workerd-pv4dnzzq.js → media-uri-2dzr03as.js} +1 -1
- package/dist/chunks/{workerd-gp51b0m6.js → media-uri-2rb1ee6g.js} +3 -3
- package/dist/chunks/{workerd-e6e4kz0w.js → media-uri-39nnfjx1.js} +4 -4
- package/dist/chunks/{workerd-wecgp61r.js → media-uri-3p9jwgak.js} +7 -7
- package/dist/chunks/{workerd-k26h7zjg.js → media-uri-4fc68szf.js} +2 -2
- package/dist/chunks/{workerd-edwk6ehd.js → media-uri-4zkx9wb3.js} +1 -1
- package/dist/chunks/{workerd-50kbksvb.js → media-uri-50kbksvb.js} +2 -2
- package/dist/chunks/{workerd-b87bs0cf.js → media-uri-5jm9kajg.js} +2 -2
- package/dist/chunks/{workerd-t62b1gmw.js → media-uri-7qpea5x7.js} +2 -2
- package/dist/chunks/{workerd-7ydfwv45.js → media-uri-7ydfwv45.js} +1 -1
- package/dist/chunks/{workerd-b1x3j2e8.js → media-uri-801prsqk.js} +2 -2
- package/dist/chunks/{workerd-75gzc439.js → media-uri-8emje807.js} +35 -35
- package/dist/chunks/{workerd-7x6cg3xs.js → media-uri-8ja97vv6.js} +2 -2
- package/dist/chunks/{workerd-8sb6qqpn.js → media-uri-8sb6qqpn.js} +1 -1
- package/dist/chunks/{workerd-9cd3a4b8.js → media-uri-9cd3a4b8.js} +1 -1
- package/dist/chunks/{workerd-86dz2n4m.js → media-uri-9t07vtvz.js} +2 -2
- package/dist/chunks/{workerd-n6ypjnhz.js → media-uri-ah2sj2pr.js} +1 -1
- package/dist/chunks/{workerd-p3ekc874.js → media-uri-ccr1pbeb.js} +2 -2
- package/dist/chunks/{workerd-g97h7k0s.js → media-uri-d20xfnpc.js} +1 -1
- package/dist/chunks/{workerd-djr0jy89.js → media-uri-djr0jy89.js} +1 -1
- package/dist/chunks/{workerd-yzgs4a8s.js → media-uri-dqkkyd1s.js} +8 -8
- package/dist/chunks/{workerd-bvm82fhd.js → media-uri-e6fa1pnt.js} +4 -4
- package/dist/chunks/{workerd-6s1v5h8n.js → media-uri-f6neghkd.js} +4 -4
- package/dist/chunks/{workerd-8n1ypg70.js → media-uri-gq4jwh93.js} +3 -3
- package/dist/chunks/{workerd-4r2ye500.js → media-uri-hk9crnsa.js} +2 -2
- package/dist/chunks/{workerd-j4at0y5c.js → media-uri-j4at0y5c.js} +1 -1
- package/dist/chunks/{workerd-4apj6a8e.js → media-uri-jmmhprac.js} +2 -2
- package/dist/chunks/{workerd-nkfbbfe7.js → media-uri-jr92t6gd.js} +4 -4
- package/dist/chunks/{workerd-w9jcwh65.js → media-uri-kqr36gas.js} +7 -7
- package/dist/chunks/{workerd-4d81c38p.js → media-uri-ky9xhfwk.js} +4 -4
- package/dist/chunks/{workerd-myqk22k5.js → media-uri-myqk22k5.js} +2 -2
- package/dist/chunks/{workerd-x0gby756.js → media-uri-ncbyzm67.js} +4 -4
- package/dist/chunks/{workerd-6t6fd9bq.js → media-uri-p83m65n5.js} +2 -2
- package/dist/chunks/{workerd-wh07bcjv.js → media-uri-prn0chz2.js} +1 -1
- package/dist/chunks/{workerd-20wvj9q6.js → media-uri-r40v995e.js} +2 -2
- package/dist/chunks/{workerd-rktygpea.js → media-uri-rktygpea.js} +1 -1
- package/dist/chunks/{workerd-p4zkxzv7.js → media-uri-rmfb1myj.js} +1 -1
- package/dist/chunks/{workerd-v0z8pce5.js → media-uri-s3zgwc17.js} +2 -2
- package/dist/chunks/{workerd-hsd3542p.js → media-uri-s8fea5b1.js} +8 -8
- package/dist/chunks/{workerd-kzyqwmgz.js → media-uri-smk1kdd8.js} +9 -9
- package/dist/chunks/{workerd-t32e1bbt.js → media-uri-t32e1bbt.js} +1 -1
- package/dist/chunks/{workerd-qahj7606.js → media-uri-vw0q3knq.js} +1 -1
- package/dist/chunks/{workerd-g80pvn6e.js → media-uri-w3xmknp7.js} +2 -2
- package/dist/chunks/{workerd-t8azv5ge.js → media-uri-wka57cdm.js} +2 -2
- package/dist/chunks/{workerd-b7yt2ykh.js → media-uri-y60jfeab.js} +2 -2
- package/dist/chunks/{workerd-z3e7v67k.js → media-uri-yjbzmfhm.js} +7 -7
- package/dist/chunks/{workerd-4gbck4qg.js → media-uri-ykk3p1r3.js} +2 -2
- package/dist/chunks/{workerd-p9wp66hf.js → media-uri-yty6dk04.js} +1 -1
- package/dist/chunks/{workerd-j80tzjj3.js → media-uri-ywn523ee.js} +3 -3
- package/dist/chunks/{workerd-s8t5gq7c.js → media-uri-zjmacp9c.js} +3 -3
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +62 -62
- 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/machine.js +1 -1
- 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 +16 -16
- 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 +53 -53
- 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 +63 -63
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +57 -57
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +63 -63
- package/package.json +8 -8
- /package/dist/chunks/{workerd-0rzj25w4.js → media-uri-0rzj25w4.js} +0 -0
- /package/dist/chunks/{workerd-9rqn6x4v.js → media-uri-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workerd-bd8755ek.js → media-uri-bd8755ek.js} +0 -0
- /package/dist/chunks/{workerd-n26yr6pw.js → media-uri-n26yr6pw.js} +0 -0
- /package/dist/chunks/{workerd-q187pxxd.js → media-uri-q187pxxd.js} +0 -0
- /package/dist/chunks/{workerd-q4bn6dy8.js → media-uri-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{workerd-smaf4a18.js → media-uri-smaf4a18.js} +0 -0
- /package/dist/chunks/{workerd-xthc02cw.js → media-uri-xthc02cw.js} +0 -0
- /package/dist/chunks/{workerd-yc7nft6q.js → media-uri-yc7nft6q.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./media-uri-ywn523ee.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./media-uri-zjmacp9c.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./media-uri-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2,
|
|
15
15
|
holdLocation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./media-uri-q187pxxd.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/pty.ts
|
|
19
19
|
import { Pty } from "@opencode/core/pty";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/pairing.ts
|
|
6
6
|
var exports_pairing = {};
|
|
7
7
|
__export(exports_pairing, {
|
|
8
8
|
ServerPairing: () => exports_pairing,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service2,
|
|
10
10
|
node: () => node2
|
|
11
11
|
});
|
|
12
12
|
import { Cache, Context, Duration, Effect, Layer } from "effect";
|
|
@@ -14,12 +14,12 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
14
14
|
import { randomBytes } from "node:crypto";
|
|
15
15
|
var TTL = Duration.minutes(5);
|
|
16
16
|
|
|
17
|
-
class
|
|
17
|
+
class Service2 extends Context.Service()("@opencode/ServerPairing") {
|
|
18
18
|
}
|
|
19
19
|
var noLookup = () => Effect.die(new Error("ServerPairing cache must be used via set/invalidateWhen, never get"));
|
|
20
|
-
var layer = Layer.effect(
|
|
20
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
21
21
|
const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
|
|
22
|
-
return
|
|
22
|
+
return Service2.of({
|
|
23
23
|
issue: Effect.fn("ServerPairing.issue")(function* () {
|
|
24
24
|
const code = randomBytes(16).toString("base64url");
|
|
25
25
|
yield* Cache.set(cache, code, true);
|
|
@@ -30,6 +30,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
32
|
}));
|
|
33
|
-
var node2 = makeGlobalNode({ service:
|
|
33
|
+
var node2 = makeGlobalNode({ service: Service2, layer, deps: [] });
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Service2, node2, exports_pairing };
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
missingMessage2,
|
|
4
4
|
failedMessageDecode2,
|
|
5
5
|
failedSnapshot2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-smaf4a18.js";
|
|
7
7
|
import {
|
|
8
8
|
locationErrors2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./media-uri-ywn523ee.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./media-uri-zjmacp9c.js";
|
|
13
13
|
import {
|
|
14
14
|
wantsMediaRefs2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./media-uri-xthc02cw.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/session.ts
|
|
18
18
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
import {
|
|
8
8
|
download2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./media-uri-t32e1bbt.js";
|
|
10
10
|
import {
|
|
11
11
|
parse2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./media-uri-8sb6qqpn.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/fs.ts
|
|
15
15
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/provider.ts
|
|
9
9
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/voice.ts
|
|
9
9
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-zjmacp9c.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./media-uri-j4at0y5c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service4
|
|
12
|
+
} from "./media-uri-yjbzmfhm.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service2
|
|
15
|
+
} from "./media-uri-kqr36gas.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { hostname } from "node:os";
|
|
@@ -22,10 +22,10 @@ import { HttpApiBuilder } from "effect/http-api";
|
|
|
22
22
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
23
23
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
24
24
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
25
|
-
const pairing = yield*
|
|
25
|
+
const pairing = yield* Service2;
|
|
26
26
|
const auth = yield* Config2;
|
|
27
27
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
28
|
-
const info = yield*
|
|
28
|
+
const info = yield* Service4;
|
|
29
29
|
return {
|
|
30
30
|
version: info.app.version ?? "unknown",
|
|
31
31
|
pid: process.pid ?? 0,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-zjmacp9c.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./media-uri-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
makeArtifact2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./media-uri-7qpea5x7.js";
|
|
11
11
|
import {
|
|
12
12
|
makeBlobGet2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./media-uri-50kbksvb.js";
|
|
14
14
|
import {
|
|
15
15
|
makeAutomation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./media-uri-9cd3a4b8.js";
|
|
17
17
|
import {
|
|
18
18
|
makeJob2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./media-uri-7ydfwv45.js";
|
|
20
20
|
import {
|
|
21
21
|
makeMachineLink2,
|
|
22
22
|
makeMachine2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./media-uri-0rzj25w4.js";
|
|
24
24
|
import {
|
|
25
25
|
makeMediaGet2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./media-uri-djr0jy89.js";
|
|
27
27
|
import {
|
|
28
28
|
runPtySocket2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./media-uri-q187pxxd.js";
|
|
30
30
|
|
|
31
31
|
// src/handlers/persistent-pty.ts
|
|
32
32
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/server-info.ts
|
|
6
6
|
var exports_server_info = {};
|
|
7
7
|
__export(exports_server_info, {
|
|
8
8
|
ServerInfo: () => exports_server_info,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
10
|
connectionURLs: () => connectionURLs2,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { networkInterfaces } from "node:os";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/server/ServerInfo") {
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return Layer.succeed(
|
|
18
|
+
function layer3(urls, tmp, app = {}) {
|
|
19
|
+
return Layer.succeed(Service4, Service4.of({ urls, app, paths: { tmp } }));
|
|
20
20
|
}
|
|
21
21
|
function connectionURLs2(value, requestedHostname) {
|
|
22
22
|
const url = new URL(value);
|
|
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
|
|
|
38
38
|
];
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Service4, layer3, connectionURLs2, exports_server_info };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-zjmacp9c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/usage.ts
|
|
9
9
|
import { UsageLimits } from "@opencode/core/usage-limits";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-smaf4a18.js";
|
|
4
4
|
|
|
5
5
|
// src/location.ts
|
|
6
6
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -51,7 +51,7 @@ function decode(input) {
|
|
|
51
51
|
return input;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
55
55
|
const locations = yield* LocationServiceMap.Service;
|
|
56
56
|
return LocationMiddleware2.of((effect) => Effect.gen(function* () {
|
|
57
57
|
const request = yield* HttpServerRequest.HttpServerRequest;
|
|
@@ -59,4 +59,4 @@ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
|
59
59
|
}));
|
|
60
60
|
}));
|
|
61
61
|
|
|
62
|
-
export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2,
|
|
62
|
+
export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./media-uri-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./media-uri-ah2sj2pr.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./media-uri-vw0q3knq.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
package/dist/content-headers.js
CHANGED
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
SubscriberCapacity2,
|
|
3
3
|
SubscriberOverflowError2,
|
|
4
4
|
EncodingError2,
|
|
5
|
-
|
|
5
|
+
Service3,
|
|
6
6
|
frame2,
|
|
7
7
|
make4,
|
|
8
|
-
|
|
8
|
+
layer2,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/media-uri-3p9jwgak.js";
|
|
11
11
|
export {
|
|
12
12
|
EncodingError2 as EncodingError,
|
|
13
13
|
exports_event_feed as EventFeed,
|
|
14
|
-
|
|
14
|
+
Service3 as Service,
|
|
15
15
|
SubscriberCapacity2 as SubscriberCapacity,
|
|
16
16
|
SubscriberOverflowError2 as SubscriberOverflowError,
|
|
17
17
|
frame2 as frame,
|
|
18
|
-
|
|
18
|
+
layer2 as layer,
|
|
19
19
|
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
make3,
|
|
3
3
|
exports_fetch
|
|
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/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/media-uri-dqkkyd1s.js";
|
|
5
|
+
import"./chunks/media-uri-myqk22k5.js";
|
|
6
|
+
import"./chunks/media-uri-yc7nft6q.js";
|
|
7
|
+
import"./chunks/media-uri-2dfpsz22.js";
|
|
8
|
+
import"./chunks/media-uri-bd8755ek.js";
|
|
9
|
+
import"./chunks/media-uri-rktygpea.js";
|
|
10
|
+
import"./chunks/media-uri-n26yr6pw.js";
|
|
11
|
+
import"./chunks/media-uri-8emje807.js";
|
|
12
|
+
import"./chunks/media-uri-s3zgwc17.js";
|
|
13
|
+
import"./chunks/media-uri-ncbyzm67.js";
|
|
14
|
+
import"./chunks/media-uri-8ja97vv6.js";
|
|
15
|
+
import"./chunks/media-uri-9t07vtvz.js";
|
|
16
|
+
import"./chunks/media-uri-gq4jwh93.js";
|
|
17
|
+
import"./chunks/media-uri-yty6dk04.js";
|
|
18
|
+
import"./chunks/media-uri-wka57cdm.js";
|
|
19
|
+
import"./chunks/media-uri-y60jfeab.js";
|
|
20
|
+
import"./chunks/media-uri-smk1kdd8.js";
|
|
21
|
+
import"./chunks/media-uri-0rzj25w4.js";
|
|
22
|
+
import"./chunks/media-uri-7qpea5x7.js";
|
|
23
|
+
import"./chunks/media-uri-prn0chz2.js";
|
|
24
|
+
import"./chunks/media-uri-4fc68szf.js";
|
|
25
|
+
import"./chunks/media-uri-2rb1ee6g.js";
|
|
26
|
+
import"./chunks/media-uri-2cm4dfcc.js";
|
|
27
|
+
import"./chunks/media-uri-p83m65n5.js";
|
|
28
|
+
import"./chunks/media-uri-50kbksvb.js";
|
|
29
|
+
import"./chunks/media-uri-9cd3a4b8.js";
|
|
30
|
+
import"./chunks/media-uri-2dzr03as.js";
|
|
31
|
+
import"./chunks/media-uri-rmfb1myj.js";
|
|
32
|
+
import"./chunks/media-uri-e6fa1pnt.js";
|
|
33
|
+
import"./chunks/media-uri-ky9xhfwk.js";
|
|
34
|
+
import"./chunks/media-uri-w3xmknp7.js";
|
|
35
|
+
import"./chunks/media-uri-f6neghkd.js";
|
|
36
|
+
import"./chunks/media-uri-100nc7c0.js";
|
|
37
|
+
import"./chunks/media-uri-jmmhprac.js";
|
|
38
|
+
import"./chunks/media-uri-jr92t6gd.js";
|
|
39
|
+
import"./chunks/media-uri-7ydfwv45.js";
|
|
40
|
+
import"./chunks/media-uri-d20xfnpc.js";
|
|
41
|
+
import"./chunks/media-uri-5jm9kajg.js";
|
|
42
|
+
import"./chunks/media-uri-801prsqk.js";
|
|
43
|
+
import"./chunks/media-uri-4zkx9wb3.js";
|
|
44
|
+
import"./chunks/media-uri-ykk3p1r3.js";
|
|
45
|
+
import"./chunks/media-uri-q187pxxd.js";
|
|
46
|
+
import"./chunks/media-uri-s8fea5b1.js";
|
|
47
|
+
import"./chunks/media-uri-hk9crnsa.js";
|
|
48
|
+
import"./chunks/media-uri-ccr1pbeb.js";
|
|
49
|
+
import"./chunks/media-uri-r40v995e.js";
|
|
50
|
+
import"./chunks/media-uri-djr0jy89.js";
|
|
51
|
+
import"./chunks/media-uri-kqr36gas.js";
|
|
52
|
+
import"./chunks/media-uri-q4bn6dy8.js";
|
|
53
|
+
import"./chunks/media-uri-t32e1bbt.js";
|
|
54
|
+
import"./chunks/media-uri-8sb6qqpn.js";
|
|
55
|
+
import"./chunks/media-uri-3p9jwgak.js";
|
|
56
|
+
import"./chunks/media-uri-xthc02cw.js";
|
|
57
|
+
import"./chunks/media-uri-j4at0y5c.js";
|
|
58
|
+
import"./chunks/media-uri-yjbzmfhm.js";
|
|
59
|
+
import"./chunks/media-uri-zjmacp9c.js";
|
|
60
|
+
import"./chunks/media-uri-vw0q3knq.js";
|
|
61
|
+
import"./chunks/media-uri-ah2sj2pr.js";
|
|
62
|
+
import"./chunks/media-uri-ywn523ee.js";
|
|
63
|
+
import"./chunks/media-uri-smaf4a18.js";
|
|
64
64
|
export {
|
|
65
65
|
exports_fetch as ServerFetch,
|
|
66
|
-
|
|
66
|
+
make3 as make
|
|
67
67
|
};
|