@opencode/server 0.0.0-dev-21105 → 0.0.0-dev-21107
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 +1779 -1779
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{cors-yeebkdj0.js → service-status-0gbaaetm.js} +2 -2
- package/dist/chunks/{cors-g7sdbt1s.js → service-status-1wyt3am5.js} +2 -2
- package/dist/chunks/{cors-brs8esa7.js → service-status-1ybjhnn1.js} +3 -3
- package/dist/chunks/{cors-4nbah0zs.js → service-status-2ac2kv4c.js} +3 -3
- package/dist/chunks/{cors-1k50ch1s.js → service-status-2af1wk9r.js} +3 -3
- package/dist/chunks/{cors-547pgmmc.js → service-status-3m0ygtwr.js} +2 -2
- package/dist/chunks/{cors-3e4ee6x1.js → service-status-3vmv8q6c.js} +34 -34
- package/dist/chunks/{cors-fysmzcya.js → service-status-4bxenate.js} +2 -2
- package/dist/chunks/{cors-4gnb9897.js → service-status-4hhhes7w.js} +1 -1
- package/dist/chunks/{cors-8whnk5q4.js → service-status-6py3w98b.js} +4 -4
- package/dist/chunks/{cors-8t0ckx4f.js → service-status-7armztsr.js} +2 -2
- package/dist/chunks/{cors-gq8jw616.js → service-status-7bgw0qp5.js} +2 -2
- package/dist/chunks/{cors-gw6rc7x0.js → service-status-8me0mqmd.js} +2 -2
- package/dist/chunks/{cors-wexwfee0.js → service-status-8z4c9n9h.js} +2 -2
- package/dist/chunks/{cors-c6kb7fmf.js → service-status-9very778.js} +7 -7
- package/dist/chunks/{cors-ymhp0av7.js → service-status-a2vy55dg.js} +16 -16
- package/dist/chunks/{cors-jd2d9483.js → service-status-adb03esn.js} +2 -2
- package/dist/chunks/{cors-anm12x33.js → service-status-anm12x33.js} +1 -1
- package/dist/chunks/{cors-s0qm098c.js → service-status-b3jp5nc2.js} +2 -2
- package/dist/chunks/{cors-50bbk3b2.js → service-status-b56hqv74.js} +3 -3
- package/dist/chunks/{cors-3d7qdbre.js → service-status-begnybrv.js} +1 -1
- package/dist/chunks/{cors-0d9kah4z.js → service-status-bkk2wfbz.js} +7 -7
- package/dist/chunks/{cors-byt4hbw9.js → service-status-byt4hbw9.js} +1 -1
- package/dist/chunks/{cors-y4dgn2zz.js → service-status-cevy85ht.js} +6 -6
- package/dist/chunks/{cors-t4c683g8.js → service-status-gpx0gpd1.js} +2 -2
- package/dist/chunks/{cors-qx5ydgm0.js → service-status-hc75vmb2.js} +1 -1
- package/dist/chunks/{cors-b3bmdkga.js → service-status-j4zqsxgy.js} +1 -1
- package/dist/chunks/{cors-hwqxzcvy.js → service-status-k136bvh5.js} +1 -1
- package/dist/chunks/{cors-tp6qcw6t.js → service-status-nnn3xt9j.js} +1 -1
- package/dist/chunks/{cors-7xe5pzvy.js → service-status-nqkf5k2k.js} +1 -1
- package/dist/chunks/{cors-z6z134jc.js → service-status-pc33848r.js} +2 -2
- package/dist/chunks/{cors-sc3gatcy.js → service-status-qnwsemje.js} +3 -3
- package/dist/chunks/{cors-54sczv30.js → service-status-rjpqaa8h.js} +7 -7
- package/dist/chunks/{cors-jk5edc6h.js → service-status-rkx9hda5.js} +2 -2
- package/dist/chunks/{cors-w4e9jgda.js → service-status-rw74d7br.js} +1 -1
- package/dist/chunks/{cors-rhdada90.js → service-status-vfwf1dhc.js} +2 -2
- package/dist/chunks/{cors-mvt7sabq.js → service-status-vq4t5cew.js} +7 -7
- package/dist/chunks/{cors-q7fvapg2.js → service-status-wy11vdka.js} +6 -6
- package/dist/chunks/{cors-cpp0zjdy.js → service-status-x34tt0qt.js} +2 -2
- package/dist/chunks/{cors-5w24ch67.js → service-status-xsrtpxyd.js} +4 -4
- package/dist/chunks/{cors-qcfps8nc.js → service-status-y5j6n4zr.js} +2 -2
- package/dist/chunks/{cors-fazm2c7b.js → service-status-y9g6k1bm.js} +2 -2
- package/dist/chunks/{cors-yfz2nrjq.js → service-status-yfz2nrjq.js} +1 -1
- package/dist/chunks/{cors-xwnn9gpm.js → service-status-z09f7k88.js} +2 -2
- package/dist/chunks/{cors-zfbzqd0e.js → service-status-zj4vfrqs.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +26 -26
- package/dist/fetch.js +50 -50
- 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 +1 -1
- 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/voice.d.ts +1 -1
- package/dist/handlers/voice.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 +44 -44
- package/dist/location.d.ts +1 -1
- package/dist/location.js +4 -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.d.ts +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +1 -1
- package/dist/process.d.ts +27 -27
- package/dist/process.js +52 -52
- 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 +47 -47
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +51 -51
- package/package.json +10 -10
- /package/dist/chunks/{cors-9rqn6x4v.js → service-status-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{cors-erzfdgke.js → service-status-erzfdgke.js} +0 -0
- /package/dist/chunks/{cors-h6rt5k9s.js → service-status-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{cors-q4bn6dy8.js → service-status-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{cors-smaf4a18.js → service-status-smaf4a18.js} +0 -0
- /package/dist/chunks/{cors-yc7nft6q.js → service-status-yc7nft6q.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-2ac2kv4c.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./service-status-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
runPtySocket2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./service-status-h6rt5k9s.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/persistent-pty.ts
|
|
13
13
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/event-feed.ts
|
|
6
6
|
var exports_event_feed = {};
|
|
7
7
|
__export(exports_event_feed, {
|
|
8
8
|
EncodingError: () => EncodingError2,
|
|
9
9
|
EventFeed: () => exports_event_feed,
|
|
10
|
-
Service: () =>
|
|
10
|
+
Service: () => Service3,
|
|
11
11
|
SubscriberCapacity: () => SubscriberCapacity2,
|
|
12
12
|
SubscriberOverflowError: () => SubscriberOverflowError2,
|
|
13
13
|
frame: () => frame2,
|
|
14
|
-
layer: () =>
|
|
14
|
+
layer: () => layer3,
|
|
15
15
|
make: () => make4
|
|
16
16
|
});
|
|
17
17
|
import { Bus } from "@opencode/core/bus";
|
|
@@ -30,7 +30,7 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
|
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service3 extends Context.Service()("@opencode/server/EventFeed") {
|
|
34
34
|
}
|
|
35
35
|
function frame2(event) {
|
|
36
36
|
return `data: ${JSON.stringify(event)}
|
|
@@ -71,13 +71,13 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
71
71
|
});
|
|
72
72
|
const unsubscribe = yield* observe(publish);
|
|
73
73
|
yield* Effect.addFinalizer(() => unsubscribe);
|
|
74
|
-
return
|
|
74
|
+
return Service3.of({
|
|
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 layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
79
79
|
const bus = yield* Bus.Service;
|
|
80
80
|
return yield* make4(bus.listen);
|
|
81
81
|
}));
|
|
82
82
|
|
|
83
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2,
|
|
83
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service3, frame2, make4, layer3, exports_event_feed };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./service-status-b56hqv74.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./service-status-2ac2kv4c.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./service-status-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service2
|
|
15
|
+
} from "./service-status-bkk2wfbz.js";
|
|
16
16
|
import {
|
|
17
17
|
runPtySocket2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./service-status-h6rt5k9s.js";
|
|
19
19
|
|
|
20
20
|
// src/handlers/pty.ts
|
|
21
21
|
import { Pty } from "@opencode/core/pty";
|
|
@@ -41,7 +41,7 @@ var PtyHandler2 = HttpApiBuilder.group(Api2, "server.pty", (handlers) => Effect.
|
|
|
41
41
|
const locations = yield* LocationServiceMap.Service;
|
|
42
42
|
const tickets = yield* PtyTicket.Service;
|
|
43
43
|
const cors = yield* CorsConfig2;
|
|
44
|
-
const environment = yield*
|
|
44
|
+
const environment = yield* Service2;
|
|
45
45
|
return handlers.handle("pty.list", Effect.fn(function* () {
|
|
46
46
|
const pty = yield* Pty.Service;
|
|
47
47
|
return yield* response2(pty.list());
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-2ac2kv4c.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./service-status-anm12x33.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service5
|
|
12
|
+
} from "./service-status-9very778.js";
|
|
13
13
|
import {
|
|
14
14
|
Service4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./service-status-byt4hbw9.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { Duration, Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => E
|
|
|
24
24
|
const pairing = yield* Service4;
|
|
25
25
|
const auth = yield* Config2;
|
|
26
26
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
27
|
-
const info = yield*
|
|
27
|
+
const info = yield* Service5;
|
|
28
28
|
return {
|
|
29
29
|
version: info.app.version ?? "unknown",
|
|
30
30
|
pid: process.pid ?? 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./service-status-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./service-status-2ac2kv4c.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/model.ts
|
|
10
10
|
import { Model } from "@opencode/core/model";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-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: () => make2
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Ref } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make2 = 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 { make2, exports_service_status };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/fs.ts
|
|
9
9
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/provider.ts
|
|
9
9
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./service-status-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./service-status-2ac2kv4c.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/voice.ts
|
|
10
10
|
import { Location } from "@opencode/core/location";
|
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
|
+
layer3,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/service-status-rjpqaa8h.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
|
+
layer3 as layer,
|
|
19
19
|
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.d.ts
CHANGED
|
@@ -31,49 +31,49 @@ export interface BootOptions {
|
|
|
31
31
|
* next boot, and the sweep is a no-op when nothing is suspended.
|
|
32
32
|
*/
|
|
33
33
|
export declare const make: (options?: {
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly fetch?: boolean | undefined;
|
|
34
|
+
readonly app?: {
|
|
35
|
+
readonly name?: string | undefined;
|
|
36
|
+
readonly version?: string | undefined;
|
|
37
|
+
readonly channel?: string | undefined;
|
|
39
38
|
} | undefined;
|
|
40
|
-
readonly
|
|
41
|
-
|
|
39
|
+
readonly hostname?: string | undefined;
|
|
40
|
+
readonly port?: number | undefined;
|
|
41
|
+
readonly password?: string | undefined;
|
|
42
|
+
readonly cors?: readonly string[] | undefined;
|
|
43
|
+
readonly simulation?: boolean | undefined;
|
|
44
|
+
readonly database?: {
|
|
45
|
+
readonly path?: string | undefined;
|
|
42
46
|
} | undefined;
|
|
43
47
|
readonly pty?: {
|
|
44
|
-
readonly root?: string | undefined;
|
|
45
48
|
readonly handoff?: {
|
|
46
49
|
readonly directory: string;
|
|
47
50
|
readonly instanceID: string;
|
|
48
51
|
readonly ticket: string;
|
|
49
52
|
readonly expiresAt: number;
|
|
50
53
|
} | undefined;
|
|
54
|
+
readonly root?: string | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly events?: {
|
|
57
|
+
readonly persist?: boolean | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly models?: {
|
|
60
|
+
readonly url?: string | undefined;
|
|
61
|
+
readonly file?: string | undefined;
|
|
62
|
+
readonly fetch?: boolean | undefined;
|
|
63
|
+
readonly snapshot?: boolean | undefined;
|
|
51
64
|
} | undefined;
|
|
52
65
|
readonly config?: {
|
|
53
66
|
readonly directory?: string | undefined;
|
|
54
67
|
readonly project?: boolean | undefined;
|
|
55
|
-
readonly content?: string | undefined;
|
|
56
|
-
readonly file?: string | undefined;
|
|
57
68
|
readonly claude?: boolean | undefined;
|
|
69
|
+
readonly file?: string | undefined;
|
|
70
|
+
readonly content?: string | undefined;
|
|
58
71
|
} | undefined;
|
|
59
|
-
readonly port?: number | undefined;
|
|
60
|
-
readonly fs?: {
|
|
61
|
-
readonly fff?: boolean | undefined;
|
|
62
|
-
readonly filewatcher?: boolean | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
readonly hostname?: string | undefined;
|
|
65
|
-
readonly cors?: readonly string[] | undefined;
|
|
66
72
|
readonly windows?: {
|
|
67
73
|
readonly gitbash?: string | undefined;
|
|
68
74
|
} | undefined;
|
|
69
|
-
readonly
|
|
70
|
-
|
|
71
|
-
readonly
|
|
72
|
-
readonly name?: string | undefined;
|
|
73
|
-
readonly channel?: string | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
readonly simulation?: boolean | undefined;
|
|
76
|
-
readonly database?: {
|
|
77
|
-
readonly path?: string | undefined;
|
|
75
|
+
readonly fs?: {
|
|
76
|
+
readonly filewatcher?: boolean | undefined;
|
|
77
|
+
readonly fff?: boolean | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
} | undefined, boot?: BootOptions | undefined) => Effect.Effect<(request: Request, context?: Context.Context<never> | undefined) => Promise<globalThis.Response>, Error, import("effect/Scope").Scope>;
|
package/dist/fetch.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
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/
|
|
4
|
+
} from "./chunks/service-status-cevy85ht.js";
|
|
5
|
+
import"./chunks/service-status-a2vy55dg.js";
|
|
6
|
+
import"./chunks/service-status-yfz2nrjq.js";
|
|
7
|
+
import"./chunks/service-status-erzfdgke.js";
|
|
8
|
+
import"./chunks/service-status-3vmv8q6c.js";
|
|
9
|
+
import"./chunks/service-status-zj4vfrqs.js";
|
|
10
|
+
import"./chunks/service-status-rw74d7br.js";
|
|
11
|
+
import"./chunks/service-status-7bgw0qp5.js";
|
|
12
|
+
import"./chunks/service-status-1ybjhnn1.js";
|
|
13
|
+
import"./chunks/service-status-nqkf5k2k.js";
|
|
14
|
+
import"./chunks/service-status-8me0mqmd.js";
|
|
15
|
+
import"./chunks/service-status-gpx0gpd1.js";
|
|
16
|
+
import"./chunks/service-status-nnn3xt9j.js";
|
|
17
|
+
import"./chunks/service-status-vfwf1dhc.js";
|
|
18
|
+
import"./chunks/service-status-pc33848r.js";
|
|
19
|
+
import"./chunks/service-status-y9g6k1bm.js";
|
|
20
|
+
import"./chunks/service-status-adb03esn.js";
|
|
21
|
+
import"./chunks/service-status-4bxenate.js";
|
|
22
|
+
import"./chunks/service-status-begnybrv.js";
|
|
23
|
+
import"./chunks/service-status-z09f7k88.js";
|
|
24
|
+
import"./chunks/service-status-3m0ygtwr.js";
|
|
25
|
+
import"./chunks/service-status-k136bvh5.js";
|
|
26
|
+
import"./chunks/service-status-wy11vdka.js";
|
|
27
|
+
import"./chunks/service-status-7armztsr.js";
|
|
28
|
+
import"./chunks/service-status-2af1wk9r.js";
|
|
29
|
+
import"./chunks/service-status-1wyt3am5.js";
|
|
30
|
+
import"./chunks/service-status-y5j6n4zr.js";
|
|
31
|
+
import"./chunks/service-status-vq4t5cew.js";
|
|
32
|
+
import"./chunks/service-status-b3jp5nc2.js";
|
|
33
|
+
import"./chunks/service-status-6py3w98b.js";
|
|
34
|
+
import"./chunks/service-status-8z4c9n9h.js";
|
|
35
|
+
import"./chunks/service-status-qnwsemje.js";
|
|
36
|
+
import"./chunks/service-status-h6rt5k9s.js";
|
|
37
|
+
import"./chunks/service-status-0gbaaetm.js";
|
|
38
|
+
import"./chunks/service-status-x34tt0qt.js";
|
|
39
|
+
import"./chunks/service-status-hc75vmb2.js";
|
|
40
|
+
import"./chunks/service-status-rkx9hda5.js";
|
|
41
|
+
import"./chunks/service-status-bkk2wfbz.js";
|
|
42
|
+
import"./chunks/service-status-rjpqaa8h.js";
|
|
43
|
+
import"./chunks/service-status-byt4hbw9.js";
|
|
44
|
+
import"./chunks/service-status-q4bn6dy8.js";
|
|
45
|
+
import"./chunks/service-status-anm12x33.js";
|
|
46
|
+
import"./chunks/service-status-9very778.js";
|
|
47
|
+
import"./chunks/service-status-2ac2kv4c.js";
|
|
48
|
+
import"./chunks/service-status-4hhhes7w.js";
|
|
49
|
+
import"./chunks/service-status-j4zqsxgy.js";
|
|
50
|
+
import"./chunks/service-status-b56hqv74.js";
|
|
51
|
+
import"./chunks/service-status-smaf4a18.js";
|
|
52
52
|
export {
|
|
53
53
|
exports_fetch as ServerFetch,
|
|
54
|
-
|
|
54
|
+
make3 as make
|
|
55
55
|
};
|
package/dist/handlers/agent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AgentHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const AgentHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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/service-status-1wyt3am5.js";
|
|
4
|
+
import"../chunks/service-status-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/service-status-4hhhes7w.js";
|
|
6
|
+
import"../chunks/service-status-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/service-status-b56hqv74.js";
|
|
8
|
+
import"../chunks/service-status-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/http-api/HttpApiGroup").Service<"server", "server.command">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const CommandHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.command">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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/service-status-4bxenate.js";
|
|
4
|
+
import"../chunks/service-status-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/service-status-4hhhes7w.js";
|
|
6
|
+
import"../chunks/service-status-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/service-status-b56hqv74.js";
|
|
8
|
+
import"../chunks/service-status-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/http-api/HttpApiGroup").Service<"server", "server.config">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const ConfigHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.config">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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/service-status-k136bvh5.js";
|
|
4
|
+
import"../chunks/service-status-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/service-status-4hhhes7w.js";
|
|
6
|
+
import"../chunks/service-status-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/service-status-b56hqv74.js";
|
|
8
|
+
import"../chunks/service-status-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/http-api/HttpApiGroup").Service<"server", "server.credential">, never, import("@opencode/protocol/middleware/
|
|
2
|
+
export declare const CredentialHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.credential">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("effect/http/HttpRouter").Request<"Requires", Credential.Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
|
@@ -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/service-status-hc75vmb2.js";
|
|
4
|
+
import"../chunks/service-status-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/service-status-4hhhes7w.js";
|
|
6
|
+
import"../chunks/service-status-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/service-status-b56hqv74.js";
|
|
8
|
+
import"../chunks/service-status-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/http-api/HttpApiGroup").Service<"server", "server.debug">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const DebugHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.debug">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|