@opencode/server 2.4.0 → 2.4.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.
Files changed (131) hide show
  1. package/dist/api.js +5 -5
  2. package/dist/auth.js +1 -1
  3. package/dist/chunks/{content-headers-r40v995e.js → workerd-20wvj9q6.js} +2 -2
  4. package/dist/chunks/{content-headers-39nnfjx1.js → workerd-39nnfjx1.js} +1 -1
  5. package/dist/chunks/{content-headers-0r476wkb.js → workerd-3rn5pzng.js} +5 -5
  6. package/dist/chunks/{content-headers-jmmhprac.js → workerd-4apj6a8e.js} +2 -2
  7. package/dist/chunks/{content-headers-ykk3p1r3.js → workerd-4gbck4qg.js} +2 -2
  8. package/dist/chunks/{content-headers-hk9crnsa.js → workerd-4r2ye500.js} +2 -2
  9. package/dist/chunks/{content-headers-fjcqsaaz.js → workerd-5dgtfnrn.js} +16 -16
  10. package/dist/chunks/{content-headers-p83m65n5.js → workerd-6t6fd9bq.js} +2 -2
  11. package/dist/chunks/{content-headers-1r438we2.js → workerd-73tyf2qy.js} +8 -8
  12. package/dist/chunks/{content-headers-7jm4dc4a.js → workerd-77gnb026.js} +4 -4
  13. package/dist/chunks/{content-headers-z3e7v67k.js → workerd-7dtbad8d.js} +7 -7
  14. package/dist/chunks/{content-headers-8ja97vv6.js → workerd-7x6cg3xs.js} +2 -2
  15. package/dist/chunks/{content-headers-7ydfwv45.js → workerd-7ydfwv45.js} +1 -1
  16. package/dist/chunks/{content-headers-9t07vtvz.js → workerd-86dz2n4m.js} +2 -2
  17. package/dist/chunks/{content-headers-b03d5rht.js → workerd-8mfdzabk.js} +2 -2
  18. package/dist/chunks/{content-headers-gq4jwh93.js → workerd-8n1ypg70.js} +3 -3
  19. package/dist/chunks/{content-headers-8sb6qqpn.js → workerd-8sb6qqpn.js} +1 -1
  20. package/dist/chunks/{content-headers-801prsqk.js → workerd-b1x3j2e8.js} +2 -2
  21. package/dist/chunks/{content-headers-y60jfeab.js → workerd-b7yt2ykh.js} +2 -2
  22. package/dist/chunks/{content-headers-5jm9kajg.js → workerd-b87bs0cf.js} +2 -2
  23. package/dist/chunks/{content-headers-hf3kgjhr.js → workerd-bvm82fhd.js} +4 -4
  24. package/dist/chunks/{content-headers-100nc7c0.js → workerd-d0advawr.js} +2 -2
  25. package/dist/chunks/{content-headers-djr0jy89.js → workerd-djr0jy89.js} +1 -1
  26. package/dist/chunks/{content-headers-ky9xhfwk.js → workerd-dqfyxmp4.js} +4 -4
  27. package/dist/chunks/{content-headers-4zkx9wb3.js → workerd-edwk6ehd.js} +1 -1
  28. package/dist/chunks/{content-headers-qfyg9gb7.js → workerd-fvpjvjpp.js} +7 -7
  29. package/dist/chunks/{content-headers-g23ffrnz.js → workerd-g23ffrnz.js} +2 -2
  30. package/dist/chunks/{content-headers-w3xmknp7.js → workerd-g80pvn6e.js} +2 -2
  31. package/dist/chunks/{content-headers-d20xfnpc.js → workerd-g97h7k0s.js} +1 -1
  32. package/dist/chunks/workerd-hgrkvk6s.js +48 -0
  33. package/dist/chunks/{content-headers-j4at0y5c.js → workerd-j4at0y5c.js} +1 -1
  34. package/dist/chunks/{content-headers-ywn523ee.js → workerd-j80tzjj3.js} +3 -3
  35. package/dist/chunks/{content-headers-mvp6540g.js → workerd-jpqse2v9.js} +35 -35
  36. package/dist/chunks/{content-headers-4fc68szf.js → workerd-k26h7zjg.js} +2 -2
  37. package/dist/chunks/{content-headers-hnbeyfax.js → workerd-kffke7z4.js} +9 -9
  38. package/dist/chunks/{content-headers-hmwn16zp.js → workerd-myqk22k5.js} +2 -2
  39. package/dist/chunks/{content-headers-ah2sj2pr.js → workerd-n6ypjnhz.js} +1 -1
  40. package/dist/chunks/{content-headers-jhbndf2d.js → workerd-nkfbbfe7.js} +4 -4
  41. package/dist/chunks/{content-headers-rmfb1myj.js → workerd-p4zkxzv7.js} +1 -1
  42. package/dist/chunks/{content-headers-yty6dk04.js → workerd-p9wp66hf.js} +1 -1
  43. package/dist/chunks/{content-headers-2dzr03as.js → workerd-pv4dnzzq.js} +1 -1
  44. package/dist/chunks/{content-headers-vw0q3knq.js → workerd-qahj7606.js} +1 -1
  45. package/dist/chunks/{content-headers-rktygpea.js → workerd-rktygpea.js} +1 -1
  46. package/dist/chunks/{content-headers-zjmacp9c.js → workerd-s8t5gq7c.js} +3 -3
  47. package/dist/chunks/{content-headers-t32e1bbt.js → workerd-t32e1bbt.js} +1 -1
  48. package/dist/chunks/{content-headers-7qpea5x7.js → workerd-t62b1gmw.js} +2 -2
  49. package/dist/chunks/{content-headers-wka57cdm.js → workerd-t8azv5ge.js} +2 -2
  50. package/dist/chunks/{content-headers-s3zgwc17.js → workerd-v0z8pce5.js} +2 -2
  51. package/dist/chunks/{content-headers-ddrpmftb.js → workerd-vxy32kc1.js} +4 -4
  52. package/dist/chunks/{content-headers-2rb1ee6g.js → workerd-w13ad1dk.js} +3 -3
  53. package/dist/chunks/{content-headers-mzs0n5xz.js → workerd-w9jcwh65.js} +7 -7
  54. package/dist/chunks/{content-headers-prn0chz2.js → workerd-wh07bcjv.js} +1 -1
  55. package/dist/chunks/{content-headers-2cm4dfcc.js → workerd-zrptb2x8.js} +2 -2
  56. package/dist/content-headers.js +1 -1
  57. package/dist/cors.js +1 -1
  58. package/dist/event-feed.js +5 -5
  59. package/dist/fetch.js +60 -60
  60. package/dist/handlers/agent.js +6 -6
  61. package/dist/handlers/artifact.js +3 -3
  62. package/dist/handlers/automation.d.ts +1 -3
  63. package/dist/handlers/automation.js +2 -2
  64. package/dist/handlers/blob.js +3 -3
  65. package/dist/handlers/command.js +6 -6
  66. package/dist/handlers/config.js +6 -6
  67. package/dist/handlers/credential.js +7 -7
  68. package/dist/handlers/debug.js +6 -6
  69. package/dist/handlers/event.js +7 -7
  70. package/dist/handlers/form.js +6 -6
  71. package/dist/handlers/fs.js +8 -8
  72. package/dist/handlers/generate.js +6 -6
  73. package/dist/handlers/integration.js +6 -6
  74. package/dist/handlers/job.js +2 -2
  75. package/dist/handlers/location.js +6 -6
  76. package/dist/handlers/machine.js +1 -1
  77. package/dist/handlers/mcp.js +8 -8
  78. package/dist/handlers/media.js +2 -2
  79. package/dist/handlers/message.js +7 -7
  80. package/dist/handlers/migration.js +6 -6
  81. package/dist/handlers/model.js +6 -6
  82. package/dist/handlers/permission.js +6 -6
  83. package/dist/handlers/persistent-pty.d.ts +1 -1
  84. package/dist/handlers/persistent-pty.js +16 -16
  85. package/dist/handlers/plugin.js +6 -6
  86. package/dist/handlers/project.js +6 -6
  87. package/dist/handlers/provider.js +6 -6
  88. package/dist/handlers/pty-socket.js +1 -1
  89. package/dist/handlers/pty.js +8 -8
  90. package/dist/handlers/reference.js +6 -6
  91. package/dist/handlers/rpc.js +6 -6
  92. package/dist/handlers/server.js +9 -9
  93. package/dist/handlers/session-error.js +1 -1
  94. package/dist/handlers/session.js +7 -7
  95. package/dist/handlers/shell.js +6 -6
  96. package/dist/handlers/skill.js +6 -6
  97. package/dist/handlers/usage.js +6 -6
  98. package/dist/handlers/vcs.js +6 -6
  99. package/dist/handlers/voice.js +6 -6
  100. package/dist/handlers/websearch.js +6 -6
  101. package/dist/handlers/worktree.js +6 -6
  102. package/dist/handlers.d.ts +1 -1
  103. package/dist/handlers.js +53 -53
  104. package/dist/location.js +4 -4
  105. package/dist/media-uri.js +1 -1
  106. package/dist/middleware/authorization.js +2 -2
  107. package/dist/middleware/defect-response.js +1 -1
  108. package/dist/middleware/form-location.js +3 -3
  109. package/dist/middleware/schema-error.js +1 -1
  110. package/dist/middleware/session-location.js +3 -3
  111. package/dist/pairing.js +3 -3
  112. package/dist/process.js +61 -61
  113. package/dist/range.js +1 -1
  114. package/dist/request-site.js +2 -2
  115. package/dist/request-tracing.js +1 -1
  116. package/dist/routes.d.ts +2 -2
  117. package/dist/routes.js +57 -57
  118. package/dist/server-info.js +5 -5
  119. package/dist/service-status.js +1 -1
  120. package/dist/workerd.js +61 -61
  121. package/package.json +8 -8
  122. package/dist/chunks/content-headers-9cd3a4b8.js +0 -69
  123. /package/dist/chunks/{content-headers-0rzj25w4.js → workerd-0rzj25w4.js} +0 -0
  124. /package/dist/chunks/{content-headers-9rqn6x4v.js → workerd-9rqn6x4v.js} +0 -0
  125. /package/dist/chunks/{content-headers-bd8755ek.js → workerd-bd8755ek.js} +0 -0
  126. /package/dist/chunks/{content-headers-n26yr6pw.js → workerd-n26yr6pw.js} +0 -0
  127. /package/dist/chunks/{content-headers-q187pxxd.js → workerd-q187pxxd.js} +0 -0
  128. /package/dist/chunks/{content-headers-q4bn6dy8.js → workerd-q4bn6dy8.js} +0 -0
  129. /package/dist/chunks/{content-headers-smaf4a18.js → workerd-smaf4a18.js} +0 -0
  130. /package/dist/chunks/{content-headers-xthc02cw.js → workerd-xthc02cw.js} +0 -0
  131. /package/dist/chunks/{content-headers-yc7nft6q.js → workerd-yc7nft6q.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./content-headers-smaf4a18.js";
3
+ } from "./workerd-smaf4a18.js";
4
4
 
5
5
  // src/location.ts
6
6
  import { FileSystem } from "@opencode/core/filesystem";
@@ -51,7 +51,7 @@ function decode(input) {
51
51
  return input;
52
52
  }
53
53
  }
54
- var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
54
+ var layer3 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
55
55
  const locations = yield* LocationServiceMap.Service;
56
56
  return LocationMiddleware2.of((effect) => Effect.gen(function* () {
57
57
  const request = yield* HttpServerRequest.HttpServerRequest;
@@ -59,4 +59,4 @@ var layer4 = Layer.effect(LocationMiddleware2, Effect.gen(function* () {
59
59
  }));
60
60
  }));
61
61
 
62
- export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer4 };
62
+ export { LocationMiddleware2, locationErrors2, response2, sessionInfo2, requestRef2, layer3 };
@@ -1,105 +1,105 @@
1
1
  import {
2
2
  GenerateHandler2
3
- } from "./content-headers-b03d5rht.js";
3
+ } from "./workerd-8mfdzabk.js";
4
4
  import {
5
5
  VoiceHandler2
6
- } from "./content-headers-s3zgwc17.js";
6
+ } from "./workerd-v0z8pce5.js";
7
7
  import {
8
8
  MessageHandler2
9
- } from "./content-headers-2rb1ee6g.js";
9
+ } from "./workerd-w13ad1dk.js";
10
10
  import {
11
11
  ModelHandler2
12
- } from "./content-headers-100nc7c0.js";
12
+ } from "./workerd-d0advawr.js";
13
13
  import {
14
14
  ProviderHandler2
15
- } from "./content-headers-p83m65n5.js";
15
+ } from "./workerd-6t6fd9bq.js";
16
16
  import {
17
17
  SessionHandler2
18
- } from "./content-headers-ky9xhfwk.js";
18
+ } from "./workerd-dqfyxmp4.js";
19
19
  import {
20
20
  PermissionHandler2
21
- } from "./content-headers-gq4jwh93.js";
21
+ } from "./workerd-8n1ypg70.js";
22
22
  import {
23
23
  FileSystemHandler2
24
- } from "./content-headers-ddrpmftb.js";
24
+ } from "./workerd-vxy32kc1.js";
25
25
  import {
26
26
  FormHandler2
27
- } from "./content-headers-2cm4dfcc.js";
27
+ } from "./workerd-zrptb2x8.js";
28
28
  import {
29
29
  CommandHandler2
30
- } from "./content-headers-5jm9kajg.js";
30
+ } from "./workerd-b87bs0cf.js";
31
31
  import {
32
32
  SkillHandler2
33
- } from "./content-headers-jmmhprac.js";
33
+ } from "./workerd-4apj6a8e.js";
34
34
  import {
35
35
  RpcHandler2
36
- } from "./content-headers-rmfb1myj.js";
36
+ } from "./workerd-p4zkxzv7.js";
37
37
  import {
38
- layer3
39
- } from "./content-headers-qfyg9gb7.js";
38
+ layer2
39
+ } from "./workerd-fvpjvjpp.js";
40
40
  import {
41
41
  EventHandler2
42
- } from "./content-headers-7jm4dc4a.js";
42
+ } from "./workerd-77gnb026.js";
43
43
  import {
44
44
  AgentHandler2
45
- } from "./content-headers-4fc68szf.js";
45
+ } from "./workerd-k26h7zjg.js";
46
46
  import {
47
47
  PluginHandler2
48
- } from "./content-headers-r40v995e.js";
48
+ } from "./workerd-20wvj9q6.js";
49
49
  import {
50
50
  ServerHandler2
51
- } from "./content-headers-1r438we2.js";
51
+ } from "./workerd-73tyf2qy.js";
52
52
  import {
53
53
  DebugHandler2
54
- } from "./content-headers-y60jfeab.js";
54
+ } from "./workerd-b7yt2ykh.js";
55
55
  import {
56
56
  PtyHandler2
57
- } from "./content-headers-jhbndf2d.js";
57
+ } from "./workerd-nkfbbfe7.js";
58
58
  import {
59
59
  PersistentPtyHandler2
60
- } from "./content-headers-hnbeyfax.js";
60
+ } from "./workerd-kffke7z4.js";
61
61
  import {
62
62
  ShellHandler2
63
- } from "./content-headers-801prsqk.js";
63
+ } from "./workerd-b1x3j2e8.js";
64
64
  import {
65
65
  ReferenceHandler2
66
- } from "./content-headers-wka57cdm.js";
66
+ } from "./workerd-t8azv5ge.js";
67
67
  import {
68
68
  LocationHandler2
69
- } from "./content-headers-prn0chz2.js";
69
+ } from "./workerd-wh07bcjv.js";
70
70
  import {
71
71
  IntegrationHandler2
72
- } from "./content-headers-hk9crnsa.js";
72
+ } from "./workerd-4r2ye500.js";
73
73
  import {
74
74
  WebSearchHandler2
75
- } from "./content-headers-8ja97vv6.js";
75
+ } from "./workerd-7x6cg3xs.js";
76
76
  import {
77
77
  UsageHandler2
78
- } from "./content-headers-ykk3p1r3.js";
78
+ } from "./workerd-4gbck4qg.js";
79
79
  import {
80
80
  McpHandler2
81
- } from "./content-headers-hf3kgjhr.js";
81
+ } from "./workerd-bvm82fhd.js";
82
82
  import {
83
83
  CredentialHandler2
84
- } from "./content-headers-9t07vtvz.js";
84
+ } from "./workerd-86dz2n4m.js";
85
85
  import {
86
86
  ProjectHandler2
87
- } from "./content-headers-4zkx9wb3.js";
87
+ } from "./workerd-edwk6ehd.js";
88
88
  import {
89
89
  WorktreeHandler2
90
- } from "./content-headers-yty6dk04.js";
90
+ } from "./workerd-p9wp66hf.js";
91
91
  import {
92
92
  VcsHandler2
93
- } from "./content-headers-w3xmknp7.js";
93
+ } from "./workerd-g80pvn6e.js";
94
94
  import {
95
95
  MigrationHandler2
96
- } from "./content-headers-2dzr03as.js";
96
+ } from "./workerd-pv4dnzzq.js";
97
97
  import {
98
98
  ConfigHandler2
99
- } from "./content-headers-d20xfnpc.js";
99
+ } from "./workerd-g97h7k0s.js";
100
100
 
101
101
  // src/handlers.ts
102
102
  import { Layer } from "effect";
103
- var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer3)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
103
+ var handlers2 = Layer.mergeAll(ServerHandler2, DebugHandler2, MigrationHandler2, LocationHandler2, AgentHandler2, PluginHandler2, SessionHandler2, MessageHandler2, ModelHandler2, GenerateHandler2, VoiceHandler2, ProviderHandler2, IntegrationHandler2, WebSearchHandler2, UsageHandler2, McpHandler2, CredentialHandler2, ProjectHandler2, FormHandler2, PermissionHandler2, FileSystemHandler2, CommandHandler2, SkillHandler2, RpcHandler2, EventHandler2.pipe(Layer.provide(layer2)), PtyHandler2, PersistentPtyHandler2, ShellHandler2, ReferenceHandler2, WorktreeHandler2, VcsHandler2, ConfigHandler2);
104
104
 
105
105
  export { handlers2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-ywn523ee.js";
3
+ } from "./workerd-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-zjmacp9c.js";
6
+ } from "./workerd-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/agent.ts
9
9
  import { Agent } from "@opencode/core/agent";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-zjmacp9c.js";
3
+ } from "./workerd-s8t5gq7c.js";
4
4
  import {
5
5
  CorsConfig2,
6
6
  isAllowedRequestOrigin2
7
- } from "./content-headers-q4bn6dy8.js";
7
+ } from "./workerd-q4bn6dy8.js";
8
8
  import {
9
9
  makeArtifact2
10
- } from "./content-headers-7qpea5x7.js";
10
+ } from "./workerd-t62b1gmw.js";
11
11
  import {
12
12
  makeBlobGet2
13
- } from "./content-headers-g23ffrnz.js";
13
+ } from "./workerd-g23ffrnz.js";
14
14
  import {
15
15
  makeAutomation2
16
- } from "./content-headers-9cd3a4b8.js";
16
+ } from "./workerd-hgrkvk6s.js";
17
17
  import {
18
18
  makeJob2
19
- } from "./content-headers-7ydfwv45.js";
19
+ } from "./workerd-7ydfwv45.js";
20
20
  import {
21
21
  makeMachineLink2,
22
22
  makeMachine2
23
- } from "./content-headers-0rzj25w4.js";
23
+ } from "./workerd-0rzj25w4.js";
24
24
  import {
25
25
  makeMediaGet2
26
- } from "./content-headers-djr0jy89.js";
26
+ } from "./workerd-djr0jy89.js";
27
27
  import {
28
28
  runPtySocket2
29
- } from "./content-headers-q187pxxd.js";
29
+ } from "./workerd-q187pxxd.js";
30
30
 
31
31
  // src/handlers/persistent-pty.ts
32
32
  import { PersistentPty } from "@opencode/core/persistent-pty";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isAllowedRequestOrigin2
3
- } from "./content-headers-q4bn6dy8.js";
3
+ } from "./workerd-q4bn6dy8.js";
4
4
  import {
5
5
  __export
6
- } from "./content-headers-9rqn6x4v.js";
6
+ } from "./workerd-9rqn6x4v.js";
7
7
 
8
8
  // src/request-site.ts
9
9
  var exports_request_site = {};
@@ -2,7 +2,7 @@ import {
2
2
  locationErrors2,
3
3
  sessionInfo2,
4
4
  requestRef2
5
- } from "./content-headers-ywn523ee.js";
5
+ } from "./workerd-j80tzjj3.js";
6
6
 
7
7
  // src/middleware/form-location.ts
8
8
  import { Instance } from "@opencode/core/instance/service";
@@ -2,18 +2,18 @@ import {
2
2
  locationErrors2,
3
3
  response2,
4
4
  requestRef2
5
- } from "./content-headers-ywn523ee.js";
5
+ } from "./workerd-j80tzjj3.js";
6
6
  import {
7
7
  Api2
8
- } from "./content-headers-zjmacp9c.js";
8
+ } from "./workerd-s8t5gq7c.js";
9
9
  import {
10
10
  CorsConfig2,
11
11
  isAllowedRequestOrigin2
12
- } from "./content-headers-q4bn6dy8.js";
12
+ } from "./workerd-q4bn6dy8.js";
13
13
  import {
14
14
  runPtySocket2,
15
15
  holdLocation2
16
- } from "./content-headers-q187pxxd.js";
16
+ } from "./workerd-q187pxxd.js";
17
17
 
18
18
  // src/handlers/pty.ts
19
19
  import { Pty } from "@opencode/core/pty";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-zjmacp9c.js";
3
+ } from "./workerd-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/rpc.ts
6
6
  import { Rpc } from "@opencode/core/rpc";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-zjmacp9c.js";
3
+ } from "./workerd-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/worktree.ts
6
6
  import { Git } from "@opencode/core/git";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-zjmacp9c.js";
3
+ } from "./workerd-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/migration.ts
6
6
  import { V1Migration } from "@opencode/core/database/v1-migration";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  locationErrors2,
3
3
  sessionInfo2
4
- } from "./content-headers-ywn523ee.js";
4
+ } from "./workerd-j80tzjj3.js";
5
5
 
6
6
  // src/middleware/session-location.ts
7
7
  import { Instance } from "@opencode/core/instance/service";
@@ -4,7 +4,7 @@ import {
4
4
  authorized2,
5
5
  verifySession2,
6
6
  sessionCookieName2
7
- } from "./content-headers-j4at0y5c.js";
7
+ } from "./workerd-j4at0y5c.js";
8
8
 
9
9
  // src/middleware/authorization.ts
10
10
  import { UnauthorizedError } from "@opencode/protocol/errors";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LocationMiddleware2
3
- } from "./content-headers-ywn523ee.js";
3
+ } from "./workerd-j80tzjj3.js";
4
4
  import {
5
5
  FormLocationMiddleware2
6
- } from "./content-headers-ah2sj2pr.js";
6
+ } from "./workerd-n6ypjnhz.js";
7
7
  import {
8
8
  SessionLocationMiddleware2
9
- } from "./content-headers-vw0q3knq.js";
9
+ } from "./workerd-qahj7606.js";
10
10
 
11
11
  // src/api.ts
12
12
  import { makeDefaultApi } from "@opencode/protocol/api";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./content-headers-9rqn6x4v.js";
3
+ } from "./workerd-9rqn6x4v.js";
4
4
 
5
5
  // src/content-headers.ts
6
6
  var exports_content_headers = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  missingSession2
3
- } from "./content-headers-smaf4a18.js";
3
+ } from "./workerd-smaf4a18.js";
4
4
  import {
5
5
  locationErrors2,
6
6
  response2,
7
7
  requestRef2
8
- } from "./content-headers-ywn523ee.js";
8
+ } from "./workerd-j80tzjj3.js";
9
9
 
10
10
  // src/handlers/artifact.ts
11
11
  import { Artifact } from "@opencode/core/artifact";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-ywn523ee.js";
3
+ } from "./workerd-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-zjmacp9c.js";
6
+ } from "./workerd-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/reference.ts
9
9
  import { Reference } from "@opencode/core/reference";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  locationErrors2
3
- } from "./content-headers-ywn523ee.js";
3
+ } from "./workerd-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-zjmacp9c.js";
6
+ } from "./workerd-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/voice.ts
9
9
  import { Location } from "@opencode/core/location";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-ywn523ee.js";
3
+ } from "./workerd-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-zjmacp9c.js";
6
+ } from "./workerd-s8t5gq7c.js";
7
7
  import {
8
8
  download2
9
- } from "./content-headers-t32e1bbt.js";
9
+ } from "./workerd-t32e1bbt.js";
10
10
  import {
11
11
  parse2
12
- } from "./content-headers-8sb6qqpn.js";
12
+ } from "./workerd-8sb6qqpn.js";
13
13
 
14
14
  // src/handlers/fs.ts
15
15
  import { FileSystem } from "@opencode/core/filesystem";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  missingSession2,
3
3
  failedMessageDecode2
4
- } from "./content-headers-smaf4a18.js";
4
+ } from "./workerd-smaf4a18.js";
5
5
  import {
6
6
  Api2
7
- } from "./content-headers-zjmacp9c.js";
7
+ } from "./workerd-s8t5gq7c.js";
8
8
  import {
9
9
  wantsMediaRefs2
10
- } from "./content-headers-xthc02cw.js";
10
+ } from "./workerd-xthc02cw.js";
11
11
 
12
12
  // src/handlers/message.ts
13
13
  import { SessionMessage } from "@opencode/core/session/message";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./content-headers-9rqn6x4v.js";
3
+ } from "./workerd-9rqn6x4v.js";
4
4
 
5
5
  // src/pairing.ts
6
6
  var exports_pairing = {};
7
7
  __export(exports_pairing, {
8
8
  ServerPairing: () => exports_pairing,
9
- Service: () => Service4,
9
+ Service: () => Service3,
10
10
  node: () => node2
11
11
  });
12
12
  import { Cache, Context, Duration, Effect, Layer } from "effect";
@@ -14,12 +14,12 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
  import { randomBytes } from "node:crypto";
15
15
  var TTL = Duration.minutes(5);
16
16
 
17
- class Service4 extends Context.Service()("@opencode/ServerPairing") {
17
+ class Service3 extends Context.Service()("@opencode/ServerPairing") {
18
18
  }
19
19
  var noLookup = () => Effect.die(new Error("ServerPairing cache must be used via set/invalidateWhen, never get"));
20
- var layer = Layer.effect(Service4, Effect.gen(function* () {
20
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
21
21
  const cache = yield* Cache.make({ capacity: 1000, lookup: noLookup, timeToLive: TTL });
22
- return Service4.of({
22
+ return Service3.of({
23
23
  issue: Effect.fn("ServerPairing.issue")(function* () {
24
24
  const code = randomBytes(16).toString("base64url");
25
25
  yield* Cache.set(cache, code, true);
@@ -30,6 +30,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
30
30
  })
31
31
  });
32
32
  }));
33
- var node2 = makeGlobalNode({ service: Service4, layer, deps: [] });
33
+ var node2 = makeGlobalNode({ service: Service3, layer, deps: [] });
34
34
 
35
- export { Service4, node2, exports_pairing };
35
+ export { Service3, node2, exports_pairing };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Api2
3
- } from "./content-headers-zjmacp9c.js";
3
+ } from "./workerd-s8t5gq7c.js";
4
4
 
5
5
  // src/handlers/location.ts
6
6
  import { Location } from "@opencode/core/location";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  response2
3
- } from "./content-headers-ywn523ee.js";
3
+ } from "./workerd-j80tzjj3.js";
4
4
  import {
5
5
  Api2
6
- } from "./content-headers-zjmacp9c.js";
6
+ } from "./workerd-s8t5gq7c.js";
7
7
 
8
8
  // src/handlers/form.ts
9
9
  import { Form } from "@opencode/core/form";
@@ -3,7 +3,7 @@ import {
3
3
  download2,
4
4
  disposition2,
5
5
  exports_content_headers
6
- } from "./chunks/content-headers-t32e1bbt.js";
6
+ } from "./chunks/workerd-t32e1bbt.js";
7
7
  export {
8
8
  CONTENT_SECURITY_POLICY2 as CONTENT_SECURITY_POLICY,
9
9
  exports_content_headers as ContentHeaders,
package/dist/cors.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  CorsConfig2,
3
3
  isAllowedCorsOrigin2,
4
4
  isAllowedRequestOrigin2
5
- } from "./chunks/content-headers-q4bn6dy8.js";
5
+ } from "./chunks/workerd-q4bn6dy8.js";
6
6
  export {
7
7
  CorsConfig2 as CorsConfig,
8
8
  isAllowedCorsOrigin2 as isAllowedCorsOrigin,
@@ -2,19 +2,19 @@ import {
2
2
  SubscriberCapacity2,
3
3
  SubscriberOverflowError2,
4
4
  EncodingError2,
5
- Service3,
5
+ Service2,
6
6
  frame2,
7
7
  make4,
8
- layer3,
8
+ layer2,
9
9
  exports_event_feed
10
- } from "./chunks/content-headers-qfyg9gb7.js";
10
+ } from "./chunks/workerd-fvpjvjpp.js";
11
11
  export {
12
12
  EncodingError2 as EncodingError,
13
13
  exports_event_feed as EventFeed,
14
- Service3 as Service,
14
+ Service2 as Service,
15
15
  SubscriberCapacity2 as SubscriberCapacity,
16
16
  SubscriberOverflowError2 as SubscriberOverflowError,
17
17
  frame2 as frame,
18
- layer3 as layer,
18
+ layer2 as layer,
19
19
  make4 as make
20
20
  };