@opencode/server 0.0.0-dev-1365 → 0.0.0-dev-1366
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/{media-uri-a7c8a9w3.js → content-headers-1kqc9805.js} +5 -5
- package/dist/chunks/{media-uri-4th25279.js → content-headers-1nsytpdt.js} +4 -4
- package/dist/chunks/{media-uri-8xwrz458.js → content-headers-21qqm769.js} +12 -12
- package/dist/chunks/{media-uri-29nx48hm.js → content-headers-29nx48hm.js} +1 -1
- package/dist/chunks/{media-uri-7dtbad8d.js → content-headers-3te71694.js} +7 -7
- package/dist/chunks/{media-uri-j605n900.js → content-headers-3w2mqh28.js} +2 -2
- package/dist/chunks/{media-uri-g23ffrnz.js → content-headers-50kbksvb.js} +2 -2
- package/dist/chunks/{media-uri-ws2ckpmb.js → content-headers-5ky8bme5.js} +3 -3
- package/dist/chunks/{media-uri-k12h8tw9.js → content-headers-6anyjjh1.js} +1 -1
- package/dist/chunks/{media-uri-zy859vyn.js → content-headers-6n31atta.js} +35 -35
- package/dist/chunks/{media-uri-6pm6ek88.js → content-headers-6pm6ek88.js} +1 -1
- package/dist/chunks/{media-uri-yvy5qft7.js → content-headers-7r996r31.js} +2 -2
- package/dist/chunks/{media-uri-py78bw87.js → content-headers-8a8vhjqy.js} +8 -8
- package/dist/chunks/{media-uri-8sb6qqpn.js → content-headers-8sb6qqpn.js} +1 -1
- package/dist/chunks/{media-uri-3xfmgb6c.js → content-headers-8xffg4dw.js} +2 -2
- package/dist/chunks/{media-uri-341zm3rs.js → content-headers-8y9zssdg.js} +2 -2
- package/dist/chunks/{media-uri-ggw25rqf.js → content-headers-ar950k47.js} +1 -1
- package/dist/chunks/{media-uri-72bf7qt9.js → content-headers-br4x4prt.js} +3 -3
- package/dist/chunks/{media-uri-r5yb7twv.js → content-headers-c6ktqe09.js} +2 -2
- package/dist/chunks/{media-uri-0dfmev2z.js → content-headers-ca564221.js} +1 -1
- package/dist/chunks/{media-uri-qgjb3f4w.js → content-headers-cj97w75w.js} +2 -2
- package/dist/chunks/{media-uri-844nmnmk.js → content-headers-ddhjwr2w.js} +2 -2
- package/dist/chunks/{media-uri-kc553r92.js → content-headers-df03ef4a.js} +2 -2
- package/dist/chunks/{media-uri-djr0jy89.js → content-headers-djr0jy89.js} +1 -1
- package/dist/chunks/{media-uri-e6e4kz0w.js → content-headers-e6e4kz0w.js} +1 -1
- package/dist/chunks/{media-uri-2h3x7256.js → content-headers-eacgzt6w.js} +1 -1
- package/dist/chunks/{media-uri-fsvp99pe.js → content-headers-ehyp3zqd.js} +1 -1
- package/dist/chunks/{media-uri-qcnb494j.js → content-headers-esvnag9e.js} +2 -2
- package/dist/chunks/{media-uri-ttd4mjws.js → content-headers-f1tstpac.js} +17 -17
- package/dist/chunks/{media-uri-tktas153.js → content-headers-f412ctvv.js} +2 -2
- package/dist/chunks/{media-uri-fmkwyf76.js → content-headers-fmkwyf76.js} +1 -1
- package/dist/chunks/{media-uri-r9w3a44p.js → content-headers-g9qy0kb1.js} +2 -2
- package/dist/chunks/{media-uri-hs3dbf8w.js → content-headers-hs3dbf8w.js} +1 -1
- package/dist/chunks/{media-uri-zs3a96ke.js → content-headers-htk4x1jk.js} +2 -2
- package/dist/chunks/{media-uri-j4at0y5c.js → content-headers-j4at0y5c.js} +1 -1
- package/dist/chunks/{media-uri-j6y32kmq.js → content-headers-javgytnb.js} +2 -2
- package/dist/chunks/{media-uri-8y4d9f30.js → content-headers-jhs8rzvk.js} +3 -3
- package/dist/chunks/{media-uri-vyjhrbg0.js → content-headers-ka2mtp6f.js} +2 -2
- package/dist/chunks/{media-uri-r1mf3bzp.js → content-headers-maarxay5.js} +4 -4
- package/dist/chunks/{media-uri-9vfv9n1y.js → content-headers-mq10h3bj.js} +4 -4
- package/dist/chunks/{media-uri-myqk22k5.js → content-headers-myqk22k5.js} +2 -2
- package/dist/chunks/{media-uri-w9jcwh65.js → content-headers-mzs0n5xz.js} +7 -7
- package/dist/chunks/{media-uri-a7k393fm.js → content-headers-nfrn9zxf.js} +2 -2
- package/dist/chunks/{media-uri-raj3p8q0.js → content-headers-nh63c3gg.js} +3 -3
- package/dist/chunks/{media-uri-cgcw2b0e.js → content-headers-phgds112.js} +2 -2
- package/dist/chunks/{media-uri-dyvstyyh.js → content-headers-qagtm26v.js} +4 -4
- package/dist/chunks/{media-uri-zmrq0y42.js → content-headers-r682v2h3.js} +2 -2
- package/dist/chunks/{media-uri-z564cb4b.js → content-headers-r6qsbz4y.js} +2 -2
- package/dist/chunks/{media-uri-fcw485c9.js → content-headers-rg932pab.js} +2 -2
- package/dist/chunks/{media-uri-t32e1bbt.js → content-headers-t32e1bbt.js} +1 -1
- package/dist/chunks/{media-uri-v60tcbt5.js → content-headers-v60tcbt5.js} +1 -1
- package/dist/chunks/{media-uri-fegnxd42.js → content-headers-wjh98yw2.js} +1 -1
- package/dist/chunks/{media-uri-x2qy7jg1.js → content-headers-x2qy7jg1.js} +1 -1
- package/dist/chunks/{media-uri-sn8sqewc.js → content-headers-y8sa9sbe.js} +2 -2
- package/dist/chunks/{media-uri-7tv8nec1.js → content-headers-ykr4m3zx.js} +1 -1
- package/dist/chunks/{media-uri-gqstb6bx.js → content-headers-z0v7xmc8.js} +2 -2
- package/dist/chunks/{media-uri-sbde0s13.js → content-headers-z80wqx10.js} +1 -1
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +1 -1
- package/dist/fetch.js +65 -65
- 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/experimental/browser-tunnel.js +4 -4
- package/dist/handlers/flag.js +6 -6
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +8 -8
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.js +2 -2
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/machine.js +1 -1
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +2 -2
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.js +20 -20
- 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/push.js +1 -1
- 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/space.js +2 -2
- 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 +58 -58
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/defect-response.js +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +3 -3
- package/dist/process.js +66 -66
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +62 -62
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +1 -1
- package/dist/space-store.js +1 -1
- package/dist/workerd.js +68 -77
- package/package.json +8 -8
- /package/dist/chunks/{media-uri-017ycvbx.js → content-headers-017ycvbx.js} +0 -0
- /package/dist/chunks/{media-uri-9rqn6x4v.js → content-headers-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{media-uri-bd8755ek.js → content-headers-bd8755ek.js} +0 -0
- /package/dist/chunks/{media-uri-n26yr6pw.js → content-headers-n26yr6pw.js} +0 -0
- /package/dist/chunks/{media-uri-q187pxxd.js → content-headers-q187pxxd.js} +0 -0
- /package/dist/chunks/{media-uri-q4bn6dy8.js → content-headers-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{media-uri-qpnw2qd1.js → content-headers-qpnw2qd1.js} +0 -0
- /package/dist/chunks/{media-uri-rqgv9x42.js → content-headers-rqgv9x42.js} +0 -0
- /package/dist/chunks/{media-uri-xthc02cw.js → content-headers-xthc02cw.js} +0 -0
- /package/dist/chunks/{media-uri-yc7nft6q.js → content-headers-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/content-headers-jhs8rzvk.js";
|
|
4
|
+
import"./chunks/content-headers-ca564221.js";
|
|
5
|
+
import"./chunks/content-headers-ehyp3zqd.js";
|
|
6
|
+
import"./chunks/content-headers-br4x4prt.js";
|
|
7
|
+
import"./chunks/content-headers-rqgv9x42.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAllowedCorsOrigin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-q4bn6dy8.js";
|
|
4
4
|
import {
|
|
5
5
|
middleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-myqk22k5.js";
|
|
7
7
|
import {
|
|
8
8
|
withoutParentSpan2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./content-headers-yc7nft6q.js";
|
|
10
10
|
import {
|
|
11
11
|
createRoutes2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./content-headers-f1tstpac.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./content-headers-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/fetch.ts
|
|
18
18
|
var exports_fetch = {};
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./content-headers-br4x4prt.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./content-headers-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2,
|
|
15
15
|
holdLocation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./content-headers-q187pxxd.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/mcp.ts
|
|
19
19
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./content-headers-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
makeArtifact2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./content-headers-javgytnb.js";
|
|
11
11
|
import {
|
|
12
12
|
makeBlobGet2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./content-headers-50kbksvb.js";
|
|
14
14
|
import {
|
|
15
15
|
makeBrowserTunnel2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./content-headers-ka2mtp6f.js";
|
|
17
17
|
import {
|
|
18
18
|
makeAutomation2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./content-headers-6pm6ek88.js";
|
|
20
20
|
import {
|
|
21
21
|
makeJob2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./content-headers-x2qy7jg1.js";
|
|
23
23
|
import {
|
|
24
24
|
makeMachineLink2,
|
|
25
25
|
makeMachine2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./content-headers-017ycvbx.js";
|
|
27
27
|
import {
|
|
28
28
|
makeMediaGet2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./content-headers-djr0jy89.js";
|
|
30
30
|
import {
|
|
31
31
|
makePush2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./content-headers-qpnw2qd1.js";
|
|
33
33
|
import {
|
|
34
34
|
makeSpace2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./content-headers-v60tcbt5.js";
|
|
36
36
|
import {
|
|
37
37
|
runPtySocket2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./content-headers-q187pxxd.js";
|
|
39
39
|
|
|
40
40
|
// src/handlers/persistent-pty.ts
|
|
41
41
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/server-info.ts
|
|
6
6
|
var exports_server_info = {};
|
|
7
7
|
__export(exports_server_info, {
|
|
8
8
|
ServerInfo: () => exports_server_info,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
connectionURLs: () => connectionURLs2,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { networkInterfaces } from "node:os";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return Layer.succeed(
|
|
18
|
+
function layer3(urls, tmp, app = {}) {
|
|
19
|
+
return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
|
|
20
20
|
}
|
|
21
21
|
function connectionURLs2(value, requestedHostname) {
|
|
22
22
|
const url = new URL(value);
|
|
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
|
|
|
38
38
|
];
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Service3, layer3, connectionURLs2, exports_server_info };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
4
4
|
import {
|
|
5
5
|
requireConnectable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-7r996r31.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/credential.ts
|
|
9
9
|
import { Credential } from "@opencode/core/credential";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
download2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-t32e1bbt.js";
|
|
4
4
|
import {
|
|
5
5
|
parse2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-8sb6qqpn.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/blob.ts
|
|
9
9
|
import { BlobStore } from "@opencode/core/blob-store";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-rqgv9x42.js";
|
|
4
4
|
import {
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
sessionInfo2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./content-headers-br4x4prt.js";
|
|
9
9
|
import {
|
|
10
10
|
Api2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
12
12
|
|
|
13
13
|
// src/handlers/permission.ts
|
|
14
14
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-r682v2h3.js";
|
|
4
4
|
import {
|
|
5
5
|
VoiceHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-phgds112.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./content-headers-nh63c3gg.js";
|
|
10
10
|
import {
|
|
11
11
|
ModelHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./content-headers-y8sa9sbe.js";
|
|
13
13
|
import {
|
|
14
14
|
ProviderHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./content-headers-cj97w75w.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./content-headers-qagtm26v.js";
|
|
19
19
|
import {
|
|
20
20
|
PermissionHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./content-headers-5ky8bme5.js";
|
|
22
22
|
import {
|
|
23
23
|
FileSystemHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./content-headers-maarxay5.js";
|
|
25
25
|
import {
|
|
26
26
|
FormHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./content-headers-esvnag9e.js";
|
|
28
28
|
import {
|
|
29
29
|
CommandHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./content-headers-8y9zssdg.js";
|
|
31
31
|
import {
|
|
32
32
|
SkillHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./content-headers-g9qy0kb1.js";
|
|
34
34
|
import {
|
|
35
35
|
RpcHandler2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./content-headers-ar950k47.js";
|
|
37
37
|
import {
|
|
38
38
|
layer2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./content-headers-hs3dbf8w.js";
|
|
40
40
|
import {
|
|
41
41
|
EventHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./content-headers-8xffg4dw.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./content-headers-f412ctvv.js";
|
|
46
46
|
import {
|
|
47
47
|
PluginHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./content-headers-z0v7xmc8.js";
|
|
49
49
|
import {
|
|
50
50
|
ServerHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./content-headers-8a8vhjqy.js";
|
|
52
52
|
import {
|
|
53
53
|
DebugHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./content-headers-nfrn9zxf.js";
|
|
55
55
|
import {
|
|
56
56
|
PtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./content-headers-mq10h3bj.js";
|
|
58
58
|
import {
|
|
59
59
|
extension2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./content-headers-fmkwyf76.js";
|
|
61
61
|
import {
|
|
62
62
|
PersistentPtyHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./content-headers-21qqm769.js";
|
|
64
64
|
import {
|
|
65
65
|
ShellHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./content-headers-df03ef4a.js";
|
|
67
67
|
import {
|
|
68
68
|
ReferenceHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./content-headers-rg932pab.js";
|
|
70
70
|
import {
|
|
71
71
|
LocationHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./content-headers-z80wqx10.js";
|
|
73
73
|
import {
|
|
74
74
|
IntegrationHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./content-headers-7r996r31.js";
|
|
76
76
|
import {
|
|
77
77
|
WebSearchHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./content-headers-htk4x1jk.js";
|
|
79
79
|
import {
|
|
80
80
|
UsageHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./content-headers-ddhjwr2w.js";
|
|
82
82
|
import {
|
|
83
83
|
FlagHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./content-headers-r6qsbz4y.js";
|
|
85
85
|
import {
|
|
86
86
|
McpHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./content-headers-1nsytpdt.js";
|
|
88
88
|
import {
|
|
89
89
|
CredentialHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./content-headers-3w2mqh28.js";
|
|
91
91
|
import {
|
|
92
92
|
ProjectHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./content-headers-6anyjjh1.js";
|
|
94
94
|
import {
|
|
95
95
|
WorktreeHandler2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./content-headers-ykr4m3zx.js";
|
|
97
97
|
import {
|
|
98
98
|
VcsHandler2
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./content-headers-c6ktqe09.js";
|
|
100
100
|
import {
|
|
101
101
|
MigrationHandler2
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./content-headers-eacgzt6w.js";
|
|
103
103
|
import {
|
|
104
104
|
ConfigHandler2
|
|
105
|
-
} from "./
|
|
105
|
+
} from "./content-headers-wjh98yw2.js";
|
|
106
106
|
|
|
107
107
|
// src/handlers.ts
|
|
108
108
|
import { Layer } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service4
|
|
12
|
-
} from "./media-uri-7dtbad8d.js";
|
|
9
|
+
} from "./content-headers-j4at0y5c.js";
|
|
13
10
|
import {
|
|
14
11
|
Service3
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./content-headers-3te71694.js";
|
|
13
|
+
import {
|
|
14
|
+
Service4
|
|
15
|
+
} from "./content-headers-mzs0n5xz.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { hostname } from "node:os";
|
|
@@ -22,10 +22,10 @@ import { HttpApiBuilder } from "effect/http-api";
|
|
|
22
22
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
23
23
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
24
24
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
25
|
-
const pairing = yield*
|
|
25
|
+
const pairing = yield* Service4;
|
|
26
26
|
const auth = yield* Config2;
|
|
27
27
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
28
|
-
const info = yield*
|
|
28
|
+
const info = yield* Service3;
|
|
29
29
|
return {
|
|
30
30
|
version: info.app.version ?? "unknown",
|
|
31
31
|
pid: process.pid ?? 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
4
4
|
import {
|
|
5
5
|
Service2,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./content-headers-hs3dbf8w.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/event.ts
|
|
10
10
|
import { Event } from "@opencode/schema/event";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-rqgv9x42.js";
|
|
4
4
|
|
|
5
5
|
// src/location.ts
|
|
6
6
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -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 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/vcs.ts
|
|
9
9
|
import { Vcs } from "@opencode/core/vcs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/provider.ts
|
|
9
9
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/usage.ts
|
|
9
9
|
import { UsageLimits } from "@opencode/core/usage-limits";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/shell.ts
|
|
9
9
|
import { Shell } from "@opencode/core/shell";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/form.ts
|
|
9
9
|
import { Form } from "@opencode/core/form";
|