@sentropic/h2a 0.85.16 → 0.85.18

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 (193) hide show
  1. package/.claude-plugin/plugin.json +29 -0
  2. package/.codex-plugin/plugin.json +35 -0
  3. package/.mcp.json +19 -0
  4. package/README.md +3 -0
  5. package/dist/bin-routing.d.ts +14 -3
  6. package/dist/bin-routing.d.ts.map +1 -1
  7. package/dist/bin-routing.js +31 -6
  8. package/dist/bin-routing.js.map +1 -1
  9. package/dist/bin.js +45 -14
  10. package/dist/bin.js.map +1 -1
  11. package/dist/cli-contract.d.ts.map +1 -1
  12. package/dist/cli-contract.js +41 -1
  13. package/dist/cli-contract.js.map +1 -1
  14. package/dist/cli.d.ts +4 -0
  15. package/dist/cli.d.ts.map +1 -1
  16. package/dist/cli.js +146 -18
  17. package/dist/cli.js.map +1 -1
  18. package/dist/index.d.ts +4 -3
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3 -2
  21. package/dist/index.js.map +1 -1
  22. package/dist/mcp.d.ts +1 -1
  23. package/dist/mcp.d.ts.map +1 -1
  24. package/dist/mcp.js +1 -0
  25. package/dist/mcp.js.map +1 -1
  26. package/dist/runtime/focus/serve.d.ts +42 -0
  27. package/dist/runtime/focus/serve.d.ts.map +1 -0
  28. package/dist/runtime/focus/serve.js +366 -0
  29. package/dist/runtime/focus/serve.js.map +1 -0
  30. package/dist/runtime/loop/engine/adapters.d.ts +62 -6
  31. package/dist/runtime/loop/engine/adapters.d.ts.map +1 -1
  32. package/dist/runtime/loop/engine/adapters.js +272 -36
  33. package/dist/runtime/loop/engine/adapters.js.map +1 -1
  34. package/dist/runtime/loop/engine/decision.d.ts.map +1 -1
  35. package/dist/runtime/loop/engine/decision.js +20 -2
  36. package/dist/runtime/loop/engine/decision.js.map +1 -1
  37. package/dist/runtime/loop/engine/execute.d.ts +13 -4
  38. package/dist/runtime/loop/engine/execute.d.ts.map +1 -1
  39. package/dist/runtime/loop/engine/execute.js +17 -7
  40. package/dist/runtime/loop/engine/execute.js.map +1 -1
  41. package/dist/runtime/loop/index.d.ts +16 -0
  42. package/dist/runtime/loop/index.d.ts.map +1 -1
  43. package/dist/runtime/loop/index.js +146 -13
  44. package/dist/runtime/loop/index.js.map +1 -1
  45. package/dist/runtime/mcp/agent-launch.d.ts +33 -0
  46. package/dist/runtime/mcp/agent-launch.d.ts.map +1 -0
  47. package/dist/runtime/mcp/agent-launch.js +250 -0
  48. package/dist/runtime/mcp/agent-launch.js.map +1 -0
  49. package/dist/runtime/mcp/handlers.d.ts +8 -0
  50. package/dist/runtime/mcp/handlers.d.ts.map +1 -1
  51. package/dist/runtime/mcp/handlers.js +34 -4
  52. package/dist/runtime/mcp/handlers.js.map +1 -1
  53. package/dist/runtime/mcp/index.d.ts +2 -1
  54. package/dist/runtime/mcp/index.d.ts.map +1 -1
  55. package/dist/runtime/mcp/index.js +2 -1
  56. package/dist/runtime/mcp/index.js.map +1 -1
  57. package/dist/runtime/mcp/server.d.ts +5 -0
  58. package/dist/runtime/mcp/server.d.ts.map +1 -1
  59. package/dist/runtime/mcp/server.js +3 -0
  60. package/dist/runtime/mcp/server.js.map +1 -1
  61. package/dist/runtime/mcp/stdio.d.ts +17 -0
  62. package/dist/runtime/mcp/stdio.d.ts.map +1 -1
  63. package/dist/runtime/mcp/stdio.js +65 -13
  64. package/dist/runtime/mcp/stdio.js.map +1 -1
  65. package/dist/runtime/mcp/tools.d.ts.map +1 -1
  66. package/dist/runtime/mcp/tools.js +96 -5
  67. package/dist/runtime/mcp/tools.js.map +1 -1
  68. package/dist/runtime/path-safety.d.ts +3 -0
  69. package/dist/runtime/path-safety.d.ts.map +1 -0
  70. package/dist/runtime/path-safety.js +12 -0
  71. package/dist/runtime/path-safety.js.map +1 -0
  72. package/dist/runtime/reporting/config.d.ts +21 -0
  73. package/dist/runtime/reporting/config.d.ts.map +1 -0
  74. package/dist/runtime/reporting/config.js +76 -0
  75. package/dist/runtime/reporting/config.js.map +1 -0
  76. package/dist/runtime/reporting/context.d.ts +27 -0
  77. package/dist/runtime/reporting/context.d.ts.map +1 -0
  78. package/dist/runtime/reporting/context.js +265 -0
  79. package/dist/runtime/reporting/context.js.map +1 -0
  80. package/dist/runtime/reporting/index.d.ts +4 -0
  81. package/dist/runtime/reporting/index.d.ts.map +1 -0
  82. package/dist/runtime/reporting/index.js +4 -0
  83. package/dist/runtime/reporting/index.js.map +1 -0
  84. package/dist/runtime/reporting/report-ai.d.ts +49 -0
  85. package/dist/runtime/reporting/report-ai.d.ts.map +1 -0
  86. package/dist/runtime/reporting/report-ai.js +325 -0
  87. package/dist/runtime/reporting/report-ai.js.map +1 -0
  88. package/focus-app/client/_app/immutable/assets/0.BdzHFb9q.css +1 -0
  89. package/focus-app/client/_app/immutable/assets/0.BdzHFb9q.css.br +2 -0
  90. package/focus-app/client/_app/immutable/assets/0.BdzHFb9q.css.gz +0 -0
  91. package/focus-app/client/_app/immutable/assets/2.Ddxq02y4.css +1 -0
  92. package/focus-app/client/_app/immutable/assets/2.Ddxq02y4.css.br +0 -0
  93. package/focus-app/client/_app/immutable/assets/2.Ddxq02y4.css.gz +0 -0
  94. package/focus-app/client/_app/immutable/chunks/Bs3f1UbD.js +2 -0
  95. package/focus-app/client/_app/immutable/chunks/Bs3f1UbD.js.br +0 -0
  96. package/focus-app/client/_app/immutable/chunks/Bs3f1UbD.js.gz +0 -0
  97. package/focus-app/client/_app/immutable/chunks/Bv8OL8ib.js +1 -0
  98. package/focus-app/client/_app/immutable/chunks/Bv8OL8ib.js.br +0 -0
  99. package/focus-app/client/_app/immutable/chunks/Bv8OL8ib.js.gz +0 -0
  100. package/focus-app/client/_app/immutable/chunks/CVq_IFFr.js +2 -0
  101. package/focus-app/client/_app/immutable/chunks/CVq_IFFr.js.br +0 -0
  102. package/focus-app/client/_app/immutable/chunks/CVq_IFFr.js.gz +0 -0
  103. package/focus-app/client/_app/immutable/chunks/Cj6wo28J.js +1 -0
  104. package/focus-app/client/_app/immutable/chunks/Cj6wo28J.js.br +0 -0
  105. package/focus-app/client/_app/immutable/chunks/Cj6wo28J.js.gz +0 -0
  106. package/focus-app/client/_app/immutable/chunks/DEmooz0s.js +1 -0
  107. package/focus-app/client/_app/immutable/chunks/DEmooz0s.js.br +0 -0
  108. package/focus-app/client/_app/immutable/chunks/DEmooz0s.js.gz +0 -0
  109. package/focus-app/client/_app/immutable/chunks/DQIRXgdC.js +2 -0
  110. package/focus-app/client/_app/immutable/chunks/DQIRXgdC.js.br +0 -0
  111. package/focus-app/client/_app/immutable/chunks/DQIRXgdC.js.gz +0 -0
  112. package/focus-app/client/_app/immutable/chunks/ZxFklh9T.js +1 -0
  113. package/focus-app/client/_app/immutable/chunks/ZxFklh9T.js.br +0 -0
  114. package/focus-app/client/_app/immutable/chunks/ZxFklh9T.js.gz +0 -0
  115. package/focus-app/client/_app/immutable/chunks/_wRuVGPs.js +1 -0
  116. package/focus-app/client/_app/immutable/chunks/_wRuVGPs.js.br +0 -0
  117. package/focus-app/client/_app/immutable/chunks/_wRuVGPs.js.gz +0 -0
  118. package/focus-app/client/_app/immutable/chunks/wbPk3Yxo.js +81 -0
  119. package/focus-app/client/_app/immutable/chunks/wbPk3Yxo.js.br +0 -0
  120. package/focus-app/client/_app/immutable/chunks/wbPk3Yxo.js.gz +0 -0
  121. package/focus-app/client/_app/immutable/entry/app.6DKouWRt.js +2 -0
  122. package/focus-app/client/_app/immutable/entry/app.6DKouWRt.js.br +0 -0
  123. package/focus-app/client/_app/immutable/entry/app.6DKouWRt.js.gz +0 -0
  124. package/focus-app/client/_app/immutable/entry/start.DlLmkUb7.js +1 -0
  125. package/focus-app/client/_app/immutable/entry/start.DlLmkUb7.js.br +2 -0
  126. package/focus-app/client/_app/immutable/entry/start.DlLmkUb7.js.gz +0 -0
  127. package/focus-app/client/_app/immutable/nodes/0.CuSOF0Of.js +5 -0
  128. package/focus-app/client/_app/immutable/nodes/0.CuSOF0Of.js.br +0 -0
  129. package/focus-app/client/_app/immutable/nodes/0.CuSOF0Of.js.gz +0 -0
  130. package/focus-app/client/_app/immutable/nodes/1.D39jdnqm.js +1 -0
  131. package/focus-app/client/_app/immutable/nodes/1.D39jdnqm.js.br +0 -0
  132. package/focus-app/client/_app/immutable/nodes/1.D39jdnqm.js.gz +0 -0
  133. package/focus-app/client/_app/immutable/nodes/2.CnU8ifRl.js +1 -0
  134. package/focus-app/client/_app/immutable/nodes/2.CnU8ifRl.js.br +0 -0
  135. package/focus-app/client/_app/immutable/nodes/2.CnU8ifRl.js.gz +0 -0
  136. package/focus-app/client/_app/version.json +1 -0
  137. package/focus-app/client/_app/version.json.br +0 -0
  138. package/focus-app/client/_app/version.json.gz +0 -0
  139. package/focus-app/env.js +70 -0
  140. package/focus-app/env.js.map +1 -0
  141. package/focus-app/h2a-focus.json +114 -0
  142. package/focus-app/handler.js +24 -0
  143. package/focus-app/handler.js.map +1 -0
  144. package/focus-app/index.js +147 -0
  145. package/focus-app/index.js.map +1 -0
  146. package/focus-app/server/chunks/chunks/exports.js-DUTkELZq.js +217 -0
  147. package/focus-app/server/chunks/chunks/exports.js-DUTkELZq.js.map +1 -0
  148. package/focus-app/server/chunks/chunks/false.js-B2gHlHjM.js +4 -0
  149. package/focus-app/server/chunks/chunks/false.js-B2gHlHjM.js.map +1 -0
  150. package/focus-app/server/chunks/chunks/friendly.js-D4fjovnZ.js +246 -0
  151. package/focus-app/server/chunks/chunks/friendly.js-D4fjovnZ.js.map +1 -0
  152. package/focus-app/server/chunks/chunks/index.js-Di21TltP.js +1315 -0
  153. package/focus-app/server/chunks/chunks/index.js-Di21TltP.js.map +1 -0
  154. package/focus-app/server/chunks/chunks/internal.js-33vbd70h.js +126 -0
  155. package/focus-app/server/chunks/chunks/internal.js-33vbd70h.js.map +1 -0
  156. package/focus-app/server/chunks/chunks/root.js-DO1m-gJA.js +2967 -0
  157. package/focus-app/server/chunks/chunks/root.js-DO1m-gJA.js.map +1 -0
  158. package/focus-app/server/chunks/chunks/server.js-Bf8x1V_n.js +16 -0
  159. package/focus-app/server/chunks/chunks/server.js-Bf8x1V_n.js.map +1 -0
  160. package/focus-app/server/chunks/chunks/utils.js-C_3_iViC.js +2545 -0
  161. package/focus-app/server/chunks/chunks/utils.js-C_3_iViC.js.map +1 -0
  162. package/focus-app/server/chunks/chunks/utils2.js-BQzn9ikS.js +38 -0
  163. package/focus-app/server/chunks/chunks/utils2.js-BQzn9ikS.js.map +1 -0
  164. package/focus-app/server/chunks/entries/endpoints/api/actions/launch/_server.ts.js-DUQcf9xd.js +63 -0
  165. package/focus-app/server/chunks/entries/endpoints/api/actions/launch/_server.ts.js-DUQcf9xd.js.map +1 -0
  166. package/focus-app/server/chunks/entries/endpoints/api/decisions/inject/_server.ts.js-j0NNcOSZ.js +100 -0
  167. package/focus-app/server/chunks/entries/endpoints/api/decisions/inject/_server.ts.js-j0NNcOSZ.js.map +1 -0
  168. package/focus-app/server/chunks/entries/fallbacks/error.svelte.js-Dj3sETSX.js +50 -0
  169. package/focus-app/server/chunks/entries/fallbacks/error.svelte.js-Dj3sETSX.js.map +1 -0
  170. package/focus-app/server/chunks/entries/pages/_layout.svelte.js-BoLsbuC2.js +1420 -0
  171. package/focus-app/server/chunks/entries/pages/_layout.svelte.js-BoLsbuC2.js.map +1 -0
  172. package/focus-app/server/chunks/entries/pages/_page.server.ts.js-ChRBj_xK.js +246 -0
  173. package/focus-app/server/chunks/entries/pages/_page.server.ts.js-ChRBj_xK.js.map +1 -0
  174. package/focus-app/server/chunks/entries/pages/_page.svelte.js-QDldMYhk.js +2725 -0
  175. package/focus-app/server/chunks/entries/pages/_page.svelte.js-QDldMYhk.js.map +1 -0
  176. package/focus-app/server/chunks/handler-Cp_5hLyY.js +1474 -0
  177. package/focus-app/server/chunks/handler-Cp_5hLyY.js.map +1 -0
  178. package/focus-app/server/chunks/index.js-CBh7Wjqp.js +4242 -0
  179. package/focus-app/server/chunks/index.js-CBh7Wjqp.js.map +1 -0
  180. package/focus-app/server/chunks/manifest.js-Cm6cC7mC.js +56 -0
  181. package/focus-app/server/chunks/manifest.js-Cm6cC7mC.js.map +1 -0
  182. package/focus-app/server/chunks/nodes/0.js-4wlmdsk8.js +9 -0
  183. package/focus-app/server/chunks/nodes/0.js-4wlmdsk8.js.map +1 -0
  184. package/focus-app/server/chunks/nodes/1.js-B-LpY-lC.js +9 -0
  185. package/focus-app/server/chunks/nodes/1.js-B-LpY-lC.js.map +1 -0
  186. package/focus-app/server/chunks/nodes/2.js-F6jp5eD9.js +19 -0
  187. package/focus-app/server/chunks/nodes/2.js-F6jp5eD9.js.map +1 -0
  188. package/focus-app/shims.js +33 -0
  189. package/focus-app/shims.js.map +1 -0
  190. package/package.json +8 -4
  191. package/skills/h2a/SKILL.md +7 -5
  192. package/skills/harness/SKILL.md +17 -0
  193. package/skills/harness/using-harness/SKILL.md +26 -0
@@ -0,0 +1 @@
1
+ {"version":"h2a-focus-b8282eb14b55c6f5"}
@@ -0,0 +1,70 @@
1
+ import path from 'node:path';
2
+ import process from 'node:process';
3
+ import { fileURLToPath } from 'node:url';
4
+
5
+ // since env.js is an entrypoint, `dir` will point to the output directory
6
+ const dir = path.dirname(fileURLToPath(import.meta.url));
7
+
8
+ const expected_unprefixed = new Set(['LISTEN_PID', 'LISTEN_FDS']);
9
+
10
+ const env_prefix = "";
11
+
12
+ /**
13
+ * @param {string} name
14
+ * @param {any} [fallback]
15
+ */
16
+ function env(name, fallback) {
17
+ const prefix = expected_unprefixed.has(name) ? '' : env_prefix;
18
+ const prefixed = prefix + name;
19
+ return prefixed in process.env ? process.env[prefixed] : fallback;
20
+ }
21
+
22
+ const integer_regexp = /^\d+$/;
23
+
24
+ /**
25
+ * Throw a consistently-structured parsing error for environment variables.
26
+ * @param {string} name
27
+ * @param {any} value
28
+ * @param {string} description
29
+ * @returns {never}
30
+ */
31
+ function parsing_error(name, value, description) {
32
+ throw new Error(
33
+ `Invalid value for environment variable ${name}: ${JSON.stringify(value)} (${description})`
34
+ );
35
+ }
36
+
37
+ /**
38
+ * Check the environment for a timeout value (non-negative integer) in seconds.
39
+ * @param {string} name
40
+ * @param {number} [fallback]
41
+ * @returns {number | undefined}
42
+ */
43
+ function timeout_env(name, fallback) {
44
+ const raw = env(name, fallback);
45
+ if (!raw) {
46
+ return fallback;
47
+ }
48
+
49
+ if (!integer_regexp.test(raw)) {
50
+ parsing_error(name, raw, 'should be a non-negative integer');
51
+ }
52
+
53
+ const parsed = Number.parseInt(raw, 10);
54
+
55
+ // We don't technically need to check `Number.isNaN` because the value already passed the regexp test.
56
+ // However, just in case there's some new codepath introduced somewhere down the line, it's probably good
57
+ // to stick this in here.
58
+ if (Number.isNaN(parsed)) {
59
+ parsing_error(name, raw, 'should be a non-negative integer');
60
+ }
61
+
62
+ if (parsed < 0) {
63
+ parsing_error(name, raw, 'should be a non-negative integer');
64
+ }
65
+
66
+ return parsed;
67
+ }
68
+
69
+ export { dir, env, env_prefix, timeout_env };
70
+ //# sourceMappingURL=env.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.js","sources":["../.svelte-kit/adapter-node/entries/env.js"],"sourcesContent":["import path from 'node:path';\nimport process from 'node:process';\nimport { fileURLToPath } from 'node:url';\n\n// since env.js is an entrypoint, `dir` will point to the output directory\nconst dir = path.dirname(fileURLToPath(import.meta.url));\n\nconst expected = new Set([\n\t'SOCKET_PATH',\n\t'HOST',\n\t'PORT',\n\t'ORIGIN',\n\t'XFF_DEPTH',\n\t'ADDRESS_HEADER',\n\t'PROTOCOL_HEADER',\n\t'HOST_HEADER',\n\t'PORT_HEADER',\n\t'BODY_SIZE_LIMIT',\n\t'SHUTDOWN_TIMEOUT',\n\t'IDLE_TIMEOUT',\n\t'KEEP_ALIVE_TIMEOUT',\n\t'HEADERS_TIMEOUT'\n]);\n\nconst expected_unprefixed = new Set(['LISTEN_PID', 'LISTEN_FDS']);\n\nconst env_prefix = ENV_PREFIX;\n\nif (env_prefix) {\n\tfor (const name in process.env) {\n\t\tif (name.startsWith(env_prefix)) {\n\t\t\tconst unprefixed = name.slice(env_prefix.length);\n\t\t\tif (!expected.has(unprefixed)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`You should change envPrefix (${env_prefix}) to avoid conflicts with existing environment variables — unexpectedly saw ${name}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * @param {string} name\n * @param {any} [fallback]\n */\nfunction env(name, fallback) {\n\tconst prefix = expected_unprefixed.has(name) ? '' : env_prefix;\n\tconst prefixed = prefix + name;\n\treturn prefixed in process.env ? process.env[prefixed] : fallback;\n}\n\nconst integer_regexp = /^\\d+$/;\n\n/**\n * Throw a consistently-structured parsing error for environment variables.\n * @param {string} name\n * @param {any} value\n * @param {string} description\n * @returns {never}\n */\nfunction parsing_error(name, value, description) {\n\tthrow new Error(\n\t\t`Invalid value for environment variable ${name}: ${JSON.stringify(value)} (${description})`\n\t);\n}\n\n/**\n * Check the environment for a timeout value (non-negative integer) in seconds.\n * @param {string} name\n * @param {number} [fallback]\n * @returns {number | undefined}\n */\nfunction timeout_env(name, fallback) {\n\tconst raw = env(name, fallback);\n\tif (!raw) {\n\t\treturn fallback;\n\t}\n\n\tif (!integer_regexp.test(raw)) {\n\t\tparsing_error(name, raw, 'should be a non-negative integer');\n\t}\n\n\tconst parsed = Number.parseInt(raw, 10);\n\n\t// We don't technically need to check `Number.isNaN` because the value already passed the regexp test.\n\t// However, just in case there's some new codepath introduced somewhere down the line, it's probably good\n\t// to stick this in here.\n\tif (Number.isNaN(parsed)) {\n\t\tparsing_error(name, raw, 'should be a non-negative integer');\n\t}\n\n\tif (parsed < 0) {\n\t\tparsing_error(name, raw, 'should be a non-negative integer');\n\t}\n\n\treturn parsed;\n}\n\nexport { dir, env, env_prefix, timeout_env };\n"],"names":[],"mappings":";;;;AAIA;AACK,MAAC,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;;AAmBvD,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;;AAE5D,MAAC,UAAU,GAAG;;AAenB;AACA;AACA;AACA;AACA,SAAS,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE;AAC7B,CAAC,MAAM,MAAM,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,UAAU;AAC/D,CAAC,MAAM,QAAQ,GAAG,MAAM,GAAG,IAAI;AAC/B,CAAC,OAAO,QAAQ,IAAI,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,QAAQ;AAClE;;AAEA,MAAM,cAAc,GAAG,OAAO;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE;AACjD,CAAC,MAAM,IAAI,KAAK;AAChB,EAAE,CAAC,uCAAuC,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;AAC5F,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE;AACrC,CAAC,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;AAChC,CAAC,IAAI,CAAC,GAAG,EAAE;AACX,EAAE,OAAO,QAAQ;AACjB,CAAC;;AAED,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAChC,EAAE,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,kCAAkC,CAAC;AAC9D,CAAC;;AAED,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC;;AAExC;AACA;AACA;AACA,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC3B,EAAE,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,kCAAkC,CAAC;AAC9D,CAAC;;AAED,CAAC,IAAI,MAAM,GAAG,CAAC,EAAE;AACjB,EAAE,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,kCAAkC,CAAC;AAC9D,CAAC;;AAED,CAAC,OAAO,MAAM;AACd;;;;"}
@@ -0,0 +1,114 @@
1
+ {
2
+ "kind": "sentropic.h2a.focus-app",
3
+ "schemaVersion": 1,
4
+ "adapter": "@sveltejs/adapter-node",
5
+ "handler": "handler.js",
6
+ "sourceHash": "sha256:b8282eb14b55c6f51a721d2d2c4fb48d8a450bc7fe57e465619726871656807b",
7
+ "clientVersion": "h2a-focus-b8282eb14b55c6f5",
8
+ "externalDependencies": [
9
+ "@sentropic/track"
10
+ ],
11
+ "files": {
12
+ "client/_app/immutable/assets/0.BdzHFb9q.css": "sha256:84f229fd0e25b7021bd312222d22f3a4f69bf5d34aa3f61e69a4cae34c00448e",
13
+ "client/_app/immutable/assets/0.BdzHFb9q.css.br": "sha256:042f3b33e48873053b0acb075f3e004b680a034db755cc8da86377fb81eeb14f",
14
+ "client/_app/immutable/assets/0.BdzHFb9q.css.gz": "sha256:21584de1f87d1a298d10ded6fd83c5ef54441342ead407400ac1a0998bb331ca",
15
+ "client/_app/immutable/assets/2.Ddxq02y4.css": "sha256:d751697c458051ed7e78148cbb6a9931ed31c04a139bc0c8e5e5d872381e2804",
16
+ "client/_app/immutable/assets/2.Ddxq02y4.css.br": "sha256:0924e74ac92390ebb79d6b1f9fb50ea6bbf92c252b536382efc1f7368b92fcd4",
17
+ "client/_app/immutable/assets/2.Ddxq02y4.css.gz": "sha256:db52d5b7aaa8185e0239a00990acd7af5c4586e02a36af4f4663f5ebdf0e0f74",
18
+ "client/_app/immutable/chunks/_wRuVGPs.js": "sha256:60c2d29ba947060242c92cf6900147a319ce1c51a92765e8c9c665c09c68ecbd",
19
+ "client/_app/immutable/chunks/_wRuVGPs.js.br": "sha256:677930a67fd8460dda7d5f905e879ad20e6dced362e4ceafd404fc9f070596ae",
20
+ "client/_app/immutable/chunks/_wRuVGPs.js.gz": "sha256:703f4095790c58a2f5e7a48dc26e0b7d5ef607766f9f514f1673fc9fb8bf635e",
21
+ "client/_app/immutable/chunks/Bs3f1UbD.js": "sha256:f329149563baae8d59e8b5cc8f753b4618d45efe723cfa0efd441fd47b22813c",
22
+ "client/_app/immutable/chunks/Bs3f1UbD.js.br": "sha256:90ebda952fedde20f17ea2753b30b6d81bd44105828a1b9c54cd449d24545a60",
23
+ "client/_app/immutable/chunks/Bs3f1UbD.js.gz": "sha256:281f8b066c0aafd7cf6a301d9d9a0b09a66ba3cbfc40c587c5c50da960eab7bc",
24
+ "client/_app/immutable/chunks/Bv8OL8ib.js": "sha256:e3acc6d6e337a8d5aef47aff386f650a65178b3a590a966596f6621364380d99",
25
+ "client/_app/immutable/chunks/Bv8OL8ib.js.br": "sha256:34b2176861e0cf2f5a32225f0991da26149c19063b219d2084e945b35401546d",
26
+ "client/_app/immutable/chunks/Bv8OL8ib.js.gz": "sha256:b90b20af2c58a2e03a5f27f1bbcf5b6956787981938aa014dd68e795e6816964",
27
+ "client/_app/immutable/chunks/Cj6wo28J.js": "sha256:71fc34ae8c7a7f0bb9e7dd5c01ae3e1d128038e243c75cf1a9d2a5d311140c82",
28
+ "client/_app/immutable/chunks/Cj6wo28J.js.br": "sha256:4af686cabed9bb2dcb94fbb7378d0801fe3dca69c3e337431ff87dfeba42d7f4",
29
+ "client/_app/immutable/chunks/Cj6wo28J.js.gz": "sha256:c59ea4c888010b0f53a240e6c9740d88d4449c0d549be555c838ebabb88fa5f8",
30
+ "client/_app/immutable/chunks/CVq_IFFr.js": "sha256:c3e0da4cff593840783da39a73cd74fb762bfa5875bbe0a6c517683687729495",
31
+ "client/_app/immutable/chunks/CVq_IFFr.js.br": "sha256:4ebd822f24aadb8857ba33f7ab28297400f8ac5c0865696c724aff8cee00970b",
32
+ "client/_app/immutable/chunks/CVq_IFFr.js.gz": "sha256:3ef83479f430e7d52cd7d648f1026da32253fc869fcc186dd295a86306348b04",
33
+ "client/_app/immutable/chunks/DEmooz0s.js": "sha256:e6b05af418150708dea695bf7712aca34cb1c1db4d55d7d3f05e7eaffc1305f7",
34
+ "client/_app/immutable/chunks/DEmooz0s.js.br": "sha256:2e10a9c474dd7dcb8ac07daafb0c8963917c4401c2a6b854e4c7439265004e1e",
35
+ "client/_app/immutable/chunks/DEmooz0s.js.gz": "sha256:c339df93b7e8676b037f77f56e7e872164c7edb9d0a7d89eb1bdd1288aa77a3f",
36
+ "client/_app/immutable/chunks/DQIRXgdC.js": "sha256:d0c0518b511c84b64d6c8ee80fc41f61f3c7ae8b8509b633afdb8f3c8deba7f8",
37
+ "client/_app/immutable/chunks/DQIRXgdC.js.br": "sha256:ff1ccc3aa5ca1a09027bdf1ad2e9d9e6d2f138c7b2cf5ce3548dbb4dedfabc59",
38
+ "client/_app/immutable/chunks/DQIRXgdC.js.gz": "sha256:f2ad9f63547007c9a690da2e173c769d78de2e6e90b4d9e8d9e0a81545498424",
39
+ "client/_app/immutable/chunks/wbPk3Yxo.js": "sha256:5de7f8b5c08f95a02035798b4130a56f17ae31392b8ec5f959da12e29ac3d045",
40
+ "client/_app/immutable/chunks/wbPk3Yxo.js.br": "sha256:15b5ef31775e26bf09266523d1f902a345f293d15c8602060fda0009ee49521d",
41
+ "client/_app/immutable/chunks/wbPk3Yxo.js.gz": "sha256:c8b3890e9a11c03ccea4de99ef5d1910ba903e29ac50b0a1481ae178350fcd8b",
42
+ "client/_app/immutable/chunks/ZxFklh9T.js": "sha256:5ab4211a03dbeb0c79df528404abbd9c9954c00f4b88c6d5652cc5eca47c3f9a",
43
+ "client/_app/immutable/chunks/ZxFklh9T.js.br": "sha256:d3a9c0acf46cda2c7cafb2fcff925258d8232ded83875c116ae1a0fef224b2a3",
44
+ "client/_app/immutable/chunks/ZxFklh9T.js.gz": "sha256:91b11e042b7ffa723cc9502bf746ac914e794165cbe6bc9d2a81722a1361722d",
45
+ "client/_app/immutable/entry/app.6DKouWRt.js": "sha256:134e0bb080bea0164d506455a00d01c89b8f5fcd196069e7d5a8a7fcc0e7a744",
46
+ "client/_app/immutable/entry/app.6DKouWRt.js.br": "sha256:f83ec8555cbf1e976f733f0c70512cd2cc325aec78f6dd16df51dd9690a40b84",
47
+ "client/_app/immutable/entry/app.6DKouWRt.js.gz": "sha256:5ea17ceca06ad5335a527c85dde2a324d37628d6006e94a1c67a16ae17fc6ec2",
48
+ "client/_app/immutable/entry/start.DlLmkUb7.js": "sha256:a2220ad6cacbc5df116c9e6a0d7d8a7a7efdd367bb788f78818ae42271580098",
49
+ "client/_app/immutable/entry/start.DlLmkUb7.js.br": "sha256:adf1fbcf7c6ef92a0220ba9e25b8516454bf687582dfba44a93f99a0fc07c297",
50
+ "client/_app/immutable/entry/start.DlLmkUb7.js.gz": "sha256:3eb0da05016225742ec410d328859178a33fb70f234f8f9402393484d260d350",
51
+ "client/_app/immutable/nodes/0.CuSOF0Of.js": "sha256:245b7051e5a492d9348b427c5b3d8c305bbda73f7be0d3992789d28d6981c3ad",
52
+ "client/_app/immutable/nodes/0.CuSOF0Of.js.br": "sha256:8bc0d5e8f87adc4d3ced68a22299ec7edc037d602e139efde6210cfa9e76743b",
53
+ "client/_app/immutable/nodes/0.CuSOF0Of.js.gz": "sha256:df730432c90991b673479d193cb4ed5a5c00ad84773d8b53d53396e5d25a6e39",
54
+ "client/_app/immutable/nodes/1.D39jdnqm.js": "sha256:3820c76e96cc00586d515ff3f24f7016bf1a07c3f566d5566079b4505c559a86",
55
+ "client/_app/immutable/nodes/1.D39jdnqm.js.br": "sha256:52dc02a64eaf49946f02ef97253afa24fdcefa4203302195e8dbcbbbd7c2f2be",
56
+ "client/_app/immutable/nodes/1.D39jdnqm.js.gz": "sha256:172e530f184b25c48a4e587ee977b47d6fa574b48248a2335e078a8a8866bcd3",
57
+ "client/_app/immutable/nodes/2.CnU8ifRl.js": "sha256:e87a99fa3f67508f27f8344c811e8effa4aeffdfc9bb6cfe862e5f79f711e5f1",
58
+ "client/_app/immutable/nodes/2.CnU8ifRl.js.br": "sha256:94586f48211f7160a950f1510231d219030eb04090b890b4fdd4686776935b62",
59
+ "client/_app/immutable/nodes/2.CnU8ifRl.js.gz": "sha256:ac5d728c7c0777a1e6ef3f909a67260f5b84a672602dc069640a1477d6a3b6ec",
60
+ "client/_app/version.json": "sha256:4c3fad2c21cec31b65cd994f8af9fc3b28528c02c777d7d2b3edb10172fdae3f",
61
+ "client/_app/version.json.br": "sha256:d77dd74677aa630fc1e9e36e0ef62383b1dfee77e76420f228a94b047dbc312d",
62
+ "client/_app/version.json.gz": "sha256:6d668654a719399abe40cdc9ff17e3f4b1d73143165393e85554a540c9207949",
63
+ "env.js": "sha256:8b26a19ae02cca8afffdbf0602978d0bdfeaa033e96a1f779d866f2a862773bb",
64
+ "env.js.map": "sha256:f0333b4ab4f48a61822d05053d40d1fec02804b70339c99e138def49635ab664",
65
+ "handler.js": "sha256:9ca9832da8efa6d461c7533f8cfebae47fae68816b9f102346fe49ffbd09d1d8",
66
+ "handler.js.map": "sha256:b1b237e51652132a863a3982287894314bec4885742c704f4427c07acedec9e1",
67
+ "index.js": "sha256:ac6446b18d515d5900f1828aa148d93c79472ed16245f43d675988516f98caa9",
68
+ "index.js.map": "sha256:e2d28a8ffc3bee0c3bf8c18ab019b7db584318007517d6d276f8e4e535ee4d52",
69
+ "server/chunks/chunks/exports.js-DUTkELZq.js": "sha256:195d1faa20846692221cbd097500bd67d65d13a8475123b0f4fa0fd9a1ee1e9b",
70
+ "server/chunks/chunks/exports.js-DUTkELZq.js.map": "sha256:1769f2a369667df9ab46c735c6b6129e541c91c20ffc38658cdde744c76d1631",
71
+ "server/chunks/chunks/false.js-B2gHlHjM.js": "sha256:17d112d003f4ec1a56237cdcd964602a3ddf794ab947abb7d91839158743baf8",
72
+ "server/chunks/chunks/false.js-B2gHlHjM.js.map": "sha256:f8e047a8d19f9565b1a722dab25d618282b5ff6f734641710471379160687a8d",
73
+ "server/chunks/chunks/friendly.js-D4fjovnZ.js": "sha256:23825bab56107bed283b84602e50046f57fde0390cef448e6eb6f6437dd8ac77",
74
+ "server/chunks/chunks/friendly.js-D4fjovnZ.js.map": "sha256:0da261fd15d8263e9aefe4889ee9e5d2da72382f97fd42df9d48a98e366a08b7",
75
+ "server/chunks/chunks/index.js-Di21TltP.js": "sha256:1e93ed9b7c5db195037b77a792d516c768d64c14a80ed307501ef9a4d7792494",
76
+ "server/chunks/chunks/index.js-Di21TltP.js.map": "sha256:3c54e649ceeb9326320c2d2732e084bd3258ff62d48ede78d050b505a90323ca",
77
+ "server/chunks/chunks/internal.js-33vbd70h.js": "sha256:c35b8e1dff81273c8f796d9a52ab022ab8a420760474288899f1779a85e2d33e",
78
+ "server/chunks/chunks/internal.js-33vbd70h.js.map": "sha256:a98cb4e1dade49ab44a6d25f0e12ba363a6d6d90c2213731d85f78735822b9c2",
79
+ "server/chunks/chunks/root.js-DO1m-gJA.js": "sha256:1a299ba62ee48217716b174ff7fa114d37bf50b9a5337ec26f7c774ae0210d3e",
80
+ "server/chunks/chunks/root.js-DO1m-gJA.js.map": "sha256:ac11cb1187a4911d98ccec8b9dbf9a9f00ff5312b3daf809394bcf628ddc10da",
81
+ "server/chunks/chunks/server.js-Bf8x1V_n.js": "sha256:799ec63c78c0c5c74fb06910a2c67baee3aaa7aa58dbf43227808c294a5778b8",
82
+ "server/chunks/chunks/server.js-Bf8x1V_n.js.map": "sha256:15b18d42f7d28432b5fe56713f612f34e0ec20f329c6498886ce570c979c81bb",
83
+ "server/chunks/chunks/utils.js-C_3_iViC.js": "sha256:91248343900280c097993640efa0e615a24d538370dd4b46939b42ca896e60fa",
84
+ "server/chunks/chunks/utils.js-C_3_iViC.js.map": "sha256:0f26589b335e20e56f63039bf2982e8762175aa9f25ebc4a98587bcc276b0b76",
85
+ "server/chunks/chunks/utils2.js-BQzn9ikS.js": "sha256:bf4e5e9f2720b6b65b5435668ca888b9d7dc52bc2990d181f6e15179836ed078",
86
+ "server/chunks/chunks/utils2.js-BQzn9ikS.js.map": "sha256:3d657a895d968b426484fa66a75a1c30e1ae30054357686b2a889ea2616be9b9",
87
+ "server/chunks/entries/endpoints/api/actions/launch/_server.ts.js-DUQcf9xd.js": "sha256:40d8849ac8454e48593efd99f10524eccd0a5e1fd11d55985d4cf03a833355af",
88
+ "server/chunks/entries/endpoints/api/actions/launch/_server.ts.js-DUQcf9xd.js.map": "sha256:e929a4fb0693a303c46a9f622ba8e43b4029591678dd9f9c6606b64026d065c0",
89
+ "server/chunks/entries/endpoints/api/decisions/inject/_server.ts.js-j0NNcOSZ.js": "sha256:2e49ab680af36b45b1d0671665b5a0fea718d2947a2679e3d406be5bc69f9608",
90
+ "server/chunks/entries/endpoints/api/decisions/inject/_server.ts.js-j0NNcOSZ.js.map": "sha256:57ed36a272e6ca38bca828eed352a472058a862cb7b0f6b90d0417358a18548a",
91
+ "server/chunks/entries/fallbacks/error.svelte.js-Dj3sETSX.js": "sha256:4aaff4fa93a7fd765d69ae0f99456f3f0628db6b800b708ea89efca495333ae7",
92
+ "server/chunks/entries/fallbacks/error.svelte.js-Dj3sETSX.js.map": "sha256:c54ca0b7bd06e1bd030b18f8df43e07b6ae1bc8db5ef0f7294a8ab59961661e2",
93
+ "server/chunks/entries/pages/_layout.svelte.js-BoLsbuC2.js": "sha256:1d3a3957d539f6ed577e3ebbda790bc79e65ef01b2852f12ca0e45f4c47b7bff",
94
+ "server/chunks/entries/pages/_layout.svelte.js-BoLsbuC2.js.map": "sha256:1081687a1ceb06914c39963d909a3de73316607eb0463f7c21edbbc8ff4cc371",
95
+ "server/chunks/entries/pages/_page.server.ts.js-ChRBj_xK.js": "sha256:f74389e3e3768ea76dac4fc7fe7d77ffcaff8236fad948c3481c238dc327809e",
96
+ "server/chunks/entries/pages/_page.server.ts.js-ChRBj_xK.js.map": "sha256:f0f44250332ee52056c4277c97bb1766e8c8fbdad200d18517a10508894ef224",
97
+ "server/chunks/entries/pages/_page.svelte.js-QDldMYhk.js": "sha256:432c2421a2243b6d2b23c3d1c0709bdcab3f0c6939de6ae5bdf18f665398fe09",
98
+ "server/chunks/entries/pages/_page.svelte.js-QDldMYhk.js.map": "sha256:fb636a47fbc5d32b5438ce5f9dfa8ac5bd3ba18f0bb69592d2eeca5c0b7447d3",
99
+ "server/chunks/handler-Cp_5hLyY.js": "sha256:8f944a0ff8c9b690ee39ca6baff7abc7261741bf0fd2bf170c4022795f55bc8a",
100
+ "server/chunks/handler-Cp_5hLyY.js.map": "sha256:68b7f918140266406d289a77d0c1714d518662b332efb8e579d0df3a92b17ce6",
101
+ "server/chunks/index.js-CBh7Wjqp.js": "sha256:a33d61eddb8067e4eb2797843d975f7ced5c17eaa2cb5f9644443ea5b82f8b71",
102
+ "server/chunks/index.js-CBh7Wjqp.js.map": "sha256:597167e16fce7c51aac8d2c1293038122810869333ec76dd3bba25a37fd908f2",
103
+ "server/chunks/manifest.js-Cm6cC7mC.js": "sha256:d50ea4db9c7b5bc15391333197d00a3748865826e98406fad2fa2e52f8cf0cd4",
104
+ "server/chunks/manifest.js-Cm6cC7mC.js.map": "sha256:01a88bf22806e79e7bfed8c3d10c7725439cb67efb19535d2deac13f981caf99",
105
+ "server/chunks/nodes/0.js-4wlmdsk8.js": "sha256:30a8dc4e686c1818bc300edbab06cfaf99e41f1d5aa0e516413e0e42597e36d5",
106
+ "server/chunks/nodes/0.js-4wlmdsk8.js.map": "sha256:ff6be57e9b438a1a4ee553183714cbfb924f482bb040f130e08d91c70c37b502",
107
+ "server/chunks/nodes/1.js-B-LpY-lC.js": "sha256:7901bbaa2546d859b318f40e339bdd92958902d90b1797274b384daaa65a5b7b",
108
+ "server/chunks/nodes/1.js-B-LpY-lC.js.map": "sha256:c862df4a8368bb96fa6b6d913a1ca39afd325352a5418cf0811f7ec18d5a8df9",
109
+ "server/chunks/nodes/2.js-F6jp5eD9.js": "sha256:e9addd6de7a1cba9b8d38c24b904f8308c34db73d28c1db68c7a062d3162f93e",
110
+ "server/chunks/nodes/2.js-F6jp5eD9.js.map": "sha256:3247609a385da9de5f3b3b98ea85da85e480aa1814330a3778504cd912733f3a",
111
+ "shims.js": "sha256:447af656bf3cff4ada733a9edcca803cbf9f39b14ddf889d9a5a7402193e5002",
112
+ "shims.js.map": "sha256:5eb6918ca93a475bc053d169c748e413e514abd9d3fd8b99353f51d9faa3646a"
113
+ }
114
+ }
@@ -0,0 +1,24 @@
1
+ import './shims.js';
2
+ import 'node:fs';
3
+ import 'node:path';
4
+ import 'node:process';
5
+ export { h as handler } from './server/chunks/handler-Cp_5hLyY.js';
6
+ import './server/chunks/index.js-CBh7Wjqp.js';
7
+ import './server/chunks/manifest.js-Cm6cC7mC.js';
8
+ import './env.js';
9
+ import 'node:buffer';
10
+ import 'node:crypto';
11
+ import 'node:http';
12
+ import 'node:timers';
13
+ import 'node:querystring';
14
+ import 'node:stream';
15
+ import './server/chunks/chunks/utils.js-C_3_iViC.js';
16
+ import './server/chunks/chunks/utils2.js-BQzn9ikS.js';
17
+ import 'node:url';
18
+ import './server/chunks/chunks/false.js-B2gHlHjM.js';
19
+ import './server/chunks/chunks/server.js-Bf8x1V_n.js';
20
+ import './server/chunks/chunks/exports.js-DUTkELZq.js';
21
+ import './server/chunks/chunks/index.js-Di21TltP.js';
22
+ import './server/chunks/chunks/root.js-DO1m-gJA.js';
23
+ import './server/chunks/chunks/internal.js-33vbd70h.js';
24
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,147 @@
1
+ import http from 'node:http';
2
+ import fs__default from 'node:fs';
3
+ import process from 'node:process';
4
+ import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-Cp_5hLyY.js';
5
+ import { env, timeout_env } from './env.js';
6
+ import { rm } from 'node:fs/promises';
7
+ import './shims.js';
8
+ import 'node:buffer';
9
+ import 'node:crypto';
10
+ import 'node:path';
11
+ import 'node:timers';
12
+ import 'node:querystring';
13
+ import 'node:stream';
14
+ import './server/chunks/chunks/utils.js-C_3_iViC.js';
15
+ import './server/chunks/chunks/utils2.js-BQzn9ikS.js';
16
+ import './server/chunks/index.js-CBh7Wjqp.js';
17
+ import './server/chunks/chunks/false.js-B2gHlHjM.js';
18
+ import './server/chunks/chunks/server.js-Bf8x1V_n.js';
19
+ import './server/chunks/chunks/exports.js-DUTkELZq.js';
20
+ import './server/chunks/chunks/index.js-Di21TltP.js';
21
+ import './server/chunks/chunks/root.js-DO1m-gJA.js';
22
+ import './server/chunks/chunks/internal.js-33vbd70h.js';
23
+ import './server/chunks/manifest.js-Cm6cC7mC.js';
24
+ import 'node:url';
25
+
26
+ const path = env('SOCKET_PATH', false);
27
+ const host = env('HOST', '0.0.0.0');
28
+ const port = env('PORT', !path && '3000');
29
+
30
+ const shutdown_timeout = parseInt(env('SHUTDOWN_TIMEOUT', '30'));
31
+ const idle_timeout = parseInt(env('IDLE_TIMEOUT', '0'));
32
+ const listen_pid = parseInt(env('LISTEN_PID', '0'));
33
+ const listen_fds = parseInt(env('LISTEN_FDS', '0'));
34
+ // https://www.freedesktop.org/software/systemd/man/latest/sd_listen_fds.html
35
+ const SD_LISTEN_FDS_START = 3;
36
+
37
+ if (listen_pid !== 0 && listen_pid !== process.pid) {
38
+ throw new Error(`received LISTEN_PID ${listen_pid} but current process id is ${process.pid}`);
39
+ }
40
+ if (listen_fds > 1) {
41
+ throw new Error(
42
+ `only one socket is allowed for socket activation, but LISTEN_FDS was set to ${listen_fds}`
43
+ );
44
+ }
45
+
46
+ const socket_activation = listen_pid === process.pid && listen_fds === 1;
47
+
48
+ let requests = 0;
49
+ /** @type {NodeJS.Timeout | void} */
50
+ let shutdown_timeout_id;
51
+ /** @type {NodeJS.Timeout | void} */
52
+ let idle_timeout_id;
53
+
54
+ // Initialize the HTTP server here so that we can set properties before starting to listen.
55
+ // Otherwise, polka delays creating the server until listen() is called. Settings these
56
+ // properties after the server has started listening could lead to race conditions.
57
+ const httpServer = http.createServer();
58
+
59
+ const keep_alive_timeout = timeout_env('KEEP_ALIVE_TIMEOUT');
60
+ if (keep_alive_timeout !== undefined) {
61
+ // Convert the keep-alive timeout from seconds to milliseconds (the unit Node.js expects).
62
+ httpServer.keepAliveTimeout = keep_alive_timeout * 1000;
63
+ }
64
+
65
+ const headers_timeout = timeout_env('HEADERS_TIMEOUT');
66
+ if (headers_timeout !== undefined) {
67
+ // Convert the headers timeout from seconds to milliseconds (the unit Node.js expects).
68
+ httpServer.headersTimeout = headers_timeout * 1000;
69
+ }
70
+
71
+ const server = polka({ server: httpServer }).use(handler);
72
+
73
+ if (socket_activation) {
74
+ server.listen({ fd: SD_LISTEN_FDS_START }, () => {
75
+ console.log(`Listening on file descriptor ${SD_LISTEN_FDS_START}`);
76
+ });
77
+ } else {
78
+ if (path) {
79
+ try {
80
+ if (fs__default.statSync(path).size === 0) {
81
+ await rm(path);
82
+ }
83
+ } catch {
84
+ // ignore
85
+ }
86
+ }
87
+
88
+ server.listen({ path, host, port }, () => {
89
+ console.log(`Listening on ${format_listening_address(path, host, port, httpServer.address())}`);
90
+ });
91
+ }
92
+
93
+ /** @param {'SIGINT' | 'SIGTERM' | 'IDLE'} reason */
94
+ function graceful_shutdown(reason) {
95
+ if (shutdown_timeout_id) return;
96
+
97
+ // If a connection was opened with a keep-alive header close() will wait for the connection to
98
+ // time out rather than close it even if it is not handling any requests, so call this first
99
+ httpServer.closeIdleConnections();
100
+
101
+ httpServer.close((error) => {
102
+ // occurs if the server is already closed
103
+ if (error) return;
104
+
105
+ if (shutdown_timeout_id) {
106
+ clearTimeout(shutdown_timeout_id);
107
+ }
108
+ if (idle_timeout_id) {
109
+ clearTimeout(idle_timeout_id);
110
+ }
111
+
112
+ // @ts-expect-error custom events cannot be typed
113
+ process.emit('sveltekit:shutdown', reason);
114
+ });
115
+
116
+ shutdown_timeout_id = setTimeout(() => httpServer.closeAllConnections(), shutdown_timeout * 1000);
117
+ }
118
+
119
+ httpServer.on(
120
+ 'request',
121
+ /** @param {import('node:http').IncomingMessage} req */
122
+ (req) => {
123
+ requests++;
124
+
125
+ if (socket_activation && idle_timeout_id) {
126
+ idle_timeout_id = clearTimeout(idle_timeout_id);
127
+ }
128
+
129
+ req.on('close', () => {
130
+ requests--;
131
+
132
+ if (shutdown_timeout_id) {
133
+ // close connections as soon as they become idle, so they don't accept new requests
134
+ httpServer.closeIdleConnections();
135
+ }
136
+ if (requests === 0 && socket_activation && idle_timeout) {
137
+ idle_timeout_id = setTimeout(() => graceful_shutdown('IDLE'), idle_timeout * 1000);
138
+ }
139
+ });
140
+ }
141
+ );
142
+
143
+ process.on('SIGTERM', graceful_shutdown);
144
+ process.on('SIGINT', graceful_shutdown);
145
+
146
+ export { host, path, port, server };
147
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../.svelte-kit/adapter-node/entries/index.js"],"sourcesContent":["import http from 'node:http';\nimport fs__default from 'node:fs';\nimport process from 'node:process';\nimport { handler } from './handler.js';\nimport { env, timeout_env } from './env.js';\nimport { p as polka } from './chunks/vendor.js';\nimport { rm } from 'node:fs/promises';\nimport { format_listening_address } from './utils.js';\n\nconst path = env('SOCKET_PATH', false);\nconst host = env('HOST', '0.0.0.0');\nconst port = env('PORT', !path && '3000');\n\nconst shutdown_timeout = parseInt(env('SHUTDOWN_TIMEOUT', '30'));\nconst idle_timeout = parseInt(env('IDLE_TIMEOUT', '0'));\nconst listen_pid = parseInt(env('LISTEN_PID', '0'));\nconst listen_fds = parseInt(env('LISTEN_FDS', '0'));\n// https://www.freedesktop.org/software/systemd/man/latest/sd_listen_fds.html\nconst SD_LISTEN_FDS_START = 3;\n\nif (listen_pid !== 0 && listen_pid !== process.pid) {\n\tthrow new Error(`received LISTEN_PID ${listen_pid} but current process id is ${process.pid}`);\n}\nif (listen_fds > 1) {\n\tthrow new Error(\n\t\t`only one socket is allowed for socket activation, but LISTEN_FDS was set to ${listen_fds}`\n\t);\n}\n\nconst socket_activation = listen_pid === process.pid && listen_fds === 1;\n\nlet requests = 0;\n/** @type {NodeJS.Timeout | void} */\nlet shutdown_timeout_id;\n/** @type {NodeJS.Timeout | void} */\nlet idle_timeout_id;\n\n// Initialize the HTTP server here so that we can set properties before starting to listen.\n// Otherwise, polka delays creating the server until listen() is called. Settings these\n// properties after the server has started listening could lead to race conditions.\nconst httpServer = http.createServer();\n\nconst keep_alive_timeout = timeout_env('KEEP_ALIVE_TIMEOUT');\nif (keep_alive_timeout !== undefined) {\n\t// Convert the keep-alive timeout from seconds to milliseconds (the unit Node.js expects).\n\thttpServer.keepAliveTimeout = keep_alive_timeout * 1000;\n}\n\nconst headers_timeout = timeout_env('HEADERS_TIMEOUT');\nif (headers_timeout !== undefined) {\n\t// Convert the headers timeout from seconds to milliseconds (the unit Node.js expects).\n\thttpServer.headersTimeout = headers_timeout * 1000;\n}\n\nconst server = polka({ server: httpServer }).use(handler);\n\nif (socket_activation) {\n\tserver.listen({ fd: SD_LISTEN_FDS_START }, () => {\n\t\tconsole.log(`Listening on file descriptor ${SD_LISTEN_FDS_START}`);\n\t});\n} else {\n\tif (path) {\n\t\ttry {\n\t\t\tif (fs__default.statSync(path).size === 0) {\n\t\t\t\tawait rm(path);\n\t\t\t}\n\t\t} catch {\n\t\t\t// ignore\n\t\t}\n\t}\n\n\tserver.listen({ path, host, port }, () => {\n\t\tconsole.log(`Listening on ${format_listening_address(path, host, port, httpServer.address())}`);\n\t});\n}\n\n/** @param {'SIGINT' | 'SIGTERM' | 'IDLE'} reason */\nfunction graceful_shutdown(reason) {\n\tif (shutdown_timeout_id) return;\n\n\t// If a connection was opened with a keep-alive header close() will wait for the connection to\n\t// time out rather than close it even if it is not handling any requests, so call this first\n\thttpServer.closeIdleConnections();\n\n\thttpServer.close((error) => {\n\t\t// occurs if the server is already closed\n\t\tif (error) return;\n\n\t\tif (shutdown_timeout_id) {\n\t\t\tclearTimeout(shutdown_timeout_id);\n\t\t}\n\t\tif (idle_timeout_id) {\n\t\t\tclearTimeout(idle_timeout_id);\n\t\t}\n\n\t\t// @ts-expect-error custom events cannot be typed\n\t\tprocess.emit('sveltekit:shutdown', reason);\n\t});\n\n\tshutdown_timeout_id = setTimeout(() => httpServer.closeAllConnections(), shutdown_timeout * 1000);\n}\n\nhttpServer.on(\n\t'request',\n\t/** @param {import('node:http').IncomingMessage} req */\n\t(req) => {\n\t\trequests++;\n\n\t\tif (socket_activation && idle_timeout_id) {\n\t\t\tidle_timeout_id = clearTimeout(idle_timeout_id);\n\t\t}\n\n\t\treq.on('close', () => {\n\t\t\trequests--;\n\n\t\t\tif (shutdown_timeout_id) {\n\t\t\t\t// close connections as soon as they become idle, so they don't accept new requests\n\t\t\t\thttpServer.closeIdleConnections();\n\t\t\t}\n\t\t\tif (requests === 0 && socket_activation && idle_timeout) {\n\t\t\t\tidle_timeout_id = setTimeout(() => graceful_shutdown('IDLE'), idle_timeout * 1000);\n\t\t\t}\n\t\t});\n\t}\n);\n\nprocess.on('SIGTERM', graceful_shutdown);\nprocess.on('SIGINT', graceful_shutdown);\n\nexport { host, path, port, server };\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,217 @@
1
+ import { Q as noop } from './index.js-Di21TltP.js';
2
+ import { s as safe_not_equal } from './root.js-DO1m-gJA.js';
3
+
4
+ const subscriber_queue = [];
5
+ function readable(value, start) {
6
+ return {
7
+ subscribe: writable(value, start).subscribe
8
+ };
9
+ }
10
+ function writable(value, start = noop) {
11
+ let stop = null;
12
+ const subscribers = /* @__PURE__ */ new Set();
13
+ function set(new_value) {
14
+ if (safe_not_equal(value, new_value)) {
15
+ value = new_value;
16
+ if (stop) {
17
+ const run_queue = !subscriber_queue.length;
18
+ for (const subscriber of subscribers) {
19
+ subscriber[1]();
20
+ subscriber_queue.push(subscriber, value);
21
+ }
22
+ if (run_queue) {
23
+ for (let i = 0; i < subscriber_queue.length; i += 2) {
24
+ subscriber_queue[i][0](subscriber_queue[i + 1]);
25
+ }
26
+ subscriber_queue.length = 0;
27
+ }
28
+ }
29
+ }
30
+ }
31
+ function update(fn) {
32
+ set(fn(
33
+ /** @type {T} */
34
+ value
35
+ ));
36
+ }
37
+ function subscribe(run, invalidate = noop) {
38
+ const subscriber = [run, invalidate];
39
+ subscribers.add(subscriber);
40
+ if (subscribers.size === 1) {
41
+ stop = start(set, update) || noop;
42
+ }
43
+ run(
44
+ /** @type {T} */
45
+ value
46
+ );
47
+ return () => {
48
+ subscribers.delete(subscriber);
49
+ if (subscribers.size === 0 && stop) {
50
+ stop();
51
+ stop = null;
52
+ }
53
+ };
54
+ }
55
+ return { set, update, subscribe };
56
+ }
57
+ const internal = new URL("sveltekit-internal://");
58
+ function resolve(base, path) {
59
+ if (path[0] === "/" && path[1] === "/") return path;
60
+ let url = new URL(base, internal);
61
+ url = new URL(path, url);
62
+ return url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;
63
+ }
64
+ function normalize_path(path, trailing_slash) {
65
+ if (path === "/" || trailing_slash === "ignore") return path;
66
+ if (trailing_slash === "never") {
67
+ return path.endsWith("/") ? path.slice(0, -1) : path;
68
+ } else if (trailing_slash === "always" && !path.endsWith("/")) {
69
+ return path + "/";
70
+ }
71
+ return path;
72
+ }
73
+ function decode_pathname(pathname) {
74
+ return pathname.split("%25").map(decodeURI).join("%25");
75
+ }
76
+ function decode_params(params) {
77
+ for (const key in params) {
78
+ params[key] = decodeURIComponent(params[key]);
79
+ }
80
+ return params;
81
+ }
82
+ function make_trackable(url, callback, search_params_callback, allow_hash = false) {
83
+ const tracked = new URL(url);
84
+ Object.defineProperty(tracked, "searchParams", {
85
+ value: new Proxy(tracked.searchParams, {
86
+ get(obj, key) {
87
+ if (key === "get" || key === "getAll" || key === "has") {
88
+ return (param, ...rest) => {
89
+ search_params_callback(param);
90
+ return obj[key](param, ...rest);
91
+ };
92
+ }
93
+ callback();
94
+ const value = Reflect.get(obj, key);
95
+ return typeof value === "function" ? value.bind(obj) : value;
96
+ }
97
+ }),
98
+ enumerable: true,
99
+ configurable: true
100
+ });
101
+ const tracked_url_properties = ["href", "pathname", "search", "toString", "toJSON"];
102
+ if (allow_hash) tracked_url_properties.push("hash");
103
+ for (const property of tracked_url_properties) {
104
+ Object.defineProperty(tracked, property, {
105
+ get() {
106
+ callback();
107
+ return url[property];
108
+ },
109
+ enumerable: true,
110
+ configurable: true
111
+ });
112
+ }
113
+ {
114
+ tracked[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
115
+ return inspect(url, opts);
116
+ };
117
+ tracked.searchParams[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
118
+ return inspect(url.searchParams, opts);
119
+ };
120
+ }
121
+ if (!allow_hash) {
122
+ disable_hash(tracked);
123
+ }
124
+ return tracked;
125
+ }
126
+ function disable_hash(url) {
127
+ allow_nodejs_console_log(url);
128
+ Object.defineProperty(url, "hash", {
129
+ get() {
130
+ throw new Error(
131
+ "Cannot access event.url.hash. Consider using `page.url.hash` inside a component instead"
132
+ );
133
+ }
134
+ });
135
+ }
136
+ function disable_search(url) {
137
+ allow_nodejs_console_log(url);
138
+ for (const property of ["search", "searchParams"]) {
139
+ Object.defineProperty(url, property, {
140
+ get() {
141
+ throw new Error(`Cannot access url.${property} on a page with prerendering enabled`);
142
+ }
143
+ });
144
+ }
145
+ }
146
+ function allow_nodejs_console_log(url) {
147
+ {
148
+ url[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
149
+ return inspect(new URL(url), opts);
150
+ };
151
+ }
152
+ }
153
+ function validator(expected) {
154
+ function validate(module, file) {
155
+ if (!module) return;
156
+ for (const key in module) {
157
+ if (key[0] === "_" || expected.has(key)) continue;
158
+ const values = [...expected.values()];
159
+ const hint = hint_for_supported_files(key, file?.slice(file.lastIndexOf("."))) ?? `valid exports are ${values.join(", ")}, or anything with a '_' prefix`;
160
+ throw new Error(`Invalid export '${key}'${file ? ` in ${file}` : ""} (${hint})`);
161
+ }
162
+ }
163
+ return validate;
164
+ }
165
+ function hint_for_supported_files(key, ext = ".js") {
166
+ const supported_files = [];
167
+ if (valid_layout_exports.has(key)) {
168
+ supported_files.push(`+layout${ext}`);
169
+ }
170
+ if (valid_page_exports.has(key)) {
171
+ supported_files.push(`+page${ext}`);
172
+ }
173
+ if (valid_layout_server_exports.has(key)) {
174
+ supported_files.push(`+layout.server${ext}`);
175
+ }
176
+ if (valid_page_server_exports.has(key)) {
177
+ supported_files.push(`+page.server${ext}`);
178
+ }
179
+ if (valid_server_exports.has(key)) {
180
+ supported_files.push(`+server${ext}`);
181
+ }
182
+ if (supported_files.length > 0) {
183
+ return `'${key}' is a valid export in ${supported_files.slice(0, -1).join(", ")}${supported_files.length > 1 ? " or " : ""}${supported_files.at(-1)}`;
184
+ }
185
+ }
186
+ const valid_layout_exports = /* @__PURE__ */ new Set([
187
+ "load",
188
+ "prerender",
189
+ "csr",
190
+ "ssr",
191
+ "trailingSlash",
192
+ "config"
193
+ ]);
194
+ const valid_page_exports = /* @__PURE__ */ new Set([...valid_layout_exports, "entries"]);
195
+ const valid_layout_server_exports = /* @__PURE__ */ new Set([...valid_layout_exports]);
196
+ const valid_page_server_exports = /* @__PURE__ */ new Set([...valid_layout_server_exports, "actions", "entries"]);
197
+ const valid_server_exports = /* @__PURE__ */ new Set([
198
+ "GET",
199
+ "POST",
200
+ "PATCH",
201
+ "PUT",
202
+ "DELETE",
203
+ "OPTIONS",
204
+ "HEAD",
205
+ "fallback",
206
+ "prerender",
207
+ "trailingSlash",
208
+ "config",
209
+ "entries"
210
+ ]);
211
+ const validate_layout_exports = validator(valid_layout_exports);
212
+ const validate_page_exports = validator(valid_page_exports);
213
+ const validate_layout_server_exports = validator(valid_layout_server_exports);
214
+ const validate_page_server_exports = validator(valid_page_server_exports);
215
+
216
+ export { disable_search as a, decode_params as b, validate_layout_exports as c, decode_pathname as d, validate_page_server_exports as e, validate_page_exports as f, readable as g, make_trackable as m, normalize_path as n, resolve as r, validate_layout_server_exports as v, writable as w };
217
+ //# sourceMappingURL=exports.js-DUTkELZq.js.map