@opencode/server 0.0.0-dev-1366 → 0.0.0-dev-1368
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/{content-headers-mq10h3bj.js → workerd-0vqsbvsa.js} +4 -4
- package/dist/chunks/{content-headers-c6ktqe09.js → workerd-0wjm8gvs.js} +2 -2
- package/dist/chunks/{content-headers-eacgzt6w.js → workerd-10sj2tcf.js} +1 -1
- package/dist/chunks/{content-headers-maarxay5.js → workerd-1g4xykqx.js} +4 -4
- package/dist/chunks/{content-headers-8xffg4dw.js → workerd-1pbjpk0f.js} +4 -4
- package/dist/chunks/{content-headers-nh63c3gg.js → workerd-23n65c7j.js} +3 -3
- package/dist/chunks/{content-headers-29nx48hm.js → workerd-29nx48hm.js} +1 -1
- package/dist/chunks/{content-headers-7r996r31.js → workerd-2tmcamrc.js} +2 -2
- package/dist/chunks/{content-headers-e6e4kz0w.js → workerd-39nnfjx1.js} +4 -4
- package/dist/chunks/{content-headers-g9qy0kb1.js → workerd-3xkwxcke.js} +2 -2
- package/dist/chunks/{content-headers-50kbksvb.js → workerd-50kbksvb.js} +2 -2
- package/dist/chunks/{content-headers-3te71694.js → workerd-5pdfedjd.js} +4 -4
- package/dist/chunks/{content-headers-6pm6ek88.js → workerd-6pm6ek88.js} +1 -1
- package/dist/chunks/{content-headers-nfrn9zxf.js → workerd-784gqmc7.js} +2 -2
- package/dist/chunks/{content-headers-rg932pab.js → workerd-7dkb5ks8.js} +2 -2
- package/dist/chunks/{content-headers-6anyjjh1.js → workerd-8nezxn08.js} +1 -1
- package/dist/chunks/{content-headers-esvnag9e.js → workerd-8qsq6tbs.js} +2 -2
- package/dist/chunks/{content-headers-8sb6qqpn.js → workerd-8sb6qqpn.js} +1 -1
- package/dist/chunks/{content-headers-3w2mqh28.js → workerd-8xdajgpr.js} +2 -2
- package/dist/chunks/{content-headers-r6qsbz4y.js → workerd-9hynp6rm.js} +2 -2
- package/dist/chunks/{content-headers-21qqm769.js → workerd-9tw35sfc.js} +12 -12
- package/dist/chunks/{content-headers-f1tstpac.js → workerd-a6b7h8n6.js} +21 -25
- package/dist/chunks/{content-headers-wjh98yw2.js → workerd-am27j67f.js} +1 -1
- package/dist/chunks/{content-headers-br4x4prt.js → workerd-br4x4prt.js} +1 -1
- package/dist/chunks/{content-headers-ca564221.js → workerd-ca564221.js} +1 -1
- package/dist/chunks/{content-headers-djr0jy89.js → workerd-djr0jy89.js} +1 -1
- package/dist/chunks/{content-headers-8a8vhjqy.js → workerd-dsxhsz16.js} +6 -6
- package/dist/chunks/{content-headers-z80wqx10.js → workerd-e3jd9akj.js} +1 -1
- package/dist/chunks/{content-headers-ehyp3zqd.js → workerd-ehyp3zqd.js} +1 -1
- package/dist/chunks/{content-headers-z0v7xmc8.js → workerd-em7ed65n.js} +2 -2
- package/dist/chunks/{content-headers-qagtm26v.js → workerd-epfdwcja.js} +4 -4
- package/dist/chunks/{content-headers-f412ctvv.js → workerd-exwy1kbj.js} +2 -2
- package/dist/chunks/{content-headers-df03ef4a.js → workerd-f3gr6hfv.js} +2 -2
- package/dist/chunks/{content-headers-6n31atta.js → workerd-hfbw093d.js} +37 -37
- package/dist/chunks/{content-headers-j4at0y5c.js → workerd-j4at0y5c.js} +1 -1
- package/dist/chunks/{content-headers-javgytnb.js → workerd-javgytnb.js} +2 -2
- package/dist/chunks/{content-headers-ar950k47.js → workerd-k74zefsg.js} +1 -1
- package/dist/chunks/{content-headers-ka2mtp6f.js → workerd-ka2mtp6f.js} +2 -2
- package/dist/chunks/{content-headers-5ky8bme5.js → workerd-kmwr1xw9.js} +3 -3
- package/dist/chunks/{content-headers-fmkwyf76.js → workerd-mj1ewmp1.js} +9 -9
- package/dist/chunks/{content-headers-myqk22k5.js → workerd-myqk22k5.js} +2 -2
- package/dist/chunks/{content-headers-ykr4m3zx.js → workerd-n2zyxnzr.js} +1 -1
- package/dist/chunks/{content-headers-r682v2h3.js → workerd-prwd5gwt.js} +2 -2
- package/dist/chunks/{content-headers-htk4x1jk.js → workerd-qq3f8fnn.js} +2 -2
- package/dist/chunks/workerd-r8tdr8qd.js +43 -0
- package/dist/chunks/{content-headers-8y9zssdg.js → workerd-rgbnpstw.js} +2 -2
- package/dist/chunks/{content-headers-phgds112.js → workerd-rjhxbsc4.js} +2 -2
- package/dist/chunks/{content-headers-1nsytpdt.js → workerd-rm5kndzh.js} +4 -4
- package/dist/chunks/{content-headers-y8sa9sbe.js → workerd-s0zgx365.js} +2 -2
- package/dist/chunks/{content-headers-t32e1bbt.js → workerd-t32e1bbt.js} +1 -1
- package/dist/chunks/{content-headers-mzs0n5xz.js → workerd-v9t81kwn.js} +8 -8
- package/dist/chunks/{content-headers-jhs8rzvk.js → workerd-whvq72as.js} +3 -3
- package/dist/chunks/{content-headers-ddhjwr2w.js → workerd-wsvmph03.js} +2 -2
- package/dist/chunks/{content-headers-x2qy7jg1.js → workerd-x2qy7jg1.js} +1 -1
- package/dist/chunks/{content-headers-v60tcbt5.js → workerd-xw05m515.js} +3 -3
- package/dist/chunks/{content-headers-cj97w75w.js → workerd-yc92za0p.js} +2 -2
- package/dist/chunks/{content-headers-hs3dbf8w.js → workerd-z5c20bjd.js} +7 -7
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +22 -11
- package/dist/fetch.js +72 -68
- 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/options.d.ts +69 -2
- package/dist/options.js +14 -6
- package/dist/pairing.js +5 -5
- package/dist/process.d.ts +5 -5
- package/dist/process.js +68 -68
- 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 +8 -2
- package/dist/routes.js +62 -62
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +3 -3
- package/dist/space-store.js +5 -5
- package/dist/workerd.js +66 -66
- package/package.json +8 -8
- package/dist/chunks/content-headers-1kqc9805.js +0 -37
- /package/dist/chunks/{content-headers-017ycvbx.js → workerd-017ycvbx.js} +0 -0
- /package/dist/chunks/{content-headers-9rqn6x4v.js → workerd-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{content-headers-bd8755ek.js → workerd-bd8755ek.js} +0 -0
- /package/dist/chunks/{content-headers-n26yr6pw.js → workerd-n26yr6pw.js} +0 -0
- /package/dist/chunks/{content-headers-q187pxxd.js → workerd-q187pxxd.js} +0 -0
- /package/dist/chunks/{content-headers-q4bn6dy8.js → workerd-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{content-headers-qpnw2qd1.js → workerd-qpnw2qd1.js} +0 -0
- /package/dist/chunks/{content-headers-rqgv9x42.js → workerd-rqgv9x42.js} +0 -0
- /package/dist/chunks/{content-headers-xthc02cw.js → workerd-xthc02cw.js} +0 -0
- /package/dist/chunks/{content-headers-yc7nft6q.js → workerd-yc7nft6q.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionLocationMiddleware2,
|
|
3
3
|
sessionLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/workerd-ehyp3zqd.js";
|
|
5
|
+
import"../chunks/workerd-br4x4prt.js";
|
|
6
|
+
import"../chunks/workerd-rqgv9x42.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/options.d.ts
CHANGED
|
@@ -1,16 +1,72 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import type { LayerNodePlatform } from "@opencode/util/effect/app-node-platform";
|
|
3
|
-
|
|
3
|
+
/** The application runtime: everything the service graph reads, with or without an HTTP listener in front. */
|
|
4
|
+
export declare const AppOptions: Schema.Struct<{
|
|
4
5
|
readonly app: Schema.optional<Schema.Struct<{
|
|
5
6
|
readonly name: Schema.optional<Schema.String>;
|
|
6
7
|
readonly version: Schema.optional<Schema.String>;
|
|
7
8
|
readonly channel: Schema.optional<Schema.String>;
|
|
8
9
|
}>>;
|
|
10
|
+
readonly database: Schema.optional<Schema.Struct<{
|
|
11
|
+
readonly path: Schema.optional<Schema.String>;
|
|
12
|
+
}>>;
|
|
13
|
+
readonly pty: Schema.optional<Schema.Struct<{
|
|
14
|
+
readonly handoff: Schema.optional<Schema.Struct<{
|
|
15
|
+
readonly directory: Schema.String;
|
|
16
|
+
readonly instanceID: Schema.String;
|
|
17
|
+
readonly ticket: Schema.String;
|
|
18
|
+
readonly expiresAt: Schema.Number;
|
|
19
|
+
}>>;
|
|
20
|
+
readonly root: Schema.optional<Schema.String>;
|
|
21
|
+
}>>;
|
|
22
|
+
readonly events: Schema.optional<Schema.Struct<{
|
|
23
|
+
readonly persist: Schema.optional<Schema.Boolean>;
|
|
24
|
+
}>>;
|
|
25
|
+
readonly models: Schema.optional<Schema.Struct<{
|
|
26
|
+
readonly url: Schema.optional<Schema.String>;
|
|
27
|
+
readonly file: Schema.optional<Schema.String>;
|
|
28
|
+
readonly fetch: Schema.optional<Schema.Boolean>;
|
|
29
|
+
readonly snapshot: Schema.optional<Schema.Boolean>;
|
|
30
|
+
}>>;
|
|
31
|
+
/**
|
|
32
|
+
* Replaces `globalThis.fetch` for OpenCode's own HTTP requests: OpenCode Console config, model requests, web fetch
|
|
33
|
+
* and search, well-known config, and remote MCP servers. Agent code in Code Mode keeps `globalThis.fetch`. For
|
|
34
|
+
* example, a Cloudflare Worker can route requests through a Service Binding.
|
|
35
|
+
*/
|
|
36
|
+
readonly fetch: Schema.optional<Schema.declare<LayerNodePlatform.Fetch, LayerNodePlatform.Fetch>>;
|
|
37
|
+
readonly config: Schema.optional<Schema.Struct<{
|
|
38
|
+
readonly directory: Schema.optional<Schema.String>;
|
|
39
|
+
readonly project: Schema.optional<Schema.Boolean>;
|
|
40
|
+
readonly claude: Schema.optional<Schema.Boolean>;
|
|
41
|
+
readonly file: Schema.optional<Schema.String>;
|
|
42
|
+
readonly content: Schema.optional<Schema.String>;
|
|
43
|
+
}>>;
|
|
44
|
+
readonly instructions: Schema.optional<Schema.Struct<{
|
|
45
|
+
readonly claude: Schema.optional<Schema.Boolean>;
|
|
46
|
+
}>>;
|
|
47
|
+
readonly windows: Schema.optional<Schema.Struct<{
|
|
48
|
+
readonly gitbash: Schema.optional<Schema.String>;
|
|
49
|
+
}>>;
|
|
50
|
+
readonly fs: Schema.optional<Schema.Struct<{
|
|
51
|
+
readonly filewatcher: Schema.optional<Schema.Boolean>;
|
|
52
|
+
readonly fff: Schema.optional<Schema.Boolean>;
|
|
53
|
+
}>>;
|
|
54
|
+
}>;
|
|
55
|
+
export type AppOptions = typeof AppOptions.Type;
|
|
56
|
+
/** The HTTP listener in front of the application: where it binds, who may call it, and which origins it trusts. */
|
|
57
|
+
export declare const HttpListenerOptions: Schema.Struct<{
|
|
9
58
|
readonly hostname: Schema.optional<Schema.String>;
|
|
10
59
|
readonly port: Schema.optional<Schema.Int>;
|
|
11
60
|
readonly password: Schema.optional<Schema.String>;
|
|
12
61
|
readonly cors: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13
|
-
|
|
62
|
+
}>;
|
|
63
|
+
export type HttpListenerOptions = typeof HttpListenerOptions.Type;
|
|
64
|
+
export declare const ServerOptions: Schema.Struct<{
|
|
65
|
+
readonly app: Schema.optional<Schema.Struct<{
|
|
66
|
+
readonly name: Schema.optional<Schema.String>;
|
|
67
|
+
readonly version: Schema.optional<Schema.String>;
|
|
68
|
+
readonly channel: Schema.optional<Schema.String>;
|
|
69
|
+
}>>;
|
|
14
70
|
readonly database: Schema.optional<Schema.Struct<{
|
|
15
71
|
readonly path: Schema.optional<Schema.String>;
|
|
16
72
|
}>>;
|
|
@@ -55,5 +111,16 @@ export declare const ServerOptions: Schema.Struct<{
|
|
|
55
111
|
readonly filewatcher: Schema.optional<Schema.Boolean>;
|
|
56
112
|
readonly fff: Schema.optional<Schema.Boolean>;
|
|
57
113
|
}>>;
|
|
114
|
+
readonly hostname: Schema.optional<Schema.String>;
|
|
115
|
+
readonly port: Schema.optional<Schema.Int>;
|
|
116
|
+
readonly password: Schema.optional<Schema.String>;
|
|
117
|
+
readonly cors: Schema.optional<Schema.$Array<Schema.String>>;
|
|
118
|
+
readonly simulation: Schema.optional<Schema.Boolean>;
|
|
58
119
|
}>;
|
|
59
120
|
export type ServerOptions = typeof ServerOptions.Type;
|
|
121
|
+
/**
|
|
122
|
+
* What routes served without a listener honor: the application, plus the origin allowlist the WebSocket handlers
|
|
123
|
+
* check and the simulation switch. There is no `hostname`, `port` or `password`: nothing binds, and the embedder
|
|
124
|
+
* owns access control.
|
|
125
|
+
*/
|
|
126
|
+
export type EmbeddedRoutesOptions = AppOptions & Pick<ServerOptions, "cors" | "simulation">;
|
package/dist/options.js
CHANGED
|
@@ -3,17 +3,12 @@ import { Database } from "@opencode/core/database/database";
|
|
|
3
3
|
import { ModelsDev } from "@opencode/core/models-dev";
|
|
4
4
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
5
5
|
import { Schema } from "effect";
|
|
6
|
-
var
|
|
6
|
+
var AppOptions = Schema.Struct({
|
|
7
7
|
app: Schema.optional(Schema.Struct({
|
|
8
8
|
name: Schema.optional(Schema.String),
|
|
9
9
|
version: Schema.optional(Schema.String),
|
|
10
10
|
channel: Schema.optional(Schema.String)
|
|
11
11
|
})),
|
|
12
|
-
hostname: Schema.optional(Schema.String),
|
|
13
|
-
port: Schema.optional(Schema.Int.check(Schema.isGreaterThanOrEqualTo(0), Schema.isLessThanOrEqualTo(65535))),
|
|
14
|
-
password: Schema.optional(Schema.String),
|
|
15
|
-
cors: Schema.optional(Schema.Array(Schema.String)),
|
|
16
|
-
simulation: Schema.optional(Schema.Boolean),
|
|
17
12
|
database: Schema.optional(Database.Options),
|
|
18
13
|
pty: Schema.optional(PersistentPty.Options),
|
|
19
14
|
events: Schema.optional(Schema.Struct({
|
|
@@ -39,6 +34,19 @@ var ServerOptions = Schema.Struct({
|
|
|
39
34
|
fff: Schema.optional(Schema.Boolean)
|
|
40
35
|
}))
|
|
41
36
|
});
|
|
37
|
+
var HttpListenerOptions = Schema.Struct({
|
|
38
|
+
hostname: Schema.optional(Schema.String),
|
|
39
|
+
port: Schema.optional(Schema.Int.check(Schema.isGreaterThanOrEqualTo(0), Schema.isLessThanOrEqualTo(65535))),
|
|
40
|
+
password: Schema.optional(Schema.String),
|
|
41
|
+
cors: Schema.optional(Schema.Array(Schema.String))
|
|
42
|
+
});
|
|
43
|
+
var ServerOptions = Schema.Struct({
|
|
44
|
+
...AppOptions.fields,
|
|
45
|
+
...HttpListenerOptions.fields,
|
|
46
|
+
simulation: Schema.optional(Schema.Boolean)
|
|
47
|
+
});
|
|
42
48
|
export {
|
|
49
|
+
AppOptions,
|
|
50
|
+
HttpListenerOptions,
|
|
43
51
|
ServerOptions
|
|
44
52
|
};
|
package/dist/pairing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service5,
|
|
3
|
+
node3,
|
|
4
4
|
exports_pairing
|
|
5
|
-
} from "./chunks/
|
|
5
|
+
} from "./chunks/workerd-v9t81kwn.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_pairing as ServerPairing,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Service5 as Service,
|
|
9
|
+
node3 as node
|
|
10
10
|
};
|
package/dist/process.d.ts
CHANGED
|
@@ -13,11 +13,6 @@ export declare const start: <E, R>(options: {
|
|
|
13
13
|
readonly version?: string | undefined;
|
|
14
14
|
readonly channel?: string | undefined;
|
|
15
15
|
} | undefined;
|
|
16
|
-
readonly hostname?: string | undefined;
|
|
17
|
-
readonly port?: number | undefined;
|
|
18
|
-
readonly password?: string | undefined;
|
|
19
|
-
readonly cors?: readonly string[] | undefined;
|
|
20
|
-
readonly simulation?: boolean | undefined;
|
|
21
16
|
readonly database?: {
|
|
22
17
|
readonly path?: string | undefined;
|
|
23
18
|
} | undefined;
|
|
@@ -57,6 +52,11 @@ export declare const start: <E, R>(options: {
|
|
|
57
52
|
readonly filewatcher?: boolean | undefined;
|
|
58
53
|
readonly fff?: boolean | undefined;
|
|
59
54
|
} | undefined;
|
|
55
|
+
readonly hostname?: string | undefined;
|
|
56
|
+
readonly port?: number | undefined;
|
|
57
|
+
readonly password?: string | undefined;
|
|
58
|
+
readonly cors?: readonly string[] | undefined;
|
|
59
|
+
readonly simulation?: boolean | undefined;
|
|
60
60
|
}, lifecycle?: Lifecycle<E, R> | undefined, transform?: Transform | undefined, remoteURLs?: (() => ReadonlyArray<string>) | undefined) => Effect.Effect<{
|
|
61
61
|
address: NetAddress.SocketAddress;
|
|
62
62
|
shutdown: Effect.Effect<void, never, never>;
|
package/dist/process.js
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/workerd-j4at0y5c.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/workerd-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
machinesEnabled2
|
|
9
|
-
} from "./chunks/
|
|
9
|
+
} from "./chunks/workerd-017ycvbx.js";
|
|
10
10
|
import {
|
|
11
11
|
unauthorizedResponse2,
|
|
12
12
|
authorizedRequest2
|
|
13
|
-
} from "./chunks/
|
|
13
|
+
} from "./chunks/workerd-29nx48hm.js";
|
|
14
14
|
import {
|
|
15
15
|
withoutParentSpan2
|
|
16
|
-
} from "./chunks/
|
|
16
|
+
} from "./chunks/workerd-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/
|
|
44
|
-
import"./chunks/
|
|
19
|
+
} from "./chunks/workerd-myqk22k5.js";
|
|
20
|
+
import"./chunks/workerd-rqgv9x42.js";
|
|
21
|
+
import"./chunks/workerd-br4x4prt.js";
|
|
22
|
+
import"./chunks/workerd-ca564221.js";
|
|
23
|
+
import"./chunks/workerd-ehyp3zqd.js";
|
|
24
|
+
import"./chunks/workerd-whvq72as.js";
|
|
25
|
+
import"./chunks/workerd-mj1ewmp1.js";
|
|
26
|
+
import"./chunks/workerd-prwd5gwt.js";
|
|
27
|
+
import"./chunks/workerd-rjhxbsc4.js";
|
|
28
|
+
import"./chunks/workerd-xthc02cw.js";
|
|
29
|
+
import"./chunks/workerd-23n65c7j.js";
|
|
30
|
+
import"./chunks/workerd-s0zgx365.js";
|
|
31
|
+
import"./chunks/workerd-yc92za0p.js";
|
|
32
|
+
import"./chunks/workerd-epfdwcja.js";
|
|
33
|
+
import"./chunks/workerd-kmwr1xw9.js";
|
|
34
|
+
import"./chunks/workerd-t32e1bbt.js";
|
|
35
|
+
import"./chunks/workerd-8sb6qqpn.js";
|
|
36
|
+
import"./chunks/workerd-1g4xykqx.js";
|
|
37
|
+
import"./chunks/workerd-8qsq6tbs.js";
|
|
38
|
+
import"./chunks/workerd-rgbnpstw.js";
|
|
39
|
+
import"./chunks/workerd-3xkwxcke.js";
|
|
40
|
+
import"./chunks/workerd-k74zefsg.js";
|
|
41
|
+
import"./chunks/workerd-z5c20bjd.js";
|
|
42
|
+
import"./chunks/workerd-1pbjpk0f.js";
|
|
43
|
+
import"./chunks/workerd-exwy1kbj.js";
|
|
44
|
+
import"./chunks/workerd-em7ed65n.js";
|
|
45
45
|
import {
|
|
46
46
|
connectionURLs2
|
|
47
|
-
} from "./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/
|
|
77
|
-
import"./chunks/
|
|
78
|
-
import"./chunks/
|
|
47
|
+
} from "./chunks/workerd-5pdfedjd.js";
|
|
48
|
+
import"./chunks/workerd-v9t81kwn.js";
|
|
49
|
+
import"./chunks/workerd-dsxhsz16.js";
|
|
50
|
+
import"./chunks/workerd-784gqmc7.js";
|
|
51
|
+
import"./chunks/workerd-q187pxxd.js";
|
|
52
|
+
import"./chunks/workerd-0vqsbvsa.js";
|
|
53
|
+
import"./chunks/workerd-javgytnb.js";
|
|
54
|
+
import"./chunks/workerd-50kbksvb.js";
|
|
55
|
+
import"./chunks/workerd-ka2mtp6f.js";
|
|
56
|
+
import"./chunks/workerd-6pm6ek88.js";
|
|
57
|
+
import"./chunks/workerd-x2qy7jg1.js";
|
|
58
|
+
import"./chunks/workerd-djr0jy89.js";
|
|
59
|
+
import"./chunks/workerd-qpnw2qd1.js";
|
|
60
|
+
import"./chunks/workerd-xw05m515.js";
|
|
61
|
+
import"./chunks/workerd-9tw35sfc.js";
|
|
62
|
+
import"./chunks/workerd-f3gr6hfv.js";
|
|
63
|
+
import"./chunks/workerd-7dkb5ks8.js";
|
|
64
|
+
import"./chunks/workerd-e3jd9akj.js";
|
|
65
|
+
import"./chunks/workerd-2tmcamrc.js";
|
|
66
|
+
import"./chunks/workerd-qq3f8fnn.js";
|
|
67
|
+
import"./chunks/workerd-wsvmph03.js";
|
|
68
|
+
import"./chunks/workerd-9hynp6rm.js";
|
|
69
|
+
import"./chunks/workerd-rm5kndzh.js";
|
|
70
|
+
import"./chunks/workerd-8xdajgpr.js";
|
|
71
|
+
import"./chunks/workerd-8nezxn08.js";
|
|
72
|
+
import"./chunks/workerd-n2zyxnzr.js";
|
|
73
|
+
import"./chunks/workerd-0wjm8gvs.js";
|
|
74
|
+
import"./chunks/workerd-10sj2tcf.js";
|
|
75
|
+
import"./chunks/workerd-am27j67f.js";
|
|
76
|
+
import"./chunks/workerd-hfbw093d.js";
|
|
77
|
+
import"./chunks/workerd-bd8755ek.js";
|
|
78
|
+
import"./chunks/workerd-n26yr6pw.js";
|
|
79
79
|
import {
|
|
80
80
|
createRoutes2
|
|
81
|
-
} from "./chunks/
|
|
81
|
+
} from "./chunks/workerd-a6b7h8n6.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./chunks/
|
|
83
|
+
make2
|
|
84
|
+
} from "./chunks/workerd-39nnfjx1.js";
|
|
85
85
|
import {
|
|
86
86
|
__export
|
|
87
|
-
} from "./chunks/
|
|
87
|
+
} from "./chunks/workerd-9rqn6x4v.js";
|
|
88
88
|
|
|
89
89
|
// src/process.ts
|
|
90
90
|
var exports_process = {};
|
|
@@ -117,7 +117,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
117
117
|
const hostname = options.hostname ?? "127.0.0.1";
|
|
118
118
|
const port = Option.fromNullishOr(options.port);
|
|
119
119
|
const shutdown = yield* Latch.make();
|
|
120
|
-
const status = yield*
|
|
120
|
+
const status = yield* make2();
|
|
121
121
|
const bound = yield* listen({ hostname, port });
|
|
122
122
|
const localURLs = () => {
|
|
123
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/workerd-myqk22k5.js";
|
|
6
|
+
import"./chunks/workerd-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
|
@@ -40,8 +40,14 @@ import { HttpRouter } from "effect/http";
|
|
|
40
40
|
import { Layer } from "effect";
|
|
41
41
|
import { SpaceStore } from "./space-store";
|
|
42
42
|
import { ServerPairing } from "./pairing";
|
|
43
|
-
import type { ServerOptions } from "./options";
|
|
43
|
+
import type { EmbeddedRoutesOptions, ServerOptions } from "./options";
|
|
44
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
45
|
type InstanceNode = LayerNode.Provider<Instance.Service, never, typeof Node.tags.values.global>;
|
|
46
|
-
|
|
46
|
+
/**
|
|
47
|
+
* The routes without a listener: no Basic auth, so the embedder owns access control. A per-Session `Instance`
|
|
48
|
+
* provider goes in `overrides` as `Instance.node.replace(...)`.
|
|
49
|
+
*/
|
|
50
|
+
export declare function createEmbeddedRoutes(options?: EmbeddedRoutesOptions, overrides?: LayerNode.Replacements,
|
|
51
|
+
/** @deprecated Pass `Instance.node.replace(instances)` first in `overrides`. Removed in the next minor. */
|
|
52
|
+
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>;
|
|
47
53
|
export {};
|
package/dist/routes.js
CHANGED
|
@@ -1,68 +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/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/workerd-a6b7h8n6.js";
|
|
5
|
+
import"./chunks/workerd-n26yr6pw.js";
|
|
6
|
+
import"./chunks/workerd-29nx48hm.js";
|
|
7
|
+
import"./chunks/workerd-bd8755ek.js";
|
|
8
|
+
import"./chunks/workerd-hfbw093d.js";
|
|
9
|
+
import"./chunks/workerd-8qsq6tbs.js";
|
|
10
|
+
import"./chunks/workerd-n2zyxnzr.js";
|
|
11
|
+
import"./chunks/workerd-1g4xykqx.js";
|
|
12
|
+
import"./chunks/workerd-8nezxn08.js";
|
|
13
|
+
import"./chunks/workerd-784gqmc7.js";
|
|
14
|
+
import"./chunks/workerd-rgbnpstw.js";
|
|
15
|
+
import"./chunks/workerd-7dkb5ks8.js";
|
|
16
|
+
import"./chunks/workerd-23n65c7j.js";
|
|
17
|
+
import"./chunks/workerd-0vqsbvsa.js";
|
|
18
|
+
import"./chunks/workerd-0wjm8gvs.js";
|
|
19
|
+
import"./chunks/workerd-yc92za0p.js";
|
|
20
|
+
import"./chunks/workerd-am27j67f.js";
|
|
21
|
+
import"./chunks/workerd-9tw35sfc.js";
|
|
22
|
+
import"./chunks/workerd-ka2mtp6f.js";
|
|
23
|
+
import"./chunks/workerd-xw05m515.js";
|
|
24
|
+
import"./chunks/workerd-6pm6ek88.js";
|
|
25
|
+
import"./chunks/workerd-10sj2tcf.js";
|
|
26
|
+
import"./chunks/workerd-017ycvbx.js";
|
|
27
|
+
import"./chunks/workerd-exwy1kbj.js";
|
|
28
|
+
import"./chunks/workerd-qq3f8fnn.js";
|
|
29
|
+
import"./chunks/workerd-3xkwxcke.js";
|
|
30
|
+
import"./chunks/workerd-8xdajgpr.js";
|
|
31
|
+
import"./chunks/workerd-2tmcamrc.js";
|
|
32
|
+
import"./chunks/workerd-kmwr1xw9.js";
|
|
33
|
+
import"./chunks/workerd-em7ed65n.js";
|
|
34
|
+
import"./chunks/workerd-rjhxbsc4.js";
|
|
35
|
+
import"./chunks/workerd-rm5kndzh.js";
|
|
36
|
+
import"./chunks/workerd-q187pxxd.js";
|
|
37
|
+
import"./chunks/workerd-wsvmph03.js";
|
|
38
|
+
import"./chunks/workerd-djr0jy89.js";
|
|
39
|
+
import"./chunks/workerd-k74zefsg.js";
|
|
40
|
+
import"./chunks/workerd-prwd5gwt.js";
|
|
41
|
+
import"./chunks/workerd-e3jd9akj.js";
|
|
42
|
+
import"./chunks/workerd-qpnw2qd1.js";
|
|
43
|
+
import"./chunks/workerd-dsxhsz16.js";
|
|
44
|
+
import"./chunks/workerd-1pbjpk0f.js";
|
|
45
|
+
import"./chunks/workerd-s0zgx365.js";
|
|
46
|
+
import"./chunks/workerd-f3gr6hfv.js";
|
|
47
|
+
import"./chunks/workerd-x2qy7jg1.js";
|
|
48
|
+
import"./chunks/workerd-50kbksvb.js";
|
|
49
|
+
import"./chunks/workerd-mj1ewmp1.js";
|
|
50
|
+
import"./chunks/workerd-9hynp6rm.js";
|
|
51
|
+
import"./chunks/workerd-epfdwcja.js";
|
|
52
|
+
import"./chunks/workerd-whvq72as.js";
|
|
53
|
+
import"./chunks/workerd-ehyp3zqd.js";
|
|
54
|
+
import"./chunks/workerd-ca564221.js";
|
|
55
|
+
import"./chunks/workerd-javgytnb.js";
|
|
56
|
+
import"./chunks/workerd-t32e1bbt.js";
|
|
57
|
+
import"./chunks/workerd-5pdfedjd.js";
|
|
58
|
+
import"./chunks/workerd-8sb6qqpn.js";
|
|
59
|
+
import"./chunks/workerd-xthc02cw.js";
|
|
60
|
+
import"./chunks/workerd-z5c20bjd.js";
|
|
61
|
+
import"./chunks/workerd-q4bn6dy8.js";
|
|
62
|
+
import"./chunks/workerd-br4x4prt.js";
|
|
63
|
+
import"./chunks/workerd-rqgv9x42.js";
|
|
64
|
+
import"./chunks/workerd-v9t81kwn.js";
|
|
65
|
+
import"./chunks/workerd-j4at0y5c.js";
|
|
66
66
|
export {
|
|
67
67
|
createEmbeddedRoutes2 as createEmbeddedRoutes,
|
|
68
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/workerd-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
package/dist/space-store.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BatchSize2,
|
|
3
3
|
PurgeInterval2,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Service2,
|
|
5
|
+
node2,
|
|
6
6
|
extension2,
|
|
7
7
|
exports_space_store
|
|
8
|
-
} from "./chunks/
|
|
8
|
+
} from "./chunks/workerd-mj1ewmp1.js";
|
|
9
9
|
export {
|
|
10
10
|
BatchSize2 as BatchSize,
|
|
11
11
|
PurgeInterval2 as PurgeInterval,
|
|
12
|
-
|
|
12
|
+
Service2 as Service,
|
|
13
13
|
exports_space_store as SpaceStore,
|
|
14
14
|
extension2 as extension,
|
|
15
|
-
|
|
15
|
+
node2 as node
|
|
16
16
|
};
|