devframe 0.9.19 → 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.
- package/dist/_shared-B2PZsp-J.mjs +191 -0
- package/dist/{_shared-BIUet_Jh.d.mts → _shared-Dy1UBMUN.d.mts} +13 -14
- package/dist/adapters/build.d.mts +3 -4
- package/dist/adapters/build.mjs +4 -5
- package/dist/adapters/cac.d.mts +3 -4
- package/dist/adapters/cac.mjs +3 -3
- package/dist/adapters/dev.d.mts +8 -8
- package/dist/adapters/dev.mjs +2 -2
- package/dist/adapters/embedded.d.mts +1 -1
- package/dist/adapters/initiate.d.mts +8 -8
- package/dist/adapters/initiate.mjs +1 -1
- package/dist/adapters/mcp.d.mts +4 -123
- package/dist/adapters/mcp.mjs +1 -589
- package/dist/agentic-D4QQQUjE.d.mts +30 -0
- package/dist/cli/main.mjs +12 -260
- package/dist/client/index.d.mts +6 -6
- package/dist/client/index.mjs +3 -4
- package/dist/constants.d.mts +2 -1
- package/dist/constants.mjs +2 -1
- package/dist/{context-BA5FPz7K.d.mts → context-B4BKPuaa.d.mts} +1 -1
- package/dist/{context-BLXXjoBW.mjs → context-C141q8H4.mjs} +5 -5
- package/dist/{context-jXO5vzjH.mjs → context-CHpyLX8W.mjs} +1 -1
- package/dist/{context-BLHBDQcZ.d.mts → context-CTAxz9ec.d.mts} +108 -47
- package/dist/{dev-DbWecpjA.mjs → dev-DM1mIlgi.mjs} +16 -24
- package/dist/{diagnostics-DZA6KQ_Z.mjs → diagnostics-Cx4_VjlG.mjs} +11 -3
- package/dist/dist-Bw3EbMj4.mjs +305 -0
- package/dist/dist-CO98PBnQ.mjs +265 -0
- package/dist/{host-agent-C3MBpNCd.mjs → host-agent-ZSKgzMVu.mjs} +2 -7
- package/dist/import-runtime-module-BzlEQ9PI.mjs +24 -0
- package/dist/in-page-channel/index.d.mts +2 -7
- package/dist/in-page-channel/index.mjs +1 -4
- package/dist/index-Bia1vKjL.d.mts +218 -0
- package/dist/{index-r6NstVmM.d.mts → index-CcPSKbxb.d.mts} +2 -2
- package/dist/index-CeEtxDmK.d.mts +78 -0
- package/dist/{index-CiA6C705.d.mts → index-DuEm0sDH.d.mts} +1 -1
- package/dist/index.d.mts +4 -11
- package/dist/index.mjs +1 -10
- package/dist/{instance-registry-DCq762YJ.mjs → instance-registry-DtvYxc0Y.mjs} +1 -1
- package/dist/{instance-shell-C6Vg97lg.d.mts → instance-shell-DOZSxst6.d.mts} +31 -5
- package/dist/{instance-shell-370Oee9K.mjs → instance-shell-wC2sfEU_.mjs} +6 -6
- package/dist/interactive-auth-BCa_iamv.mjs +384 -0
- package/dist/internal/index.d.mts +66 -22
- package/dist/internal/index.mjs +143 -8
- package/dist/mrmime-40h5OOIp.mjs +448 -0
- package/dist/node/auth.d.mts +2 -2
- package/dist/node/hub-internals.d.mts +2 -2
- package/dist/node/hub-internals.mjs +2 -2
- package/dist/node/index.d.mts +2 -4
- package/dist/node/index.mjs +2 -2
- package/dist/{nostics-0sKe5HIj.d.mts → nostics-DWvukRwa.d.mts} +11 -2
- package/dist/{origin-DGDH8BI9.d.mts → origin-CY6BBHOy.d.mts} +14 -1
- package/dist/recipes/interactive-auth.d.mts +2 -2
- package/dist/recipes/interactive-auth.mjs +1 -231
- package/dist/{remote-assets-D0StJVLp.mjs → remote-assets-B9MeWmW6.mjs} +2 -2
- package/dist/rpc/client.d.mts +1 -1
- package/dist/rpc/client.mjs +1 -1
- package/dist/rpc/dump.d.mts +2 -1
- package/dist/rpc/index.d.mts +3 -2
- package/dist/rpc/server.d.mts +1 -1
- package/dist/rpc/server.mjs +1 -1
- package/dist/rpc/transports/sse-client.d.mts +1 -1
- package/dist/rpc/transports/sse-server.d.mts +3 -3
- package/dist/rpc/transports/ws-bun.d.mts +2 -2
- package/dist/rpc/transports/ws-client.d.mts +1 -1
- package/dist/rpc/transports/ws-deno.d.mts +2 -2
- package/dist/rpc/transports/ws-server.d.mts +2 -2
- package/dist/{rpc-core-CvkU23bQ.mjs → rpc-core-BXyMjbKG.mjs} +1 -1
- package/dist/{rpc-core-BlL-Ip8n.d.mts → rpc-core-rLrwFEcw.d.mts} +4 -4
- package/dist/{services-install-Ben4yh52.mjs → services-install-D5YUwFXW.mjs} +17 -1
- package/dist/{sse-client-BcbYwXdD.d.mts → sse-client-DNdscfu_.d.mts} +2 -2
- package/dist/{storage-B70AXK64.mjs → storage-CHD1IkqU.mjs} +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/{types-D2vGd7-2.d.mts → types-BmDbfHCx.d.mts} +2 -3
- package/dist/utils/debounce.d.mts +50 -0
- package/dist/utils/debounce.mjs +88 -0
- package/dist/utils/events.d.mts +1 -1
- package/dist/utils/launch-editor.d.mts +8 -0
- package/dist/utils/launch-editor.mjs +36 -1
- package/dist/utils/nostics.d.mts +2 -2
- package/dist/utils/origin.d.mts +2 -2
- package/dist/utils/origin.mjs +21 -1
- package/dist/utils/remote-assets.mjs +1 -1
- package/dist/utils/serve-static.mjs +1 -1
- package/dist/utils/shared-state.d.mts +1 -1
- package/dist/utils/simple-schema.d.mts +3 -2
- package/dist/utils/streaming-channel.d.mts +1 -1
- package/dist/utils/url.d.mts +31 -0
- package/dist/utils/url.mjs +58 -0
- package/dist/{ws-client-CNpP6Ium.d.mts → ws-client-6Mrz6eC4.d.mts} +2 -2
- package/dist/{ws-server-BB8jhxeT.d.mts → ws-server-y2R76aSW.d.mts} +2 -2
- package/package.json +10 -11
- package/dist/_shared-U8D-xzrp.mjs +0 -115
- package/dist/agent-tool-name-DGzeuWcO.mjs +0 -31
- package/dist/client-assets-DNdhagGm.mjs +0 -16
- package/dist/nostics-DD6gsDZA.mjs +0 -108
- package/dist/recipes/common-rpc-functions.d.mts +0 -70
- package/dist/recipes/common-rpc-functions.mjs +0 -115
- 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 };
|
package/dist/node/auth.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
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-
|
|
2
|
-
import { a as resolveBasePath, i as normalizeBasePath } from "../_shared-
|
|
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-
|
|
2
|
-
import { n as internalContextMap, t as getInternalContext } from "../context-
|
|
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 };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import {
|
|
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;
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createHostContext } from "../context-
|
|
2
|
-
import { t as createStorage } from "../storage-
|
|
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
|
-
}):
|
|
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 {
|
|
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 };
|
|
@@ -22,6 +22,19 @@
|
|
|
22
22
|
* those DNS names.
|
|
23
23
|
*/
|
|
24
24
|
declare function isLoopbackHostname(hostname: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether `address` is a loopback peer address as reported by a socket
|
|
27
|
+
* (`net.Socket.remoteAddress`): the IPv6 loopback `::1`, an IPv4 literal in
|
|
28
|
+
* `127.0.0.0/8`, or an IPv4-mapped IPv6 form of one (`::ffff:127.0.0.1`).
|
|
29
|
+
*
|
|
30
|
+
* Unlike {@link isLoopbackHostname} this takes a raw address, not a hostname:
|
|
31
|
+
* it never accepts a `localhost`-style name (a socket peer is always a literal
|
|
32
|
+
* address) and understands the IPv4-mapped IPv6 form the OS hands back on a
|
|
33
|
+
* dual-stack listener. Used to prove a same-machine caller from the connected
|
|
34
|
+
* peer, which a client cannot forge, rather than from the `Origin` header,
|
|
35
|
+
* which it can.
|
|
36
|
+
*/
|
|
37
|
+
declare function isLoopbackAddress(address: string): boolean;
|
|
25
38
|
/**
|
|
26
39
|
* Default origin policy for a localhost dev tool: allow requests with no
|
|
27
40
|
* `Origin` header (native, non-browser clients), allow any loopback origin
|
|
@@ -42,4 +55,4 @@ declare function isAllowedOrigin(origin: string | undefined, allowedOrigins: rea
|
|
|
42
55
|
*/
|
|
43
56
|
declare function validateOriginCandidate(candidate: string, allowedOrigins?: readonly string[]): string | undefined;
|
|
44
57
|
//#endregion
|
|
45
|
-
export {
|
|
58
|
+
export { validateOriginCandidate as i, isLoopbackAddress as n, isLoopbackHostname as r, isAllowedOrigin as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-
|
|
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 {
|