@opencode/server 0.0.0-dev-20821 → 0.0.0-dev-20822
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 +4 -4
- package/dist/chunks/{request-tracing-604r47cy.js → request-tracing-0614xxr7.js} +2 -2
- package/dist/chunks/{request-tracing-adb03esn.js → request-tracing-0cppk2bc.js} +2 -2
- package/dist/chunks/{request-tracing-vvagfka3.js → request-tracing-383t61pr.js} +6 -6
- package/dist/chunks/{request-tracing-nqkf5k2k.js → request-tracing-3aej5azy.js} +1 -1
- package/dist/chunks/{request-tracing-7armztsr.js → request-tracing-3atcw39t.js} +1 -1
- package/dist/chunks/{request-tracing-ryr0njrg.js → request-tracing-3kknkdhs.js} +2 -2
- package/dist/chunks/{request-tracing-4hhhes7w.js → request-tracing-4gnb9897.js} +1 -1
- package/dist/chunks/{request-tracing-b56hqv74.js → request-tracing-50bbk3b2.js} +2 -2
- package/dist/chunks/{request-tracing-gpx0gpd1.js → request-tracing-6ypp9np2.js} +2 -2
- package/dist/chunks/{request-tracing-rw74d7br.js → request-tracing-7b00qdf6.js} +1 -1
- package/dist/chunks/{request-tracing-rwtj6z5q.js → request-tracing-7j4237sy.js} +1 -1
- package/dist/chunks/{request-tracing-fj7f407t.js → request-tracing-ajw34y8w.js} +4 -4
- package/dist/chunks/{request-tracing-j4zqsxgy.js → request-tracing-b3bmdkga.js} +1 -1
- package/dist/chunks/{request-tracing-1ybjhnn1.js → request-tracing-e2hzz5kk.js} +2 -2
- package/dist/chunks/{request-tracing-pc33848r.js → request-tracing-eaxk76q8.js} +2 -2
- package/dist/chunks/{request-tracing-vfwf1dhc.js → request-tracing-esbdfpyn.js} +2 -2
- package/dist/chunks/{request-tracing-k136bvh5.js → request-tracing-ez8kk7rt.js} +1 -1
- package/dist/chunks/{request-tracing-b8ygg5k2.js → request-tracing-g0rzwe5g.js} +6 -6
- package/dist/chunks/{request-tracing-s9wn5z3s.js → request-tracing-g63zvgts.js} +1 -1
- package/dist/chunks/{request-tracing-b3jp5nc2.js → request-tracing-gsqctp76.js} +2 -2
- package/dist/chunks/{request-tracing-y9g6k1bm.js → request-tracing-gx9nwmym.js} +2 -2
- package/dist/chunks/{request-tracing-y5j6n4zr.js → request-tracing-j1p3e665.js} +2 -2
- package/dist/chunks/{request-tracing-begnybrv.js → request-tracing-k8rzy6d4.js} +1 -1
- package/dist/chunks/{request-tracing-3m0ygtwr.js → request-tracing-krpsczf8.js} +2 -2
- package/dist/chunks/{request-tracing-6w0q94jj.js → request-tracing-kskte20s.js} +11 -11
- package/dist/chunks/{request-tracing-4bxenate.js → request-tracing-mahm5rvs.js} +2 -2
- package/dist/chunks/{request-tracing-rkx9hda5.js → request-tracing-mhfbkkb7.js} +2 -2
- package/dist/chunks/{request-tracing-1wyt3am5.js → request-tracing-mk2mz66m.js} +2 -2
- package/dist/chunks/{request-tracing-hc75vmb2.js → request-tracing-n60r5keb.js} +1 -1
- package/dist/chunks/{request-tracing-0gbaaetm.js → request-tracing-p6ct2ak8.js} +2 -2
- package/dist/chunks/{request-tracing-2ac2kv4c.js → request-tracing-q8n44kky.js} +3 -3
- package/dist/chunks/{request-tracing-8me0mqmd.js → request-tracing-rc3nk1bx.js} +2 -2
- package/dist/chunks/{request-tracing-zj4vfrqs.js → request-tracing-tp1rntzw.js} +1 -1
- package/dist/chunks/{request-tracing-nnn3xt9j.js → request-tracing-vbanrv0z.js} +1 -1
- package/dist/chunks/{request-tracing-zmbpqrfa.js → request-tracing-w0fwbp63.js} +5 -5
- package/dist/chunks/{request-tracing-7bgw0qp5.js → request-tracing-w0jn068c.js} +2 -2
- package/dist/chunks/{request-tracing-19k1qj6j.js → request-tracing-y12nezcg.js} +4 -4
- package/dist/chunks/{request-tracing-x34tt0qt.js → request-tracing-yv9sxhn9.js} +2 -2
- package/dist/chunks/{request-tracing-pfayhms6.js → request-tracing-zwwmz5qt.js} +33 -33
- package/dist/chunks/{request-tracing-3y8a8g3j.js → request-tracing-zyh4j6y7.js} +6 -6
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +43 -43
- package/dist/handlers/agent.js +5 -5
- package/dist/handlers/command.js +5 -5
- package/dist/handlers/config.js +5 -5
- package/dist/handlers/credential.js +5 -5
- package/dist/handlers/debug.js +5 -5
- package/dist/handlers/event.js +6 -6
- package/dist/handlers/form.js +5 -5
- package/dist/handlers/fs.js +5 -5
- package/dist/handlers/generate.js +5 -5
- package/dist/handlers/integration.js +5 -5
- package/dist/handlers/location.js +5 -5
- package/dist/handlers/mcp.js +5 -5
- package/dist/handlers/message.js +5 -5
- package/dist/handlers/migration.js +5 -5
- package/dist/handlers/model.js +5 -5
- package/dist/handlers/permission.js +5 -5
- package/dist/handlers/persistent-pty.js +5 -5
- package/dist/handlers/plugin.js +5 -5
- package/dist/handlers/project.js +5 -5
- package/dist/handlers/provider.js +5 -5
- package/dist/handlers/pty.js +6 -6
- package/dist/handlers/reference.js +5 -5
- package/dist/handlers/rpc.js +5 -5
- package/dist/handlers/server.js +7 -7
- package/dist/handlers/session.js +5 -5
- package/dist/handlers/shell.js +5 -5
- package/dist/handlers/skill.js +5 -5
- package/dist/handlers/vcs.js +5 -5
- package/dist/handlers/websearch.js +5 -5
- package/dist/handlers/worktree.js +5 -5
- package/dist/handlers.js +40 -40
- package/dist/location.js +3 -3
- package/dist/middleware/form-location.js +2 -2
- package/dist/middleware/session-location.js +2 -2
- package/dist/process.js +39 -39
- package/dist/pty-environment.js +5 -5
- package/dist/routes.js +42 -42
- package/dist/server-info.js +5 -5
- package/dist/workerd.js +40 -40
- package/package.json +8 -8
package/dist/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./chunks/request-tracing-
|
|
4
|
-
import"./chunks/request-tracing-
|
|
5
|
-
import"./chunks/request-tracing-
|
|
6
|
-
import"./chunks/request-tracing-
|
|
3
|
+
} from "./chunks/request-tracing-q8n44kky.js";
|
|
4
|
+
import"./chunks/request-tracing-b3bmdkga.js";
|
|
5
|
+
import"./chunks/request-tracing-4gnb9897.js";
|
|
6
|
+
import"./chunks/request-tracing-50bbk3b2.js";
|
|
7
7
|
import"./chunks/request-tracing-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./request-tracing-smaf4a18.js";
|
|
7
7
|
import {
|
|
8
8
|
locationErrors2
|
|
9
|
-
} from "./request-tracing-
|
|
9
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./request-tracing-
|
|
12
|
+
} from "./request-tracing-q8n44kky.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/session.ts
|
|
15
15
|
import { Session } from "@opencode/core/session";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/plugin.ts
|
|
9
9
|
import { Plugin } from "@opencode/core/plugin";
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
var exports_pty_environment = {};
|
|
7
7
|
__export(exports_pty_environment, {
|
|
8
8
|
PtyEnvironment: () => exports_pty_environment,
|
|
9
|
-
Service: () =>
|
|
10
|
-
layer: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
|
+
layer: () => layer3,
|
|
11
11
|
node: () => node3
|
|
12
12
|
});
|
|
13
13
|
import { Context, Effect, Layer } from "effect";
|
|
14
14
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service4 extends Context.Service()("@opencode/ServerPtyEnvironment") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var layer3 = Layer.succeed(Service4, Service4.of({
|
|
19
19
|
get: () => Effect.succeed({})
|
|
20
20
|
}));
|
|
21
|
-
var node3 = makeGlobalNode({ service:
|
|
21
|
+
var node3 = makeGlobalNode({ service: Service4, layer: layer3, deps: [] });
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { Service4, layer3, node3, exports_pty_environment };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/websearch.ts
|
|
9
9
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -59,7 +59,7 @@ function decode(input) {
|
|
|
59
59
|
return input;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
var
|
|
62
|
+
var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
63
63
|
const locations = yield* LocationServiceMap.Service;
|
|
64
64
|
return LocationMiddleware2.of((effect) => Effect.gen(function* () {
|
|
65
65
|
const request = yield* HttpServerRequest.HttpServerRequest;
|
|
@@ -67,4 +67,4 @@ var layer5 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
|
67
67
|
}));
|
|
68
68
|
}));
|
|
69
69
|
|
|
70
|
-
export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2,
|
|
70
|
+
export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/shell.ts
|
|
9
9
|
import { Shell } from "@opencode/core/shell";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-q8n44kky.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service3,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./request-tracing-
|
|
7
|
+
} from "./request-tracing-zyh4j6y7.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", () => Effect.gen(function* () {
|
|
17
17
|
const connected = {
|
|
18
18
|
id: Event.ID.create(),
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
locationErrors2,
|
|
6
6
|
response2,
|
|
7
7
|
sessionInfo2
|
|
8
|
-
} from "./request-tracing-
|
|
8
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
9
9
|
import {
|
|
10
10
|
Api2
|
|
11
|
-
} from "./request-tracing-
|
|
11
|
+
} from "./request-tracing-q8n44kky.js";
|
|
12
12
|
|
|
13
13
|
// src/handlers/permission.ts
|
|
14
14
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
var exports_server_info = {};
|
|
7
7
|
__export(exports_server_info, {
|
|
8
8
|
ServerInfo: () => exports_server_info,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
connectionURLs: () => connectionURLs2,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { networkInterfaces } from "node:os";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/server/ServerInfo") {
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return Layer.succeed(
|
|
18
|
+
function layer5(urls, tmp, app = {}) {
|
|
19
|
+
return Layer.succeed(Service5, Service5.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 { Service5, layer5, connectionURLs2, exports_server_info };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/form.ts
|
|
9
9
|
import { Form } from "@opencode/core/form";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.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 "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.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 "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/skill.ts
|
|
9
9
|
import { Skill } from "@opencode/core/skill";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./request-tracing-
|
|
2
|
+
layer4
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-4gnb9897.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./request-tracing-
|
|
9
|
+
} from "./request-tracing-b3bmdkga.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./request-tracing-
|
|
12
|
+
} from "./request-tracing-q8n44kky.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
15
|
} from "./request-tracing-anm12x33.js";
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
CorsConfig2
|
|
18
18
|
} from "./request-tracing-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./request-tracing-
|
|
20
|
+
layer5
|
|
21
|
+
} from "./request-tracing-g0rzwe5g.js";
|
|
22
22
|
import {
|
|
23
23
|
node2
|
|
24
24
|
} from "./request-tracing-rbn15j6z.js";
|
|
25
25
|
import {
|
|
26
26
|
node3
|
|
27
|
-
} from "./request-tracing-
|
|
27
|
+
} from "./request-tracing-383t61pr.js";
|
|
28
28
|
import {
|
|
29
29
|
handlers2
|
|
30
|
-
} from "./request-tracing-
|
|
30
|
+
} from "./request-tracing-zwwmz5qt.js";
|
|
31
31
|
import {
|
|
32
32
|
authorizationLayer2
|
|
33
33
|
} from "./request-tracing-5ytyqf1q.js";
|
|
@@ -145,8 +145,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
|
|
|
145
145
|
})) : build(overrides);
|
|
146
146
|
return serviceLayer.pipe(Layer.flatMap((context) => {
|
|
147
147
|
const services = Layer.succeedContext(context);
|
|
148
|
-
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)),
|
|
149
|
-
const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(
|
|
148
|
+
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer5(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
|
|
149
|
+
const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer4), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
|
|
150
150
|
return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
|
|
151
151
|
}));
|
|
152
152
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.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
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/agent.ts
|
|
9
9
|
import { Agent } from "@opencode/core/agent";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/mcp.ts
|
|
9
9
|
import { Mcp } from "@opencode/core/mcp/index";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-4gnb9897.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./request-tracing-
|
|
9
|
+
} from "./request-tracing-b3bmdkga.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./request-tracing-
|
|
6
|
+
} from "./request-tracing-q8n44kky.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/vcs.ts
|
|
9
9
|
import { Vcs } from "@opencode/core/vcs";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./request-tracing-
|
|
5
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./request-tracing-
|
|
8
|
+
} from "./request-tracing-q8n44kky.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
12
|
} from "./request-tracing-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./request-tracing-
|
|
14
|
+
Service4
|
|
15
|
+
} from "./request-tracing-383t61pr.js";
|
|
16
16
|
import {
|
|
17
17
|
runPtySocket2
|
|
18
18
|
} from "./request-tracing-h6rt5k9s.js";
|
|
@@ -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* Service4;
|
|
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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./request-tracing-
|
|
4
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./request-tracing-
|
|
7
|
+
} from "./request-tracing-q8n44kky.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/generate.ts
|
|
10
10
|
import { Generate } from "@opencode/core/generate";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./request-tracing-
|
|
3
|
+
} from "./request-tracing-q8n44kky.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
sessionCookieName2
|
|
9
9
|
} from "./request-tracing-anm12x33.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./request-tracing-
|
|
11
|
+
Service5
|
|
12
|
+
} from "./request-tracing-g0rzwe5g.js";
|
|
13
13
|
import {
|
|
14
14
|
Service2
|
|
15
15
|
} from "./request-tracing-rbn15j6z.js";
|
|
@@ -24,7 +24,7 @@ var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => E
|
|
|
24
24
|
const pairing = yield* Service2;
|
|
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 "./request-tracing-
|
|
4
|
+
} from "./request-tracing-50bbk3b2.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./request-tracing-
|
|
7
|
+
} from "./request-tracing-q8n44kky.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/model.ts
|
|
10
10
|
import { Model } from "@opencode/core/model";
|