devframe 0.9.20 → 0.10.0

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 (100) hide show
  1. package/dist/_shared-B2PZsp-J.mjs +191 -0
  2. package/dist/{_shared-BIUet_Jh.d.mts → _shared-Dy1UBMUN.d.mts} +13 -14
  3. package/dist/adapters/build.d.mts +3 -4
  4. package/dist/adapters/build.mjs +4 -5
  5. package/dist/adapters/cac.d.mts +3 -4
  6. package/dist/adapters/cac.mjs +3 -3
  7. package/dist/adapters/dev.d.mts +8 -8
  8. package/dist/adapters/dev.mjs +2 -2
  9. package/dist/adapters/embedded.d.mts +1 -1
  10. package/dist/adapters/initiate.d.mts +8 -8
  11. package/dist/adapters/initiate.mjs +1 -1
  12. package/dist/adapters/mcp.d.mts +4 -142
  13. package/dist/adapters/mcp.mjs +1 -597
  14. package/dist/agentic-D4QQQUjE.d.mts +30 -0
  15. package/dist/cli/main.mjs +12 -260
  16. package/dist/client/index.d.mts +6 -6
  17. package/dist/client/index.mjs +3 -4
  18. package/dist/constants.d.mts +2 -1
  19. package/dist/constants.mjs +2 -1
  20. package/dist/{context-BA5FPz7K.d.mts → context-B4BKPuaa.d.mts} +1 -1
  21. package/dist/{context-BLXXjoBW.mjs → context-C141q8H4.mjs} +5 -5
  22. package/dist/{context-jXO5vzjH.mjs → context-CHpyLX8W.mjs} +1 -1
  23. package/dist/{context-BLHBDQcZ.d.mts → context-CTAxz9ec.d.mts} +108 -47
  24. package/dist/{dev-BdKKOH8S.mjs → dev-DM1mIlgi.mjs} +16 -24
  25. package/dist/{diagnostics-DZA6KQ_Z.mjs → diagnostics-Cx4_VjlG.mjs} +11 -3
  26. package/dist/dist-Bw3EbMj4.mjs +305 -0
  27. package/dist/dist-CO98PBnQ.mjs +265 -0
  28. package/dist/{host-agent-C3MBpNCd.mjs → host-agent-ZSKgzMVu.mjs} +2 -7
  29. package/dist/import-runtime-module-BzlEQ9PI.mjs +24 -0
  30. package/dist/in-page-channel/index.d.mts +2 -7
  31. package/dist/in-page-channel/index.mjs +1 -4
  32. package/dist/index-Bia1vKjL.d.mts +218 -0
  33. package/dist/{index-r6NstVmM.d.mts → index-CcPSKbxb.d.mts} +2 -2
  34. package/dist/index-CeEtxDmK.d.mts +78 -0
  35. package/dist/{index-CiA6C705.d.mts → index-DuEm0sDH.d.mts} +1 -1
  36. package/dist/index.d.mts +4 -11
  37. package/dist/index.mjs +1 -10
  38. package/dist/{instance-registry-DCq762YJ.mjs → instance-registry-DtvYxc0Y.mjs} +1 -1
  39. package/dist/{instance-shell-C6Vg97lg.d.mts → instance-shell-DOZSxst6.d.mts} +31 -5
  40. package/dist/{instance-shell-yfrM3_vK.mjs → instance-shell-wC2sfEU_.mjs} +7 -7
  41. package/dist/interactive-auth-BCa_iamv.mjs +384 -0
  42. package/dist/internal/index.d.mts +66 -22
  43. package/dist/internal/index.mjs +143 -8
  44. package/dist/mrmime-40h5OOIp.mjs +448 -0
  45. package/dist/node/auth.d.mts +2 -2
  46. package/dist/node/hub-internals.d.mts +2 -2
  47. package/dist/node/hub-internals.mjs +2 -2
  48. package/dist/node/index.d.mts +2 -4
  49. package/dist/node/index.mjs +2 -2
  50. package/dist/{nostics-0sKe5HIj.d.mts → nostics-DWvukRwa.d.mts} +11 -2
  51. package/dist/{origin-D_eBKEzr.mjs → origin-DZit9g29.mjs} +1 -21
  52. package/dist/recipes/interactive-auth.d.mts +2 -2
  53. package/dist/recipes/interactive-auth.mjs +1 -231
  54. package/dist/{remote-assets-D0StJVLp.mjs → remote-assets-B9MeWmW6.mjs} +2 -2
  55. package/dist/rpc/client.d.mts +1 -1
  56. package/dist/rpc/client.mjs +1 -1
  57. package/dist/rpc/dump.d.mts +2 -1
  58. package/dist/rpc/index.d.mts +3 -2
  59. package/dist/rpc/server.d.mts +1 -1
  60. package/dist/rpc/server.mjs +1 -1
  61. package/dist/rpc/transports/sse-client.d.mts +1 -1
  62. package/dist/rpc/transports/sse-server.d.mts +3 -3
  63. package/dist/rpc/transports/sse-server.mjs +1 -1
  64. package/dist/rpc/transports/ws-bun.d.mts +2 -2
  65. package/dist/rpc/transports/ws-bun.mjs +1 -1
  66. package/dist/rpc/transports/ws-client.d.mts +1 -1
  67. package/dist/rpc/transports/ws-deno.d.mts +2 -2
  68. package/dist/rpc/transports/ws-deno.mjs +1 -1
  69. package/dist/rpc/transports/ws-server.d.mts +1 -1
  70. package/dist/rpc/transports/ws-server.mjs +1 -1
  71. package/dist/{rpc-core-CvkU23bQ.mjs → rpc-core-BXyMjbKG.mjs} +1 -1
  72. package/dist/{rpc-core-BlL-Ip8n.d.mts → rpc-core-rLrwFEcw.d.mts} +4 -4
  73. package/dist/{services-install-Ben4yh52.mjs → services-install-D5YUwFXW.mjs} +17 -1
  74. package/dist/{sse-client-BcbYwXdD.d.mts → sse-client-DNdscfu_.d.mts} +2 -2
  75. package/dist/{storage-B70AXK64.mjs → storage-CHD1IkqU.mjs} +1 -1
  76. package/dist/types/index.d.mts +4 -4
  77. package/dist/{types-D2vGd7-2.d.mts → types-BmDbfHCx.d.mts} +2 -3
  78. package/dist/utils/debounce.d.mts +50 -0
  79. package/dist/utils/debounce.mjs +88 -0
  80. package/dist/utils/events.d.mts +1 -1
  81. package/dist/utils/launch-editor.d.mts +8 -0
  82. package/dist/utils/launch-editor.mjs +36 -1
  83. package/dist/utils/nostics.d.mts +2 -2
  84. package/dist/utils/remote-assets.mjs +1 -1
  85. package/dist/utils/serve-static.mjs +1 -1
  86. package/dist/utils/shared-state.d.mts +1 -1
  87. package/dist/utils/simple-schema.d.mts +3 -2
  88. package/dist/utils/streaming-channel.d.mts +1 -1
  89. package/dist/utils/url.d.mts +31 -0
  90. package/dist/utils/url.mjs +58 -0
  91. package/dist/{ws-client-CNpP6Ium.d.mts → ws-client-6Mrz6eC4.d.mts} +2 -2
  92. package/dist/{ws-server-BB8jhxeT.d.mts → ws-server-y2R76aSW.d.mts} +2 -2
  93. package/package.json +10 -11
  94. package/dist/_shared-U8D-xzrp.mjs +0 -115
  95. package/dist/agent-tool-name-DGzeuWcO.mjs +0 -31
  96. package/dist/client-assets-DNdhagGm.mjs +0 -16
  97. package/dist/nostics-DD6gsDZA.mjs +0 -108
  98. package/dist/recipes/common-rpc-functions.d.mts +0 -70
  99. package/dist/recipes/common-rpc-functions.mjs +0 -115
  100. package/dist/simple-schema-Bi40l-P6.mjs +0 -154
@@ -0,0 +1,448 @@
1
+ //#region ../../node_modules/.pnpm/mrmime@2.0.1/node_modules/mrmime/index.mjs
2
+ const mimes = {
3
+ "3g2": "video/3gpp2",
4
+ "3gp": "video/3gpp",
5
+ "3gpp": "video/3gpp",
6
+ "3mf": "model/3mf",
7
+ "aac": "audio/aac",
8
+ "ac": "application/pkix-attr-cert",
9
+ "adp": "audio/adpcm",
10
+ "adts": "audio/aac",
11
+ "ai": "application/postscript",
12
+ "aml": "application/automationml-aml+xml",
13
+ "amlx": "application/automationml-amlx+zip",
14
+ "amr": "audio/amr",
15
+ "apng": "image/apng",
16
+ "appcache": "text/cache-manifest",
17
+ "appinstaller": "application/appinstaller",
18
+ "appx": "application/appx",
19
+ "appxbundle": "application/appxbundle",
20
+ "asc": "application/pgp-keys",
21
+ "atom": "application/atom+xml",
22
+ "atomcat": "application/atomcat+xml",
23
+ "atomdeleted": "application/atomdeleted+xml",
24
+ "atomsvc": "application/atomsvc+xml",
25
+ "au": "audio/basic",
26
+ "avci": "image/avci",
27
+ "avcs": "image/avcs",
28
+ "avif": "image/avif",
29
+ "aw": "application/applixware",
30
+ "bdoc": "application/bdoc",
31
+ "bin": "application/octet-stream",
32
+ "bmp": "image/bmp",
33
+ "bpk": "application/octet-stream",
34
+ "btf": "image/prs.btif",
35
+ "btif": "image/prs.btif",
36
+ "buffer": "application/octet-stream",
37
+ "ccxml": "application/ccxml+xml",
38
+ "cdfx": "application/cdfx+xml",
39
+ "cdmia": "application/cdmi-capability",
40
+ "cdmic": "application/cdmi-container",
41
+ "cdmid": "application/cdmi-domain",
42
+ "cdmio": "application/cdmi-object",
43
+ "cdmiq": "application/cdmi-queue",
44
+ "cer": "application/pkix-cert",
45
+ "cgm": "image/cgm",
46
+ "cjs": "application/node",
47
+ "class": "application/java-vm",
48
+ "coffee": "text/coffeescript",
49
+ "conf": "text/plain",
50
+ "cpl": "application/cpl+xml",
51
+ "cpt": "application/mac-compactpro",
52
+ "crl": "application/pkix-crl",
53
+ "css": "text/css",
54
+ "csv": "text/csv",
55
+ "cu": "application/cu-seeme",
56
+ "cwl": "application/cwl",
57
+ "cww": "application/prs.cww",
58
+ "davmount": "application/davmount+xml",
59
+ "dbk": "application/docbook+xml",
60
+ "deb": "application/octet-stream",
61
+ "def": "text/plain",
62
+ "deploy": "application/octet-stream",
63
+ "dib": "image/bmp",
64
+ "disposition-notification": "message/disposition-notification",
65
+ "dist": "application/octet-stream",
66
+ "distz": "application/octet-stream",
67
+ "dll": "application/octet-stream",
68
+ "dmg": "application/octet-stream",
69
+ "dms": "application/octet-stream",
70
+ "doc": "application/msword",
71
+ "dot": "application/msword",
72
+ "dpx": "image/dpx",
73
+ "drle": "image/dicom-rle",
74
+ "dsc": "text/prs.lines.tag",
75
+ "dssc": "application/dssc+der",
76
+ "dtd": "application/xml-dtd",
77
+ "dump": "application/octet-stream",
78
+ "dwd": "application/atsc-dwd+xml",
79
+ "ear": "application/java-archive",
80
+ "ecma": "application/ecmascript",
81
+ "elc": "application/octet-stream",
82
+ "emf": "image/emf",
83
+ "eml": "message/rfc822",
84
+ "emma": "application/emma+xml",
85
+ "emotionml": "application/emotionml+xml",
86
+ "eps": "application/postscript",
87
+ "epub": "application/epub+zip",
88
+ "exe": "application/octet-stream",
89
+ "exi": "application/exi",
90
+ "exp": "application/express",
91
+ "exr": "image/aces",
92
+ "ez": "application/andrew-inset",
93
+ "fdf": "application/fdf",
94
+ "fdt": "application/fdt+xml",
95
+ "fits": "image/fits",
96
+ "g3": "image/g3fax",
97
+ "gbr": "application/rpki-ghostbusters",
98
+ "geojson": "application/geo+json",
99
+ "gif": "image/gif",
100
+ "glb": "model/gltf-binary",
101
+ "gltf": "model/gltf+json",
102
+ "gml": "application/gml+xml",
103
+ "gpx": "application/gpx+xml",
104
+ "gram": "application/srgs",
105
+ "grxml": "application/srgs+xml",
106
+ "gxf": "application/gxf",
107
+ "gz": "application/gzip",
108
+ "h261": "video/h261",
109
+ "h263": "video/h263",
110
+ "h264": "video/h264",
111
+ "heic": "image/heic",
112
+ "heics": "image/heic-sequence",
113
+ "heif": "image/heif",
114
+ "heifs": "image/heif-sequence",
115
+ "hej2": "image/hej2k",
116
+ "held": "application/atsc-held+xml",
117
+ "hjson": "application/hjson",
118
+ "hlp": "application/winhlp",
119
+ "hqx": "application/mac-binhex40",
120
+ "hsj2": "image/hsj2",
121
+ "htm": "text/html",
122
+ "html": "text/html",
123
+ "ics": "text/calendar",
124
+ "ief": "image/ief",
125
+ "ifb": "text/calendar",
126
+ "iges": "model/iges",
127
+ "igs": "model/iges",
128
+ "img": "application/octet-stream",
129
+ "in": "text/plain",
130
+ "ini": "text/plain",
131
+ "ink": "application/inkml+xml",
132
+ "inkml": "application/inkml+xml",
133
+ "ipfix": "application/ipfix",
134
+ "iso": "application/octet-stream",
135
+ "its": "application/its+xml",
136
+ "jade": "text/jade",
137
+ "jar": "application/java-archive",
138
+ "jhc": "image/jphc",
139
+ "jls": "image/jls",
140
+ "jp2": "image/jp2",
141
+ "jpe": "image/jpeg",
142
+ "jpeg": "image/jpeg",
143
+ "jpf": "image/jpx",
144
+ "jpg": "image/jpeg",
145
+ "jpg2": "image/jp2",
146
+ "jpgm": "image/jpm",
147
+ "jpgv": "video/jpeg",
148
+ "jph": "image/jph",
149
+ "jpm": "image/jpm",
150
+ "jpx": "image/jpx",
151
+ "js": "text/javascript",
152
+ "json": "application/json",
153
+ "json5": "application/json5",
154
+ "jsonld": "application/ld+json",
155
+ "jsonml": "application/jsonml+json",
156
+ "jsx": "text/jsx",
157
+ "jt": "model/jt",
158
+ "jxl": "image/jxl",
159
+ "jxr": "image/jxr",
160
+ "jxra": "image/jxra",
161
+ "jxrs": "image/jxrs",
162
+ "jxs": "image/jxs",
163
+ "jxsc": "image/jxsc",
164
+ "jxsi": "image/jxsi",
165
+ "jxss": "image/jxss",
166
+ "kar": "audio/midi",
167
+ "ktx": "image/ktx",
168
+ "ktx2": "image/ktx2",
169
+ "less": "text/less",
170
+ "lgr": "application/lgr+xml",
171
+ "list": "text/plain",
172
+ "litcoffee": "text/coffeescript",
173
+ "log": "text/plain",
174
+ "lostxml": "application/lost+xml",
175
+ "lrf": "application/octet-stream",
176
+ "m1v": "video/mpeg",
177
+ "m21": "application/mp21",
178
+ "m2a": "audio/mpeg",
179
+ "m2t": "video/mp2t",
180
+ "m2ts": "video/mp2t",
181
+ "m2v": "video/mpeg",
182
+ "m3a": "audio/mpeg",
183
+ "m4a": "audio/mp4",
184
+ "m4p": "application/mp4",
185
+ "m4s": "video/iso.segment",
186
+ "ma": "application/mathematica",
187
+ "mads": "application/mads+xml",
188
+ "maei": "application/mmt-aei+xml",
189
+ "man": "text/troff",
190
+ "manifest": "text/cache-manifest",
191
+ "map": "application/json",
192
+ "mar": "application/octet-stream",
193
+ "markdown": "text/markdown",
194
+ "mathml": "application/mathml+xml",
195
+ "mb": "application/mathematica",
196
+ "mbox": "application/mbox",
197
+ "md": "text/markdown",
198
+ "mdx": "text/mdx",
199
+ "me": "text/troff",
200
+ "mesh": "model/mesh",
201
+ "meta4": "application/metalink4+xml",
202
+ "metalink": "application/metalink+xml",
203
+ "mets": "application/mets+xml",
204
+ "mft": "application/rpki-manifest",
205
+ "mid": "audio/midi",
206
+ "midi": "audio/midi",
207
+ "mime": "message/rfc822",
208
+ "mj2": "video/mj2",
209
+ "mjp2": "video/mj2",
210
+ "mjs": "text/javascript",
211
+ "mml": "text/mathml",
212
+ "mods": "application/mods+xml",
213
+ "mov": "video/quicktime",
214
+ "mp2": "audio/mpeg",
215
+ "mp21": "application/mp21",
216
+ "mp2a": "audio/mpeg",
217
+ "mp3": "audio/mpeg",
218
+ "mp4": "video/mp4",
219
+ "mp4a": "audio/mp4",
220
+ "mp4s": "application/mp4",
221
+ "mp4v": "video/mp4",
222
+ "mpd": "application/dash+xml",
223
+ "mpe": "video/mpeg",
224
+ "mpeg": "video/mpeg",
225
+ "mpf": "application/media-policy-dataset+xml",
226
+ "mpg": "video/mpeg",
227
+ "mpg4": "video/mp4",
228
+ "mpga": "audio/mpeg",
229
+ "mpp": "application/dash-patch+xml",
230
+ "mrc": "application/marc",
231
+ "mrcx": "application/marcxml+xml",
232
+ "ms": "text/troff",
233
+ "mscml": "application/mediaservercontrol+xml",
234
+ "msh": "model/mesh",
235
+ "msi": "application/octet-stream",
236
+ "msix": "application/msix",
237
+ "msixbundle": "application/msixbundle",
238
+ "msm": "application/octet-stream",
239
+ "msp": "application/octet-stream",
240
+ "mtl": "model/mtl",
241
+ "mts": "video/mp2t",
242
+ "musd": "application/mmt-usd+xml",
243
+ "mxf": "application/mxf",
244
+ "mxmf": "audio/mobile-xmf",
245
+ "mxml": "application/xv+xml",
246
+ "n3": "text/n3",
247
+ "nb": "application/mathematica",
248
+ "nq": "application/n-quads",
249
+ "nt": "application/n-triples",
250
+ "obj": "model/obj",
251
+ "oda": "application/oda",
252
+ "oga": "audio/ogg",
253
+ "ogg": "audio/ogg",
254
+ "ogv": "video/ogg",
255
+ "ogx": "application/ogg",
256
+ "omdoc": "application/omdoc+xml",
257
+ "onepkg": "application/onenote",
258
+ "onetmp": "application/onenote",
259
+ "onetoc": "application/onenote",
260
+ "onetoc2": "application/onenote",
261
+ "opf": "application/oebps-package+xml",
262
+ "opus": "audio/ogg",
263
+ "otf": "font/otf",
264
+ "owl": "application/rdf+xml",
265
+ "oxps": "application/oxps",
266
+ "p10": "application/pkcs10",
267
+ "p7c": "application/pkcs7-mime",
268
+ "p7m": "application/pkcs7-mime",
269
+ "p7s": "application/pkcs7-signature",
270
+ "p8": "application/pkcs8",
271
+ "pdf": "application/pdf",
272
+ "pfr": "application/font-tdpfr",
273
+ "pgp": "application/pgp-encrypted",
274
+ "pkg": "application/octet-stream",
275
+ "pki": "application/pkixcmp",
276
+ "pkipath": "application/pkix-pkipath",
277
+ "pls": "application/pls+xml",
278
+ "png": "image/png",
279
+ "prc": "model/prc",
280
+ "prf": "application/pics-rules",
281
+ "provx": "application/provenance+xml",
282
+ "ps": "application/postscript",
283
+ "pskcxml": "application/pskc+xml",
284
+ "pti": "image/prs.pti",
285
+ "qt": "video/quicktime",
286
+ "raml": "application/raml+yaml",
287
+ "rapd": "application/route-apd+xml",
288
+ "rdf": "application/rdf+xml",
289
+ "relo": "application/p2p-overlay+xml",
290
+ "rif": "application/reginfo+xml",
291
+ "rl": "application/resource-lists+xml",
292
+ "rld": "application/resource-lists-diff+xml",
293
+ "rmi": "audio/midi",
294
+ "rnc": "application/relax-ng-compact-syntax",
295
+ "rng": "application/xml",
296
+ "roa": "application/rpki-roa",
297
+ "roff": "text/troff",
298
+ "rq": "application/sparql-query",
299
+ "rs": "application/rls-services+xml",
300
+ "rsat": "application/atsc-rsat+xml",
301
+ "rsd": "application/rsd+xml",
302
+ "rsheet": "application/urc-ressheet+xml",
303
+ "rss": "application/rss+xml",
304
+ "rtf": "text/rtf",
305
+ "rtx": "text/richtext",
306
+ "rusd": "application/route-usd+xml",
307
+ "s3m": "audio/s3m",
308
+ "sbml": "application/sbml+xml",
309
+ "scq": "application/scvp-cv-request",
310
+ "scs": "application/scvp-cv-response",
311
+ "sdp": "application/sdp",
312
+ "senmlx": "application/senml+xml",
313
+ "sensmlx": "application/sensml+xml",
314
+ "ser": "application/java-serialized-object",
315
+ "setpay": "application/set-payment-initiation",
316
+ "setreg": "application/set-registration-initiation",
317
+ "sgi": "image/sgi",
318
+ "sgm": "text/sgml",
319
+ "sgml": "text/sgml",
320
+ "shex": "text/shex",
321
+ "shf": "application/shf+xml",
322
+ "shtml": "text/html",
323
+ "sieve": "application/sieve",
324
+ "sig": "application/pgp-signature",
325
+ "sil": "audio/silk",
326
+ "silo": "model/mesh",
327
+ "siv": "application/sieve",
328
+ "slim": "text/slim",
329
+ "slm": "text/slim",
330
+ "sls": "application/route-s-tsid+xml",
331
+ "smi": "application/smil+xml",
332
+ "smil": "application/smil+xml",
333
+ "snd": "audio/basic",
334
+ "so": "application/octet-stream",
335
+ "spdx": "text/spdx",
336
+ "spp": "application/scvp-vp-response",
337
+ "spq": "application/scvp-vp-request",
338
+ "spx": "audio/ogg",
339
+ "sql": "application/sql",
340
+ "sru": "application/sru+xml",
341
+ "srx": "application/sparql-results+xml",
342
+ "ssdl": "application/ssdl+xml",
343
+ "ssml": "application/ssml+xml",
344
+ "stk": "application/hyperstudio",
345
+ "stl": "model/stl",
346
+ "stpx": "model/step+xml",
347
+ "stpxz": "model/step-xml+zip",
348
+ "stpz": "model/step+zip",
349
+ "styl": "text/stylus",
350
+ "stylus": "text/stylus",
351
+ "svg": "image/svg+xml",
352
+ "svgz": "image/svg+xml",
353
+ "swidtag": "application/swid+xml",
354
+ "t": "text/troff",
355
+ "t38": "image/t38",
356
+ "td": "application/urc-targetdesc+xml",
357
+ "tei": "application/tei+xml",
358
+ "teicorpus": "application/tei+xml",
359
+ "text": "text/plain",
360
+ "tfi": "application/thraud+xml",
361
+ "tfx": "image/tiff-fx",
362
+ "tif": "image/tiff",
363
+ "tiff": "image/tiff",
364
+ "toml": "application/toml",
365
+ "tr": "text/troff",
366
+ "trig": "application/trig",
367
+ "ts": "video/mp2t",
368
+ "tsd": "application/timestamped-data",
369
+ "tsv": "text/tab-separated-values",
370
+ "ttc": "font/collection",
371
+ "ttf": "font/ttf",
372
+ "ttl": "text/turtle",
373
+ "ttml": "application/ttml+xml",
374
+ "txt": "text/plain",
375
+ "u3d": "model/u3d",
376
+ "u8dsn": "message/global-delivery-status",
377
+ "u8hdr": "message/global-headers",
378
+ "u8mdn": "message/global-disposition-notification",
379
+ "u8msg": "message/global",
380
+ "ubj": "application/ubjson",
381
+ "uri": "text/uri-list",
382
+ "uris": "text/uri-list",
383
+ "urls": "text/uri-list",
384
+ "vcard": "text/vcard",
385
+ "vrml": "model/vrml",
386
+ "vtt": "text/vtt",
387
+ "vxml": "application/voicexml+xml",
388
+ "war": "application/java-archive",
389
+ "wasm": "application/wasm",
390
+ "wav": "audio/wav",
391
+ "weba": "audio/webm",
392
+ "webm": "video/webm",
393
+ "webmanifest": "application/manifest+json",
394
+ "webp": "image/webp",
395
+ "wgsl": "text/wgsl",
396
+ "wgt": "application/widget",
397
+ "wif": "application/watcherinfo+xml",
398
+ "wmf": "image/wmf",
399
+ "woff": "font/woff",
400
+ "woff2": "font/woff2",
401
+ "wrl": "model/vrml",
402
+ "wsdl": "application/wsdl+xml",
403
+ "wspolicy": "application/wspolicy+xml",
404
+ "x3d": "model/x3d+xml",
405
+ "x3db": "model/x3d+fastinfoset",
406
+ "x3dbz": "model/x3d+binary",
407
+ "x3dv": "model/x3d-vrml",
408
+ "x3dvz": "model/x3d+vrml",
409
+ "x3dz": "model/x3d+xml",
410
+ "xaml": "application/xaml+xml",
411
+ "xav": "application/xcap-att+xml",
412
+ "xca": "application/xcap-caps+xml",
413
+ "xcs": "application/calendar+xml",
414
+ "xdf": "application/xcap-diff+xml",
415
+ "xdssc": "application/dssc+xml",
416
+ "xel": "application/xcap-el+xml",
417
+ "xenc": "application/xenc+xml",
418
+ "xer": "application/patch-ops-error+xml",
419
+ "xfdf": "application/xfdf",
420
+ "xht": "application/xhtml+xml",
421
+ "xhtml": "application/xhtml+xml",
422
+ "xhvml": "application/xv+xml",
423
+ "xlf": "application/xliff+xml",
424
+ "xm": "audio/xm",
425
+ "xml": "text/xml",
426
+ "xns": "application/xcap-ns+xml",
427
+ "xop": "application/xop+xml",
428
+ "xpl": "application/xproc+xml",
429
+ "xsd": "application/xml",
430
+ "xsf": "application/prs.xsf+xml",
431
+ "xsl": "application/xml",
432
+ "xslt": "application/xml",
433
+ "xspf": "application/xspf+xml",
434
+ "xvm": "application/xv+xml",
435
+ "xvml": "application/xv+xml",
436
+ "yaml": "text/yaml",
437
+ "yang": "application/yang",
438
+ "yin": "application/yin+xml",
439
+ "yml": "text/yaml",
440
+ "zip": "application/zip"
441
+ };
442
+ function lookup(extn) {
443
+ let tmp = ("" + extn).trim().toLowerCase();
444
+ let idx = tmp.lastIndexOf(".");
445
+ return mimes[!~idx ? tmp : tmp.substring(++idx)];
446
+ }
447
+ //#endregion
448
+ export { lookup as t };
@@ -1,3 +1,3 @@
1
- import { Tt as DevframeAuthHandler } from "../context-BLHBDQcZ.mjs";
2
- import { a as getTempAuthCodeInfo, c as revokeActiveConnectionsForToken, i as getTempAuthCode, l as revokeAuthToken, n as describeUA, o as refreshTempAuthCode, r as exchangeTempAuthCode, s as verifyAuthToken, t as buildOtpAuthUrl } from "../index-r6NstVmM.mjs";
1
+ import { At as DevframeAuthHandler } from "../context-CTAxz9ec.mjs";
2
+ import { a as getTempAuthCodeInfo, c as revokeActiveConnectionsForToken, i as getTempAuthCode, l as revokeAuthToken, n as describeUA, o as refreshTempAuthCode, r as exchangeTempAuthCode, s as verifyAuthToken, t as buildOtpAuthUrl } from "../index-CcPSKbxb.mjs";
3
3
  export { DevframeAuthHandler, buildOtpAuthUrl, describeUA, exchangeTempAuthCode, getTempAuthCode, getTempAuthCodeInfo, refreshTempAuthCode, revokeActiveConnectionsForToken, revokeAuthToken, verifyAuthToken };
@@ -1,3 +1,3 @@
1
- import { a as internalContextMap, i as getInternalContext, n as InternalAnonymousAuthStorage, r as RemoteTokenRecord, t as DevframeInternalContext } from "../context-BA5FPz7K.mjs";
2
- import { a as resolveBasePath, i as normalizeBasePath } from "../_shared-BIUet_Jh.mjs";
1
+ import { a as internalContextMap, i as getInternalContext, n as InternalAnonymousAuthStorage, r as RemoteTokenRecord, t as DevframeInternalContext } from "../context-B4BKPuaa.mjs";
2
+ import { a as resolveBasePath, i as normalizeBasePath } from "../_shared-Dy1UBMUN.mjs";
3
3
  export { type DevframeInternalContext, type InternalAnonymousAuthStorage, type RemoteTokenRecord, getInternalContext, internalContextMap, normalizeBasePath, resolveBasePath };
@@ -1,3 +1,3 @@
1
- import { n as normalizeBasePath, r as resolveBasePath } from "../_shared-U8D-xzrp.mjs";
2
- import { n as internalContextMap, t as getInternalContext } from "../context-jXO5vzjH.mjs";
1
+ import { n as normalizeBasePath, r as resolveBasePath } from "../_shared-B2PZsp-J.mjs";
2
+ import { n as internalContextMap, t as getInternalContext } from "../context-CHpyLX8W.mjs";
3
3
  export { getInternalContext, internalContextMap, normalizeBasePath, resolveBasePath };
@@ -1,7 +1,5 @@
1
- import "../index-CiA6C705.mjs";
2
- import { v as RpcFunctionDefinitionAny } from "../types-D2vGd7-2.mjs";
3
- import { k as SharedState, l as RpcFunctionsHost, o as DevframeNodeContext, xt as DevframeHost } from "../context-BLHBDQcZ.mjs";
4
- import { BirpcGroup } from "birpc";
1
+ import { g as RpcFunctionDefinitionAny } from "../types-BmDbfHCx.mjs";
2
+ import { Et as DevframeHost, k as SharedState, l as RpcFunctionsHost, o as DevframeNodeContext } from "../context-CTAxz9ec.mjs";
5
3
  //#region src/node/context.d.ts
6
4
  export interface CreateHostContextOptions {
7
5
  cwd: string;
@@ -1,3 +1,3 @@
1
- import { t as createHostContext } from "../context-BLXXjoBW.mjs";
2
- import { t as createStorage } from "../storage-B70AXK64.mjs";
1
+ import { t as createHostContext } from "../context-C141q8H4.mjs";
2
+ import { t as createStorage } from "../storage-CHD1IkqU.mjs";
3
3
  export { createHostContext, createStorage };
@@ -28,6 +28,15 @@ declare function defineDiagnostics<const Codes extends Record<string, Diagnostic
28
28
  docsBase?: string | ((code: keyof Codes) => string | undefined);
29
29
  codes: Codes;
30
30
  reporters?: Reporters;
31
- }): Diagnostics<Codes, readonly [typeof devframeReporter, ...Reporters]>;
31
+ }): DevframeDiagnostics<Codes, Reporters>;
32
+ /**
33
+ * The `Diagnostics` object returned by devframe's {@link defineDiagnostics}
34
+ * (devframe's ANSI console reporter is always prepended). Integrations that
35
+ * export their own `defineDiagnostics(...)` result as public API annotate it
36
+ * with this type, so the reference resolves through `devframe/utils/nostics`
37
+ * rather than inlining `nostics`'s types or taking a direct `nostics`
38
+ * dependency.
39
+ */
40
+ type DevframeDiagnostics<Codes extends Record<string, DiagnosticDefinition>, Reporters extends readonly AnyDiagnosticReporter[] = []> = Diagnostics<Codes, readonly [typeof devframeReporter, ...Reporters]>;
32
41
  //#endregion
33
- export { Diagnostic$1 as a, DiagnosticHandle as c, Diagnostics$1 as d, ansiFormatter as f, formatDiagnostic as g, defineProdDiagnostics as h, DevframeDefineDiagnosticsOptions as i, DiagnosticInit as l, defineDiagnostics as m, ConsoleMethod as n, DiagnosticCallParams as o, createConsoleReporter as p, ConsoleReporterOptions as r, DiagnosticDefinition$1 as s, AnyDiagnosticReporter$1 as t, DiagnosticReporter as u };
42
+ export { formatDiagnostic as _, DevframeDiagnostics as a, DiagnosticDefinition$1 as c, DiagnosticReporter as d, Diagnostics$1 as f, defineProdDiagnostics as g, defineDiagnostics as h, DevframeDefineDiagnosticsOptions as i, DiagnosticHandle as l, createConsoleReporter as m, ConsoleMethod as n, Diagnostic$1 as o, ansiFormatter as p, ConsoleReporterOptions as r, DiagnosticCallParams as s, AnyDiagnosticReporter$1 as t, DiagnosticInit as u };
@@ -26,26 +26,6 @@ function isLoopbackHostname(hostname) {
26
26
  if (h === "localhost" || h.endsWith(".localhost") || h === "::1") return true;
27
27
  return isLoopbackIPv4(h);
28
28
  }
29
- /**
30
- * Whether `address` is a loopback peer address as reported by a socket
31
- * (`net.Socket.remoteAddress`): the IPv6 loopback `::1`, an IPv4 literal in
32
- * `127.0.0.0/8`, or an IPv4-mapped IPv6 form of one (`::ffff:127.0.0.1`).
33
- *
34
- * Unlike {@link isLoopbackHostname} this takes a raw address, not a hostname:
35
- * it never accepts a `localhost`-style name (a socket peer is always a literal
36
- * address) and understands the IPv4-mapped IPv6 form the OS hands back on a
37
- * dual-stack listener. Used to prove a same-machine caller from the connected
38
- * peer, which a client cannot forge, rather than from the `Origin` header,
39
- * which it can.
40
- */
41
- function isLoopbackAddress(address) {
42
- let h = address.trim().replace(/^\[|\]$/g, "");
43
- const zone = h.indexOf("%");
44
- if (zone !== -1) h = h.slice(0, zone);
45
- if (h === "::1") return true;
46
- const mapped = /^::ffff:(.+)$/i.exec(h);
47
- return isLoopbackIPv4(mapped ? mapped[1] : h);
48
- }
49
29
  /** A canonical dotted-decimal IPv4 literal in `127.0.0.0/8`. */
50
30
  function isLoopbackIPv4(hostname) {
51
31
  const octets = hostname.split(".");
@@ -97,4 +77,4 @@ function validateOriginCandidate(candidate, allowedOrigins) {
97
77
  if (isLoopbackHostname(url.hostname) || allowedOrigins?.includes(canonical)) return canonical;
98
78
  }
99
79
  //#endregion
100
- export { validateOriginCandidate as i, isLoopbackAddress as n, isLoopbackHostname as r, isAllowedOrigin as t };
80
+ export { isLoopbackHostname as n, validateOriginCandidate as r, isAllowedOrigin as t };
@@ -1,5 +1,5 @@
1
- import { Tt as DevframeAuthHandler, o as DevframeNodeContext, s as DevframeNodeRpcSession } from "../context-BLHBDQcZ.mjs";
2
- import "../index-r6NstVmM.mjs";
1
+ import { At as DevframeAuthHandler, o as DevframeNodeContext, s as DevframeNodeRpcSession } from "../context-CTAxz9ec.mjs";
2
+ import "../index-CcPSKbxb.mjs";
3
3
  import { ColorFn } from "../utils/colors.mjs";
4
4
  //#region src/recipes/interactive-auth.d.ts
5
5
  export interface CreateInteractiveAuthOptions {