@opencode/server 0.0.0-dev-21775 → 0.0.0-dev-21779

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.
Files changed (92) hide show
  1. package/dist/api.js +4 -4
  2. package/dist/chunks/{fetch-j49n4591.js → fetch-1e765wh0.js} +1 -1
  3. package/dist/chunks/{fetch-19cj3ggs.js → fetch-3bgkr512.js} +2 -2
  4. package/dist/chunks/{fetch-aqzwjzmb.js → fetch-3d7qdbre.js} +1 -1
  5. package/dist/chunks/{fetch-1ahadpvw.js → fetch-4gnb9897.js} +1 -1
  6. package/dist/chunks/{fetch-gb66h69v.js → fetch-4nbah0zs.js} +3 -3
  7. package/dist/chunks/{fetch-gqq6kfhc.js → fetch-50bbk3b2.js} +2 -2
  8. package/dist/chunks/{fetch-hspp8v12.js → fetch-547pgmmc.js} +2 -2
  9. package/dist/chunks/{fetch-6br0y3ag.js → fetch-7xe5pzvy.js} +1 -1
  10. package/dist/chunks/{fetch-yet0vexm.js → fetch-b3bmdkga.js} +1 -1
  11. package/dist/chunks/fetch-ca30pptj.js +22 -0
  12. package/dist/chunks/{fetch-xd3n3rzf.js → fetch-cefaytvp.js} +11 -11
  13. package/dist/chunks/{fetch-xxxx0904.js → fetch-cpp0zjdy.js} +2 -2
  14. package/dist/chunks/{fetch-39nnfjx1.js → fetch-e6e4kz0w.js} +3 -3
  15. package/dist/chunks/{fetch-e54xd2ay.js → fetch-emkxpff3.js} +2 -2
  16. package/dist/chunks/{fetch-6kta5392.js → fetch-fazm2c7b.js} +2 -2
  17. package/dist/chunks/{fetch-67kmywtk.js → fetch-fysmzcya.js} +2 -2
  18. package/dist/chunks/{fetch-69msffey.js → fetch-g3mfewdn.js} +2 -2
  19. package/dist/chunks/{fetch-cqhyyp3f.js → fetch-g7sdbt1s.js} +2 -2
  20. package/dist/chunks/{fetch-j8p25vmv.js → fetch-gq8jw616.js} +2 -2
  21. package/dist/chunks/{fetch-q8cqvm6j.js → fetch-gw6rc7x0.js} +2 -2
  22. package/dist/chunks/{fetch-f9g2fv52.js → fetch-gy667q5r.js} +2 -2
  23. package/dist/chunks/{fetch-08zhnp7p.js → fetch-htdmphhq.js} +3 -3
  24. package/dist/chunks/{fetch-gv627jgt.js → fetch-hwqxzcvy.js} +1 -1
  25. package/dist/chunks/{fetch-6t8za67t.js → fetch-jd2d9483.js} +2 -2
  26. package/dist/chunks/{fetch-19dc7z8q.js → fetch-jk5edc6h.js} +2 -2
  27. package/dist/chunks/fetch-kemnkk2a.js +105 -0
  28. package/dist/chunks/{fetch-mzs0n5xz.js → fetch-kqr36gas.js} +6 -6
  29. package/dist/chunks/{fetch-9k4wjdze.js → fetch-nnsgc8by.js} +2 -2
  30. package/dist/chunks/{fetch-77mqkxfz.js → fetch-qcfps8nc.js} +2 -2
  31. package/dist/chunks/{fetch-v1jdrp9c.js → fetch-qx5ydgm0.js} +1 -1
  32. package/dist/chunks/{fetch-2z1wpwp6.js → fetch-rwxah6rk.js} +7 -7
  33. package/dist/chunks/{fetch-wtxh433d.js → fetch-s0qm098c.js} +2 -2
  34. package/dist/chunks/{fetch-vdfdkndj.js → fetch-sc3gatcy.js} +1 -1
  35. package/dist/chunks/{fetch-8qj9sq0n.js → fetch-se2xrvte.js} +4 -4
  36. package/dist/chunks/{fetch-vtvdbwhg.js → fetch-t4c683g8.js} +2 -2
  37. package/dist/chunks/{fetch-74sf36cc.js → fetch-tp6qcw6t.js} +1 -1
  38. package/dist/chunks/{fetch-m0y4004e.js → fetch-w4e9jgda.js} +1 -1
  39. package/dist/chunks/{fetch-atk2et4d.js → fetch-wexwfee0.js} +2 -2
  40. package/dist/chunks/{fetch-2qk3vekg.js → fetch-xeq9w5wr.js} +2 -2
  41. package/dist/chunks/{fetch-v8b04w1f.js → fetch-ye9tw5gq.js} +2 -2
  42. package/dist/chunks/{fetch-z3e7v67k.js → fetch-yjbzmfhm.js} +6 -6
  43. package/dist/chunks/{fetch-6n9b1fbm.js → fetch-z3akqjf6.js} +1 -1
  44. package/dist/chunks/{fetch-ej45n981.js → fetch-z6z134jc.js} +2 -2
  45. package/dist/event-feed.js +3 -3
  46. package/dist/fetch.js +46 -45
  47. package/dist/handlers/agent.js +5 -5
  48. package/dist/handlers/command.js +5 -5
  49. package/dist/handlers/config.js +5 -5
  50. package/dist/handlers/credential.js +5 -5
  51. package/dist/handlers/debug.js +5 -5
  52. package/dist/handlers/event.js +6 -6
  53. package/dist/handlers/form.js +5 -5
  54. package/dist/handlers/fs.js +5 -5
  55. package/dist/handlers/generate.js +5 -5
  56. package/dist/handlers/integration.js +5 -5
  57. package/dist/handlers/location.js +5 -5
  58. package/dist/handlers/mcp.js +5 -5
  59. package/dist/handlers/message.js +5 -5
  60. package/dist/handlers/migration.js +5 -5
  61. package/dist/handlers/model.js +5 -5
  62. package/dist/handlers/permission.js +5 -5
  63. package/dist/handlers/persistent-pty.js +5 -5
  64. package/dist/handlers/plugin.js +5 -5
  65. package/dist/handlers/project.js +5 -5
  66. package/dist/handlers/provider.js +5 -5
  67. package/dist/handlers/pty.js +5 -5
  68. package/dist/handlers/reference.js +5 -5
  69. package/dist/handlers/rpc.js +5 -5
  70. package/dist/handlers/server.js +8 -8
  71. package/dist/handlers/session.js +5 -5
  72. package/dist/handlers/shell.js +5 -5
  73. package/dist/handlers/skill.js +5 -5
  74. package/dist/handlers/usage.d.ts +1 -0
  75. package/dist/handlers/usage.js +11 -0
  76. package/dist/handlers/vcs.js +5 -5
  77. package/dist/handlers/voice.js +5 -5
  78. package/dist/handlers/websearch.js +5 -5
  79. package/dist/handlers/worktree.js +5 -5
  80. package/dist/handlers.d.ts +1 -1
  81. package/dist/handlers.js +41 -40
  82. package/dist/location.js +3 -3
  83. package/dist/middleware/form-location.js +2 -2
  84. package/dist/middleware/session-location.js +2 -2
  85. package/dist/pairing.js +3 -3
  86. package/dist/process.js +44 -43
  87. package/dist/routes.js +43 -42
  88. package/dist/server-info.js +5 -5
  89. package/dist/service-status.js +3 -3
  90. package/dist/workerd.js +44 -43
  91. package/package.json +8 -8
  92. package/dist/chunks/fetch-wxs03cgb.js +0 -102
package/dist/workerd.js CHANGED
@@ -1,52 +1,53 @@
1
1
  import"./chunks/fetch-q4bn6dy8.js";
2
2
  import"./chunks/fetch-smaf4a18.js";
3
- import"./chunks/fetch-gqq6kfhc.js";
4
- import"./chunks/fetch-1ahadpvw.js";
5
- import"./chunks/fetch-yet0vexm.js";
6
- import"./chunks/fetch-gb66h69v.js";
3
+ import"./chunks/fetch-50bbk3b2.js";
4
+ import"./chunks/fetch-4gnb9897.js";
5
+ import"./chunks/fetch-b3bmdkga.js";
6
+ import"./chunks/fetch-4nbah0zs.js";
7
7
  import"./chunks/fetch-j4at0y5c.js";
8
- import"./chunks/fetch-j8p25vmv.js";
9
- import"./chunks/fetch-2qk3vekg.js";
10
- import"./chunks/fetch-j49n4591.js";
11
- import"./chunks/fetch-xxxx0904.js";
12
- import"./chunks/fetch-6kta5392.js";
13
- import"./chunks/fetch-9k4wjdze.js";
14
- import"./chunks/fetch-e54xd2ay.js";
15
- import"./chunks/fetch-77mqkxfz.js";
16
- import"./chunks/fetch-wtxh433d.js";
17
- import"./chunks/fetch-67kmywtk.js";
18
- import"./chunks/fetch-hspp8v12.js";
19
- import"./chunks/fetch-m0y4004e.js";
20
- import"./chunks/fetch-08zhnp7p.js";
21
- import"./chunks/fetch-19cj3ggs.js";
22
- import"./chunks/fetch-cqhyyp3f.js";
23
- import"./chunks/fetch-6t8za67t.js";
24
- import"./chunks/fetch-z3e7v67k.js";
25
- import"./chunks/fetch-mzs0n5xz.js";
26
- import"./chunks/fetch-2z1wpwp6.js";
27
- import"./chunks/fetch-f9g2fv52.js";
8
+ import"./chunks/fetch-gq8jw616.js";
9
+ import"./chunks/fetch-xeq9w5wr.js";
10
+ import"./chunks/fetch-1e765wh0.js";
11
+ import"./chunks/fetch-cpp0zjdy.js";
12
+ import"./chunks/fetch-fazm2c7b.js";
13
+ import"./chunks/fetch-nnsgc8by.js";
14
+ import"./chunks/fetch-emkxpff3.js";
15
+ import"./chunks/fetch-qcfps8nc.js";
16
+ import"./chunks/fetch-s0qm098c.js";
17
+ import"./chunks/fetch-fysmzcya.js";
18
+ import"./chunks/fetch-547pgmmc.js";
19
+ import"./chunks/fetch-w4e9jgda.js";
20
+ import"./chunks/fetch-htdmphhq.js";
21
+ import"./chunks/fetch-3bgkr512.js";
22
+ import"./chunks/fetch-g7sdbt1s.js";
23
+ import"./chunks/fetch-jd2d9483.js";
24
+ import"./chunks/fetch-yjbzmfhm.js";
25
+ import"./chunks/fetch-kqr36gas.js";
26
+ import"./chunks/fetch-rwxah6rk.js";
27
+ import"./chunks/fetch-gy667q5r.js";
28
28
  import"./chunks/fetch-h6rt5k9s.js";
29
- import"./chunks/fetch-v8b04w1f.js";
30
- import"./chunks/fetch-vdfdkndj.js";
31
- import"./chunks/fetch-vtvdbwhg.js";
32
- import"./chunks/fetch-ej45n981.js";
33
- import"./chunks/fetch-6br0y3ag.js";
34
- import"./chunks/fetch-19dc7z8q.js";
35
- import"./chunks/fetch-atk2et4d.js";
36
- import"./chunks/fetch-69msffey.js";
37
- import"./chunks/fetch-v1jdrp9c.js";
38
- import"./chunks/fetch-aqzwjzmb.js";
39
- import"./chunks/fetch-6n9b1fbm.js";
40
- import"./chunks/fetch-q8cqvm6j.js";
41
- import"./chunks/fetch-74sf36cc.js";
42
- import"./chunks/fetch-gv627jgt.js";
43
- import"./chunks/fetch-wxs03cgb.js";
29
+ import"./chunks/fetch-ye9tw5gq.js";
30
+ import"./chunks/fetch-sc3gatcy.js";
31
+ import"./chunks/fetch-t4c683g8.js";
32
+ import"./chunks/fetch-z6z134jc.js";
33
+ import"./chunks/fetch-7xe5pzvy.js";
34
+ import"./chunks/fetch-jk5edc6h.js";
35
+ import"./chunks/fetch-wexwfee0.js";
36
+ import"./chunks/fetch-ca30pptj.js";
37
+ import"./chunks/fetch-g3mfewdn.js";
38
+ import"./chunks/fetch-qx5ydgm0.js";
39
+ import"./chunks/fetch-3d7qdbre.js";
40
+ import"./chunks/fetch-z3akqjf6.js";
41
+ import"./chunks/fetch-gw6rc7x0.js";
42
+ import"./chunks/fetch-tp6qcw6t.js";
43
+ import"./chunks/fetch-hwqxzcvy.js";
44
+ import"./chunks/fetch-kemnkk2a.js";
44
45
  import"./chunks/fetch-7b9xm1qg.js";
45
46
  import"./chunks/fetch-erzfdgke.js";
46
- import"./chunks/fetch-xd3n3rzf.js";
47
+ import"./chunks/fetch-cefaytvp.js";
47
48
  import {
48
- make3
49
- } from "./chunks/fetch-8qj9sq0n.js";
49
+ make2
50
+ } from "./chunks/fetch-se2xrvte.js";
50
51
  import {
51
52
  __export
52
53
  } from "./chunks/fetch-9rqn6x4v.js";
@@ -71,7 +72,7 @@ import { Snapshot } from "@opencode/core/snapshot";
71
72
  import { Vcs } from "@opencode/core/vcs";
72
73
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
73
74
  function create(options) {
74
- return make3(serverOptions(options), { overrides: replacements(options) });
75
+ return make2(serverOptions(options), { overrides: replacements(options) });
75
76
  }
76
77
  function serverOptions(options) {
77
78
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/server",
4
- "version": "0.0.0-dev-21775",
4
+ "version": "0.0.0-dev-21779",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -31,17 +31,17 @@
31
31
  "dependencies": {
32
32
  "@effect/platform-node": "4.0.1",
33
33
  "@effect/platform-node-shared": "4.0.1",
34
- "@opencode/core": "0.0.0-dev-21775",
35
- "@opencode/protocol": "0.0.0-dev-21775",
36
- "@opencode/schema": "0.0.0-dev-21775",
37
- "@opencode/simulation": "0.0.0-dev-21775",
38
- "@opencode/util": "0.0.0-dev-21775",
34
+ "@opencode/core": "0.0.0-dev-21779",
35
+ "@opencode/protocol": "0.0.0-dev-21779",
36
+ "@opencode/schema": "0.0.0-dev-21779",
37
+ "@opencode/simulation": "0.0.0-dev-21779",
38
+ "@opencode/util": "0.0.0-dev-21779",
39
39
  "effect": "4.0.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@opencode-ai/pty": "0.3.1",
43
- "@opencode/client": "0.0.0-dev-21775",
44
- "@opencode/plugin": "0.0.0-dev-21775",
43
+ "@opencode/client": "0.0.0-dev-21779",
44
+ "@opencode/plugin": "0.0.0-dev-21779",
45
45
  "@tsconfig/bun": "1.0.9",
46
46
  "@types/bun": "1.4.3",
47
47
  "@typescript/native": "npm:typescript@7.1.0-beta",
@@ -1,102 +0,0 @@
1
- import {
2
- GenerateHandler2
3
- } from "./fetch-j8p25vmv.js";
4
- import {
5
- VoiceHandler2
6
- } from "./fetch-2qk3vekg.js";
7
- import {
8
- MessageHandler2
9
- } from "./fetch-j49n4591.js";
10
- import {
11
- ModelHandler2
12
- } from "./fetch-xxxx0904.js";
13
- import {
14
- ProviderHandler2
15
- } from "./fetch-6kta5392.js";
16
- import {
17
- SessionHandler2
18
- } from "./fetch-9k4wjdze.js";
19
- import {
20
- PermissionHandler2
21
- } from "./fetch-e54xd2ay.js";
22
- import {
23
- FileSystemHandler2
24
- } from "./fetch-77mqkxfz.js";
25
- import {
26
- FormHandler2
27
- } from "./fetch-wtxh433d.js";
28
- import {
29
- CommandHandler2
30
- } from "./fetch-67kmywtk.js";
31
- import {
32
- SkillHandler2
33
- } from "./fetch-hspp8v12.js";
34
- import {
35
- RpcHandler2
36
- } from "./fetch-m0y4004e.js";
37
- import {
38
- layer4
39
- } from "./fetch-08zhnp7p.js";
40
- import {
41
- EventHandler2
42
- } from "./fetch-19cj3ggs.js";
43
- import {
44
- AgentHandler2
45
- } from "./fetch-cqhyyp3f.js";
46
- import {
47
- PluginHandler2
48
- } from "./fetch-6t8za67t.js";
49
- import {
50
- ServerHandler2
51
- } from "./fetch-2z1wpwp6.js";
52
- import {
53
- DebugHandler2
54
- } from "./fetch-f9g2fv52.js";
55
- import {
56
- PtyHandler2
57
- } from "./fetch-v8b04w1f.js";
58
- import {
59
- PersistentPtyHandler2
60
- } from "./fetch-vdfdkndj.js";
61
- import {
62
- ShellHandler2
63
- } from "./fetch-vtvdbwhg.js";
64
- import {
65
- ReferenceHandler2
66
- } from "./fetch-ej45n981.js";
67
- import {
68
- LocationHandler2
69
- } from "./fetch-6br0y3ag.js";
70
- import {
71
- IntegrationHandler2
72
- } from "./fetch-19dc7z8q.js";
73
- import {
74
- WebSearchHandler2
75
- } from "./fetch-atk2et4d.js";
76
- import {
77
- McpHandler2
78
- } from "./fetch-69msffey.js";
79
- import {
80
- CredentialHandler2
81
- } from "./fetch-v1jdrp9c.js";
82
- import {
83
- ProjectHandler2
84
- } from "./fetch-aqzwjzmb.js";
85
- import {
86
- WorktreeHandler2
87
- } from "./fetch-6n9b1fbm.js";
88
- import {
89
- VcsHandler2
90
- } from "./fetch-q8cqvm6j.js";
91
- import {
92
- MigrationHandler2
93
- } from "./fetch-74sf36cc.js";
94
- import {
95
- ConfigHandler2
96
- } from "./fetch-gv627jgt.js";
97
-
98
- // src/handlers.ts
99
- import { Layer } from "effect";
100
- var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer4)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
101
-
102
- export { handlers2 };