@opencode/server 0.0.0-dev-1315 → 0.0.0-dev-1318
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 +249 -1
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{service-status-4apj6a8e.js → content-headers-12zwgdzg.js} +2 -2
- package/dist/chunks/{service-status-aqn08g26.js → content-headers-1hbt85nb.js} +12 -12
- package/dist/chunks/{service-status-e6e4kz0w.js → content-headers-39nnfjx1.js} +4 -4
- package/dist/chunks/{service-status-61swgdv0.js → content-headers-3b1fgamq.js} +4 -4
- package/dist/chunks/{service-status-3p9jwgak.js → content-headers-3p9jwgak.js} +1 -1
- package/dist/chunks/{service-status-pv4dnzzq.js → content-headers-42tqx64k.js} +1 -1
- package/dist/chunks/{service-status-b87bs0cf.js → content-headers-4zne1sdj.js} +2 -2
- package/dist/chunks/{service-status-g23ffrnz.js → content-headers-50kbksvb.js} +2 -2
- package/dist/chunks/{service-status-7x6cg3xs.js → content-headers-6kxghskv.js} +2 -2
- package/dist/chunks/{service-status-7b9xm1qg.js → content-headers-7b9xm1qg.js} +1 -1
- package/dist/chunks/{service-status-7dtbad8d.js → content-headers-7dtbad8d.js} +1 -1
- package/dist/chunks/{service-status-g80pvn6e.js → content-headers-7nstrb2v.js} +2 -2
- package/dist/chunks/{service-status-edwk6ehd.js → content-headers-7p3x2xdt.js} +1 -1
- package/dist/chunks/{service-status-k26h7zjg.js → content-headers-7w7s37ab.js} +2 -2
- package/dist/chunks/{service-status-78rcgzsr.js → content-headers-7ydfwv45.js} +4 -1
- package/dist/chunks/{service-status-20wvj9q6.js → content-headers-8g1x5cgg.js} +2 -2
- package/dist/chunks/{service-status-8sb6qqpn.js → content-headers-8sb6qqpn.js} +1 -1
- package/dist/chunks/{service-status-wh07bcjv.js → content-headers-8yrm3yp0.js} +1 -1
- package/dist/chunks/{service-status-9cd3a4b8.js → content-headers-9cd3a4b8.js} +1 -1
- package/dist/chunks/{service-status-b1x3j2e8.js → content-headers-9qbtnftt.js} +2 -2
- package/dist/chunks/{service-status-zrptb2x8.js → content-headers-b315n07t.js} +2 -2
- package/dist/chunks/{service-status-q8jgva1w.js → content-headers-b6cxph1w.js} +4 -4
- package/dist/chunks/{service-status-djr0jy89.js → content-headers-djr0jy89.js} +1 -1
- package/dist/chunks/{service-status-19kn6hvf.js → content-headers-f5qn4kdg.js} +4 -4
- package/dist/chunks/{service-status-gp51b0m6.js → content-headers-fepz0ta2.js} +3 -3
- package/dist/chunks/{service-status-p9wp66hf.js → content-headers-h8savpc9.js} +1 -1
- package/dist/chunks/{service-status-943hkv78.js → content-headers-ha8aeh2n.js} +33 -33
- package/dist/chunks/{service-status-myqk22k5.js → content-headers-hmwn16zp.js} +2 -2
- package/dist/chunks/{service-status-p4zkxzv7.js → content-headers-j2hee7a4.js} +1 -1
- package/dist/chunks/{service-status-j4at0y5c.js → content-headers-j4at0y5c.js} +1 -1
- package/dist/chunks/{service-status-j80tzjj3.js → content-headers-j80tzjj3.js} +1 -1
- package/dist/chunks/{service-status-v0z8pce5.js → content-headers-jr0zs68z.js} +2 -2
- package/dist/chunks/{service-status-kqr36gas.js → content-headers-kqr36gas.js} +1 -1
- package/dist/chunks/{service-status-s8t5gq7c.js → content-headers-n0a33cnc.js} +3 -3
- package/dist/chunks/{service-status-n6ypjnhz.js → content-headers-n6ypjnhz.js} +1 -1
- package/dist/chunks/{service-status-p3ekc874.js → content-headers-nj4x4kma.js} +2 -2
- package/dist/chunks/{service-status-b7yt2ykh.js → content-headers-pcsx5fe9.js} +2 -2
- package/dist/chunks/{service-status-4d81c38p.js → content-headers-pk035j5m.js} +4 -4
- package/dist/chunks/{service-status-t8azv5ge.js → content-headers-pmr95crm.js} +2 -2
- package/dist/chunks/{service-status-qahj7606.js → content-headers-qahj7606.js} +1 -1
- package/dist/chunks/{service-status-4gbck4qg.js → content-headers-qdrpva4m.js} +2 -2
- package/dist/chunks/{service-status-j4q9p6jp.js → content-headers-qmja1r5h.js} +8 -8
- package/dist/chunks/{service-status-9wqhmdh7.js → content-headers-qqjx7zqw.js} +2 -2
- package/dist/chunks/{service-status-z14v687a.js → content-headers-r0a5hzq7.js} +2 -2
- package/dist/chunks/{service-status-t32e1bbt.js → content-headers-t32e1bbt.js} +1 -1
- package/dist/chunks/{service-status-t62b1gmw.js → content-headers-t62b1gmw.js} +2 -2
- package/dist/chunks/{service-status-4r2ye500.js → content-headers-tze85g2y.js} +2 -2
- package/dist/chunks/{service-status-6t6fd9bq.js → content-headers-v1nm30fe.js} +2 -2
- package/dist/chunks/{service-status-8n1ypg70.js → content-headers-wnw6k7m6.js} +3 -3
- package/dist/chunks/{service-status-hvn8tnxr.js → content-headers-xa0sy2cm.js} +4 -4
- package/dist/chunks/{service-status-d0advawr.js → content-headers-xtx0rz3e.js} +2 -2
- package/dist/chunks/{service-status-cz1v67dj.js → content-headers-yg5fyz8s.js} +9 -9
- package/dist/chunks/{service-status-g97h7k0s.js → content-headers-z3gjns4k.js} +1 -1
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +1 -1
- package/dist/fetch.js +61 -61
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/artifact.js +3 -3
- package/dist/handlers/automation.js +2 -2
- package/dist/handlers/blob.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 +8 -8
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.d.ts +1 -0
- 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 +15 -15
- 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/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.js +52 -52
- package/dist/location.js +2 -2
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/defect-response.js +1 -1
- 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 +62 -62
- package/dist/range.js +1 -1
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +56 -56
- package/dist/server-info.js +1 -1
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +62 -62
- package/package.json +8 -8
- /package/dist/chunks/{service-status-9rqn6x4v.js → content-headers-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-status-bd8755ek.js → content-headers-bd8755ek.js} +0 -0
- /package/dist/chunks/{service-status-n26yr6pw.js → content-headers-n26yr6pw.js} +0 -0
- /package/dist/chunks/{service-status-q187pxxd.js → content-headers-q187pxxd.js} +0 -0
- /package/dist/chunks/{service-status-q4bn6dy8.js → content-headers-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{service-status-smaf4a18.js → content-headers-smaf4a18.js} +0 -0
- /package/dist/chunks/{service-status-xthc02cw.js → content-headers-xthc02cw.js} +0 -0
- /package/dist/chunks/{service-status-yc7nft6q.js → content-headers-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" | "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]>]>>>;
|
|
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.job.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">;
|
|
@@ -5539,6 +5539,182 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
5539
5539
|
ascending: (id?: string) => string & import("effect/Brand").Brand<"Shell.ID">;
|
|
5540
5540
|
};
|
|
5541
5541
|
}>;
|
|
5542
|
+
}, import("effect/Schema").Struct<{
|
|
5543
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
5544
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5545
|
+
};
|
|
5546
|
+
readonly created: import("effect/Schema").Finite;
|
|
5547
|
+
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>;
|
|
5548
|
+
readonly type: import("effect/Schema").Literal<"experimental.job.updated">;
|
|
5549
|
+
readonly location: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
5550
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
5551
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
5552
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5553
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5554
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
5555
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5556
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5557
|
+
}>, never, never>;
|
|
5558
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
5559
|
+
readonly directory: import("effect/Schema").brand<import("effect/Schema").String, "AbsolutePath">;
|
|
5560
|
+
readonly workspaceID: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
5561
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5562
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5563
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Workspace.ID"> & {
|
|
5564
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5565
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5566
|
+
}>, never, never>;
|
|
5567
|
+
}>>, never, never>;
|
|
5568
|
+
readonly data: import("effect/Schema").Struct<{
|
|
5569
|
+
readonly info: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
5570
|
+
readonly id: import("effect/Schema").String;
|
|
5571
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5572
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5573
|
+
};
|
|
5574
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5575
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5576
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5577
|
+
readonly started: import("effect/Schema").Finite;
|
|
5578
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5579
|
+
}>;
|
|
5580
|
+
readonly kind: import("effect/Schema").tag<"shell">;
|
|
5581
|
+
readonly shellID: import("effect/Schema").String;
|
|
5582
|
+
readonly command: import("effect/Schema").String;
|
|
5583
|
+
}>, import("effect/Schema").Struct<{
|
|
5584
|
+
readonly id: import("effect/Schema").String;
|
|
5585
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5586
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5587
|
+
};
|
|
5588
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5589
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5590
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5591
|
+
readonly started: import("effect/Schema").Finite;
|
|
5592
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5593
|
+
}>;
|
|
5594
|
+
readonly kind: import("effect/Schema").tag<"subagent">;
|
|
5595
|
+
readonly childSessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5596
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5597
|
+
};
|
|
5598
|
+
readonly agent: import("effect/Schema").String;
|
|
5599
|
+
readonly description: import("effect/Schema").String;
|
|
5600
|
+
}>, import("effect/Schema").Struct<{
|
|
5601
|
+
readonly id: import("effect/Schema").String;
|
|
5602
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5603
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5604
|
+
};
|
|
5605
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5606
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5607
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5608
|
+
readonly started: import("effect/Schema").Finite;
|
|
5609
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5610
|
+
}>;
|
|
5611
|
+
readonly kind: import("effect/Schema").tag<"image">;
|
|
5612
|
+
readonly path: import("effect/Schema").String;
|
|
5613
|
+
readonly model: import("effect/Schema").String;
|
|
5614
|
+
}>, import("effect/Schema").Struct<{
|
|
5615
|
+
readonly id: import("effect/Schema").String;
|
|
5616
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5617
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5618
|
+
};
|
|
5619
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5620
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5621
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5622
|
+
readonly started: import("effect/Schema").Finite;
|
|
5623
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5624
|
+
}>;
|
|
5625
|
+
readonly kind: import("effect/Schema").tag<"video">;
|
|
5626
|
+
readonly path: import("effect/Schema").String;
|
|
5627
|
+
}>, import("effect/Schema").Struct<{
|
|
5628
|
+
readonly id: import("effect/Schema").String;
|
|
5629
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5630
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5631
|
+
};
|
|
5632
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5633
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5634
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5635
|
+
readonly started: import("effect/Schema").Finite;
|
|
5636
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5637
|
+
}>;
|
|
5638
|
+
readonly kind: import("effect/Schema").tag<"codemode">;
|
|
5639
|
+
}>]>;
|
|
5640
|
+
}>;
|
|
5641
|
+
}> & {
|
|
5642
|
+
type: "experimental.job.updated";
|
|
5643
|
+
durability: "ephemeral";
|
|
5644
|
+
durable: undefined;
|
|
5645
|
+
data: import("effect/Schema").Struct<{
|
|
5646
|
+
readonly info: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
5647
|
+
readonly id: import("effect/Schema").String;
|
|
5648
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5649
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5650
|
+
};
|
|
5651
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5652
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5653
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5654
|
+
readonly started: import("effect/Schema").Finite;
|
|
5655
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5656
|
+
}>;
|
|
5657
|
+
readonly kind: import("effect/Schema").tag<"shell">;
|
|
5658
|
+
readonly shellID: import("effect/Schema").String;
|
|
5659
|
+
readonly command: import("effect/Schema").String;
|
|
5660
|
+
}>, import("effect/Schema").Struct<{
|
|
5661
|
+
readonly id: import("effect/Schema").String;
|
|
5662
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5663
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5664
|
+
};
|
|
5665
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5666
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5667
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5668
|
+
readonly started: import("effect/Schema").Finite;
|
|
5669
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5670
|
+
}>;
|
|
5671
|
+
readonly kind: import("effect/Schema").tag<"subagent">;
|
|
5672
|
+
readonly childSessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5673
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5674
|
+
};
|
|
5675
|
+
readonly agent: import("effect/Schema").String;
|
|
5676
|
+
readonly description: import("effect/Schema").String;
|
|
5677
|
+
}>, import("effect/Schema").Struct<{
|
|
5678
|
+
readonly id: import("effect/Schema").String;
|
|
5679
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5680
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5681
|
+
};
|
|
5682
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5683
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5684
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5685
|
+
readonly started: import("effect/Schema").Finite;
|
|
5686
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5687
|
+
}>;
|
|
5688
|
+
readonly kind: import("effect/Schema").tag<"image">;
|
|
5689
|
+
readonly path: import("effect/Schema").String;
|
|
5690
|
+
readonly model: import("effect/Schema").String;
|
|
5691
|
+
}>, import("effect/Schema").Struct<{
|
|
5692
|
+
readonly id: import("effect/Schema").String;
|
|
5693
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5694
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5695
|
+
};
|
|
5696
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5697
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5698
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5699
|
+
readonly started: import("effect/Schema").Finite;
|
|
5700
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5701
|
+
}>;
|
|
5702
|
+
readonly kind: import("effect/Schema").tag<"video">;
|
|
5703
|
+
readonly path: import("effect/Schema").String;
|
|
5704
|
+
}>, import("effect/Schema").Struct<{
|
|
5705
|
+
readonly id: import("effect/Schema").String;
|
|
5706
|
+
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
5707
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5708
|
+
};
|
|
5709
|
+
readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
|
|
5710
|
+
readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
5711
|
+
readonly time: import("effect/Schema").Struct<{
|
|
5712
|
+
readonly started: import("effect/Schema").Finite;
|
|
5713
|
+
readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
|
|
5714
|
+
}>;
|
|
5715
|
+
readonly kind: import("effect/Schema").tag<"codemode">;
|
|
5716
|
+
}>]>;
|
|
5717
|
+
}>;
|
|
5542
5718
|
}, import("effect/Schema").Struct<{
|
|
5543
5719
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Event.ID"> & {
|
|
5544
5720
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7909,6 +8085,78 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
7909
8085
|
readonly integrationID: string & import("effect/Brand").Brand<"Integration.ID">;
|
|
7910
8086
|
readonly credentialID: string & import("effect/Brand").Brand<"Credential.ID">;
|
|
7911
8087
|
};
|
|
8088
|
+
} | {
|
|
8089
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
8090
|
+
readonly created: number;
|
|
8091
|
+
readonly metadata?: {
|
|
8092
|
+
readonly [x: string]: unknown;
|
|
8093
|
+
} | undefined;
|
|
8094
|
+
readonly type: "experimental.job.updated";
|
|
8095
|
+
readonly location?: {
|
|
8096
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
8097
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
8098
|
+
} | undefined;
|
|
8099
|
+
readonly data: {
|
|
8100
|
+
readonly info: {
|
|
8101
|
+
readonly id: string;
|
|
8102
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8103
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
8104
|
+
readonly title?: string | undefined;
|
|
8105
|
+
readonly time: {
|
|
8106
|
+
readonly started: number;
|
|
8107
|
+
readonly completed?: number | undefined;
|
|
8108
|
+
};
|
|
8109
|
+
readonly kind: "shell";
|
|
8110
|
+
readonly shellID: string;
|
|
8111
|
+
readonly command: string;
|
|
8112
|
+
} | {
|
|
8113
|
+
readonly id: string;
|
|
8114
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8115
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
8116
|
+
readonly title?: string | undefined;
|
|
8117
|
+
readonly time: {
|
|
8118
|
+
readonly started: number;
|
|
8119
|
+
readonly completed?: number | undefined;
|
|
8120
|
+
};
|
|
8121
|
+
readonly kind: "subagent";
|
|
8122
|
+
readonly childSessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8123
|
+
readonly agent: string;
|
|
8124
|
+
readonly description: string;
|
|
8125
|
+
} | {
|
|
8126
|
+
readonly id: string;
|
|
8127
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8128
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
8129
|
+
readonly title?: string | undefined;
|
|
8130
|
+
readonly time: {
|
|
8131
|
+
readonly started: number;
|
|
8132
|
+
readonly completed?: number | undefined;
|
|
8133
|
+
};
|
|
8134
|
+
readonly kind: "image";
|
|
8135
|
+
readonly path: string;
|
|
8136
|
+
readonly model: string;
|
|
8137
|
+
} | {
|
|
8138
|
+
readonly id: string;
|
|
8139
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8140
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
8141
|
+
readonly title?: string | undefined;
|
|
8142
|
+
readonly time: {
|
|
8143
|
+
readonly started: number;
|
|
8144
|
+
readonly completed?: number | undefined;
|
|
8145
|
+
};
|
|
8146
|
+
readonly kind: "video";
|
|
8147
|
+
readonly path: string;
|
|
8148
|
+
} | {
|
|
8149
|
+
readonly id: string;
|
|
8150
|
+
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
8151
|
+
readonly status: "cancelled" | "completed" | "error" | "running";
|
|
8152
|
+
readonly title?: string | undefined;
|
|
8153
|
+
readonly time: {
|
|
8154
|
+
readonly started: number;
|
|
8155
|
+
readonly completed?: number | undefined;
|
|
8156
|
+
};
|
|
8157
|
+
readonly kind: "codemode";
|
|
8158
|
+
};
|
|
8159
|
+
};
|
|
7912
8160
|
} | {
|
|
7913
8161
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7914
8162
|
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/content-headers-n0a33cnc.js";
|
|
4
|
+
import"./chunks/content-headers-n6ypjnhz.js";
|
|
5
|
+
import"./chunks/content-headers-qahj7606.js";
|
|
6
|
+
import"./chunks/content-headers-j80tzjj3.js";
|
|
7
|
+
import"./chunks/content-headers-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/skill.ts
|
|
9
9
|
import { Skill } from "@opencode/core/skill";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layer3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n6ypjnhz.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./content-headers-qahj7606.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./content-headers-n0a33cnc.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./content-headers-j4at0y5c.js";
|
|
16
16
|
import {
|
|
17
17
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./content-headers-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
20
|
layer4
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./content-headers-7dtbad8d.js";
|
|
22
22
|
import {
|
|
23
23
|
node2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./content-headers-kqr36gas.js";
|
|
25
25
|
import {
|
|
26
26
|
handlers2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./content-headers-ha8aeh2n.js";
|
|
28
28
|
import {
|
|
29
29
|
authorizationLayer2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./content-headers-7b9xm1qg.js";
|
|
31
31
|
import {
|
|
32
32
|
schemaErrorLayer2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./content-headers-bd8755ek.js";
|
|
34
34
|
import {
|
|
35
35
|
defectResponseLayer2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./content-headers-n26yr6pw.js";
|
|
37
37
|
|
|
38
38
|
// src/routes.ts
|
|
39
39
|
import { Database } from "@opencode/core/database/database";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/service-status.ts
|
|
6
6
|
var exports_service_status = {};
|
|
7
7
|
__export(exports_service_status, {
|
|
8
8
|
Status: () => exports_service_status,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make2
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Ref } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make2 = Effect.fnUntraced(function* (options = {}) {
|
|
13
13
|
const current = yield* Ref.make(options.initial ?? { type: "starting" });
|
|
14
14
|
const beginStopping = Ref.update(current, (status) => status.type === "stopping" ? status : { type: "stopping" });
|
|
15
15
|
return {
|
|
@@ -20,4 +20,4 @@ var make3 = Effect.fnUntraced(function* (options = {}) {
|
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { make2, exports_service_status };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-n0a33cnc.js";
|
|
4
4
|
import {
|
|
5
5
|
SESSION_TTL_SECONDS2,
|
|
6
6
|
Config2,
|
|
7
7
|
issueSession2,
|
|
8
8
|
sessionCookieName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./content-headers-j4at0y5c.js";
|
|
10
10
|
import {
|
|
11
11
|
Service4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./content-headers-7dtbad8d.js";
|
|
13
13
|
import {
|
|
14
14
|
Service2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./content-headers-kqr36gas.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/server.ts
|
|
18
18
|
import { hostname } from "node:os";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/command.ts
|
|
9
9
|
import { Command } from "@opencode/core/command";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
download2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-t32e1bbt.js";
|
|
4
4
|
import {
|
|
5
5
|
parse2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-8sb6qqpn.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/blob.ts
|
|
9
9
|
import { BlobStore } from "@opencode/core/blob-store";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/websearch.ts
|
|
9
9
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/vcs.ts
|
|
9
9
|
import { Vcs } from "@opencode/core/vcs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/agent.ts
|
|
9
9
|
import { Agent } from "@opencode/core/agent";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
missingSession2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-smaf4a18.js";
|
|
4
4
|
|
|
5
5
|
// src/handlers/job.ts
|
|
6
6
|
import { Job } from "@opencode/core/job";
|
|
@@ -21,6 +21,9 @@ var makeJob2 = Effect.gen(function* () {
|
|
|
21
21
|
return {
|
|
22
22
|
data: yield* SessionBackground.list(jobs, lookup, query)
|
|
23
23
|
};
|
|
24
|
+
}),
|
|
25
|
+
cancel: Effect.fn("JobHandler.cancel")(function* (id) {
|
|
26
|
+
yield* jobs.cancel(id);
|
|
24
27
|
})
|
|
25
28
|
};
|
|
26
29
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/plugin.ts
|
|
9
9
|
import { Plugin } from "@opencode/core/plugin";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./content-headers-j80tzjj3.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./content-headers-n0a33cnc.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/shell.ts
|
|
9
9
|
import { Shell } from "@opencode/core/shell";
|