@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/api.d.ts
CHANGED
|
@@ -6695,6 +6695,124 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6695
6695
|
readonly cursor: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
6696
6696
|
readonly truncated: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
6697
6697
|
}>;
|
|
6698
|
+
}, import("effect/Schema").Struct<{
|
|
6699
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
6700
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
6701
|
+
};
|
|
6702
|
+
readonly created: import("effect/Schema").Finite;
|
|
6703
|
+
readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
6704
|
+
readonly type: import("effect/Schema").Literal<"experimental.space.resync">;
|
|
6705
|
+
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
6706
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6707
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6708
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6709
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6710
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6711
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6712
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6713
|
+
}>, never, never>;
|
|
6714
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
6715
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6716
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6717
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6718
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6719
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6720
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6721
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6722
|
+
}>, never, never>;
|
|
6723
|
+
}>>, never, never>;
|
|
6724
|
+
readonly data: import("effect/Schema").Struct<{
|
|
6725
|
+
readonly space: import("effect/Schema").String;
|
|
6726
|
+
}>;
|
|
6727
|
+
}> & {
|
|
6728
|
+
type: "experimental.space.resync";
|
|
6729
|
+
durability: "ephemeral";
|
|
6730
|
+
durable: undefined;
|
|
6731
|
+
data: import("effect/Schema").Struct<{
|
|
6732
|
+
readonly space: import("effect/Schema").String;
|
|
6733
|
+
}>;
|
|
6734
|
+
}, import("effect/Schema").Struct<{
|
|
6735
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
6736
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
6737
|
+
};
|
|
6738
|
+
readonly created: import("effect/Schema").Finite;
|
|
6739
|
+
readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
6740
|
+
readonly type: import("effect/Schema").Literal<"experimental.space.updated">;
|
|
6741
|
+
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
6742
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6743
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6744
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6745
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6746
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6747
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6748
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6749
|
+
}>, never, never>;
|
|
6750
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
6751
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6752
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6753
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6754
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6755
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6756
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6757
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6758
|
+
}>, never, never>;
|
|
6759
|
+
}>>, never, never>;
|
|
6760
|
+
readonly data: import("effect/Schema").Struct<{
|
|
6761
|
+
readonly space: import("effect/Schema").String;
|
|
6762
|
+
readonly key: import("effect/Schema").String;
|
|
6763
|
+
readonly value: import("effect/Schema").String;
|
|
6764
|
+
readonly revision: import("effect/Schema").Int;
|
|
6765
|
+
}>;
|
|
6766
|
+
}> & {
|
|
6767
|
+
type: "experimental.space.updated";
|
|
6768
|
+
durability: "ephemeral";
|
|
6769
|
+
durable: undefined;
|
|
6770
|
+
data: import("effect/Schema").Struct<{
|
|
6771
|
+
readonly space: import("effect/Schema").String;
|
|
6772
|
+
readonly key: import("effect/Schema").String;
|
|
6773
|
+
readonly value: import("effect/Schema").String;
|
|
6774
|
+
readonly revision: import("effect/Schema").Int;
|
|
6775
|
+
}>;
|
|
6776
|
+
}, import("effect/Schema").Struct<{
|
|
6777
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
6778
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
6779
|
+
};
|
|
6780
|
+
readonly created: import("effect/Schema").Finite;
|
|
6781
|
+
readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
6782
|
+
readonly type: import("effect/Schema").Literal<"experimental.space.deleted">;
|
|
6783
|
+
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
6784
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6785
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6786
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6787
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6788
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6789
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6790
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6791
|
+
}>, never, never>;
|
|
6792
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
6793
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6794
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6795
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6796
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6797
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6798
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6799
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6800
|
+
}>, never, never>;
|
|
6801
|
+
}>>, never, never>;
|
|
6802
|
+
readonly data: import("effect/Schema").Struct<{
|
|
6803
|
+
readonly space: import("effect/Schema").String;
|
|
6804
|
+
readonly key: import("effect/Schema").String;
|
|
6805
|
+
readonly revision: import("effect/Schema").Int;
|
|
6806
|
+
}>;
|
|
6807
|
+
}> & {
|
|
6808
|
+
type: "experimental.space.deleted";
|
|
6809
|
+
durability: "ephemeral";
|
|
6810
|
+
durable: undefined;
|
|
6811
|
+
data: import("effect/Schema").Struct<{
|
|
6812
|
+
readonly space: import("effect/Schema").String;
|
|
6813
|
+
readonly key: import("effect/Schema").String;
|
|
6814
|
+
readonly revision: import("effect/Schema").Int;
|
|
6815
|
+
}>;
|
|
6698
6816
|
}, import("effect/Schema").Struct<{
|
|
6699
6817
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
6700
6818
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6715,7 +6833,9 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6715
6833
|
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6716
6834
|
}>>;
|
|
6717
6835
|
readonly type: import("effect/Schema").Literal<"server.connected">;
|
|
6718
|
-
readonly data: import("effect/Schema").Struct<{
|
|
6836
|
+
readonly data: import("effect/Schema").Struct<{
|
|
6837
|
+
readonly stream: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
6838
|
+
}>;
|
|
6719
6839
|
}>[]]>>, import("effect/Schema").Never, {
|
|
6720
6840
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
6721
6841
|
readonly created: number;
|
|
@@ -8222,6 +8342,53 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
8222
8342
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8223
8343
|
} | undefined;
|
|
8224
8344
|
readonly data: {};
|
|
8345
|
+
} | {
|
|
8346
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8347
|
+
readonly created: number;
|
|
8348
|
+
readonly metadata?: {
|
|
8349
|
+
readonly [x: string]: unknown;
|
|
8350
|
+
} | undefined;
|
|
8351
|
+
readonly type: "experimental.space.deleted";
|
|
8352
|
+
readonly location?: {
|
|
8353
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8354
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8355
|
+
} | undefined;
|
|
8356
|
+
readonly data: {
|
|
8357
|
+
readonly space: string;
|
|
8358
|
+
readonly key: string;
|
|
8359
|
+
readonly revision: number;
|
|
8360
|
+
};
|
|
8361
|
+
} | {
|
|
8362
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8363
|
+
readonly created: number;
|
|
8364
|
+
readonly metadata?: {
|
|
8365
|
+
readonly [x: string]: unknown;
|
|
8366
|
+
} | undefined;
|
|
8367
|
+
readonly type: "experimental.space.resync";
|
|
8368
|
+
readonly location?: {
|
|
8369
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8370
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8371
|
+
} | undefined;
|
|
8372
|
+
readonly data: {
|
|
8373
|
+
readonly space: string;
|
|
8374
|
+
};
|
|
8375
|
+
} | {
|
|
8376
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8377
|
+
readonly created: number;
|
|
8378
|
+
readonly metadata?: {
|
|
8379
|
+
readonly [x: string]: unknown;
|
|
8380
|
+
} | undefined;
|
|
8381
|
+
readonly type: "experimental.space.updated";
|
|
8382
|
+
readonly location?: {
|
|
8383
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8384
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8385
|
+
} | undefined;
|
|
8386
|
+
readonly data: {
|
|
8387
|
+
readonly space: string;
|
|
8388
|
+
readonly key: string;
|
|
8389
|
+
readonly value: string;
|
|
8390
|
+
readonly revision: number;
|
|
8391
|
+
};
|
|
8225
8392
|
} | {
|
|
8226
8393
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8227
8394
|
readonly created: number;
|
|
@@ -9204,5 +9371,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
9204
9371
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
9205
9372
|
} | undefined;
|
|
9206
9373
|
readonly type: "server.connected";
|
|
9207
|
-
readonly data: {
|
|
9374
|
+
readonly data: {
|
|
9375
|
+
readonly stream?: string | undefined;
|
|
9376
|
+
};
|
|
9208
9377
|
}>, never, never, never>, false>>;
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/service-status-8y4d9f30.js";
|
|
4
|
+
import"./chunks/service-status-0dfmev2z.js";
|
|
5
|
+
import"./chunks/service-status-fsvp99pe.js";
|
|
6
|
+
import"./chunks/service-status-72bf7qt9.js";
|
|
7
|
+
import"./chunks/service-status-rqgv9x42.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-8y4d9f30.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service5,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./service-status-7p3x8m34.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/event.ts
|
|
10
10
|
import { Event } from "@opencode/schema/event";
|
|
@@ -12,14 +12,13 @@ import { Effect, Stream } from "effect";
|
|
|
12
12
|
import { HttpServerResponse } from "effect/http";
|
|
13
13
|
import { HttpApiBuilder } from "effect/http-api";
|
|
14
14
|
var EventHandler2 = HttpApiBuilder.group(Api2, "server.event", (handlers) => Effect.gen(function* () {
|
|
15
|
-
const feed = yield*
|
|
15
|
+
const feed = yield* Service5;
|
|
16
16
|
return handlers.handleRaw("event.subscribe", (ctx) => Effect.gen(function* () {
|
|
17
|
-
const
|
|
17
|
+
const output = Stream.unwrap(feed.subscribe(ctx.query.types).pipe(Effect.map((subscription) => Stream.make(frame2({
|
|
18
18
|
id: Event.ID.create(),
|
|
19
19
|
type: "server.connected",
|
|
20
|
-
data: {}
|
|
21
|
-
};
|
|
22
|
-
const output = Stream.unwrap(feed.subscribe(ctx.query.types).pipe(Effect.map((live) => Stream.make(frame2(connected)).pipe(Stream.concat(live)))));
|
|
20
|
+
data: { stream: subscription.id }
|
|
21
|
+
})).pipe(Stream.concat(subscription.events)))));
|
|
23
22
|
const heartbeat = Stream.tick("15 seconds").pipe(Stream.map(() => `: heartbeat
|
|
24
23
|
|
|
25
24
|
`));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-72bf7qt9.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-8y4d9f30.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-72bf7qt9.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-8y4d9f30.js";
|
|
7
7
|
import {
|
|
8
8
|
download2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./service-status-t32e1bbt.js";
|
|
10
10
|
import {
|
|
11
11
|
parse2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./service-status-8sb6qqpn.js";
|
|
13
13
|
|
|
14
14
|
// src/handlers/fs.ts
|
|
15
15
|
import { Environment } from "@opencode/core/environment/index";
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GenerateHandler2
|
|
3
|
+
} from "./service-status-zmrq0y42.js";
|
|
4
|
+
import {
|
|
5
|
+
VoiceHandler2
|
|
6
|
+
} from "./service-status-cgcw2b0e.js";
|
|
7
|
+
import {
|
|
8
|
+
MessageHandler2
|
|
9
|
+
} from "./service-status-evw6vf0s.js";
|
|
10
|
+
import {
|
|
11
|
+
ModelHandler2
|
|
12
|
+
} from "./service-status-sn8sqewc.js";
|
|
13
|
+
import {
|
|
14
|
+
ProviderHandler2
|
|
15
|
+
} from "./service-status-qgjb3f4w.js";
|
|
16
|
+
import {
|
|
17
|
+
SessionHandler2
|
|
18
|
+
} from "./service-status-pp5985xb.js";
|
|
19
|
+
import {
|
|
20
|
+
PermissionHandler2
|
|
21
|
+
} from "./service-status-ws2ckpmb.js";
|
|
22
|
+
import {
|
|
23
|
+
FileSystemHandler2
|
|
24
|
+
} from "./service-status-4gs63nyp.js";
|
|
25
|
+
import {
|
|
26
|
+
FormHandler2
|
|
27
|
+
} from "./service-status-qcnb494j.js";
|
|
28
|
+
import {
|
|
29
|
+
CommandHandler2
|
|
30
|
+
} from "./service-status-341zm3rs.js";
|
|
31
|
+
import {
|
|
32
|
+
SkillHandler2
|
|
33
|
+
} from "./service-status-r9w3a44p.js";
|
|
34
|
+
import {
|
|
35
|
+
RpcHandler2
|
|
36
|
+
} from "./service-status-ggw25rqf.js";
|
|
37
|
+
import {
|
|
38
|
+
layer4
|
|
39
|
+
} from "./service-status-7p3x8m34.js";
|
|
40
|
+
import {
|
|
41
|
+
EventHandler2
|
|
42
|
+
} from "./service-status-10r1zt22.js";
|
|
43
|
+
import {
|
|
44
|
+
AgentHandler2
|
|
45
|
+
} from "./service-status-tktas153.js";
|
|
46
|
+
import {
|
|
47
|
+
PluginHandler2
|
|
48
|
+
} from "./service-status-gqstb6bx.js";
|
|
49
|
+
import {
|
|
50
|
+
ServerHandler2
|
|
51
|
+
} from "./service-status-4rg1tmcj.js";
|
|
52
|
+
import {
|
|
53
|
+
DebugHandler2
|
|
54
|
+
} from "./service-status-bcs2rr9e.js";
|
|
55
|
+
import {
|
|
56
|
+
PtyHandler2
|
|
57
|
+
} from "./service-status-9vfv9n1y.js";
|
|
58
|
+
import {
|
|
59
|
+
extension2
|
|
60
|
+
} from "./service-status-mj1ewmp1.js";
|
|
61
|
+
import {
|
|
62
|
+
PersistentPtyHandler2
|
|
63
|
+
} from "./service-status-w7n3bfa8.js";
|
|
64
|
+
import {
|
|
65
|
+
ShellHandler2
|
|
66
|
+
} from "./service-status-kc553r92.js";
|
|
67
|
+
import {
|
|
68
|
+
ReferenceHandler2
|
|
69
|
+
} from "./service-status-fcw485c9.js";
|
|
70
|
+
import {
|
|
71
|
+
LocationHandler2
|
|
72
|
+
} from "./service-status-ntf3tw9k.js";
|
|
73
|
+
import {
|
|
74
|
+
IntegrationHandler2
|
|
75
|
+
} from "./service-status-yvy5qft7.js";
|
|
76
|
+
import {
|
|
77
|
+
WebSearchHandler2
|
|
78
|
+
} from "./service-status-zs3a96ke.js";
|
|
79
|
+
import {
|
|
80
|
+
UsageHandler2
|
|
81
|
+
} from "./service-status-844nmnmk.js";
|
|
82
|
+
import {
|
|
83
|
+
FlagHandler2
|
|
84
|
+
} from "./service-status-z564cb4b.js";
|
|
85
|
+
import {
|
|
86
|
+
McpHandler2
|
|
87
|
+
} from "./service-status-4th25279.js";
|
|
88
|
+
import {
|
|
89
|
+
CredentialHandler2
|
|
90
|
+
} from "./service-status-j605n900.js";
|
|
91
|
+
import {
|
|
92
|
+
ProjectHandler2
|
|
93
|
+
} from "./service-status-k12h8tw9.js";
|
|
94
|
+
import {
|
|
95
|
+
WorktreeHandler2
|
|
96
|
+
} from "./service-status-7tv8nec1.js";
|
|
97
|
+
import {
|
|
98
|
+
VcsHandler2
|
|
99
|
+
} from "./service-status-r5yb7twv.js";
|
|
100
|
+
import {
|
|
101
|
+
MigrationHandler2
|
|
102
|
+
} from "./service-status-2h3x7256.js";
|
|
103
|
+
import {
|
|
104
|
+
ConfigHandler2
|
|
105
|
+
} from "./service-status-fegnxd42.js";
|
|
106
|
+
|
|
107
|
+
// src/handlers.ts
|
|
108
|
+
import { Layer } from "effect";
|
|
109
|
+
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, FlagHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer4(extension2))), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
|
|
110
|
+
|
|
111
|
+
export { handlers2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-8y4d9f30.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service2
|
|
12
|
-
} from "./auth-z3e7v67k.js";
|
|
9
|
+
} from "./service-status-j4at0y5c.js";
|
|
13
10
|
import {
|
|
14
11
|
Service3
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./service-status-5pdfedjd.js";
|
|
13
|
+
import {
|
|
14
|
+
Service4
|
|
15
|
+
} from "./service-status-69weg9qz.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { hostname } from "node:os";
|
|
@@ -22,10 +22,10 @@ import { HttpApiBuilder } from "effect/http-api";
|
|
|
22
22
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
23
23
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
24
24
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
25
|
-
const pairing = yield*
|
|
25
|
+
const pairing = yield* Service4;
|
|
26
26
|
const auth = yield* Config2;
|
|
27
27
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
28
|
-
const info = yield*
|
|
28
|
+
const info = yield* Service3;
|
|
29
29
|
return {
|
|
30
30
|
version: info.app.version ?? "unknown",
|
|
31
31
|
pid: process.pid ?? 0,
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./service-status-72bf7qt9.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./service-status-8y4d9f30.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./service-status-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2,
|
|
15
15
|
holdLocation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./service-status-q187pxxd.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/mcp.ts
|
|
19
19
|
import { Location } from "@opencode/core/location";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
download2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-t32e1bbt.js";
|
|
4
4
|
import {
|
|
5
5
|
parse2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-8sb6qqpn.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/blob.ts
|
|
9
9
|
import { BlobStore } from "@opencode/core/blob-store";
|
|
@@ -1,39 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
layer3
|
|
3
|
+
} from "./service-status-72bf7qt9.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./service-status-0dfmev2z.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./service-status-fsvp99pe.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./service-status-8y4d9f30.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./service-status-j4at0y5c.js";
|
|
16
|
+
import {
|
|
17
|
+
node2
|
|
18
|
+
} from "./service-status-mj1ewmp1.js";
|
|
16
19
|
import {
|
|
17
20
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
21
|
+
} from "./service-status-q4bn6dy8.js";
|
|
19
22
|
import {
|
|
20
23
|
layer2
|
|
21
|
-
} from "./
|
|
24
|
+
} from "./service-status-5pdfedjd.js";
|
|
22
25
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
26
|
+
node3
|
|
27
|
+
} from "./service-status-69weg9qz.js";
|
|
25
28
|
import {
|
|
26
29
|
handlers2
|
|
27
|
-
} from "./
|
|
30
|
+
} from "./service-status-4gt38746.js";
|
|
28
31
|
import {
|
|
29
32
|
authorizationLayer2
|
|
30
|
-
} from "./
|
|
33
|
+
} from "./service-status-29nx48hm.js";
|
|
31
34
|
import {
|
|
32
35
|
schemaErrorLayer2
|
|
33
|
-
} from "./
|
|
36
|
+
} from "./service-status-bd8755ek.js";
|
|
34
37
|
import {
|
|
35
38
|
defectResponseLayer2
|
|
36
|
-
} from "./
|
|
39
|
+
} from "./service-status-n26yr6pw.js";
|
|
37
40
|
|
|
38
41
|
// src/routes.ts
|
|
39
42
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -117,6 +120,7 @@ var applicationServiceNodes = [
|
|
|
117
120
|
BrowserTunnelGateway.node,
|
|
118
121
|
Credential.node,
|
|
119
122
|
WellKnown.node,
|
|
123
|
+
node3,
|
|
120
124
|
node2,
|
|
121
125
|
LocationServiceMap.node,
|
|
122
126
|
LocationActivity.node,
|
|
@@ -187,14 +191,11 @@ function makeRoutes(password, options, serviceURLs, overrides, instances) {
|
|
|
187
191
|
}
|
|
188
192
|
}))
|
|
189
193
|
];
|
|
190
|
-
const build = (overrides) =>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
];
|
|
196
|
-
return AppNodeBuilder.build(applicationServices, replacements);
|
|
197
|
-
};
|
|
194
|
+
const build = (overrides) => AppNodeBuilder.build(applicationServices, [
|
|
195
|
+
...standard,
|
|
196
|
+
...instances ? [Instance.node.replace(instances)] : [],
|
|
197
|
+
...overrides
|
|
198
|
+
]);
|
|
198
199
|
const serviceLayer = options.simulation ? Layer.unwrap(Effect.gen(function* () {
|
|
199
200
|
const { simulationReplacements } = yield* Effect.promise(() => import("@opencode/simulation/backend"));
|
|
200
201
|
const simulation = yield* simulationReplacements({ version: App.make(options.app).version });
|
|
@@ -203,7 +204,7 @@ function makeRoutes(password, options, serviceURLs, overrides, instances) {
|
|
|
203
204
|
return serviceLayer.pipe(Layer.flatMap((context) => {
|
|
204
205
|
const services = Layer.succeedContext(context);
|
|
205
206
|
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer2(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
|
|
206
|
-
const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(
|
|
207
|
+
const api = HttpApiBuilder.layer(Api2, { openapiPath: "/openapi.json" }).pipe(Layer.provide(handlers2.pipe(Layer.provide(services), Layer.provide(Layer.succeed(CorsConfig2, options)))), Layer.provide(formLocationLayer2), Layer.provide(sessionLocationLayer2), Layer.provide(layer3), Layer.provide(authorizationLayer2), Layer.provide(schemaErrorLayer2), Layer.provide(auth), HttpRouter.provideRequest(requestServices), Layer.merge(defectResponseLayer2), Layer.provideMerge(services), Layer.provideMerge(HttpRouter.layer), Layer.tap((context) => Effect.sync(() => {
|
|
207
208
|
internal = Context.get(context, HttpRouter.HttpRouter).asHttpEffect().pipe(HttpEffect.toWebHandlerWith(context));
|
|
208
209
|
})));
|
|
209
210
|
return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./service-status-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/server-info.ts
|
|
6
6
|
var exports_server_info = {};
|
|
7
7
|
__export(exports_server_info, {
|
|
8
8
|
ServerInfo: () => exports_server_info,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
connectionURLs: () => connectionURLs2,
|
|
11
11
|
layer: () => layer2
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { networkInterfaces } from "node:os";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/server/ServerInfo") {
|
|
17
17
|
}
|
|
18
18
|
function layer2(urls, tmp, app = {}) {
|
|
19
|
-
return Layer.succeed(
|
|
19
|
+
return Layer.succeed(Service3, Service3.of({ urls, app, paths: { tmp } }));
|
|
20
20
|
}
|
|
21
21
|
function connectionURLs2(value, requestedHostname) {
|
|
22
22
|
const url = new URL(value);
|
|
@@ -38,4 +38,4 @@ function connectionURLs2(value, requestedHostname) {
|
|
|
38
38
|
];
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Service3, layer2, connectionURLs2, exports_server_info };
|