@opencode/server 0.0.0-dev-21106 → 0.0.0-dev-21108
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 +1779 -1779
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{service-status-zessacar.js → server-info-0gbaaetm.js} +2 -2
- package/dist/chunks/{service-status-rntbwr87.js → server-info-1wyt3am5.js} +2 -2
- package/dist/chunks/{service-status-y1gfy88d.js → server-info-1ybjhnn1.js} +3 -3
- package/dist/chunks/{service-status-9snwnvf8.js → server-info-2ac2kv4c.js} +3 -3
- package/dist/chunks/{service-status-rxaz4xsm.js → server-info-2af1wk9r.js} +3 -3
- package/dist/chunks/{service-status-bx47k33v.js → server-info-3m0ygtwr.js} +2 -2
- package/dist/chunks/{service-status-ptey1p5v.js → server-info-4bxenate.js} +2 -2
- package/dist/chunks/{service-status-4hhhes7w.js → server-info-4hhhes7w.js} +1 -1
- package/dist/chunks/{service-status-sbwnjp60.js → server-info-6py3w98b.js} +2 -2
- package/dist/chunks/{service-status-vb5yx5r0.js → server-info-7armztsr.js} +2 -2
- package/dist/chunks/{service-status-4d1eemzq.js → server-info-7bgw0qp5.js} +2 -2
- package/dist/chunks/{service-status-qbh90c1d.js → server-info-8me0mqmd.js} +2 -2
- package/dist/chunks/{service-status-cv0ajwc9.js → server-info-8z4c9n9h.js} +2 -2
- package/dist/chunks/{service-status-9very778.js → server-info-93wjydnn.js} +5 -5
- package/dist/chunks/{service-status-rb6bn0qm.js → server-info-9rxqgkw7.js} +7 -7
- package/dist/chunks/{service-status-8137b89p.js → server-info-adb03esn.js} +2 -2
- package/dist/chunks/{service-status-anm12x33.js → server-info-anm12x33.js} +1 -1
- package/dist/chunks/{service-status-43r48nqn.js → server-info-b3jp5nc2.js} +2 -2
- package/dist/chunks/{service-status-b56hqv74.js → server-info-b56hqv74.js} +1 -1
- package/dist/chunks/{service-status-0d864bga.js → server-info-begnybrv.js} +1 -1
- package/dist/chunks/{service-status-383t61pr.js → server-info-bkk2wfbz.js} +8 -8
- package/dist/chunks/{service-status-4dv9a668.js → server-info-gpx0gpd1.js} +2 -2
- package/dist/chunks/{service-status-08x9tjee.js → server-info-hc75vmb2.js} +1 -1
- package/dist/chunks/{service-status-j4zqsxgy.js → server-info-j4zqsxgy.js} +1 -1
- package/dist/chunks/{service-status-5zsr2h86.js → server-info-k136bvh5.js} +1 -1
- package/dist/chunks/{service-status-cw4939ja.js → server-info-kcem5ghn.js} +8 -8
- package/dist/chunks/{service-status-r1nbhp8f.js → server-info-mbtpz0es.js} +15 -15
- package/dist/chunks/{service-status-rf01ee6q.js → server-info-nnn3xt9j.js} +1 -1
- package/dist/chunks/{service-status-h8ws5ssa.js → server-info-nqkf5k2k.js} +1 -1
- package/dist/chunks/{service-status-yehasrps.js → server-info-pc33848r.js} +2 -2
- package/dist/chunks/{service-status-aey6dvfz.js → server-info-qnwsemje.js} +3 -3
- package/dist/chunks/{service-status-zyh4j6y7.js → server-info-rjpqaa8h.js} +4 -4
- package/dist/chunks/{service-status-ftaz8n62.js → server-info-rkx9hda5.js} +2 -2
- package/dist/chunks/{service-status-z6sxg6td.js → server-info-rw74d7br.js} +1 -1
- package/dist/chunks/{service-status-rbn15j6z.js → server-info-sstsrjtg.js} +8 -8
- package/dist/chunks/{service-status-75amm386.js → server-info-tyb912tk.js} +34 -34
- package/dist/chunks/{service-status-vbzm2jgm.js → server-info-vfwf1dhc.js} +2 -2
- package/dist/chunks/{service-status-7pknvne4.js → server-info-vmv8nd7p.js} +3 -3
- package/dist/chunks/{service-status-ewe1fzkk.js → server-info-x34tt0qt.js} +2 -2
- package/dist/chunks/{service-status-xsrtpxyd.js → server-info-xsrtpxyd.js} +1 -1
- package/dist/chunks/{service-status-ssyxw8nc.js → server-info-y5j6n4zr.js} +2 -2
- package/dist/chunks/{service-status-97eb2r3v.js → server-info-y9g6k1bm.js} +2 -2
- package/dist/chunks/{service-status-yfz2nrjq.js → server-info-yfz2nrjq.js} +1 -1
- package/dist/chunks/{service-status-686p2xfa.js → server-info-z09f7k88.js} +2 -2
- package/dist/chunks/{service-status-7vd5668a.js → server-info-zj4vfrqs.js} +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.d.ts +26 -26
- package/dist/fetch.js +48 -48
- package/dist/handlers/agent.d.ts +1 -1
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/command.d.ts +1 -1
- package/dist/handlers/command.js +6 -6
- package/dist/handlers/config.d.ts +1 -1
- package/dist/handlers/config.js +6 -6
- package/dist/handlers/credential.d.ts +1 -1
- package/dist/handlers/credential.js +6 -6
- package/dist/handlers/debug.d.ts +1 -1
- package/dist/handlers/debug.js +6 -6
- package/dist/handlers/event.d.ts +1 -1
- package/dist/handlers/event.js +7 -7
- package/dist/handlers/form.d.ts +1 -1
- package/dist/handlers/form.js +6 -6
- package/dist/handlers/fs.d.ts +1 -1
- package/dist/handlers/fs.js +6 -6
- package/dist/handlers/generate.d.ts +1 -1
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.d.ts +1 -1
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.d.ts +1 -1
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.d.ts +1 -1
- package/dist/handlers/mcp.js +6 -6
- package/dist/handlers/message.d.ts +1 -1
- package/dist/handlers/message.js +6 -6
- package/dist/handlers/migration.d.ts +1 -1
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.d.ts +1 -1
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.d.ts +1 -1
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +8 -8
- package/dist/handlers/plugin.d.ts +1 -1
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.d.ts +1 -1
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.d.ts +1 -1
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.d.ts +1 -1
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.d.ts +1 -1
- package/dist/handlers/pty.js +9 -9
- package/dist/handlers/reference.d.ts +1 -1
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.d.ts +1 -1
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/server.d.ts +1 -1
- package/dist/handlers/server.js +9 -9
- package/dist/handlers/session-error.js +1 -1
- package/dist/handlers/session.d.ts +1 -1
- package/dist/handlers/session.js +6 -6
- package/dist/handlers/shell.d.ts +1 -1
- package/dist/handlers/shell.js +6 -6
- package/dist/handlers/skill.d.ts +1 -1
- package/dist/handlers/skill.js +6 -6
- package/dist/handlers/vcs.d.ts +1 -1
- package/dist/handlers/vcs.js +6 -6
- package/dist/handlers/voice.d.ts +1 -1
- package/dist/handlers/voice.js +6 -6
- package/dist/handlers/websearch.d.ts +1 -1
- package/dist/handlers/websearch.js +6 -6
- package/dist/handlers/worktree.d.ts +1 -1
- package/dist/handlers/worktree.js +6 -6
- package/dist/handlers.d.ts +1 -1
- package/dist/handlers.js +44 -44
- package/dist/location.d.ts +1 -1
- package/dist/location.js +2 -2
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.d.ts +1 -1
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.d.ts +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +5 -5
- package/dist/process.d.ts +27 -27
- package/dist/process.js +50 -50
- package/dist/pty-environment.js +7 -7
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +2 -2
- package/dist/routes.js +47 -47
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +49 -49
- package/package.json +10 -10
- /package/dist/chunks/{service-status-9rqn6x4v.js → server-info-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-erzfdgke.js → server-info-erzfdgke.js} +0 -0
- /package/dist/chunks/{service-status-h6rt5k9s.js → server-info-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → server-info-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → server-info-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → server-info-yc7nft6q.js} +0 -0
|
@@ -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(Service2, 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,102 +1,102 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-7bgw0qp5.js";
|
|
4
4
|
import {
|
|
5
5
|
VoiceHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-z09f7k88.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./server-info-7armztsr.js";
|
|
10
10
|
import {
|
|
11
11
|
ModelHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./server-info-x34tt0qt.js";
|
|
13
13
|
import {
|
|
14
14
|
ProviderHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./server-info-y9g6k1bm.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./server-info-2af1wk9r.js";
|
|
19
19
|
import {
|
|
20
20
|
PermissionHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./server-info-1ybjhnn1.js";
|
|
22
22
|
import {
|
|
23
23
|
FileSystemHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./server-info-y5j6n4zr.js";
|
|
25
25
|
import {
|
|
26
26
|
FormHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./server-info-b3jp5nc2.js";
|
|
28
28
|
import {
|
|
29
29
|
CommandHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./server-info-4bxenate.js";
|
|
31
31
|
import {
|
|
32
32
|
SkillHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./server-info-3m0ygtwr.js";
|
|
34
34
|
import {
|
|
35
35
|
RpcHandler2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./server-info-rw74d7br.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
layer3
|
|
39
|
+
} from "./server-info-rjpqaa8h.js";
|
|
40
40
|
import {
|
|
41
41
|
EventHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./server-info-6py3w98b.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./server-info-1wyt3am5.js";
|
|
46
46
|
import {
|
|
47
47
|
PluginHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./server-info-adb03esn.js";
|
|
49
49
|
import {
|
|
50
50
|
ServerHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./server-info-kcem5ghn.js";
|
|
52
52
|
import {
|
|
53
53
|
DebugHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./server-info-vfwf1dhc.js";
|
|
55
55
|
import {
|
|
56
56
|
PtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./server-info-9rxqgkw7.js";
|
|
58
58
|
import {
|
|
59
59
|
PersistentPtyHandler2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./server-info-qnwsemje.js";
|
|
61
61
|
import {
|
|
62
62
|
ShellHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./server-info-gpx0gpd1.js";
|
|
64
64
|
import {
|
|
65
65
|
ReferenceHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./server-info-pc33848r.js";
|
|
67
67
|
import {
|
|
68
68
|
LocationHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./server-info-nqkf5k2k.js";
|
|
70
70
|
import {
|
|
71
71
|
IntegrationHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./server-info-rkx9hda5.js";
|
|
73
73
|
import {
|
|
74
74
|
WebSearchHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./server-info-8z4c9n9h.js";
|
|
76
76
|
import {
|
|
77
77
|
McpHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./server-info-0gbaaetm.js";
|
|
79
79
|
import {
|
|
80
80
|
CredentialHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./server-info-hc75vmb2.js";
|
|
82
82
|
import {
|
|
83
83
|
ProjectHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./server-info-begnybrv.js";
|
|
85
85
|
import {
|
|
86
86
|
WorktreeHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./server-info-zj4vfrqs.js";
|
|
88
88
|
import {
|
|
89
89
|
VcsHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./server-info-8me0mqmd.js";
|
|
91
91
|
import {
|
|
92
92
|
MigrationHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./server-info-nnn3xt9j.js";
|
|
94
94
|
import {
|
|
95
95
|
ConfigHandler2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./server-info-k136bvh5.js";
|
|
97
97
|
|
|
98
98
|
// src/handlers.ts
|
|
99
99
|
import { Layer } from "effect";
|
|
100
|
-
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(
|
|
100
|
+
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
|
|
101
101
|
|
|
102
102
|
export { handlers2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestRef2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/debug.ts
|
|
9
9
|
import { LocationServiceMap } from "@opencode/core/location-service-map";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAllowedCorsOrigin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./server-info-q4bn6dy8.js";
|
|
4
4
|
import {
|
|
5
5
|
createRoutes2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-mbtpz0es.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./server-info-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/fetch.ts
|
|
12
12
|
var exports_fetch = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./server-info-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./server-info-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 "./server-info-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-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 "./server-info-b56hqv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./server-info-2ac2kv4c.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/provider.ts
|
|
9
9
|
import { Provider } from "@opencode/core/provider";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./server-info-b56hqv74.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./server-info-2ac2kv4c.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/voice.ts
|
|
10
10
|
import { Location } from "@opencode/core/location";
|
package/dist/cors.js
CHANGED
package/dist/event-feed.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
Service3,
|
|
6
6
|
frame2,
|
|
7
7
|
make4,
|
|
8
|
-
|
|
8
|
+
layer3,
|
|
9
9
|
exports_event_feed
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/server-info-rjpqaa8h.js";
|
|
11
11
|
export {
|
|
12
12
|
EncodingError2 as EncodingError,
|
|
13
13
|
exports_event_feed as EventFeed,
|
|
@@ -15,6 +15,6 @@ export {
|
|
|
15
15
|
SubscriberCapacity2 as SubscriberCapacity,
|
|
16
16
|
SubscriberOverflowError2 as SubscriberOverflowError,
|
|
17
17
|
frame2 as frame,
|
|
18
|
-
|
|
18
|
+
layer3 as layer,
|
|
19
19
|
make4 as make
|
|
20
20
|
};
|
package/dist/fetch.d.ts
CHANGED
|
@@ -31,49 +31,49 @@ export interface BootOptions {
|
|
|
31
31
|
* next boot, and the sweep is a no-op when nothing is suspended.
|
|
32
32
|
*/
|
|
33
33
|
export declare const make: (options?: {
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly fetch?: boolean | undefined;
|
|
34
|
+
readonly app?: {
|
|
35
|
+
readonly name?: string | undefined;
|
|
36
|
+
readonly version?: string | undefined;
|
|
37
|
+
readonly channel?: string | undefined;
|
|
39
38
|
} | undefined;
|
|
40
|
-
readonly
|
|
41
|
-
|
|
39
|
+
readonly hostname?: string | undefined;
|
|
40
|
+
readonly port?: number | undefined;
|
|
41
|
+
readonly password?: string | undefined;
|
|
42
|
+
readonly cors?: readonly string[] | undefined;
|
|
43
|
+
readonly simulation?: boolean | undefined;
|
|
44
|
+
readonly database?: {
|
|
45
|
+
readonly path?: string | undefined;
|
|
42
46
|
} | undefined;
|
|
43
47
|
readonly pty?: {
|
|
44
|
-
readonly root?: string | undefined;
|
|
45
48
|
readonly handoff?: {
|
|
46
49
|
readonly directory: string;
|
|
47
50
|
readonly instanceID: string;
|
|
48
51
|
readonly ticket: string;
|
|
49
52
|
readonly expiresAt: number;
|
|
50
53
|
} | undefined;
|
|
54
|
+
readonly root?: string | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly events?: {
|
|
57
|
+
readonly persist?: boolean | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
readonly models?: {
|
|
60
|
+
readonly url?: string | undefined;
|
|
61
|
+
readonly file?: string | undefined;
|
|
62
|
+
readonly fetch?: boolean | undefined;
|
|
63
|
+
readonly snapshot?: boolean | undefined;
|
|
51
64
|
} | undefined;
|
|
52
65
|
readonly config?: {
|
|
53
66
|
readonly directory?: string | undefined;
|
|
54
67
|
readonly project?: boolean | undefined;
|
|
55
|
-
readonly content?: string | undefined;
|
|
56
|
-
readonly file?: string | undefined;
|
|
57
68
|
readonly claude?: boolean | undefined;
|
|
69
|
+
readonly file?: string | undefined;
|
|
70
|
+
readonly content?: string | undefined;
|
|
58
71
|
} | undefined;
|
|
59
|
-
readonly port?: number | undefined;
|
|
60
|
-
readonly fs?: {
|
|
61
|
-
readonly fff?: boolean | undefined;
|
|
62
|
-
readonly filewatcher?: boolean | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
readonly hostname?: string | undefined;
|
|
65
|
-
readonly cors?: readonly string[] | undefined;
|
|
66
72
|
readonly windows?: {
|
|
67
73
|
readonly gitbash?: string | undefined;
|
|
68
74
|
} | undefined;
|
|
69
|
-
readonly
|
|
70
|
-
|
|
71
|
-
readonly
|
|
72
|
-
readonly name?: string | undefined;
|
|
73
|
-
readonly channel?: string | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
readonly simulation?: boolean | undefined;
|
|
76
|
-
readonly database?: {
|
|
77
|
-
readonly path?: string | undefined;
|
|
75
|
+
readonly fs?: {
|
|
76
|
+
readonly filewatcher?: boolean | undefined;
|
|
77
|
+
readonly fff?: boolean | undefined;
|
|
78
78
|
} | undefined;
|
|
79
79
|
} | undefined, boot?: BootOptions | undefined) => Effect.Effect<(request: Request, context?: Context.Context<never> | undefined) => Promise<globalThis.Response>, Error, import("effect/Scope").Scope>;
|
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/
|
|
51
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/server-info-vmv8nd7p.js";
|
|
5
|
+
import"./chunks/server-info-mbtpz0es.js";
|
|
6
|
+
import"./chunks/server-info-yfz2nrjq.js";
|
|
7
|
+
import"./chunks/server-info-erzfdgke.js";
|
|
8
|
+
import"./chunks/server-info-tyb912tk.js";
|
|
9
|
+
import"./chunks/server-info-kcem5ghn.js";
|
|
10
|
+
import"./chunks/server-info-7bgw0qp5.js";
|
|
11
|
+
import"./chunks/server-info-pc33848r.js";
|
|
12
|
+
import"./chunks/server-info-7armztsr.js";
|
|
13
|
+
import"./chunks/server-info-z09f7k88.js";
|
|
14
|
+
import"./chunks/server-info-k136bvh5.js";
|
|
15
|
+
import"./chunks/server-info-qnwsemje.js";
|
|
16
|
+
import"./chunks/server-info-2af1wk9r.js";
|
|
17
|
+
import"./chunks/server-info-y9g6k1bm.js";
|
|
18
|
+
import"./chunks/server-info-3m0ygtwr.js";
|
|
19
|
+
import"./chunks/server-info-6py3w98b.js";
|
|
20
|
+
import"./chunks/server-info-x34tt0qt.js";
|
|
21
|
+
import"./chunks/server-info-1wyt3am5.js";
|
|
22
|
+
import"./chunks/server-info-rw74d7br.js";
|
|
23
|
+
import"./chunks/server-info-hc75vmb2.js";
|
|
24
|
+
import"./chunks/server-info-gpx0gpd1.js";
|
|
25
|
+
import"./chunks/server-info-y5j6n4zr.js";
|
|
26
|
+
import"./chunks/server-info-nnn3xt9j.js";
|
|
27
|
+
import"./chunks/server-info-begnybrv.js";
|
|
28
|
+
import"./chunks/server-info-nqkf5k2k.js";
|
|
29
|
+
import"./chunks/server-info-zj4vfrqs.js";
|
|
30
|
+
import"./chunks/server-info-b3jp5nc2.js";
|
|
31
|
+
import"./chunks/server-info-9rxqgkw7.js";
|
|
32
|
+
import"./chunks/server-info-h6rt5k9s.js";
|
|
33
|
+
import"./chunks/server-info-1ybjhnn1.js";
|
|
34
|
+
import"./chunks/server-info-rkx9hda5.js";
|
|
35
|
+
import"./chunks/server-info-0gbaaetm.js";
|
|
36
|
+
import"./chunks/server-info-adb03esn.js";
|
|
37
|
+
import"./chunks/server-info-8me0mqmd.js";
|
|
38
|
+
import"./chunks/server-info-8z4c9n9h.js";
|
|
39
|
+
import"./chunks/server-info-vfwf1dhc.js";
|
|
40
|
+
import"./chunks/server-info-4bxenate.js";
|
|
41
|
+
import"./chunks/server-info-bkk2wfbz.js";
|
|
42
|
+
import"./chunks/server-info-anm12x33.js";
|
|
43
|
+
import"./chunks/server-info-rjpqaa8h.js";
|
|
44
|
+
import"./chunks/server-info-93wjydnn.js";
|
|
45
|
+
import"./chunks/server-info-sstsrjtg.js";
|
|
46
|
+
import"./chunks/server-info-q4bn6dy8.js";
|
|
47
|
+
import"./chunks/server-info-2ac2kv4c.js";
|
|
48
|
+
import"./chunks/server-info-4hhhes7w.js";
|
|
49
|
+
import"./chunks/server-info-j4zqsxgy.js";
|
|
50
|
+
import"./chunks/server-info-b56hqv74.js";
|
|
51
|
+
import"./chunks/server-info-smaf4a18.js";
|
|
52
52
|
export {
|
|
53
53
|
exports_fetch as ServerFetch,
|
|
54
54
|
make3 as make
|
package/dist/handlers/agent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AgentHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const AgentHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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-1wyt3am5.js";
|
|
4
|
+
import"../chunks/server-info-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/server-info-4hhhes7w.js";
|
|
6
|
+
import"../chunks/server-info-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
AgentHandler2 as AgentHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CommandHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.command">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const CommandHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.command">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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-4bxenate.js";
|
|
4
|
+
import"../chunks/server-info-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/server-info-4hhhes7w.js";
|
|
6
|
+
import"../chunks/server-info-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandHandler2 as CommandHandler
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ConfigHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.config">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const ConfigHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.config">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("../location").LocationMiddleware | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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-k136bvh5.js";
|
|
4
|
+
import"../chunks/server-info-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/server-info-4hhhes7w.js";
|
|
6
|
+
import"../chunks/server-info-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ConfigHandler2 as ConfigHandler
|
|
11
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Credential } from "@opencode/core/credential";
|
|
2
|
-
export declare const CredentialHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.credential">, never, import("@opencode/protocol/middleware/
|
|
2
|
+
export declare const CredentialHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.credential">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("effect/http/HttpRouter").Request<"Requires", Credential.Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
|
@@ -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-hc75vmb2.js";
|
|
4
|
+
import"../chunks/server-info-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/server-info-4hhhes7w.js";
|
|
6
|
+
import"../chunks/server-info-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
CredentialHandler2 as CredentialHandler
|
|
11
11
|
};
|
package/dist/handlers/debug.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DebugHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.debug">, never, import("@opencode/protocol/middleware/
|
|
1
|
+
export declare const DebugHandler: import("effect/Layer").Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.debug">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware>;
|
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-vfwf1dhc.js";
|
|
4
|
+
import"../chunks/server-info-2ac2kv4c.js";
|
|
5
|
+
import"../chunks/server-info-4hhhes7w.js";
|
|
6
|
+
import"../chunks/server-info-j4zqsxgy.js";
|
|
7
|
+
import"../chunks/server-info-b56hqv74.js";
|
|
8
|
+
import"../chunks/server-info-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
DebugHandler2 as DebugHandler
|
|
11
11
|
};
|