@opencode/server 2.0.27 → 2.0.29
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/{pty-environment-zessacar.js → auth-0gbaaetm.js} +2 -2
- package/dist/chunks/{pty-environment-8ad8dwnf.js → auth-19j2ybhd.js} +3 -3
- package/dist/chunks/{pty-environment-rntbwr87.js → auth-1wyt3am5.js} +2 -2
- package/dist/chunks/{pty-environment-y1gfy88d.js → auth-1ybjhnn1.js} +3 -3
- package/dist/chunks/{pty-environment-9snwnvf8.js → auth-2ac2kv4c.js} +3 -3
- package/dist/chunks/{pty-environment-bx47k33v.js → auth-3m0ygtwr.js} +2 -2
- package/dist/chunks/{pty-environment-ptey1p5v.js → auth-4bxenate.js} +2 -2
- package/dist/chunks/{pty-environment-4hhhes7w.js → auth-4hhhes7w.js} +1 -1
- package/dist/chunks/{pty-environment-pfs7tp5t.js → auth-55c8xthx.js} +17 -17
- package/dist/chunks/{pty-environment-vpz7f20y.js → auth-5w24ch67.js} +4 -4
- package/dist/chunks/{pty-environment-tqspcwns.js → auth-604r47cy.js} +3 -3
- package/dist/chunks/{pty-environment-1k1cts14.js → auth-62pyxg60.js} +4 -4
- package/dist/chunks/{pty-environment-vb5yx5r0.js → auth-7armztsr.js} +2 -2
- package/dist/chunks/{pty-environment-4d1eemzq.js → auth-7bgw0qp5.js} +2 -2
- package/dist/chunks/{pty-environment-qbh90c1d.js → auth-8me0mqmd.js} +2 -2
- package/dist/chunks/{pty-environment-4yg61rns.js → auth-9rxqgkw7.js} +7 -7
- package/dist/chunks/{pty-environment-8137b89p.js → auth-adb03esn.js} +2 -2
- package/dist/chunks/{pty-environment-anm12x33.js → auth-anm12x33.js} +1 -1
- package/dist/chunks/{pty-environment-hkm2snxm.js → auth-anx72ebh.js} +31 -31
- package/dist/chunks/{pty-environment-43r48nqn.js → auth-b3jp5nc2.js} +2 -2
- package/dist/chunks/{pty-environment-b56hqv74.js → auth-b56hqv74.js} +1 -1
- package/dist/chunks/{pty-environment-0d864bga.js → auth-begnybrv.js} +1 -1
- package/dist/chunks/{pty-environment-383t61pr.js → auth-bkk2wfbz.js} +8 -8
- package/dist/chunks/{pty-environment-c6kb7fmf.js → auth-ghk96rjy.js} +7 -7
- package/dist/chunks/{pty-environment-4dv9a668.js → auth-gpx0gpd1.js} +2 -2
- package/dist/chunks/{pty-environment-08x9tjee.js → auth-hc75vmb2.js} +1 -1
- package/dist/chunks/{pty-environment-j4zqsxgy.js → auth-j4zqsxgy.js} +1 -1
- package/dist/chunks/{pty-environment-5zsr2h86.js → auth-k136bvh5.js} +1 -1
- package/dist/chunks/{pty-environment-vghchchj.js → auth-n9y13hgv.js} +9 -9
- package/dist/chunks/{pty-environment-rf01ee6q.js → auth-nnn3xt9j.js} +1 -1
- package/dist/chunks/{pty-environment-h8ws5ssa.js → auth-nqkf5k2k.js} +1 -1
- package/dist/chunks/{pty-environment-yehasrps.js → auth-pc33848r.js} +2 -2
- package/dist/chunks/{pty-environment-aey6dvfz.js → auth-qnwsemje.js} +3 -3
- package/dist/chunks/{pty-environment-ftaz8n62.js → auth-rkx9hda5.js} +2 -2
- package/dist/chunks/{pty-environment-z6sxg6td.js → auth-rw74d7br.js} +1 -1
- package/dist/chunks/{pty-environment-nn6dbt3f.js → auth-ryr0njrg.js} +2 -2
- package/dist/chunks/{pty-environment-0chp8crd.js → auth-sstsrjtg.js} +8 -8
- package/dist/chunks/{pty-environment-vbzm2jgm.js → auth-vfwf1dhc.js} +2 -2
- package/dist/chunks/{pty-environment-ewe1fzkk.js → auth-x34tt0qt.js} +2 -2
- package/dist/chunks/{pty-environment-ssyxw8nc.js → auth-y5j6n4zr.js} +2 -2
- package/dist/chunks/{pty-environment-97eb2r3v.js → auth-y9g6k1bm.js} +2 -2
- package/dist/chunks/{pty-environment-5ytyqf1q.js → auth-yfz2nrjq.js} +7 -6
- package/dist/chunks/{pty-environment-sxyyq1rb.js → auth-z6r73kyy.js} +8 -8
- package/dist/chunks/{pty-environment-7vd5668a.js → auth-zj4vfrqs.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +4 -4
- package/dist/fetch.js +47 -47
- 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 +2 -2
- 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.d.ts +4 -4
- 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 +48 -48
- package/package.json +8 -8
- /package/dist/chunks/{pty-environment-9rqn6x4v.js → auth-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-environment-erzfdgke.js → auth-erzfdgke.js} +0 -0
- /package/dist/chunks/{pty-environment-h6rt5k9s.js → auth-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{pty-environment-q4bn6dy8.js → auth-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{pty-environment-smaf4a18.js → auth-smaf4a18.js} +0 -0
- /package/dist/chunks/{pty-environment-yc7nft6q.js → auth-yc7nft6q.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/event-feed.ts
|
|
6
6
|
var exports_event_feed = {};
|
|
7
7
|
__export(exports_event_feed, {
|
|
8
8
|
EncodingError: () => EncodingError2,
|
|
9
9
|
EventFeed: () => exports_event_feed,
|
|
10
|
-
Service: () =>
|
|
10
|
+
Service: () => Service4,
|
|
11
11
|
SubscriberCapacity: () => SubscriberCapacity2,
|
|
12
12
|
SubscriberOverflowError: () => SubscriberOverflowError2,
|
|
13
13
|
frame: () => frame2,
|
|
14
14
|
layer: () => layer4,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make4
|
|
16
16
|
});
|
|
17
17
|
import { Bus } from "@opencode/core/bus";
|
|
18
18
|
import { Event } from "@opencode/schema/event";
|
|
@@ -30,14 +30,14 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
|
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service4 extends Context.Service()("@opencode/server/EventFeed") {
|
|
34
34
|
}
|
|
35
35
|
function frame2(event) {
|
|
36
36
|
return `data: ${JSON.stringify(event)}
|
|
37
37
|
|
|
38
38
|
`;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
41
41
|
const capacity = options?.capacity ?? SubscriberCapacity2;
|
|
42
42
|
const render = options?.encode ?? frame2;
|
|
43
43
|
const subscribers = new Set;
|
|
@@ -71,13 +71,13 @@ var make3 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
71
71
|
});
|
|
72
72
|
const unsubscribe = yield* observe(publish);
|
|
73
73
|
yield* Effect.addFinalizer(() => unsubscribe);
|
|
74
|
-
return
|
|
74
|
+
return Service4.of({
|
|
75
75
|
subscribe: Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.add(queue)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
|
|
76
76
|
});
|
|
77
77
|
});
|
|
78
|
-
var layer4 = Layer.effect(
|
|
78
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
79
79
|
const bus = yield* Bus.Service;
|
|
80
|
-
return yield*
|
|
80
|
+
return yield* make4(bus.listen);
|
|
81
81
|
}));
|
|
82
82
|
|
|
83
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2,
|
|
83
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service4, frame2, make4, layer4, exports_event_feed };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/reference.ts
|
|
9
9
|
import { Reference } from "@opencode/core/reference";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-2ac2kv4c.js";
|
|
4
4
|
import {
|
|
5
5
|
CorsConfig2,
|
|
6
6
|
isAllowedRequestOrigin2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-q4bn6dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
runPtySocket2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./auth-h6rt5k9s.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/persistent-pty.ts
|
|
13
13
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/integration.ts
|
|
9
9
|
import { Integration } from "@opencode/core/integration";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/websearch.ts
|
|
9
9
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-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
|
requestRef2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./auth-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-2ac2kv4c.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/model.ts
|
|
10
10
|
import { Model } from "@opencode/core/model";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/fs.ts
|
|
9
9
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/provider.ts
|
|
9
9
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
authorized2,
|
|
5
5
|
verifySession2,
|
|
6
6
|
sessionCookieName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-anm12x33.js";
|
|
8
8
|
|
|
9
9
|
// src/middleware/authorization.ts
|
|
10
10
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
11
11
|
import { Authorization } from "@opencode/protocol/middleware/authorization";
|
|
12
12
|
import { Authorization as Authorization2 } from "@opencode/protocol/middleware/authorization";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { PTY_CONNECT_PATH, PTY_CONNECT_TICKET_QUERY } from "@opencode/protocol/groups/pty";
|
|
14
|
+
import { PERSISTENT_PTY_CONNECT_PATH } from "@opencode/protocol/groups/persistent-pty";
|
|
15
|
+
import { PAIRING_CONNECT_PATH } from "@opencode/protocol/groups/server";
|
|
16
16
|
import { Effect, Layer, Redacted } from "effect";
|
|
17
17
|
import { Base64 } from "effect/encoding";
|
|
18
|
-
import { HttpEffect, HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
18
|
+
import { HttpEffect, HttpRouter, HttpServerRequest, HttpServerResponse } from "effect/http";
|
|
19
19
|
var AUTH_TOKEN_QUERY = "auth_token";
|
|
20
20
|
var WWW_AUTHENTICATE = 'Basic realm="Secure Area"';
|
|
21
21
|
function emptyCredential() {
|
|
@@ -68,8 +68,9 @@ var authorizationLayer2 = Layer.effect(Authorization, Effect.gen(function* () {
|
|
|
68
68
|
return Authorization.of((effect) => effect);
|
|
69
69
|
return Authorization.of((effect) => Effect.gen(function* () {
|
|
70
70
|
const request = yield* HttpServerRequest.HttpServerRequest;
|
|
71
|
+
const route = yield* HttpRouter.RouteContext;
|
|
71
72
|
const url = new URL(request.url, "http://localhost");
|
|
72
|
-
if (
|
|
73
|
+
if ((route.route.path === PTY_CONNECT_PATH || route.route.path === PERSISTENT_PTY_CONNECT_PATH) && !!url.searchParams.get(PTY_CONNECT_TICKET_QUERY) || route.route.path === PAIRING_CONNECT_PATH)
|
|
73
74
|
return yield* effect;
|
|
74
75
|
if (yield* authorizedRequest2(request, config))
|
|
75
76
|
return yield* effect;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-2ac2kv4c.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 "./pty-environment-c6kb7fmf.js";
|
|
9
|
+
} from "./auth-anm12x33.js";
|
|
13
10
|
import {
|
|
14
11
|
Service3
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./auth-ghk96rjy.js";
|
|
13
|
+
import {
|
|
14
|
+
Service5
|
|
15
|
+
} from "./auth-sstsrjtg.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { Duration, Effect } from "effect";
|
|
@@ -21,10 +21,10 @@ import { HttpApiBuilder } from "effect/http-api";
|
|
|
21
21
|
import { PersistentPty } from "@opencode/core/persistent-pty";
|
|
22
22
|
import { UnauthorizedError } from "@opencode/protocol/errors";
|
|
23
23
|
var ServerHandler2 = HttpApiBuilder.group(Api2, "server.server", (handlers) => Effect.gen(function* () {
|
|
24
|
-
const pairing = yield*
|
|
24
|
+
const pairing = yield* Service5;
|
|
25
25
|
const auth = yield* Config2;
|
|
26
26
|
return handlers.handle("server.info", () => Effect.gen(function* () {
|
|
27
|
-
const info = yield*
|
|
27
|
+
const info = yield* Service3;
|
|
28
28
|
return {
|
|
29
29
|
version: info.app.version ?? "unknown",
|
|
30
30
|
pid: process.pid ?? 0,
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
SubscriberCapacity2,
|
|
3
3
|
SubscriberOverflowError2,
|
|
4
4
|
EncodingError2,
|
|
5
|
-
|
|
5
|
+
Service4,
|
|
6
6
|
frame2,
|
|
7
|
-
|
|
7
|
+
make4,
|
|
8
8
|
layer4,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/auth-n9y13hgv.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,
|
|
18
18
|
layer4 as layer,
|
|
19
|
-
|
|
19
|
+
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export declare const make: (options?: {
|
|
|
56
56
|
readonly file?: string | undefined;
|
|
57
57
|
} | undefined;
|
|
58
58
|
readonly port?: number | undefined;
|
|
59
|
+
readonly fs?: {
|
|
60
|
+
readonly fff?: boolean | undefined;
|
|
61
|
+
readonly filewatcher?: boolean | undefined;
|
|
62
|
+
} | undefined;
|
|
59
63
|
readonly hostname?: string | undefined;
|
|
60
64
|
readonly cors?: readonly string[] | undefined;
|
|
61
65
|
readonly windows?: {
|
|
@@ -67,10 +71,6 @@ export declare const make: (options?: {
|
|
|
67
71
|
readonly name?: string | undefined;
|
|
68
72
|
readonly channel?: string | undefined;
|
|
69
73
|
} | undefined;
|
|
70
|
-
readonly fs?: {
|
|
71
|
-
readonly fff?: boolean | undefined;
|
|
72
|
-
readonly filewatcher?: boolean | undefined;
|
|
73
|
-
} | undefined;
|
|
74
74
|
readonly simulation?: boolean | undefined;
|
|
75
75
|
readonly database?: {
|
|
76
76
|
readonly path?: string | undefined;
|
package/dist/fetch.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
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/auth-19j2ybhd.js";
|
|
5
|
+
import"./chunks/auth-55c8xthx.js";
|
|
6
|
+
import"./chunks/auth-erzfdgke.js";
|
|
7
|
+
import"./chunks/auth-yfz2nrjq.js";
|
|
8
|
+
import"./chunks/auth-anx72ebh.js";
|
|
9
|
+
import"./chunks/auth-1wyt3am5.js";
|
|
10
|
+
import"./chunks/auth-rw74d7br.js";
|
|
11
|
+
import"./chunks/auth-8me0mqmd.js";
|
|
12
|
+
import"./chunks/auth-b3jp5nc2.js";
|
|
13
|
+
import"./chunks/auth-gpx0gpd1.js";
|
|
14
|
+
import"./chunks/auth-nqkf5k2k.js";
|
|
15
|
+
import"./chunks/auth-begnybrv.js";
|
|
16
|
+
import"./chunks/auth-nnn3xt9j.js";
|
|
17
|
+
import"./chunks/auth-y9g6k1bm.js";
|
|
18
|
+
import"./chunks/auth-hc75vmb2.js";
|
|
19
|
+
import"./chunks/auth-3m0ygtwr.js";
|
|
20
|
+
import"./chunks/auth-62pyxg60.js";
|
|
21
|
+
import"./chunks/auth-zj4vfrqs.js";
|
|
22
|
+
import"./chunks/auth-7armztsr.js";
|
|
23
|
+
import"./chunks/auth-z6r73kyy.js";
|
|
24
|
+
import"./chunks/auth-vfwf1dhc.js";
|
|
25
|
+
import"./chunks/auth-0gbaaetm.js";
|
|
26
|
+
import"./chunks/auth-1ybjhnn1.js";
|
|
27
|
+
import"./chunks/auth-7bgw0qp5.js";
|
|
28
|
+
import"./chunks/auth-qnwsemje.js";
|
|
29
|
+
import"./chunks/auth-4bxenate.js";
|
|
30
|
+
import"./chunks/auth-x34tt0qt.js";
|
|
31
|
+
import"./chunks/auth-ryr0njrg.js";
|
|
32
|
+
import"./chunks/auth-y5j6n4zr.js";
|
|
33
|
+
import"./chunks/auth-604r47cy.js";
|
|
34
|
+
import"./chunks/auth-rkx9hda5.js";
|
|
35
|
+
import"./chunks/auth-k136bvh5.js";
|
|
36
|
+
import"./chunks/auth-pc33848r.js";
|
|
37
|
+
import"./chunks/auth-9rxqgkw7.js";
|
|
38
|
+
import"./chunks/auth-h6rt5k9s.js";
|
|
39
|
+
import"./chunks/auth-adb03esn.js";
|
|
40
|
+
import"./chunks/auth-bkk2wfbz.js";
|
|
41
|
+
import"./chunks/auth-ghk96rjy.js";
|
|
42
|
+
import"./chunks/auth-n9y13hgv.js";
|
|
43
|
+
import"./chunks/auth-sstsrjtg.js";
|
|
44
|
+
import"./chunks/auth-anm12x33.js";
|
|
45
|
+
import"./chunks/auth-q4bn6dy8.js";
|
|
46
|
+
import"./chunks/auth-2ac2kv4c.js";
|
|
47
|
+
import"./chunks/auth-4hhhes7w.js";
|
|
48
|
+
import"./chunks/auth-j4zqsxgy.js";
|
|
49
|
+
import"./chunks/auth-b56hqv74.js";
|
|
50
|
+
import"./chunks/auth-smaf4a18.js";
|
|
51
51
|
export {
|
|
52
52
|
exports_fetch as ServerFetch,
|
|
53
53
|
make2 as make
|
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/auth-1wyt3am5.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-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/auth-4bxenate.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-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/auth-k136bvh5.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-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/auth-hc75vmb2.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-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/auth-vfwf1dhc.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|
package/dist/handlers/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EventHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/auth-62pyxg60.js";
|
|
4
|
+
import"../chunks/auth-n9y13hgv.js";
|
|
5
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
6
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
7
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
8
|
+
import"../chunks/auth-b56hqv74.js";
|
|
9
|
+
import"../chunks/auth-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
EventHandler2 as EventHandler
|
|
12
12
|
};
|
package/dist/handlers/form.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/auth-b3jp5nc2.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FormHandler2 as FormHandler
|
|
11
11
|
};
|
package/dist/handlers/fs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FileSystemHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/auth-y5j6n4zr.js";
|
|
4
|
+
import"../chunks/auth-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/auth-4hhhes7w.js";
|
|
6
|
+
import"../chunks/auth-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/auth-b56hqv74.js";
|
|
8
|
+
import"../chunks/auth-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
FileSystemHandler2 as FileSystemHandler
|
|
11
11
|
};
|