@opencode/server 0.0.0-dev-1364 → 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/{service-status-9w6vdav3.js → content-headers-1kqc9805.js} +5 -5
- package/dist/chunks/{service-status-rm5kndzh.js → content-headers-1nsytpdt.js} +4 -4
- package/dist/chunks/{service-status-keqzz950.js → content-headers-21qqm769.js} +12 -12
- package/dist/chunks/{service-status-29nx48hm.js → content-headers-29nx48hm.js} +1 -1
- package/dist/chunks/{service-status-3te71694.js → content-headers-3te71694.js} +1 -1
- package/dist/chunks/{service-status-8xdajgpr.js → content-headers-3w2mqh28.js} +2 -2
- package/dist/chunks/{service-status-g23ffrnz.js → content-headers-50kbksvb.js} +2 -2
- package/dist/chunks/{service-status-kmwr1xw9.js → content-headers-5ky8bme5.js} +3 -3
- package/dist/chunks/{service-status-8nezxn08.js → content-headers-6anyjjh1.js} +1 -1
- package/dist/chunks/{service-status-6qz6pn3m.js → content-headers-6n31atta.js} +35 -35
- package/dist/chunks/{service-status-6pm6ek88.js → content-headers-6pm6ek88.js} +1 -1
- package/dist/chunks/{service-status-2tmcamrc.js → content-headers-7r996r31.js} +2 -2
- package/dist/chunks/{service-status-jmx3akz9.js → content-headers-8a8vhjqy.js} +6 -6
- package/dist/chunks/{service-status-8sb6qqpn.js → content-headers-8sb6qqpn.js} +1 -1
- package/dist/chunks/{service-status-tf74fj8k.js → content-headers-8xffg4dw.js} +2 -2
- package/dist/chunks/{service-status-rgbnpstw.js → content-headers-8y9zssdg.js} +2 -2
- package/dist/chunks/{service-status-k74zefsg.js → content-headers-ar950k47.js} +1 -1
- package/dist/chunks/{service-status-br4x4prt.js → content-headers-br4x4prt.js} +1 -1
- package/dist/chunks/{service-status-0wjm8gvs.js → content-headers-c6ktqe09.js} +2 -2
- package/dist/chunks/{service-status-ca564221.js → content-headers-ca564221.js} +1 -1
- package/dist/chunks/{service-status-yc92za0p.js → content-headers-cj97w75w.js} +2 -2
- package/dist/chunks/{service-status-wsvmph03.js → content-headers-ddhjwr2w.js} +2 -2
- package/dist/chunks/{service-status-f3gr6hfv.js → content-headers-df03ef4a.js} +2 -2
- package/dist/chunks/{service-status-djr0jy89.js → content-headers-djr0jy89.js} +1 -1
- package/dist/chunks/{service-status-e6e4kz0w.js → content-headers-e6e4kz0w.js} +1 -1
- package/dist/chunks/{service-status-10sj2tcf.js → content-headers-eacgzt6w.js} +1 -1
- package/dist/chunks/{service-status-ehyp3zqd.js → content-headers-ehyp3zqd.js} +1 -1
- package/dist/chunks/{service-status-8qsq6tbs.js → content-headers-esvnag9e.js} +2 -2
- package/dist/chunks/{service-status-q6d8smwt.js → content-headers-f1tstpac.js} +16 -16
- package/dist/chunks/{service-status-exwy1kbj.js → content-headers-f412ctvv.js} +2 -2
- package/dist/chunks/{service-status-64x7nvxd.js → content-headers-fmkwyf76.js} +9 -9
- package/dist/chunks/{service-status-3xkwxcke.js → content-headers-g9qy0kb1.js} +2 -2
- package/dist/chunks/{service-status-hs3dbf8w.js → content-headers-hs3dbf8w.js} +1 -1
- package/dist/chunks/{service-status-qq3f8fnn.js → content-headers-htk4x1jk.js} +2 -2
- package/dist/chunks/{service-status-j4at0y5c.js → content-headers-j4at0y5c.js} +1 -1
- package/dist/chunks/{service-status-javgytnb.js → content-headers-javgytnb.js} +2 -2
- package/dist/chunks/{service-status-whvq72as.js → content-headers-jhs8rzvk.js} +3 -3
- package/dist/chunks/{service-status-ka2mtp6f.js → content-headers-ka2mtp6f.js} +2 -2
- package/dist/chunks/{service-status-295pvv9p.js → content-headers-maarxay5.js} +4 -4
- package/dist/chunks/{service-status-0vqsbvsa.js → content-headers-mq10h3bj.js} +4 -4
- package/dist/chunks/{service-status-myqk22k5.js → content-headers-myqk22k5.js} +2 -2
- package/dist/chunks/{service-status-v9t81kwn.js → content-headers-mzs0n5xz.js} +8 -8
- package/dist/chunks/{service-status-784gqmc7.js → content-headers-nfrn9zxf.js} +2 -2
- package/dist/chunks/{service-status-g4964mny.js → content-headers-nh63c3gg.js} +3 -3
- package/dist/chunks/{service-status-rjhxbsc4.js → content-headers-phgds112.js} +2 -2
- package/dist/chunks/{service-status-qssmdh31.js → content-headers-qagtm26v.js} +4 -4
- package/dist/chunks/{service-status-prwd5gwt.js → content-headers-r682v2h3.js} +2 -2
- package/dist/chunks/{service-status-9hynp6rm.js → content-headers-r6qsbz4y.js} +2 -2
- package/dist/chunks/{service-status-7dkb5ks8.js → content-headers-rg932pab.js} +2 -2
- package/dist/chunks/{service-status-t32e1bbt.js → content-headers-t32e1bbt.js} +1 -1
- package/dist/chunks/{service-status-tt779q2a.js → content-headers-v60tcbt5.js} +3 -3
- package/dist/chunks/{service-status-am27j67f.js → content-headers-wjh98yw2.js} +1 -1
- package/dist/chunks/{service-status-x2qy7jg1.js → content-headers-x2qy7jg1.js} +1 -1
- package/dist/chunks/{service-status-s0zgx365.js → content-headers-y8sa9sbe.js} +2 -2
- package/dist/chunks/{service-status-n2zyxnzr.js → content-headers-ykr4m3zx.js} +1 -1
- package/dist/chunks/{service-status-em7ed65n.js → content-headers-z0v7xmc8.js} +2 -2
- package/dist/chunks/{service-status-e3jd9akj.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 +2 -2
- 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 +5 -5
- 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 +1 -1
- package/dist/service-status.js +1 -1
- package/dist/space-store.js +5 -5
- package/dist/workerd.js +68 -77
- package/package.json +8 -8
- /package/dist/chunks/{service-status-017ycvbx.js → content-headers-017ycvbx.js} +0 -0
- /package/dist/chunks/{service-status-9rqn6x4v.js → content-headers-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-bd8755ek.js → content-headers-bd8755ek.js} +0 -0
- /package/dist/chunks/{service-status-n26yr6pw.js → content-headers-n26yr6pw.js} +0 -0
- /package/dist/chunks/{service-status-q187pxxd.js → content-headers-q187pxxd.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → content-headers-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-qpnw2qd1.js → content-headers-qpnw2qd1.js} +0 -0
- /package/dist/chunks/{service-status-rqgv9x42.js → content-headers-rqgv9x42.js} +0 -0
- /package/dist/chunks/{service-status-xthc02cw.js → content-headers-xthc02cw.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → content-headers-yc7nft6q.js} +0 -0
|
@@ -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/agent.ts
|
|
9
9
|
import { Agent } from "@opencode/core/agent";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/space-store.ts
|
|
6
6
|
var exports_space_store = {};
|
|
7
7
|
__export(exports_space_store, {
|
|
8
8
|
BatchSize: () => BatchSize2,
|
|
9
9
|
PurgeInterval: () => PurgeInterval2,
|
|
10
|
-
Service: () =>
|
|
10
|
+
Service: () => Service5,
|
|
11
11
|
SpaceStore: () => exports_space_store,
|
|
12
12
|
extension: () => extension2,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { SpaceRows } from "@opencode/core/space";
|
|
16
16
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -22,9 +22,9 @@ import { Clock, Context, Effect, Layer } from "effect";
|
|
|
22
22
|
var BatchSize2 = 500;
|
|
23
23
|
var PurgeInterval2 = 64;
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class Service5 extends Context.Service()("@opencode/server/SpaceStore") {
|
|
26
26
|
}
|
|
27
|
-
var layer = Layer.effect(
|
|
27
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
28
28
|
const db = (yield* Database.Service).db;
|
|
29
29
|
let epoch = yield* SpaceRows.epoch(db).pipe(Effect.catchCause((cause) => Effect.logWarning("Could not read the space epoch", { cause }).pipe(Effect.as(crypto.randomUUID()))));
|
|
30
30
|
const listeners = new Array;
|
|
@@ -102,7 +102,7 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
102
102
|
events: read.rows.map((row) => change(space, row, created))
|
|
103
103
|
};
|
|
104
104
|
});
|
|
105
|
-
return
|
|
105
|
+
return Service5.of({
|
|
106
106
|
write: Effect.fn("SpaceStore.write")(function* (changes) {
|
|
107
107
|
return yield* [...new Set(changes.map((change) => change.space))].toSorted().reduceRight((effect, space) => locks.withLock(space)(effect), Effect.uninterruptible(Effect.gen(function* () {
|
|
108
108
|
const result = yield* SpaceRows.write(db, changes);
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
});
|
|
185
185
|
}));
|
|
186
|
-
var
|
|
186
|
+
var node3 = makeGlobalNode({ service: Service5, layer, deps: [Database.node] });
|
|
187
187
|
var extension2 = Effect.gen(function* () {
|
|
188
|
-
const store = yield*
|
|
188
|
+
const store = yield* Service5;
|
|
189
189
|
return { open: (stream, send) => store.attach(stream, send) };
|
|
190
190
|
});
|
|
191
191
|
function change(space, row, created) {
|
|
@@ -216,4 +216,4 @@ function parse(epoch, cursor) {
|
|
|
216
216
|
return { since: Number(parts[0]), head: parts[1] === undefined ? undefined : Number(parts[1]) };
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export { BatchSize2, PurgeInterval2,
|
|
219
|
+
export { BatchSize2, PurgeInterval2, Service5, node3, extension2, exports_space_store };
|
|
@@ -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/skill.ts
|
|
9
9
|
import { Skill } from "@opencode/core/skill";
|
|
@@ -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/websearch.ts
|
|
9
9
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
requestRef2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./content-headers-br4x4prt.js";
|
|
9
9
|
|
|
10
10
|
// src/handlers/artifact.ts
|
|
11
11
|
import { Artifact } from "@opencode/core/artifact";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-br4x4prt.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-ca564221.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./content-headers-ehyp3zqd.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CorsConfig2,
|
|
3
3
|
isAllowedRequestOrigin2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./content-headers-q4bn6dy8.js";
|
|
5
5
|
import {
|
|
6
6
|
locationErrors2,
|
|
7
7
|
requestRef2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./content-headers-br4x4prt.js";
|
|
9
9
|
|
|
10
10
|
// src/handlers/experimental/browser-tunnel.ts
|
|
11
11
|
import { NodeHttpServerRequest } from "@effect/platform-node";
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
import {
|
|
8
8
|
download2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./content-headers-t32e1bbt.js";
|
|
10
10
|
import {
|
|
11
11
|
parse2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./content-headers-8sb6qqpn.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/fs.ts
|
|
15
15
|
import { Environment } from "@opencode/core/environment/index";
|
|
@@ -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/pty.ts
|
|
19
19
|
import { Pty } from "@opencode/core/pty";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAllowedRequestOrigin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-q4bn6dy8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/request-site.ts
|
|
9
9
|
var exports_request_site = {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/pairing.ts
|
|
6
6
|
var exports_pairing = {};
|
|
7
7
|
__export(exports_pairing, {
|
|
8
8
|
ServerPairing: () => exports_pairing,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service4,
|
|
10
|
+
node: () => node2
|
|
11
11
|
});
|
|
12
12
|
import { Cache, Context, Duration, Effect, Layer } from "effect";
|
|
13
13
|
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 Service4 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(Service4, Effect.gen(function* () {
|
|
21
21
|
const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
|
|
22
|
-
return
|
|
22
|
+
return Service4.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(Service5, Effect.gen(function* () {
|
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
32
|
}));
|
|
33
|
-
var
|
|
33
|
+
var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Service4, node2, exports_pairing };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
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/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./content-headers-rqgv9x42.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
8
8
|
import {
|
|
9
9
|
wantsMediaRefs2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./content-headers-xthc02cw.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/message.ts
|
|
13
13
|
import { SessionMessage } from "@opencode/core/session/message";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2
|
|
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/voice.ts
|
|
9
9
|
import { Location } from "@opencode/core/location";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
missingMessage2,
|
|
5
5
|
failedMessageDecode2,
|
|
6
6
|
failedSnapshot2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./content-headers-rqgv9x42.js";
|
|
8
8
|
import {
|
|
9
9
|
locationErrors2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./content-headers-br4x4prt.js";
|
|
11
11
|
import {
|
|
12
12
|
Api2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./content-headers-jhs8rzvk.js";
|
|
14
14
|
import {
|
|
15
15
|
wantsMediaRefs2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./content-headers-xthc02cw.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/session.ts
|
|
19
19
|
import { Instance } from "@opencode/core/instance/service";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2
|
|
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/generate.ts
|
|
9
9
|
import { Generate } from "@opencode/core/generate";
|
|
@@ -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/flag.ts
|
|
9
9
|
import { Flag } from "@opencode/core/flag";
|
|
@@ -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/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service5
|
|
3
|
+
} from "./content-headers-fmkwyf76.js";
|
|
4
4
|
|
|
5
5
|
// src/handlers/space.ts
|
|
6
6
|
import { InvalidRequestError } from "@opencode/protocol/errors";
|
|
@@ -11,7 +11,7 @@ var streamNotFound = () => new InvalidRequestError({ message: "No open event str
|
|
|
11
11
|
var repeated = (spaces) => new Set(spaces).size !== spaces.length;
|
|
12
12
|
var repeatedSpace = () => new InvalidRequestError({ message: "Each space may appear only once", field: "spaces" });
|
|
13
13
|
var makeSpace2 = Effect.gen(function* () {
|
|
14
|
-
const store = yield*
|
|
14
|
+
const store = yield* Service5;
|
|
15
15
|
return {
|
|
16
16
|
write: Effect.fn("SpaceHandler.write")(function* (changes) {
|
|
17
17
|
const encoder = new TextEncoder;
|
|
@@ -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/model.ts
|
|
9
9
|
import { Model } from "@opencode/core/model";
|
|
@@ -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/plugin.ts
|
|
9
9
|
import { Plugin } from "@opencode/core/plugin";
|
package/dist/content-headers.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
download2,
|
|
4
4
|
disposition2,
|
|
5
5
|
exports_content_headers
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/content-headers-t32e1bbt.js";
|
|
7
7
|
export {
|
|
8
8
|
CONTENT_SECURITY_POLICY2 as CONTENT_SECURITY_POLICY,
|
|
9
9
|
exports_content_headers as ContentHeaders,
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
package/dist/fetch.js
CHANGED
|
@@ -2,71 +2,71 @@ import {
|
|
|
2
2
|
makeWithContext2,
|
|
3
3
|
make2,
|
|
4
4
|
exports_fetch
|
|
5
|
-
} from "./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/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
5
|
+
} from "./chunks/content-headers-1kqc9805.js";
|
|
6
|
+
import"./chunks/content-headers-f1tstpac.js";
|
|
7
|
+
import"./chunks/content-headers-29nx48hm.js";
|
|
8
|
+
import"./chunks/content-headers-n26yr6pw.js";
|
|
9
|
+
import"./chunks/content-headers-bd8755ek.js";
|
|
10
|
+
import"./chunks/content-headers-yc7nft6q.js";
|
|
11
|
+
import"./chunks/content-headers-myqk22k5.js";
|
|
12
|
+
import"./chunks/content-headers-6n31atta.js";
|
|
13
|
+
import"./chunks/content-headers-mq10h3bj.js";
|
|
14
|
+
import"./chunks/content-headers-eacgzt6w.js";
|
|
15
|
+
import"./chunks/content-headers-ar950k47.js";
|
|
16
|
+
import"./chunks/content-headers-5ky8bme5.js";
|
|
17
|
+
import"./chunks/content-headers-21qqm769.js";
|
|
18
|
+
import"./chunks/content-headers-djr0jy89.js";
|
|
19
|
+
import"./chunks/content-headers-50kbksvb.js";
|
|
20
|
+
import"./chunks/content-headers-ka2mtp6f.js";
|
|
21
|
+
import"./chunks/content-headers-y8sa9sbe.js";
|
|
22
|
+
import"./chunks/content-headers-z0v7xmc8.js";
|
|
23
|
+
import"./chunks/content-headers-wjh98yw2.js";
|
|
24
|
+
import"./chunks/content-headers-phgds112.js";
|
|
25
|
+
import"./chunks/content-headers-rg932pab.js";
|
|
26
|
+
import"./chunks/content-headers-javgytnb.js";
|
|
27
|
+
import"./chunks/content-headers-1nsytpdt.js";
|
|
28
|
+
import"./chunks/content-headers-maarxay5.js";
|
|
29
|
+
import"./chunks/content-headers-v60tcbt5.js";
|
|
30
|
+
import"./chunks/content-headers-8a8vhjqy.js";
|
|
31
|
+
import"./chunks/content-headers-df03ef4a.js";
|
|
32
|
+
import"./chunks/content-headers-g9qy0kb1.js";
|
|
33
|
+
import"./chunks/content-headers-ykr4m3zx.js";
|
|
34
|
+
import"./chunks/content-headers-z80wqx10.js";
|
|
35
|
+
import"./chunks/content-headers-f412ctvv.js";
|
|
36
|
+
import"./chunks/content-headers-q187pxxd.js";
|
|
37
|
+
import"./chunks/content-headers-htk4x1jk.js";
|
|
38
|
+
import"./chunks/content-headers-nh63c3gg.js";
|
|
39
|
+
import"./chunks/content-headers-nfrn9zxf.js";
|
|
40
|
+
import"./chunks/content-headers-esvnag9e.js";
|
|
41
|
+
import"./chunks/content-headers-c6ktqe09.js";
|
|
42
|
+
import"./chunks/content-headers-r6qsbz4y.js";
|
|
43
|
+
import"./chunks/content-headers-3w2mqh28.js";
|
|
44
|
+
import"./chunks/content-headers-x2qy7jg1.js";
|
|
45
|
+
import"./chunks/content-headers-6anyjjh1.js";
|
|
46
|
+
import"./chunks/content-headers-7r996r31.js";
|
|
47
|
+
import"./chunks/content-headers-8xffg4dw.js";
|
|
48
|
+
import"./chunks/content-headers-6pm6ek88.js";
|
|
49
|
+
import"./chunks/content-headers-017ycvbx.js";
|
|
50
|
+
import"./chunks/content-headers-r682v2h3.js";
|
|
51
|
+
import"./chunks/content-headers-qpnw2qd1.js";
|
|
52
|
+
import"./chunks/content-headers-hs3dbf8w.js";
|
|
53
|
+
import"./chunks/content-headers-qagtm26v.js";
|
|
54
|
+
import"./chunks/content-headers-xthc02cw.js";
|
|
55
|
+
import"./chunks/content-headers-ddhjwr2w.js";
|
|
56
|
+
import"./chunks/content-headers-cj97w75w.js";
|
|
57
|
+
import"./chunks/content-headers-8y9zssdg.js";
|
|
58
|
+
import"./chunks/content-headers-jhs8rzvk.js";
|
|
59
|
+
import"./chunks/content-headers-ca564221.js";
|
|
60
|
+
import"./chunks/content-headers-ehyp3zqd.js";
|
|
61
|
+
import"./chunks/content-headers-3te71694.js";
|
|
62
|
+
import"./chunks/content-headers-mzs0n5xz.js";
|
|
63
|
+
import"./chunks/content-headers-t32e1bbt.js";
|
|
64
|
+
import"./chunks/content-headers-8sb6qqpn.js";
|
|
65
|
+
import"./chunks/content-headers-q4bn6dy8.js";
|
|
66
|
+
import"./chunks/content-headers-fmkwyf76.js";
|
|
67
|
+
import"./chunks/content-headers-j4at0y5c.js";
|
|
68
|
+
import"./chunks/content-headers-br4x4prt.js";
|
|
69
|
+
import"./chunks/content-headers-rqgv9x42.js";
|
|
70
70
|
export {
|
|
71
71
|
exports_fetch as ServerFetch,
|
|
72
72
|
make2 as make,
|