@opencode/server 0.0.0-dev-1344 → 0.0.0-dev-1346
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/{event-feed-9chkqb53.js → options-1bx0qbf8.js} +4 -4
- package/dist/chunks/{event-feed-s5mbzc2x.js → options-1jwvq3yw.js} +35 -35
- package/dist/chunks/{event-feed-vxppfe3v.js → options-1s2hfsfr.js} +4 -4
- package/dist/chunks/{event-feed-ryf8gt7t.js → options-20wvj9q6.js} +2 -2
- package/dist/chunks/{event-feed-39nnfjx1.js → options-39nnfjx1.js} +1 -1
- package/dist/chunks/{event-feed-c0pd5awd.js → options-4apj6a8e.js} +2 -2
- package/dist/chunks/{event-feed-n7n1k6t0.js → options-4gbck4qg.js} +2 -2
- package/dist/chunks/{event-feed-2b13xzyt.js → options-4r2ye500.js} +2 -2
- package/dist/chunks/{event-feed-g23ffrnz.js → options-50kbksvb.js} +2 -2
- package/dist/chunks/{event-feed-5nse9yca.js → options-6s1v5h8n.js} +2 -2
- package/dist/chunks/{event-feed-yzm8bgsp.js → options-6s5ea070.js} +5 -5
- package/dist/chunks/{event-feed-065pppgn.js → options-6t6fd9bq.js} +2 -2
- package/dist/chunks/{event-feed-3svx81fb.js → options-7t0tq67e.js} +3 -3
- package/dist/chunks/{event-feed-fhb2ewd9.js → options-7x6cg3xs.js} +2 -2
- package/dist/chunks/{event-feed-7ydfwv45.js → options-7ydfwv45.js} +1 -1
- package/dist/chunks/{event-feed-z4znncxg.js → options-86dz2n4m.js} +2 -2
- package/dist/chunks/{event-feed-1fzmkwcj.js → options-8mfdzabk.js} +2 -2
- package/dist/chunks/{event-feed-669rq3zn.js → options-8n1ypg70.js} +3 -3
- package/dist/chunks/{event-feed-92b3624b.js → options-8qp1zyc6.js} +9 -9
- package/dist/chunks/{event-feed-8sb6qqpn.js → options-8sb6qqpn.js} +1 -1
- package/dist/chunks/{event-feed-xhsknm82.js → options-b1x3j2e8.js} +2 -2
- package/dist/chunks/{event-feed-500wz90y.js → options-b7yt2ykh.js} +2 -2
- package/dist/chunks/{event-feed-27f8nny0.js → options-b87bs0cf.js} +2 -2
- package/dist/chunks/{event-feed-ahhjt1wh.js → options-d0advawr.js} +2 -2
- package/dist/chunks/{event-feed-djr0jy89.js → options-djr0jy89.js} +1 -1
- package/dist/chunks/{event-feed-0tp9bckc.js → options-edwk6ehd.js} +1 -1
- package/dist/chunks/{event-feed-jf2qxw3x.js → options-eybg47bf.js} +4 -4
- package/dist/chunks/{event-feed-z030czn6.js → options-g80pvn6e.js} +2 -2
- package/dist/chunks/{event-feed-j9bm09j4.js → options-g97h7k0s.js} +1 -1
- package/dist/chunks/{event-feed-hgrkvk6s.js → options-hgrkvk6s.js} +1 -1
- package/dist/chunks/{event-feed-j4at0y5c.js → options-j4at0y5c.js} +1 -1
- package/dist/chunks/{event-feed-ywn523ee.js → options-j80tzjj3.js} +3 -3
- package/dist/chunks/{event-feed-nezkqcz0.js → options-k26h7zjg.js} +2 -2
- package/dist/chunks/{event-feed-hmwn16zp.js → options-myqk22k5.js} +2 -2
- package/dist/chunks/{event-feed-ah2sj2pr.js → options-n6ypjnhz.js} +1 -1
- package/dist/chunks/{event-feed-k3qt4jsw.js → options-p4zkxzv7.js} +1 -1
- package/dist/chunks/{event-feed-2q06e3dd.js → options-p9wp66hf.js} +1 -1
- package/dist/chunks/{event-feed-686pfpv7.js → options-pb8akwr3.js} +14 -14
- package/dist/chunks/{event-feed-ghcy4ddk.js → options-pv4dnzzq.js} +1 -1
- package/dist/chunks/{event-feed-vw0q3knq.js → options-qahj7606.js} +1 -1
- package/dist/chunks/{event-feed-rktygpea.js → options-rktygpea.js} +1 -1
- package/dist/chunks/{event-feed-8pn9ceqg.js → options-s8t5gq7c.js} +3 -3
- package/dist/chunks/{event-feed-t32e1bbt.js → options-t32e1bbt.js} +1 -1
- package/dist/chunks/{event-feed-7qpea5x7.js → options-t62b1gmw.js} +2 -2
- package/dist/chunks/{event-feed-yr4jk19s.js → options-t8azv5ge.js} +2 -2
- package/dist/chunks/{event-feed-qsgjjjnj.js → options-tdx0cx27.js} +8 -8
- package/dist/chunks/{event-feed-xygx09yd.js → options-v0z8pce5.js} +2 -2
- package/dist/chunks/{event-feed-dcnkmm29.js → options-w0qzmhfg.js} +4 -4
- package/dist/chunks/{event-feed-kqr36gas.js → options-w9jcwh65.js} +7 -7
- package/dist/chunks/{event-feed-s802fzg1.js → options-wecgp61r.js} +4 -4
- package/dist/chunks/{event-feed-wtrkk6n8.js → options-wh07bcjv.js} +1 -1
- package/dist/chunks/{event-feed-5pdfedjd.js → options-z3e7v67k.js} +5 -5
- package/dist/chunks/{event-feed-cx7az6y7.js → options-zrptb2x8.js} +2 -2
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.js +60 -60
- 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 +61 -61
- 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 +3 -3
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +61 -61
- package/package.json +8 -8
- /package/dist/chunks/{event-feed-017ycvbx.js → options-017ycvbx.js} +0 -0
- /package/dist/chunks/{event-feed-9rqn6x4v.js → options-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-feed-bd8755ek.js → options-bd8755ek.js} +0 -0
- /package/dist/chunks/{event-feed-n26yr6pw.js → options-n26yr6pw.js} +0 -0
- /package/dist/chunks/{event-feed-q187pxxd.js → options-q187pxxd.js} +0 -0
- /package/dist/chunks/{event-feed-q4bn6dy8.js → options-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{event-feed-smaf4a18.js → options-smaf4a18.js} +0 -0
- /package/dist/chunks/{event-feed-xthc02cw.js → options-xthc02cw.js} +0 -0
- /package/dist/chunks/{event-feed-yc7nft6q.js → options-yc7nft6q.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
layer3
|
|
3
|
+
} from "./options-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./options-n6ypjnhz.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./options-qahj7606.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./options-s8t5gq7c.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./options-j4at0y5c.js";
|
|
16
16
|
import {
|
|
17
17
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./options-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
20
|
layer2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./options-z3e7v67k.js";
|
|
22
22
|
import {
|
|
23
23
|
node2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./options-w9jcwh65.js";
|
|
25
25
|
import {
|
|
26
26
|
handlers2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./options-1jwvq3yw.js";
|
|
28
28
|
import {
|
|
29
29
|
authorizationLayer2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./options-rktygpea.js";
|
|
31
31
|
import {
|
|
32
32
|
schemaErrorLayer2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./options-bd8755ek.js";
|
|
34
34
|
import {
|
|
35
35
|
defectResponseLayer2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./options-n26yr6pw.js";
|
|
37
37
|
|
|
38
38
|
// src/routes.ts
|
|
39
39
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -193,7 +193,7 @@ function makeRoutes(password, options, serviceURLs, overrides, instances) {
|
|
|
193
193
|
return serviceLayer.pipe(Layer.flatMap((context) => {
|
|
194
194
|
const services = Layer.succeedContext(context);
|
|
195
195
|
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer2(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
|
|
196
|
-
const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(
|
|
196
|
+
const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer3), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.merge(defectResponseLayer2), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer), Layer.tap((context) => Effect.sync(() => {
|
|
197
197
|
internal = Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpEffect.toWebHandlerWith(context));
|
|
198
198
|
})));
|
|
199
199
|
return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./options-n6ypjnhz.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./options-qahj7606.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-smaf4a18.js";
|
|
4
4
|
import {
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
requestRef2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./options-j80tzjj3.js";
|
|
9
9
|
|
|
10
10
|
// src/handlers/artifact.ts
|
|
11
11
|
import { Artifact } from "@opencode/core/artifact";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./options-s8t5gq7c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-s8t5gq7c.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service3
|
|
12
|
-
} from "./event-feed-5pdfedjd.js";
|
|
9
|
+
} from "./options-j4at0y5c.js";
|
|
13
10
|
import {
|
|
14
11
|
Service2
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./options-z3e7v67k.js";
|
|
13
|
+
import {
|
|
14
|
+
Service3
|
|
15
|
+
} from "./options-w9jcwh65.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* Service3;
|
|
26
26
|
const auth = yield* Config2;
|
|
27
27
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
28
|
-
const info = yield*
|
|
28
|
+
const info = yield* Service2;
|
|
29
29
|
return {
|
|
30
30
|
version: info.app.version ?? "unknown",
|
|
31
31
|
pid: process.pid ?? 0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./options-s8t5gq7c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/voice.ts
|
|
9
9
|
import { Location } from "@opencode/core/location";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./options-j80tzjj3.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./options-s8t5gq7c.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./options-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2,
|
|
15
15
|
holdLocation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./options-q187pxxd.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/mcp.ts
|
|
19
19
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-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: () => Service3,
|
|
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 Service3 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(Service3, Effect.gen(function* () {
|
|
21
21
|
const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
|
|
22
|
-
return
|
|
22
|
+
return Service3.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(Service2, Effect.gen(function* () {
|
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
32
|
}));
|
|
33
|
-
var node2 = makeGlobalNode({ service:
|
|
33
|
+
var node2 = makeGlobalNode({ service: Service3, layer, deps: [] });
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Service3, node2, exports_pairing };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/event-feed.ts
|
|
6
6
|
var exports_event_feed = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_event_feed, {
|
|
|
11
11
|
SubscriberCapacity: () => SubscriberCapacity2,
|
|
12
12
|
SubscriberOverflowError: () => SubscriberOverflowError2,
|
|
13
13
|
frame: () => frame2,
|
|
14
|
-
layer: () =>
|
|
14
|
+
layer: () => layer4,
|
|
15
15
|
make: () => make4
|
|
16
16
|
});
|
|
17
17
|
import { Bus } from "@opencode/core/bus";
|
|
@@ -76,9 +76,9 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
76
76
|
subscribe: (types) => Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.set(queue, types?.length ? new Set(types) : undefined)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
80
80
|
const bus = yield* Bus.Service;
|
|
81
81
|
return yield* make4(bus.listen);
|
|
82
82
|
}));
|
|
83
83
|
|
|
84
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make4,
|
|
84
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make4, layer4, exports_event_feed };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./options-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: () => Service2,
|
|
10
10
|
connectionURLs: () => connectionURLs2,
|
|
11
11
|
layer: () => layer2
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { networkInterfaces } from "node:os";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/server/ServerInfo") {
|
|
17
17
|
}
|
|
18
18
|
function layer2(urls, tmp, app = {}) {
|
|
19
|
-
return Layer.succeed(
|
|
19
|
+
return Layer.succeed(Service2, Service2.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 { Service2, layer2, connectionURLs2, exports_server_info };
|
package/dist/content-headers.js
CHANGED
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Service4,
|
|
6
6
|
frame2,
|
|
7
7
|
make4,
|
|
8
|
-
|
|
8
|
+
layer4,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/options-wecgp61r.js";
|
|
11
11
|
export {
|
|
12
12
|
EncodingError2 as EncodingError,
|
|
13
13
|
exports_event_feed as EventFeed,
|
|
@@ -15,6 +15,6 @@ export {
|
|
|
15
15
|
SubscriberCapacity2 as SubscriberCapacity,
|
|
16
16
|
SubscriberOverflowError2 as SubscriberOverflowError,
|
|
17
17
|
frame2 as frame,
|
|
18
|
-
|
|
18
|
+
layer4 as layer,
|
|
19
19
|
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
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/options-6s5ea070.js";
|
|
5
|
+
import"./chunks/options-myqk22k5.js";
|
|
6
|
+
import"./chunks/options-pb8akwr3.js";
|
|
7
|
+
import"./chunks/options-n26yr6pw.js";
|
|
8
|
+
import"./chunks/options-rktygpea.js";
|
|
9
|
+
import"./chunks/options-bd8755ek.js";
|
|
10
|
+
import"./chunks/options-1jwvq3yw.js";
|
|
11
|
+
import"./chunks/options-edwk6ehd.js";
|
|
12
|
+
import"./chunks/options-p4zkxzv7.js";
|
|
13
|
+
import"./chunks/options-1s2hfsfr.js";
|
|
14
|
+
import"./chunks/options-k26h7zjg.js";
|
|
15
|
+
import"./chunks/options-pv4dnzzq.js";
|
|
16
|
+
import"./chunks/options-d0advawr.js";
|
|
17
|
+
import"./chunks/options-6s1v5h8n.js";
|
|
18
|
+
import"./chunks/options-4gbck4qg.js";
|
|
19
|
+
import"./chunks/options-8qp1zyc6.js";
|
|
20
|
+
import"./chunks/options-7ydfwv45.js";
|
|
21
|
+
import"./chunks/options-hgrkvk6s.js";
|
|
22
|
+
import"./chunks/options-p9wp66hf.js";
|
|
23
|
+
import"./chunks/options-7t0tq67e.js";
|
|
24
|
+
import"./chunks/options-g80pvn6e.js";
|
|
25
|
+
import"./chunks/options-8mfdzabk.js";
|
|
26
|
+
import"./chunks/options-20wvj9q6.js";
|
|
27
|
+
import"./chunks/options-eybg47bf.js";
|
|
28
|
+
import"./chunks/options-7x6cg3xs.js";
|
|
29
|
+
import"./chunks/options-b87bs0cf.js";
|
|
30
|
+
import"./chunks/options-6t6fd9bq.js";
|
|
31
|
+
import"./chunks/options-g97h7k0s.js";
|
|
32
|
+
import"./chunks/options-1bx0qbf8.js";
|
|
33
|
+
import"./chunks/options-t62b1gmw.js";
|
|
34
|
+
import"./chunks/options-t8azv5ge.js";
|
|
35
|
+
import"./chunks/options-tdx0cx27.js";
|
|
36
|
+
import"./chunks/options-djr0jy89.js";
|
|
37
|
+
import"./chunks/options-86dz2n4m.js";
|
|
38
|
+
import"./chunks/options-4r2ye500.js";
|
|
39
|
+
import"./chunks/options-8n1ypg70.js";
|
|
40
|
+
import"./chunks/options-017ycvbx.js";
|
|
41
|
+
import"./chunks/options-w0qzmhfg.js";
|
|
42
|
+
import"./chunks/options-wh07bcjv.js";
|
|
43
|
+
import"./chunks/options-4apj6a8e.js";
|
|
44
|
+
import"./chunks/options-q187pxxd.js";
|
|
45
|
+
import"./chunks/options-b7yt2ykh.js";
|
|
46
|
+
import"./chunks/options-xthc02cw.js";
|
|
47
|
+
import"./chunks/options-zrptb2x8.js";
|
|
48
|
+
import"./chunks/options-v0z8pce5.js";
|
|
49
|
+
import"./chunks/options-b1x3j2e8.js";
|
|
50
|
+
import"./chunks/options-50kbksvb.js";
|
|
51
|
+
import"./chunks/options-j4at0y5c.js";
|
|
52
|
+
import"./chunks/options-z3e7v67k.js";
|
|
53
|
+
import"./chunks/options-w9jcwh65.js";
|
|
54
|
+
import"./chunks/options-yc7nft6q.js";
|
|
55
|
+
import"./chunks/options-s8t5gq7c.js";
|
|
56
|
+
import"./chunks/options-qahj7606.js";
|
|
57
|
+
import"./chunks/options-n6ypjnhz.js";
|
|
58
|
+
import"./chunks/options-q4bn6dy8.js";
|
|
59
|
+
import"./chunks/options-j80tzjj3.js";
|
|
60
|
+
import"./chunks/options-smaf4a18.js";
|
|
61
|
+
import"./chunks/options-t32e1bbt.js";
|
|
62
|
+
import"./chunks/options-8sb6qqpn.js";
|
|
63
|
+
import"./chunks/options-wecgp61r.js";
|
|
64
64
|
export {
|
|
65
65
|
exports_fetch as ServerFetch,
|
|
66
66
|
make3 as make
|
package/dist/handlers/agent.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-k26h7zjg.js";
|
|
4
|
+
import"../chunks/options-s8t5gq7c.js";
|
|
5
|
+
import"../chunks/options-qahj7606.js";
|
|
6
|
+
import"../chunks/options-n6ypjnhz.js";
|
|
7
|
+
import"../chunks/options-j80tzjj3.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeArtifact2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-t62b1gmw.js";
|
|
4
|
+
import"../chunks/options-j80tzjj3.js";
|
|
5
|
+
import"../chunks/options-smaf4a18.js";
|
|
6
6
|
export {
|
|
7
7
|
makeArtifact2 as makeArtifact
|
|
8
8
|
};
|
package/dist/handlers/blob.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeBlobGet2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-50kbksvb.js";
|
|
4
|
+
import"../chunks/options-t32e1bbt.js";
|
|
5
|
+
import"../chunks/options-8sb6qqpn.js";
|
|
6
6
|
export {
|
|
7
7
|
makeBlobGet2 as makeBlobGet
|
|
8
8
|
};
|
package/dist/handlers/command.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-b87bs0cf.js";
|
|
4
|
+
import"../chunks/options-s8t5gq7c.js";
|
|
5
|
+
import"../chunks/options-qahj7606.js";
|
|
6
|
+
import"../chunks/options-n6ypjnhz.js";
|
|
7
|
+
import"../chunks/options-j80tzjj3.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|