@opencode/server 0.0.0-dev-1304 → 0.0.0-dev-1308
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-4ed680xg.js → routes-09kw3a77.js} +2 -2
- package/dist/chunks/{workerd-0q7s66m2.js → routes-0q7s66m2.js} +1 -1
- package/dist/chunks/{workerd-ayveq98d.js → routes-1h6b4sc5.js} +2 -2
- package/dist/chunks/{workerd-dz2mkdr7.js → routes-1ndv3m9h.js} +4 -4
- package/dist/chunks/{workerd-d916egzr.js → routes-29k9bqz5.js} +8 -8
- package/dist/chunks/{workerd-vbgqk0mr.js → routes-2eaky32g.js} +2 -2
- package/dist/chunks/{workerd-vwst3qwp.js → routes-3ffwxvqt.js} +4 -4
- package/dist/chunks/{workerd-b4mqtccx.js → routes-4q6e7fh8.js} +2 -2
- package/dist/chunks/{workerd-50bbk3b2.js → routes-50bbk3b2.js} +1 -1
- package/dist/chunks/{workerd-d8b9pm2q.js → routes-5cpb32hf.js} +1 -1
- package/dist/chunks/{workerd-ap1t95t8.js → routes-5s0wnsg4.js} +3 -3
- package/dist/chunks/{workerd-tjxfj8xj.js → routes-6h2twn5f.js} +6 -6
- package/dist/chunks/{workerd-x4b2rtcb.js → routes-6z9pvq7p.js} +1 -1
- package/dist/chunks/{workerd-78rcgzsr.js → routes-78rcgzsr.js} +1 -1
- package/dist/chunks/{workerd-7b9xm1qg.js → routes-7b9xm1qg.js} +1 -1
- package/dist/chunks/{workerd-dezpcckc.js → routes-8mj7kvhm.js} +2 -2
- package/dist/chunks/{workerd-8sb6qqpn.js → routes-8sb6qqpn.js} +1 -1
- package/dist/chunks/{workerd-2pbbrzpp.js → routes-91858wp1.js} +2 -2
- package/dist/chunks/{workerd-9cd3a4b8.js → routes-9cd3a4b8.js} +1 -1
- package/dist/chunks/{workerd-05c5061t.js → routes-a8jcac9a.js} +1 -1
- package/dist/chunks/{workerd-9grnt8dc.js → routes-az0609r6.js} +2 -2
- package/dist/chunks/{workerd-b3bmdkga.js → routes-b3bmdkga.js} +1 -1
- package/dist/chunks/{workerd-kg0ybx4v.js → routes-btahnm2b.js} +3 -3
- package/dist/chunks/{workerd-hx8bsq9d.js → routes-cezwbsk5.js} +1 -1
- package/dist/chunks/{workerd-cr5sd8bz.js → routes-cr5sd8bz.js} +2 -2
- package/dist/chunks/{workerd-et00mhwf.js → routes-d0edqfxx.js} +2 -2
- package/dist/chunks/{workerd-gkmn61yw.js → routes-df5pwwd8.js} +16 -13
- package/dist/chunks/{workerd-djr0jy89.js → routes-djr0jy89.js} +1 -1
- package/dist/chunks/{workerd-dt6ztnjc.js → routes-ea796ghj.js} +4 -4
- package/dist/chunks/{workerd-861wfsmy.js → routes-enp1bp7r.js} +1 -1
- package/dist/chunks/{workerd-v8aqacn3.js → routes-f559fakr.js} +2 -2
- package/dist/chunks/{workerd-rd9e3qfx.js → routes-gyryr0mf.js} +4 -4
- package/dist/chunks/{workerd-htyf2qs7.js → routes-htyf2qs7.js} +1 -1
- package/dist/chunks/{workerd-j4at0y5c.js → routes-j4at0y5c.js} +1 -1
- package/dist/chunks/{workerd-0e81et3m.js → routes-j87xz9bt.js} +3 -3
- package/dist/chunks/{workerd-dx89xydc.js → routes-kkdkqt8j.js} +2 -2
- package/dist/chunks/{workerd-329v7z98.js → routes-mt9dm7jc.js} +6 -6
- package/dist/chunks/{workerd-myqk22k5.js → routes-myqk22k5.js} +2 -2
- package/dist/chunks/{workerd-w9jcwh65.js → routes-mzs0n5xz.js} +7 -7
- package/dist/chunks/{workerd-8eygn9fy.js → routes-ndqj118v.js} +5 -5
- package/dist/chunks/{workerd-q44yktpv.js → routes-ny1j968n.js} +2 -2
- package/dist/chunks/{workerd-p86kew8c.js → routes-p86kew8c.js} +2 -2
- package/dist/chunks/{workerd-wq29mwx6.js → routes-psw29prz.js} +4 -4
- package/dist/chunks/{workerd-p20sgqe3.js → routes-pzznfa61.js} +33 -33
- package/dist/chunks/{workerd-h1thjy6x.js → routes-qcg3sqtb.js} +2 -2
- package/dist/chunks/{workerd-f8r9p2vr.js → routes-qd0r787n.js} +2 -2
- package/dist/chunks/{workerd-4p2y0qs3.js → routes-rha2aq18.js} +2 -2
- package/dist/chunks/{workerd-h286a6py.js → routes-rs3v36hp.js} +2 -2
- package/dist/chunks/{workerd-t32e1bbt.js → routes-t32e1bbt.js} +1 -1
- package/dist/chunks/{workerd-s9tkswmw.js → routes-te8jwba1.js} +2 -2
- package/dist/chunks/{workerd-tk56ffsq.js → routes-yk755swr.js} +2 -2
- package/dist/chunks/{workerd-z3e7v67k.js → routes-z3e7v67k.js} +1 -1
- package/dist/chunks/{workerd-zbe9jfhy.js → routes-zcvan105.js} +1 -1
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.d.ts +3 -0
- package/dist/fetch.js +59 -59
- 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.d.ts +11 -1
- package/dist/handlers/job.js +2 -2
- package/dist/handlers/location.js +6 -6
- 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 +15 -15
- 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 +52 -52
- package/dist/location.js +2 -2
- 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/options.d.ts +3 -0
- package/dist/options.js +3 -0
- package/dist/pairing.js +3 -3
- package/dist/process.d.ts +3 -0
- package/dist/process.js +60 -60
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +56 -56
- package/dist/server-info.js +1 -1
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +60 -60
- package/package.json +8 -8
- /package/dist/chunks/{workerd-9rqn6x4v.js → routes-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workerd-bd8755ek.js → routes-bd8755ek.js} +0 -0
- /package/dist/chunks/{workerd-n26yr6pw.js → routes-n26yr6pw.js} +0 -0
- /package/dist/chunks/{workerd-q187pxxd.js → routes-q187pxxd.js} +0 -0
- /package/dist/chunks/{workerd-q4bn6dy8.js → routes-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{workerd-smaf4a18.js → routes-smaf4a18.js} +0 -0
- /package/dist/chunks/{workerd-xthc02cw.js → routes-xthc02cw.js} +0 -0
- /package/dist/chunks/{workerd-yc7nft6q.js → routes-yc7nft6q.js} +0 -0
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/routes-j87xz9bt.js";
|
|
4
|
+
import"./chunks/routes-htyf2qs7.js";
|
|
5
|
+
import"./chunks/routes-b3bmdkga.js";
|
|
6
|
+
import"./chunks/routes-50bbk3b2.js";
|
|
7
|
+
import"./chunks/routes-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./routes-j87xz9bt.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/usage.ts
|
|
9
9
|
import { UsageLimits } from "@opencode/core/usage-limits";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./routes-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-j87xz9bt.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/generate.ts
|
|
10
10
|
import { Flag } from "@opencode/core/flag";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./routes-50bbk3b2.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./routes-j87xz9bt.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./routes-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2,
|
|
15
15
|
holdLocation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./routes-q187pxxd.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/mcp.ts
|
|
19
19
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-j87xz9bt.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
makeArtifact2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./routes-p86kew8c.js";
|
|
11
11
|
import {
|
|
12
12
|
makeBlobGet2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./routes-cr5sd8bz.js";
|
|
14
14
|
import {
|
|
15
15
|
makeAutomation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./routes-9cd3a4b8.js";
|
|
17
17
|
import {
|
|
18
18
|
makeJob2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./routes-78rcgzsr.js";
|
|
20
20
|
import {
|
|
21
21
|
makeMediaGet2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./routes-djr0jy89.js";
|
|
23
23
|
import {
|
|
24
24
|
runPtySocket2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./routes-q187pxxd.js";
|
|
26
26
|
|
|
27
27
|
// src/handlers/persistent-pty.ts
|
|
28
28
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-j87xz9bt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service3,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-6h2twn5f.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/event.ts
|
|
10
10
|
import { Event } from "@opencode/schema/event";
|
|
@@ -12,7 +12,7 @@ import { Effect, Stream } from "effect";
|
|
|
12
12
|
import { HttpServerResponse } from "effect/http";
|
|
13
13
|
import { HttpApiBuilder } from "effect/http-api";
|
|
14
14
|
var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
|
|
15
|
-
const feed = yield*
|
|
15
|
+
const feed = yield* Service3;
|
|
16
16
|
return handlers.handleRaw("event.subscribe", (ctx) => Effect.gen(function* () {
|
|
17
17
|
const connected = {
|
|
18
18
|
id: Event.ID.create(),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./routes-smaf4a18.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-j87xz9bt.js";
|
|
8
8
|
import {
|
|
9
9
|
wantsMediaRefs2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./routes-xthc02cw.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/message.ts
|
|
13
13
|
import { SessionMessage } from "@opencode/core/session/message";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-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,
|
|
@@ -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)}
|
|
@@ -72,13 +72,13 @@ var make3 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
72
72
|
});
|
|
73
73
|
const unsubscribe = yield* observe(publish);
|
|
74
74
|
yield* Effect.addFinalizer(() => unsubscribe);
|
|
75
|
-
return
|
|
75
|
+
return Service3.of({
|
|
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 layer3 = Layer.effect(
|
|
79
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
80
80
|
const bus = yield* Bus.Service;
|
|
81
81
|
return yield* make3(bus.listen);
|
|
82
82
|
}));
|
|
83
83
|
|
|
84
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2,
|
|
84
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service3, frame2, make3, layer3, exports_event_feed };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./routes-j87xz9bt.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./routes-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-j87xz9bt.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/provider.ts
|
|
10
10
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-smaf4a18.js";
|
|
4
4
|
import {
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
sessionInfo2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./routes-50bbk3b2.js";
|
|
9
9
|
import {
|
|
10
10
|
Api2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./routes-j87xz9bt.js";
|
|
12
12
|
|
|
13
13
|
// src/handlers/permission.ts
|
|
14
14
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./routes-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-j87xz9bt.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/voice.ts
|
|
10
10
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layer4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./routes-htyf2qs7.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./routes-b3bmdkga.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./routes-j87xz9bt.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./routes-j4at0y5c.js";
|
|
16
16
|
import {
|
|
17
17
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./routes-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
20
|
layer2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./routes-z3e7v67k.js";
|
|
22
22
|
import {
|
|
23
23
|
node2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./routes-mzs0n5xz.js";
|
|
25
25
|
import {
|
|
26
26
|
handlers2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./routes-pzznfa61.js";
|
|
28
28
|
import {
|
|
29
29
|
authorizationLayer2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./routes-7b9xm1qg.js";
|
|
31
31
|
import {
|
|
32
32
|
schemaErrorLayer2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./routes-bd8755ek.js";
|
|
34
34
|
import {
|
|
35
35
|
defectResponseLayer2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./routes-n26yr6pw.js";
|
|
37
37
|
|
|
38
38
|
// src/routes.ts
|
|
39
39
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -140,7 +140,10 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
|
|
|
140
140
|
file: options.config?.file,
|
|
141
141
|
content: options.config?.content
|
|
142
142
|
})),
|
|
143
|
-
InstructionDiscovery.node.replace(InstructionDiscovery.configured({
|
|
143
|
+
InstructionDiscovery.node.replace(InstructionDiscovery.configured({
|
|
144
|
+
project: options.config?.project,
|
|
145
|
+
claude: options.instructions?.claude
|
|
146
|
+
})),
|
|
144
147
|
ShellSelect.node.replace(ShellSelect.configured({ gitbash: options.windows?.gitbash })),
|
|
145
148
|
Mcp.node.replace(Mcp.configured({
|
|
146
149
|
clientInfo: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./routes-j87xz9bt.js";
|
|
7
7
|
import {
|
|
8
8
|
download2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./routes-t32e1bbt.js";
|
|
10
10
|
import {
|
|
11
11
|
parse2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./routes-8sb6qqpn.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/fs.ts
|
|
15
15
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
missingMessage2,
|
|
4
4
|
failedMessageDecode2,
|
|
5
5
|
failedSnapshot2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./routes-smaf4a18.js";
|
|
7
7
|
import {
|
|
8
8
|
locationErrors2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./routes-50bbk3b2.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./routes-j87xz9bt.js";
|
|
13
13
|
import {
|
|
14
14
|
wantsMediaRefs2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./routes-xthc02cw.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/session.ts
|
|
18
18
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./routes-htyf2qs7.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./routes-b3bmdkga.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./routes-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./routes-j87xz9bt.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/websearch.ts
|
|
10
10
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./routes-j87xz9bt.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./routes-j4at0y5c.js";
|
|
10
10
|
import {
|
|
11
11
|
Service2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./routes-z3e7v67k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service4
|
|
15
|
+
} from "./routes-mzs0n5xz.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { hostname } from "node:os";
|
|
@@ -22,7 +22,7 @@ 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* Service4;
|
|
26
26
|
const auth = yield* Config2;
|
|
27
27
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
28
28
|
const info = yield* Service2;
|