@opencode/server 0.0.0-dev-20688 → 0.0.0-dev-20690
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/{routes-haxwqt3r.js → server-info-06zrh5md.js} +2 -2
- package/dist/chunks/{routes-9a5ngc5w.js → server-info-0y03q8mn.js} +2 -2
- package/dist/chunks/{routes-9fkm5fmr.js → server-info-1kbkbftd.js} +3 -3
- package/dist/chunks/{routes-5kgkh1ny.js → server-info-1w9kp1gg.js} +2 -2
- package/dist/chunks/{routes-w6fyq3j9.js → server-info-2jwgzmwy.js} +6 -6
- package/dist/chunks/{routes-hg09g7x1.js → server-info-48z6cw93.js} +3 -3
- package/dist/chunks/{routes-07dfwsfx.js → server-info-4qyjttng.js} +2 -2
- package/dist/chunks/{routes-59j9b8e9.js → server-info-80mhd8t7.js} +2 -2
- package/dist/chunks/{routes-2zjbzcge.js → server-info-8c9kbrtm.js} +1 -1
- package/dist/chunks/{routes-83d5ht1v.js → server-info-8gzw6ybv.js} +7 -7
- package/dist/chunks/{routes-54sczv30.js → server-info-99sfd1j8.js} +6 -6
- package/dist/chunks/{routes-xpc5sfww.js → server-info-a7pkbba5.js} +4 -4
- package/dist/chunks/{routes-svzp39e6.js → server-info-acgs9zzk.js} +3 -3
- package/dist/chunks/{routes-e19731f5.js → server-info-agftk6b6.js} +2 -2
- package/dist/chunks/{routes-anm12x33.js → server-info-anm12x33.js} +1 -1
- package/dist/chunks/{routes-n1svm92q.js → server-info-bkk2wfbz.js} +8 -8
- package/dist/chunks/{routes-8vbqrf41.js → server-info-bvp1r88z.js} +2 -2
- package/dist/chunks/{routes-4bw3sg8c.js → server-info-cm271yqe.js} +2 -2
- package/dist/chunks/{routes-2btr765m.js → server-info-cy7y42ks.js} +3 -3
- package/dist/chunks/{routes-ra34escy.js → server-info-d00srfh1.js} +1 -1
- package/dist/chunks/{routes-5wjr1mn3.js → server-info-dy0yben3.js} +1 -1
- package/dist/chunks/{routes-f70yka6d.js → server-info-eekrj6qv.js} +1 -1
- package/dist/chunks/{routes-5nyedttr.js → server-info-g9rgg5ys.js} +2 -2
- package/dist/chunks/{routes-2yv3zwxh.js → server-info-gj6tv0s4.js} +2 -2
- package/dist/chunks/{routes-gtkdacvk.js → server-info-gtkdacvk.js} +1 -1
- package/dist/chunks/{routes-8va9dzab.js → server-info-j3pdvhe2.js} +2 -2
- package/dist/chunks/{routes-jx04rtph.js → server-info-jxc39wgw.js} +3 -3
- package/dist/chunks/{routes-6z77467y.js → server-info-m6xk774d.js} +2 -2
- package/dist/chunks/{routes-0tqckf9s.js → server-info-mjepr257.js} +1 -1
- package/dist/chunks/{routes-gtrgx7w9.js → server-info-nnqe0naa.js} +8 -8
- package/dist/chunks/{routes-0ecscp27.js → server-info-nxdx74sv.js} +1 -1
- package/dist/chunks/{routes-tm45ha5a.js → server-info-ps6pa4v8.js} +31 -31
- package/dist/chunks/{routes-nc55vkw9.js → server-info-q9rkrfm7.js} +2 -2
- package/dist/chunks/{routes-rptdrht6.js → server-info-r5bb0n1s.js} +1 -1
- package/dist/chunks/{routes-trcwan6c.js → server-info-rhnwnf76.js} +1 -1
- package/dist/chunks/{routes-axqsen1b.js → server-info-rwwc81rq.js} +1 -1
- package/dist/chunks/{routes-y4brqb9z.js → server-info-s07e4y6n.js} +7 -7
- package/dist/chunks/{routes-0chp8crd.js → server-info-sstsrjtg.js} +8 -8
- package/dist/chunks/{routes-pvnxrgrz.js → server-info-t70dy8sr.js} +2 -2
- package/dist/chunks/{routes-qnx4k4mh.js → server-info-w1fepcwh.js} +2 -2
- package/dist/chunks/{routes-r13md3j4.js → server-info-wb43dd8f.js} +2 -2
- package/dist/chunks/{routes-5w24ch67.js → server-info-xsrtpxyd.js} +4 -4
- package/dist/chunks/{routes-ekktmwsq.js → server-info-yqtda4wk.js} +19 -19
- package/dist/chunks/{routes-qybcbbh2.js → server-info-zhympcbw.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.js +49 -49
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.js +6 -6
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.js +8 -8
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +9 -9
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.js +6 -6
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.js +43 -43
- package/dist/location.js +4 -4
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.js +51 -51
- package/dist/pty-environment.js +7 -7
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +46 -46
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +50 -50
- package/package.json +8 -8
- /package/dist/chunks/{routes-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{routes-hezj1jdf.js → server-info-hezj1jdf.js} +0 -0
- /package/dist/chunks/{routes-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{routes-smaf4a18.js → server-info-smaf4a18.js} +0 -0
- /package/dist/chunks/{routes-t8yzmczr.js → server-info-t8yzmczr.js} +0 -0
- /package/dist/chunks/{routes-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-wb43dd8f.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-bvp1r88z.js";
|
|
7
7
|
import {
|
|
8
8
|
ModelHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./server-info-gj6tv0s4.js";
|
|
10
10
|
import {
|
|
11
11
|
ProviderHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./server-info-4qyjttng.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./server-info-cy7y42ks.js";
|
|
16
16
|
import {
|
|
17
17
|
PermissionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./server-info-1kbkbftd.js";
|
|
19
19
|
import {
|
|
20
20
|
FileSystemHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./server-info-q9rkrfm7.js";
|
|
22
22
|
import {
|
|
23
23
|
FormHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./server-info-agftk6b6.js";
|
|
25
25
|
import {
|
|
26
26
|
CommandHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./server-info-0y03q8mn.js";
|
|
28
28
|
import {
|
|
29
29
|
SkillHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./server-info-cm271yqe.js";
|
|
31
31
|
import {
|
|
32
32
|
RpcHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./server-info-8c9kbrtm.js";
|
|
34
34
|
import {
|
|
35
35
|
layer5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./server-info-99sfd1j8.js";
|
|
37
37
|
import {
|
|
38
38
|
EventHandler2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./server-info-a7pkbba5.js";
|
|
40
40
|
import {
|
|
41
41
|
AgentHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./server-info-1w9kp1gg.js";
|
|
43
43
|
import {
|
|
44
44
|
PluginHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./server-info-w1fepcwh.js";
|
|
46
46
|
import {
|
|
47
47
|
ServerHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./server-info-nnqe0naa.js";
|
|
49
49
|
import {
|
|
50
50
|
DebugHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./server-info-m6xk774d.js";
|
|
52
52
|
import {
|
|
53
53
|
PtyHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./server-info-8gzw6ybv.js";
|
|
55
55
|
import {
|
|
56
56
|
PersistentPtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./server-info-48z6cw93.js";
|
|
58
58
|
import {
|
|
59
59
|
ShellHandler2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./server-info-zhympcbw.js";
|
|
61
61
|
import {
|
|
62
62
|
ReferenceHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./server-info-t70dy8sr.js";
|
|
64
64
|
import {
|
|
65
65
|
LocationHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./server-info-mjepr257.js";
|
|
67
67
|
import {
|
|
68
68
|
IntegrationHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./server-info-06zrh5md.js";
|
|
70
70
|
import {
|
|
71
71
|
WebSearchHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./server-info-80mhd8t7.js";
|
|
73
73
|
import {
|
|
74
74
|
McpHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./server-info-j3pdvhe2.js";
|
|
76
76
|
import {
|
|
77
77
|
CredentialHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./server-info-eekrj6qv.js";
|
|
79
79
|
import {
|
|
80
80
|
ProjectHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./server-info-dy0yben3.js";
|
|
82
82
|
import {
|
|
83
83
|
WorktreeHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./server-info-rwwc81rq.js";
|
|
85
85
|
import {
|
|
86
86
|
VcsHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./server-info-g9rgg5ys.js";
|
|
88
88
|
import {
|
|
89
89
|
MigrationHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./server-info-rhnwnf76.js";
|
|
91
91
|
import {
|
|
92
92
|
ConfigHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./server-info-r5bb0n1s.js";
|
|
94
94
|
|
|
95
95
|
// src/handlers.ts
|
|
96
96
|
import { Layer } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-acgs9zzk.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-jxc39wgw.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/fs.ts
|
|
9
9
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-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
|
-
layer: () =>
|
|
11
|
+
layer: () => layer4
|
|
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
|
-
function
|
|
19
|
-
return Layer.succeed(
|
|
18
|
+
function layer4(urls, tmp, app = {}) {
|
|
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, layer4, connectionURLs2, exports_server_info };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/pairing.ts
|
|
6
6
|
var exports_pairing = {};
|
|
7
7
|
__export(exports_pairing, {
|
|
8
8
|
ServerPairing: () => exports_pairing,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
|
+
node: () => node3
|
|
11
11
|
});
|
|
12
12
|
import { Cache, Context, Duration, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { randomBytes } from "node:crypto";
|
|
15
15
|
var TTL = Duration.minutes(5);
|
|
16
16
|
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/ServerPairing") {
|
|
18
18
|
}
|
|
19
19
|
var noLookup = () => Effect.die(new Error("ServerPairing cache must be used via set/invalidateWhen, never get"));
|
|
20
|
-
var layer = Layer.effect(
|
|
20
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
21
21
|
const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
|
|
22
|
-
return
|
|
22
|
+
return Service5.of({
|
|
23
23
|
issue: Effect.fn("ServerPairing.issue")(function* () {
|
|
24
24
|
const code = randomBytes(16).toString("base64url");
|
|
25
25
|
yield* Cache.set(cache, code, true);
|
|
@@ -30,6 +30,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
32
|
}));
|
|
33
|
-
var
|
|
33
|
+
var node3 = makeGlobalNode({ service: Service5, layer, deps: [] });
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Service5, node3, exports_pairing };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-acgs9zzk.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-jxc39wgw.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-acgs9zzk.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-jxc39wgw.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/plugin.ts
|
|
9
9
|
import { Plugin } from "@opencode/core/plugin";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-acgs9zzk.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-jxc39wgw.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/generate.ts
|
|
9
9
|
import { Generate } from "@opencode/core/generate";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/service-status.ts
|
|
6
6
|
var exports_service_status = {};
|
|
7
7
|
__export(exports_service_status, {
|
|
8
8
|
Status: () => exports_service_status,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make2
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Ref } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make2 = Effect.fnUntraced(function* (options = {}) {
|
|
13
13
|
const current = yield* Ref.make(options.initial ?? { type: "starting" });
|
|
14
14
|
const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
|
|
15
15
|
return {
|
|
@@ -20,4 +20,4 @@ var make3 = Effect.fnUntraced(function* (options = {}) {
|
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { make2, exports_service_status };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
layer3
|
|
3
|
+
} from "./server-info-acgs9zzk.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-d00srfh1.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./server-info-nxdx74sv.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./server-info-jxc39wgw.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./server-info-anm12x33.js";
|
|
16
16
|
import {
|
|
17
17
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
layer3
|
|
21
|
-
} from "./routes-y4brqb9z.js";
|
|
18
|
+
} from "./server-info-q4bn6dy8.js";
|
|
22
19
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
20
|
+
layer4
|
|
21
|
+
} from "./server-info-s07e4y6n.js";
|
|
25
22
|
import {
|
|
26
23
|
node3
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./server-info-sstsrjtg.js";
|
|
25
|
+
import {
|
|
26
|
+
node2
|
|
27
|
+
} from "./server-info-bkk2wfbz.js";
|
|
28
28
|
import {
|
|
29
29
|
handlers2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./server-info-ps6pa4v8.js";
|
|
31
31
|
import {
|
|
32
32
|
authorizationLayer2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./server-info-gtkdacvk.js";
|
|
34
34
|
import {
|
|
35
35
|
schemaErrorLayer2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./server-info-t8yzmczr.js";
|
|
37
37
|
|
|
38
38
|
// src/routes.ts
|
|
39
39
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -91,8 +91,8 @@ var applicationServiceNodes = [
|
|
|
91
91
|
PersistentPty.node,
|
|
92
92
|
Credential.node,
|
|
93
93
|
WellKnown.node,
|
|
94
|
-
node3,
|
|
95
94
|
node2,
|
|
95
|
+
node3,
|
|
96
96
|
LocationServiceMap.node,
|
|
97
97
|
LocationActivity.node,
|
|
98
98
|
SessionRestart.node,
|
|
@@ -144,8 +144,8 @@ function makeRoutes(auth, options, serviceURLs, overrides, instances) {
|
|
|
144
144
|
})) : build(overrides);
|
|
145
145
|
return serviceLayer.pipe(Layer.flatMap((context) => {
|
|
146
146
|
const services = Layer.succeedContext(context);
|
|
147
|
-
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)),
|
|
148
|
-
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(
|
|
147
|
+
const requestServices = Layer.merge(Layer.succeedContext(Context.pick(Database.Service, Credential.Service, PermissionSaved.Service, PluginUpdate.Service, Project.Service, WellKnown.Service)(context)), layer4(serviceURLs, Context.get(context, Global.Service).tmp, options.app));
|
|
148
|
+
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.provideMerge(services), Layer.provideMerge(HttpRouter.layer));
|
|
149
149
|
return Layer.merge(api, V1Migration.layer.pipe(Layer.provide(services)));
|
|
150
150
|
}));
|
|
151
151
|
}
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
SubscriberCapacity2,
|
|
3
3
|
SubscriberOverflowError2,
|
|
4
4
|
EncodingError2,
|
|
5
|
-
|
|
5
|
+
Service4,
|
|
6
6
|
frame2,
|
|
7
7
|
make4,
|
|
8
8
|
layer5,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/server-info-99sfd1j8.js";
|
|
11
11
|
export {
|
|
12
12
|
EncodingError2 as EncodingError,
|
|
13
13
|
exports_event_feed as EventFeed,
|
|
14
|
-
|
|
14
|
+
Service4 as Service,
|
|
15
15
|
SubscriberCapacity2 as SubscriberCapacity,
|
|
16
16
|
SubscriberOverflowError2 as SubscriberOverflowError,
|
|
17
17
|
frame2 as frame,
|
package/dist/fetch.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
make3,
|
|
3
3
|
exports_fetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
11
|
-
import"./chunks/
|
|
12
|
-
import"./chunks/
|
|
13
|
-
import"./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/server-info-2jwgzmwy.js";
|
|
5
|
+
import"./chunks/server-info-yqtda4wk.js";
|
|
6
|
+
import"./chunks/server-info-gtkdacvk.js";
|
|
7
|
+
import"./chunks/server-info-t8yzmczr.js";
|
|
8
|
+
import"./chunks/server-info-ps6pa4v8.js";
|
|
9
|
+
import"./chunks/server-info-4qyjttng.js";
|
|
10
|
+
import"./chunks/server-info-06zrh5md.js";
|
|
11
|
+
import"./chunks/server-info-cm271yqe.js";
|
|
12
|
+
import"./chunks/server-info-rhnwnf76.js";
|
|
13
|
+
import"./chunks/server-info-8gzw6ybv.js";
|
|
14
|
+
import"./chunks/server-info-mjepr257.js";
|
|
15
|
+
import"./chunks/server-info-dy0yben3.js";
|
|
16
|
+
import"./chunks/server-info-0y03q8mn.js";
|
|
17
|
+
import"./chunks/server-info-t70dy8sr.js";
|
|
18
|
+
import"./chunks/server-info-a7pkbba5.js";
|
|
19
|
+
import"./chunks/server-info-nnqe0naa.js";
|
|
20
|
+
import"./chunks/server-info-j3pdvhe2.js";
|
|
21
|
+
import"./chunks/server-info-cy7y42ks.js";
|
|
22
|
+
import"./chunks/server-info-r5bb0n1s.js";
|
|
23
|
+
import"./chunks/server-info-zhympcbw.js";
|
|
24
|
+
import"./chunks/server-info-w1fepcwh.js";
|
|
25
|
+
import"./chunks/server-info-wb43dd8f.js";
|
|
26
|
+
import"./chunks/server-info-g9rgg5ys.js";
|
|
27
|
+
import"./chunks/server-info-8c9kbrtm.js";
|
|
28
|
+
import"./chunks/server-info-1w9kp1gg.js";
|
|
29
|
+
import"./chunks/server-info-q9rkrfm7.js";
|
|
30
|
+
import"./chunks/server-info-rwwc81rq.js";
|
|
31
|
+
import"./chunks/server-info-1kbkbftd.js";
|
|
32
|
+
import"./chunks/server-info-agftk6b6.js";
|
|
33
|
+
import"./chunks/server-info-gj6tv0s4.js";
|
|
34
|
+
import"./chunks/server-info-80mhd8t7.js";
|
|
35
|
+
import"./chunks/server-info-m6xk774d.js";
|
|
36
|
+
import"./chunks/server-info-eekrj6qv.js";
|
|
37
|
+
import"./chunks/server-info-bvp1r88z.js";
|
|
38
|
+
import"./chunks/server-info-48z6cw93.js";
|
|
39
|
+
import"./chunks/server-info-hezj1jdf.js";
|
|
40
|
+
import"./chunks/server-info-anm12x33.js";
|
|
41
|
+
import"./chunks/server-info-bkk2wfbz.js";
|
|
42
|
+
import"./chunks/server-info-jxc39wgw.js";
|
|
43
|
+
import"./chunks/server-info-nxdx74sv.js";
|
|
44
|
+
import"./chunks/server-info-d00srfh1.js";
|
|
45
|
+
import"./chunks/server-info-acgs9zzk.js";
|
|
46
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
47
|
+
import"./chunks/server-info-s07e4y6n.js";
|
|
48
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
49
|
+
import"./chunks/server-info-99sfd1j8.js";
|
|
50
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
51
51
|
export {
|
|
52
52
|
exports_fetch as ServerFetch,
|
|
53
|
-
|
|
53
|
+
make3 as make
|
|
54
54
|
};
|
package/dist/handlers/agent.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-1w9kp1gg.js";
|
|
4
|
+
import"../chunks/server-info-jxc39wgw.js";
|
|
5
|
+
import"../chunks/server-info-nxdx74sv.js";
|
|
6
|
+
import"../chunks/server-info-d00srfh1.js";
|
|
7
|
+
import"../chunks/server-info-acgs9zzk.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
package/dist/handlers/command.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CommandHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-0y03q8mn.js";
|
|
4
|
+
import"../chunks/server-info-jxc39wgw.js";
|
|
5
|
+
import"../chunks/server-info-nxdx74sv.js";
|
|
6
|
+
import"../chunks/server-info-d00srfh1.js";
|
|
7
|
+
import"../chunks/server-info-acgs9zzk.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|
package/dist/handlers/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfigHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-r5bb0n1s.js";
|
|
4
|
+
import"../chunks/server-info-jxc39wgw.js";
|
|
5
|
+
import"../chunks/server-info-nxdx74sv.js";
|
|
6
|
+
import"../chunks/server-info-d00srfh1.js";
|
|
7
|
+
import"../chunks/server-info-acgs9zzk.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-eekrj6qv.js";
|
|
4
|
+
import"../chunks/server-info-jxc39wgw.js";
|
|
5
|
+
import"../chunks/server-info-nxdx74sv.js";
|
|
6
|
+
import"../chunks/server-info-d00srfh1.js";
|
|
7
|
+
import"../chunks/server-info-acgs9zzk.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CredentialHandler2 as CredentialHandler
|
|
11
11
|
};
|
package/dist/handlers/debug.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DebugHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/server-info-m6xk774d.js";
|
|
4
|
+
import"../chunks/server-info-jxc39wgw.js";
|
|
5
|
+
import"../chunks/server-info-nxdx74sv.js";
|
|
6
|
+
import"../chunks/server-info-d00srfh1.js";
|
|
7
|
+
import"../chunks/server-info-acgs9zzk.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|