@opencode/server 2.0.26 → 2.0.27
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.d.ts +17 -14
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{fetch-eekrj6qv.js → pty-environment-08x9tjee.js} +2 -2
- package/dist/chunks/{fetch-0chp8crd.js → pty-environment-0chp8crd.js} +1 -1
- package/dist/chunks/pty-environment-0d864bga.js +15 -0
- package/dist/chunks/{fetch-m4fq9qce.js → pty-environment-1k1cts14.js} +4 -4
- package/dist/chunks/{fetch-n1svm92q.js → pty-environment-383t61pr.js} +5 -5
- package/dist/chunks/{fetch-agftk6b6.js → pty-environment-43r48nqn.js} +3 -3
- package/dist/chunks/{fetch-wb43dd8f.js → pty-environment-4d1eemzq.js} +6 -4
- package/dist/chunks/{fetch-zhympcbw.js → pty-environment-4dv9a668.js} +3 -3
- package/dist/chunks/{fetch-d00srfh1.js → pty-environment-4hhhes7w.js} +3 -3
- package/dist/chunks/{fetch-b44t4qeg.js → pty-environment-4yg61rns.js} +30 -29
- package/dist/chunks/{fetch-gtkdacvk.js → pty-environment-5ytyqf1q.js} +5 -4
- package/dist/chunks/{fetch-r5bb0n1s.js → pty-environment-5zsr2h86.js} +2 -2
- package/dist/chunks/{fetch-rwwc81rq.js → pty-environment-7vd5668a.js} +2 -2
- package/dist/chunks/{fetch-w1fepcwh.js → pty-environment-8137b89p.js} +3 -3
- package/dist/chunks/{fetch-053p7hbt.js → pty-environment-8ad8dwnf.js} +4 -4
- package/dist/chunks/{fetch-4qyjttng.js → pty-environment-97eb2r3v.js} +3 -3
- package/dist/chunks/{fetch-jxc39wgw.js → pty-environment-9snwnvf8.js} +3 -3
- package/dist/chunks/{fetch-t1n0m4wb.js → pty-environment-aey6dvfz.js} +30 -34
- package/dist/chunks/{fetch-anm12x33.js → pty-environment-anm12x33.js} +1 -1
- package/dist/chunks/{fetch-acgs9zzk.js → pty-environment-b56hqv74.js} +14 -6
- package/dist/chunks/{fetch-cm271yqe.js → pty-environment-bx47k33v.js} +3 -3
- package/dist/chunks/{fetch-c6kb7fmf.js → pty-environment-c6kb7fmf.js} +1 -1
- package/dist/chunks/{fetch-t8yzmczr.js → pty-environment-erzfdgke.js} +1 -1
- package/dist/chunks/{fetch-gj6tv0s4.js → pty-environment-ewe1fzkk.js} +6 -3
- package/dist/chunks/{fetch-hajt4q09.js → pty-environment-ftaz8n62.js} +3 -3
- package/dist/chunks/pty-environment-h6rt5k9s.js +24 -0
- package/dist/chunks/{fetch-mjepr257.js → pty-environment-h8ws5ssa.js} +2 -2
- package/dist/chunks/{fetch-kzj5eept.js → pty-environment-hkm2snxm.js} +33 -33
- package/dist/chunks/{fetch-nxdx74sv.js → pty-environment-j4zqsxgy.js} +3 -3
- package/dist/chunks/{fetch-80mhd8t7.js → pty-environment-nn6dbt3f.js} +3 -3
- package/dist/chunks/{fetch-6fr0a7bp.js → pty-environment-pfs7tp5t.js} +17 -16
- package/dist/chunks/{fetch-0y03q8mn.js → pty-environment-ptey1p5v.js} +3 -3
- package/dist/chunks/{fetch-g9rgg5ys.js → pty-environment-qbh90c1d.js} +3 -3
- package/dist/chunks/{fetch-rhnwnf76.js → pty-environment-rf01ee6q.js} +2 -2
- package/dist/chunks/{fetch-1w9kp1gg.js → pty-environment-rntbwr87.js} +3 -3
- package/dist/chunks/{fetch-q9rkrfm7.js → pty-environment-ssyxw8nc.js} +5 -5
- package/dist/chunks/{fetch-78n975k2.js → pty-environment-sxyyq1rb.js} +6 -6
- package/dist/chunks/{fetch-cy7y42ks.js → pty-environment-tqspcwns.js} +4 -4
- package/dist/chunks/{fetch-bvp1r88z.js → pty-environment-vb5yx5r0.js} +3 -3
- package/dist/chunks/{fetch-m6xk774d.js → pty-environment-vbzm2jgm.js} +3 -3
- package/dist/chunks/{fetch-54sczv30.js → pty-environment-vghchchj.js} +7 -7
- package/dist/chunks/{fetch-5w24ch67.js → pty-environment-vpz7f20y.js} +4 -4
- package/dist/chunks/{fetch-1kbkbftd.js → pty-environment-y1gfy88d.js} +4 -4
- package/dist/chunks/{fetch-t70dy8sr.js → pty-environment-yehasrps.js} +3 -3
- package/dist/chunks/{fetch-8c9kbrtm.js → pty-environment-z6sxg6td.js} +2 -2
- package/dist/chunks/{fetch-j3pdvhe2.js → pty-environment-zessacar.js} +3 -3
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +1 -1
- package/dist/fetch.js +47 -47
- package/dist/handlers/agent.d.ts +1 -1
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.d.ts +1 -1
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.d.ts +1 -1
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.d.ts +1 -1
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.d.ts +1 -1
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.d.ts +1 -1
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.d.ts +1 -1
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.d.ts +1 -1
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.d.ts +1 -1
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.d.ts +1 -1
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.d.ts +1 -1
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.d.ts +1 -1
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.d.ts +1 -1
- package/dist/handlers/message.js +6 -6
- package/dist/handlers/migration.d.ts +1 -1
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.d.ts +1 -1
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.d.ts +1 -1
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +8 -8
- package/dist/handlers/plugin.d.ts +1 -1
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.d.ts +1 -1
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.d.ts +1 -1
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.d.ts +10 -2
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.d.ts +1 -1
- package/dist/handlers/pty.js +9 -9
- package/dist/handlers/reference.d.ts +1 -1
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.d.ts +1 -1
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.d.ts +1 -1
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.d.ts +1 -1
- package/dist/handlers/session.js +6 -6
- package/dist/handlers/shell.d.ts +1 -1
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.d.ts +1 -1
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.d.ts +1 -1
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/websearch.d.ts +1 -1
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.d.ts +1 -1
- 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 +5 -3
- package/dist/location.js +6 -4
- package/dist/middleware/authorization.d.ts +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.d.ts +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +1 -1
- package/dist/process.d.ts +5 -4
- package/dist/process.js +52 -52
- package/dist/pty-environment.js +3 -3
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +3 -3
- package/dist/routes.js +46 -46
- package/dist/server-info.js +1 -1
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +48 -48
- package/package.json +14 -12
- package/dist/chunks/fetch-dy0yben3.js +0 -15
- package/dist/chunks/fetch-hezj1jdf.js +0 -7
- /package/dist/chunks/{fetch-9rqn6x4v.js → pty-environment-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{fetch-q4bn6dy8.js → pty-environment-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{fetch-smaf4a18.js → pty-environment-smaf4a18.js} +0 -0
- /package/dist/chunks/{fetch-yc7nft6q.js → pty-environment-yc7nft6q.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-environment-anm12x33.js";
|
|
10
10
|
import {
|
|
11
11
|
Service2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-environment-c6kb7fmf.js";
|
|
13
13
|
import {
|
|
14
14
|
Service3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-environment-0chp8crd.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { Duration, Effect } from "effect";
|
|
19
|
-
import { HttpServerRequest, HttpServerResponse } from "effect/
|
|
20
|
-
import { HttpApiBuilder } from "effect/
|
|
19
|
+
import { HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
20
|
+
import { HttpApiBuilder } from "effect/http-api";
|
|
21
21
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
22
22
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
23
23
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
missingMessage2,
|
|
4
4
|
failedMessageDecode2,
|
|
5
5
|
failedSnapshot2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-environment-smaf4a18.js";
|
|
7
7
|
import {
|
|
8
8
|
locationErrors2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-environment-b56hqv74.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/session.ts
|
|
15
15
|
import { Session } from "@opencode/core/session";
|
|
@@ -19,7 +19,7 @@ import { SessionTransfer } from "@opencode/core/session/transfer";
|
|
|
19
19
|
import { InstructionEntry } from "@opencode/core/session/instruction-entry";
|
|
20
20
|
import { Form } from "@opencode/core/form";
|
|
21
21
|
import { DateTime, Effect, Stream } from "effect";
|
|
22
|
-
import { HttpApiBuilder, HttpApiSchema } from "effect/
|
|
22
|
+
import { HttpApiBuilder, HttpApiSchema } from "effect/http-api";
|
|
23
23
|
import { SessionsCursor } from "@opencode/protocol/groups/session";
|
|
24
24
|
import {
|
|
25
25
|
ConflictError,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-environment-smaf4a18.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/message.ts
|
|
10
10
|
import { SessionMessage } from "@opencode/core/session/message";
|
|
11
11
|
import { Session } from "@opencode/core/session";
|
|
12
12
|
import { Effect, Schema } from "effect";
|
|
13
|
-
import { HttpApiBuilder } from "effect/
|
|
13
|
+
import { HttpApiBuilder } from "effect/http-api";
|
|
14
14
|
import { InvalidCursorError } from "@opencode/protocol/errors";
|
|
15
15
|
var DefaultMessagesLimit = 50;
|
|
16
16
|
var Cursor = Schema.Struct({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
10
10
|
import { Effect, Option, RcMap } from "effect";
|
|
11
|
-
import { HttpApiBuilder } from "effect/
|
|
11
|
+
import { HttpApiBuilder } from "effect/http-api";
|
|
12
12
|
var DebugHandler2 = HttpApiBuilder.group(Api2, "server.debug", (handlers) => handlers.handle("debug.location", Effect.fn(function* () {
|
|
13
13
|
const locations = Option.getOrThrow(yield* Effect.serviceOption(LocationServiceMap.Service));
|
|
14
14
|
return Array.from(yield* RcMap.keys(locations.rcMap));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/event-feed.ts
|
|
6
6
|
var exports_event_feed = {};
|
|
@@ -11,8 +11,8 @@ __export(exports_event_feed, {
|
|
|
11
11
|
SubscriberCapacity: () => SubscriberCapacity2,
|
|
12
12
|
SubscriberOverflowError: () => SubscriberOverflowError2,
|
|
13
13
|
frame: () => frame2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
make: () =>
|
|
14
|
+
layer: () => layer4,
|
|
15
|
+
make: () => make3
|
|
16
16
|
});
|
|
17
17
|
import { Bus } from "@opencode/core/bus";
|
|
18
18
|
import { Event } from "@opencode/schema/event";
|
|
@@ -37,7 +37,7 @@ function frame2(event) {
|
|
|
37
37
|
|
|
38
38
|
`;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var make3 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
41
41
|
const capacity = options?.capacity ?? SubscriberCapacity2;
|
|
42
42
|
const render = options?.encode ?? frame2;
|
|
43
43
|
const subscribers = new Set;
|
|
@@ -75,9 +75,9 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
75
75
|
subscribe: Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.add(queue)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
|
|
76
76
|
});
|
|
77
77
|
});
|
|
78
|
-
var
|
|
78
|
+
var layer4 = Layer.effect(Service5, Effect.gen(function* () {
|
|
79
79
|
const bus = yield* Bus.Service;
|
|
80
|
-
return yield*
|
|
80
|
+
return yield* make3(bus.listen);
|
|
81
81
|
}));
|
|
82
82
|
|
|
83
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service5, frame2,
|
|
83
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service5, frame2, make3, layer4, exports_event_feed };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/service-status.ts
|
|
6
6
|
var exports_service_status = {};
|
|
7
7
|
__export(exports_service_status, {
|
|
8
8
|
Status: () => exports_service_status,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make4
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Ref } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make4 = Effect.fnUntraced(function* (options = {}) {
|
|
13
13
|
const current = yield* Ref.make(options.initial ?? { type: "starting" });
|
|
14
14
|
const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
|
|
15
15
|
return {
|
|
@@ -20,4 +20,4 @@ var make3 = Effect.fnUntraced(function* (options = {}) {
|
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { make4, exports_service_status };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-smaf4a18.js";
|
|
4
4
|
import {
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
sessionInfo2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-environment-b56hqv74.js";
|
|
9
9
|
import {
|
|
10
10
|
Api2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
12
12
|
|
|
13
13
|
// src/handlers/permission.ts
|
|
14
14
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -17,7 +17,7 @@ import { Permission } from "@opencode/core/permission";
|
|
|
17
17
|
import { PermissionSaved } from "@opencode/core/permission/saved";
|
|
18
18
|
import { Session } from "@opencode/core/session";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
import { HttpApiBuilder, HttpApiSchema } from "effect/
|
|
20
|
+
import { HttpApiBuilder, HttpApiSchema } from "effect/http-api";
|
|
21
21
|
import { PermissionNotFoundError } from "@opencode/protocol/errors";
|
|
22
22
|
function missingRequest(id) {
|
|
23
23
|
return new PermissionNotFoundError({ requestID: id, message: `Permission request not found: ${id}` });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
10
|
-
import { HttpApiBuilder } from "effect/
|
|
10
|
+
import { HttpApiBuilder } from "effect/http-api";
|
|
11
11
|
var ReferenceHandler2 = HttpApiBuilder.group(Api2, "server.reference", (handlers) => handlers.handle("reference.list", () => response2(Reference.Service.use((reference) => reference.list()))));
|
|
12
12
|
|
|
13
13
|
export { ReferenceHandler2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
4
4
|
|
|
5
5
|
// src/handlers/rpc.ts
|
|
6
6
|
import { Rpc } from "@opencode/core/rpc";
|
|
7
7
|
import { Plugin } from "@opencode/core/plugin";
|
|
8
8
|
import { RpcError, RpcInternalError } from "@opencode/protocol/errors";
|
|
9
9
|
import { Effect } from "effect";
|
|
10
|
-
import { HttpApiBuilder } from "effect/
|
|
10
|
+
import { HttpApiBuilder } from "effect/http-api";
|
|
11
11
|
var RpcHandler2 = HttpApiBuilder.group(Api2, "server.rpc", (handlers) => handlers.handle("rpc.call", ({ params, payload }) => Effect.gen(function* () {
|
|
12
12
|
yield* Plugin.awaitActivation;
|
|
13
13
|
const rpc = yield* Rpc.Service;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-environment-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-environment-9snwnvf8.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/mcp.ts
|
|
9
9
|
import { Mcp } from "@opencode/core/mcp/index";
|
|
10
10
|
import { McpServerNotFoundError } from "@opencode/protocol/errors";
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
import { HttpApiBuilder, HttpApiSchema } from "effect/
|
|
12
|
+
import { HttpApiBuilder, HttpApiSchema } from "effect/http-api";
|
|
13
13
|
var notFound = (effect) => effect.pipe(Effect.mapError((error) => new McpServerNotFoundError({ server: error.server, message: error.message })));
|
|
14
14
|
var McpHandler2 = HttpApiBuilder.group(Api2, "server.mcp", (handlers) => Effect.gen(function* () {
|
|
15
15
|
return handlers.handle("mcp.list", Effect.fn(function* () {
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
EncodingError2,
|
|
5
5
|
Service5,
|
|
6
6
|
frame2,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
make3,
|
|
8
|
+
layer4,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/pty-environment-vghchchj.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
|
-
|
|
19
|
-
|
|
18
|
+
layer4 as layer,
|
|
19
|
+
make3 as make
|
|
20
20
|
};
|
package/dist/fetch.d.ts
CHANGED
|
@@ -55,13 +55,13 @@ export declare const make: (options?: {
|
|
|
55
55
|
readonly content?: string | undefined;
|
|
56
56
|
readonly file?: string | undefined;
|
|
57
57
|
} | undefined;
|
|
58
|
+
readonly port?: number | undefined;
|
|
58
59
|
readonly hostname?: string | undefined;
|
|
59
60
|
readonly cors?: readonly string[] | undefined;
|
|
60
61
|
readonly windows?: {
|
|
61
62
|
readonly gitbash?: string | undefined;
|
|
62
63
|
} | undefined;
|
|
63
64
|
readonly password?: string | undefined;
|
|
64
|
-
readonly port?: number | undefined;
|
|
65
65
|
readonly app?: {
|
|
66
66
|
readonly version?: string | undefined;
|
|
67
67
|
readonly name?: string | undefined;
|
package/dist/fetch.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
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/
|
|
4
|
+
} from "./chunks/pty-environment-8ad8dwnf.js";
|
|
5
|
+
import"./chunks/pty-environment-pfs7tp5t.js";
|
|
6
|
+
import"./chunks/pty-environment-erzfdgke.js";
|
|
7
|
+
import"./chunks/pty-environment-5ytyqf1q.js";
|
|
8
|
+
import"./chunks/pty-environment-hkm2snxm.js";
|
|
9
|
+
import"./chunks/pty-environment-ssyxw8nc.js";
|
|
10
|
+
import"./chunks/pty-environment-bx47k33v.js";
|
|
11
|
+
import"./chunks/pty-environment-ewe1fzkk.js";
|
|
12
|
+
import"./chunks/pty-environment-vbzm2jgm.js";
|
|
13
|
+
import"./chunks/pty-environment-tqspcwns.js";
|
|
14
|
+
import"./chunks/pty-environment-43r48nqn.js";
|
|
15
|
+
import"./chunks/pty-environment-8137b89p.js";
|
|
16
|
+
import"./chunks/pty-environment-rf01ee6q.js";
|
|
17
|
+
import"./chunks/pty-environment-ptey1p5v.js";
|
|
18
|
+
import"./chunks/pty-environment-y1gfy88d.js";
|
|
19
|
+
import"./chunks/pty-environment-08x9tjee.js";
|
|
20
|
+
import"./chunks/pty-environment-7vd5668a.js";
|
|
21
|
+
import"./chunks/pty-environment-1k1cts14.js";
|
|
22
|
+
import"./chunks/pty-environment-nn6dbt3f.js";
|
|
23
|
+
import"./chunks/pty-environment-4d1eemzq.js";
|
|
24
|
+
import"./chunks/pty-environment-z6sxg6td.js";
|
|
25
|
+
import"./chunks/pty-environment-h8ws5ssa.js";
|
|
26
|
+
import"./chunks/pty-environment-yehasrps.js";
|
|
27
|
+
import"./chunks/pty-environment-zessacar.js";
|
|
28
|
+
import"./chunks/pty-environment-4dv9a668.js";
|
|
29
|
+
import"./chunks/pty-environment-97eb2r3v.js";
|
|
30
|
+
import"./chunks/pty-environment-qbh90c1d.js";
|
|
31
|
+
import"./chunks/pty-environment-vb5yx5r0.js";
|
|
32
|
+
import"./chunks/pty-environment-ftaz8n62.js";
|
|
33
|
+
import"./chunks/pty-environment-0d864bga.js";
|
|
34
|
+
import"./chunks/pty-environment-5zsr2h86.js";
|
|
35
|
+
import"./chunks/pty-environment-rntbwr87.js";
|
|
36
|
+
import"./chunks/pty-environment-sxyyq1rb.js";
|
|
37
|
+
import"./chunks/pty-environment-4yg61rns.js";
|
|
38
|
+
import"./chunks/pty-environment-aey6dvfz.js";
|
|
39
|
+
import"./chunks/pty-environment-h6rt5k9s.js";
|
|
40
|
+
import"./chunks/pty-environment-c6kb7fmf.js";
|
|
41
|
+
import"./chunks/pty-environment-anm12x33.js";
|
|
42
|
+
import"./chunks/pty-environment-9snwnvf8.js";
|
|
43
|
+
import"./chunks/pty-environment-j4zqsxgy.js";
|
|
44
|
+
import"./chunks/pty-environment-4hhhes7w.js";
|
|
45
|
+
import"./chunks/pty-environment-0chp8crd.js";
|
|
46
|
+
import"./chunks/pty-environment-383t61pr.js";
|
|
47
|
+
import"./chunks/pty-environment-vghchchj.js";
|
|
48
|
+
import"./chunks/pty-environment-q4bn6dy8.js";
|
|
49
|
+
import"./chunks/pty-environment-b56hqv74.js";
|
|
50
|
+
import"./chunks/pty-environment-smaf4a18.js";
|
|
51
51
|
export {
|
|
52
52
|
exports_fetch as ServerFetch,
|
|
53
53
|
make2 as make
|
package/dist/handlers/agent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AgentHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const AgentHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
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/pty-environment-rntbwr87.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CommandHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const CommandHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.command">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
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/pty-environment-ptey1p5v.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ConfigHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const ConfigHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.config">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfigHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/pty-environment-5zsr2h86.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Credential } from "@opencode/core/credential";
|
|
2
|
-
export declare const CredentialHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const CredentialHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.credential">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("effect/http/HttpRouter").Request<"Requires", Credential.Service>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/pty-environment-08x9tjee.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CredentialHandler2 as CredentialHandler
|
|
11
11
|
};
|
package/dist/handlers/debug.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DebugHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const DebugHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.debug">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization>;
|
package/dist/handlers/debug.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DebugHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/pty-environment-vbzm2jgm.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|
package/dist/handlers/event.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { EventFeed } from "../event-feed";
|
|
2
|
-
export declare const EventHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const EventHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.event">, never, EventFeed.Service | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|
package/dist/handlers/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/pty-environment-1k1cts14.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-vghchchj.js";
|
|
8
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
9
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
EventHandler2 as EventHandler
|
|
12
12
|
};
|
package/dist/handlers/form.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FormHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const FormHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.form">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/form.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/pty-environment-43r48nqn.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FormHandler2 as FormHandler
|
|
11
11
|
};
|
package/dist/handlers/fs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FileSystemHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const FileSystemHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.fs">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|
package/dist/handlers/fs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/pty-environment-ssyxw8nc.js";
|
|
4
|
+
import"../chunks/pty-environment-9snwnvf8.js";
|
|
5
|
+
import"../chunks/pty-environment-j4zqsxgy.js";
|
|
6
|
+
import"../chunks/pty-environment-4hhhes7w.js";
|
|
7
|
+
import"../chunks/pty-environment-b56hqv74.js";
|
|
8
|
+
import"../chunks/pty-environment-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FileSystemHandler2 as FileSystemHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LocationServiceMap } from "@opencode/core/location-services";
|
|
2
2
|
import { Global } from "@opencode/util/global";
|
|
3
|
-
export declare const GenerateHandler: import("effect/Layer").Layer<import("effect/
|
|
3
|
+
export declare const GenerateHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.generate">, never, Global.Service | LocationServiceMap.Service | (import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization)>;
|