@opencode/server 0.0.0-dev-20783 → 0.0.0-dev-20786
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 +13 -13
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{service-status-j87rfkvt.js → cors-00mapsdc.js} +4 -4
- package/dist/chunks/{service-status-jskw5q1g.js → cors-0b39h07j.js} +2 -2
- package/dist/chunks/{service-status-da5stqtt.js → cors-0q1fp77w.js} +2 -2
- package/dist/chunks/{service-status-zhqf1t9m.js → cors-10bq7mg4.js} +2 -2
- package/dist/chunks/{service-status-0b1t2b2s.js → cors-13tvbs17.js} +3 -3
- package/dist/chunks/{service-status-j54drd5e.js → cors-19taf7de.js} +2 -2
- package/dist/chunks/{service-status-np6fwbmz.js → cors-1tk2rec1.js} +30 -29
- package/dist/chunks/{service-status-mhyatxpf.js → cors-1x5dvcb3.js} +18 -18
- package/dist/chunks/{service-status-5fmydwgy.js → cors-360ay1ws.js} +2 -2
- package/dist/chunks/{service-status-pg3sqc69.js → cors-44qh4kfc.js} +4 -4
- package/dist/chunks/{service-status-2vy10eeh.js → cors-4r8g7rwq.js} +3 -3
- package/dist/chunks/{service-status-gtkdacvk.js → cors-5ytyqf1q.js} +5 -4
- package/dist/chunks/{service-status-9m28rhbj.js → cors-72xpy55t.js} +6 -6
- package/dist/chunks/{service-status-62qjgyra.js → cors-735x1s0d.js} +3 -3
- package/dist/chunks/{service-status-30gqa6y8.js → cors-73mn2n3x.js} +4 -4
- package/dist/chunks/{service-status-q4y3mw2d.js → cors-8cnxq26y.js} +3 -3
- package/dist/chunks/{service-status-j8182e46.js → cors-8d0mn004.js} +3 -3
- package/dist/chunks/{service-status-bptmkrac.js → cors-9e4rhycp.js} +3 -3
- package/dist/chunks/{service-status-anm12x33.js → cors-anm12x33.js} +1 -1
- package/dist/chunks/{service-status-bkk2wfbz.js → cors-bkk2wfbz.js} +1 -1
- package/dist/chunks/{service-status-fsrvj92d.js → cors-bwz286mg.js} +3 -3
- package/dist/chunks/{service-status-sstsrjtg.js → cors-byt4hbw9.js} +7 -7
- package/dist/chunks/{service-status-jy5syrnz.js → cors-drahxf95.js} +30 -34
- package/dist/chunks/{service-status-t8yzmczr.js → cors-erzfdgke.js} +1 -1
- package/dist/chunks/{service-status-w8db1rkr.js → cors-f3xezvck.js} +3 -3
- package/dist/chunks/{service-status-s07e4y6n.js → cors-g0rzwe5g.js} +7 -7
- package/dist/chunks/{service-status-ep84ha6r.js → cors-h2a6nn7k.js} +3 -3
- package/dist/chunks/cors-h6rt5k9s.js +24 -0
- package/dist/chunks/{service-status-m9wzfeff.js → cors-j03v2rh9.js} +3 -3
- package/dist/chunks/{service-status-qcy0p5fz.js → cors-jphw74cq.js} +3 -3
- package/dist/chunks/{service-status-nvmdgpqv.js → cors-nqswsw3h.js} +3 -3
- package/dist/chunks/{service-status-swb5yrqf.js → cors-p177e0cw.js} +3 -3
- package/dist/chunks/{service-status-srcrrwjk.js → cors-qggsn6y0.js} +3 -3
- package/dist/chunks/{service-status-zytx35xb.js → cors-r5pmcrqb.js} +10 -10
- package/dist/chunks/{service-status-99sfd1j8.js → cors-rjpqaa8h.js} +7 -7
- package/dist/chunks/{service-status-mpbfcr4e.js → cors-s1824482.js} +3 -3
- package/dist/chunks/{service-status-ccfecbt4.js → cors-tr76qvg4.js} +2 -2
- package/dist/chunks/{service-status-d00srfh1.js → cors-ty73jqxf.js} +3 -3
- package/dist/chunks/{service-status-nxdx74sv.js → cors-vw0q3knq.js} +3 -3
- package/dist/chunks/{service-status-3c937re8.js → cors-x5jn5rep.js} +3 -3
- package/dist/chunks/{service-status-xsrtpxyd.js → cors-xsrtpxyd.js} +1 -1
- package/dist/chunks/{service-status-k27f8enw.js → cors-y1vwtgfh.js} +4 -4
- package/dist/chunks/{service-status-387sf4vs.js → cors-ybxyv6z5.js} +2 -2
- package/dist/chunks/{service-status-ym5ktahd.js → cors-yk6p4dkd.js} +33 -33
- package/dist/chunks/{service-status-n7kafg5g.js → cors-ysb51p4r.js} +3 -3
- package/dist/chunks/{service-status-acgs9zzk.js → cors-ywn523ee.js} +5 -5
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- 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 +2 -2
- package/dist/location.js +4 -4
- package/dist/middleware/authorization.d.ts +1 -1
- 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 +3 -3
- package/dist/process.d.ts +4 -3
- package/dist/process.js +50 -50
- package/dist/pty-environment.js +1 -1
- 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 +5 -5
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +48 -48
- package/package.json +14 -12
- package/dist/chunks/service-status-hezj1jdf.js +0 -7
- /package/dist/chunks/{service-status-9rqn6x4v.js → cors-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → cors-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → cors-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → cors-yc7nft6q.js} +0 -0
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./cors-s1824482.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./cors-13tvbs17.js";
|
|
7
7
|
import {
|
|
8
8
|
ModelHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./cors-bwz286mg.js";
|
|
10
10
|
import {
|
|
11
11
|
ProviderHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./cors-p177e0cw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./cors-73mn2n3x.js";
|
|
16
16
|
import {
|
|
17
17
|
PermissionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./cors-44qh4kfc.js";
|
|
19
19
|
import {
|
|
20
20
|
FileSystemHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./cors-00mapsdc.js";
|
|
22
22
|
import {
|
|
23
23
|
FormHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./cors-4r8g7rwq.js";
|
|
25
25
|
import {
|
|
26
26
|
CommandHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./cors-8cnxq26y.js";
|
|
28
28
|
import {
|
|
29
29
|
SkillHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./cors-j03v2rh9.js";
|
|
31
31
|
import {
|
|
32
32
|
RpcHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./cors-10bq7mg4.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
layer3
|
|
36
|
+
} from "./cors-rjpqaa8h.js";
|
|
37
37
|
import {
|
|
38
38
|
EventHandler2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./cors-72xpy55t.js";
|
|
40
40
|
import {
|
|
41
41
|
AgentHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./cors-jphw74cq.js";
|
|
43
43
|
import {
|
|
44
44
|
PluginHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./cors-735x1s0d.js";
|
|
46
46
|
import {
|
|
47
47
|
ServerHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./cors-r5pmcrqb.js";
|
|
49
49
|
import {
|
|
50
50
|
DebugHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./cors-f3xezvck.js";
|
|
52
52
|
import {
|
|
53
53
|
PtyHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./cors-1tk2rec1.js";
|
|
55
55
|
import {
|
|
56
56
|
PersistentPtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./cors-drahxf95.js";
|
|
58
58
|
import {
|
|
59
59
|
ShellHandler2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./cors-qggsn6y0.js";
|
|
61
61
|
import {
|
|
62
62
|
ReferenceHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./cors-ysb51p4r.js";
|
|
64
64
|
import {
|
|
65
65
|
LocationHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./cors-0q1fp77w.js";
|
|
67
67
|
import {
|
|
68
68
|
IntegrationHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./cors-8d0mn004.js";
|
|
70
70
|
import {
|
|
71
71
|
WebSearchHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./cors-9e4rhycp.js";
|
|
73
73
|
import {
|
|
74
74
|
McpHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./cors-x5jn5rep.js";
|
|
76
76
|
import {
|
|
77
77
|
CredentialHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./cors-19taf7de.js";
|
|
79
79
|
import {
|
|
80
80
|
ProjectHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./cors-360ay1ws.js";
|
|
82
82
|
import {
|
|
83
83
|
WorktreeHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./cors-tr76qvg4.js";
|
|
85
85
|
import {
|
|
86
86
|
VcsHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./cors-nqswsw3h.js";
|
|
88
88
|
import {
|
|
89
89
|
MigrationHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./cors-ybxyv6z5.js";
|
|
91
91
|
import {
|
|
92
92
|
ConfigHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./cors-0b39h07j.js";
|
|
94
94
|
|
|
95
95
|
// src/handlers.ts
|
|
96
96
|
import { Layer } from "effect";
|
|
97
|
-
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(
|
|
97
|
+
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
|
|
98
98
|
|
|
99
99
|
export { handlers2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./cors-ywn523ee.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./cors-h2a6nn7k.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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./cors-smaf4a18.js";
|
|
4
4
|
|
|
5
5
|
// src/location.ts
|
|
6
6
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -10,8 +10,8 @@ import { AbsolutePath } from "@opencode/core/schema";
|
|
|
10
10
|
import { Session } from "@opencode/core/session";
|
|
11
11
|
import { LocationNotFoundError, InvalidRequestError } from "@opencode/protocol/errors";
|
|
12
12
|
import { Effect, Layer, Schema } from "effect";
|
|
13
|
-
import { HttpServerRequest } from "effect/
|
|
14
|
-
import { HttpApiMiddleware } from "effect/
|
|
13
|
+
import { HttpServerRequest } from "effect/http";
|
|
14
|
+
import { HttpApiMiddleware } from "effect/http-api";
|
|
15
15
|
class LocationMiddleware2 extends HttpApiMiddleware.Service()("@opencode/HttpApiLocation", { error: [LocationNotFoundError] }) {
|
|
16
16
|
}
|
|
17
17
|
function locationErrors2(effect) {
|
|
@@ -51,7 +51,7 @@ function decode(input) {
|
|
|
51
51
|
return input;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
55
55
|
const locations = yield* LocationServiceMap.Service;
|
|
56
56
|
return LocationMiddleware2.of((effect) => Effect.gen(function* () {
|
|
57
57
|
const request = yield* HttpServerRequest.HttpServerRequest;
|
|
@@ -59,4 +59,4 @@ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
|
59
59
|
}));
|
|
60
60
|
}));
|
|
61
61
|
|
|
62
|
-
export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2,
|
|
62
|
+
export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer4 };
|
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/cors-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.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
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/
|
|
4
|
+
} from "./chunks/cors-y1vwtgfh.js";
|
|
5
|
+
import"./chunks/cors-1x5dvcb3.js";
|
|
6
|
+
import"./chunks/cors-erzfdgke.js";
|
|
7
|
+
import"./chunks/cors-5ytyqf1q.js";
|
|
8
|
+
import"./chunks/cors-yk6p4dkd.js";
|
|
9
|
+
import"./chunks/cors-8cnxq26y.js";
|
|
10
|
+
import"./chunks/cors-1tk2rec1.js";
|
|
11
|
+
import"./chunks/cors-72xpy55t.js";
|
|
12
|
+
import"./chunks/cors-0b39h07j.js";
|
|
13
|
+
import"./chunks/cors-drahxf95.js";
|
|
14
|
+
import"./chunks/cors-h6rt5k9s.js";
|
|
15
|
+
import"./chunks/cors-0q1fp77w.js";
|
|
16
|
+
import"./chunks/cors-s1824482.js";
|
|
17
|
+
import"./chunks/cors-4r8g7rwq.js";
|
|
18
|
+
import"./chunks/cors-8d0mn004.js";
|
|
19
|
+
import"./chunks/cors-qggsn6y0.js";
|
|
20
|
+
import"./chunks/cors-73mn2n3x.js";
|
|
21
|
+
import"./chunks/cors-10bq7mg4.js";
|
|
22
|
+
import"./chunks/cors-p177e0cw.js";
|
|
23
|
+
import"./chunks/cors-jphw74cq.js";
|
|
24
|
+
import"./chunks/cors-nqswsw3h.js";
|
|
25
|
+
import"./chunks/cors-x5jn5rep.js";
|
|
26
|
+
import"./chunks/cors-735x1s0d.js";
|
|
27
|
+
import"./chunks/cors-tr76qvg4.js";
|
|
28
|
+
import"./chunks/cors-19taf7de.js";
|
|
29
|
+
import"./chunks/cors-360ay1ws.js";
|
|
30
|
+
import"./chunks/cors-j03v2rh9.js";
|
|
31
|
+
import"./chunks/cors-44qh4kfc.js";
|
|
32
|
+
import"./chunks/cors-13tvbs17.js";
|
|
33
|
+
import"./chunks/cors-ybxyv6z5.js";
|
|
34
|
+
import"./chunks/cors-bwz286mg.js";
|
|
35
|
+
import"./chunks/cors-ysb51p4r.js";
|
|
36
|
+
import"./chunks/cors-f3xezvck.js";
|
|
37
|
+
import"./chunks/cors-9e4rhycp.js";
|
|
38
|
+
import"./chunks/cors-r5pmcrqb.js";
|
|
39
|
+
import"./chunks/cors-00mapsdc.js";
|
|
40
|
+
import"./chunks/cors-bkk2wfbz.js";
|
|
41
|
+
import"./chunks/cors-rjpqaa8h.js";
|
|
42
|
+
import"./chunks/cors-h2a6nn7k.js";
|
|
43
|
+
import"./chunks/cors-ty73jqxf.js";
|
|
44
|
+
import"./chunks/cors-vw0q3knq.js";
|
|
45
|
+
import"./chunks/cors-ywn523ee.js";
|
|
46
|
+
import"./chunks/cors-smaf4a18.js";
|
|
47
|
+
import"./chunks/cors-q4bn6dy8.js";
|
|
48
|
+
import"./chunks/cors-anm12x33.js";
|
|
49
|
+
import"./chunks/cors-byt4hbw9.js";
|
|
50
|
+
import"./chunks/cors-g0rzwe5g.js";
|
|
51
51
|
export {
|
|
52
52
|
exports_fetch as ServerFetch,
|
|
53
53
|
make3 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/cors-jphw74cq.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-8cnxq26y.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-0b39h07j.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-19taf7de.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-f3xezvck.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-72xpy55t.js";
|
|
4
|
+
import"../chunks/cors-rjpqaa8h.js";
|
|
5
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
6
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
7
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
8
|
+
import"../chunks/cors-ywn523ee.js";
|
|
9
|
+
import"../chunks/cors-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/cors-4r8g7rwq.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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/cors-00mapsdc.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-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)>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-s1824482.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
GenerateHandler2 as GenerateHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { WellKnown } from "@opencode/core/wellknown";
|
|
2
|
-
export declare const IntegrationHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const IntegrationHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.integration">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", WellKnown.Service>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IntegrationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-8d0mn004.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
IntegrationHandler2 as IntegrationHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
2
|
-
export declare const LocationHandler: import("effect/Layer").Layer<import("effect/
|
|
2
|
+
export declare const LocationHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.location">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | LocationServiceMap.Service | import("../location").LocationMiddleware>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/cors-0q1fp77w.js";
|
|
4
|
+
import"../chunks/cors-h2a6nn7k.js";
|
|
5
|
+
import"../chunks/cors-ty73jqxf.js";
|
|
6
|
+
import"../chunks/cors-vw0q3knq.js";
|
|
7
|
+
import"../chunks/cors-ywn523ee.js";
|
|
8
|
+
import"../chunks/cors-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
LocationHandler2 as LocationHandler
|
|
11
11
|
};
|
package/dist/handlers/mcp.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const McpHandler: import("effect/Layer").Layer<import("effect/
|
|
1
|
+
export declare const McpHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp">, never, import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware>;
|