@opencode/server 2.2.5 → 2.2.6
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/{location-02a60aws.js → options-02a60aws.js} +2 -2
- package/dist/chunks/{location-059rbh9c.js → options-059rbh9c.js} +1 -1
- package/dist/chunks/{location-0r9ve3h3.js → options-0r9ve3h3.js} +2 -2
- package/dist/chunks/{location-ja97ph8b.js → options-32zxn73z.js} +4 -4
- package/dist/chunks/{location-c48av16v.js → options-3k93sd3m.js} +15 -14
- package/dist/chunks/{location-7dtbad8d.js → options-3te71694.js} +7 -7
- package/dist/chunks/{location-4xzps9pr.js → options-4xzps9pr.js} +2 -2
- package/dist/chunks/{location-pbxe02h0.js → options-5km4ra1j.js} +8 -6
- package/dist/chunks/{location-62bfwtjc.js → options-62bfwtjc.js} +2 -2
- package/dist/chunks/options-78rcgzsr.js +28 -0
- package/dist/chunks/{location-7b9xm1qg.js → options-7b9xm1qg.js} +1 -1
- package/dist/chunks/{location-g6bmzkma.js → options-7jx462hf.js} +11 -7
- package/dist/chunks/{location-bknbvq67.js → options-82vbxjqd.js} +7 -5
- package/dist/chunks/{location-85kbrn7y.js → options-85kbrn7y.js} +2 -2
- package/dist/chunks/{location-5n22zpzy.js → options-9f2aybte.js} +6 -6
- package/dist/chunks/{location-9q55v56g.js → options-9q55v56g.js} +2 -2
- package/dist/chunks/{location-axx4wwen.js → options-axx4wwen.js} +2 -2
- package/dist/chunks/{location-ey9m07rx.js → options-b5crh3ce.js} +3 -3
- package/dist/chunks/{location-dczgzh3x.js → options-dczgzh3x.js} +2 -2
- package/dist/chunks/{location-ddnay6e1.js → options-ddnay6e1.js} +1 -1
- package/dist/chunks/{location-n321d8vm.js → options-djr0jy89.js} +8 -6
- package/dist/chunks/{location-tgb4pddq.js → options-dx07zb36.js} +9 -6
- package/dist/chunks/{location-e0z6mnzj.js → options-e0z6mnzj.js} +1 -1
- package/dist/chunks/{location-e6e4kz0w.js → options-e6e4kz0w.js} +1 -1
- package/dist/chunks/{location-f0kpaq89.js → options-f0kpaq89.js} +1 -1
- package/dist/chunks/{location-f96zeczf.js → options-f96zeczf.js} +2 -2
- package/dist/chunks/{location-gymtz25n.js → options-gymtz25n.js} +1 -1
- package/dist/chunks/options-hmwn16zp.js +39 -0
- package/dist/chunks/{location-hr24310e.js → options-hr24310e.js} +1 -1
- package/dist/chunks/{location-1jtv083t.js → options-j1bh82b8.js} +2 -2
- package/dist/chunks/{location-j4at0y5c.js → options-j4at0y5c.js} +1 -1
- package/dist/chunks/{location-j6d0mxrp.js → options-j6d0mxrp.js} +2 -2
- package/dist/chunks/{location-f1ds1268.js → options-j77vxdbh.js} +9 -4
- package/dist/chunks/{location-1kj4am0h.js → options-kgr24bct.js} +11 -5
- package/dist/chunks/{location-kqr36gas.js → options-kqr36gas.js} +1 -1
- package/dist/chunks/{location-mam5ppd3.js → options-mam5ppd3.js} +1 -1
- package/dist/chunks/{location-h6rt5k9s.js → options-q187pxxd.js} +7 -1
- package/dist/chunks/{location-wy3c18g3.js → options-q59gseq4.js} +35 -35
- package/dist/chunks/{location-q7gnt7ra.js → options-q7gnt7ra.js} +3 -3
- package/dist/chunks/{location-z48nkxh0.js → options-rbck9dgd.js} +2 -2
- package/dist/chunks/{location-nzrkt0f5.js → options-s9jd931e.js} +4 -4
- package/dist/chunks/options-t32e1bbt.js +32 -0
- package/dist/chunks/{location-v7p1kzzd.js → options-v7p1kzzd.js} +3 -3
- package/dist/chunks/{location-va7wgp70.js → options-va7wgp70.js} +2 -2
- package/dist/chunks/{location-vyzvby0b.js → options-vyzvby0b.js} +2 -2
- package/dist/chunks/{location-qfyg9gb7.js → options-wecgp61r.js} +7 -7
- package/dist/chunks/{location-x74w7e1f.js → options-x74w7e1f.js} +1 -1
- package/dist/chunks/{location-xad49dn3.js → options-xad49dn3.js} +2 -2
- package/dist/chunks/{location-xfynz25m.js → options-xfynz25m.js} +2 -2
- package/dist/chunks/{location-xwy6frfd.js → options-xwy6frfd.js} +1 -1
- package/dist/chunks/{location-y56ann6c.js → options-y56ann6c.js} +2 -2
- package/dist/chunks/{location-zzxz7279.js → options-zzxz7279.js} +2 -2
- package/dist/content-headers.d.ts +13 -0
- package/dist/content-headers.js +12 -0
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +1 -0
- package/dist/fetch.js +56 -52
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/artifact.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/form.js +6 -6
- package/dist/handlers/fs.js +7 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.d.ts +51 -0
- package/dist/handlers/job.js +7 -0
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +2 -1
- 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 +13 -11
- 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.d.ts +2 -0
- package/dist/handlers/pty-socket.js +4 -2
- package/dist/handlers/pty.js +8 -8
- package/dist/handlers/reference.js +6 -6
- package/dist/handlers/rpc.js +6 -6
- package/dist/handlers/schedule.js +2 -2
- 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/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 +1 -1
- package/dist/handlers.js +50 -48
- package/dist/location.js +2 -2
- package/dist/media-uri.js +1 -1
- 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/options.d.ts +7 -0
- package/dist/options.js +1 -0
- package/dist/pairing.js +1 -1
- package/dist/process.d.ts +1 -0
- package/dist/process.js +61 -56
- package/dist/request-site.d.ts +11 -0
- package/dist/request-site.js +11 -0
- package/dist/request-tracing.d.ts +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +53 -51
- package/dist/server-info.js +5 -5
- package/dist/service-status.js +1 -1
- package/dist/workerd.d.ts +2 -0
- package/dist/workerd.js +59 -54
- package/package.json +11 -11
- /package/dist/chunks/{location-9rqn6x4v.js → options-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-bd8755ek.js → options-bd8755ek.js} +0 -0
- /package/dist/chunks/{location-q4bn6dy8.js → options-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{location-smaf4a18.js → options-smaf4a18.js} +0 -0
- /package/dist/chunks/{location-xthc02cw.js → options-xthc02cw.js} +0 -0
- /package/dist/chunks/{location-yc7nft6q.js → options-yc7nft6q.js} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LocationLifecycle } from "@opencode/core/location-lifecycle";
|
|
1
2
|
import { Effect, Queue } from "effect";
|
|
2
3
|
import { Socket } from "effect/socket";
|
|
3
4
|
export type Outbound = string | Uint8Array | Socket.CloseEvent;
|
|
@@ -8,3 +9,4 @@ export declare function runPtySocket<R>(input: {
|
|
|
8
9
|
readonly onMessage: (message: string | Uint8Array) => Effect.Effect<void, never, R>;
|
|
9
10
|
readonly detach: () => void;
|
|
10
11
|
}): Effect.Effect<void, never, R | import("effect/Scope").Scope>;
|
|
12
|
+
export declare const holdLocation: (outbox: Queue.Enqueue<Outbound, never>) => Effect.Effect<void, never, import("effect/Scope").Scope | LocationLifecycle.Service>;
|
package/dist/handlers/pty.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PtyHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-5km4ra1j.js";
|
|
4
|
+
import"../chunks/options-q187pxxd.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
10
|
+
import"../chunks/options-q4bn6dy8.js";
|
|
11
11
|
export {
|
|
12
12
|
PtyHandler2 as PtyHandler
|
|
13
13
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ReferenceHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-f96zeczf.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ReferenceHandler2 as ReferenceHandler
|
|
11
11
|
};
|
package/dist/handlers/rpc.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RpcHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-hr24310e.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
RpcHandler2 as RpcHandler
|
|
11
11
|
};
|
package/dist/handlers/server.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServerHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-9f2aybte.js";
|
|
4
|
+
import"../chunks/options-j4at0y5c.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-kqr36gas.js";
|
|
9
|
+
import"../chunks/options-gymtz25n.js";
|
|
10
|
+
import"../chunks/options-smaf4a18.js";
|
|
11
|
+
import"../chunks/options-3te71694.js";
|
|
12
12
|
export {
|
|
13
13
|
ServerHandler2 as ServerHandler
|
|
14
14
|
};
|
package/dist/handlers/session.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-s9jd931e.js";
|
|
4
|
+
import"../chunks/options-xthc02cw.js";
|
|
5
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
6
|
+
import"../chunks/options-ddnay6e1.js";
|
|
7
|
+
import"../chunks/options-x74w7e1f.js";
|
|
8
|
+
import"../chunks/options-gymtz25n.js";
|
|
9
|
+
import"../chunks/options-smaf4a18.js";
|
|
10
10
|
export {
|
|
11
11
|
SessionHandler2 as SessionHandler
|
|
12
12
|
};
|
package/dist/handlers/shell.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ShellHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-4xzps9pr.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
ShellHandler2 as ShellHandler
|
|
11
11
|
};
|
package/dist/handlers/skill.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SkillHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-9q55v56g.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
SkillHandler2 as SkillHandler
|
|
11
11
|
};
|
package/dist/handlers/usage.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UsageHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-va7wgp70.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
UsageHandler2 as UsageHandler
|
|
11
11
|
};
|
package/dist/handlers/vcs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VcsHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-85kbrn7y.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
VcsHandler2 as VcsHandler
|
|
11
11
|
};
|
package/dist/handlers/voice.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VoiceHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-xfynz25m.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
VoiceHandler2 as VoiceHandler
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSearchHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-axx4wwen.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
WebSearchHandler2 as WebSearchHandler
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeHandler2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/options-rbck9dgd.js";
|
|
4
|
+
import"../chunks/options-v7p1kzzd.js";
|
|
5
|
+
import"../chunks/options-ddnay6e1.js";
|
|
6
|
+
import"../chunks/options-x74w7e1f.js";
|
|
7
|
+
import"../chunks/options-gymtz25n.js";
|
|
8
|
+
import"../chunks/options-smaf4a18.js";
|
|
9
9
|
export {
|
|
10
10
|
WorktreeHandler2 as WorktreeHandler
|
|
11
11
|
};
|
package/dist/handlers.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Layer } from "effect";
|
|
2
|
-
export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.usage"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.voice"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("./auth").Config | import("./middleware/form-location").FormLocationMiddleware | import("./location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/wellknown").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/permission/saved").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/plugin/update").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/project").Service> | import("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/kv").Service | import("@opencode/core/session/instruction-entry").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/session").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/worktree").Service | import("@opencode/core/schedule").Service | import("@opencode/core/instance").Service | import("@opencode/core/bus").Service | import("@opencode/core/project").Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/filesystem/file-watch").Service | import("./pairing").Service | import("./middleware/session-location").SessionLocationMiddleware>;
|
|
2
|
+
export declare const handlers: Layer.Layer<import("effect/http-api/HttpApiGroup").Service<"server", "server.agent"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.command"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.config"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.credential"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.debug"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.event"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.experimental"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.form"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.fs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.generate"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.integration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.location"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.mcp"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.message"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.migration"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.model"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.permission"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.plugin"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.project"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.provider"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.pty"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.reference"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.rpc"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.server"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.session"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.shell"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.skill"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.usage"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.vcs"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.voice"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.websearch"> | import("effect/http-api/HttpApiGroup").Service<"server", "server.worktree">, never, import("@opencode/protocol/middleware/authorization").Authorization | import("./auth").Config | import("./middleware/form-location").FormLocationMiddleware | import("./location").LocationMiddleware | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/database/database").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/credential").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/wellknown").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/permission/saved").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/plugin/update").Service> | import("effect/http/HttpRouter").Request<"Requires", import("@opencode/core/project").Service> | import("effect/http/HttpRouter").Request<"Requires", import("./server-info").Service> | import("@opencode/protocol/middleware/schema-error").SchemaErrorMiddleware | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/kv").Service | import("@opencode/core/session/instruction-entry").Service | import("@opencode/core/job").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/session").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/worktree").Service | import("@opencode/core/schedule").Service | import("@opencode/core/instance").Service | import("@opencode/core/bus").Service | import("@opencode/core/project").Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/filesystem/file-watch").Service | import("./pairing").Service | import("./middleware/session-location").SessionLocationMiddleware>;
|
package/dist/handlers.js
CHANGED
|
@@ -1,53 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handlers2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./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/
|
|
3
|
+
} from "./chunks/options-q59gseq4.js";
|
|
4
|
+
import"./chunks/options-f0kpaq89.js";
|
|
5
|
+
import"./chunks/options-j6d0mxrp.js";
|
|
6
|
+
import"./chunks/options-axx4wwen.js";
|
|
7
|
+
import"./chunks/options-vyzvby0b.js";
|
|
8
|
+
import"./chunks/options-b5crh3ce.js";
|
|
9
|
+
import"./chunks/options-q7gnt7ra.js";
|
|
10
|
+
import"./chunks/options-rbck9dgd.js";
|
|
11
|
+
import"./chunks/options-0r9ve3h3.js";
|
|
12
|
+
import"./chunks/options-zzxz7279.js";
|
|
13
|
+
import"./chunks/options-82vbxjqd.js";
|
|
14
|
+
import"./chunks/options-85kbrn7y.js";
|
|
15
|
+
import"./chunks/options-5km4ra1j.js";
|
|
16
|
+
import"./chunks/options-9f2aybte.js";
|
|
17
|
+
import"./chunks/options-y56ann6c.js";
|
|
18
|
+
import"./chunks/options-mam5ppd3.js";
|
|
19
|
+
import"./chunks/options-hr24310e.js";
|
|
20
|
+
import"./chunks/options-e0z6mnzj.js";
|
|
21
|
+
import"./chunks/options-xfynz25m.js";
|
|
22
|
+
import"./chunks/options-4xzps9pr.js";
|
|
23
|
+
import"./chunks/options-9q55v56g.js";
|
|
24
|
+
import"./chunks/options-xad49dn3.js";
|
|
25
|
+
import"./chunks/options-62bfwtjc.js";
|
|
26
|
+
import"./chunks/options-dczgzh3x.js";
|
|
27
|
+
import"./chunks/options-j1bh82b8.js";
|
|
28
|
+
import"./chunks/options-dx07zb36.js";
|
|
29
|
+
import"./chunks/options-va7wgp70.js";
|
|
30
|
+
import"./chunks/options-j77vxdbh.js";
|
|
31
|
+
import"./chunks/options-s9jd931e.js";
|
|
32
|
+
import"./chunks/options-f96zeczf.js";
|
|
33
|
+
import"./chunks/options-32zxn73z.js";
|
|
34
|
+
import"./chunks/options-j4at0y5c.js";
|
|
35
|
+
import"./chunks/options-7jx462hf.js";
|
|
36
|
+
import"./chunks/options-059rbh9c.js";
|
|
37
|
+
import"./chunks/options-02a60aws.js";
|
|
38
|
+
import"./chunks/options-78rcgzsr.js";
|
|
39
|
+
import"./chunks/options-q187pxxd.js";
|
|
40
|
+
import"./chunks/options-djr0jy89.js";
|
|
41
|
+
import"./chunks/options-xwy6frfd.js";
|
|
42
|
+
import"./chunks/options-xthc02cw.js";
|
|
43
|
+
import"./chunks/options-t32e1bbt.js";
|
|
44
|
+
import"./chunks/options-v7p1kzzd.js";
|
|
45
|
+
import"./chunks/options-ddnay6e1.js";
|
|
46
|
+
import"./chunks/options-x74w7e1f.js";
|
|
47
|
+
import"./chunks/options-kqr36gas.js";
|
|
48
|
+
import"./chunks/options-gymtz25n.js";
|
|
49
|
+
import"./chunks/options-smaf4a18.js";
|
|
50
|
+
import"./chunks/options-3te71694.js";
|
|
51
|
+
import"./chunks/options-wecgp61r.js";
|
|
52
|
+
import"./chunks/options-q4bn6dy8.js";
|
|
51
53
|
export {
|
|
52
54
|
handlers2 as handlers
|
|
53
55
|
};
|
package/dist/location.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
sessionInfo2,
|
|
7
7
|
requestRef2,
|
|
8
8
|
layer2
|
|
9
|
-
} from "./chunks/
|
|
10
|
-
import"./chunks/
|
|
9
|
+
} from "./chunks/options-gymtz25n.js";
|
|
10
|
+
import"./chunks/options-smaf4a18.js";
|
|
11
11
|
export {
|
|
12
12
|
LocationMiddleware2 as LocationMiddleware,
|
|
13
13
|
awaitPlugins2 as awaitPlugins,
|
package/dist/media-uri.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
authorizedRequest2,
|
|
4
4
|
authorizationLayer2,
|
|
5
5
|
Authorization2
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/options-7b9xm1qg.js";
|
|
7
|
+
import"../chunks/options-j4at0y5c.js";
|
|
8
8
|
export {
|
|
9
9
|
Authorization2 as Authorization,
|
|
10
10
|
authorizationLayer2 as authorizationLayer,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormLocationMiddleware2,
|
|
3
3
|
formLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/options-ddnay6e1.js";
|
|
5
|
+
import"../chunks/options-gymtz25n.js";
|
|
6
|
+
import"../chunks/options-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
FormLocationMiddleware2 as FormLocationMiddleware,
|
|
9
9
|
formLocationLayer2 as formLocationLayer
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionLocationMiddleware2,
|
|
3
3
|
sessionLocationLayer2
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/options-x74w7e1f.js";
|
|
5
|
+
import"../chunks/options-gymtz25n.js";
|
|
6
|
+
import"../chunks/options-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/options.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
+
import type { LayerNodePlatform } from "@opencode/util/effect/app-node-platform";
|
|
2
3
|
export declare const ServerOptions: Schema.Struct<{
|
|
3
4
|
readonly app: Schema.optional<Schema.Struct<{
|
|
4
5
|
readonly name: Schema.optional<Schema.String>;
|
|
@@ -31,6 +32,12 @@ export declare const ServerOptions: Schema.Struct<{
|
|
|
31
32
|
readonly fetch: Schema.optional<Schema.Boolean>;
|
|
32
33
|
readonly snapshot: Schema.optional<Schema.Boolean>;
|
|
33
34
|
}>>;
|
|
35
|
+
/**
|
|
36
|
+
* Replaces `globalThis.fetch` for OpenCode's own HTTP requests: OpenCode Console config, model requests, web fetch
|
|
37
|
+
* and search, well-known config, and remote MCP servers. Agent code in Code Mode keeps `globalThis.fetch`. For
|
|
38
|
+
* example, a Cloudflare Worker can route requests through a Service Binding.
|
|
39
|
+
*/
|
|
40
|
+
readonly fetch: Schema.optional<Schema.declare<LayerNodePlatform.Fetch, LayerNodePlatform.Fetch>>;
|
|
34
41
|
readonly config: Schema.optional<Schema.Struct<{
|
|
35
42
|
readonly directory: Schema.optional<Schema.String>;
|
|
36
43
|
readonly project: Schema.optional<Schema.Boolean>;
|
package/dist/options.js
CHANGED
|
@@ -20,6 +20,7 @@ var ServerOptions = Schema.Struct({
|
|
|
20
20
|
persist: Schema.optional(Schema.Boolean)
|
|
21
21
|
})),
|
|
22
22
|
models: Schema.optional(ModelsDev.Options),
|
|
23
|
+
fetch: Schema.optional(Schema.declare((input) => typeof input === "function")),
|
|
23
24
|
config: Schema.optional(Schema.Struct({
|
|
24
25
|
directory: Schema.optional(Schema.String),
|
|
25
26
|
project: Schema.optional(Schema.Boolean),
|
package/dist/pairing.js
CHANGED
package/dist/process.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare const start: <E, R>(options: {
|
|
|
39
39
|
readonly fetch?: boolean | undefined;
|
|
40
40
|
readonly snapshot?: boolean | undefined;
|
|
41
41
|
} | undefined;
|
|
42
|
+
readonly fetch?: import("@opencode/util/effect/app-node-platform").Fetch | undefined;
|
|
42
43
|
readonly config?: {
|
|
43
44
|
readonly directory?: string | undefined;
|
|
44
45
|
readonly project?: boolean | undefined;
|