@opencode/server 0.0.0-dev-347 → 0.0.0-dev-355
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 +16 -0
- package/dist/api.js +5 -5
- package/dist/auth.js +1 -1
- package/dist/chunks/{auth-059rbh9c.js → request-tracing-059rbh9c.js} +1 -1
- package/dist/chunks/{auth-370cpmna.js → request-tracing-0a5jm2na.js} +2 -2
- package/dist/chunks/{auth-39nnfjx1.js → request-tracing-0q7s66m2.js} +4 -4
- package/dist/chunks/{auth-vvp99hc9.js → request-tracing-1je14sn4.js} +1 -1
- package/dist/chunks/{auth-rxyx8sa0.js → request-tracing-22wspztn.js} +2 -2
- package/dist/chunks/{auth-zyntahe8.js → request-tracing-2xcc0x05.js} +1 -1
- package/dist/chunks/{auth-k8y9dxyq.js → request-tracing-3d37pvrv.js} +2 -2
- package/dist/chunks/{auth-xbqm7mpj.js → request-tracing-6vs5sqy6.js} +2 -2
- package/dist/chunks/{auth-7b9xm1qg.js → request-tracing-7b9xm1qg.js} +1 -1
- package/dist/chunks/{auth-7dtbad8d.js → request-tracing-7dtbad8d.js} +1 -1
- package/dist/chunks/{auth-r5696se6.js → request-tracing-9c4eyh8m.js} +3 -3
- package/dist/chunks/{auth-0e4fm4yw.js → request-tracing-b2k9041j.js} +1 -1
- package/dist/chunks/{auth-1t8ee1b5.js → request-tracing-b5vdqx3g.js} +2 -2
- package/dist/chunks/{auth-wqv43pj9.js → request-tracing-c6sjpm0r.js} +2 -2
- package/dist/chunks/{auth-2qjvs0kv.js → request-tracing-ckkpcd9y.js} +4 -4
- package/dist/chunks/{auth-h95f8e2d.js → request-tracing-d5g2qh16.js} +33 -33
- package/dist/chunks/{auth-zmgfywqd.js → request-tracing-dk68ymtv.js} +1 -1
- package/dist/chunks/{auth-fvpjvjpp.js → request-tracing-e0ppd0jy.js} +5 -5
- package/dist/chunks/{auth-7cd61xtm.js → request-tracing-e46y0tfd.js} +2 -2
- package/dist/chunks/{auth-50qbrtfh.js → request-tracing-ethma4cd.js} +11 -11
- package/dist/chunks/{auth-gk0yxcp6.js → request-tracing-gk0yxcp6.js} +1 -1
- package/dist/chunks/{auth-gqq6kfhc.js → request-tracing-gqq6kfhc.js} +1 -1
- package/dist/chunks/{auth-74kxthdf.js → request-tracing-h072q2hm.js} +1 -1
- package/dist/chunks/{auth-vfkjeyp3.js → request-tracing-h9rcwvg0.js} +1 -1
- package/dist/chunks/{auth-vtfzy3at.js → request-tracing-hax1v4bv.js} +2 -2
- package/dist/chunks/{auth-f4exzdsf.js → request-tracing-hnheq3hv.js} +2 -2
- package/dist/chunks/{auth-j4at0y5c.js → request-tracing-j4at0y5c.js} +1 -1
- package/dist/chunks/{auth-5z5anmwp.js → request-tracing-j9gxd9me.js} +2 -2
- package/dist/chunks/{auth-7x1re4zg.js → request-tracing-m5rae7m4.js} +2 -2
- package/dist/chunks/{auth-50xc6x42.js → request-tracing-ppma8fcc.js} +3 -3
- package/dist/chunks/{auth-sqxx1p54.js → request-tracing-qn8kkfq6.js} +2 -2
- package/dist/chunks/{auth-0pbbhyf6.js → request-tracing-r6vmgwff.js} +2 -2
- package/dist/chunks/{auth-1s3664te.js → request-tracing-rztv1fyf.js} +4 -4
- package/dist/chunks/{auth-289aq9pw.js → request-tracing-sapvg0kx.js} +4 -4
- package/dist/chunks/{auth-z9kgby92.js → request-tracing-sd3np3dq.js} +4 -4
- package/dist/chunks/{auth-5553qfcy.js → request-tracing-sf85r6vp.js} +3 -3
- package/dist/chunks/{auth-w9jcwh65.js → request-tracing-w9jcwh65.js} +1 -1
- package/dist/chunks/{auth-2835150m.js → request-tracing-wxj3d9av.js} +2 -2
- package/dist/chunks/{auth-jc2vwkyw.js → request-tracing-x8dgc261.js} +2 -2
- package/dist/chunks/{auth-7tewdwsb.js → request-tracing-xe9t9xr4.js} +2 -2
- package/dist/chunks/{auth-yet0vexm.js → request-tracing-yet0vexm.js} +1 -1
- package/dist/chunks/{auth-jbytz575.js → request-tracing-yhzghxq4.js} +6 -6
- package/dist/chunks/{auth-skcryrty.js → request-tracing-yr4wsvrw.js} +2 -2
- package/dist/chunks/{auth-xpg37vzc.js → request-tracing-z59gyc0x.js} +2 -2
- package/dist/chunks/{auth-fvqb5t8b.js → request-tracing-z8nhr1y8.js} +5 -5
- package/dist/chunks/{auth-bv5jg9y6.js → request-tracing-zrprg5z5.js} +2 -2
- package/dist/cors.js +1 -1
- package/dist/event-feed.js +3 -3
- package/dist/fetch.js +53 -53
- package/dist/handlers/agent.js +6 -6
- 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 +6 -6
- package/dist/handlers/generate.js +6 -6
- package/dist/handlers/integration.js +6 -6
- package/dist/handlers/location.js +6 -6
- package/dist/handlers/mcp.js +8 -8
- package/dist/handlers/media.js +1 -1
- package/dist/handlers/message.js +7 -7
- package/dist/handlers/migration.js +6 -6
- package/dist/handlers/model.js +6 -6
- package/dist/handlers/permission.js +6 -6
- package/dist/handlers/persistent-pty.js +10 -10
- 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.js +47 -47
- package/dist/location.js +2 -2
- package/dist/media-uri.js +1 -1
- package/dist/middleware/authorization.js +2 -2
- package/dist/middleware/form-location.js +3 -3
- package/dist/middleware/schema-error.js +1 -1
- package/dist/middleware/session-location.js +3 -3
- package/dist/pairing.js +1 -1
- package/dist/process.js +55 -55
- package/dist/request-tracing.js +1 -1
- package/dist/routes.js +50 -50
- package/dist/server-info.js +1 -1
- package/dist/service-status.js +3 -3
- package/dist/workerd.js +54 -54
- package/package.json +8 -8
- /package/dist/chunks/{auth-9rqn6x4v.js → request-tracing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{auth-bd8755ek.js → request-tracing-bd8755ek.js} +0 -0
- /package/dist/chunks/{auth-h6rt5k9s.js → request-tracing-h6rt5k9s.js} +0 -0
- /package/dist/chunks/{auth-n321d8vm.js → request-tracing-n321d8vm.js} +0 -0
- /package/dist/chunks/{auth-q4bn6dy8.js → request-tracing-q4bn6dy8.js} +0 -0
- /package/dist/chunks/{auth-smaf4a18.js → request-tracing-smaf4a18.js} +0 -0
- /package/dist/chunks/{auth-xthc02cw.js → request-tracing-xthc02cw.js} +0 -0
- /package/dist/chunks/{auth-yc7nft6q.js → request-tracing-yc7nft6q.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -335,6 +335,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
335
335
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
336
336
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
337
337
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
338
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
338
339
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
339
340
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
340
341
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -357,6 +358,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
357
358
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
358
359
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
359
360
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
361
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
360
362
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
361
363
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
362
364
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -425,6 +427,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
425
427
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
426
428
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
427
429
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
430
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
428
431
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
429
432
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
430
433
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -447,6 +450,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
447
450
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
448
451
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
449
452
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
453
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
450
454
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
451
455
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
452
456
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -569,6 +573,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
569
573
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
570
574
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
571
575
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
576
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
572
577
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
573
578
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
574
579
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -592,6 +597,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
592
597
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
593
598
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
594
599
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
600
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
595
601
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
596
602
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
597
603
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -614,6 +620,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
614
620
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
615
621
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
616
622
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
623
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
617
624
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
618
625
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
619
626
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -649,6 +656,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
649
656
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
650
657
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
651
658
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
659
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
652
660
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
653
661
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
654
662
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -672,6 +680,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
672
680
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
673
681
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
674
682
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
683
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
675
684
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
676
685
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
677
686
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -694,6 +703,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
694
703
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
695
704
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
696
705
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
706
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
697
707
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
698
708
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
699
709
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2468,6 +2478,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2468
2478
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2469
2479
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2470
2480
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2481
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2471
2482
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2472
2483
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2473
2484
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2510,6 +2521,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
2510
2521
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2511
2522
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2512
2523
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2524
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2513
2525
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2514
2526
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2515
2527
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3874,6 +3886,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3874
3886
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3875
3887
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3876
3888
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3889
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3877
3890
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3878
3891
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3879
3892
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3896,6 +3909,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3896
3909
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3897
3910
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3898
3911
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3912
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3899
3913
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3900
3914
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3901
3915
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3956,6 +3970,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3956
3970
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3957
3971
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3958
3972
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3973
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3959
3974
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3960
3975
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3961
3976
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3978,6 +3993,7 @@ export declare const Api: import("@opencode/protocol/api").Api<LocationMiddlewar
|
|
|
3978
3993
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3979
3994
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3980
3995
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3996
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3981
3997
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3982
3998
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3983
3999
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
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/request-tracing-9c4eyh8m.js";
|
|
4
|
+
import"./chunks/request-tracing-yet0vexm.js";
|
|
5
|
+
import"./chunks/request-tracing-gk0yxcp6.js";
|
|
6
|
+
import"./chunks/request-tracing-gqq6kfhc.js";
|
|
7
|
+
import"./chunks/request-tracing-smaf4a18.js";
|
|
8
8
|
export {
|
|
9
9
|
Api2 as Api
|
|
10
10
|
};
|
package/dist/auth.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/model.ts
|
|
10
10
|
import { Model } from "@opencode/core/model";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-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: () => make4
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Ref } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make4 = 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 make2 = Effect.fnUntraced(function* (options = {}) {
|
|
|
20
20
|
};
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export {
|
|
23
|
+
export { make4, exports_service_status };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/shell.ts
|
|
9
9
|
import { Shell } from "@opencode/core/shell";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service2,
|
|
6
6
|
frame2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./request-tracing-e0ppd0jy.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/event.ts
|
|
10
10
|
import { Event } from "@opencode/schema/event";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
response2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
4
4
|
import {
|
|
5
5
|
Api2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/skill.ts
|
|
9
9
|
import { Skill } from "@opencode/core/skill";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationMiddleware2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
4
4
|
import {
|
|
5
5
|
FormLocationMiddleware2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./request-tracing-gk0yxcp6.js";
|
|
7
7
|
import {
|
|
8
8
|
SessionLocationMiddleware2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./request-tracing-yet0vexm.js";
|
|
10
10
|
|
|
11
11
|
// src/api.ts
|
|
12
12
|
import { makeDefaultApi } from "@opencode/protocol/api";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
4
4
|
import {
|
|
5
5
|
requireConnectable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./request-tracing-zrprg5z5.js";
|
|
7
7
|
|
|
8
8
|
// src/handlers/credential.ts
|
|
9
9
|
import { Credential } from "@opencode/core/credential";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
locationErrors2,
|
|
3
3
|
awaitPlugins2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/generate.ts
|
|
10
10
|
import { Generate } from "@opencode/core/generate";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
locationErrors2,
|
|
3
3
|
response2,
|
|
4
4
|
requestRef2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
6
6
|
import {
|
|
7
7
|
Api2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
9
9
|
import {
|
|
10
10
|
CorsConfig2,
|
|
11
11
|
isAllowedRequestOrigin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./request-tracing-q4bn6dy8.js";
|
|
13
13
|
import {
|
|
14
14
|
runPtySocket2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./request-tracing-h6rt5k9s.js";
|
|
16
16
|
|
|
17
17
|
// src/handlers/pty.ts
|
|
18
18
|
import { Pty } from "@opencode/core/pty";
|
|
@@ -1,102 +1,102 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenerateHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-c6sjpm0r.js";
|
|
4
4
|
import {
|
|
5
5
|
VoiceHandler2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./request-tracing-wxj3d9av.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageHandler2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./request-tracing-sf85r6vp.js";
|
|
10
10
|
import {
|
|
11
11
|
ModelHandler2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./request-tracing-0a5jm2na.js";
|
|
13
13
|
import {
|
|
14
14
|
ProviderHandler2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./request-tracing-hax1v4bv.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionHandler2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./request-tracing-sd3np3dq.js";
|
|
19
19
|
import {
|
|
20
20
|
PermissionHandler2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./request-tracing-ppma8fcc.js";
|
|
22
22
|
import {
|
|
23
23
|
FileSystemHandler2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./request-tracing-r6vmgwff.js";
|
|
25
25
|
import {
|
|
26
26
|
FormHandler2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./request-tracing-m5rae7m4.js";
|
|
28
28
|
import {
|
|
29
29
|
CommandHandler2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./request-tracing-z59gyc0x.js";
|
|
31
31
|
import {
|
|
32
32
|
SkillHandler2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./request-tracing-6vs5sqy6.js";
|
|
34
34
|
import {
|
|
35
35
|
RpcHandler2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./request-tracing-2xcc0x05.js";
|
|
37
37
|
import {
|
|
38
38
|
layer2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./request-tracing-e0ppd0jy.js";
|
|
40
40
|
import {
|
|
41
41
|
EventHandler2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./request-tracing-3d37pvrv.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentHandler2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./request-tracing-hnheq3hv.js";
|
|
46
46
|
import {
|
|
47
47
|
PluginHandler2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./request-tracing-qn8kkfq6.js";
|
|
49
49
|
import {
|
|
50
50
|
ServerHandler2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./request-tracing-sapvg0kx.js";
|
|
52
52
|
import {
|
|
53
53
|
DebugHandler2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./request-tracing-x8dgc261.js";
|
|
55
55
|
import {
|
|
56
56
|
PtyHandler2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./request-tracing-ckkpcd9y.js";
|
|
58
58
|
import {
|
|
59
59
|
PersistentPtyHandler2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./request-tracing-z8nhr1y8.js";
|
|
61
61
|
import {
|
|
62
62
|
ShellHandler2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./request-tracing-22wspztn.js";
|
|
64
64
|
import {
|
|
65
65
|
ReferenceHandler2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./request-tracing-yr4wsvrw.js";
|
|
67
67
|
import {
|
|
68
68
|
LocationHandler2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./request-tracing-h072q2hm.js";
|
|
70
70
|
import {
|
|
71
71
|
IntegrationHandler2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./request-tracing-zrprg5z5.js";
|
|
73
73
|
import {
|
|
74
74
|
WebSearchHandler2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./request-tracing-e46y0tfd.js";
|
|
76
76
|
import {
|
|
77
77
|
UsageHandler2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./request-tracing-j9gxd9me.js";
|
|
79
79
|
import {
|
|
80
80
|
McpHandler2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./request-tracing-rztv1fyf.js";
|
|
82
82
|
import {
|
|
83
83
|
CredentialHandler2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./request-tracing-b5vdqx3g.js";
|
|
85
85
|
import {
|
|
86
86
|
ProjectHandler2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./request-tracing-dk68ymtv.js";
|
|
88
88
|
import {
|
|
89
89
|
WorktreeHandler2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./request-tracing-h9rcwvg0.js";
|
|
91
91
|
import {
|
|
92
92
|
VcsHandler2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./request-tracing-xe9t9xr4.js";
|
|
94
94
|
import {
|
|
95
95
|
MigrationHandler2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./request-tracing-1je14sn4.js";
|
|
97
97
|
import {
|
|
98
98
|
ConfigHandler2
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./request-tracing-b2k9041j.js";
|
|
100
100
|
|
|
101
101
|
// src/handlers.ts
|
|
102
102
|
import { Layer } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/event-feed.ts
|
|
6
6
|
var exports_event_feed = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_event_feed, {
|
|
|
12
12
|
SubscriberOverflowError: () => SubscriberOverflowError2,
|
|
13
13
|
frame: () => frame2,
|
|
14
14
|
layer: () => layer2,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make3
|
|
16
16
|
});
|
|
17
17
|
import { Bus } from "@opencode/core/bus";
|
|
18
18
|
import { Event } from "@opencode/schema/event";
|
|
@@ -37,7 +37,7 @@ function frame2(event) {
|
|
|
37
37
|
|
|
38
38
|
`;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var make3 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
41
41
|
const capacity = options?.capacity ?? SubscriberCapacity2;
|
|
42
42
|
const render = options?.encode ?? frame2;
|
|
43
43
|
const subscribers = new Map;
|
|
@@ -78,7 +78,7 @@ var make4 = Effect.fn("EventFeed.make")(function* (observe, options) {
|
|
|
78
78
|
});
|
|
79
79
|
var layer2 = Layer.effect(Service2, Effect.gen(function* () {
|
|
80
80
|
const bus = yield* Bus.Service;
|
|
81
|
-
return yield*
|
|
81
|
+
return yield* make3(bus.listen);
|
|
82
82
|
}));
|
|
83
83
|
|
|
84
|
-
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2,
|
|
84
|
+
export { SubscriberCapacity2, SubscriberOverflowError2, EncodingError2, Service2, frame2, make3, layer2, exports_event_feed };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
awaitPlugins2,
|
|
3
3
|
response2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
5
5
|
import {
|
|
6
6
|
Api2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
8
8
|
|
|
9
9
|
// src/handlers/websearch.ts
|
|
10
10
|
import { WebSearch } from "@opencode/core/websearch";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layer3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./request-tracing-gqq6kfhc.js";
|
|
4
4
|
import {
|
|
5
5
|
formLocationLayer2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./request-tracing-gk0yxcp6.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionLocationLayer2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./request-tracing-yet0vexm.js";
|
|
10
10
|
import {
|
|
11
11
|
Api2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./request-tracing-9c4eyh8m.js";
|
|
13
13
|
import {
|
|
14
14
|
Config2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./request-tracing-j4at0y5c.js";
|
|
16
16
|
import {
|
|
17
17
|
CorsConfig2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./request-tracing-q4bn6dy8.js";
|
|
19
19
|
import {
|
|
20
20
|
layer4
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./request-tracing-7dtbad8d.js";
|
|
22
22
|
import {
|
|
23
23
|
node2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./request-tracing-w9jcwh65.js";
|
|
25
25
|
import {
|
|
26
26
|
handlers2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./request-tracing-d5g2qh16.js";
|
|
28
28
|
import {
|
|
29
29
|
authorizationLayer2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./request-tracing-7b9xm1qg.js";
|
|
31
31
|
import {
|
|
32
32
|
schemaErrorLayer2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./request-tracing-bd8755ek.js";
|
|
34
34
|
|
|
35
35
|
// src/routes.ts
|
|
36
36
|
import { Database } from "@opencode/core/database/database";
|