@opencode/server 2.2.7 → 2.3.1
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 +148 -1
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{process-zmgfywqd.js → request-tracing-05c5061t.js} +1 -1
- package/dist/chunks/{process-r5696se6.js → request-tracing-0e81et3m.js} +3 -3
- package/dist/chunks/{process-mx6chrwy.js → request-tracing-0gf4dfn8.js} +35 -35
- package/dist/chunks/{process-amndpc82.js → request-tracing-2pbbrzpp.js} +2 -2
- package/dist/chunks/{process-e6e4kz0w.js → request-tracing-39nnfjx1.js} +4 -4
- package/dist/chunks/{process-5pdfedjd.js → request-tracing-3te71694.js} +4 -4
- package/dist/chunks/{process-jqvq1ywe.js → request-tracing-4ed680xg.js} +2 -2
- package/dist/chunks/{process-370cpmna.js → request-tracing-4p2y0qs3.js} +2 -2
- package/dist/chunks/{process-gqq6kfhc.js → request-tracing-50bbk3b2.js} +3 -3
- package/dist/chunks/{process-78rcgzsr.js → request-tracing-78rcgzsr.js} +1 -1
- package/dist/chunks/{process-7b9xm1qg.js → request-tracing-7b9xm1qg.js} +1 -1
- package/dist/chunks/{process-fszbw5sk.js → request-tracing-7nb2rv11.js} +4 -4
- package/dist/chunks/{process-zds85vps.js → request-tracing-861wfsmy.js} +1 -1
- package/dist/chunks/request-tracing-8sb6qqpn.js +28 -0
- package/dist/chunks/request-tracing-9cd3a4b8.js +69 -0
- package/dist/chunks/{process-vtfzy3at.js → request-tracing-9grnt8dc.js} +2 -2
- package/dist/chunks/{process-5553qfcy.js → request-tracing-ap1t95t8.js} +3 -3
- package/dist/chunks/{process-wqv43pj9.js → request-tracing-ayveq98d.js} +23 -3
- package/dist/chunks/{process-yet0vexm.js → request-tracing-b3bmdkga.js} +1 -1
- package/dist/chunks/{process-xpg37vzc.js → request-tracing-b4mqtccx.js} +2 -2
- package/dist/chunks/{process-4z8yg1dv.js → request-tracing-d4534456.js} +4 -4
- package/dist/chunks/{process-rcmctvp9.js → request-tracing-d8b9pm2q.js} +1 -1
- package/dist/chunks/{process-p3f060n2.js → request-tracing-dezpcckc.js} +2 -2
- package/dist/chunks/{process-djr0jy89.js → request-tracing-djr0jy89.js} +1 -1
- package/dist/chunks/{process-7cd61xtm.js → request-tracing-dx89xydc.js} +2 -2
- package/dist/chunks/{process-2835150m.js → request-tracing-et00mhwf.js} +2 -2
- package/dist/chunks/{process-rxyx8sa0.js → request-tracing-f8r9p2vr.js} +2 -2
- package/dist/chunks/{process-wecgp61r.js → request-tracing-fvpjvjpp.js} +7 -7
- package/dist/chunks/{process-zgw0abca.js → request-tracing-g6yhb3a8.js} +16 -22
- package/dist/chunks/{process-jc2vwkyw.js → request-tracing-h1thjy6x.js} +2 -2
- package/dist/chunks/{process-agenqygg.js → request-tracing-h286a6py.js} +2 -2
- package/dist/chunks/{process-gk0yxcp6.js → request-tracing-htyf2qs7.js} +1 -1
- package/dist/chunks/{process-0e4fm4yw.js → request-tracing-hx8bsq9d.js} +1 -1
- package/dist/chunks/{process-j4at0y5c.js → request-tracing-j4at0y5c.js} +1 -1
- package/dist/chunks/{process-r2veymj8.js → request-tracing-jjvpqmx6.js} +4 -4
- package/dist/chunks/{process-50xc6x42.js → request-tracing-kg0ybx4v.js} +3 -3
- package/dist/chunks/{process-myqk22k5.js → request-tracing-myqk22k5.js} +2 -2
- package/dist/chunks/{process-kqr36gas.js → request-tracing-mzs0n5xz.js} +7 -7
- package/dist/chunks/request-tracing-n26yr6pw.js +21 -0
- package/dist/chunks/{process-5kr30cfc.js → request-tracing-n5et0xgm.js} +8 -8
- package/dist/chunks/{process-w5yp0ga8.js → request-tracing-p86kew8c.js} +2 -2
- package/dist/chunks/{process-xbqm7mpj.js → request-tracing-q44yktpv.js} +2 -2
- package/dist/chunks/{process-zgvwy66h.js → request-tracing-r7knxm63.js} +7 -20
- package/dist/chunks/{process-dfxfd950.js → request-tracing-rd9e3qfx.js} +4 -4
- package/dist/chunks/{process-skcryrty.js → request-tracing-s9tkswmw.js} +2 -2
- package/dist/chunks/request-tracing-sy2e93cn.js +46 -0
- package/dist/chunks/{process-t32e1bbt.js → request-tracing-t32e1bbt.js} +1 -1
- package/dist/chunks/{process-1vxxxmgg.js → request-tracing-tk56ffsq.js} +2 -2
- package/dist/chunks/{process-xjbee3xk.js → request-tracing-v0r38a4t.js} +31 -19
- package/dist/chunks/{process-7x1re4zg.js → request-tracing-v8aqacn3.js} +2 -2
- package/dist/chunks/{process-sqxx1p54.js → request-tracing-vbgqk0mr.js} +2 -2
- package/dist/chunks/{process-vvp99hc9.js → request-tracing-x4b2rtcb.js} +1 -1
- package/dist/chunks/{process-f3xrm535.js → request-tracing-z2ndp6vh.js} +6 -6
- package/dist/chunks/{process-74kxthdf.js → request-tracing-zbe9jfhy.js} +1 -1
- package/dist/content-headers.js +1 -1
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +5 -5
- package/dist/fetch.d.ts +3 -0
- package/dist/fetch.js +61 -58
- package/dist/handlers/agent.js +6 -6
- package/dist/handlers/artifact.js +3 -3
- package/dist/handlers/automation.d.ts +25 -0
- package/dist/handlers/automation.js +7 -0
- package/dist/handlers/blob.d.ts +7 -0
- package/dist/handlers/blob.js +8 -0
- 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 -7
- package/dist/handlers/generate.d.ts +2 -1
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/job.d.ts +11 -1
- 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 -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/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 +52 -50
- package/dist/location.js +4 -4
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/defect-response.d.ts +2 -0
- package/dist/middleware/defect-response.js +6 -0
- 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 +3 -0
- package/dist/options.js +3 -0
- package/dist/pairing.js +3 -3
- package/dist/process.d.ts +3 -0
- package/dist/process.js +64 -61
- package/dist/range.d.ts +6 -0
- package/dist/range.js +8 -0
- package/dist/request-site.js +2 -2
- package/dist/request-tracing.js +1 -1
- package/dist/routes.d.ts +6 -3
- package/dist/routes.js +56 -53
- package/dist/server-info.js +3 -3
- package/dist/service-status.js +3 -3
- package/dist/workerd.d.ts +1 -0
- package/dist/workerd.js +66 -59
- package/package.json +9 -9
- package/dist/chunks/process-059rbh9c.js +0 -43
- package/dist/handlers/schedule.d.ts +0 -314
- package/dist/handlers/schedule.js +0 -7
- /package/dist/chunks/{process-9rqn6x4v.js → request-tracing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{process-bd8755ek.js → request-tracing-bd8755ek.js} +0 -0
- /package/dist/chunks/{process-q187pxxd.js → request-tracing-q187pxxd.js} +0 -0
- /package/dist/chunks/{process-q4bn6dy8.js → request-tracing-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{process-smaf4a18.js → request-tracing-smaf4a18.js} +0 -0
- /package/dist/chunks/{process-xthc02cw.js → request-tracing-xthc02cw.js} +0 -0
- /package/dist/chunks/{process-yc7nft6q.js → request-tracing-yc7nft6q.js} +0 -0
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/request-tracing-q44yktpv.js";
|
|
4
|
+
import"../chunks/request-tracing-0e81et3m.js";
|
|
5
|
+
import"../chunks/request-tracing-b3bmdkga.js";
|
|
6
|
+
import"../chunks/request-tracing-htyf2qs7.js";
|
|
7
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
8
|
+
import"../chunks/request-tracing-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/request-tracing-4ed680xg.js";
|
|
4
|
+
import"../chunks/request-tracing-0e81et3m.js";
|
|
5
|
+
import"../chunks/request-tracing-b3bmdkga.js";
|
|
6
|
+
import"../chunks/request-tracing-htyf2qs7.js";
|
|
7
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
8
|
+
import"../chunks/request-tracing-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/request-tracing-h286a6py.js";
|
|
4
|
+
import"../chunks/request-tracing-0e81et3m.js";
|
|
5
|
+
import"../chunks/request-tracing-b3bmdkga.js";
|
|
6
|
+
import"../chunks/request-tracing-htyf2qs7.js";
|
|
7
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
8
|
+
import"../chunks/request-tracing-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/request-tracing-et00mhwf.js";
|
|
4
|
+
import"../chunks/request-tracing-0e81et3m.js";
|
|
5
|
+
import"../chunks/request-tracing-b3bmdkga.js";
|
|
6
|
+
import"../chunks/request-tracing-htyf2qs7.js";
|
|
7
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
8
|
+
import"../chunks/request-tracing-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/request-tracing-dx89xydc.js";
|
|
4
|
+
import"../chunks/request-tracing-0e81et3m.js";
|
|
5
|
+
import"../chunks/request-tracing-b3bmdkga.js";
|
|
6
|
+
import"../chunks/request-tracing-htyf2qs7.js";
|
|
7
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
8
|
+
import"../chunks/request-tracing-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/request-tracing-861wfsmy.js";
|
|
4
|
+
import"../chunks/request-tracing-0e81et3m.js";
|
|
5
|
+
import"../chunks/request-tracing-b3bmdkga.js";
|
|
6
|
+
import"../chunks/request-tracing-htyf2qs7.js";
|
|
7
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
8
|
+
import"../chunks/request-tracing-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/job").Service | import("@opencode/core/location-service-map").Service | import("@opencode/core/
|
|
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/fs-util").FSUtil.Service | 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/persistent-pty/index").Service | import("@opencode/core/session").Service | import("@opencode/core/worktree").Service | import("@opencode/core/automation").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/blob-store").Service | import("@opencode/core/video-generation").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,55 +1,57 @@
|
|
|
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/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/request-tracing-0gf4dfn8.js";
|
|
4
|
+
import"./chunks/request-tracing-h286a6py.js";
|
|
5
|
+
import"./chunks/request-tracing-v8aqacn3.js";
|
|
6
|
+
import"./chunks/request-tracing-7nb2rv11.js";
|
|
7
|
+
import"./chunks/request-tracing-tk56ffsq.js";
|
|
8
|
+
import"./chunks/request-tracing-2pbbrzpp.js";
|
|
9
|
+
import"./chunks/request-tracing-d8b9pm2q.js";
|
|
10
|
+
import"./chunks/request-tracing-x4b2rtcb.js";
|
|
11
|
+
import"./chunks/request-tracing-dezpcckc.js";
|
|
12
|
+
import"./chunks/request-tracing-ayveq98d.js";
|
|
13
|
+
import"./chunks/request-tracing-z2ndp6vh.js";
|
|
14
|
+
import"./chunks/request-tracing-q44yktpv.js";
|
|
15
|
+
import"./chunks/request-tracing-g6yhb3a8.js";
|
|
16
|
+
import"./chunks/request-tracing-p86kew8c.js";
|
|
17
|
+
import"./chunks/request-tracing-b4mqtccx.js";
|
|
18
|
+
import"./chunks/request-tracing-h1thjy6x.js";
|
|
19
|
+
import"./chunks/request-tracing-vbgqk0mr.js";
|
|
20
|
+
import"./chunks/request-tracing-sy2e93cn.js";
|
|
21
|
+
import"./chunks/request-tracing-861wfsmy.js";
|
|
22
|
+
import"./chunks/request-tracing-4p2y0qs3.js";
|
|
23
|
+
import"./chunks/request-tracing-hx8bsq9d.js";
|
|
24
|
+
import"./chunks/request-tracing-zbe9jfhy.js";
|
|
25
|
+
import"./chunks/request-tracing-s9tkswmw.js";
|
|
26
|
+
import"./chunks/request-tracing-d4534456.js";
|
|
27
|
+
import"./chunks/request-tracing-djr0jy89.js";
|
|
28
|
+
import"./chunks/request-tracing-r7knxm63.js";
|
|
29
|
+
import"./chunks/request-tracing-9cd3a4b8.js";
|
|
30
|
+
import"./chunks/request-tracing-9grnt8dc.js";
|
|
31
|
+
import"./chunks/request-tracing-78rcgzsr.js";
|
|
32
|
+
import"./chunks/request-tracing-4ed680xg.js";
|
|
33
|
+
import"./chunks/request-tracing-kg0ybx4v.js";
|
|
34
|
+
import"./chunks/request-tracing-et00mhwf.js";
|
|
35
|
+
import"./chunks/request-tracing-05c5061t.js";
|
|
36
|
+
import"./chunks/request-tracing-dx89xydc.js";
|
|
37
|
+
import"./chunks/request-tracing-jjvpqmx6.js";
|
|
38
|
+
import"./chunks/request-tracing-q187pxxd.js";
|
|
39
|
+
import"./chunks/request-tracing-ap1t95t8.js";
|
|
40
|
+
import"./chunks/request-tracing-rd9e3qfx.js";
|
|
41
|
+
import"./chunks/request-tracing-f8r9p2vr.js";
|
|
42
|
+
import"./chunks/request-tracing-fvpjvjpp.js";
|
|
43
|
+
import"./chunks/request-tracing-3te71694.js";
|
|
44
|
+
import"./chunks/request-tracing-q4bn6dy8.js";
|
|
45
|
+
import"./chunks/request-tracing-0e81et3m.js";
|
|
46
|
+
import"./chunks/request-tracing-b3bmdkga.js";
|
|
47
|
+
import"./chunks/request-tracing-htyf2qs7.js";
|
|
48
|
+
import"./chunks/request-tracing-50bbk3b2.js";
|
|
49
|
+
import"./chunks/request-tracing-smaf4a18.js";
|
|
50
|
+
import"./chunks/request-tracing-t32e1bbt.js";
|
|
51
|
+
import"./chunks/request-tracing-mzs0n5xz.js";
|
|
52
|
+
import"./chunks/request-tracing-j4at0y5c.js";
|
|
53
|
+
import"./chunks/request-tracing-xthc02cw.js";
|
|
54
|
+
import"./chunks/request-tracing-8sb6qqpn.js";
|
|
53
55
|
export {
|
|
54
56
|
handlers2 as handlers
|
|
55
57
|
};
|
package/dist/location.js
CHANGED
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
response2,
|
|
6
6
|
sessionInfo2,
|
|
7
7
|
requestRef2,
|
|
8
|
-
|
|
9
|
-
} from "./chunks/
|
|
10
|
-
import"./chunks/
|
|
8
|
+
layer4
|
|
9
|
+
} from "./chunks/request-tracing-50bbk3b2.js";
|
|
10
|
+
import"./chunks/request-tracing-smaf4a18.js";
|
|
11
11
|
export {
|
|
12
12
|
LocationMiddleware2 as LocationMiddleware,
|
|
13
13
|
awaitPlugins2 as awaitPlugins,
|
|
14
|
-
|
|
14
|
+
layer4 as layer,
|
|
15
15
|
locationErrors2 as locationErrors,
|
|
16
16
|
requestRef2 as requestRef,
|
|
17
17
|
response2 as response,
|
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/request-tracing-7b9xm1qg.js";
|
|
7
|
+
import"../chunks/request-tracing-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/request-tracing-htyf2qs7.js";
|
|
5
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
6
|
+
import"../chunks/request-tracing-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/request-tracing-b3bmdkga.js";
|
|
5
|
+
import"../chunks/request-tracing-50bbk3b2.js";
|
|
6
|
+
import"../chunks/request-tracing-smaf4a18.js";
|
|
7
7
|
export {
|
|
8
8
|
SessionLocationMiddleware2 as SessionLocationMiddleware,
|
|
9
9
|
sessionLocationLayer2 as sessionLocationLayer
|
package/dist/options.d.ts
CHANGED
|
@@ -45,6 +45,9 @@ export declare const ServerOptions: Schema.Struct<{
|
|
|
45
45
|
readonly file: Schema.optional<Schema.String>;
|
|
46
46
|
readonly content: Schema.optional<Schema.String>;
|
|
47
47
|
}>>;
|
|
48
|
+
readonly instructions: Schema.optional<Schema.Struct<{
|
|
49
|
+
readonly claude: Schema.optional<Schema.Boolean>;
|
|
50
|
+
}>>;
|
|
48
51
|
readonly windows: Schema.optional<Schema.Struct<{
|
|
49
52
|
readonly gitbash: Schema.optional<Schema.String>;
|
|
50
53
|
}>>;
|
package/dist/options.js
CHANGED
|
@@ -28,6 +28,9 @@ var ServerOptions = Schema.Struct({
|
|
|
28
28
|
file: Schema.optional(Schema.String),
|
|
29
29
|
content: Schema.optional(Schema.String)
|
|
30
30
|
})),
|
|
31
|
+
instructions: Schema.optional(Schema.Struct({
|
|
32
|
+
claude: Schema.optional(Schema.Boolean)
|
|
33
|
+
})),
|
|
31
34
|
windows: Schema.optional(Schema.Struct({
|
|
32
35
|
gitbash: Schema.optional(Schema.String)
|
|
33
36
|
})),
|
package/dist/pairing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Service4,
|
|
3
3
|
node2,
|
|
4
4
|
exports_pairing
|
|
5
|
-
} from "./chunks/
|
|
5
|
+
} from "./chunks/request-tracing-mzs0n5xz.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_pairing as ServerPairing,
|
|
8
|
-
|
|
8
|
+
Service4 as Service,
|
|
9
9
|
node2 as node
|
|
10
10
|
};
|
package/dist/process.d.ts
CHANGED
|
@@ -47,6 +47,9 @@ export declare const start: <E, R>(options: {
|
|
|
47
47
|
readonly file?: string | undefined;
|
|
48
48
|
readonly content?: string | undefined;
|
|
49
49
|
} | undefined;
|
|
50
|
+
readonly instructions?: {
|
|
51
|
+
readonly claude?: boolean | undefined;
|
|
52
|
+
} | undefined;
|
|
50
53
|
readonly windows?: {
|
|
51
54
|
readonly gitbash?: string | undefined;
|
|
52
55
|
} | undefined;
|
package/dist/process.js
CHANGED
|
@@ -1,79 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Config2
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/request-tracing-j4at0y5c.js";
|
|
4
4
|
import {
|
|
5
5
|
isAllowedCorsOrigin2
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/request-tracing-q4bn6dy8.js";
|
|
7
7
|
import {
|
|
8
8
|
unauthorizedResponse2,
|
|
9
9
|
authorizedRequest2
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/request-tracing-7b9xm1qg.js";
|
|
11
11
|
import {
|
|
12
12
|
withoutParentSpan2
|
|
13
|
-
} from "./chunks/
|
|
13
|
+
} from "./chunks/request-tracing-yc7nft6q.js";
|
|
14
14
|
import {
|
|
15
15
|
middleware2
|
|
16
|
-
} from "./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/
|
|
16
|
+
} from "./chunks/request-tracing-myqk22k5.js";
|
|
17
|
+
import"./chunks/request-tracing-smaf4a18.js";
|
|
18
|
+
import"./chunks/request-tracing-50bbk3b2.js";
|
|
19
|
+
import"./chunks/request-tracing-htyf2qs7.js";
|
|
20
|
+
import"./chunks/request-tracing-b3bmdkga.js";
|
|
21
|
+
import"./chunks/request-tracing-0e81et3m.js";
|
|
22
|
+
import"./chunks/request-tracing-ayveq98d.js";
|
|
23
|
+
import"./chunks/request-tracing-et00mhwf.js";
|
|
24
|
+
import"./chunks/request-tracing-xthc02cw.js";
|
|
25
|
+
import"./chunks/request-tracing-ap1t95t8.js";
|
|
26
|
+
import"./chunks/request-tracing-4p2y0qs3.js";
|
|
27
|
+
import"./chunks/request-tracing-9grnt8dc.js";
|
|
28
|
+
import"./chunks/request-tracing-rd9e3qfx.js";
|
|
29
|
+
import"./chunks/request-tracing-kg0ybx4v.js";
|
|
30
|
+
import"./chunks/request-tracing-t32e1bbt.js";
|
|
31
|
+
import"./chunks/request-tracing-8sb6qqpn.js";
|
|
32
|
+
import"./chunks/request-tracing-r7knxm63.js";
|
|
33
|
+
import"./chunks/request-tracing-v8aqacn3.js";
|
|
34
|
+
import"./chunks/request-tracing-b4mqtccx.js";
|
|
35
|
+
import"./chunks/request-tracing-q44yktpv.js";
|
|
36
|
+
import"./chunks/request-tracing-d8b9pm2q.js";
|
|
37
|
+
import"./chunks/request-tracing-fvpjvjpp.js";
|
|
38
|
+
import"./chunks/request-tracing-7nb2rv11.js";
|
|
39
|
+
import"./chunks/request-tracing-dezpcckc.js";
|
|
40
|
+
import"./chunks/request-tracing-vbgqk0mr.js";
|
|
40
41
|
import {
|
|
41
42
|
connectionURLs2
|
|
42
|
-
} from "./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
43
|
+
} from "./chunks/request-tracing-3te71694.js";
|
|
44
|
+
import"./chunks/request-tracing-mzs0n5xz.js";
|
|
45
|
+
import"./chunks/request-tracing-z2ndp6vh.js";
|
|
46
|
+
import"./chunks/request-tracing-h1thjy6x.js";
|
|
47
|
+
import"./chunks/request-tracing-q187pxxd.js";
|
|
48
|
+
import"./chunks/request-tracing-jjvpqmx6.js";
|
|
49
|
+
import"./chunks/request-tracing-p86kew8c.js";
|
|
50
|
+
import"./chunks/request-tracing-sy2e93cn.js";
|
|
51
|
+
import"./chunks/request-tracing-9cd3a4b8.js";
|
|
52
|
+
import"./chunks/request-tracing-78rcgzsr.js";
|
|
53
|
+
import"./chunks/request-tracing-djr0jy89.js";
|
|
54
|
+
import"./chunks/request-tracing-g6yhb3a8.js";
|
|
55
|
+
import"./chunks/request-tracing-f8r9p2vr.js";
|
|
56
|
+
import"./chunks/request-tracing-s9tkswmw.js";
|
|
57
|
+
import"./chunks/request-tracing-zbe9jfhy.js";
|
|
58
|
+
import"./chunks/request-tracing-2pbbrzpp.js";
|
|
59
|
+
import"./chunks/request-tracing-dx89xydc.js";
|
|
60
|
+
import"./chunks/request-tracing-4ed680xg.js";
|
|
61
|
+
import"./chunks/request-tracing-d4534456.js";
|
|
62
|
+
import"./chunks/request-tracing-tk56ffsq.js";
|
|
63
|
+
import"./chunks/request-tracing-05c5061t.js";
|
|
64
|
+
import"./chunks/request-tracing-861wfsmy.js";
|
|
65
|
+
import"./chunks/request-tracing-h286a6py.js";
|
|
66
|
+
import"./chunks/request-tracing-x4b2rtcb.js";
|
|
67
|
+
import"./chunks/request-tracing-hx8bsq9d.js";
|
|
68
|
+
import"./chunks/request-tracing-0gf4dfn8.js";
|
|
69
|
+
import"./chunks/request-tracing-bd8755ek.js";
|
|
70
|
+
import"./chunks/request-tracing-n26yr6pw.js";
|
|
68
71
|
import {
|
|
69
72
|
createRoutes2
|
|
70
|
-
} from "./chunks/
|
|
73
|
+
} from "./chunks/request-tracing-v0r38a4t.js";
|
|
71
74
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunks/
|
|
75
|
+
make2
|
|
76
|
+
} from "./chunks/request-tracing-39nnfjx1.js";
|
|
74
77
|
import {
|
|
75
78
|
__export
|
|
76
|
-
} from "./chunks/
|
|
79
|
+
} from "./chunks/request-tracing-9rqn6x4v.js";
|
|
77
80
|
|
|
78
81
|
// src/process.ts
|
|
79
82
|
var exports_process = {};
|
|
@@ -84,7 +87,7 @@ __export(exports_process, {
|
|
|
84
87
|
import { NodeHttpServer } from "@effect/platform-node";
|
|
85
88
|
import { Bus } from "@opencode/core/bus";
|
|
86
89
|
import { SessionRestart } from "@opencode/core/session/execution/restart";
|
|
87
|
-
import {
|
|
90
|
+
import { Automation } from "@opencode/core/automation";
|
|
88
91
|
import { InstallationEvent } from "@opencode/schema/installation-event";
|
|
89
92
|
import { hasPtyConnectTicketURL } from "@opencode/protocol/groups/pty";
|
|
90
93
|
import { hasPersistentPtyConnectTicketURL } from "@opencode/protocol/groups/persistent-pty";
|
|
@@ -102,7 +105,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
102
105
|
const hostname = options.hostname ?? "127.0.0.1";
|
|
103
106
|
const port = Option.fromNullishOr(options.port);
|
|
104
107
|
const shutdown = yield* Latch.make();
|
|
105
|
-
const status = yield*
|
|
108
|
+
const status = yield* make2();
|
|
106
109
|
const bound = yield* listen({ hostname, port });
|
|
107
110
|
const localURLs = () => {
|
|
108
111
|
const address = bound.server.address();
|
|
@@ -128,7 +131,7 @@ var start = Effect.fn("ServerProcess.start")(function* (options, lifecycle, tran
|
|
|
128
131
|
if (lifecycle) {
|
|
129
132
|
yield* installRestartContinuity(Context.get(context, SessionRestart.Service)).pipe(Effect.provideService(Scope.Scope, applicationScope));
|
|
130
133
|
}
|
|
131
|
-
yield* Effect.forkIn(Context.get(context,
|
|
134
|
+
yield* Effect.forkIn(Context.get(context, Automation.Service).run, applicationScope);
|
|
132
135
|
yield* Ref.set(application, Option.some(Context.get(context, HttpRouter.HttpRouter).asHttpEffect()));
|
|
133
136
|
yield* status.ready;
|
|
134
137
|
const bus = Context.get(context, Bus.Service);
|
package/dist/range.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as ByteRange from "./range";
|
|
2
|
+
/** A single `bytes=` range of a `size`-byte body, inclusive. Undefined serves the whole body. */
|
|
3
|
+
export declare function parse(header: string | undefined, size: number): "unsatisfiable" | {
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
} | undefined;
|
package/dist/range.js
ADDED
package/dist/request-site.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
rejected2,
|
|
3
3
|
middleware2,
|
|
4
4
|
exports_request_site
|
|
5
|
-
} from "./chunks/
|
|
6
|
-
import"./chunks/
|
|
5
|
+
} from "./chunks/request-tracing-myqk22k5.js";
|
|
6
|
+
import"./chunks/request-tracing-q4bn6dy8.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_request_site as RequestSite,
|
|
9
9
|
middleware2 as middleware,
|