@opencode/server 0.0.0-dev-20691 → 0.0.0-dev-20698
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/{pty-environment-sstsrjtg.js → server-info-0chp8crd.js} +8 -8
- package/dist/chunks/{pty-environment-8gx8dva7.js → server-info-0nyrxe71.js} +31 -31
- package/dist/chunks/{pty-environment-c7mfxxxb.js → server-info-11j4jwm8.js} +2 -2
- package/dist/chunks/{pty-environment-7gfv664k.js → server-info-1c8487ny.js} +2 -2
- package/dist/chunks/{pty-environment-1xva44q8.js → server-info-1dn63ycp.js} +2 -2
- package/dist/chunks/{pty-environment-2sy3c7de.js → server-info-2sy3c7de.js} +1 -1
- package/dist/chunks/{pty-environment-5w24ch67.js → server-info-5w24ch67.js} +1 -1
- package/dist/chunks/{pty-environment-ym27c8rr.js → server-info-65vhetdk.js} +3 -3
- package/dist/chunks/{pty-environment-24wkg56e.js → server-info-6h3hakn6.js} +8 -8
- package/dist/chunks/{pty-environment-y1grnrmm.js → server-info-6jnajz3s.js} +1 -1
- package/dist/chunks/{pty-environment-796j10e5.js → server-info-796j10e5.js} +1 -1
- package/dist/chunks/{pty-environment-krn4521r.js → server-info-7hca1a5h.js} +2 -2
- package/dist/chunks/{pty-environment-1nwce8pe.js → server-info-9v5rqwm9.js} +1 -1
- package/dist/chunks/{pty-environment-anm12x33.js → server-info-anm12x33.js} +1 -1
- package/dist/chunks/{pty-environment-46n54f4g.js → server-info-aswmh13k.js} +7 -8
- package/dist/chunks/{pty-environment-ca257yb3.js → server-info-az442wb0.js} +2 -2
- package/dist/chunks/{pty-environment-ghk96rjy.js → server-info-b8ygg5k2.js} +5 -5
- package/dist/chunks/{pty-environment-vt1z6sbt.js → server-info-bt74yp7t.js} +3 -3
- package/dist/chunks/{pty-environment-cqdj4ap7.js → server-info-cek5pqmz.js} +2 -2
- package/dist/chunks/{pty-environment-hvft24jv.js → server-info-da7rn7h8.js} +1 -1
- package/dist/chunks/{pty-environment-v9pcqbqn.js → server-info-ea6e3t5n.js} +2 -2
- package/dist/chunks/{pty-environment-f2c3fmpg.js → server-info-f2c3fmpg.js} +1 -1
- package/dist/chunks/{pty-environment-gny2k2ap.js → server-info-f39mytj5.js} +3 -3
- package/dist/chunks/{pty-environment-dqsr2g0t.js → server-info-f8hnyckf.js} +2 -2
- package/dist/chunks/{pty-environment-cjcfgcfd.js → server-info-fjgkzwxn.js} +15 -15
- package/dist/chunks/{pty-environment-jzqzrtw5.js → server-info-g2ne0515.js} +1 -1
- package/dist/chunks/{pty-environment-gtkdacvk.js → server-info-gtkdacvk.js} +1 -1
- package/dist/chunks/{pty-environment-vb9atgxj.js → server-info-j1vmzz80.js} +1 -1
- package/dist/chunks/{pty-environment-n52yc5x0.js → server-info-kq78qwvx.js} +2 -2
- package/dist/chunks/{pty-environment-7rxakzjh.js → server-info-kvfvp3x0.js} +1 -1
- package/dist/chunks/{pty-environment-4znne276.js → server-info-mamrqa06.js} +1 -1
- package/dist/chunks/{pty-environment-16qfdx6b.js → server-info-me6471gr.js} +2 -2
- package/dist/chunks/{pty-environment-g85r3kcp.js → server-info-mejshm6e.js} +2 -2
- package/dist/chunks/{pty-environment-td9k2nw3.js → server-info-p3d71hp9.js} +2 -2
- package/dist/chunks/{pty-environment-0vyswjsz.js → server-info-qay57ysn.js} +2 -2
- package/dist/chunks/{pty-environment-4rww2e47.js → server-info-savs8p4t.js} +2 -2
- package/dist/chunks/{pty-environment-3w6gshrc.js → server-info-sn723bhj.js} +62 -51
- package/dist/chunks/{pty-environment-ajzgetf8.js → server-info-tj30x7c8.js} +2 -2
- package/dist/chunks/{pty-environment-w06km2r1.js → server-info-tnr0rqd3.js} +7 -7
- package/dist/chunks/{pty-environment-weqhmjbd.js → server-info-va3pygcr.js} +2 -2
- package/dist/chunks/{pty-environment-9cw9axw5.js → server-info-vm8xfxym.js} +3 -3
- package/dist/chunks/{pty-environment-w070c2h2.js → server-info-w070c2h2.js} +1 -1
- package/dist/chunks/{pty-environment-yybdkkb6.js → server-info-wybxc4dx.js} +2 -2
- package/dist/chunks/{pty-environment-934cmkaf.js → server-info-x3kd5z8e.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +1 -1
- package/dist/fetch.js +47 -47
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.js +6 -6
- 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 +8 -8
- 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.d.ts +2 -1
- package/dist/handlers/pty.js +9 -9
- 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 +6 -6
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.js +43 -43
- package/dist/location.js +2 -2
- package/dist/middleware/authorization.js +2 -2
- 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 +5 -5
- package/dist/process.js +49 -49
- package/dist/pty-environment.js +5 -5
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +46 -46
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +48 -48
- package/package.json +8 -8
- /package/dist/chunks/{pty-environment-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-environment-hezj1jdf.js → server-info-hezj1jdf.js} +0 -0
- /package/dist/chunks/{pty-environment-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{pty-environment-smaf4a18.js → server-info-smaf4a18.js} +0 -0
- /package/dist/chunks/{pty-environment-t8yzmczr.js → server-info-t8yzmczr.js} +0 -0
- /package/dist/chunks/{pty-environment-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/websearch.ts
|
|
9
9
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.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 "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/model.ts
|
|
9
9
|
import { Model } from "@opencode/core/model";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/provider.ts
|
|
9
9
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./server-info-smaf4a18.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./server-info-vm8xfxym.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/message.ts
|
|
10
10
|
import { SessionMessage } from "@opencode/core/session/message";
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
locationErrors2,
|
|
3
|
+
response2,
|
|
4
|
+
requestRef2
|
|
5
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
6
|
import {
|
|
5
7
|
Api2
|
|
6
|
-
} from "./
|
|
8
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
9
|
import {
|
|
8
10
|
CorsConfig2,
|
|
9
11
|
isAllowedRequestOrigin2
|
|
10
|
-
} from "./
|
|
12
|
+
} from "./server-info-q4bn6dy8.js";
|
|
11
13
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
14
|
+
Service5
|
|
15
|
+
} from "./server-info-tnr0rqd3.js";
|
|
14
16
|
import {
|
|
15
17
|
runPtySocket2
|
|
16
|
-
} from "./
|
|
18
|
+
} from "./server-info-hezj1jdf.js";
|
|
17
19
|
|
|
18
20
|
// src/handlers/pty.ts
|
|
19
21
|
import { Pty } from "@opencode/core/pty";
|
|
20
22
|
import { PtyProtocol } from "@opencode/core/pty/protocol";
|
|
21
23
|
import { PtyTicket } from "@opencode/core/pty/ticket";
|
|
22
24
|
import { Location } from "@opencode/core/location";
|
|
25
|
+
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
23
26
|
import { Effect, Queue } from "effect";
|
|
24
27
|
import { HttpServerRequest, HttpServerResponse } from "effect/unstable/http";
|
|
25
28
|
import { HttpApiBuilder, HttpApiSchema } from "effect/unstable/httpapi";
|
|
@@ -35,9 +38,10 @@ var ticketScope = Effect.gen(function* () {
|
|
|
35
38
|
return { directory: location.directory, workspaceID: location.workspaceID };
|
|
36
39
|
});
|
|
37
40
|
var PtyHandler2 = HttpApiBuilder.group(Api2, "server.pty", (handlers) => Effect.gen(function* () {
|
|
41
|
+
const locations = yield* LocationServiceMap.Service;
|
|
38
42
|
const tickets = yield* PtyTicket.Service;
|
|
39
43
|
const cors = yield* CorsConfig2;
|
|
40
|
-
const environment = yield*
|
|
44
|
+
const environment = yield* Service5;
|
|
41
45
|
return handlers.handle("pty.list", Effect.fn(function* () {
|
|
42
46
|
const pty = yield* Pty.Service;
|
|
43
47
|
return yield* response2(pty.list());
|
|
@@ -87,52 +91,59 @@ var PtyHandler2 = HttpApiBuilder.group(Api2, "server.pty", (handlers) => Effect.
|
|
|
87
91
|
})));
|
|
88
92
|
return yield* response2(tickets.issue({ ptyID: ctx.params.ptyID, ...yield* ticketScope }));
|
|
89
93
|
})).handleRaw("pty.connect", Effect.fn("PtyHandler.connect")(function* (ctx) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
return HttpServerResponse.empty({ status: 404 });
|
|
94
|
+
if (!isAllowedRequestOrigin2(ctx.request.headers.origin, ctx.request.headers.host, cors))
|
|
95
|
+
return HttpServerResponse.empty({ status: 403 });
|
|
96
|
+
const ref = LocationServiceMap.canonical(requestRef2(ctx.request));
|
|
94
97
|
const url = new URL(ctx.request.url, "http://localhost");
|
|
95
98
|
const ticket = url.searchParams.get(PTY_CONNECT_TICKET_QUERY);
|
|
96
|
-
if (ticket
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
99
|
+
if (ticket && !(yield* tickets.consume({
|
|
100
|
+
ticket,
|
|
101
|
+
ptyID: ctx.params.ptyID,
|
|
102
|
+
directory: ref.directory,
|
|
103
|
+
workspaceID: ref.workspaceID
|
|
104
|
+
})))
|
|
105
|
+
return HttpServerResponse.empty({ status: 403 });
|
|
106
|
+
return yield* Effect.gen(function* () {
|
|
107
|
+
const pty = yield* Pty.Service;
|
|
108
|
+
const exists = yield* pty.get(ctx.params.ptyID).pipe(Effect.as(true), Effect.catchTag("Pty.NotFoundError", () => Effect.succeed(false)));
|
|
109
|
+
if (!exists)
|
|
110
|
+
return HttpServerResponse.empty({ status: 404 });
|
|
111
|
+
const parsedCursor = url.searchParams.get("cursor");
|
|
112
|
+
const cursorNumber = parsedCursor === null ? undefined : Number(parsedCursor);
|
|
113
|
+
const cursor = cursorNumber !== undefined && Number.isSafeInteger(cursorNumber) && cursorNumber >= -1 ? cursorNumber : undefined;
|
|
114
|
+
const socket = yield* Effect.orDie(ctx.request.upgrade);
|
|
115
|
+
const write = yield* socket.writer;
|
|
116
|
+
const closeAccepted = (event) => socket.runRaw(() => Effect.void, { onOpen: write(event).pipe(Effect.catch(() => Effect.void)) }).pipe(Effect.timeout("1 second"), Effect.catchReason("SocketError", "SocketCloseError", () => Effect.void), Effect.catch(() => Effect.void));
|
|
117
|
+
const outbox = yield* Queue.unbounded();
|
|
118
|
+
const attachment = yield* pty.attach(ctx.params.ptyID, {
|
|
119
|
+
cursor,
|
|
120
|
+
onData: (chunk) => Queue.offerUnsafe(outbox, chunk),
|
|
121
|
+
onEnd: () => Queue.offerUnsafe(outbox, new Socket.CloseEvent(1000))
|
|
122
|
+
}).pipe(Effect.catchTags({
|
|
123
|
+
"Pty.NotFoundError": () => closeAccepted(new Socket.CloseEvent(4404, "session not found")).pipe(Effect.as(undefined)),
|
|
124
|
+
"Pty.ExitedError": () => closeAccepted(new Socket.CloseEvent(4404, "session exited")).pipe(Effect.as(undefined))
|
|
125
|
+
}));
|
|
126
|
+
if (!attachment)
|
|
127
|
+
return HttpServerResponse.empty();
|
|
128
|
+
for (const chunk of PtyProtocol.chunks(attachment.replay))
|
|
129
|
+
Queue.offerUnsafe(outbox, chunk);
|
|
130
|
+
Queue.offerUnsafe(outbox, PtyProtocol.metaFrame(attachment.cursor));
|
|
131
|
+
attachment.activate();
|
|
132
|
+
const drain = Effect.gen(function* () {
|
|
133
|
+
while (true) {
|
|
134
|
+
const item = yield* Queue.take(outbox);
|
|
135
|
+
yield* write(item);
|
|
136
|
+
if (item instanceof Socket.CloseEvent)
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
yield* runPtySocket2(drain, socket.runRaw((message) => {
|
|
141
|
+
const decoded = PtyProtocol.decodeInput(message);
|
|
142
|
+
if (decoded !== undefined)
|
|
143
|
+
attachment.write(decoded);
|
|
144
|
+
}), attachment.detach).pipe(Effect.catchReason("SocketError", "SocketCloseError", () => Effect.void), Effect.orDie);
|
|
117
145
|
return HttpServerResponse.empty();
|
|
118
|
-
|
|
119
|
-
Queue.offerUnsafe(outbox, chunk);
|
|
120
|
-
Queue.offerUnsafe(outbox, PtyProtocol.metaFrame(attachment.cursor));
|
|
121
|
-
attachment.activate();
|
|
122
|
-
const drain = Effect.gen(function* () {
|
|
123
|
-
while (true) {
|
|
124
|
-
const item = yield* Queue.take(outbox);
|
|
125
|
-
yield* write(item);
|
|
126
|
-
if (item instanceof Socket.CloseEvent)
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
yield* runPtySocket2(drain, socket.runRaw((message) => {
|
|
131
|
-
const decoded = PtyProtocol.decodeInput(message);
|
|
132
|
-
if (decoded !== undefined)
|
|
133
|
-
attachment.write(decoded);
|
|
134
|
-
}), attachment.detach).pipe(Effect.catchReason("SocketError", "SocketCloseError", () => Effect.void), Effect.orDie);
|
|
135
|
-
return HttpServerResponse.empty();
|
|
146
|
+
}).pipe(Effect.provide(locations.get(ref)), locationErrors2);
|
|
136
147
|
}));
|
|
137
148
|
}));
|
|
138
149
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/pty-environment.ts
|
|
6
6
|
var exports_pty_environment = {};
|
|
7
7
|
__export(exports_pty_environment, {
|
|
8
8
|
PtyEnvironment: () => exports_pty_environment,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
layer: () => layer4,
|
|
11
|
-
node: () =>
|
|
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 Service5 extends Context.Service()("@opencode/ServerPtyEnvironment") {
|
|
17
17
|
}
|
|
18
|
-
var layer4 = Layer.succeed(
|
|
18
|
+
var layer4 = Layer.succeed(Service5, Service5.of({
|
|
19
19
|
get: () => Effect.succeed({})
|
|
20
20
|
}));
|
|
21
|
-
var
|
|
21
|
+
var node3 = makeGlobalNode({ service: Service5, layer: layer4, deps: [] });
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { Service5, layer4, node3, exports_pty_environment };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/plugin.ts
|
|
9
9
|
import { Plugin } from "@opencode/core/plugin";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-w070c2h2.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./server-info-796j10e5.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 "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.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 "./
|
|
3
|
+
} from "./server-info-f2c3fmpg.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-vm8xfxym.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
package/dist/fetch.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
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/server-info-bt74yp7t.js";
|
|
5
|
+
import"./chunks/server-info-fjgkzwxn.js";
|
|
6
|
+
import"./chunks/server-info-gtkdacvk.js";
|
|
7
|
+
import"./chunks/server-info-t8yzmczr.js";
|
|
8
|
+
import"./chunks/server-info-0nyrxe71.js";
|
|
9
|
+
import"./chunks/server-info-f39mytj5.js";
|
|
10
|
+
import"./chunks/server-info-wybxc4dx.js";
|
|
11
|
+
import"./chunks/server-info-mamrqa06.js";
|
|
12
|
+
import"./chunks/server-info-tj30x7c8.js";
|
|
13
|
+
import"./chunks/server-info-6jnajz3s.js";
|
|
14
|
+
import"./chunks/server-info-cek5pqmz.js";
|
|
15
|
+
import"./chunks/server-info-11j4jwm8.js";
|
|
16
|
+
import"./chunks/server-info-f8hnyckf.js";
|
|
17
|
+
import"./chunks/server-info-g2ne0515.js";
|
|
18
|
+
import"./chunks/server-info-va3pygcr.js";
|
|
19
|
+
import"./chunks/server-info-j1vmzz80.js";
|
|
20
|
+
import"./chunks/server-info-qay57ysn.js";
|
|
21
|
+
import"./chunks/server-info-me6471gr.js";
|
|
22
|
+
import"./chunks/server-info-x3kd5z8e.js";
|
|
23
|
+
import"./chunks/server-info-az442wb0.js";
|
|
24
|
+
import"./chunks/server-info-aswmh13k.js";
|
|
25
|
+
import"./chunks/server-info-1c8487ny.js";
|
|
26
|
+
import"./chunks/server-info-1dn63ycp.js";
|
|
27
|
+
import"./chunks/server-info-65vhetdk.js";
|
|
28
|
+
import"./chunks/server-info-mejshm6e.js";
|
|
29
|
+
import"./chunks/server-info-kvfvp3x0.js";
|
|
30
|
+
import"./chunks/server-info-kq78qwvx.js";
|
|
31
|
+
import"./chunks/server-info-sn723bhj.js";
|
|
32
|
+
import"./chunks/server-info-hezj1jdf.js";
|
|
33
|
+
import"./chunks/server-info-savs8p4t.js";
|
|
34
|
+
import"./chunks/server-info-7hca1a5h.js";
|
|
35
|
+
import"./chunks/server-info-6h3hakn6.js";
|
|
36
|
+
import"./chunks/server-info-p3d71hp9.js";
|
|
37
|
+
import"./chunks/server-info-9v5rqwm9.js";
|
|
38
|
+
import"./chunks/server-info-da7rn7h8.js";
|
|
39
|
+
import"./chunks/server-info-ea6e3t5n.js";
|
|
40
|
+
import"./chunks/server-info-2sy3c7de.js";
|
|
41
|
+
import"./chunks/server-info-0chp8crd.js";
|
|
42
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
43
|
+
import"./chunks/server-info-b8ygg5k2.js";
|
|
44
|
+
import"./chunks/server-info-tnr0rqd3.js";
|
|
45
|
+
import"./chunks/server-info-anm12x33.js";
|
|
46
|
+
import"./chunks/server-info-vm8xfxym.js";
|
|
47
|
+
import"./chunks/server-info-796j10e5.js";
|
|
48
|
+
import"./chunks/server-info-w070c2h2.js";
|
|
49
|
+
import"./chunks/server-info-f2c3fmpg.js";
|
|
50
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
51
51
|
export {
|
|
52
52
|
exports_fetch as ServerFetch,
|
|
53
53
|
make2 as make
|
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/server-info-wybxc4dx.js";
|
|
4
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
5
|
+
import"../chunks/server-info-796j10e5.js";
|
|
6
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
7
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
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/server-info-1dn63ycp.js";
|
|
4
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
5
|
+
import"../chunks/server-info-796j10e5.js";
|
|
6
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
7
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|
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/server-info-kvfvp3x0.js";
|
|
4
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
5
|
+
import"../chunks/server-info-796j10e5.js";
|
|
6
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
7
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
11
11
|
};
|
|
@@ -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/server-info-9v5rqwm9.js";
|
|
4
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
5
|
+
import"../chunks/server-info-796j10e5.js";
|
|
6
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
7
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CredentialHandler2 as CredentialHandler
|
|
11
11
|
};
|
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/server-info-kq78qwvx.js";
|
|
4
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
5
|
+
import"../chunks/server-info-796j10e5.js";
|
|
6
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
7
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|
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/server-info-11j4jwm8.js";
|
|
4
|
+
import"../chunks/server-info-2sy3c7de.js";
|
|
5
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
6
|
+
import"../chunks/server-info-796j10e5.js";
|
|
7
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
8
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
9
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
EventHandler2 as EventHandler
|
|
12
12
|
};
|
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/server-info-ea6e3t5n.js";
|
|
4
|
+
import"../chunks/server-info-vm8xfxym.js";
|
|
5
|
+
import"../chunks/server-info-796j10e5.js";
|
|
6
|
+
import"../chunks/server-info-w070c2h2.js";
|
|
7
|
+
import"../chunks/server-info-f2c3fmpg.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FormHandler2 as FormHandler
|
|
11
11
|
};
|