@opencode/server 2.2.6 → 2.3.0
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 +164 -4
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{options-059rbh9c.js → auth-059rbh9c.js} +1 -1
- package/dist/chunks/{options-va7wgp70.js → auth-09kw3a77.js} +2 -4
- package/dist/chunks/{options-0r9ve3h3.js → auth-2eaky32g.js} +2 -2
- package/dist/chunks/{options-wecgp61r.js → auth-3p9jwgak.js} +7 -7
- package/dist/chunks/{options-zzxz7279.js → auth-4q6e7fh8.js} +2 -2
- package/dist/chunks/{options-gymtz25n.js → auth-50bbk3b2.js} +3 -3
- package/dist/chunks/{options-hr24310e.js → auth-5cpb32hf.js} +1 -3
- package/dist/chunks/{options-b5crh3ce.js → auth-5s0wnsg4.js} +3 -3
- package/dist/chunks/{options-q59gseq4.js → auth-6jfbq4sw.js} +35 -35
- package/dist/chunks/{options-5km4ra1j.js → auth-6kawhtwy.js} +4 -4
- package/dist/chunks/{options-xwy6frfd.js → auth-6z9pvq7p.js} +1 -1
- package/dist/chunks/{options-78rcgzsr.js → auth-78rcgzsr.js} +1 -1
- package/dist/chunks/{options-7b9xm1qg.js → auth-7b9xm1qg.js} +1 -1
- package/dist/chunks/{options-xad49dn3.js → auth-8mj7kvhm.js} +3 -7
- package/dist/chunks/{options-j77vxdbh.js → auth-91858wp1.js} +2 -4
- package/dist/chunks/{options-7jx462hf.js → auth-a4mwssda.js} +8 -18
- package/dist/chunks/{options-mam5ppd3.js → auth-a8jcac9a.js} +1 -1
- package/dist/chunks/{options-62bfwtjc.js → auth-az0609r6.js} +2 -2
- package/dist/chunks/{options-x74w7e1f.js → auth-b3bmdkga.js} +1 -1
- package/dist/chunks/{options-dx07zb36.js → auth-bm3bken1.js} +3 -3
- package/dist/chunks/{options-q7gnt7ra.js → auth-btahnm2b.js} +3 -3
- package/dist/chunks/{options-e0z6mnzj.js → auth-cezwbsk5.js} +1 -1
- package/dist/chunks/{options-xfynz25m.js → auth-d0edqfxx.js} +2 -2
- package/dist/chunks/{options-djr0jy89.js → auth-djr0jy89.js} +1 -1
- package/dist/chunks/{options-e6e4kz0w.js → auth-e6e4kz0w.js} +1 -1
- package/dist/chunks/{options-rbck9dgd.js → auth-enp1bp7r.js} +1 -1
- package/dist/chunks/{options-3k93sd3m.js → auth-etdgpyr8.js} +17 -14
- package/dist/chunks/{options-vyzvby0b.js → auth-f559fakr.js} +2 -2
- package/dist/chunks/{options-s9jd931e.js → auth-gyryr0mf.js} +6 -6
- package/dist/chunks/{options-ddnay6e1.js → auth-htyf2qs7.js} +1 -1
- package/dist/chunks/{options-j4at0y5c.js → auth-j4at0y5c.js} +1 -1
- package/dist/chunks/{options-v7p1kzzd.js → auth-j87xz9bt.js} +3 -3
- package/dist/chunks/{options-axx4wwen.js → auth-kkdkqt8j.js} +2 -2
- package/dist/chunks/{options-kqr36gas.js → auth-kqr36gas.js} +1 -1
- package/dist/chunks/{options-hmwn16zp.js → auth-myqk22k5.js} +2 -2
- package/dist/chunks/{options-32zxn73z.js → auth-n1423xpw.js} +4 -4
- package/dist/chunks/{options-9q55v56g.js → auth-ny1j968n.js} +2 -2
- package/dist/chunks/{options-02a60aws.js → auth-p86kew8c.js} +3 -4
- package/dist/chunks/{options-kgr24bct.js → auth-pab2cyby.js} +5 -5
- package/dist/chunks/{options-j6d0mxrp.js → auth-qcg3sqtb.js} +2 -2
- package/dist/chunks/{options-4xzps9pr.js → auth-qd0r787n.js} +2 -2
- package/dist/chunks/{options-y56ann6c.js → auth-rha2aq18.js} +2 -2
- package/dist/chunks/{options-85kbrn7y.js → auth-rs3v36hp.js} +2 -4
- package/dist/chunks/{options-t32e1bbt.js → auth-t32e1bbt.js} +1 -1
- package/dist/chunks/{options-f96zeczf.js → auth-te8jwba1.js} +2 -2
- package/dist/chunks/{options-3te71694.js → auth-yjbzmfhm.js} +5 -5
- package/dist/chunks/{options-j1bh82b8.js → auth-yk755swr.js} +2 -2
- package/dist/chunks/{options-dczgzh3x.js → auth-yqhefp4s.js} +2 -2
- package/dist/chunks/{options-82vbxjqd.js → auth-z9zyd4qg.js} +4 -4
- package/dist/chunks/{options-f0kpaq89.js → auth-zcvan105.js} +1 -1
- package/dist/chunks/{options-9f2aybte.js → auth-zkya65ny.js} +6 -6
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.js +56 -56
- 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 -7
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.js +2 -2
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +2 -2
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.d.ts +1 -1
- package/dist/handlers/persistent-pty.js +13 -13
- package/dist/handlers/plugin.js +6 -6
- package/dist/handlers/project.js +6 -6
- package/dist/handlers/provider.js +6 -6
- package/dist/handlers/pty-socket.js +1 -1
- package/dist/handlers/pty.js +8 -8
- package/dist/handlers/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 -50
- package/dist/location.js +4 -4
- 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/pairing.js +1 -1
- package/dist/process.js +57 -57
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +4 -2
- package/dist/routes.js +53 -53
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +1 -1
- package/dist/workerd.js +57 -57
- package/package.json +11 -11
- /package/dist/chunks/{options-9rqn6x4v.js → auth-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{options-bd8755ek.js → auth-bd8755ek.js} +0 -0
- /package/dist/chunks/{options-q187pxxd.js → auth-q187pxxd.js} +0 -0
- /package/dist/chunks/{options-q4bn6dy8.js → auth-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{options-smaf4a18.js → auth-smaf4a18.js} +0 -0
- /package/dist/chunks/{options-xthc02cw.js → auth-xthc02cw.js} +0 -0
- /package/dist/chunks/{options-yc7nft6q.js → auth-yc7nft6q.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { LocationMiddleware } from "./location";
|
|
|
2
2
|
import { FormLocationMiddleware } from "./middleware/form-location";
|
|
3
3
|
import { SessionLocationMiddleware } from "./middleware/session-location";
|
|
4
4
|
export declare const Api: import("@opencode/protocol/api").Api<LocationMiddleware, import("effect/http-api/HttpApiMiddleware").HttpApiMiddleware<import("@opencode/core/instance").Services, readonly [typeof import("@opencode/protocol/errors").LocationNotFoundError], never>, FormLocationMiddleware, import("effect/http-api/HttpApiMiddleware").HttpApiMiddleware<import("@opencode/core/instance").Services, readonly [typeof import("@opencode/protocol/errors").InvalidRequestError, typeof import("@opencode/protocol/errors").SessionNotFoundError, typeof import("@opencode/protocol/errors").LocationNotFoundError], never>, SessionLocationMiddleware, import("effect/http-api/HttpApiMiddleware").HttpApiMiddleware<import("@opencode/core/instance").Services, readonly [typeof import("@opencode/protocol/errors").InvalidRequestError, typeof import("@opencode/protocol/errors").SessionNotFoundError, typeof import("@opencode/protocol/errors").LocationNotFoundError], never>, import("effect/http-api/HttpApiGroup").HttpApiGroup<"server.event", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"event.subscribe", "GET", "/api/event", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
5
|
-
readonly types: import("effect/Schema").optional<import("effect/Schema").ArrayEnsure<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ("agent.updated" | "artifact.updated" | "command.updated" | "config.updated" | "credential.switched" | "credential.updated" | "filesystem.changed" | "form.cancelled" | "form.created" | "form.replied" | "installation.update-available" | "installation.updated" | "integration.updated" | "location.shutdown" | "mcp.resources.changed" | "mcp.status.changed" | "model.updated" | "models-dev.refreshed" | "permission.asked" | "permission.replied" | "persistent-pty.added" | "persistent-pty.removed" | "persistent-pty.updated" | "plugin.updated" | "project.updated" | "provider.updated" | "pty.created" | "pty.deleted" | "pty.exited" | "pty.updated" | "reference.updated" | "session.agent.selected" | "session.archived" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.compaction.started" | "session.created" | "session.deleted" | "session.execution.failed" | "session.execution.interrupted" | "session.execution.started" | "session.execution.succeeded" | "session.forked" | "session.idle" | "session.inbox.cancelled" | "session.inbox.delivered" | "session.inbox.delivery.changed" | "session.inbox.enqueued" | "session.instructions.updated" | "session.metadata.updated" | "session.model.selected" | "session.moved" | "session.permissions" | "session.reasoning.delta" | "session.reasoning.ended" | "session.reasoning.started" | "session.renamed" | "session.retry.scheduled" | "session.revert.cleared" | "session.revert.committed" | "session.revert.staged" | "session.shell.ended" | "session.shell.started" | "session.skill.activated" | "session.status" | "session.step.ended" | "session.step.failed" | "session.step.started" | "session.step.streamed" | "session.synthetic" | "session.text.delta" | "session.text.ended" | "session.text.started" | "session.tool.called" | "session.tool.failed" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.input.started" | "session.tool.progress" | "session.tool.success" | "session.unarchived" | "session.usage.updated" | "session.viewed" | "shell.created" | "shell.deleted" | "shell.exited" | "skill.updated" | "tui.command.execute" | "tui.prompt.append" | "tui.session.select" | "tui.toast.show" | "vcs.branch.updated" | "websearch.updated" | "worktree.resolved" | "worktree.updated")[]>, import("effect/Schema").TemplateLiteral<readonly ["rpc.", import("effect/Schema").String]>]>>>;
|
|
5
|
+
readonly types: import("effect/Schema").optional<import("effect/Schema").ArrayEnsure<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ("agent.updated" | "artifact.updated" | "command.updated" | "config.updated" | "credential.switched" | "credential.updated" | "experimental.mcp.event" | "filesystem.changed" | "form.cancelled" | "form.created" | "form.replied" | "installation.update-available" | "installation.updated" | "integration.updated" | "location.shutdown" | "mcp.resources.changed" | "mcp.status.changed" | "model.updated" | "models-dev.refreshed" | "permission.asked" | "permission.replied" | "persistent-pty.added" | "persistent-pty.removed" | "persistent-pty.updated" | "plugin.updated" | "project.updated" | "provider.updated" | "pty.created" | "pty.deleted" | "pty.exited" | "pty.updated" | "reference.updated" | "session.agent.selected" | "session.archived" | "session.compaction.delta" | "session.compaction.ended" | "session.compaction.failed" | "session.compaction.started" | "session.created" | "session.deleted" | "session.execution.failed" | "session.execution.interrupted" | "session.execution.started" | "session.execution.succeeded" | "session.forked" | "session.idle" | "session.inbox.cancelled" | "session.inbox.delivered" | "session.inbox.delivery.changed" | "session.inbox.enqueued" | "session.instructions.updated" | "session.metadata.updated" | "session.model.selected" | "session.moved" | "session.permissions" | "session.reasoning.delta" | "session.reasoning.ended" | "session.reasoning.started" | "session.renamed" | "session.retry.scheduled" | "session.revert.cleared" | "session.revert.committed" | "session.revert.staged" | "session.shell.ended" | "session.shell.started" | "session.skill.activated" | "session.status" | "session.step.ended" | "session.step.failed" | "session.step.first-token" | "session.step.started" | "session.step.streamed" | "session.synthetic" | "session.text.delta" | "session.text.ended" | "session.text.started" | "session.tool.called" | "session.tool.failed" | "session.tool.input.delta" | "session.tool.input.ended" | "session.tool.input.started" | "session.tool.progress" | "session.tool.success" | "session.unarchived" | "session.usage.updated" | "session.viewed" | "shell.created" | "shell.deleted" | "shell.exited" | "skill.updated" | "tui.command.execute" | "tui.prompt.append" | "tui.session.select" | "tui.toast.show" | "vcs.branch.updated" | "websearch.updated" | "worktree.resolved" | "worktree.updated")[]>, import("effect/Schema").TemplateLiteral<readonly ["rpc.", import("effect/Schema").String]>]>>>;
|
|
6
6
|
}>>, never, never, import("effect/http-api/HttpApiSchema").StreamSse<import("effect/http-api/HttpApiSchema").SseEventFromData<import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
7
7
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
8
8
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -93,12 +93,22 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
93
93
|
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
94
94
|
}>, never, never>;
|
|
95
95
|
}>>, never, never>;
|
|
96
|
-
readonly data: import("effect/Schema").Struct<{
|
|
96
|
+
readonly data: import("effect/Schema").Struct<{
|
|
97
|
+
readonly integrationID: import("effect/Schema").brand<import("effect/Schema").String, "Integration.ID">;
|
|
98
|
+
readonly credentialID: import("effect/Schema").brand<import("effect/Schema").String, "Credential.ID"> & {
|
|
99
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
100
|
+
};
|
|
101
|
+
}>;
|
|
97
102
|
}> & {
|
|
98
103
|
type: "credential.updated";
|
|
99
104
|
durability: "ephemeral";
|
|
100
105
|
durable: undefined;
|
|
101
|
-
data: import("effect/Schema").Struct<{
|
|
106
|
+
data: import("effect/Schema").Struct<{
|
|
107
|
+
readonly integrationID: import("effect/Schema").brand<import("effect/Schema").String, "Integration.ID">;
|
|
108
|
+
readonly credentialID: import("effect/Schema").brand<import("effect/Schema").String, "Credential.ID"> & {
|
|
109
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
110
|
+
};
|
|
111
|
+
}>;
|
|
102
112
|
}, import("effect/Schema").Struct<{
|
|
103
113
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
104
114
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -2539,6 +2549,62 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2539
2549
|
readonly snapshot: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Snapshot.ID">>, never, never>;
|
|
2540
2550
|
readonly started: import("effect/Schema").Int;
|
|
2541
2551
|
}>;
|
|
2552
|
+
}, import("effect/Schema").Struct<{
|
|
2553
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
2554
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
2555
|
+
};
|
|
2556
|
+
readonly created: import("effect/Schema").Finite;
|
|
2557
|
+
readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
2558
|
+
readonly type: import("effect/Schema").Literal<"session.step.first-token">;
|
|
2559
|
+
readonly durable: import("effect/Schema").Struct<{
|
|
2560
|
+
readonly aggregateID: import("effect/Schema").String;
|
|
2561
|
+
readonly seq: import("effect/Schema").brand<import("effect/Schema").Int, "Event.Seq">;
|
|
2562
|
+
readonly version: import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").Int, "Event.Version">>, import("effect/Schema").Literal<number>, never, never>;
|
|
2563
|
+
}>;
|
|
2564
|
+
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
2565
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
2566
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
2567
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2568
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2569
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
2570
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2571
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2572
|
+
}>, never, never>;
|
|
2573
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
2574
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
2575
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
2576
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2577
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2578
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
2579
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2580
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
2581
|
+
}>, never, never>;
|
|
2582
|
+
}>>, never, never>;
|
|
2583
|
+
readonly data: import("effect/Schema").Struct<{
|
|
2584
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2585
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2586
|
+
};
|
|
2587
|
+
readonly assistantMessageID: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2588
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2589
|
+
fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2590
|
+
};
|
|
2591
|
+
}>;
|
|
2592
|
+
}> & {
|
|
2593
|
+
type: "session.step.first-token";
|
|
2594
|
+
durability: "durable";
|
|
2595
|
+
durable: {
|
|
2596
|
+
readonly version: number;
|
|
2597
|
+
readonly aggregate: string;
|
|
2598
|
+
};
|
|
2599
|
+
data: import("effect/Schema").Struct<{
|
|
2600
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
2601
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2602
|
+
};
|
|
2603
|
+
readonly assistantMessageID: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
2604
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2605
|
+
fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
2606
|
+
};
|
|
2607
|
+
}>;
|
|
2542
2608
|
}, import("effect/Schema").Struct<{
|
|
2543
2609
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
2544
2610
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6371,6 +6437,56 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
6371
6437
|
data: import("effect/Schema").Struct<{
|
|
6372
6438
|
readonly server: import("effect/Schema").String;
|
|
6373
6439
|
}>;
|
|
6440
|
+
}, import("effect/Schema").Struct<{
|
|
6441
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
6442
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
6443
|
+
};
|
|
6444
|
+
readonly created: import("effect/Schema").Finite;
|
|
6445
|
+
readonly metadata: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>>, import("effect/Schema").optionalKey<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>, never, never>;
|
|
6446
|
+
readonly type: import("effect/Schema").Literal<"experimental.mcp.event">;
|
|
6447
|
+
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
6448
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6449
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6450
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6451
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6452
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6453
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6454
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6455
|
+
}>, never, never>;
|
|
6456
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
6457
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
6458
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6459
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6460
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6461
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
6462
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6463
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6464
|
+
}>, never, never>;
|
|
6465
|
+
}>>, never, never>;
|
|
6466
|
+
readonly data: import("effect/Schema").Struct<{
|
|
6467
|
+
readonly id: import("effect/Schema").String;
|
|
6468
|
+
readonly server: import("effect/Schema").String;
|
|
6469
|
+
readonly name: import("effect/Schema").String;
|
|
6470
|
+
readonly eventId: import("effect/Schema").String;
|
|
6471
|
+
readonly timestamp: import("effect/Schema").String;
|
|
6472
|
+
readonly data: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
6473
|
+
readonly cursor: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
6474
|
+
readonly truncated: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
6475
|
+
}>;
|
|
6476
|
+
}> & {
|
|
6477
|
+
type: "experimental.mcp.event";
|
|
6478
|
+
durability: "ephemeral";
|
|
6479
|
+
durable: undefined;
|
|
6480
|
+
data: import("effect/Schema").Struct<{
|
|
6481
|
+
readonly id: import("effect/Schema").String;
|
|
6482
|
+
readonly server: import("effect/Schema").String;
|
|
6483
|
+
readonly name: import("effect/Schema").String;
|
|
6484
|
+
readonly eventId: import("effect/Schema").String;
|
|
6485
|
+
readonly timestamp: import("effect/Schema").String;
|
|
6486
|
+
readonly data: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
6487
|
+
readonly cursor: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
6488
|
+
readonly truncated: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
6489
|
+
}>;
|
|
6374
6490
|
}, import("effect/Schema").Struct<{
|
|
6375
6491
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
6376
6492
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7345,6 +7461,26 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7345
7461
|
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
7346
7462
|
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
7347
7463
|
};
|
|
7464
|
+
} | {
|
|
7465
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7466
|
+
readonly created: number;
|
|
7467
|
+
readonly metadata?: {
|
|
7468
|
+
readonly [x: string]: unknown;
|
|
7469
|
+
} | undefined;
|
|
7470
|
+
readonly type: "session.step.first-token";
|
|
7471
|
+
readonly durable: {
|
|
7472
|
+
readonly aggregateID: string;
|
|
7473
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7474
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7475
|
+
};
|
|
7476
|
+
readonly location?: {
|
|
7477
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7478
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7479
|
+
} | undefined;
|
|
7480
|
+
readonly data: {
|
|
7481
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
7482
|
+
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
7483
|
+
};
|
|
7348
7484
|
} | {
|
|
7349
7485
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7350
7486
|
readonly created: number;
|
|
@@ -7769,7 +7905,31 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7769
7905
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7770
7906
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7771
7907
|
} | undefined;
|
|
7772
|
-
readonly data: {
|
|
7908
|
+
readonly data: {
|
|
7909
|
+
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
7910
|
+
readonly credentialID: string & import("effect/Brand").Brand<"Credential.ID">;
|
|
7911
|
+
};
|
|
7912
|
+
} | {
|
|
7913
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7914
|
+
readonly created: number;
|
|
7915
|
+
readonly metadata?: {
|
|
7916
|
+
readonly [x: string]: unknown;
|
|
7917
|
+
} | undefined;
|
|
7918
|
+
readonly type: "experimental.mcp.event";
|
|
7919
|
+
readonly location?: {
|
|
7920
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7921
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7922
|
+
} | undefined;
|
|
7923
|
+
readonly data: {
|
|
7924
|
+
readonly id: string;
|
|
7925
|
+
readonly server: string;
|
|
7926
|
+
readonly name: string;
|
|
7927
|
+
readonly eventId: string;
|
|
7928
|
+
readonly timestamp: string;
|
|
7929
|
+
readonly data: import("effect/Schema").Json;
|
|
7930
|
+
readonly cursor: string | null;
|
|
7931
|
+
readonly truncated?: boolean | undefined;
|
|
7932
|
+
};
|
|
7773
7933
|
} | {
|
|
7774
7934
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7775
7935
|
readonly created: number;
|
package/dist/api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/auth-j87xz9bt.js";
|
|
4
|
+
import"./chunks/auth-htyf2qs7.js";
|
|
5
|
+
import"./chunks/auth-b3bmdkga.js";
|
|
6
|
+
import"./chunks/auth-50bbk3b2.js";
|
|
7
|
+
import"./chunks/auth-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
awaitPlugins2,
|
|
3
2
|
response2
|
|
4
|
-
} from "./
|
|
3
|
+
} from "./auth-50bbk3b2.js";
|
|
5
4
|
import {
|
|
6
5
|
Api2
|
|
7
|
-
} from "./
|
|
6
|
+
} from "./auth-j87xz9bt.js";
|
|
8
7
|
|
|
9
8
|
// src/handlers/usage.ts
|
|
10
9
|
import { UsageLimits } from "@opencode/core/usage-limits";
|
|
@@ -13,7 +12,6 @@ import { Effect } from "effect";
|
|
|
13
12
|
import { HttpApiBuilder } from "effect/http-api";
|
|
14
13
|
var UsageHandler2 = HttpApiBuilder.group(Api2, "server.usage", (handlers) => Effect.gen(function* () {
|
|
15
14
|
return handlers.handle("usage.limits", Effect.fn("server.usage.limits")(function* () {
|
|
16
|
-
yield* awaitPlugins2;
|
|
17
15
|
const limits = yield* UsageLimits.Service;
|
|
18
16
|
return yield* response2(limits.get().pipe(Effect.map((info) => info ?? null), Effect.mapError((error) => new ServiceUnavailableError({ message: error.message, service: "opencode" }))));
|
|
19
17
|
}));
|
|
@@ -1,17 +1,17 @@
|
|
|
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: () => Service3,
|
|
11
11
|
SubscriberCapacity: () => SubscriberCapacity2,
|
|
12
12
|
SubscriberOverflowError: () => SubscriberOverflowError2,
|
|
13
13
|
frame: () => frame2,
|
|
14
|
-
layer: () =>
|
|
14
|
+
layer: () => layer2,
|
|
15
15
|
make: () => make4
|
|
16
16
|
});
|
|
17
17
|
import { Bus } from "@opencode/core/bus";
|
|
@@ -30,7 +30,7 @@ class EncodingError2 extends Schema.TaggedError()("EventFeed.EncodingError", {
|
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service3 extends Context.Service()("@opencode/server/EventFeed") {
|
|
34
34
|
}
|
|
35
35
|
function frame2(event) {
|
|
36
36
|
return `data: ${JSON.stringify(event)}
|
|
@@ -72,13 +72,13 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
72
72
|
});
|
|
73
73
|
const unsubscribe = yield* observe(publish);
|
|
74
74
|
yield* Effect.addFinalizer(() => unsubscribe);
|
|
75
|
-
return
|
|
75
|
+
return Service3.of({
|
|
76
76
|
subscribe: (types) => Effect.acquireRelease(Queue.dropping(capacity).pipe(Effect.tap((queue) => Effect.sync(() => subscribers.set(queue, types?.length ? new Set(types) : undefined)))), (queue) => Effect.sync(() => subscribers.delete(queue)).pipe(Effect.andThen(Queue.shutdown(queue)), Effect.asVoid)).pipe(Effect.map(Stream.fromQueue))
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var layer2 = Layer.effect(Service3, Effect.gen(function* () {
|
|
80
80
|
const bus = yield* Bus.Service;
|
|
81
81
|
return yield* make4(bus.listen);
|
|
82
82
|
}));
|
|
83
83
|
|
|
84
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2,
|
|
84
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service3, frame2, make4, layer2, exports_event_feed };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-smaf4a18.js";
|
|
4
4
|
|
|
5
5
|
// src/location.ts
|
|
6
6
|
import { FileSystem } from "@opencode/core/filesystem";
|
|
@@ -59,7 +59,7 @@ function decode(input) {
|
|
|
59
59
|
return input;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
var
|
|
62
|
+
var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
63
63
|
const locations = yield* LocationServiceMap.Service;
|
|
64
64
|
return LocationMiddleware2.of((effect) => Effect.gen(function* () {
|
|
65
65
|
const request = yield* HttpServerRequest.HttpServerRequest;
|
|
@@ -67,4 +67,4 @@ var layer2 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
|
|
|
67
67
|
}));
|
|
68
68
|
}));
|
|
69
69
|
|
|
70
|
-
export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2,
|
|
70
|
+
export { LocationMiddleware2, locationErrors2, awaitPlugins2, response2, sessionInfo2, requestRef2, layer4 };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-j87xz9bt.js";
|
|
4
4
|
|
|
5
5
|
// src/handlers/rpc.ts
|
|
6
6
|
import { Rpc } from "@opencode/core/rpc";
|
|
7
|
-
import { Plugin } from "@opencode/core/plugin";
|
|
8
7
|
import { RpcError, RpcInternalError } from "@opencode/protocol/errors";
|
|
9
8
|
import { Effect } from "effect";
|
|
10
9
|
import { HttpApiBuilder } from "effect/http-api";
|
|
11
10
|
var RpcHandler2 = HttpApiBuilder.group(Api2, "server.rpc", (handlers) => handlers.handle("rpc.call", ({ params, payload }) => Effect.gen(function* () {
|
|
12
|
-
yield* Plugin.awaitActivation;
|
|
13
11
|
const rpc = yield* Rpc.Service;
|
|
14
12
|
const output = yield* rpc.call(params.rpcID, params.method, payload.input);
|
|
15
13
|
return output === undefined ? {} : { output };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2,
|
|
3
3
|
failedMessageDecode2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./auth-smaf4a18.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./auth-j87xz9bt.js";
|
|
8
8
|
import {
|
|
9
9
|
wantsMediaRefs2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./auth-xthc02cw.js";
|
|
11
11
|
|
|
12
12
|
// src/handlers/message.ts
|
|
13
13
|
import { SessionMessage } from "@opencode/core/session/message";
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./auth-yqhefp4s.js";
|
|
4
4
|
import {
|
|
5
5
|
VoiceHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./auth-d0edqfxx.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./auth-5s0wnsg4.js";
|
|
10
10
|
import {
|
|
11
11
|
ModelHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./auth-rha2aq18.js";
|
|
13
13
|
import {
|
|
14
14
|
ProviderHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./auth-az0609r6.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./auth-gyryr0mf.js";
|
|
19
19
|
import {
|
|
20
20
|
PermissionHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./auth-btahnm2b.js";
|
|
22
22
|
import {
|
|
23
23
|
FileSystemHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./auth-bm3bken1.js";
|
|
25
25
|
import {
|
|
26
26
|
FormHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./auth-f559fakr.js";
|
|
28
28
|
import {
|
|
29
29
|
CommandHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./auth-4q6e7fh8.js";
|
|
31
31
|
import {
|
|
32
32
|
SkillHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./auth-ny1j968n.js";
|
|
34
34
|
import {
|
|
35
35
|
RpcHandler2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./auth-5cpb32hf.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
layer2
|
|
39
|
+
} from "./auth-3p9jwgak.js";
|
|
40
40
|
import {
|
|
41
41
|
EventHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./auth-n1423xpw.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./auth-8mj7kvhm.js";
|
|
46
46
|
import {
|
|
47
47
|
PluginHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./auth-2eaky32g.js";
|
|
49
49
|
import {
|
|
50
50
|
ServerHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./auth-zkya65ny.js";
|
|
52
52
|
import {
|
|
53
53
|
DebugHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./auth-qcg3sqtb.js";
|
|
55
55
|
import {
|
|
56
56
|
PtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./auth-6kawhtwy.js";
|
|
58
58
|
import {
|
|
59
59
|
PersistentPtyHandler2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./auth-a4mwssda.js";
|
|
61
61
|
import {
|
|
62
62
|
ShellHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./auth-qd0r787n.js";
|
|
64
64
|
import {
|
|
65
65
|
ReferenceHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./auth-te8jwba1.js";
|
|
67
67
|
import {
|
|
68
68
|
LocationHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./auth-zcvan105.js";
|
|
70
70
|
import {
|
|
71
71
|
IntegrationHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./auth-91858wp1.js";
|
|
73
73
|
import {
|
|
74
74
|
WebSearchHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./auth-kkdkqt8j.js";
|
|
76
76
|
import {
|
|
77
77
|
UsageHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./auth-09kw3a77.js";
|
|
79
79
|
import {
|
|
80
80
|
McpHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./auth-z9zyd4qg.js";
|
|
82
82
|
import {
|
|
83
83
|
CredentialHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./auth-yk755swr.js";
|
|
85
85
|
import {
|
|
86
86
|
ProjectHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./auth-a8jcac9a.js";
|
|
88
88
|
import {
|
|
89
89
|
WorktreeHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./auth-enp1bp7r.js";
|
|
91
91
|
import {
|
|
92
92
|
VcsHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./auth-rs3v36hp.js";
|
|
94
94
|
import {
|
|
95
95
|
MigrationHandler2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./auth-6z9pvq7p.js";
|
|
97
97
|
import {
|
|
98
98
|
ConfigHandler2
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./auth-cezwbsk5.js";
|
|
100
100
|
|
|
101
101
|
// src/handlers.ts
|
|
102
102
|
import { Layer } from "effect";
|
|
103
|
-
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(
|
|
103
|
+
var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer2)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
|
|
104
104
|
|
|
105
105
|
export { handlers2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./auth-50bbk3b2.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./auth-j87xz9bt.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./auth-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2,
|
|
15
15
|
holdLocation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./auth-q187pxxd.js";
|
|
17
17
|
|
|
18
18
|
// src/handlers/pty.ts
|
|
19
19
|
import { Pty } from "@opencode/core/pty";
|