@opencode/server 0.0.0-dev-21876 → 0.0.0-dev-21894
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/{location-e7pctymn.js → location-0e4fm4yw.js} +1 -1
- package/dist/chunks/{location-x9vr2ttf.js → location-0pbbhyf6.js} +24 -6
- package/dist/chunks/{location-67a2g9pf.js → location-1q9bkvt1.js} +4 -4
- package/dist/chunks/{location-9me4q8wt.js → location-1s3664te.js} +2 -2
- package/dist/chunks/{location-8xct6vg3.js → location-2835150m.js} +2 -2
- package/dist/chunks/{location-4qjw9nya.js → location-2qjvs0kv.js} +2 -2
- package/dist/chunks/{location-xbzhzjwx.js → location-3kjp2hst.js} +1 -1
- package/dist/chunks/{location-e4x9285j.js → location-3mffapg0.js} +2 -2
- package/dist/chunks/{location-pmjbkszz.js → location-3yw6ah7d.js} +2 -2
- package/dist/chunks/{location-72ygafj3.js → location-4gk9fc6f.js} +2 -2
- package/dist/chunks/{location-qrx561yc.js → location-4y0588xc.js} +35 -35
- package/dist/chunks/{location-6xea6nhh.js → location-50xc6x42.js} +2 -2
- package/dist/chunks/{location-06hvtkr9.js → location-5z5anmwp.js} +2 -2
- package/dist/chunks/{location-cfhthk6z.js → location-74kxthdf.js} +1 -1
- package/dist/chunks/{location-kcjd09wg.js → location-7cd61xtm.js} +2 -2
- package/dist/chunks/{location-91mt6ewz.js → location-7x1re4zg.js} +2 -2
- package/dist/chunks/{location-ga3m49sz.js → location-f4exzdsf.js} +4 -2
- package/dist/chunks/{location-3154e7fk.js → location-gk0yxcp6.js} +5 -3
- package/dist/chunks/{location-gymtz25n.js → location-gqq6kfhc.js} +2 -2
- package/dist/chunks/{location-f4b2q3tn.js → location-hdwd22w5.js} +1 -1
- package/dist/chunks/{location-q69f22pd.js → location-jc2vwkyw.js} +2 -2
- package/dist/chunks/{location-c8a27nas.js → location-k6dz4enc.js} +6 -6
- package/dist/chunks/{location-v5889nsk.js → location-nhmzdcst.js} +2 -2
- package/dist/chunks/{location-31acg4hb.js → location-np6gr6g7.js} +2 -2
- package/dist/chunks/{location-0dncng21.js → location-qfvz5xpd.js} +1 -1
- package/dist/chunks/{location-t3j5ftv1.js → location-r5696se6.js} +3 -3
- package/dist/chunks/{location-2yr2dq97.js → location-rxyx8sa0.js} +2 -2
- package/dist/chunks/{location-kd6vzpgq.js → location-skcryrty.js} +2 -2
- package/dist/chunks/{location-2b2wekgg.js → location-vfkjeyp3.js} +1 -1
- package/dist/chunks/{location-swdgbzpj.js → location-vtfzy3at.js} +4 -2
- package/dist/chunks/{location-x0608mvx.js → location-vvp99hc9.js} +1 -1
- package/dist/chunks/{location-kqr36gas.js → location-w9jcwh65.js} +6 -6
- package/dist/chunks/{location-4b0899hb.js → location-xbqm7mpj.js} +2 -2
- package/dist/chunks/{location-49c878v9.js → location-xckd9f88.js} +2 -2
- package/dist/chunks/{location-xmwystkq.js → location-xpg37vzc.js} +2 -2
- package/dist/chunks/{location-g176v691.js → location-y6e7cs8e.js} +9 -7
- package/dist/chunks/{location-x74w7e1f.js → location-yet0vexm.js} +1 -1
- package/dist/chunks/{location-a6kxe6a7.js → location-yr80hdrp.js} +1 -1
- package/dist/chunks/{location-7dtbad8d.js → location-z3e7v67k.js} +6 -6
- package/dist/chunks/{location-j5aeaa16.js → location-zmgfywqd.js} +1 -1
- package/dist/chunks/{location-860evz0a.js → location-ztrvqkd5.js} +15 -12
- package/dist/chunks/{location-5w10ccet.js → location-zyntahe8.js} +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +44 -44
- 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.d.ts +2 -1
- 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 +6 -6
- 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 +6 -6
- 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/usage.js +5 -5
- package/dist/handlers/vcs.js +5 -5
- package/dist/handlers/voice.js +5 -5
- package/dist/handlers/websearch.js +5 -5
- package/dist/handlers/worktree.js +5 -5
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +41 -41
- package/dist/location.js +3 -3
- package/dist/middleware/form-location.js +2 -2
- package/dist/middleware/session-location.js +2 -2
- package/dist/pairing.js +3 -3
- package/dist/process.js +41 -41
- package/dist/routes.d.ts +3 -2
- package/dist/routes.js +43 -43
- package/dist/server-info.js +5 -5
- package/dist/workerd.js +42 -42
- package/package.json +8 -8
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
var exports_pairing = {};
|
|
7
7
|
__export(exports_pairing, {
|
|
8
8
|
ServerPairing: () => exports_pairing,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
node: () => node2
|
|
11
11
|
});
|
|
12
12
|
import { Cache, Context, Duration, Effect, Layer } from "effect";
|
|
@@ -14,12 +14,12 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
14
14
|
import { randomBytes } from "node:crypto";
|
|
15
15
|
var TTL = Duration.minutes(5);
|
|
16
16
|
|
|
17
|
-
class
|
|
17
|
+
class Service3 extends Context.Service()("@opencode/ServerPairing") {
|
|
18
18
|
}
|
|
19
19
|
var noLookup = () => Effect.die(new Error("ServerPairing cache must be used via set/invalidateWhen, never get"));
|
|
20
|
-
var layer = Layer.effect(
|
|
20
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
21
21
|
const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
|
|
22
|
-
return
|
|
22
|
+
return Service3.of({
|
|
23
23
|
issue: Effect.fn("ServerPairing.issue")(function* () {
|
|
24
24
|
const code = randomBytes(16).toString("base64url");
|
|
25
25
|
yield* Cache.set(cache, code, true);
|
|
@@ -30,6 +30,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
32
|
}));
|
|
33
|
-
var node2 = makeGlobalNode({ service:
|
|
33
|
+
var node2 = makeGlobalNode({ service: Service3, layer, deps: [] });
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Service3, node2, exports_pairing };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-gqq6kfhc.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-r5696se6.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./location-
|
|
3
|
+
} from "./location-r5696se6.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
9
|
} from "./location-j4at0y5c.js";
|
|
10
|
-
import {
|
|
11
|
-
Service4
|
|
12
|
-
} from "./location-7dtbad8d.js";
|
|
13
10
|
import {
|
|
14
11
|
Service2
|
|
15
|
-
} from "./location-
|
|
12
|
+
} from "./location-z3e7v67k.js";
|
|
13
|
+
import {
|
|
14
|
+
Service3
|
|
15
|
+
} from "./location-w9jcwh65.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
|
+
import { hostname } from "node:os";
|
|
18
19
|
import { Duration, Effect } from "effect";
|
|
19
20
|
import { HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
20
21
|
import { HttpApiBuilder } from "effect/http-api";
|
|
21
22
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
22
23
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
23
24
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
24
|
-
const pairing = yield*
|
|
25
|
+
const pairing = yield* Service3;
|
|
25
26
|
const auth = yield* Config2;
|
|
26
27
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
27
|
-
const info = yield*
|
|
28
|
+
const info = yield* Service2;
|
|
28
29
|
return {
|
|
29
30
|
version: info.app.version ?? "unknown",
|
|
30
31
|
pid: process.pid ?? 0,
|
|
32
|
+
hostname: hostname() || undefined,
|
|
31
33
|
urls: info.urls(),
|
|
32
34
|
paths: info.paths,
|
|
33
35
|
capabilities: { persistentPty: PersistentPty.available }
|
|
@@ -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: () => Service2,
|
|
10
10
|
connectionURLs: () => connectionURLs2,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer2
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { networkInterfaces } from "node:os";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service2 extends Context.Service()("@opencode/server/ServerInfo") {
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return Layer.succeed(
|
|
18
|
+
function layer2(urls, tmp, app = {}) {
|
|
19
|
+
return Layer.succeed(Service2, Service2.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 { Service2, layer2, connectionURLs2, exports_server_info };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-
|
|
2
|
+
layer3
|
|
3
|
+
} from "./location-gqq6kfhc.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./location-
|
|
6
|
+
} from "./location-gk0yxcp6.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./location-
|
|
9
|
+
} from "./location-yet0vexm.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./location-
|
|
12
|
+
} from "./location-r5696se6.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
15
|
} from "./location-j4at0y5c.js";
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
CorsConfig2
|
|
18
18
|
} from "./location-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./location-
|
|
20
|
+
layer2
|
|
21
|
+
} from "./location-z3e7v67k.js";
|
|
22
22
|
import {
|
|
23
23
|
node2
|
|
24
|
-
} from "./location-
|
|
24
|
+
} from "./location-w9jcwh65.js";
|
|
25
25
|
import {
|
|
26
26
|
handlers2
|
|
27
|
-
} from "./location-
|
|
27
|
+
} from "./location-4y0588xc.js";
|
|
28
28
|
import {
|
|
29
29
|
authorizationLayer2
|
|
30
30
|
} from "./location-7b9xm1qg.js";
|
|
@@ -68,6 +68,7 @@ import { SdkPlugins } from "@opencode/core/plugin/sdk";
|
|
|
68
68
|
import { WellKnown } from "@opencode/core/wellknown";
|
|
69
69
|
import { Workspace } from "@opencode/core/workspace";
|
|
70
70
|
import { Watcher } from "@opencode/core/filesystem/watcher";
|
|
71
|
+
import { FileWatch } from "@opencode/core/filesystem/file-watch";
|
|
71
72
|
import { HttpRouter } from "effect/http";
|
|
72
73
|
import { HttpApiBuilder } from "effect/http-api";
|
|
73
74
|
import { Context, Effect, Layer, Option } from "effect";
|
|
@@ -97,7 +98,8 @@ var applicationServiceNodes = [
|
|
|
97
98
|
LocationServiceMap.node,
|
|
98
99
|
LocationActivity.node,
|
|
99
100
|
SessionRestart.node,
|
|
100
|
-
Workspace.node
|
|
101
|
+
Workspace.node,
|
|
102
|
+
FileWatch.node
|
|
101
103
|
];
|
|
102
104
|
var applicationServices = LayerNode.group(applicationServiceNodes);
|
|
103
105
|
function createRoutes2(options = {}, serviceURLs = () => [], overrides = []) {
|
|
@@ -114,6 +116,7 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
|
|
|
114
116
|
App.node.replace(App.configured(options.app)),
|
|
115
117
|
ModelsDev.node.replace(ModelsDev.configured(options.models)),
|
|
116
118
|
Watcher.node.replace(Watcher.configured({ enabled: options.fs?.filewatcher })),
|
|
119
|
+
FileWatch.node.replace(FileWatch.configured({ enabled: options.fs?.filewatcher })),
|
|
117
120
|
FileSystemSearch.node.replace(FileSystemSearch.configured({ fff: options.fs?.fff })),
|
|
118
121
|
Global.node.replace(Global.layerWith(options.config?.directory ? { config: options.config.directory } : {})),
|
|
119
122
|
Config.node.replace(Config.configured({
|
|
@@ -146,8 +149,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
|
|
|
146
149
|
})) : build(overrides);
|
|
147
150
|
return serviceLayer.pipe(Layer.flatMap((context) => {
|
|
148
151
|
const services = Layer.succeedContext(context);
|
|
149
|
-
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)),
|
|
150
|
-
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(
|
|
152
|
+
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer2(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
|
|
153
|
+
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(layer3), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
|
|
151
154
|
return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
|
|
152
155
|
}));
|
|
153
156
|
}
|
package/dist/event-feed.js
CHANGED
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
SubscriberCapacity2,
|
|
3
3
|
SubscriberOverflowError2,
|
|
4
4
|
EncodingError2,
|
|
5
|
-
|
|
5
|
+
Service4,
|
|
6
6
|
frame2,
|
|
7
7
|
make4,
|
|
8
|
-
|
|
8
|
+
layer4,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/location-
|
|
10
|
+
} from "./chunks/location-k6dz4enc.js";
|
|
11
11
|
export {
|
|
12
12
|
EncodingError2 as EncodingError,
|
|
13
13
|
exports_event_feed as EventFeed,
|
|
14
|
-
|
|
14
|
+
Service4 as Service,
|
|
15
15
|
SubscriberCapacity2 as SubscriberCapacity,
|
|
16
16
|
SubscriberOverflowError2 as SubscriberOverflowError,
|
|
17
17
|
frame2 as frame,
|
|
18
|
-
|
|
18
|
+
layer4 as layer,
|
|
19
19
|
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
3
3
|
exports_fetch
|
|
4
|
-
} from "./chunks/location-
|
|
5
|
-
import"./chunks/location-
|
|
6
|
-
import"./chunks/location-7b9xm1qg.js";
|
|
4
|
+
} from "./chunks/location-3kjp2hst.js";
|
|
5
|
+
import"./chunks/location-ztrvqkd5.js";
|
|
7
6
|
import"./chunks/location-erzfdgke.js";
|
|
8
|
-
import"./chunks/location-
|
|
9
|
-
import"./chunks/location-
|
|
10
|
-
import"./chunks/location-
|
|
11
|
-
import"./chunks/location-
|
|
12
|
-
import"./chunks/location-
|
|
13
|
-
import"./chunks/location-
|
|
14
|
-
import"./chunks/location-
|
|
15
|
-
import"./chunks/location-
|
|
16
|
-
import"./chunks/location-
|
|
17
|
-
import"./chunks/location-
|
|
18
|
-
import"./chunks/location-
|
|
19
|
-
import"./chunks/location-
|
|
20
|
-
import"./chunks/location-
|
|
21
|
-
import"./chunks/location-
|
|
22
|
-
import"./chunks/location-
|
|
23
|
-
import"./chunks/location-
|
|
24
|
-
import"./chunks/location-
|
|
25
|
-
import"./chunks/location-
|
|
26
|
-
import"./chunks/location-
|
|
27
|
-
import"./chunks/location-
|
|
28
|
-
import"./chunks/location-
|
|
29
|
-
import"./chunks/location-2yr2dq97.js";
|
|
30
|
-
import"./chunks/location-31acg4hb.js";
|
|
31
|
-
import"./chunks/location-9me4q8wt.js";
|
|
7
|
+
import"./chunks/location-7b9xm1qg.js";
|
|
8
|
+
import"./chunks/location-4y0588xc.js";
|
|
9
|
+
import"./chunks/location-2qjvs0kv.js";
|
|
10
|
+
import"./chunks/location-vfkjeyp3.js";
|
|
11
|
+
import"./chunks/location-7x1re4zg.js";
|
|
12
|
+
import"./chunks/location-yr80hdrp.js";
|
|
13
|
+
import"./chunks/location-50xc6x42.js";
|
|
14
|
+
import"./chunks/location-y6e7cs8e.js";
|
|
15
|
+
import"./chunks/location-5z5anmwp.js";
|
|
16
|
+
import"./chunks/location-7cd61xtm.js";
|
|
17
|
+
import"./chunks/location-1q9bkvt1.js";
|
|
18
|
+
import"./chunks/location-vvp99hc9.js";
|
|
19
|
+
import"./chunks/location-nhmzdcst.js";
|
|
20
|
+
import"./chunks/location-0pbbhyf6.js";
|
|
21
|
+
import"./chunks/location-skcryrty.js";
|
|
22
|
+
import"./chunks/location-zyntahe8.js";
|
|
23
|
+
import"./chunks/location-rxyx8sa0.js";
|
|
24
|
+
import"./chunks/location-0e4fm4yw.js";
|
|
25
|
+
import"./chunks/location-np6gr6g7.js";
|
|
26
|
+
import"./chunks/location-vtfzy3at.js";
|
|
27
|
+
import"./chunks/location-1s3664te.js";
|
|
32
28
|
import"./chunks/location-h6rt5k9s.js";
|
|
33
|
-
import"./chunks/location-
|
|
34
|
-
import"./chunks/location-
|
|
35
|
-
import"./chunks/location-
|
|
36
|
-
import"./chunks/location-
|
|
37
|
-
import"./chunks/location-
|
|
38
|
-
import"./chunks/location-
|
|
39
|
-
import"./chunks/location-
|
|
40
|
-
import"./chunks/location-
|
|
41
|
-
import"./chunks/location-
|
|
42
|
-
import"./chunks/location-
|
|
43
|
-
import"./chunks/location-
|
|
44
|
-
import"./chunks/location-
|
|
45
|
-
import"./chunks/location-
|
|
46
|
-
import"./chunks/location-
|
|
47
|
-
import"./chunks/location-
|
|
29
|
+
import"./chunks/location-jc2vwkyw.js";
|
|
30
|
+
import"./chunks/location-hdwd22w5.js";
|
|
31
|
+
import"./chunks/location-xbqm7mpj.js";
|
|
32
|
+
import"./chunks/location-f4exzdsf.js";
|
|
33
|
+
import"./chunks/location-74kxthdf.js";
|
|
34
|
+
import"./chunks/location-3yw6ah7d.js";
|
|
35
|
+
import"./chunks/location-3mffapg0.js";
|
|
36
|
+
import"./chunks/location-qfvz5xpd.js";
|
|
37
|
+
import"./chunks/location-zmgfywqd.js";
|
|
38
|
+
import"./chunks/location-xckd9f88.js";
|
|
39
|
+
import"./chunks/location-2835150m.js";
|
|
40
|
+
import"./chunks/location-xpg37vzc.js";
|
|
41
|
+
import"./chunks/location-z3e7v67k.js";
|
|
42
|
+
import"./chunks/location-4gk9fc6f.js";
|
|
43
|
+
import"./chunks/location-r5696se6.js";
|
|
44
|
+
import"./chunks/location-gk0yxcp6.js";
|
|
45
|
+
import"./chunks/location-yet0vexm.js";
|
|
46
|
+
import"./chunks/location-gqq6kfhc.js";
|
|
48
47
|
import"./chunks/location-smaf4a18.js";
|
|
48
|
+
import"./chunks/location-w9jcwh65.js";
|
|
49
|
+
import"./chunks/location-q4bn6dy8.js";
|
|
50
|
+
import"./chunks/location-k6dz4enc.js";
|
|
49
51
|
import"./chunks/location-j4at0y5c.js";
|
|
50
|
-
import"./chunks/location-c8a27nas.js";
|
|
51
|
-
import"./chunks/location-7dtbad8d.js";
|
|
52
52
|
export {
|
|
53
53
|
exports_fetch as ServerFetch,
|
|
54
54
|
make2 as make
|
package/dist/handlers/agent.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-f4exzdsf.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
package/dist/handlers/command.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-xpg37vzc.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
package/dist/handlers/config.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfigHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-0e4fm4yw.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-hdwd22w5.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CredentialHandler2 as CredentialHandler
|
package/dist/handlers/debug.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DebugHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-jc2vwkyw.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
package/dist/handlers/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-1q9bkvt1.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
|
-
import"../chunks/location-
|
|
9
|
+
import"../chunks/location-k6dz4enc.js";
|
|
10
10
|
export {
|
|
11
11
|
EventHandler2 as EventHandler
|
|
12
12
|
};
|
package/dist/handlers/form.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-7x1re4zg.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FormHandler2 as FormHandler
|
package/dist/handlers/fs.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { FileWatch } from "@opencode/core/filesystem/file-watch";
|
|
2
|
+
export declare const FileSystemHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.fs">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | FileWatch.Service>;
|
package/dist/handlers/fs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-0pbbhyf6.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FileSystemHandler2 as FileSystemHandler
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-3yw6ah7d.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
GenerateHandler2 as GenerateHandler
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IntegrationHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-4gk9fc6f.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
IntegrationHandler2 as IntegrationHandler
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-74kxthdf.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
LocationHandler2 as LocationHandler
|
package/dist/handlers/mcp.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
McpHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
3
|
+
} from "../chunks/location-1s3664te.js";
|
|
4
4
|
import"../chunks/location-h6rt5k9s.js";
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
8
|
-
import"../chunks/location-
|
|
9
|
-
import"../chunks/location-gymtz25n.js";
|
|
5
|
+
import"../chunks/location-r5696se6.js";
|
|
6
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
7
|
+
import"../chunks/location-yet0vexm.js";
|
|
8
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
10
9
|
import"../chunks/location-smaf4a18.js";
|
|
10
|
+
import"../chunks/location-q4bn6dy8.js";
|
|
11
11
|
export {
|
|
12
12
|
McpHandler2 as McpHandler
|
|
13
13
|
};
|
package/dist/handlers/message.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MessageHandler2
|
|
3
|
-
} from "../chunks/location-
|
|
4
|
-
import"../chunks/location-
|
|
5
|
-
import"../chunks/location-
|
|
6
|
-
import"../chunks/location-
|
|
7
|
-
import"../chunks/location-
|
|
3
|
+
} from "../chunks/location-qfvz5xpd.js";
|
|
4
|
+
import"../chunks/location-r5696se6.js";
|
|
5
|
+
import"../chunks/location-gk0yxcp6.js";
|
|
6
|
+
import"../chunks/location-yet0vexm.js";
|
|
7
|
+
import"../chunks/location-gqq6kfhc.js";
|
|
8
8
|
import"../chunks/location-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
MessageHandler2 as MessageHandler
|