@opencode/server 0.0.0-dev-1360 → 0.0.0-dev-1362
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.d.ts +171 -2
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{auth-ca564221.js → service-status-0dfmev2z.js} +1 -1
- package/dist/chunks/{auth-xcshf76p.js → service-status-10r1zt22.js} +7 -8
- package/dist/chunks/{auth-29nx48hm.js → service-status-29nx48hm.js} +1 -1
- package/dist/chunks/{auth-10sj2tcf.js → service-status-2h3x7256.js} +1 -1
- package/dist/chunks/{auth-rgbnpstw.js → service-status-341zm3rs.js} +2 -2
- package/dist/chunks/{auth-nvb61mgq.js → service-status-4gs63nyp.js} +4 -4
- package/dist/chunks/service-status-4gt38746.js +111 -0
- package/dist/chunks/{auth-59yyxpa4.js → service-status-4rg1tmcj.js} +8 -8
- package/dist/chunks/{auth-enx9e1dz.js → service-status-4th25279.js} +4 -4
- package/dist/chunks/{auth-g23ffrnz.js → service-status-50kbksvb.js} +2 -2
- package/dist/chunks/{auth-2p8psxn9.js → service-status-5h6n6h4q.js} +24 -23
- package/dist/chunks/{auth-z3e7v67k.js → service-status-5pdfedjd.js} +5 -5
- package/dist/chunks/{auth-w9jcwh65.js → service-status-69weg9qz.js} +8 -8
- package/dist/chunks/{auth-6pm6ek88.js → service-status-6pm6ek88.js} +1 -1
- package/dist/chunks/{auth-br4x4prt.js → service-status-72bf7qt9.js} +3 -3
- package/dist/chunks/{auth-tjxfj8xj.js → service-status-7p3x8m34.js} +33 -16
- package/dist/chunks/{auth-n2zyxnzr.js → service-status-7tv8nec1.js} +1 -1
- package/dist/chunks/{auth-wsvmph03.js → service-status-844nmnmk.js} +2 -2
- package/dist/chunks/{auth-8sb6qqpn.js → service-status-8sb6qqpn.js} +1 -1
- package/dist/chunks/{auth-whvq72as.js → service-status-8y4d9f30.js} +3 -3
- package/dist/chunks/{auth-1z9qd4y2.js → service-status-9vfv9n1y.js} +4 -4
- package/dist/chunks/{auth-csnx1nj3.js → service-status-bcs2rr9e.js} +2 -2
- package/dist/chunks/{auth-rjhxbsc4.js → service-status-cgcw2b0e.js} +2 -2
- package/dist/chunks/{auth-djr0jy89.js → service-status-djr0jy89.js} +1 -1
- package/dist/chunks/{auth-0q7s66m2.js → service-status-e6e4kz0w.js} +4 -4
- package/dist/chunks/{auth-g4964mny.js → service-status-evw6vf0s.js} +3 -3
- package/dist/chunks/{auth-7dkb5ks8.js → service-status-fcw485c9.js} +2 -2
- package/dist/chunks/{auth-am27j67f.js → service-status-fegnxd42.js} +1 -1
- package/dist/chunks/{auth-ehyp3zqd.js → service-status-fsvp99pe.js} +1 -1
- package/dist/chunks/{auth-k74zefsg.js → service-status-ggw25rqf.js} +1 -1
- package/dist/chunks/{auth-em7ed65n.js → service-status-gqstb6bx.js} +2 -2
- package/dist/chunks/{auth-j4at0y5c.js → service-status-j4at0y5c.js} +1 -1
- package/dist/chunks/{auth-8xdajgpr.js → service-status-j605n900.js} +2 -2
- package/dist/chunks/{auth-javgytnb.js → service-status-j6y32kmq.js} +2 -2
- package/dist/chunks/{auth-8nezxn08.js → service-status-k12h8tw9.js} +1 -1
- package/dist/chunks/{auth-f3gr6hfv.js → service-status-kc553r92.js} +2 -2
- package/dist/chunks/service-status-mj1ewmp1.js +219 -0
- package/dist/chunks/{auth-myqk22k5.js → service-status-myqk22k5.js} +2 -2
- package/dist/chunks/{auth-p3bbq7g3.js → service-status-ntf3tw9k.js} +1 -1
- package/dist/chunks/{auth-qssmdh31.js → service-status-pp5985xb.js} +4 -4
- package/dist/chunks/{auth-8qsq6tbs.js → service-status-qcnb494j.js} +2 -2
- package/dist/chunks/{auth-yc92za0p.js → service-status-qgjb3f4w.js} +2 -2
- package/dist/chunks/{auth-1aar1z9e.js → service-status-qw2j92v5.js} +5 -5
- package/dist/chunks/{auth-0wjm8gvs.js → service-status-r5yb7twv.js} +2 -2
- package/dist/chunks/{auth-74nxvsrn.js → service-status-r9w3a44p.js} +7 -4
- package/dist/chunks/{auth-s0zgx365.js → service-status-sn8sqewc.js} +2 -2
- package/dist/chunks/{auth-t32e1bbt.js → service-status-t32e1bbt.js} +1 -1
- package/dist/chunks/{auth-exwy1kbj.js → service-status-tktas153.js} +2 -2
- package/dist/chunks/{auth-ka2mtp6f.js → service-status-vyjhrbg0.js} +2 -2
- package/dist/chunks/{auth-gaegw7xv.js → service-status-w7n3bfa8.js} +16 -12
- package/dist/chunks/{auth-kmwr1xw9.js → service-status-ws2ckpmb.js} +3 -3
- package/dist/chunks/{auth-x2qy7jg1.js → service-status-x2qy7jg1.js} +1 -1
- package/dist/chunks/service-status-xw05m515.js +49 -0
- package/dist/chunks/{auth-2tmcamrc.js → service-status-yvy5qft7.js} +2 -2
- package/dist/chunks/{auth-9hynp6rm.js → service-status-z564cb4b.js} +2 -2
- package/dist/chunks/{auth-prwd5gwt.js → service-status-zmrq0y42.js} +2 -2
- package/dist/chunks/{auth-qq3f8fnn.js → service-status-zs3a96ke.js} +2 -2
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.d.ts +14 -2
- package/dist/event-feed.js +7 -7
- package/dist/fetch.d.ts +1 -1
- package/dist/fetch.js +65 -63
- 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.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +20 -18
- 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.d.ts +54 -0
- package/dist/handlers/space.js +7 -0
- 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.d.ts +2 -1
- package/dist/handlers.js +58 -56
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/defect-response.js +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.js +68 -66
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +4 -3
- package/dist/routes.js +62 -60
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +3 -3
- package/dist/space-store.d.ts +62 -0
- package/dist/space-store.js +16 -0
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +67 -65
- package/package.json +8 -8
- package/dist/chunks/auth-ey0z35hy.js +0 -108
- /package/dist/chunks/{auth-017ycvbx.js → service-status-017ycvbx.js} +0 -0
- /package/dist/chunks/{auth-9rqn6x4v.js → service-status-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{auth-bd8755ek.js → service-status-bd8755ek.js} +0 -0
- /package/dist/chunks/{auth-n26yr6pw.js → service-status-n26yr6pw.js} +0 -0
- /package/dist/chunks/{auth-q187pxxd.js → service-status-q187pxxd.js} +0 -0
- /package/dist/chunks/{auth-q4bn6dy8.js → service-status-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{auth-qpnw2qd1.js → service-status-qpnw2qd1.js} +0 -0
- /package/dist/chunks/{auth-rqgv9x42.js → service-status-rqgv9x42.js} +0 -0
- /package/dist/chunks/{auth-xthc02cw.js → service-status-xthc02cw.js} +0 -0
- /package/dist/chunks/{auth-yc7nft6q.js → service-status-yc7nft6q.js} +0 -0
package/dist/process.js
CHANGED
|
@@ -1,88 +1,90 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/service-status-j4at0y5c.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/service-status-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
machinesEnabled2
|
|
9
|
-
} from "./chunks/
|
|
9
|
+
} from "./chunks/service-status-017ycvbx.js";
|
|
10
10
|
import {
|
|
11
11
|
unauthorizedResponse2,
|
|
12
12
|
authorizedRequest2
|
|
13
|
-
} from "./chunks/
|
|
13
|
+
} from "./chunks/service-status-29nx48hm.js";
|
|
14
14
|
import {
|
|
15
15
|
withoutParentSpan2
|
|
16
|
-
} from "./chunks/
|
|
16
|
+
} from "./chunks/service-status-yc7nft6q.js";
|
|
17
17
|
import {
|
|
18
18
|
middleware2
|
|
19
|
-
} from "./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/
|
|
19
|
+
} from "./chunks/service-status-myqk22k5.js";
|
|
20
|
+
import"./chunks/service-status-rqgv9x42.js";
|
|
21
|
+
import"./chunks/service-status-72bf7qt9.js";
|
|
22
|
+
import"./chunks/service-status-0dfmev2z.js";
|
|
23
|
+
import"./chunks/service-status-fsvp99pe.js";
|
|
24
|
+
import"./chunks/service-status-8y4d9f30.js";
|
|
25
|
+
import"./chunks/service-status-mj1ewmp1.js";
|
|
26
|
+
import"./chunks/service-status-zmrq0y42.js";
|
|
27
|
+
import"./chunks/service-status-cgcw2b0e.js";
|
|
28
|
+
import"./chunks/service-status-xthc02cw.js";
|
|
29
|
+
import"./chunks/service-status-evw6vf0s.js";
|
|
30
|
+
import"./chunks/service-status-sn8sqewc.js";
|
|
31
|
+
import"./chunks/service-status-qgjb3f4w.js";
|
|
32
|
+
import"./chunks/service-status-pp5985xb.js";
|
|
33
|
+
import"./chunks/service-status-ws2ckpmb.js";
|
|
34
|
+
import"./chunks/service-status-t32e1bbt.js";
|
|
35
|
+
import"./chunks/service-status-8sb6qqpn.js";
|
|
36
|
+
import"./chunks/service-status-4gs63nyp.js";
|
|
37
|
+
import"./chunks/service-status-qcnb494j.js";
|
|
38
|
+
import"./chunks/service-status-341zm3rs.js";
|
|
39
|
+
import"./chunks/service-status-r9w3a44p.js";
|
|
40
|
+
import"./chunks/service-status-ggw25rqf.js";
|
|
41
|
+
import"./chunks/service-status-7p3x8m34.js";
|
|
42
|
+
import"./chunks/service-status-10r1zt22.js";
|
|
43
|
+
import"./chunks/service-status-tktas153.js";
|
|
44
|
+
import"./chunks/service-status-gqstb6bx.js";
|
|
44
45
|
import {
|
|
45
46
|
connectionURLs2
|
|
46
|
-
} from "./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/
|
|
70
|
-
import"./chunks/
|
|
71
|
-
import"./chunks/
|
|
72
|
-
import"./chunks/
|
|
73
|
-
import"./chunks/
|
|
74
|
-
import"./chunks/
|
|
75
|
-
import"./chunks/
|
|
76
|
-
import"./chunks/
|
|
47
|
+
} from "./chunks/service-status-5pdfedjd.js";
|
|
48
|
+
import"./chunks/service-status-69weg9qz.js";
|
|
49
|
+
import"./chunks/service-status-4rg1tmcj.js";
|
|
50
|
+
import"./chunks/service-status-bcs2rr9e.js";
|
|
51
|
+
import"./chunks/service-status-q187pxxd.js";
|
|
52
|
+
import"./chunks/service-status-9vfv9n1y.js";
|
|
53
|
+
import"./chunks/service-status-j6y32kmq.js";
|
|
54
|
+
import"./chunks/service-status-50kbksvb.js";
|
|
55
|
+
import"./chunks/service-status-vyjhrbg0.js";
|
|
56
|
+
import"./chunks/service-status-6pm6ek88.js";
|
|
57
|
+
import"./chunks/service-status-x2qy7jg1.js";
|
|
58
|
+
import"./chunks/service-status-djr0jy89.js";
|
|
59
|
+
import"./chunks/service-status-qpnw2qd1.js";
|
|
60
|
+
import"./chunks/service-status-xw05m515.js";
|
|
61
|
+
import"./chunks/service-status-w7n3bfa8.js";
|
|
62
|
+
import"./chunks/service-status-kc553r92.js";
|
|
63
|
+
import"./chunks/service-status-fcw485c9.js";
|
|
64
|
+
import"./chunks/service-status-ntf3tw9k.js";
|
|
65
|
+
import"./chunks/service-status-yvy5qft7.js";
|
|
66
|
+
import"./chunks/service-status-zs3a96ke.js";
|
|
67
|
+
import"./chunks/service-status-844nmnmk.js";
|
|
68
|
+
import"./chunks/service-status-z564cb4b.js";
|
|
69
|
+
import"./chunks/service-status-4th25279.js";
|
|
70
|
+
import"./chunks/service-status-j605n900.js";
|
|
71
|
+
import"./chunks/service-status-k12h8tw9.js";
|
|
72
|
+
import"./chunks/service-status-7tv8nec1.js";
|
|
73
|
+
import"./chunks/service-status-r5yb7twv.js";
|
|
74
|
+
import"./chunks/service-status-2h3x7256.js";
|
|
75
|
+
import"./chunks/service-status-fegnxd42.js";
|
|
76
|
+
import"./chunks/service-status-4gt38746.js";
|
|
77
|
+
import"./chunks/service-status-bd8755ek.js";
|
|
78
|
+
import"./chunks/service-status-n26yr6pw.js";
|
|
77
79
|
import {
|
|
78
80
|
createRoutes2
|
|
79
|
-
} from "./chunks/
|
|
81
|
+
} from "./chunks/service-status-5h6n6h4q.js";
|
|
80
82
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunks/
|
|
83
|
+
make3
|
|
84
|
+
} from "./chunks/service-status-e6e4kz0w.js";
|
|
83
85
|
import {
|
|
84
86
|
__export
|
|
85
|
-
} from "./chunks/
|
|
87
|
+
} from "./chunks/service-status-9rqn6x4v.js";
|
|
86
88
|
|
|
87
89
|
// src/process.ts
|
|
88
90
|
var exports_process = {};
|
|
@@ -115,7 +117,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
115
117
|
const hostname = options.hostname ?? "127.0.0.1";
|
|
116
118
|
const port = Option.fromNullishOr(options.port);
|
|
117
119
|
const shutdown = yield* Latch.make();
|
|
118
|
-
const status = yield*
|
|
120
|
+
const status = yield* make3();
|
|
119
121
|
const bound = yield* listen({ hostname, port });
|
|
120
122
|
const localURLs = () => {
|
|
121
123
|
const address = bound.server.address();
|
package/dist/range.js
CHANGED
package/dist/request-site.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
rejected2,
|
|
3
3
|
middleware2,
|
|
4
4
|
exports_request_site
|
|
5
|
-
} from "./chunks/
|
|
6
|
-
import"./chunks/
|
|
5
|
+
} from "./chunks/service-status-myqk22k5.js";
|
|
6
|
+
import"./chunks/service-status-q4bn6dy8.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_request_site as RequestSite,
|
|
9
9
|
middleware2 as middleware,
|
package/dist/request-tracing.js
CHANGED
package/dist/routes.d.ts
CHANGED
|
@@ -38,9 +38,10 @@ import { Workspace } from "@opencode/core/workspace";
|
|
|
38
38
|
import { FileWatch } from "@opencode/core/filesystem/file-watch";
|
|
39
39
|
import { HttpRouter } from "effect/http";
|
|
40
40
|
import { Layer } from "effect";
|
|
41
|
+
import { SpaceStore } from "./space-store";
|
|
41
42
|
import { ServerPairing } from "./pairing";
|
|
42
43
|
import type { ServerOptions } from "./options";
|
|
43
|
-
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Identity.Service | Machines.Service | Workspace.Service | PermissionSaved.Service | CodeModeApi.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Automation.Service | Worktree.Service | BlobStore.Service | SessionSearchBuild.Service | VideoGeneration.Service | BrowserTunnelGateway.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | PushList.Service | PushSender.Service | FileWatch.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
44
|
-
type InstanceNode =
|
|
45
|
-
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Identity.Service | Machines.Service | Workspace.Service | PermissionSaved.Service | CodeModeApi.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Automation.Service | Worktree.Service | BlobStore.Service | SessionSearchBuild.Service | VideoGeneration.Service | BrowserTunnelGateway.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | PushList.Service | PushSender.Service | FileWatch.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
44
|
+
export declare function createRoutes(options?: ServerOptions, serviceURLs?: () => ReadonlyArray<string>, overrides?: LayerNode.Replacements): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Identity.Service | Machines.Service | Workspace.Service | PermissionSaved.Service | CodeModeApi.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Automation.Service | Worktree.Service | BlobStore.Service | SessionSearchBuild.Service | VideoGeneration.Service | BrowserTunnelGateway.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | PushList.Service | PushSender.Service | FileWatch.Service | SpaceStore.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
45
|
+
type InstanceNode = LayerNode.Provider<Instance.Service, never, typeof Node.tags.values.global>;
|
|
46
|
+
export declare function createEmbeddedRoutes(options?: ServerOptions, overrides?: LayerNode.Replacements, instances?: InstanceNode): Layer.Layer<Shell.Daemon | import("effect/http/HttpClient").HttpClient | HttpRouter.HttpRouter | FSUtil.Service | Global.Service | Database.Service | App.Service | Credential.Service | KV.Service | WellKnown.Service | InstructionEntry.Service | Job.Service | Identity.Service | Machines.Service | Workspace.Service | PermissionSaved.Service | CodeModeApi.Service | LocationServiceMap.Service | PersistentPty.Service | Session.Service | Automation.Service | Worktree.Service | BlobStore.Service | SessionSearchBuild.Service | VideoGeneration.Service | BrowserTunnelGateway.Service | SdkPlugins.Service | PluginUpdate.Service | Instance.Service | Bus.Service | Project.Service | SessionRestart.Service | PtyTicket.Service | SessionTransfer.Service | LocationActivity.Service | PushList.Service | PushSender.Service | FileWatch.Service | SpaceStore.Service | ServerPairing.Service, Error | PersistentPty.UnavailableError, import("effect/FileSystem").FileSystem | import("effect/http/Etag").Generator | import("effect/http/HttpPlatform").HttpPlatform | import("effect/Path").Path>;
|
|
46
47
|
export {};
|
package/dist/routes.js
CHANGED
|
@@ -1,66 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRoutes2,
|
|
3
3
|
createEmbeddedRoutes2
|
|
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/
|
|
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/
|
|
4
|
+
} from "./chunks/service-status-5h6n6h4q.js";
|
|
5
|
+
import"./chunks/service-status-29nx48hm.js";
|
|
6
|
+
import"./chunks/service-status-4gt38746.js";
|
|
7
|
+
import"./chunks/service-status-w7n3bfa8.js";
|
|
8
|
+
import"./chunks/service-status-pp5985xb.js";
|
|
9
|
+
import"./chunks/service-status-4th25279.js";
|
|
10
|
+
import"./chunks/service-status-kc553r92.js";
|
|
11
|
+
import"./chunks/service-status-vyjhrbg0.js";
|
|
12
|
+
import"./chunks/service-status-ntf3tw9k.js";
|
|
13
|
+
import"./chunks/service-status-9vfv9n1y.js";
|
|
14
|
+
import"./chunks/service-status-2h3x7256.js";
|
|
15
|
+
import"./chunks/service-status-bcs2rr9e.js";
|
|
16
|
+
import"./chunks/service-status-ws2ckpmb.js";
|
|
17
|
+
import"./chunks/service-status-10r1zt22.js";
|
|
18
|
+
import"./chunks/service-status-844nmnmk.js";
|
|
19
|
+
import"./chunks/service-status-cgcw2b0e.js";
|
|
20
|
+
import"./chunks/service-status-gqstb6bx.js";
|
|
21
|
+
import"./chunks/service-status-50kbksvb.js";
|
|
22
|
+
import"./chunks/service-status-sn8sqewc.js";
|
|
23
|
+
import"./chunks/service-status-qcnb494j.js";
|
|
24
|
+
import"./chunks/service-status-6pm6ek88.js";
|
|
25
|
+
import"./chunks/service-status-fcw485c9.js";
|
|
26
|
+
import"./chunks/service-status-zs3a96ke.js";
|
|
27
|
+
import"./chunks/service-status-017ycvbx.js";
|
|
28
|
+
import"./chunks/service-status-x2qy7jg1.js";
|
|
29
|
+
import"./chunks/service-status-z564cb4b.js";
|
|
30
|
+
import"./chunks/service-status-4rg1tmcj.js";
|
|
31
|
+
import"./chunks/service-status-j6y32kmq.js";
|
|
32
|
+
import"./chunks/service-status-r5yb7twv.js";
|
|
33
|
+
import"./chunks/service-status-qpnw2qd1.js";
|
|
34
|
+
import"./chunks/service-status-djr0jy89.js";
|
|
35
|
+
import"./chunks/service-status-fegnxd42.js";
|
|
36
|
+
import"./chunks/service-status-4gs63nyp.js";
|
|
37
|
+
import"./chunks/service-status-tktas153.js";
|
|
38
|
+
import"./chunks/service-status-j605n900.js";
|
|
39
|
+
import"./chunks/service-status-yvy5qft7.js";
|
|
40
|
+
import"./chunks/service-status-xw05m515.js";
|
|
41
|
+
import"./chunks/service-status-evw6vf0s.js";
|
|
42
|
+
import"./chunks/service-status-qgjb3f4w.js";
|
|
43
|
+
import"./chunks/service-status-zmrq0y42.js";
|
|
44
|
+
import"./chunks/service-status-341zm3rs.js";
|
|
45
|
+
import"./chunks/service-status-ggw25rqf.js";
|
|
46
|
+
import"./chunks/service-status-q187pxxd.js";
|
|
47
|
+
import"./chunks/service-status-r9w3a44p.js";
|
|
48
|
+
import"./chunks/service-status-k12h8tw9.js";
|
|
49
|
+
import"./chunks/service-status-7tv8nec1.js";
|
|
50
|
+
import"./chunks/service-status-j4at0y5c.js";
|
|
51
|
+
import"./chunks/service-status-n26yr6pw.js";
|
|
52
|
+
import"./chunks/service-status-bd8755ek.js";
|
|
53
|
+
import"./chunks/service-status-mj1ewmp1.js";
|
|
54
|
+
import"./chunks/service-status-5pdfedjd.js";
|
|
55
|
+
import"./chunks/service-status-69weg9qz.js";
|
|
56
|
+
import"./chunks/service-status-xthc02cw.js";
|
|
57
|
+
import"./chunks/service-status-8y4d9f30.js";
|
|
58
|
+
import"./chunks/service-status-0dfmev2z.js";
|
|
59
|
+
import"./chunks/service-status-fsvp99pe.js";
|
|
60
|
+
import"./chunks/service-status-72bf7qt9.js";
|
|
61
|
+
import"./chunks/service-status-rqgv9x42.js";
|
|
62
|
+
import"./chunks/service-status-q4bn6dy8.js";
|
|
63
|
+
import"./chunks/service-status-7p3x8m34.js";
|
|
64
|
+
import"./chunks/service-status-t32e1bbt.js";
|
|
65
|
+
import"./chunks/service-status-8sb6qqpn.js";
|
|
64
66
|
export {
|
|
65
67
|
createEmbeddedRoutes2 as createEmbeddedRoutes,
|
|
66
68
|
createRoutes2 as createRoutes
|
package/dist/server-info.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service3,
|
|
3
3
|
layer2,
|
|
4
4
|
connectionURLs2,
|
|
5
5
|
exports_server_info
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/service-status-5pdfedjd.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_server_info as ServerInfo,
|
|
9
|
-
|
|
9
|
+
Service3 as Service,
|
|
10
10
|
connectionURLs2 as connectionURLs,
|
|
11
11
|
layer2 as layer
|
|
12
12
|
};
|
package/dist/service-status.js
CHANGED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export * as SpaceStore from "./space-store";
|
|
2
|
+
import { Space } from "@opencode/schema/space";
|
|
3
|
+
import { Context, Effect, Scope } from "effect";
|
|
4
|
+
/** Rows one sync, or one subscribe's catch-up, reads at most across all its spaces. */
|
|
5
|
+
export declare const BatchSize = 500;
|
|
6
|
+
/** Tombstone-creating deletes in a space between two checks of its tombstones against `SpaceRows.TombstoneLimit`. */
|
|
7
|
+
export declare const PurgeInterval = 64;
|
|
8
|
+
export type Change = typeof Space.Event.Updated.Type | typeof Space.Event.Deleted.Type;
|
|
9
|
+
export type Listener = (change: Change) => Effect.Effect<void>;
|
|
10
|
+
type Send = (event: typeof Space.Event.Resync.Type | Change) => Effect.Effect<void>;
|
|
11
|
+
export interface Interface {
|
|
12
|
+
/**
|
|
13
|
+
* Commits the changes in one transaction, as `SpaceRows.write` applies them, then sends each one that changed a row
|
|
14
|
+
* in revision order. Returns each space's head after them, with its cursor, in the order the spaces first appear.
|
|
15
|
+
*/
|
|
16
|
+
readonly write: (changes: ReadonlyArray<Space.Change>) => Effect.Effect<ReadonlyArray<{
|
|
17
|
+
readonly space: Space.Name;
|
|
18
|
+
readonly revision: Space.Revision;
|
|
19
|
+
readonly cursor: string;
|
|
20
|
+
}>>;
|
|
21
|
+
/** This database's epoch, created once and kept, so revisions from another server or database are never used. */
|
|
22
|
+
readonly epoch: string;
|
|
23
|
+
/** Replaces the epoch: every client's next sync starts from a snapshot, e.g. after a database restore. */
|
|
24
|
+
readonly resetEpoch: Effect.Effect<void>;
|
|
25
|
+
/**
|
|
26
|
+
* One page per space after its cursor, in order, of `BatchSize` rows in total: a delta when this database issued the
|
|
27
|
+
* cursor and still holds every deletion after it, else a snapshot; `next` continues it. Once the rows are used up,
|
|
28
|
+
* the remaining spaces are not read and get no page.
|
|
29
|
+
*/
|
|
30
|
+
readonly sync: (spaces: ReadonlyArray<{
|
|
31
|
+
readonly space: Space.Name;
|
|
32
|
+
readonly cursor?: string;
|
|
33
|
+
}>) => Effect.Effect<ReadonlyArray<Space.Page>>;
|
|
34
|
+
/** Lets `subscribe` address an event stream by its ID while `send` reaches it, until the scope closes. */
|
|
35
|
+
readonly attach: (stream: string, send: Send) => Effect.Effect<void, never, Scope.Scope>;
|
|
36
|
+
/**
|
|
37
|
+
* Sends each space's changes since its cursor to the stream as single updated and deleted events, then its live
|
|
38
|
+
* changes, none missed or repeated. The spaces' catch-ups read `BatchSize` rows in total, in order: a space whose
|
|
39
|
+
* changes do not fit what is left, every space after the rows are used up, and one with an unusable cursor get
|
|
40
|
+
* `resync` instead. Replaces earlier subscriptions of those spaces on the stream; false when no such stream is
|
|
41
|
+
* attached.
|
|
42
|
+
*/
|
|
43
|
+
readonly subscribe: (stream: string, spaces: ReadonlyArray<{
|
|
44
|
+
readonly space: Space.Name;
|
|
45
|
+
readonly cursor: string;
|
|
46
|
+
}>) => Effect.Effect<boolean>;
|
|
47
|
+
/** Stops sending those spaces to the stream, also mid catch-up; false when no such stream is attached. */
|
|
48
|
+
readonly unsubscribe: (stream: string, spaces: ReadonlyArray<Space.Name>) => Effect.Effect<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* Runs `listener` with every change before its write returns and before subscribed streams get it, in revision
|
|
51
|
+
* order within a space. Changes never go through the bus, so plugins do not see them.
|
|
52
|
+
*/
|
|
53
|
+
readonly listen: (listener: Listener) => Effect.Effect<Effect.Effect<void>>;
|
|
54
|
+
}
|
|
55
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/server/SpaceStore", Interface>;
|
|
56
|
+
export declare class Service extends Service_base {
|
|
57
|
+
}
|
|
58
|
+
export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"global">, true>;
|
|
59
|
+
/** Attaches every event stream to the store, so `subscribe` can send space changes to it. */
|
|
60
|
+
export declare const extension: Effect.Effect<{
|
|
61
|
+
open: (stream: string, send: (event: import("@opencode/protocol/groups/event").OpenCodeEvent) => Effect.Effect<void>) => Effect.Effect<void, never, Scope.Scope>;
|
|
62
|
+
}, never, Service>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BatchSize2,
|
|
3
|
+
PurgeInterval2,
|
|
4
|
+
Service2,
|
|
5
|
+
node2,
|
|
6
|
+
extension2,
|
|
7
|
+
exports_space_store
|
|
8
|
+
} from "./chunks/service-status-mj1ewmp1.js";
|
|
9
|
+
export {
|
|
10
|
+
BatchSize2 as BatchSize,
|
|
11
|
+
PurgeInterval2 as PurgeInterval,
|
|
12
|
+
Service2 as Service,
|
|
13
|
+
exports_space_store as SpaceStore,
|
|
14
|
+
extension2 as extension,
|
|
15
|
+
node2 as node
|
|
16
|
+
};
|
package/dist/workerd.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface Options {
|
|
|
38
38
|
readonly config?: {
|
|
39
39
|
readonly content?: string;
|
|
40
40
|
};
|
|
41
|
-
/** models.dev catalog options
|
|
41
|
+
/** models.dev catalog options. Fetching is off by default, so a wake serves the bundled snapshot with no network. */
|
|
42
42
|
readonly models?: ServerOptions["models"];
|
|
43
43
|
/** Replaces `globalThis.fetch` for OpenCode's own HTTP requests, e.g. to route them through a Service Binding. */
|
|
44
44
|
readonly fetch?: ServerOptions["fetch"];
|
package/dist/workerd.js
CHANGED
|
@@ -1,73 +1,75 @@
|
|
|
1
|
-
import"./chunks/
|
|
2
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/service-status-q4bn6dy8.js";
|
|
2
|
+
import"./chunks/service-status-myqk22k5.js";
|
|
3
3
|
import {
|
|
4
4
|
withoutParentSpan2
|
|
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/
|
|
5
|
+
} from "./chunks/service-status-yc7nft6q.js";
|
|
6
|
+
import"./chunks/service-status-rqgv9x42.js";
|
|
7
|
+
import"./chunks/service-status-72bf7qt9.js";
|
|
8
|
+
import"./chunks/service-status-0dfmev2z.js";
|
|
9
|
+
import"./chunks/service-status-fsvp99pe.js";
|
|
10
|
+
import"./chunks/service-status-8y4d9f30.js";
|
|
11
|
+
import"./chunks/service-status-j4at0y5c.js";
|
|
12
|
+
import"./chunks/service-status-mj1ewmp1.js";
|
|
13
|
+
import"./chunks/service-status-zmrq0y42.js";
|
|
14
|
+
import"./chunks/service-status-cgcw2b0e.js";
|
|
15
|
+
import"./chunks/service-status-xthc02cw.js";
|
|
16
|
+
import"./chunks/service-status-evw6vf0s.js";
|
|
17
|
+
import"./chunks/service-status-sn8sqewc.js";
|
|
18
|
+
import"./chunks/service-status-qgjb3f4w.js";
|
|
19
|
+
import"./chunks/service-status-pp5985xb.js";
|
|
20
|
+
import"./chunks/service-status-ws2ckpmb.js";
|
|
21
|
+
import"./chunks/service-status-t32e1bbt.js";
|
|
22
|
+
import"./chunks/service-status-8sb6qqpn.js";
|
|
23
|
+
import"./chunks/service-status-4gs63nyp.js";
|
|
24
|
+
import"./chunks/service-status-qcnb494j.js";
|
|
25
|
+
import"./chunks/service-status-341zm3rs.js";
|
|
26
|
+
import"./chunks/service-status-r9w3a44p.js";
|
|
27
|
+
import"./chunks/service-status-ggw25rqf.js";
|
|
28
|
+
import"./chunks/service-status-7p3x8m34.js";
|
|
29
|
+
import"./chunks/service-status-10r1zt22.js";
|
|
30
|
+
import"./chunks/service-status-tktas153.js";
|
|
31
|
+
import"./chunks/service-status-gqstb6bx.js";
|
|
32
|
+
import"./chunks/service-status-5pdfedjd.js";
|
|
33
|
+
import"./chunks/service-status-69weg9qz.js";
|
|
34
|
+
import"./chunks/service-status-4rg1tmcj.js";
|
|
35
|
+
import"./chunks/service-status-bcs2rr9e.js";
|
|
36
|
+
import"./chunks/service-status-q187pxxd.js";
|
|
37
|
+
import"./chunks/service-status-9vfv9n1y.js";
|
|
38
|
+
import"./chunks/service-status-j6y32kmq.js";
|
|
39
|
+
import"./chunks/service-status-50kbksvb.js";
|
|
40
|
+
import"./chunks/service-status-vyjhrbg0.js";
|
|
41
|
+
import"./chunks/service-status-6pm6ek88.js";
|
|
42
|
+
import"./chunks/service-status-x2qy7jg1.js";
|
|
43
|
+
import"./chunks/service-status-017ycvbx.js";
|
|
44
|
+
import"./chunks/service-status-djr0jy89.js";
|
|
45
|
+
import"./chunks/service-status-qpnw2qd1.js";
|
|
46
|
+
import"./chunks/service-status-xw05m515.js";
|
|
47
|
+
import"./chunks/service-status-w7n3bfa8.js";
|
|
48
|
+
import"./chunks/service-status-kc553r92.js";
|
|
49
|
+
import"./chunks/service-status-fcw485c9.js";
|
|
50
|
+
import"./chunks/service-status-ntf3tw9k.js";
|
|
51
|
+
import"./chunks/service-status-yvy5qft7.js";
|
|
52
|
+
import"./chunks/service-status-zs3a96ke.js";
|
|
53
|
+
import"./chunks/service-status-844nmnmk.js";
|
|
54
|
+
import"./chunks/service-status-z564cb4b.js";
|
|
55
|
+
import"./chunks/service-status-4th25279.js";
|
|
56
|
+
import"./chunks/service-status-j605n900.js";
|
|
57
|
+
import"./chunks/service-status-k12h8tw9.js";
|
|
58
|
+
import"./chunks/service-status-7tv8nec1.js";
|
|
59
|
+
import"./chunks/service-status-r5yb7twv.js";
|
|
60
|
+
import"./chunks/service-status-2h3x7256.js";
|
|
61
|
+
import"./chunks/service-status-fegnxd42.js";
|
|
62
|
+
import"./chunks/service-status-4gt38746.js";
|
|
63
|
+
import"./chunks/service-status-29nx48hm.js";
|
|
64
|
+
import"./chunks/service-status-bd8755ek.js";
|
|
65
|
+
import"./chunks/service-status-n26yr6pw.js";
|
|
66
|
+
import"./chunks/service-status-5h6n6h4q.js";
|
|
65
67
|
import {
|
|
66
68
|
makeWithContext2
|
|
67
|
-
} from "./chunks/
|
|
69
|
+
} from "./chunks/service-status-qw2j92v5.js";
|
|
68
70
|
import {
|
|
69
71
|
__export
|
|
70
|
-
} from "./chunks/
|
|
72
|
+
} from "./chunks/service-status-9rqn6x4v.js";
|
|
71
73
|
|
|
72
74
|
// src/workerd.ts
|
|
73
75
|
var exports_workerd = {};
|
|
@@ -108,7 +110,7 @@ function serverOptions(options) {
|
|
|
108
110
|
fs: { filewatcher: false, fff: false },
|
|
109
111
|
events: { persist: true },
|
|
110
112
|
config: { content: options.config?.content },
|
|
111
|
-
models: options.models,
|
|
113
|
+
models: { ...options.models, fetch: options.models?.fetch ?? false },
|
|
112
114
|
fetch: options.fetch
|
|
113
115
|
};
|
|
114
116
|
}
|