@botpress/adk 1.19.0-beta.2 → 1.19.0-beta.3
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/agent-init/agent-project-generator.d.ts +1 -1
- package/dist/agent-init/agent-project-generator.d.ts.map +1 -1
- package/dist/agent0/capabilities/commands/adk-build.md +39 -0
- package/dist/agent0/capabilities/commands/adk-debug.md +23 -0
- package/dist/agent0/capabilities/commands/adk-dev-console.md +17 -0
- package/dist/agent0/capabilities/commands/adk-document.md +68 -0
- package/dist/agent0/capabilities/commands/adk-eval.md +17 -0
- package/dist/agent0/capabilities/commands/adk-explain.md +22 -0
- package/dist/agent0/capabilities/commands/adk-init.md +30 -0
- package/dist/agent0/capabilities/commands/adk-ship.md +29 -0
- package/dist/agent0/capabilities/commands/adk-test.md +27 -0
- package/dist/agent0/capabilities/commands/adk-validate.md +31 -0
- package/dist/agent0/capabilities/skills/adk/SKILL.md +548 -0
- package/dist/agent0/capabilities/skills/adk/references/actions.md +823 -0
- package/dist/agent0/capabilities/skills/adk/references/advanced-patterns.md +669 -0
- package/dist/agent0/capabilities/skills/adk/references/agent-config.md +450 -0
- package/dist/agent0/capabilities/skills/adk/references/assets.md +237 -0
- package/dist/agent0/capabilities/skills/adk/references/autonomous-execution.md +747 -0
- package/dist/agent0/capabilities/skills/adk/references/cli.md +1093 -0
- package/dist/agent0/capabilities/skills/adk/references/context-api.md +461 -0
- package/dist/agent0/capabilities/skills/adk/references/conversation-lifecycle.md +311 -0
- package/dist/agent0/capabilities/skills/adk/references/conversations.md +1111 -0
- package/dist/agent0/capabilities/skills/adk/references/custom-components.md +167 -0
- package/dist/agent0/capabilities/skills/adk/references/desk.md +852 -0
- package/dist/agent0/capabilities/skills/adk/references/evals.md +11 -0
- package/dist/agent0/capabilities/skills/adk/references/explain-config.md +424 -0
- package/dist/agent0/capabilities/skills/adk/references/files.md +918 -0
- package/dist/agent0/capabilities/skills/adk/references/integration-actions.md +659 -0
- package/dist/agent0/capabilities/skills/adk/references/integrations.md +266 -0
- package/dist/agent0/capabilities/skills/adk/references/interfaces.md +97 -0
- package/dist/agent0/capabilities/skills/adk/references/knowledge-bases.md +456 -0
- package/dist/agent0/capabilities/skills/adk/references/mcp-server.md +112 -0
- package/dist/agent0/capabilities/skills/adk/references/messages.md +769 -0
- package/dist/agent0/capabilities/skills/adk/references/model-configuration.md +201 -0
- package/dist/agent0/capabilities/skills/adk/references/patterns-mistakes.md +469 -0
- package/dist/agent0/capabilities/skills/adk/references/plugins.md +280 -0
- package/dist/agent0/capabilities/skills/adk/references/tables.md +1136 -0
- package/dist/agent0/capabilities/skills/adk/references/tags.md +516 -0
- package/dist/agent0/capabilities/skills/adk/references/tools.md +581 -0
- package/dist/agent0/capabilities/skills/adk/references/triggers.md +719 -0
- package/dist/agent0/capabilities/skills/adk/references/workflow-steps.md +851 -0
- package/dist/agent0/capabilities/skills/adk/references/workflows.md +1408 -0
- package/dist/agent0/capabilities/skills/adk/references/zai-agent-reference.md +454 -0
- package/dist/agent0/capabilities/skills/adk/references/zai-complete-guide.md +1408 -0
- package/dist/agent0/capabilities/skills/adk-debugger/SKILL.md +257 -0
- package/dist/agent0/capabilities/skills/adk-debugger/references/common-failures.md +231 -0
- package/dist/agent0/capabilities/skills/adk-debugger/references/conversation-analysis.md +420 -0
- package/dist/agent0/capabilities/skills/adk-debugger/references/debug-workflow.md +239 -0
- package/dist/agent0/capabilities/skills/adk-debugger/references/llm-debugging.md +209 -0
- package/dist/agent0/capabilities/skills/adk-debugger/references/trace-summarization.md +313 -0
- package/dist/agent0/capabilities/skills/adk-debugger/references/traces-and-logs.md +195 -0
- package/dist/agent0/capabilities/skills/adk-dev-console/SKILL.md +111 -0
- package/dist/agent0/capabilities/skills/adk-dev-console/references/agent-steps.md +115 -0
- package/dist/agent0/capabilities/skills/adk-dev-console/references/component-registry.md +43 -0
- package/dist/agent0/capabilities/skills/adk-dev-console/references/multi-agent-dashboard.md +70 -0
- package/dist/agent0/capabilities/skills/adk-dev-console/references/pages.md +273 -0
- package/dist/agent0/capabilities/skills/adk-docs/SKILL.md +114 -0
- package/dist/agent0/capabilities/skills/adk-docs/references/doc-standards.md +124 -0
- package/dist/agent0/capabilities/skills/adk-evals/SKILL.md +244 -0
- package/dist/agent0/capabilities/skills/adk-evals/references/eval-format.md +354 -0
- package/dist/agent0/capabilities/skills/adk-evals/references/test-patterns.md +355 -0
- package/dist/agent0/capabilities/skills/adk-evals/references/testing-workflow.md +225 -0
- package/dist/agent0/config/index.d.ts +5 -0
- package/dist/agent0/config/index.d.ts.map +1 -0
- package/dist/agent0/config/paths.d.ts +12 -0
- package/dist/agent0/config/paths.d.ts.map +1 -0
- package/dist/agent0/config/schema.d.ts +171 -0
- package/dist/agent0/config/schema.d.ts.map +1 -0
- package/dist/agent0/config/secrets.d.ts +4 -0
- package/dist/agent0/config/secrets.d.ts.map +1 -0
- package/dist/agent0/config/store.d.ts +21 -0
- package/dist/agent0/config/store.d.ts.map +1 -0
- package/dist/agent0/index.d.ts +6 -0
- package/dist/agent0/index.d.ts.map +1 -0
- package/dist/agent0/index.js +3215 -0
- package/dist/agent0/index.js.map +27 -0
- package/dist/agent0/providers/catalog.d.ts +189 -0
- package/dist/agent0/providers/catalog.d.ts.map +1 -0
- package/dist/agent0/providers/index.d.ts +4 -0
- package/dist/agent0/providers/index.d.ts.map +1 -0
- package/dist/agent0/providers/registry.d.ts +32 -0
- package/dist/agent0/providers/registry.d.ts.map +1 -0
- package/dist/agent0/providers/source.d.ts +100 -0
- package/dist/agent0/providers/source.d.ts.map +1 -0
- package/dist/agent0/runtime/client.d.ts +50 -0
- package/dist/agent0/runtime/client.d.ts.map +1 -0
- package/dist/agent0/runtime/engine.d.ts +74 -0
- package/dist/agent0/runtime/engine.d.ts.map +1 -0
- package/dist/agent0/runtime/index.d.ts +7 -0
- package/dist/agent0/runtime/index.d.ts.map +1 -0
- package/dist/agent0/runtime/manager.d.ts +82 -0
- package/dist/agent0/runtime/manager.d.ts.map +1 -0
- package/dist/agent0/runtime/permissions.d.ts +6 -0
- package/dist/agent0/runtime/permissions.d.ts.map +1 -0
- package/dist/agent0/runtime/process.d.ts +43 -0
- package/dist/agent0/runtime/process.d.ts.map +1 -0
- package/dist/agent0/runtime/project-discovery.d.ts +5 -0
- package/dist/agent0/runtime/project-discovery.d.ts.map +1 -0
- package/dist/agent0/types.d.ts +447 -0
- package/dist/agent0/types.d.ts.map +1 -0
- package/dist/auth/index.d.ts +1 -0
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/cognitive/models.d.ts +32 -0
- package/dist/cognitive/models.d.ts.map +1 -0
- package/dist/commands/bp-dev-command.d.ts.map +1 -1
- package/dist/commands/bp-dev-stderr.d.ts +21 -0
- package/dist/commands/bp-dev-stderr.d.ts.map +1 -0
- package/dist/commands/index.d.ts +0 -5
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/dependencies/dependency-manager.d.ts +0 -1
- package/dist/dependencies/dependency-manager.d.ts.map +1 -1
- package/dist/dependencies/errors.d.ts +1 -1
- package/dist/dependencies/errors.d.ts.map +1 -1
- package/dist/dependencies/index.d.ts +0 -2
- package/dist/dependencies/index.d.ts.map +1 -1
- package/dist/dependencies/index.js +125 -149
- package/dist/dependencies/index.js.map +11 -13
- package/dist/dependencies/migration.d.ts +0 -2
- package/dist/dependencies/migration.d.ts.map +1 -1
- package/dist/dependencies/resolvers/integration-resolver.d.ts +0 -1
- package/dist/dependencies/resolvers/integration-resolver.d.ts.map +1 -1
- package/dist/dependencies/resolvers/plugin-resolver.d.ts +0 -1
- package/dist/dependencies/resolvers/plugin-resolver.d.ts.map +1 -1
- package/dist/dependencies/types.d.ts +1 -2
- package/dist/dependencies/types.d.ts.map +1 -1
- package/dist/generators/tests.d.ts.map +1 -1
- package/dist/index.js +501 -998
- package/dist/index.js.map +16 -20
- package/dist/runner/script-runner.d.ts.map +1 -1
- package/dist/runner/supervise-child.d.ts +24 -0
- package/dist/runner/supervise-child.d.ts.map +1 -0
- package/dist/templates/blank/package.json +0 -1
- package/dist/templates/template.config.json +10 -9
- package/package.json +12 -8
- package/dist/commands/copilot-config-reader.d.ts +0 -3
- package/dist/commands/copilot-config-reader.d.ts.map +0 -1
- package/dist/commands/copilot-config.d.ts +0 -42
- package/dist/commands/copilot-config.d.ts.map +0 -1
- package/dist/commands/copilot-server.d.ts +0 -29
- package/dist/commands/copilot-server.d.ts.map +0 -1
- package/dist/commands/opencode-config.d.ts +0 -30
- package/dist/commands/opencode-config.d.ts.map +0 -1
- package/dist/dependencies/env-substitution.d.ts +0 -3
- package/dist/dependencies/env-substitution.d.ts.map +0 -1
- package/dist/dependencies/secrets-rewriter.d.ts +0 -25
- package/dist/dependencies/secrets-rewriter.d.ts.map +0 -1
- package/dist/templates/blank/dependencies.dev.lock.json +0 -6
- package/dist/templates/botpress-desk/dependencies.dev.lock.json +0 -6
- package/dist/templates/crm-enrichment/dependencies.dev.lock.json +0 -6
- package/dist/templates/hello-world/dependencies.dev.lock.json +0 -6
- package/dist/templates/knowledge-assistant/dependencies.dev.lock.json +0 -6
- package/dist/templates/slack-triage/dependencies.dev.lock.json +0 -6
package/dist/index.js
CHANGED
|
@@ -113,7 +113,6 @@ var init_errors = __esm(() => {
|
|
|
113
113
|
DEPENDENCY_WARNING_CODES = [
|
|
114
114
|
"DEPRECATED_COMMAND",
|
|
115
115
|
"MIGRATED_DEPENDENCIES",
|
|
116
|
-
"HEURISTIC_SECRET_MASKED",
|
|
117
116
|
"CLOUD_FETCH_PARTIAL",
|
|
118
117
|
"NO_PROD_BOT"
|
|
119
118
|
];
|
|
@@ -1087,9 +1086,11 @@ class Auth {
|
|
|
1087
1086
|
this.credentialsManager = new CredentialsManager;
|
|
1088
1087
|
}
|
|
1089
1088
|
async login(token, options = {}) {
|
|
1090
|
-
const
|
|
1089
|
+
const apiUrl = options.apiUrl ?? "https://api.botpress.cloud";
|
|
1091
1090
|
const authService = new AuthService(apiUrl);
|
|
1092
1091
|
const authResult = await authService.validateToken(token);
|
|
1092
|
+
const autoResolved = options.profile == null;
|
|
1093
|
+
const profile = options.profile ?? await this.resolveProfileName(authResult);
|
|
1093
1094
|
try {
|
|
1094
1095
|
const client = new Client2({ apiUrl, token });
|
|
1095
1096
|
await client.setAccountPreference({ key: "adkCliConnected", value: true });
|
|
@@ -1106,8 +1107,41 @@ class Auth {
|
|
|
1106
1107
|
accountId: authResult.accountId,
|
|
1107
1108
|
createdAt: authResult.createdAt
|
|
1108
1109
|
});
|
|
1110
|
+
if (autoResolved) {
|
|
1111
|
+
await this.credentialsManager.setCurrentProfile(profile);
|
|
1112
|
+
}
|
|
1109
1113
|
clearProjectClientCache();
|
|
1110
1114
|
}
|
|
1115
|
+
async resolveProfileName(authResult) {
|
|
1116
|
+
const profiles = await this.credentialsManager.listProfiles();
|
|
1117
|
+
if (profiles.length === 0) {
|
|
1118
|
+
return "default";
|
|
1119
|
+
}
|
|
1120
|
+
if (authResult.accountId) {
|
|
1121
|
+
const existing = profiles.find((p) => p.accountId === authResult.accountId);
|
|
1122
|
+
if (existing) {
|
|
1123
|
+
return existing.name;
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
if (authResult.email) {
|
|
1127
|
+
const baseName = authResult.email.split("@")[0] || "profile";
|
|
1128
|
+
const existingNames2 = new Set(profiles.map((p) => p.name));
|
|
1129
|
+
if (!existingNames2.has(baseName)) {
|
|
1130
|
+
return baseName;
|
|
1131
|
+
}
|
|
1132
|
+
let i2 = 2;
|
|
1133
|
+
while (existingNames2.has(`${baseName}-${i2}`)) {
|
|
1134
|
+
i2++;
|
|
1135
|
+
}
|
|
1136
|
+
return `${baseName}-${i2}`;
|
|
1137
|
+
}
|
|
1138
|
+
const existingNames = new Set(profiles.map((p) => p.name));
|
|
1139
|
+
let i = profiles.length + 1;
|
|
1140
|
+
while (existingNames.has(`profile-${i}`)) {
|
|
1141
|
+
i++;
|
|
1142
|
+
}
|
|
1143
|
+
return `profile-${i}`;
|
|
1144
|
+
}
|
|
1111
1145
|
async logout(profile) {
|
|
1112
1146
|
if (profile) {
|
|
1113
1147
|
await this.credentialsManager.deleteProfile(profile);
|
|
@@ -4337,7 +4371,7 @@ var _format = null, _formatLoaded = false, formatCode = async (code, filepath) =
|
|
|
4337
4371
|
`));
|
|
4338
4372
|
return code;
|
|
4339
4373
|
}
|
|
4340
|
-
}, ADK_VERSION = "1.19.0-beta.
|
|
4374
|
+
}, ADK_VERSION = "1.19.0-beta.3", relative = (from, to) => {
|
|
4341
4375
|
const fromDir = path14.dirname(from);
|
|
4342
4376
|
const relative2 = path14.relative(fromDir, to);
|
|
4343
4377
|
return relative2.startsWith(".") ? relative2 : `./${relative2}`;
|
|
@@ -4346,8 +4380,8 @@ var init_utils = () => {};
|
|
|
4346
4380
|
|
|
4347
4381
|
// dist/chat-bundle.cjs
|
|
4348
4382
|
var require_chat_bundle = __commonJS((exports, module) => {
|
|
4349
|
-
var
|
|
4350
|
-
var Xv =
|
|
4383
|
+
var z4 = (c, i) => () => (i || c((i = { exports: {} }).exports, i), i.exports);
|
|
4384
|
+
var Xv = z4((dM, Wv) => {
|
|
4351
4385
|
var Yv = __require("stream").Stream, aQ = __require("util");
|
|
4352
4386
|
Wv.exports = Yi;
|
|
4353
4387
|
function Yi() {
|
|
@@ -4409,7 +4443,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4409
4443
|
this.emit("error", Error(c));
|
|
4410
4444
|
};
|
|
4411
4445
|
});
|
|
4412
|
-
var $v =
|
|
4446
|
+
var $v = z4((_M, Hv) => {
|
|
4413
4447
|
var xQ = __require("util"), zv = __require("stream").Stream, Gv = Xv();
|
|
4414
4448
|
Hv.exports = $c;
|
|
4415
4449
|
function $c() {
|
|
@@ -4535,10 +4569,10 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4535
4569
|
this._reset(), this.emit("error", c);
|
|
4536
4570
|
};
|
|
4537
4571
|
});
|
|
4538
|
-
var qv =
|
|
4572
|
+
var qv = z4((sM, pQ) => {
|
|
4539
4573
|
pQ.exports = { "application/1d-interleaved-parityfec": { source: "iana" }, "application/3gpdash-qoe-report+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/3gpp-ims+xml": { source: "iana", compressible: true }, "application/3gpphal+json": { source: "iana", compressible: true }, "application/3gpphalforms+json": { source: "iana", compressible: true }, "application/a2l": { source: "iana" }, "application/ace+cbor": { source: "iana" }, "application/activemessage": { source: "iana" }, "application/activity+json": { source: "iana", compressible: true }, "application/alto-costmap+json": { source: "iana", compressible: true }, "application/alto-costmapfilter+json": { source: "iana", compressible: true }, "application/alto-directory+json": { source: "iana", compressible: true }, "application/alto-endpointcost+json": { source: "iana", compressible: true }, "application/alto-endpointcostparams+json": { source: "iana", compressible: true }, "application/alto-endpointprop+json": { source: "iana", compressible: true }, "application/alto-endpointpropparams+json": { source: "iana", compressible: true }, "application/alto-error+json": { source: "iana", compressible: true }, "application/alto-networkmap+json": { source: "iana", compressible: true }, "application/alto-networkmapfilter+json": { source: "iana", compressible: true }, "application/alto-updatestreamcontrol+json": { source: "iana", compressible: true }, "application/alto-updatestreamparams+json": { source: "iana", compressible: true }, "application/aml": { source: "iana" }, "application/andrew-inset": { source: "iana", extensions: ["ez"] }, "application/applefile": { source: "iana" }, "application/applixware": { source: "apache", extensions: ["aw"] }, "application/at+jwt": { source: "iana" }, "application/atf": { source: "iana" }, "application/atfx": { source: "iana" }, "application/atom+xml": { source: "iana", compressible: true, extensions: ["atom"] }, "application/atomcat+xml": { source: "iana", compressible: true, extensions: ["atomcat"] }, "application/atomdeleted+xml": { source: "iana", compressible: true, extensions: ["atomdeleted"] }, "application/atomicmail": { source: "iana" }, "application/atomsvc+xml": { source: "iana", compressible: true, extensions: ["atomsvc"] }, "application/atsc-dwd+xml": { source: "iana", compressible: true, extensions: ["dwd"] }, "application/atsc-dynamic-event-message": { source: "iana" }, "application/atsc-held+xml": { source: "iana", compressible: true, extensions: ["held"] }, "application/atsc-rdt+json": { source: "iana", compressible: true }, "application/atsc-rsat+xml": { source: "iana", compressible: true, extensions: ["rsat"] }, "application/atxml": { source: "iana" }, "application/auth-policy+xml": { source: "iana", compressible: true }, "application/bacnet-xdd+zip": { source: "iana", compressible: false }, "application/batch-smtp": { source: "iana" }, "application/bdoc": { compressible: false, extensions: ["bdoc"] }, "application/beep+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/calendar+json": { source: "iana", compressible: true }, "application/calendar+xml": { source: "iana", compressible: true, extensions: ["xcs"] }, "application/call-completion": { source: "iana" }, "application/cals-1840": { source: "iana" }, "application/captive+json": { source: "iana", compressible: true }, "application/cbor": { source: "iana" }, "application/cbor-seq": { source: "iana" }, "application/cccex": { source: "iana" }, "application/ccmp+xml": { source: "iana", compressible: true }, "application/ccxml+xml": { source: "iana", compressible: true, extensions: ["ccxml"] }, "application/cdfx+xml": { source: "iana", compressible: true, extensions: ["cdfx"] }, "application/cdmi-capability": { source: "iana", extensions: ["cdmia"] }, "application/cdmi-container": { source: "iana", extensions: ["cdmic"] }, "application/cdmi-domain": { source: "iana", extensions: ["cdmid"] }, "application/cdmi-object": { source: "iana", extensions: ["cdmio"] }, "application/cdmi-queue": { source: "iana", extensions: ["cdmiq"] }, "application/cdni": { source: "iana" }, "application/cea": { source: "iana" }, "application/cea-2018+xml": { source: "iana", compressible: true }, "application/cellml+xml": { source: "iana", compressible: true }, "application/cfw": { source: "iana" }, "application/city+json": { source: "iana", compressible: true }, "application/clr": { source: "iana" }, "application/clue+xml": { source: "iana", compressible: true }, "application/clue_info+xml": { source: "iana", compressible: true }, "application/cms": { source: "iana" }, "application/cnrp+xml": { source: "iana", compressible: true }, "application/coap-group+json": { source: "iana", compressible: true }, "application/coap-payload": { source: "iana" }, "application/commonground": { source: "iana" }, "application/conference-info+xml": { source: "iana", compressible: true }, "application/cose": { source: "iana" }, "application/cose-key": { source: "iana" }, "application/cose-key-set": { source: "iana" }, "application/cpl+xml": { source: "iana", compressible: true, extensions: ["cpl"] }, "application/csrattrs": { source: "iana" }, "application/csta+xml": { source: "iana", compressible: true }, "application/cstadata+xml": { source: "iana", compressible: true }, "application/csvm+json": { source: "iana", compressible: true }, "application/cu-seeme": { source: "apache", extensions: ["cu"] }, "application/cwt": { source: "iana" }, "application/cybercash": { source: "iana" }, "application/dart": { compressible: true }, "application/dash+xml": { source: "iana", compressible: true, extensions: ["mpd"] }, "application/dash-patch+xml": { source: "iana", compressible: true, extensions: ["mpp"] }, "application/dashdelta": { source: "iana" }, "application/davmount+xml": { source: "iana", compressible: true, extensions: ["davmount"] }, "application/dca-rft": { source: "iana" }, "application/dcd": { source: "iana" }, "application/dec-dx": { source: "iana" }, "application/dialog-info+xml": { source: "iana", compressible: true }, "application/dicom": { source: "iana" }, "application/dicom+json": { source: "iana", compressible: true }, "application/dicom+xml": { source: "iana", compressible: true }, "application/dii": { source: "iana" }, "application/dit": { source: "iana" }, "application/dns": { source: "iana" }, "application/dns+json": { source: "iana", compressible: true }, "application/dns-message": { source: "iana" }, "application/docbook+xml": { source: "apache", compressible: true, extensions: ["dbk"] }, "application/dots+cbor": { source: "iana" }, "application/dskpp+xml": { source: "iana", compressible: true }, "application/dssc+der": { source: "iana", extensions: ["dssc"] }, "application/dssc+xml": { source: "iana", compressible: true, extensions: ["xdssc"] }, "application/dvcs": { source: "iana" }, "application/ecmascript": { source: "iana", compressible: true, extensions: ["es", "ecma"] }, "application/edi-consent": { source: "iana" }, "application/edi-x12": { source: "iana", compressible: false }, "application/edifact": { source: "iana", compressible: false }, "application/efi": { source: "iana" }, "application/elm+json": { source: "iana", charset: "UTF-8", compressible: true }, "application/elm+xml": { source: "iana", compressible: true }, "application/emergencycalldata.cap+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/emergencycalldata.comment+xml": { source: "iana", compressible: true }, "application/emergencycalldata.control+xml": { source: "iana", compressible: true }, "application/emergencycalldata.deviceinfo+xml": { source: "iana", compressible: true }, "application/emergencycalldata.ecall.msd": { source: "iana" }, "application/emergencycalldata.providerinfo+xml": { source: "iana", compressible: true }, "application/emergencycalldata.serviceinfo+xml": { source: "iana", compressible: true }, "application/emergencycalldata.subscriberinfo+xml": { source: "iana", compressible: true }, "application/emergencycalldata.veds+xml": { source: "iana", compressible: true }, "application/emma+xml": { source: "iana", compressible: true, extensions: ["emma"] }, "application/emotionml+xml": { source: "iana", compressible: true, extensions: ["emotionml"] }, "application/encaprtp": { source: "iana" }, "application/epp+xml": { source: "iana", compressible: true }, "application/epub+zip": { source: "iana", compressible: false, extensions: ["epub"] }, "application/eshop": { source: "iana" }, "application/exi": { source: "iana", extensions: ["exi"] }, "application/expect-ct-report+json": { source: "iana", compressible: true }, "application/express": { source: "iana", extensions: ["exp"] }, "application/fastinfoset": { source: "iana" }, "application/fastsoap": { source: "iana" }, "application/fdt+xml": { source: "iana", compressible: true, extensions: ["fdt"] }, "application/fhir+json": { source: "iana", charset: "UTF-8", compressible: true }, "application/fhir+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/fido.trusted-apps+json": { compressible: true }, "application/fits": { source: "iana" }, "application/flexfec": { source: "iana" }, "application/font-sfnt": { source: "iana" }, "application/font-tdpfr": { source: "iana", extensions: ["pfr"] }, "application/font-woff": { source: "iana", compressible: false }, "application/framework-attributes+xml": { source: "iana", compressible: true }, "application/geo+json": { source: "iana", compressible: true, extensions: ["geojson"] }, "application/geo+json-seq": { source: "iana" }, "application/geopackage+sqlite3": { source: "iana" }, "application/geoxacml+xml": { source: "iana", compressible: true }, "application/gltf-buffer": { source: "iana" }, "application/gml+xml": { source: "iana", compressible: true, extensions: ["gml"] }, "application/gpx+xml": { source: "apache", compressible: true, extensions: ["gpx"] }, "application/gxf": { source: "apache", extensions: ["gxf"] }, "application/gzip": { source: "iana", compressible: false, extensions: ["gz"] }, "application/h224": { source: "iana" }, "application/held+xml": { source: "iana", compressible: true }, "application/hjson": { extensions: ["hjson"] }, "application/http": { source: "iana" }, "application/hyperstudio": { source: "iana", extensions: ["stk"] }, "application/ibe-key-request+xml": { source: "iana", compressible: true }, "application/ibe-pkg-reply+xml": { source: "iana", compressible: true }, "application/ibe-pp-data": { source: "iana" }, "application/iges": { source: "iana" }, "application/im-iscomposing+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/index": { source: "iana" }, "application/index.cmd": { source: "iana" }, "application/index.obj": { source: "iana" }, "application/index.response": { source: "iana" }, "application/index.vnd": { source: "iana" }, "application/inkml+xml": { source: "iana", compressible: true, extensions: ["ink", "inkml"] }, "application/iotp": { source: "iana" }, "application/ipfix": { source: "iana", extensions: ["ipfix"] }, "application/ipp": { source: "iana" }, "application/isup": { source: "iana" }, "application/its+xml": { source: "iana", compressible: true, extensions: ["its"] }, "application/java-archive": { source: "apache", compressible: false, extensions: ["jar", "war", "ear"] }, "application/java-serialized-object": { source: "apache", compressible: false, extensions: ["ser"] }, "application/java-vm": { source: "apache", compressible: false, extensions: ["class"] }, "application/javascript": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["js", "mjs"] }, "application/jf2feed+json": { source: "iana", compressible: true }, "application/jose": { source: "iana" }, "application/jose+json": { source: "iana", compressible: true }, "application/jrd+json": { source: "iana", compressible: true }, "application/jscalendar+json": { source: "iana", compressible: true }, "application/json": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["json", "map"] }, "application/json-patch+json": { source: "iana", compressible: true }, "application/json-seq": { source: "iana" }, "application/json5": { extensions: ["json5"] }, "application/jsonml+json": { source: "apache", compressible: true, extensions: ["jsonml"] }, "application/jwk+json": { source: "iana", compressible: true }, "application/jwk-set+json": { source: "iana", compressible: true }, "application/jwt": { source: "iana" }, "application/kpml-request+xml": { source: "iana", compressible: true }, "application/kpml-response+xml": { source: "iana", compressible: true }, "application/ld+json": { source: "iana", compressible: true, extensions: ["jsonld"] }, "application/lgr+xml": { source: "iana", compressible: true, extensions: ["lgr"] }, "application/link-format": { source: "iana" }, "application/load-control+xml": { source: "iana", compressible: true }, "application/lost+xml": { source: "iana", compressible: true, extensions: ["lostxml"] }, "application/lostsync+xml": { source: "iana", compressible: true }, "application/lpf+zip": { source: "iana", compressible: false }, "application/lxf": { source: "iana" }, "application/mac-binhex40": { source: "iana", extensions: ["hqx"] }, "application/mac-compactpro": { source: "apache", extensions: ["cpt"] }, "application/macwriteii": { source: "iana" }, "application/mads+xml": { source: "iana", compressible: true, extensions: ["mads"] }, "application/manifest+json": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["webmanifest"] }, "application/marc": { source: "iana", extensions: ["mrc"] }, "application/marcxml+xml": { source: "iana", compressible: true, extensions: ["mrcx"] }, "application/mathematica": { source: "iana", extensions: ["ma", "nb", "mb"] }, "application/mathml+xml": { source: "iana", compressible: true, extensions: ["mathml"] }, "application/mathml-content+xml": { source: "iana", compressible: true }, "application/mathml-presentation+xml": { source: "iana", compressible: true }, "application/mbms-associated-procedure-description+xml": { source: "iana", compressible: true }, "application/mbms-deregister+xml": { source: "iana", compressible: true }, "application/mbms-envelope+xml": { source: "iana", compressible: true }, "application/mbms-msk+xml": { source: "iana", compressible: true }, "application/mbms-msk-response+xml": { source: "iana", compressible: true }, "application/mbms-protection-description+xml": { source: "iana", compressible: true }, "application/mbms-reception-report+xml": { source: "iana", compressible: true }, "application/mbms-register+xml": { source: "iana", compressible: true }, "application/mbms-register-response+xml": { source: "iana", compressible: true }, "application/mbms-schedule+xml": { source: "iana", compressible: true }, "application/mbms-user-service-description+xml": { source: "iana", compressible: true }, "application/mbox": { source: "iana", extensions: ["mbox"] }, "application/media-policy-dataset+xml": { source: "iana", compressible: true, extensions: ["mpf"] }, "application/media_control+xml": { source: "iana", compressible: true }, "application/mediaservercontrol+xml": { source: "iana", compressible: true, extensions: ["mscml"] }, "application/merge-patch+json": { source: "iana", compressible: true }, "application/metalink+xml": { source: "apache", compressible: true, extensions: ["metalink"] }, "application/metalink4+xml": { source: "iana", compressible: true, extensions: ["meta4"] }, "application/mets+xml": { source: "iana", compressible: true, extensions: ["mets"] }, "application/mf4": { source: "iana" }, "application/mikey": { source: "iana" }, "application/mipc": { source: "iana" }, "application/missing-blocks+cbor-seq": { source: "iana" }, "application/mmt-aei+xml": { source: "iana", compressible: true, extensions: ["maei"] }, "application/mmt-usd+xml": { source: "iana", compressible: true, extensions: ["musd"] }, "application/mods+xml": { source: "iana", compressible: true, extensions: ["mods"] }, "application/moss-keys": { source: "iana" }, "application/moss-signature": { source: "iana" }, "application/mosskey-data": { source: "iana" }, "application/mosskey-request": { source: "iana" }, "application/mp21": { source: "iana", extensions: ["m21", "mp21"] }, "application/mp4": { source: "iana", extensions: ["mp4s", "m4p"] }, "application/mpeg4-generic": { source: "iana" }, "application/mpeg4-iod": { source: "iana" }, "application/mpeg4-iod-xmt": { source: "iana" }, "application/mrb-consumer+xml": { source: "iana", compressible: true }, "application/mrb-publish+xml": { source: "iana", compressible: true }, "application/msc-ivr+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/msc-mixer+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/msword": { source: "iana", compressible: false, extensions: ["doc", "dot"] }, "application/mud+json": { source: "iana", compressible: true }, "application/multipart-core": { source: "iana" }, "application/mxf": { source: "iana", extensions: ["mxf"] }, "application/n-quads": { source: "iana", extensions: ["nq"] }, "application/n-triples": { source: "iana", extensions: ["nt"] }, "application/nasdata": { source: "iana" }, "application/news-checkgroups": { source: "iana", charset: "US-ASCII" }, "application/news-groupinfo": { source: "iana", charset: "US-ASCII" }, "application/news-transmission": { source: "iana" }, "application/nlsml+xml": { source: "iana", compressible: true }, "application/node": { source: "iana", extensions: ["cjs"] }, "application/nss": { source: "iana" }, "application/oauth-authz-req+jwt": { source: "iana" }, "application/oblivious-dns-message": { source: "iana" }, "application/ocsp-request": { source: "iana" }, "application/ocsp-response": { source: "iana" }, "application/octet-stream": { source: "iana", compressible: false, extensions: ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"] }, "application/oda": { source: "iana", extensions: ["oda"] }, "application/odm+xml": { source: "iana", compressible: true }, "application/odx": { source: "iana" }, "application/oebps-package+xml": { source: "iana", compressible: true, extensions: ["opf"] }, "application/ogg": { source: "iana", compressible: false, extensions: ["ogx"] }, "application/omdoc+xml": { source: "apache", compressible: true, extensions: ["omdoc"] }, "application/onenote": { source: "apache", extensions: ["onetoc", "onetoc2", "onetmp", "onepkg"] }, "application/opc-nodeset+xml": { source: "iana", compressible: true }, "application/oscore": { source: "iana" }, "application/oxps": { source: "iana", extensions: ["oxps"] }, "application/p21": { source: "iana" }, "application/p21+zip": { source: "iana", compressible: false }, "application/p2p-overlay+xml": { source: "iana", compressible: true, extensions: ["relo"] }, "application/parityfec": { source: "iana" }, "application/passport": { source: "iana" }, "application/patch-ops-error+xml": { source: "iana", compressible: true, extensions: ["xer"] }, "application/pdf": { source: "iana", compressible: false, extensions: ["pdf"] }, "application/pdx": { source: "iana" }, "application/pem-certificate-chain": { source: "iana" }, "application/pgp-encrypted": { source: "iana", compressible: false, extensions: ["pgp"] }, "application/pgp-keys": { source: "iana", extensions: ["asc"] }, "application/pgp-signature": { source: "iana", extensions: ["asc", "sig"] }, "application/pics-rules": { source: "apache", extensions: ["prf"] }, "application/pidf+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/pidf-diff+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/pkcs10": { source: "iana", extensions: ["p10"] }, "application/pkcs12": { source: "iana" }, "application/pkcs7-mime": { source: "iana", extensions: ["p7m", "p7c"] }, "application/pkcs7-signature": { source: "iana", extensions: ["p7s"] }, "application/pkcs8": { source: "iana", extensions: ["p8"] }, "application/pkcs8-encrypted": { source: "iana" }, "application/pkix-attr-cert": { source: "iana", extensions: ["ac"] }, "application/pkix-cert": { source: "iana", extensions: ["cer"] }, "application/pkix-crl": { source: "iana", extensions: ["crl"] }, "application/pkix-pkipath": { source: "iana", extensions: ["pkipath"] }, "application/pkixcmp": { source: "iana", extensions: ["pki"] }, "application/pls+xml": { source: "iana", compressible: true, extensions: ["pls"] }, "application/poc-settings+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/postscript": { source: "iana", compressible: true, extensions: ["ai", "eps", "ps"] }, "application/ppsp-tracker+json": { source: "iana", compressible: true }, "application/problem+json": { source: "iana", compressible: true }, "application/problem+xml": { source: "iana", compressible: true }, "application/provenance+xml": { source: "iana", compressible: true, extensions: ["provx"] }, "application/prs.alvestrand.titrax-sheet": { source: "iana" }, "application/prs.cww": { source: "iana", extensions: ["cww"] }, "application/prs.cyn": { source: "iana", charset: "7-BIT" }, "application/prs.hpub+zip": { source: "iana", compressible: false }, "application/prs.nprend": { source: "iana" }, "application/prs.plucker": { source: "iana" }, "application/prs.rdf-xml-crypt": { source: "iana" }, "application/prs.xsf+xml": { source: "iana", compressible: true }, "application/pskc+xml": { source: "iana", compressible: true, extensions: ["pskcxml"] }, "application/pvd+json": { source: "iana", compressible: true }, "application/qsig": { source: "iana" }, "application/raml+yaml": { compressible: true, extensions: ["raml"] }, "application/raptorfec": { source: "iana" }, "application/rdap+json": { source: "iana", compressible: true }, "application/rdf+xml": { source: "iana", compressible: true, extensions: ["rdf", "owl"] }, "application/reginfo+xml": { source: "iana", compressible: true, extensions: ["rif"] }, "application/relax-ng-compact-syntax": { source: "iana", extensions: ["rnc"] }, "application/remote-printing": { source: "iana" }, "application/reputon+json": { source: "iana", compressible: true }, "application/resource-lists+xml": { source: "iana", compressible: true, extensions: ["rl"] }, "application/resource-lists-diff+xml": { source: "iana", compressible: true, extensions: ["rld"] }, "application/rfc+xml": { source: "iana", compressible: true }, "application/riscos": { source: "iana" }, "application/rlmi+xml": { source: "iana", compressible: true }, "application/rls-services+xml": { source: "iana", compressible: true, extensions: ["rs"] }, "application/route-apd+xml": { source: "iana", compressible: true, extensions: ["rapd"] }, "application/route-s-tsid+xml": { source: "iana", compressible: true, extensions: ["sls"] }, "application/route-usd+xml": { source: "iana", compressible: true, extensions: ["rusd"] }, "application/rpki-ghostbusters": { source: "iana", extensions: ["gbr"] }, "application/rpki-manifest": { source: "iana", extensions: ["mft"] }, "application/rpki-publication": { source: "iana" }, "application/rpki-roa": { source: "iana", extensions: ["roa"] }, "application/rpki-updown": { source: "iana" }, "application/rsd+xml": { source: "apache", compressible: true, extensions: ["rsd"] }, "application/rss+xml": { source: "apache", compressible: true, extensions: ["rss"] }, "application/rtf": { source: "iana", compressible: true, extensions: ["rtf"] }, "application/rtploopback": { source: "iana" }, "application/rtx": { source: "iana" }, "application/samlassertion+xml": { source: "iana", compressible: true }, "application/samlmetadata+xml": { source: "iana", compressible: true }, "application/sarif+json": { source: "iana", compressible: true }, "application/sarif-external-properties+json": { source: "iana", compressible: true }, "application/sbe": { source: "iana" }, "application/sbml+xml": { source: "iana", compressible: true, extensions: ["sbml"] }, "application/scaip+xml": { source: "iana", compressible: true }, "application/scim+json": { source: "iana", compressible: true }, "application/scvp-cv-request": { source: "iana", extensions: ["scq"] }, "application/scvp-cv-response": { source: "iana", extensions: ["scs"] }, "application/scvp-vp-request": { source: "iana", extensions: ["spq"] }, "application/scvp-vp-response": { source: "iana", extensions: ["spp"] }, "application/sdp": { source: "iana", extensions: ["sdp"] }, "application/secevent+jwt": { source: "iana" }, "application/senml+cbor": { source: "iana" }, "application/senml+json": { source: "iana", compressible: true }, "application/senml+xml": { source: "iana", compressible: true, extensions: ["senmlx"] }, "application/senml-etch+cbor": { source: "iana" }, "application/senml-etch+json": { source: "iana", compressible: true }, "application/senml-exi": { source: "iana" }, "application/sensml+cbor": { source: "iana" }, "application/sensml+json": { source: "iana", compressible: true }, "application/sensml+xml": { source: "iana", compressible: true, extensions: ["sensmlx"] }, "application/sensml-exi": { source: "iana" }, "application/sep+xml": { source: "iana", compressible: true }, "application/sep-exi": { source: "iana" }, "application/session-info": { source: "iana" }, "application/set-payment": { source: "iana" }, "application/set-payment-initiation": { source: "iana", extensions: ["setpay"] }, "application/set-registration": { source: "iana" }, "application/set-registration-initiation": { source: "iana", extensions: ["setreg"] }, "application/sgml": { source: "iana" }, "application/sgml-open-catalog": { source: "iana" }, "application/shf+xml": { source: "iana", compressible: true, extensions: ["shf"] }, "application/sieve": { source: "iana", extensions: ["siv", "sieve"] }, "application/simple-filter+xml": { source: "iana", compressible: true }, "application/simple-message-summary": { source: "iana" }, "application/simplesymbolcontainer": { source: "iana" }, "application/sipc": { source: "iana" }, "application/slate": { source: "iana" }, "application/smil": { source: "iana" }, "application/smil+xml": { source: "iana", compressible: true, extensions: ["smi", "smil"] }, "application/smpte336m": { source: "iana" }, "application/soap+fastinfoset": { source: "iana" }, "application/soap+xml": { source: "iana", compressible: true }, "application/sparql-query": { source: "iana", extensions: ["rq"] }, "application/sparql-results+xml": { source: "iana", compressible: true, extensions: ["srx"] }, "application/spdx+json": { source: "iana", compressible: true }, "application/spirits-event+xml": { source: "iana", compressible: true }, "application/sql": { source: "iana" }, "application/srgs": { source: "iana", extensions: ["gram"] }, "application/srgs+xml": { source: "iana", compressible: true, extensions: ["grxml"] }, "application/sru+xml": { source: "iana", compressible: true, extensions: ["sru"] }, "application/ssdl+xml": { source: "apache", compressible: true, extensions: ["ssdl"] }, "application/ssml+xml": { source: "iana", compressible: true, extensions: ["ssml"] }, "application/stix+json": { source: "iana", compressible: true }, "application/swid+xml": { source: "iana", compressible: true, extensions: ["swidtag"] }, "application/tamp-apex-update": { source: "iana" }, "application/tamp-apex-update-confirm": { source: "iana" }, "application/tamp-community-update": { source: "iana" }, "application/tamp-community-update-confirm": { source: "iana" }, "application/tamp-error": { source: "iana" }, "application/tamp-sequence-adjust": { source: "iana" }, "application/tamp-sequence-adjust-confirm": { source: "iana" }, "application/tamp-status-query": { source: "iana" }, "application/tamp-status-response": { source: "iana" }, "application/tamp-update": { source: "iana" }, "application/tamp-update-confirm": { source: "iana" }, "application/tar": { compressible: true }, "application/taxii+json": { source: "iana", compressible: true }, "application/td+json": { source: "iana", compressible: true }, "application/tei+xml": { source: "iana", compressible: true, extensions: ["tei", "teicorpus"] }, "application/tetra_isi": { source: "iana" }, "application/thraud+xml": { source: "iana", compressible: true, extensions: ["tfi"] }, "application/timestamp-query": { source: "iana" }, "application/timestamp-reply": { source: "iana" }, "application/timestamped-data": { source: "iana", extensions: ["tsd"] }, "application/tlsrpt+gzip": { source: "iana" }, "application/tlsrpt+json": { source: "iana", compressible: true }, "application/tnauthlist": { source: "iana" }, "application/token-introspection+jwt": { source: "iana" }, "application/toml": { compressible: true, extensions: ["toml"] }, "application/trickle-ice-sdpfrag": { source: "iana" }, "application/trig": { source: "iana", extensions: ["trig"] }, "application/ttml+xml": { source: "iana", compressible: true, extensions: ["ttml"] }, "application/tve-trigger": { source: "iana" }, "application/tzif": { source: "iana" }, "application/tzif-leap": { source: "iana" }, "application/ubjson": { compressible: false, extensions: ["ubj"] }, "application/ulpfec": { source: "iana" }, "application/urc-grpsheet+xml": { source: "iana", compressible: true }, "application/urc-ressheet+xml": { source: "iana", compressible: true, extensions: ["rsheet"] }, "application/urc-targetdesc+xml": { source: "iana", compressible: true, extensions: ["td"] }, "application/urc-uisocketdesc+xml": { source: "iana", compressible: true }, "application/vcard+json": { source: "iana", compressible: true }, "application/vcard+xml": { source: "iana", compressible: true }, "application/vemmi": { source: "iana" }, "application/vividence.scriptfile": { source: "apache" }, "application/vnd.1000minds.decision-model+xml": { source: "iana", compressible: true, extensions: ["1km"] }, "application/vnd.3gpp-prose+xml": { source: "iana", compressible: true }, "application/vnd.3gpp-prose-pc3ch+xml": { source: "iana", compressible: true }, "application/vnd.3gpp-v2x-local-service-information": { source: "iana" }, "application/vnd.3gpp.5gnas": { source: "iana" }, "application/vnd.3gpp.access-transfer-events+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.bsf+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.gmop+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.gtpc": { source: "iana" }, "application/vnd.3gpp.interworking-data": { source: "iana" }, "application/vnd.3gpp.lpp": { source: "iana" }, "application/vnd.3gpp.mc-signalling-ear": { source: "iana" }, "application/vnd.3gpp.mcdata-affiliation-command+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcdata-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcdata-payload": { source: "iana" }, "application/vnd.3gpp.mcdata-service-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcdata-signalling": { source: "iana" }, "application/vnd.3gpp.mcdata-ue-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcdata-user-profile+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-affiliation-command+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-floor-request+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-location-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-mbms-usage-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-service-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-signed+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-ue-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-ue-init-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcptt-user-profile+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-affiliation-command+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-affiliation-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-location-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-mbms-usage-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-service-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-transmission-request+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-ue-config+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mcvideo-user-profile+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.mid-call+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.ngap": { source: "iana" }, "application/vnd.3gpp.pfcp": { source: "iana" }, "application/vnd.3gpp.pic-bw-large": { source: "iana", extensions: ["plb"] }, "application/vnd.3gpp.pic-bw-small": { source: "iana", extensions: ["psb"] }, "application/vnd.3gpp.pic-bw-var": { source: "iana", extensions: ["pvb"] }, "application/vnd.3gpp.s1ap": { source: "iana" }, "application/vnd.3gpp.sms": { source: "iana" }, "application/vnd.3gpp.sms+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.srvcc-ext+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.srvcc-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.state-and-event-info+xml": { source: "iana", compressible: true }, "application/vnd.3gpp.ussd+xml": { source: "iana", compressible: true }, "application/vnd.3gpp2.bcmcsinfo+xml": { source: "iana", compressible: true }, "application/vnd.3gpp2.sms": { source: "iana" }, "application/vnd.3gpp2.tcap": { source: "iana", extensions: ["tcap"] }, "application/vnd.3lightssoftware.imagescal": { source: "iana" }, "application/vnd.3m.post-it-notes": { source: "iana", extensions: ["pwn"] }, "application/vnd.accpac.simply.aso": { source: "iana", extensions: ["aso"] }, "application/vnd.accpac.simply.imp": { source: "iana", extensions: ["imp"] }, "application/vnd.acucobol": { source: "iana", extensions: ["acu"] }, "application/vnd.acucorp": { source: "iana", extensions: ["atc", "acutc"] }, "application/vnd.adobe.air-application-installer-package+zip": { source: "apache", compressible: false, extensions: ["air"] }, "application/vnd.adobe.flash.movie": { source: "iana" }, "application/vnd.adobe.formscentral.fcdt": { source: "iana", extensions: ["fcdt"] }, "application/vnd.adobe.fxp": { source: "iana", extensions: ["fxp", "fxpl"] }, "application/vnd.adobe.partial-upload": { source: "iana" }, "application/vnd.adobe.xdp+xml": { source: "iana", compressible: true, extensions: ["xdp"] }, "application/vnd.adobe.xfdf": { source: "iana", extensions: ["xfdf"] }, "application/vnd.aether.imp": { source: "iana" }, "application/vnd.afpc.afplinedata": { source: "iana" }, "application/vnd.afpc.afplinedata-pagedef": { source: "iana" }, "application/vnd.afpc.cmoca-cmresource": { source: "iana" }, "application/vnd.afpc.foca-charset": { source: "iana" }, "application/vnd.afpc.foca-codedfont": { source: "iana" }, "application/vnd.afpc.foca-codepage": { source: "iana" }, "application/vnd.afpc.modca": { source: "iana" }, "application/vnd.afpc.modca-cmtable": { source: "iana" }, "application/vnd.afpc.modca-formdef": { source: "iana" }, "application/vnd.afpc.modca-mediummap": { source: "iana" }, "application/vnd.afpc.modca-objectcontainer": { source: "iana" }, "application/vnd.afpc.modca-overlay": { source: "iana" }, "application/vnd.afpc.modca-pagesegment": { source: "iana" }, "application/vnd.age": { source: "iana", extensions: ["age"] }, "application/vnd.ah-barcode": { source: "iana" }, "application/vnd.ahead.space": { source: "iana", extensions: ["ahead"] }, "application/vnd.airzip.filesecure.azf": { source: "iana", extensions: ["azf"] }, "application/vnd.airzip.filesecure.azs": { source: "iana", extensions: ["azs"] }, "application/vnd.amadeus+json": { source: "iana", compressible: true }, "application/vnd.amazon.ebook": { source: "apache", extensions: ["azw"] }, "application/vnd.amazon.mobi8-ebook": { source: "iana" }, "application/vnd.americandynamics.acc": { source: "iana", extensions: ["acc"] }, "application/vnd.amiga.ami": { source: "iana", extensions: ["ami"] }, "application/vnd.amundsen.maze+xml": { source: "iana", compressible: true }, "application/vnd.android.ota": { source: "iana" }, "application/vnd.android.package-archive": { source: "apache", compressible: false, extensions: ["apk"] }, "application/vnd.anki": { source: "iana" }, "application/vnd.anser-web-certificate-issue-initiation": { source: "iana", extensions: ["cii"] }, "application/vnd.anser-web-funds-transfer-initiation": { source: "apache", extensions: ["fti"] }, "application/vnd.antix.game-component": { source: "iana", extensions: ["atx"] }, "application/vnd.apache.arrow.file": { source: "iana" }, "application/vnd.apache.arrow.stream": { source: "iana" }, "application/vnd.apache.thrift.binary": { source: "iana" }, "application/vnd.apache.thrift.compact": { source: "iana" }, "application/vnd.apache.thrift.json": { source: "iana" }, "application/vnd.api+json": { source: "iana", compressible: true }, "application/vnd.aplextor.warrp+json": { source: "iana", compressible: true }, "application/vnd.apothekende.reservation+json": { source: "iana", compressible: true }, "application/vnd.apple.installer+xml": { source: "iana", compressible: true, extensions: ["mpkg"] }, "application/vnd.apple.keynote": { source: "iana", extensions: ["key"] }, "application/vnd.apple.mpegurl": { source: "iana", extensions: ["m3u8"] }, "application/vnd.apple.numbers": { source: "iana", extensions: ["numbers"] }, "application/vnd.apple.pages": { source: "iana", extensions: ["pages"] }, "application/vnd.apple.pkpass": { compressible: false, extensions: ["pkpass"] }, "application/vnd.arastra.swi": { source: "iana" }, "application/vnd.aristanetworks.swi": { source: "iana", extensions: ["swi"] }, "application/vnd.artisan+json": { source: "iana", compressible: true }, "application/vnd.artsquare": { source: "iana" }, "application/vnd.astraea-software.iota": { source: "iana", extensions: ["iota"] }, "application/vnd.audiograph": { source: "iana", extensions: ["aep"] }, "application/vnd.autopackage": { source: "iana" }, "application/vnd.avalon+json": { source: "iana", compressible: true }, "application/vnd.avistar+xml": { source: "iana", compressible: true }, "application/vnd.balsamiq.bmml+xml": { source: "iana", compressible: true, extensions: ["bmml"] }, "application/vnd.balsamiq.bmpr": { source: "iana" }, "application/vnd.banana-accounting": { source: "iana" }, "application/vnd.bbf.usp.error": { source: "iana" }, "application/vnd.bbf.usp.msg": { source: "iana" }, "application/vnd.bbf.usp.msg+json": { source: "iana", compressible: true }, "application/vnd.bekitzur-stech+json": { source: "iana", compressible: true }, "application/vnd.bint.med-content": { source: "iana" }, "application/vnd.biopax.rdf+xml": { source: "iana", compressible: true }, "application/vnd.blink-idb-value-wrapper": { source: "iana" }, "application/vnd.blueice.multipass": { source: "iana", extensions: ["mpm"] }, "application/vnd.bluetooth.ep.oob": { source: "iana" }, "application/vnd.bluetooth.le.oob": { source: "iana" }, "application/vnd.bmi": { source: "iana", extensions: ["bmi"] }, "application/vnd.bpf": { source: "iana" }, "application/vnd.bpf3": { source: "iana" }, "application/vnd.businessobjects": { source: "iana", extensions: ["rep"] }, "application/vnd.byu.uapi+json": { source: "iana", compressible: true }, "application/vnd.cab-jscript": { source: "iana" }, "application/vnd.canon-cpdl": { source: "iana" }, "application/vnd.canon-lips": { source: "iana" }, "application/vnd.capasystems-pg+json": { source: "iana", compressible: true }, "application/vnd.cendio.thinlinc.clientconf": { source: "iana" }, "application/vnd.century-systems.tcp_stream": { source: "iana" }, "application/vnd.chemdraw+xml": { source: "iana", compressible: true, extensions: ["cdxml"] }, "application/vnd.chess-pgn": { source: "iana" }, "application/vnd.chipnuts.karaoke-mmd": { source: "iana", extensions: ["mmd"] }, "application/vnd.ciedi": { source: "iana" }, "application/vnd.cinderella": { source: "iana", extensions: ["cdy"] }, "application/vnd.cirpack.isdn-ext": { source: "iana" }, "application/vnd.citationstyles.style+xml": { source: "iana", compressible: true, extensions: ["csl"] }, "application/vnd.claymore": { source: "iana", extensions: ["cla"] }, "application/vnd.cloanto.rp9": { source: "iana", extensions: ["rp9"] }, "application/vnd.clonk.c4group": { source: "iana", extensions: ["c4g", "c4d", "c4f", "c4p", "c4u"] }, "application/vnd.cluetrust.cartomobile-config": { source: "iana", extensions: ["c11amc"] }, "application/vnd.cluetrust.cartomobile-config-pkg": { source: "iana", extensions: ["c11amz"] }, "application/vnd.coffeescript": { source: "iana" }, "application/vnd.collabio.xodocuments.document": { source: "iana" }, "application/vnd.collabio.xodocuments.document-template": { source: "iana" }, "application/vnd.collabio.xodocuments.presentation": { source: "iana" }, "application/vnd.collabio.xodocuments.presentation-template": { source: "iana" }, "application/vnd.collabio.xodocuments.spreadsheet": { source: "iana" }, "application/vnd.collabio.xodocuments.spreadsheet-template": { source: "iana" }, "application/vnd.collection+json": { source: "iana", compressible: true }, "application/vnd.collection.doc+json": { source: "iana", compressible: true }, "application/vnd.collection.next+json": { source: "iana", compressible: true }, "application/vnd.comicbook+zip": { source: "iana", compressible: false }, "application/vnd.comicbook-rar": { source: "iana" }, "application/vnd.commerce-battelle": { source: "iana" }, "application/vnd.commonspace": { source: "iana", extensions: ["csp"] }, "application/vnd.contact.cmsg": { source: "iana", extensions: ["cdbcmsg"] }, "application/vnd.coreos.ignition+json": { source: "iana", compressible: true }, "application/vnd.cosmocaller": { source: "iana", extensions: ["cmc"] }, "application/vnd.crick.clicker": { source: "iana", extensions: ["clkx"] }, "application/vnd.crick.clicker.keyboard": { source: "iana", extensions: ["clkk"] }, "application/vnd.crick.clicker.palette": { source: "iana", extensions: ["clkp"] }, "application/vnd.crick.clicker.template": { source: "iana", extensions: ["clkt"] }, "application/vnd.crick.clicker.wordbank": { source: "iana", extensions: ["clkw"] }, "application/vnd.criticaltools.wbs+xml": { source: "iana", compressible: true, extensions: ["wbs"] }, "application/vnd.cryptii.pipe+json": { source: "iana", compressible: true }, "application/vnd.crypto-shade-file": { source: "iana" }, "application/vnd.cryptomator.encrypted": { source: "iana" }, "application/vnd.cryptomator.vault": { source: "iana" }, "application/vnd.ctc-posml": { source: "iana", extensions: ["pml"] }, "application/vnd.ctct.ws+xml": { source: "iana", compressible: true }, "application/vnd.cups-pdf": { source: "iana" }, "application/vnd.cups-postscript": { source: "iana" }, "application/vnd.cups-ppd": { source: "iana", extensions: ["ppd"] }, "application/vnd.cups-raster": { source: "iana" }, "application/vnd.cups-raw": { source: "iana" }, "application/vnd.curl": { source: "iana" }, "application/vnd.curl.car": { source: "apache", extensions: ["car"] }, "application/vnd.curl.pcurl": { source: "apache", extensions: ["pcurl"] }, "application/vnd.cyan.dean.root+xml": { source: "iana", compressible: true }, "application/vnd.cybank": { source: "iana" }, "application/vnd.cyclonedx+json": { source: "iana", compressible: true }, "application/vnd.cyclonedx+xml": { source: "iana", compressible: true }, "application/vnd.d2l.coursepackage1p0+zip": { source: "iana", compressible: false }, "application/vnd.d3m-dataset": { source: "iana" }, "application/vnd.d3m-problem": { source: "iana" }, "application/vnd.dart": { source: "iana", compressible: true, extensions: ["dart"] }, "application/vnd.data-vision.rdz": { source: "iana", extensions: ["rdz"] }, "application/vnd.datapackage+json": { source: "iana", compressible: true }, "application/vnd.dataresource+json": { source: "iana", compressible: true }, "application/vnd.dbf": { source: "iana", extensions: ["dbf"] }, "application/vnd.debian.binary-package": { source: "iana" }, "application/vnd.dece.data": { source: "iana", extensions: ["uvf", "uvvf", "uvd", "uvvd"] }, "application/vnd.dece.ttml+xml": { source: "iana", compressible: true, extensions: ["uvt", "uvvt"] }, "application/vnd.dece.unspecified": { source: "iana", extensions: ["uvx", "uvvx"] }, "application/vnd.dece.zip": { source: "iana", extensions: ["uvz", "uvvz"] }, "application/vnd.denovo.fcselayout-link": { source: "iana", extensions: ["fe_launch"] }, "application/vnd.desmume.movie": { source: "iana" }, "application/vnd.dir-bi.plate-dl-nosuffix": { source: "iana" }, "application/vnd.dm.delegation+xml": { source: "iana", compressible: true }, "application/vnd.dna": { source: "iana", extensions: ["dna"] }, "application/vnd.document+json": { source: "iana", compressible: true }, "application/vnd.dolby.mlp": { source: "apache", extensions: ["mlp"] }, "application/vnd.dolby.mobile.1": { source: "iana" }, "application/vnd.dolby.mobile.2": { source: "iana" }, "application/vnd.doremir.scorecloud-binary-document": { source: "iana" }, "application/vnd.dpgraph": { source: "iana", extensions: ["dpg"] }, "application/vnd.dreamfactory": { source: "iana", extensions: ["dfac"] }, "application/vnd.drive+json": { source: "iana", compressible: true }, "application/vnd.ds-keypoint": { source: "apache", extensions: ["kpxx"] }, "application/vnd.dtg.local": { source: "iana" }, "application/vnd.dtg.local.flash": { source: "iana" }, "application/vnd.dtg.local.html": { source: "iana" }, "application/vnd.dvb.ait": { source: "iana", extensions: ["ait"] }, "application/vnd.dvb.dvbisl+xml": { source: "iana", compressible: true }, "application/vnd.dvb.dvbj": { source: "iana" }, "application/vnd.dvb.esgcontainer": { source: "iana" }, "application/vnd.dvb.ipdcdftnotifaccess": { source: "iana" }, "application/vnd.dvb.ipdcesgaccess": { source: "iana" }, "application/vnd.dvb.ipdcesgaccess2": { source: "iana" }, "application/vnd.dvb.ipdcesgpdd": { source: "iana" }, "application/vnd.dvb.ipdcroaming": { source: "iana" }, "application/vnd.dvb.iptv.alfec-base": { source: "iana" }, "application/vnd.dvb.iptv.alfec-enhancement": { source: "iana" }, "application/vnd.dvb.notif-aggregate-root+xml": { source: "iana", compressible: true }, "application/vnd.dvb.notif-container+xml": { source: "iana", compressible: true }, "application/vnd.dvb.notif-generic+xml": { source: "iana", compressible: true }, "application/vnd.dvb.notif-ia-msglist+xml": { source: "iana", compressible: true }, "application/vnd.dvb.notif-ia-registration-request+xml": { source: "iana", compressible: true }, "application/vnd.dvb.notif-ia-registration-response+xml": { source: "iana", compressible: true }, "application/vnd.dvb.notif-init+xml": { source: "iana", compressible: true }, "application/vnd.dvb.pfr": { source: "iana" }, "application/vnd.dvb.service": { source: "iana", extensions: ["svc"] }, "application/vnd.dxr": { source: "iana" }, "application/vnd.dynageo": { source: "iana", extensions: ["geo"] }, "application/vnd.dzr": { source: "iana" }, "application/vnd.easykaraoke.cdgdownload": { source: "iana" }, "application/vnd.ecdis-update": { source: "iana" }, "application/vnd.ecip.rlp": { source: "iana" }, "application/vnd.eclipse.ditto+json": { source: "iana", compressible: true }, "application/vnd.ecowin.chart": { source: "iana", extensions: ["mag"] }, "application/vnd.ecowin.filerequest": { source: "iana" }, "application/vnd.ecowin.fileupdate": { source: "iana" }, "application/vnd.ecowin.series": { source: "iana" }, "application/vnd.ecowin.seriesrequest": { source: "iana" }, "application/vnd.ecowin.seriesupdate": { source: "iana" }, "application/vnd.efi.img": { source: "iana" }, "application/vnd.efi.iso": { source: "iana" }, "application/vnd.emclient.accessrequest+xml": { source: "iana", compressible: true }, "application/vnd.enliven": { source: "iana", extensions: ["nml"] }, "application/vnd.enphase.envoy": { source: "iana" }, "application/vnd.eprints.data+xml": { source: "iana", compressible: true }, "application/vnd.epson.esf": { source: "iana", extensions: ["esf"] }, "application/vnd.epson.msf": { source: "iana", extensions: ["msf"] }, "application/vnd.epson.quickanime": { source: "iana", extensions: ["qam"] }, "application/vnd.epson.salt": { source: "iana", extensions: ["slt"] }, "application/vnd.epson.ssf": { source: "iana", extensions: ["ssf"] }, "application/vnd.ericsson.quickcall": { source: "iana" }, "application/vnd.espass-espass+zip": { source: "iana", compressible: false }, "application/vnd.eszigno3+xml": { source: "iana", compressible: true, extensions: ["es3", "et3"] }, "application/vnd.etsi.aoc+xml": { source: "iana", compressible: true }, "application/vnd.etsi.asic-e+zip": { source: "iana", compressible: false }, "application/vnd.etsi.asic-s+zip": { source: "iana", compressible: false }, "application/vnd.etsi.cug+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvcommand+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvdiscovery+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvprofile+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvsad-bc+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvsad-cod+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvsad-npvr+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvservice+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvsync+xml": { source: "iana", compressible: true }, "application/vnd.etsi.iptvueprofile+xml": { source: "iana", compressible: true }, "application/vnd.etsi.mcid+xml": { source: "iana", compressible: true }, "application/vnd.etsi.mheg5": { source: "iana" }, "application/vnd.etsi.overload-control-policy-dataset+xml": { source: "iana", compressible: true }, "application/vnd.etsi.pstn+xml": { source: "iana", compressible: true }, "application/vnd.etsi.sci+xml": { source: "iana", compressible: true }, "application/vnd.etsi.simservs+xml": { source: "iana", compressible: true }, "application/vnd.etsi.timestamp-token": { source: "iana" }, "application/vnd.etsi.tsl+xml": { source: "iana", compressible: true }, "application/vnd.etsi.tsl.der": { source: "iana" }, "application/vnd.eu.kasparian.car+json": { source: "iana", compressible: true }, "application/vnd.eudora.data": { source: "iana" }, "application/vnd.evolv.ecig.profile": { source: "iana" }, "application/vnd.evolv.ecig.settings": { source: "iana" }, "application/vnd.evolv.ecig.theme": { source: "iana" }, "application/vnd.exstream-empower+zip": { source: "iana", compressible: false }, "application/vnd.exstream-package": { source: "iana" }, "application/vnd.ezpix-album": { source: "iana", extensions: ["ez2"] }, "application/vnd.ezpix-package": { source: "iana", extensions: ["ez3"] }, "application/vnd.f-secure.mobile": { source: "iana" }, "application/vnd.familysearch.gedcom+zip": { source: "iana", compressible: false }, "application/vnd.fastcopy-disk-image": { source: "iana" }, "application/vnd.fdf": { source: "iana", extensions: ["fdf"] }, "application/vnd.fdsn.mseed": { source: "iana", extensions: ["mseed"] }, "application/vnd.fdsn.seed": { source: "iana", extensions: ["seed", "dataless"] }, "application/vnd.ffsns": { source: "iana" }, "application/vnd.ficlab.flb+zip": { source: "iana", compressible: false }, "application/vnd.filmit.zfc": { source: "iana" }, "application/vnd.fints": { source: "iana" }, "application/vnd.firemonkeys.cloudcell": { source: "iana" }, "application/vnd.flographit": { source: "iana", extensions: ["gph"] }, "application/vnd.fluxtime.clip": { source: "iana", extensions: ["ftc"] }, "application/vnd.font-fontforge-sfd": { source: "iana" }, "application/vnd.framemaker": { source: "iana", extensions: ["fm", "frame", "maker", "book"] }, "application/vnd.frogans.fnc": { source: "iana", extensions: ["fnc"] }, "application/vnd.frogans.ltf": { source: "iana", extensions: ["ltf"] }, "application/vnd.fsc.weblaunch": { source: "iana", extensions: ["fsc"] }, "application/vnd.fujifilm.fb.docuworks": { source: "iana" }, "application/vnd.fujifilm.fb.docuworks.binder": { source: "iana" }, "application/vnd.fujifilm.fb.docuworks.container": { source: "iana" }, "application/vnd.fujifilm.fb.jfi+xml": { source: "iana", compressible: true }, "application/vnd.fujitsu.oasys": { source: "iana", extensions: ["oas"] }, "application/vnd.fujitsu.oasys2": { source: "iana", extensions: ["oa2"] }, "application/vnd.fujitsu.oasys3": { source: "iana", extensions: ["oa3"] }, "application/vnd.fujitsu.oasysgp": { source: "iana", extensions: ["fg5"] }, "application/vnd.fujitsu.oasysprs": { source: "iana", extensions: ["bh2"] }, "application/vnd.fujixerox.art-ex": { source: "iana" }, "application/vnd.fujixerox.art4": { source: "iana" }, "application/vnd.fujixerox.ddd": { source: "iana", extensions: ["ddd"] }, "application/vnd.fujixerox.docuworks": { source: "iana", extensions: ["xdw"] }, "application/vnd.fujixerox.docuworks.binder": { source: "iana", extensions: ["xbd"] }, "application/vnd.fujixerox.docuworks.container": { source: "iana" }, "application/vnd.fujixerox.hbpl": { source: "iana" }, "application/vnd.fut-misnet": { source: "iana" }, "application/vnd.futoin+cbor": { source: "iana" }, "application/vnd.futoin+json": { source: "iana", compressible: true }, "application/vnd.fuzzysheet": { source: "iana", extensions: ["fzs"] }, "application/vnd.genomatix.tuxedo": { source: "iana", extensions: ["txd"] }, "application/vnd.gentics.grd+json": { source: "iana", compressible: true }, "application/vnd.geo+json": { source: "iana", compressible: true }, "application/vnd.geocube+xml": { source: "iana", compressible: true }, "application/vnd.geogebra.file": { source: "iana", extensions: ["ggb"] }, "application/vnd.geogebra.slides": { source: "iana" }, "application/vnd.geogebra.tool": { source: "iana", extensions: ["ggt"] }, "application/vnd.geometry-explorer": { source: "iana", extensions: ["gex", "gre"] }, "application/vnd.geonext": { source: "iana", extensions: ["gxt"] }, "application/vnd.geoplan": { source: "iana", extensions: ["g2w"] }, "application/vnd.geospace": { source: "iana", extensions: ["g3w"] }, "application/vnd.gerber": { source: "iana" }, "application/vnd.globalplatform.card-content-mgt": { source: "iana" }, "application/vnd.globalplatform.card-content-mgt-response": { source: "iana" }, "application/vnd.gmx": { source: "iana", extensions: ["gmx"] }, "application/vnd.google-apps.document": { compressible: false, extensions: ["gdoc"] }, "application/vnd.google-apps.presentation": { compressible: false, extensions: ["gslides"] }, "application/vnd.google-apps.spreadsheet": { compressible: false, extensions: ["gsheet"] }, "application/vnd.google-earth.kml+xml": { source: "iana", compressible: true, extensions: ["kml"] }, "application/vnd.google-earth.kmz": { source: "iana", compressible: false, extensions: ["kmz"] }, "application/vnd.gov.sk.e-form+xml": { source: "iana", compressible: true }, "application/vnd.gov.sk.e-form+zip": { source: "iana", compressible: false }, "application/vnd.gov.sk.xmldatacontainer+xml": { source: "iana", compressible: true }, "application/vnd.grafeq": { source: "iana", extensions: ["gqf", "gqs"] }, "application/vnd.gridmp": { source: "iana" }, "application/vnd.groove-account": { source: "iana", extensions: ["gac"] }, "application/vnd.groove-help": { source: "iana", extensions: ["ghf"] }, "application/vnd.groove-identity-message": { source: "iana", extensions: ["gim"] }, "application/vnd.groove-injector": { source: "iana", extensions: ["grv"] }, "application/vnd.groove-tool-message": { source: "iana", extensions: ["gtm"] }, "application/vnd.groove-tool-template": { source: "iana", extensions: ["tpl"] }, "application/vnd.groove-vcard": { source: "iana", extensions: ["vcg"] }, "application/vnd.hal+json": { source: "iana", compressible: true }, "application/vnd.hal+xml": { source: "iana", compressible: true, extensions: ["hal"] }, "application/vnd.handheld-entertainment+xml": { source: "iana", compressible: true, extensions: ["zmm"] }, "application/vnd.hbci": { source: "iana", extensions: ["hbci"] }, "application/vnd.hc+json": { source: "iana", compressible: true }, "application/vnd.hcl-bireports": { source: "iana" }, "application/vnd.hdt": { source: "iana" }, "application/vnd.heroku+json": { source: "iana", compressible: true }, "application/vnd.hhe.lesson-player": { source: "iana", extensions: ["les"] }, "application/vnd.hl7cda+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/vnd.hl7v2+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/vnd.hp-hpgl": { source: "iana", extensions: ["hpgl"] }, "application/vnd.hp-hpid": { source: "iana", extensions: ["hpid"] }, "application/vnd.hp-hps": { source: "iana", extensions: ["hps"] }, "application/vnd.hp-jlyt": { source: "iana", extensions: ["jlt"] }, "application/vnd.hp-pcl": { source: "iana", extensions: ["pcl"] }, "application/vnd.hp-pclxl": { source: "iana", extensions: ["pclxl"] }, "application/vnd.httphone": { source: "iana" }, "application/vnd.hydrostatix.sof-data": { source: "iana", extensions: ["sfd-hdstx"] }, "application/vnd.hyper+json": { source: "iana", compressible: true }, "application/vnd.hyper-item+json": { source: "iana", compressible: true }, "application/vnd.hyperdrive+json": { source: "iana", compressible: true }, "application/vnd.hzn-3d-crossword": { source: "iana" }, "application/vnd.ibm.afplinedata": { source: "iana" }, "application/vnd.ibm.electronic-media": { source: "iana" }, "application/vnd.ibm.minipay": { source: "iana", extensions: ["mpy"] }, "application/vnd.ibm.modcap": { source: "iana", extensions: ["afp", "listafp", "list3820"] }, "application/vnd.ibm.rights-management": { source: "iana", extensions: ["irm"] }, "application/vnd.ibm.secure-container": { source: "iana", extensions: ["sc"] }, "application/vnd.iccprofile": { source: "iana", extensions: ["icc", "icm"] }, "application/vnd.ieee.1905": { source: "iana" }, "application/vnd.igloader": { source: "iana", extensions: ["igl"] }, "application/vnd.imagemeter.folder+zip": { source: "iana", compressible: false }, "application/vnd.imagemeter.image+zip": { source: "iana", compressible: false }, "application/vnd.immervision-ivp": { source: "iana", extensions: ["ivp"] }, "application/vnd.immervision-ivu": { source: "iana", extensions: ["ivu"] }, "application/vnd.ims.imsccv1p1": { source: "iana" }, "application/vnd.ims.imsccv1p2": { source: "iana" }, "application/vnd.ims.imsccv1p3": { source: "iana" }, "application/vnd.ims.lis.v2.result+json": { source: "iana", compressible: true }, "application/vnd.ims.lti.v2.toolconsumerprofile+json": { source: "iana", compressible: true }, "application/vnd.ims.lti.v2.toolproxy+json": { source: "iana", compressible: true }, "application/vnd.ims.lti.v2.toolproxy.id+json": { source: "iana", compressible: true }, "application/vnd.ims.lti.v2.toolsettings+json": { source: "iana", compressible: true }, "application/vnd.ims.lti.v2.toolsettings.simple+json": { source: "iana", compressible: true }, "application/vnd.informedcontrol.rms+xml": { source: "iana", compressible: true }, "application/vnd.informix-visionary": { source: "iana" }, "application/vnd.infotech.project": { source: "iana" }, "application/vnd.infotech.project+xml": { source: "iana", compressible: true }, "application/vnd.innopath.wamp.notification": { source: "iana" }, "application/vnd.insors.igm": { source: "iana", extensions: ["igm"] }, "application/vnd.intercon.formnet": { source: "iana", extensions: ["xpw", "xpx"] }, "application/vnd.intergeo": { source: "iana", extensions: ["i2g"] }, "application/vnd.intertrust.digibox": { source: "iana" }, "application/vnd.intertrust.nncp": { source: "iana" }, "application/vnd.intu.qbo": { source: "iana", extensions: ["qbo"] }, "application/vnd.intu.qfx": { source: "iana", extensions: ["qfx"] }, "application/vnd.iptc.g2.catalogitem+xml": { source: "iana", compressible: true }, "application/vnd.iptc.g2.conceptitem+xml": { source: "iana", compressible: true }, "application/vnd.iptc.g2.knowledgeitem+xml": { source: "iana", compressible: true }, "application/vnd.iptc.g2.newsitem+xml": { source: "iana", compressible: true }, "application/vnd.iptc.g2.newsmessage+xml": { source: "iana", compressible: true }, "application/vnd.iptc.g2.packageitem+xml": { source: "iana", compressible: true }, "application/vnd.iptc.g2.planningitem+xml": { source: "iana", compressible: true }, "application/vnd.ipunplugged.rcprofile": { source: "iana", extensions: ["rcprofile"] }, "application/vnd.irepository.package+xml": { source: "iana", compressible: true, extensions: ["irp"] }, "application/vnd.is-xpr": { source: "iana", extensions: ["xpr"] }, "application/vnd.isac.fcs": { source: "iana", extensions: ["fcs"] }, "application/vnd.iso11783-10+zip": { source: "iana", compressible: false }, "application/vnd.jam": { source: "iana", extensions: ["jam"] }, "application/vnd.japannet-directory-service": { source: "iana" }, "application/vnd.japannet-jpnstore-wakeup": { source: "iana" }, "application/vnd.japannet-payment-wakeup": { source: "iana" }, "application/vnd.japannet-registration": { source: "iana" }, "application/vnd.japannet-registration-wakeup": { source: "iana" }, "application/vnd.japannet-setstore-wakeup": { source: "iana" }, "application/vnd.japannet-verification": { source: "iana" }, "application/vnd.japannet-verification-wakeup": { source: "iana" }, "application/vnd.jcp.javame.midlet-rms": { source: "iana", extensions: ["rms"] }, "application/vnd.jisp": { source: "iana", extensions: ["jisp"] }, "application/vnd.joost.joda-archive": { source: "iana", extensions: ["joda"] }, "application/vnd.jsk.isdn-ngn": { source: "iana" }, "application/vnd.kahootz": { source: "iana", extensions: ["ktz", "ktr"] }, "application/vnd.kde.karbon": { source: "iana", extensions: ["karbon"] }, "application/vnd.kde.kchart": { source: "iana", extensions: ["chrt"] }, "application/vnd.kde.kformula": { source: "iana", extensions: ["kfo"] }, "application/vnd.kde.kivio": { source: "iana", extensions: ["flw"] }, "application/vnd.kde.kontour": { source: "iana", extensions: ["kon"] }, "application/vnd.kde.kpresenter": { source: "iana", extensions: ["kpr", "kpt"] }, "application/vnd.kde.kspread": { source: "iana", extensions: ["ksp"] }, "application/vnd.kde.kword": { source: "iana", extensions: ["kwd", "kwt"] }, "application/vnd.kenameaapp": { source: "iana", extensions: ["htke"] }, "application/vnd.kidspiration": { source: "iana", extensions: ["kia"] }, "application/vnd.kinar": { source: "iana", extensions: ["kne", "knp"] }, "application/vnd.koan": { source: "iana", extensions: ["skp", "skd", "skt", "skm"] }, "application/vnd.kodak-descriptor": { source: "iana", extensions: ["sse"] }, "application/vnd.las": { source: "iana" }, "application/vnd.las.las+json": { source: "iana", compressible: true }, "application/vnd.las.las+xml": { source: "iana", compressible: true, extensions: ["lasxml"] }, "application/vnd.laszip": { source: "iana" }, "application/vnd.leap+json": { source: "iana", compressible: true }, "application/vnd.liberty-request+xml": { source: "iana", compressible: true }, "application/vnd.llamagraphics.life-balance.desktop": { source: "iana", extensions: ["lbd"] }, "application/vnd.llamagraphics.life-balance.exchange+xml": { source: "iana", compressible: true, extensions: ["lbe"] }, "application/vnd.logipipe.circuit+zip": { source: "iana", compressible: false }, "application/vnd.loom": { source: "iana" }, "application/vnd.lotus-1-2-3": { source: "iana", extensions: ["123"] }, "application/vnd.lotus-approach": { source: "iana", extensions: ["apr"] }, "application/vnd.lotus-freelance": { source: "iana", extensions: ["pre"] }, "application/vnd.lotus-notes": { source: "iana", extensions: ["nsf"] }, "application/vnd.lotus-organizer": { source: "iana", extensions: ["org"] }, "application/vnd.lotus-screencam": { source: "iana", extensions: ["scm"] }, "application/vnd.lotus-wordpro": { source: "iana", extensions: ["lwp"] }, "application/vnd.macports.portpkg": { source: "iana", extensions: ["portpkg"] }, "application/vnd.mapbox-vector-tile": { source: "iana", extensions: ["mvt"] }, "application/vnd.marlin.drm.actiontoken+xml": { source: "iana", compressible: true }, "application/vnd.marlin.drm.conftoken+xml": { source: "iana", compressible: true }, "application/vnd.marlin.drm.license+xml": { source: "iana", compressible: true }, "application/vnd.marlin.drm.mdcf": { source: "iana" }, "application/vnd.mason+json": { source: "iana", compressible: true }, "application/vnd.maxar.archive.3tz+zip": { source: "iana", compressible: false }, "application/vnd.maxmind.maxmind-db": { source: "iana" }, "application/vnd.mcd": { source: "iana", extensions: ["mcd"] }, "application/vnd.medcalcdata": { source: "iana", extensions: ["mc1"] }, "application/vnd.mediastation.cdkey": { source: "iana", extensions: ["cdkey"] }, "application/vnd.meridian-slingshot": { source: "iana" }, "application/vnd.mfer": { source: "iana", extensions: ["mwf"] }, "application/vnd.mfmp": { source: "iana", extensions: ["mfm"] }, "application/vnd.micro+json": { source: "iana", compressible: true }, "application/vnd.micrografx.flo": { source: "iana", extensions: ["flo"] }, "application/vnd.micrografx.igx": { source: "iana", extensions: ["igx"] }, "application/vnd.microsoft.portable-executable": { source: "iana" }, "application/vnd.microsoft.windows.thumbnail-cache": { source: "iana" }, "application/vnd.miele+json": { source: "iana", compressible: true }, "application/vnd.mif": { source: "iana", extensions: ["mif"] }, "application/vnd.minisoft-hp3000-save": { source: "iana" }, "application/vnd.mitsubishi.misty-guard.trustweb": { source: "iana" }, "application/vnd.mobius.daf": { source: "iana", extensions: ["daf"] }, "application/vnd.mobius.dis": { source: "iana", extensions: ["dis"] }, "application/vnd.mobius.mbk": { source: "iana", extensions: ["mbk"] }, "application/vnd.mobius.mqy": { source: "iana", extensions: ["mqy"] }, "application/vnd.mobius.msl": { source: "iana", extensions: ["msl"] }, "application/vnd.mobius.plc": { source: "iana", extensions: ["plc"] }, "application/vnd.mobius.txf": { source: "iana", extensions: ["txf"] }, "application/vnd.mophun.application": { source: "iana", extensions: ["mpn"] }, "application/vnd.mophun.certificate": { source: "iana", extensions: ["mpc"] }, "application/vnd.motorola.flexsuite": { source: "iana" }, "application/vnd.motorola.flexsuite.adsi": { source: "iana" }, "application/vnd.motorola.flexsuite.fis": { source: "iana" }, "application/vnd.motorola.flexsuite.gotap": { source: "iana" }, "application/vnd.motorola.flexsuite.kmr": { source: "iana" }, "application/vnd.motorola.flexsuite.ttc": { source: "iana" }, "application/vnd.motorola.flexsuite.wem": { source: "iana" }, "application/vnd.motorola.iprm": { source: "iana" }, "application/vnd.mozilla.xul+xml": { source: "iana", compressible: true, extensions: ["xul"] }, "application/vnd.ms-3mfdocument": { source: "iana" }, "application/vnd.ms-artgalry": { source: "iana", extensions: ["cil"] }, "application/vnd.ms-asf": { source: "iana" }, "application/vnd.ms-cab-compressed": { source: "iana", extensions: ["cab"] }, "application/vnd.ms-color.iccprofile": { source: "apache" }, "application/vnd.ms-excel": { source: "iana", compressible: false, extensions: ["xls", "xlm", "xla", "xlc", "xlt", "xlw"] }, "application/vnd.ms-excel.addin.macroenabled.12": { source: "iana", extensions: ["xlam"] }, "application/vnd.ms-excel.sheet.binary.macroenabled.12": { source: "iana", extensions: ["xlsb"] }, "application/vnd.ms-excel.sheet.macroenabled.12": { source: "iana", extensions: ["xlsm"] }, "application/vnd.ms-excel.template.macroenabled.12": { source: "iana", extensions: ["xltm"] }, "application/vnd.ms-fontobject": { source: "iana", compressible: true, extensions: ["eot"] }, "application/vnd.ms-htmlhelp": { source: "iana", extensions: ["chm"] }, "application/vnd.ms-ims": { source: "iana", extensions: ["ims"] }, "application/vnd.ms-lrm": { source: "iana", extensions: ["lrm"] }, "application/vnd.ms-office.activex+xml": { source: "iana", compressible: true }, "application/vnd.ms-officetheme": { source: "iana", extensions: ["thmx"] }, "application/vnd.ms-opentype": { source: "apache", compressible: true }, "application/vnd.ms-outlook": { compressible: false, extensions: ["msg"] }, "application/vnd.ms-package.obfuscated-opentype": { source: "apache" }, "application/vnd.ms-pki.seccat": { source: "apache", extensions: ["cat"] }, "application/vnd.ms-pki.stl": { source: "apache", extensions: ["stl"] }, "application/vnd.ms-playready.initiator+xml": { source: "iana", compressible: true }, "application/vnd.ms-powerpoint": { source: "iana", compressible: false, extensions: ["ppt", "pps", "pot"] }, "application/vnd.ms-powerpoint.addin.macroenabled.12": { source: "iana", extensions: ["ppam"] }, "application/vnd.ms-powerpoint.presentation.macroenabled.12": { source: "iana", extensions: ["pptm"] }, "application/vnd.ms-powerpoint.slide.macroenabled.12": { source: "iana", extensions: ["sldm"] }, "application/vnd.ms-powerpoint.slideshow.macroenabled.12": { source: "iana", extensions: ["ppsm"] }, "application/vnd.ms-powerpoint.template.macroenabled.12": { source: "iana", extensions: ["potm"] }, "application/vnd.ms-printdevicecapabilities+xml": { source: "iana", compressible: true }, "application/vnd.ms-printing.printticket+xml": { source: "apache", compressible: true }, "application/vnd.ms-printschematicket+xml": { source: "iana", compressible: true }, "application/vnd.ms-project": { source: "iana", extensions: ["mpp", "mpt"] }, "application/vnd.ms-tnef": { source: "iana" }, "application/vnd.ms-windows.devicepairing": { source: "iana" }, "application/vnd.ms-windows.nwprinting.oob": { source: "iana" }, "application/vnd.ms-windows.printerpairing": { source: "iana" }, "application/vnd.ms-windows.wsd.oob": { source: "iana" }, "application/vnd.ms-wmdrm.lic-chlg-req": { source: "iana" }, "application/vnd.ms-wmdrm.lic-resp": { source: "iana" }, "application/vnd.ms-wmdrm.meter-chlg-req": { source: "iana" }, "application/vnd.ms-wmdrm.meter-resp": { source: "iana" }, "application/vnd.ms-word.document.macroenabled.12": { source: "iana", extensions: ["docm"] }, "application/vnd.ms-word.template.macroenabled.12": { source: "iana", extensions: ["dotm"] }, "application/vnd.ms-works": { source: "iana", extensions: ["wps", "wks", "wcm", "wdb"] }, "application/vnd.ms-wpl": { source: "iana", extensions: ["wpl"] }, "application/vnd.ms-xpsdocument": { source: "iana", compressible: false, extensions: ["xps"] }, "application/vnd.msa-disk-image": { source: "iana" }, "application/vnd.mseq": { source: "iana", extensions: ["mseq"] }, "application/vnd.msign": { source: "iana" }, "application/vnd.multiad.creator": { source: "iana" }, "application/vnd.multiad.creator.cif": { source: "iana" }, "application/vnd.music-niff": { source: "iana" }, "application/vnd.musician": { source: "iana", extensions: ["mus"] }, "application/vnd.muvee.style": { source: "iana", extensions: ["msty"] }, "application/vnd.mynfc": { source: "iana", extensions: ["taglet"] }, "application/vnd.nacamar.ybrid+json": { source: "iana", compressible: true }, "application/vnd.ncd.control": { source: "iana" }, "application/vnd.ncd.reference": { source: "iana" }, "application/vnd.nearst.inv+json": { source: "iana", compressible: true }, "application/vnd.nebumind.line": { source: "iana" }, "application/vnd.nervana": { source: "iana" }, "application/vnd.netfpx": { source: "iana" }, "application/vnd.neurolanguage.nlu": { source: "iana", extensions: ["nlu"] }, "application/vnd.nimn": { source: "iana" }, "application/vnd.nintendo.nitro.rom": { source: "iana" }, "application/vnd.nintendo.snes.rom": { source: "iana" }, "application/vnd.nitf": { source: "iana", extensions: ["ntf", "nitf"] }, "application/vnd.noblenet-directory": { source: "iana", extensions: ["nnd"] }, "application/vnd.noblenet-sealer": { source: "iana", extensions: ["nns"] }, "application/vnd.noblenet-web": { source: "iana", extensions: ["nnw"] }, "application/vnd.nokia.catalogs": { source: "iana" }, "application/vnd.nokia.conml+wbxml": { source: "iana" }, "application/vnd.nokia.conml+xml": { source: "iana", compressible: true }, "application/vnd.nokia.iptv.config+xml": { source: "iana", compressible: true }, "application/vnd.nokia.isds-radio-presets": { source: "iana" }, "application/vnd.nokia.landmark+wbxml": { source: "iana" }, "application/vnd.nokia.landmark+xml": { source: "iana", compressible: true }, "application/vnd.nokia.landmarkcollection+xml": { source: "iana", compressible: true }, "application/vnd.nokia.n-gage.ac+xml": { source: "iana", compressible: true, extensions: ["ac"] }, "application/vnd.nokia.n-gage.data": { source: "iana", extensions: ["ngdat"] }, "application/vnd.nokia.n-gage.symbian.install": { source: "iana", extensions: ["n-gage"] }, "application/vnd.nokia.ncd": { source: "iana" }, "application/vnd.nokia.pcd+wbxml": { source: "iana" }, "application/vnd.nokia.pcd+xml": { source: "iana", compressible: true }, "application/vnd.nokia.radio-preset": { source: "iana", extensions: ["rpst"] }, "application/vnd.nokia.radio-presets": { source: "iana", extensions: ["rpss"] }, "application/vnd.novadigm.edm": { source: "iana", extensions: ["edm"] }, "application/vnd.novadigm.edx": { source: "iana", extensions: ["edx"] }, "application/vnd.novadigm.ext": { source: "iana", extensions: ["ext"] }, "application/vnd.ntt-local.content-share": { source: "iana" }, "application/vnd.ntt-local.file-transfer": { source: "iana" }, "application/vnd.ntt-local.ogw_remote-access": { source: "iana" }, "application/vnd.ntt-local.sip-ta_remote": { source: "iana" }, "application/vnd.ntt-local.sip-ta_tcp_stream": { source: "iana" }, "application/vnd.oasis.opendocument.chart": { source: "iana", extensions: ["odc"] }, "application/vnd.oasis.opendocument.chart-template": { source: "iana", extensions: ["otc"] }, "application/vnd.oasis.opendocument.database": { source: "iana", extensions: ["odb"] }, "application/vnd.oasis.opendocument.formula": { source: "iana", extensions: ["odf"] }, "application/vnd.oasis.opendocument.formula-template": { source: "iana", extensions: ["odft"] }, "application/vnd.oasis.opendocument.graphics": { source: "iana", compressible: false, extensions: ["odg"] }, "application/vnd.oasis.opendocument.graphics-template": { source: "iana", extensions: ["otg"] }, "application/vnd.oasis.opendocument.image": { source: "iana", extensions: ["odi"] }, "application/vnd.oasis.opendocument.image-template": { source: "iana", extensions: ["oti"] }, "application/vnd.oasis.opendocument.presentation": { source: "iana", compressible: false, extensions: ["odp"] }, "application/vnd.oasis.opendocument.presentation-template": { source: "iana", extensions: ["otp"] }, "application/vnd.oasis.opendocument.spreadsheet": { source: "iana", compressible: false, extensions: ["ods"] }, "application/vnd.oasis.opendocument.spreadsheet-template": { source: "iana", extensions: ["ots"] }, "application/vnd.oasis.opendocument.text": { source: "iana", compressible: false, extensions: ["odt"] }, "application/vnd.oasis.opendocument.text-master": { source: "iana", extensions: ["odm"] }, "application/vnd.oasis.opendocument.text-template": { source: "iana", extensions: ["ott"] }, "application/vnd.oasis.opendocument.text-web": { source: "iana", extensions: ["oth"] }, "application/vnd.obn": { source: "iana" }, "application/vnd.ocf+cbor": { source: "iana" }, "application/vnd.oci.image.manifest.v1+json": { source: "iana", compressible: true }, "application/vnd.oftn.l10n+json": { source: "iana", compressible: true }, "application/vnd.oipf.contentaccessdownload+xml": { source: "iana", compressible: true }, "application/vnd.oipf.contentaccessstreaming+xml": { source: "iana", compressible: true }, "application/vnd.oipf.cspg-hexbinary": { source: "iana" }, "application/vnd.oipf.dae.svg+xml": { source: "iana", compressible: true }, "application/vnd.oipf.dae.xhtml+xml": { source: "iana", compressible: true }, "application/vnd.oipf.mippvcontrolmessage+xml": { source: "iana", compressible: true }, "application/vnd.oipf.pae.gem": { source: "iana" }, "application/vnd.oipf.spdiscovery+xml": { source: "iana", compressible: true }, "application/vnd.oipf.spdlist+xml": { source: "iana", compressible: true }, "application/vnd.oipf.ueprofile+xml": { source: "iana", compressible: true }, "application/vnd.oipf.userprofile+xml": { source: "iana", compressible: true }, "application/vnd.olpc-sugar": { source: "iana", extensions: ["xo"] }, "application/vnd.oma-scws-config": { source: "iana" }, "application/vnd.oma-scws-http-request": { source: "iana" }, "application/vnd.oma-scws-http-response": { source: "iana" }, "application/vnd.oma.bcast.associated-procedure-parameter+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.drm-trigger+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.imd+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.ltkm": { source: "iana" }, "application/vnd.oma.bcast.notification+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.provisioningtrigger": { source: "iana" }, "application/vnd.oma.bcast.sgboot": { source: "iana" }, "application/vnd.oma.bcast.sgdd+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.sgdu": { source: "iana" }, "application/vnd.oma.bcast.simple-symbol-container": { source: "iana" }, "application/vnd.oma.bcast.smartcard-trigger+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.sprov+xml": { source: "iana", compressible: true }, "application/vnd.oma.bcast.stkm": { source: "iana" }, "application/vnd.oma.cab-address-book+xml": { source: "iana", compressible: true }, "application/vnd.oma.cab-feature-handler+xml": { source: "iana", compressible: true }, "application/vnd.oma.cab-pcc+xml": { source: "iana", compressible: true }, "application/vnd.oma.cab-subs-invite+xml": { source: "iana", compressible: true }, "application/vnd.oma.cab-user-prefs+xml": { source: "iana", compressible: true }, "application/vnd.oma.dcd": { source: "iana" }, "application/vnd.oma.dcdc": { source: "iana" }, "application/vnd.oma.dd2+xml": { source: "iana", compressible: true, extensions: ["dd2"] }, "application/vnd.oma.drm.risd+xml": { source: "iana", compressible: true }, "application/vnd.oma.group-usage-list+xml": { source: "iana", compressible: true }, "application/vnd.oma.lwm2m+cbor": { source: "iana" }, "application/vnd.oma.lwm2m+json": { source: "iana", compressible: true }, "application/vnd.oma.lwm2m+tlv": { source: "iana" }, "application/vnd.oma.pal+xml": { source: "iana", compressible: true }, "application/vnd.oma.poc.detailed-progress-report+xml": { source: "iana", compressible: true }, "application/vnd.oma.poc.final-report+xml": { source: "iana", compressible: true }, "application/vnd.oma.poc.groups+xml": { source: "iana", compressible: true }, "application/vnd.oma.poc.invocation-descriptor+xml": { source: "iana", compressible: true }, "application/vnd.oma.poc.optimized-progress-report+xml": { source: "iana", compressible: true }, "application/vnd.oma.push": { source: "iana" }, "application/vnd.oma.scidm.messages+xml": { source: "iana", compressible: true }, "application/vnd.oma.xcap-directory+xml": { source: "iana", compressible: true }, "application/vnd.omads-email+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/vnd.omads-file+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/vnd.omads-folder+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/vnd.omaloc-supl-init": { source: "iana" }, "application/vnd.onepager": { source: "iana" }, "application/vnd.onepagertamp": { source: "iana" }, "application/vnd.onepagertamx": { source: "iana" }, "application/vnd.onepagertat": { source: "iana" }, "application/vnd.onepagertatp": { source: "iana" }, "application/vnd.onepagertatx": { source: "iana" }, "application/vnd.openblox.game+xml": { source: "iana", compressible: true, extensions: ["obgx"] }, "application/vnd.openblox.game-binary": { source: "iana" }, "application/vnd.openeye.oeb": { source: "iana" }, "application/vnd.openofficeorg.extension": { source: "apache", extensions: ["oxt"] }, "application/vnd.openstreetmap.data+xml": { source: "iana", compressible: true, extensions: ["osm"] }, "application/vnd.opentimestamps.ots": { source: "iana" }, "application/vnd.openxmlformats-officedocument.custom-properties+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.customxmlproperties+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawing+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.extended-properties+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.comments+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.presentation": { source: "iana", compressible: false, extensions: ["pptx"] }, "application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.presprops+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.slide": { source: "iana", extensions: ["sldx"] }, "application/vnd.openxmlformats-officedocument.presentationml.slide+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.slideshow": { source: "iana", extensions: ["ppsx"] }, "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.tags+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.template": { source: "iana", extensions: ["potx"] }, "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": { source: "iana", compressible: false, extensions: ["xlsx"] }, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.template": { source: "iana", extensions: ["xltx"] }, "application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.theme+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.themeoverride+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.vmldrawing": { source: "iana" }, "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.document": { source: "iana", compressible: false, extensions: ["docx"] }, "application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.template": { source: "iana", extensions: ["dotx"] }, "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-package.core-properties+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml": { source: "iana", compressible: true }, "application/vnd.openxmlformats-package.relationships+xml": { source: "iana", compressible: true }, "application/vnd.oracle.resource+json": { source: "iana", compressible: true }, "application/vnd.orange.indata": { source: "iana" }, "application/vnd.osa.netdeploy": { source: "iana" }, "application/vnd.osgeo.mapguide.package": { source: "iana", extensions: ["mgp"] }, "application/vnd.osgi.bundle": { source: "iana" }, "application/vnd.osgi.dp": { source: "iana", extensions: ["dp"] }, "application/vnd.osgi.subsystem": { source: "iana", extensions: ["esa"] }, "application/vnd.otps.ct-kip+xml": { source: "iana", compressible: true }, "application/vnd.oxli.countgraph": { source: "iana" }, "application/vnd.pagerduty+json": { source: "iana", compressible: true }, "application/vnd.palm": { source: "iana", extensions: ["pdb", "pqa", "oprc"] }, "application/vnd.panoply": { source: "iana" }, "application/vnd.paos.xml": { source: "iana" }, "application/vnd.patentdive": { source: "iana" }, "application/vnd.patientecommsdoc": { source: "iana" }, "application/vnd.pawaafile": { source: "iana", extensions: ["paw"] }, "application/vnd.pcos": { source: "iana" }, "application/vnd.pg.format": { source: "iana", extensions: ["str"] }, "application/vnd.pg.osasli": { source: "iana", extensions: ["ei6"] }, "application/vnd.piaccess.application-licence": { source: "iana" }, "application/vnd.picsel": { source: "iana", extensions: ["efif"] }, "application/vnd.pmi.widget": { source: "iana", extensions: ["wg"] }, "application/vnd.poc.group-advertisement+xml": { source: "iana", compressible: true }, "application/vnd.pocketlearn": { source: "iana", extensions: ["plf"] }, "application/vnd.powerbuilder6": { source: "iana", extensions: ["pbd"] }, "application/vnd.powerbuilder6-s": { source: "iana" }, "application/vnd.powerbuilder7": { source: "iana" }, "application/vnd.powerbuilder7-s": { source: "iana" }, "application/vnd.powerbuilder75": { source: "iana" }, "application/vnd.powerbuilder75-s": { source: "iana" }, "application/vnd.preminet": { source: "iana" }, "application/vnd.previewsystems.box": { source: "iana", extensions: ["box"] }, "application/vnd.proteus.magazine": { source: "iana", extensions: ["mgz"] }, "application/vnd.psfs": { source: "iana" }, "application/vnd.publishare-delta-tree": { source: "iana", extensions: ["qps"] }, "application/vnd.pvi.ptid1": { source: "iana", extensions: ["ptid"] }, "application/vnd.pwg-multiplexed": { source: "iana" }, "application/vnd.pwg-xhtml-print+xml": { source: "iana", compressible: true }, "application/vnd.qualcomm.brew-app-res": { source: "iana" }, "application/vnd.quarantainenet": { source: "iana" }, "application/vnd.quark.quarkxpress": { source: "iana", extensions: ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"] }, "application/vnd.quobject-quoxdocument": { source: "iana" }, "application/vnd.radisys.moml+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-audit+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-audit-conf+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-audit-conn+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-audit-dialog+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-audit-stream+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-conf+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog-base+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog-fax-detect+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog-fax-sendrecv+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog-group+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog-speech+xml": { source: "iana", compressible: true }, "application/vnd.radisys.msml-dialog-transform+xml": { source: "iana", compressible: true }, "application/vnd.rainstor.data": { source: "iana" }, "application/vnd.rapid": { source: "iana" }, "application/vnd.rar": { source: "iana", extensions: ["rar"] }, "application/vnd.realvnc.bed": { source: "iana", extensions: ["bed"] }, "application/vnd.recordare.musicxml": { source: "iana", extensions: ["mxl"] }, "application/vnd.recordare.musicxml+xml": { source: "iana", compressible: true, extensions: ["musicxml"] }, "application/vnd.renlearn.rlprint": { source: "iana" }, "application/vnd.resilient.logic": { source: "iana" }, "application/vnd.restful+json": { source: "iana", compressible: true }, "application/vnd.rig.cryptonote": { source: "iana", extensions: ["cryptonote"] }, "application/vnd.rim.cod": { source: "apache", extensions: ["cod"] }, "application/vnd.rn-realmedia": { source: "apache", extensions: ["rm"] }, "application/vnd.rn-realmedia-vbr": { source: "apache", extensions: ["rmvb"] }, "application/vnd.route66.link66+xml": { source: "iana", compressible: true, extensions: ["link66"] }, "application/vnd.rs-274x": { source: "iana" }, "application/vnd.ruckus.download": { source: "iana" }, "application/vnd.s3sms": { source: "iana" }, "application/vnd.sailingtracker.track": { source: "iana", extensions: ["st"] }, "application/vnd.sar": { source: "iana" }, "application/vnd.sbm.cid": { source: "iana" }, "application/vnd.sbm.mid2": { source: "iana" }, "application/vnd.scribus": { source: "iana" }, "application/vnd.sealed.3df": { source: "iana" }, "application/vnd.sealed.csf": { source: "iana" }, "application/vnd.sealed.doc": { source: "iana" }, "application/vnd.sealed.eml": { source: "iana" }, "application/vnd.sealed.mht": { source: "iana" }, "application/vnd.sealed.net": { source: "iana" }, "application/vnd.sealed.ppt": { source: "iana" }, "application/vnd.sealed.tiff": { source: "iana" }, "application/vnd.sealed.xls": { source: "iana" }, "application/vnd.sealedmedia.softseal.html": { source: "iana" }, "application/vnd.sealedmedia.softseal.pdf": { source: "iana" }, "application/vnd.seemail": { source: "iana", extensions: ["see"] }, "application/vnd.seis+json": { source: "iana", compressible: true }, "application/vnd.sema": { source: "iana", extensions: ["sema"] }, "application/vnd.semd": { source: "iana", extensions: ["semd"] }, "application/vnd.semf": { source: "iana", extensions: ["semf"] }, "application/vnd.shade-save-file": { source: "iana" }, "application/vnd.shana.informed.formdata": { source: "iana", extensions: ["ifm"] }, "application/vnd.shana.informed.formtemplate": { source: "iana", extensions: ["itp"] }, "application/vnd.shana.informed.interchange": { source: "iana", extensions: ["iif"] }, "application/vnd.shana.informed.package": { source: "iana", extensions: ["ipk"] }, "application/vnd.shootproof+json": { source: "iana", compressible: true }, "application/vnd.shopkick+json": { source: "iana", compressible: true }, "application/vnd.shp": { source: "iana" }, "application/vnd.shx": { source: "iana" }, "application/vnd.sigrok.session": { source: "iana" }, "application/vnd.simtech-mindmapper": { source: "iana", extensions: ["twd", "twds"] }, "application/vnd.siren+json": { source: "iana", compressible: true }, "application/vnd.smaf": { source: "iana", extensions: ["mmf"] }, "application/vnd.smart.notebook": { source: "iana" }, "application/vnd.smart.teacher": { source: "iana", extensions: ["teacher"] }, "application/vnd.snesdev-page-table": { source: "iana" }, "application/vnd.software602.filler.form+xml": { source: "iana", compressible: true, extensions: ["fo"] }, "application/vnd.software602.filler.form-xml-zip": { source: "iana" }, "application/vnd.solent.sdkm+xml": { source: "iana", compressible: true, extensions: ["sdkm", "sdkd"] }, "application/vnd.spotfire.dxp": { source: "iana", extensions: ["dxp"] }, "application/vnd.spotfire.sfs": { source: "iana", extensions: ["sfs"] }, "application/vnd.sqlite3": { source: "iana" }, "application/vnd.sss-cod": { source: "iana" }, "application/vnd.sss-dtf": { source: "iana" }, "application/vnd.sss-ntf": { source: "iana" }, "application/vnd.stardivision.calc": { source: "apache", extensions: ["sdc"] }, "application/vnd.stardivision.draw": { source: "apache", extensions: ["sda"] }, "application/vnd.stardivision.impress": { source: "apache", extensions: ["sdd"] }, "application/vnd.stardivision.math": { source: "apache", extensions: ["smf"] }, "application/vnd.stardivision.writer": { source: "apache", extensions: ["sdw", "vor"] }, "application/vnd.stardivision.writer-global": { source: "apache", extensions: ["sgl"] }, "application/vnd.stepmania.package": { source: "iana", extensions: ["smzip"] }, "application/vnd.stepmania.stepchart": { source: "iana", extensions: ["sm"] }, "application/vnd.street-stream": { source: "iana" }, "application/vnd.sun.wadl+xml": { source: "iana", compressible: true, extensions: ["wadl"] }, "application/vnd.sun.xml.calc": { source: "apache", extensions: ["sxc"] }, "application/vnd.sun.xml.calc.template": { source: "apache", extensions: ["stc"] }, "application/vnd.sun.xml.draw": { source: "apache", extensions: ["sxd"] }, "application/vnd.sun.xml.draw.template": { source: "apache", extensions: ["std"] }, "application/vnd.sun.xml.impress": { source: "apache", extensions: ["sxi"] }, "application/vnd.sun.xml.impress.template": { source: "apache", extensions: ["sti"] }, "application/vnd.sun.xml.math": { source: "apache", extensions: ["sxm"] }, "application/vnd.sun.xml.writer": { source: "apache", extensions: ["sxw"] }, "application/vnd.sun.xml.writer.global": { source: "apache", extensions: ["sxg"] }, "application/vnd.sun.xml.writer.template": { source: "apache", extensions: ["stw"] }, "application/vnd.sus-calendar": { source: "iana", extensions: ["sus", "susp"] }, "application/vnd.svd": { source: "iana", extensions: ["svd"] }, "application/vnd.swiftview-ics": { source: "iana" }, "application/vnd.sycle+xml": { source: "iana", compressible: true }, "application/vnd.syft+json": { source: "iana", compressible: true }, "application/vnd.symbian.install": { source: "apache", extensions: ["sis", "sisx"] }, "application/vnd.syncml+xml": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["xsm"] }, "application/vnd.syncml.dm+wbxml": { source: "iana", charset: "UTF-8", extensions: ["bdm"] }, "application/vnd.syncml.dm+xml": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["xdm"] }, "application/vnd.syncml.dm.notification": { source: "iana" }, "application/vnd.syncml.dmddf+wbxml": { source: "iana" }, "application/vnd.syncml.dmddf+xml": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["ddf"] }, "application/vnd.syncml.dmtnds+wbxml": { source: "iana" }, "application/vnd.syncml.dmtnds+xml": { source: "iana", charset: "UTF-8", compressible: true }, "application/vnd.syncml.ds.notification": { source: "iana" }, "application/vnd.tableschema+json": { source: "iana", compressible: true }, "application/vnd.tao.intent-module-archive": { source: "iana", extensions: ["tao"] }, "application/vnd.tcpdump.pcap": { source: "iana", extensions: ["pcap", "cap", "dmp"] }, "application/vnd.think-cell.ppttc+json": { source: "iana", compressible: true }, "application/vnd.tmd.mediaflex.api+xml": { source: "iana", compressible: true }, "application/vnd.tml": { source: "iana" }, "application/vnd.tmobile-livetv": { source: "iana", extensions: ["tmo"] }, "application/vnd.tri.onesource": { source: "iana" }, "application/vnd.trid.tpt": { source: "iana", extensions: ["tpt"] }, "application/vnd.triscape.mxs": { source: "iana", extensions: ["mxs"] }, "application/vnd.trueapp": { source: "iana", extensions: ["tra"] }, "application/vnd.truedoc": { source: "iana" }, "application/vnd.ubisoft.webplayer": { source: "iana" }, "application/vnd.ufdl": { source: "iana", extensions: ["ufd", "ufdl"] }, "application/vnd.uiq.theme": { source: "iana", extensions: ["utz"] }, "application/vnd.umajin": { source: "iana", extensions: ["umj"] }, "application/vnd.unity": { source: "iana", extensions: ["unityweb"] }, "application/vnd.uoml+xml": { source: "iana", compressible: true, extensions: ["uoml"] }, "application/vnd.uplanet.alert": { source: "iana" }, "application/vnd.uplanet.alert-wbxml": { source: "iana" }, "application/vnd.uplanet.bearer-choice": { source: "iana" }, "application/vnd.uplanet.bearer-choice-wbxml": { source: "iana" }, "application/vnd.uplanet.cacheop": { source: "iana" }, "application/vnd.uplanet.cacheop-wbxml": { source: "iana" }, "application/vnd.uplanet.channel": { source: "iana" }, "application/vnd.uplanet.channel-wbxml": { source: "iana" }, "application/vnd.uplanet.list": { source: "iana" }, "application/vnd.uplanet.list-wbxml": { source: "iana" }, "application/vnd.uplanet.listcmd": { source: "iana" }, "application/vnd.uplanet.listcmd-wbxml": { source: "iana" }, "application/vnd.uplanet.signal": { source: "iana" }, "application/vnd.uri-map": { source: "iana" }, "application/vnd.valve.source.material": { source: "iana" }, "application/vnd.vcx": { source: "iana", extensions: ["vcx"] }, "application/vnd.vd-study": { source: "iana" }, "application/vnd.vectorworks": { source: "iana" }, "application/vnd.vel+json": { source: "iana", compressible: true }, "application/vnd.verimatrix.vcas": { source: "iana" }, "application/vnd.veritone.aion+json": { source: "iana", compressible: true }, "application/vnd.veryant.thin": { source: "iana" }, "application/vnd.ves.encrypted": { source: "iana" }, "application/vnd.vidsoft.vidconference": { source: "iana" }, "application/vnd.visio": { source: "iana", extensions: ["vsd", "vst", "vss", "vsw"] }, "application/vnd.visionary": { source: "iana", extensions: ["vis"] }, "application/vnd.vividence.scriptfile": { source: "iana" }, "application/vnd.vsf": { source: "iana", extensions: ["vsf"] }, "application/vnd.wap.sic": { source: "iana" }, "application/vnd.wap.slc": { source: "iana" }, "application/vnd.wap.wbxml": { source: "iana", charset: "UTF-8", extensions: ["wbxml"] }, "application/vnd.wap.wmlc": { source: "iana", extensions: ["wmlc"] }, "application/vnd.wap.wmlscriptc": { source: "iana", extensions: ["wmlsc"] }, "application/vnd.webturbo": { source: "iana", extensions: ["wtb"] }, "application/vnd.wfa.dpp": { source: "iana" }, "application/vnd.wfa.p2p": { source: "iana" }, "application/vnd.wfa.wsc": { source: "iana" }, "application/vnd.windows.devicepairing": { source: "iana" }, "application/vnd.wmc": { source: "iana" }, "application/vnd.wmf.bootstrap": { source: "iana" }, "application/vnd.wolfram.mathematica": { source: "iana" }, "application/vnd.wolfram.mathematica.package": { source: "iana" }, "application/vnd.wolfram.player": { source: "iana", extensions: ["nbp"] }, "application/vnd.wordperfect": { source: "iana", extensions: ["wpd"] }, "application/vnd.wqd": { source: "iana", extensions: ["wqd"] }, "application/vnd.wrq-hp3000-labelled": { source: "iana" }, "application/vnd.wt.stf": { source: "iana", extensions: ["stf"] }, "application/vnd.wv.csp+wbxml": { source: "iana" }, "application/vnd.wv.csp+xml": { source: "iana", compressible: true }, "application/vnd.wv.ssp+xml": { source: "iana", compressible: true }, "application/vnd.xacml+json": { source: "iana", compressible: true }, "application/vnd.xara": { source: "iana", extensions: ["xar"] }, "application/vnd.xfdl": { source: "iana", extensions: ["xfdl"] }, "application/vnd.xfdl.webform": { source: "iana" }, "application/vnd.xmi+xml": { source: "iana", compressible: true }, "application/vnd.xmpie.cpkg": { source: "iana" }, "application/vnd.xmpie.dpkg": { source: "iana" }, "application/vnd.xmpie.plan": { source: "iana" }, "application/vnd.xmpie.ppkg": { source: "iana" }, "application/vnd.xmpie.xlim": { source: "iana" }, "application/vnd.yamaha.hv-dic": { source: "iana", extensions: ["hvd"] }, "application/vnd.yamaha.hv-script": { source: "iana", extensions: ["hvs"] }, "application/vnd.yamaha.hv-voice": { source: "iana", extensions: ["hvp"] }, "application/vnd.yamaha.openscoreformat": { source: "iana", extensions: ["osf"] }, "application/vnd.yamaha.openscoreformat.osfpvg+xml": { source: "iana", compressible: true, extensions: ["osfpvg"] }, "application/vnd.yamaha.remote-setup": { source: "iana" }, "application/vnd.yamaha.smaf-audio": { source: "iana", extensions: ["saf"] }, "application/vnd.yamaha.smaf-phrase": { source: "iana", extensions: ["spf"] }, "application/vnd.yamaha.through-ngn": { source: "iana" }, "application/vnd.yamaha.tunnel-udpencap": { source: "iana" }, "application/vnd.yaoweme": { source: "iana" }, "application/vnd.yellowriver-custom-menu": { source: "iana", extensions: ["cmp"] }, "application/vnd.youtube.yt": { source: "iana" }, "application/vnd.zul": { source: "iana", extensions: ["zir", "zirz"] }, "application/vnd.zzazz.deck+xml": { source: "iana", compressible: true, extensions: ["zaz"] }, "application/voicexml+xml": { source: "iana", compressible: true, extensions: ["vxml"] }, "application/voucher-cms+json": { source: "iana", compressible: true }, "application/vq-rtcpxr": { source: "iana" }, "application/wasm": { source: "iana", compressible: true, extensions: ["wasm"] }, "application/watcherinfo+xml": { source: "iana", compressible: true, extensions: ["wif"] }, "application/webpush-options+json": { source: "iana", compressible: true }, "application/whoispp-query": { source: "iana" }, "application/whoispp-response": { source: "iana" }, "application/widget": { source: "iana", extensions: ["wgt"] }, "application/winhlp": { source: "apache", extensions: ["hlp"] }, "application/wita": { source: "iana" }, "application/wordperfect5.1": { source: "iana" }, "application/wsdl+xml": { source: "iana", compressible: true, extensions: ["wsdl"] }, "application/wspolicy+xml": { source: "iana", compressible: true, extensions: ["wspolicy"] }, "application/x-7z-compressed": { source: "apache", compressible: false, extensions: ["7z"] }, "application/x-abiword": { source: "apache", extensions: ["abw"] }, "application/x-ace-compressed": { source: "apache", extensions: ["ace"] }, "application/x-amf": { source: "apache" }, "application/x-apple-diskimage": { source: "apache", extensions: ["dmg"] }, "application/x-arj": { compressible: false, extensions: ["arj"] }, "application/x-authorware-bin": { source: "apache", extensions: ["aab", "x32", "u32", "vox"] }, "application/x-authorware-map": { source: "apache", extensions: ["aam"] }, "application/x-authorware-seg": { source: "apache", extensions: ["aas"] }, "application/x-bcpio": { source: "apache", extensions: ["bcpio"] }, "application/x-bdoc": { compressible: false, extensions: ["bdoc"] }, "application/x-bittorrent": { source: "apache", extensions: ["torrent"] }, "application/x-blorb": { source: "apache", extensions: ["blb", "blorb"] }, "application/x-bzip": { source: "apache", compressible: false, extensions: ["bz"] }, "application/x-bzip2": { source: "apache", compressible: false, extensions: ["bz2", "boz"] }, "application/x-cbr": { source: "apache", extensions: ["cbr", "cba", "cbt", "cbz", "cb7"] }, "application/x-cdlink": { source: "apache", extensions: ["vcd"] }, "application/x-cfs-compressed": { source: "apache", extensions: ["cfs"] }, "application/x-chat": { source: "apache", extensions: ["chat"] }, "application/x-chess-pgn": { source: "apache", extensions: ["pgn"] }, "application/x-chrome-extension": { extensions: ["crx"] }, "application/x-cocoa": { source: "nginx", extensions: ["cco"] }, "application/x-compress": { source: "apache" }, "application/x-conference": { source: "apache", extensions: ["nsc"] }, "application/x-cpio": { source: "apache", extensions: ["cpio"] }, "application/x-csh": { source: "apache", extensions: ["csh"] }, "application/x-deb": { compressible: false }, "application/x-debian-package": { source: "apache", extensions: ["deb", "udeb"] }, "application/x-dgc-compressed": { source: "apache", extensions: ["dgc"] }, "application/x-director": { source: "apache", extensions: ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"] }, "application/x-doom": { source: "apache", extensions: ["wad"] }, "application/x-dtbncx+xml": { source: "apache", compressible: true, extensions: ["ncx"] }, "application/x-dtbook+xml": { source: "apache", compressible: true, extensions: ["dtb"] }, "application/x-dtbresource+xml": { source: "apache", compressible: true, extensions: ["res"] }, "application/x-dvi": { source: "apache", compressible: false, extensions: ["dvi"] }, "application/x-envoy": { source: "apache", extensions: ["evy"] }, "application/x-eva": { source: "apache", extensions: ["eva"] }, "application/x-font-bdf": { source: "apache", extensions: ["bdf"] }, "application/x-font-dos": { source: "apache" }, "application/x-font-framemaker": { source: "apache" }, "application/x-font-ghostscript": { source: "apache", extensions: ["gsf"] }, "application/x-font-libgrx": { source: "apache" }, "application/x-font-linux-psf": { source: "apache", extensions: ["psf"] }, "application/x-font-pcf": { source: "apache", extensions: ["pcf"] }, "application/x-font-snf": { source: "apache", extensions: ["snf"] }, "application/x-font-speedo": { source: "apache" }, "application/x-font-sunos-news": { source: "apache" }, "application/x-font-type1": { source: "apache", extensions: ["pfa", "pfb", "pfm", "afm"] }, "application/x-font-vfont": { source: "apache" }, "application/x-freearc": { source: "apache", extensions: ["arc"] }, "application/x-futuresplash": { source: "apache", extensions: ["spl"] }, "application/x-gca-compressed": { source: "apache", extensions: ["gca"] }, "application/x-glulx": { source: "apache", extensions: ["ulx"] }, "application/x-gnumeric": { source: "apache", extensions: ["gnumeric"] }, "application/x-gramps-xml": { source: "apache", extensions: ["gramps"] }, "application/x-gtar": { source: "apache", extensions: ["gtar"] }, "application/x-gzip": { source: "apache" }, "application/x-hdf": { source: "apache", extensions: ["hdf"] }, "application/x-httpd-php": { compressible: true, extensions: ["php"] }, "application/x-install-instructions": { source: "apache", extensions: ["install"] }, "application/x-iso9660-image": { source: "apache", extensions: ["iso"] }, "application/x-iwork-keynote-sffkey": { extensions: ["key"] }, "application/x-iwork-numbers-sffnumbers": { extensions: ["numbers"] }, "application/x-iwork-pages-sffpages": { extensions: ["pages"] }, "application/x-java-archive-diff": { source: "nginx", extensions: ["jardiff"] }, "application/x-java-jnlp-file": { source: "apache", compressible: false, extensions: ["jnlp"] }, "application/x-javascript": { compressible: true }, "application/x-keepass2": { extensions: ["kdbx"] }, "application/x-latex": { source: "apache", compressible: false, extensions: ["latex"] }, "application/x-lua-bytecode": { extensions: ["luac"] }, "application/x-lzh-compressed": { source: "apache", extensions: ["lzh", "lha"] }, "application/x-makeself": { source: "nginx", extensions: ["run"] }, "application/x-mie": { source: "apache", extensions: ["mie"] }, "application/x-mobipocket-ebook": { source: "apache", extensions: ["prc", "mobi"] }, "application/x-mpegurl": { compressible: false }, "application/x-ms-application": { source: "apache", extensions: ["application"] }, "application/x-ms-shortcut": { source: "apache", extensions: ["lnk"] }, "application/x-ms-wmd": { source: "apache", extensions: ["wmd"] }, "application/x-ms-wmz": { source: "apache", extensions: ["wmz"] }, "application/x-ms-xbap": { source: "apache", extensions: ["xbap"] }, "application/x-msaccess": { source: "apache", extensions: ["mdb"] }, "application/x-msbinder": { source: "apache", extensions: ["obd"] }, "application/x-mscardfile": { source: "apache", extensions: ["crd"] }, "application/x-msclip": { source: "apache", extensions: ["clp"] }, "application/x-msdos-program": { extensions: ["exe"] }, "application/x-msdownload": { source: "apache", extensions: ["exe", "dll", "com", "bat", "msi"] }, "application/x-msmediaview": { source: "apache", extensions: ["mvb", "m13", "m14"] }, "application/x-msmetafile": { source: "apache", extensions: ["wmf", "wmz", "emf", "emz"] }, "application/x-msmoney": { source: "apache", extensions: ["mny"] }, "application/x-mspublisher": { source: "apache", extensions: ["pub"] }, "application/x-msschedule": { source: "apache", extensions: ["scd"] }, "application/x-msterminal": { source: "apache", extensions: ["trm"] }, "application/x-mswrite": { source: "apache", extensions: ["wri"] }, "application/x-netcdf": { source: "apache", extensions: ["nc", "cdf"] }, "application/x-ns-proxy-autoconfig": { compressible: true, extensions: ["pac"] }, "application/x-nzb": { source: "apache", extensions: ["nzb"] }, "application/x-perl": { source: "nginx", extensions: ["pl", "pm"] }, "application/x-pilot": { source: "nginx", extensions: ["prc", "pdb"] }, "application/x-pkcs12": { source: "apache", compressible: false, extensions: ["p12", "pfx"] }, "application/x-pkcs7-certificates": { source: "apache", extensions: ["p7b", "spc"] }, "application/x-pkcs7-certreqresp": { source: "apache", extensions: ["p7r"] }, "application/x-pki-message": { source: "iana" }, "application/x-rar-compressed": { source: "apache", compressible: false, extensions: ["rar"] }, "application/x-redhat-package-manager": { source: "nginx", extensions: ["rpm"] }, "application/x-research-info-systems": { source: "apache", extensions: ["ris"] }, "application/x-sea": { source: "nginx", extensions: ["sea"] }, "application/x-sh": { source: "apache", compressible: true, extensions: ["sh"] }, "application/x-shar": { source: "apache", extensions: ["shar"] }, "application/x-shockwave-flash": { source: "apache", compressible: false, extensions: ["swf"] }, "application/x-silverlight-app": { source: "apache", extensions: ["xap"] }, "application/x-sql": { source: "apache", extensions: ["sql"] }, "application/x-stuffit": { source: "apache", compressible: false, extensions: ["sit"] }, "application/x-stuffitx": { source: "apache", extensions: ["sitx"] }, "application/x-subrip": { source: "apache", extensions: ["srt"] }, "application/x-sv4cpio": { source: "apache", extensions: ["sv4cpio"] }, "application/x-sv4crc": { source: "apache", extensions: ["sv4crc"] }, "application/x-t3vm-image": { source: "apache", extensions: ["t3"] }, "application/x-tads": { source: "apache", extensions: ["gam"] }, "application/x-tar": { source: "apache", compressible: true, extensions: ["tar"] }, "application/x-tcl": { source: "apache", extensions: ["tcl", "tk"] }, "application/x-tex": { source: "apache", extensions: ["tex"] }, "application/x-tex-tfm": { source: "apache", extensions: ["tfm"] }, "application/x-texinfo": { source: "apache", extensions: ["texinfo", "texi"] }, "application/x-tgif": { source: "apache", extensions: ["obj"] }, "application/x-ustar": { source: "apache", extensions: ["ustar"] }, "application/x-virtualbox-hdd": { compressible: true, extensions: ["hdd"] }, "application/x-virtualbox-ova": { compressible: true, extensions: ["ova"] }, "application/x-virtualbox-ovf": { compressible: true, extensions: ["ovf"] }, "application/x-virtualbox-vbox": { compressible: true, extensions: ["vbox"] }, "application/x-virtualbox-vbox-extpack": { compressible: false, extensions: ["vbox-extpack"] }, "application/x-virtualbox-vdi": { compressible: true, extensions: ["vdi"] }, "application/x-virtualbox-vhd": { compressible: true, extensions: ["vhd"] }, "application/x-virtualbox-vmdk": { compressible: true, extensions: ["vmdk"] }, "application/x-wais-source": { source: "apache", extensions: ["src"] }, "application/x-web-app-manifest+json": { compressible: true, extensions: ["webapp"] }, "application/x-www-form-urlencoded": { source: "iana", compressible: true }, "application/x-x509-ca-cert": { source: "iana", extensions: ["der", "crt", "pem"] }, "application/x-x509-ca-ra-cert": { source: "iana" }, "application/x-x509-next-ca-cert": { source: "iana" }, "application/x-xfig": { source: "apache", extensions: ["fig"] }, "application/x-xliff+xml": { source: "apache", compressible: true, extensions: ["xlf"] }, "application/x-xpinstall": { source: "apache", compressible: false, extensions: ["xpi"] }, "application/x-xz": { source: "apache", extensions: ["xz"] }, "application/x-zmachine": { source: "apache", extensions: ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"] }, "application/x400-bp": { source: "iana" }, "application/xacml+xml": { source: "iana", compressible: true }, "application/xaml+xml": { source: "apache", compressible: true, extensions: ["xaml"] }, "application/xcap-att+xml": { source: "iana", compressible: true, extensions: ["xav"] }, "application/xcap-caps+xml": { source: "iana", compressible: true, extensions: ["xca"] }, "application/xcap-diff+xml": { source: "iana", compressible: true, extensions: ["xdf"] }, "application/xcap-el+xml": { source: "iana", compressible: true, extensions: ["xel"] }, "application/xcap-error+xml": { source: "iana", compressible: true }, "application/xcap-ns+xml": { source: "iana", compressible: true, extensions: ["xns"] }, "application/xcon-conference-info+xml": { source: "iana", compressible: true }, "application/xcon-conference-info-diff+xml": { source: "iana", compressible: true }, "application/xenc+xml": { source: "iana", compressible: true, extensions: ["xenc"] }, "application/xhtml+xml": { source: "iana", compressible: true, extensions: ["xhtml", "xht"] }, "application/xhtml-voice+xml": { source: "apache", compressible: true }, "application/xliff+xml": { source: "iana", compressible: true, extensions: ["xlf"] }, "application/xml": { source: "iana", compressible: true, extensions: ["xml", "xsl", "xsd", "rng"] }, "application/xml-dtd": { source: "iana", compressible: true, extensions: ["dtd"] }, "application/xml-external-parsed-entity": { source: "iana" }, "application/xml-patch+xml": { source: "iana", compressible: true }, "application/xmpp+xml": { source: "iana", compressible: true }, "application/xop+xml": { source: "iana", compressible: true, extensions: ["xop"] }, "application/xproc+xml": { source: "apache", compressible: true, extensions: ["xpl"] }, "application/xslt+xml": { source: "iana", compressible: true, extensions: ["xsl", "xslt"] }, "application/xspf+xml": { source: "apache", compressible: true, extensions: ["xspf"] }, "application/xv+xml": { source: "iana", compressible: true, extensions: ["mxml", "xhvml", "xvml", "xvm"] }, "application/yang": { source: "iana", extensions: ["yang"] }, "application/yang-data+json": { source: "iana", compressible: true }, "application/yang-data+xml": { source: "iana", compressible: true }, "application/yang-patch+json": { source: "iana", compressible: true }, "application/yang-patch+xml": { source: "iana", compressible: true }, "application/yin+xml": { source: "iana", compressible: true, extensions: ["yin"] }, "application/zip": { source: "iana", compressible: false, extensions: ["zip"] }, "application/zlib": { source: "iana" }, "application/zstd": { source: "iana" }, "audio/1d-interleaved-parityfec": { source: "iana" }, "audio/32kadpcm": { source: "iana" }, "audio/3gpp": { source: "iana", compressible: false, extensions: ["3gpp"] }, "audio/3gpp2": { source: "iana" }, "audio/aac": { source: "iana" }, "audio/ac3": { source: "iana" }, "audio/adpcm": { source: "apache", extensions: ["adp"] }, "audio/amr": { source: "iana", extensions: ["amr"] }, "audio/amr-wb": { source: "iana" }, "audio/amr-wb+": { source: "iana" }, "audio/aptx": { source: "iana" }, "audio/asc": { source: "iana" }, "audio/atrac-advanced-lossless": { source: "iana" }, "audio/atrac-x": { source: "iana" }, "audio/atrac3": { source: "iana" }, "audio/basic": { source: "iana", compressible: false, extensions: ["au", "snd"] }, "audio/bv16": { source: "iana" }, "audio/bv32": { source: "iana" }, "audio/clearmode": { source: "iana" }, "audio/cn": { source: "iana" }, "audio/dat12": { source: "iana" }, "audio/dls": { source: "iana" }, "audio/dsr-es201108": { source: "iana" }, "audio/dsr-es202050": { source: "iana" }, "audio/dsr-es202211": { source: "iana" }, "audio/dsr-es202212": { source: "iana" }, "audio/dv": { source: "iana" }, "audio/dvi4": { source: "iana" }, "audio/eac3": { source: "iana" }, "audio/encaprtp": { source: "iana" }, "audio/evrc": { source: "iana" }, "audio/evrc-qcp": { source: "iana" }, "audio/evrc0": { source: "iana" }, "audio/evrc1": { source: "iana" }, "audio/evrcb": { source: "iana" }, "audio/evrcb0": { source: "iana" }, "audio/evrcb1": { source: "iana" }, "audio/evrcnw": { source: "iana" }, "audio/evrcnw0": { source: "iana" }, "audio/evrcnw1": { source: "iana" }, "audio/evrcwb": { source: "iana" }, "audio/evrcwb0": { source: "iana" }, "audio/evrcwb1": { source: "iana" }, "audio/evs": { source: "iana" }, "audio/flexfec": { source: "iana" }, "audio/fwdred": { source: "iana" }, "audio/g711-0": { source: "iana" }, "audio/g719": { source: "iana" }, "audio/g722": { source: "iana" }, "audio/g7221": { source: "iana" }, "audio/g723": { source: "iana" }, "audio/g726-16": { source: "iana" }, "audio/g726-24": { source: "iana" }, "audio/g726-32": { source: "iana" }, "audio/g726-40": { source: "iana" }, "audio/g728": { source: "iana" }, "audio/g729": { source: "iana" }, "audio/g7291": { source: "iana" }, "audio/g729d": { source: "iana" }, "audio/g729e": { source: "iana" }, "audio/gsm": { source: "iana" }, "audio/gsm-efr": { source: "iana" }, "audio/gsm-hr-08": { source: "iana" }, "audio/ilbc": { source: "iana" }, "audio/ip-mr_v2.5": { source: "iana" }, "audio/isac": { source: "apache" }, "audio/l16": { source: "iana" }, "audio/l20": { source: "iana" }, "audio/l24": { source: "iana", compressible: false }, "audio/l8": { source: "iana" }, "audio/lpc": { source: "iana" }, "audio/melp": { source: "iana" }, "audio/melp1200": { source: "iana" }, "audio/melp2400": { source: "iana" }, "audio/melp600": { source: "iana" }, "audio/mhas": { source: "iana" }, "audio/midi": { source: "apache", extensions: ["mid", "midi", "kar", "rmi"] }, "audio/mobile-xmf": { source: "iana", extensions: ["mxmf"] }, "audio/mp3": { compressible: false, extensions: ["mp3"] }, "audio/mp4": { source: "iana", compressible: false, extensions: ["m4a", "mp4a"] }, "audio/mp4a-latm": { source: "iana" }, "audio/mpa": { source: "iana" }, "audio/mpa-robust": { source: "iana" }, "audio/mpeg": { source: "iana", compressible: false, extensions: ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"] }, "audio/mpeg4-generic": { source: "iana" }, "audio/musepack": { source: "apache" }, "audio/ogg": { source: "iana", compressible: false, extensions: ["oga", "ogg", "spx", "opus"] }, "audio/opus": { source: "iana" }, "audio/parityfec": { source: "iana" }, "audio/pcma": { source: "iana" }, "audio/pcma-wb": { source: "iana" }, "audio/pcmu": { source: "iana" }, "audio/pcmu-wb": { source: "iana" }, "audio/prs.sid": { source: "iana" }, "audio/qcelp": { source: "iana" }, "audio/raptorfec": { source: "iana" }, "audio/red": { source: "iana" }, "audio/rtp-enc-aescm128": { source: "iana" }, "audio/rtp-midi": { source: "iana" }, "audio/rtploopback": { source: "iana" }, "audio/rtx": { source: "iana" }, "audio/s3m": { source: "apache", extensions: ["s3m"] }, "audio/scip": { source: "iana" }, "audio/silk": { source: "apache", extensions: ["sil"] }, "audio/smv": { source: "iana" }, "audio/smv-qcp": { source: "iana" }, "audio/smv0": { source: "iana" }, "audio/sofa": { source: "iana" }, "audio/sp-midi": { source: "iana" }, "audio/speex": { source: "iana" }, "audio/t140c": { source: "iana" }, "audio/t38": { source: "iana" }, "audio/telephone-event": { source: "iana" }, "audio/tetra_acelp": { source: "iana" }, "audio/tetra_acelp_bb": { source: "iana" }, "audio/tone": { source: "iana" }, "audio/tsvcis": { source: "iana" }, "audio/uemclip": { source: "iana" }, "audio/ulpfec": { source: "iana" }, "audio/usac": { source: "iana" }, "audio/vdvi": { source: "iana" }, "audio/vmr-wb": { source: "iana" }, "audio/vnd.3gpp.iufp": { source: "iana" }, "audio/vnd.4sb": { source: "iana" }, "audio/vnd.audiokoz": { source: "iana" }, "audio/vnd.celp": { source: "iana" }, "audio/vnd.cisco.nse": { source: "iana" }, "audio/vnd.cmles.radio-events": { source: "iana" }, "audio/vnd.cns.anp1": { source: "iana" }, "audio/vnd.cns.inf1": { source: "iana" }, "audio/vnd.dece.audio": { source: "iana", extensions: ["uva", "uvva"] }, "audio/vnd.digital-winds": { source: "iana", extensions: ["eol"] }, "audio/vnd.dlna.adts": { source: "iana" }, "audio/vnd.dolby.heaac.1": { source: "iana" }, "audio/vnd.dolby.heaac.2": { source: "iana" }, "audio/vnd.dolby.mlp": { source: "iana" }, "audio/vnd.dolby.mps": { source: "iana" }, "audio/vnd.dolby.pl2": { source: "iana" }, "audio/vnd.dolby.pl2x": { source: "iana" }, "audio/vnd.dolby.pl2z": { source: "iana" }, "audio/vnd.dolby.pulse.1": { source: "iana" }, "audio/vnd.dra": { source: "iana", extensions: ["dra"] }, "audio/vnd.dts": { source: "iana", extensions: ["dts"] }, "audio/vnd.dts.hd": { source: "iana", extensions: ["dtshd"] }, "audio/vnd.dts.uhd": { source: "iana" }, "audio/vnd.dvb.file": { source: "iana" }, "audio/vnd.everad.plj": { source: "iana" }, "audio/vnd.hns.audio": { source: "iana" }, "audio/vnd.lucent.voice": { source: "iana", extensions: ["lvp"] }, "audio/vnd.ms-playready.media.pya": { source: "iana", extensions: ["pya"] }, "audio/vnd.nokia.mobile-xmf": { source: "iana" }, "audio/vnd.nortel.vbk": { source: "iana" }, "audio/vnd.nuera.ecelp4800": { source: "iana", extensions: ["ecelp4800"] }, "audio/vnd.nuera.ecelp7470": { source: "iana", extensions: ["ecelp7470"] }, "audio/vnd.nuera.ecelp9600": { source: "iana", extensions: ["ecelp9600"] }, "audio/vnd.octel.sbc": { source: "iana" }, "audio/vnd.presonus.multitrack": { source: "iana" }, "audio/vnd.qcelp": { source: "iana" }, "audio/vnd.rhetorex.32kadpcm": { source: "iana" }, "audio/vnd.rip": { source: "iana", extensions: ["rip"] }, "audio/vnd.rn-realaudio": { compressible: false }, "audio/vnd.sealedmedia.softseal.mpeg": { source: "iana" }, "audio/vnd.vmx.cvsd": { source: "iana" }, "audio/vnd.wave": { compressible: false }, "audio/vorbis": { source: "iana", compressible: false }, "audio/vorbis-config": { source: "iana" }, "audio/wav": { compressible: false, extensions: ["wav"] }, "audio/wave": { compressible: false, extensions: ["wav"] }, "audio/webm": { source: "apache", compressible: false, extensions: ["weba"] }, "audio/x-aac": { source: "apache", compressible: false, extensions: ["aac"] }, "audio/x-aiff": { source: "apache", extensions: ["aif", "aiff", "aifc"] }, "audio/x-caf": { source: "apache", compressible: false, extensions: ["caf"] }, "audio/x-flac": { source: "apache", extensions: ["flac"] }, "audio/x-m4a": { source: "nginx", extensions: ["m4a"] }, "audio/x-matroska": { source: "apache", extensions: ["mka"] }, "audio/x-mpegurl": { source: "apache", extensions: ["m3u"] }, "audio/x-ms-wax": { source: "apache", extensions: ["wax"] }, "audio/x-ms-wma": { source: "apache", extensions: ["wma"] }, "audio/x-pn-realaudio": { source: "apache", extensions: ["ram", "ra"] }, "audio/x-pn-realaudio-plugin": { source: "apache", extensions: ["rmp"] }, "audio/x-realaudio": { source: "nginx", extensions: ["ra"] }, "audio/x-tta": { source: "apache" }, "audio/x-wav": { source: "apache", extensions: ["wav"] }, "audio/xm": { source: "apache", extensions: ["xm"] }, "chemical/x-cdx": { source: "apache", extensions: ["cdx"] }, "chemical/x-cif": { source: "apache", extensions: ["cif"] }, "chemical/x-cmdf": { source: "apache", extensions: ["cmdf"] }, "chemical/x-cml": { source: "apache", extensions: ["cml"] }, "chemical/x-csml": { source: "apache", extensions: ["csml"] }, "chemical/x-pdb": { source: "apache" }, "chemical/x-xyz": { source: "apache", extensions: ["xyz"] }, "font/collection": { source: "iana", extensions: ["ttc"] }, "font/otf": { source: "iana", compressible: true, extensions: ["otf"] }, "font/sfnt": { source: "iana" }, "font/ttf": { source: "iana", compressible: true, extensions: ["ttf"] }, "font/woff": { source: "iana", extensions: ["woff"] }, "font/woff2": { source: "iana", extensions: ["woff2"] }, "image/aces": { source: "iana", extensions: ["exr"] }, "image/apng": { compressible: false, extensions: ["apng"] }, "image/avci": { source: "iana", extensions: ["avci"] }, "image/avcs": { source: "iana", extensions: ["avcs"] }, "image/avif": { source: "iana", compressible: false, extensions: ["avif"] }, "image/bmp": { source: "iana", compressible: true, extensions: ["bmp"] }, "image/cgm": { source: "iana", extensions: ["cgm"] }, "image/dicom-rle": { source: "iana", extensions: ["drle"] }, "image/emf": { source: "iana", extensions: ["emf"] }, "image/fits": { source: "iana", extensions: ["fits"] }, "image/g3fax": { source: "iana", extensions: ["g3"] }, "image/gif": { source: "iana", compressible: false, extensions: ["gif"] }, "image/heic": { source: "iana", extensions: ["heic"] }, "image/heic-sequence": { source: "iana", extensions: ["heics"] }, "image/heif": { source: "iana", extensions: ["heif"] }, "image/heif-sequence": { source: "iana", extensions: ["heifs"] }, "image/hej2k": { source: "iana", extensions: ["hej2"] }, "image/hsj2": { source: "iana", extensions: ["hsj2"] }, "image/ief": { source: "iana", extensions: ["ief"] }, "image/jls": { source: "iana", extensions: ["jls"] }, "image/jp2": { source: "iana", compressible: false, extensions: ["jp2", "jpg2"] }, "image/jpeg": { source: "iana", compressible: false, extensions: ["jpeg", "jpg", "jpe"] }, "image/jph": { source: "iana", extensions: ["jph"] }, "image/jphc": { source: "iana", extensions: ["jhc"] }, "image/jpm": { source: "iana", compressible: false, extensions: ["jpm"] }, "image/jpx": { source: "iana", compressible: false, extensions: ["jpx", "jpf"] }, "image/jxr": { source: "iana", extensions: ["jxr"] }, "image/jxra": { source: "iana", extensions: ["jxra"] }, "image/jxrs": { source: "iana", extensions: ["jxrs"] }, "image/jxs": { source: "iana", extensions: ["jxs"] }, "image/jxsc": { source: "iana", extensions: ["jxsc"] }, "image/jxsi": { source: "iana", extensions: ["jxsi"] }, "image/jxss": { source: "iana", extensions: ["jxss"] }, "image/ktx": { source: "iana", extensions: ["ktx"] }, "image/ktx2": { source: "iana", extensions: ["ktx2"] }, "image/naplps": { source: "iana" }, "image/pjpeg": { compressible: false }, "image/png": { source: "iana", compressible: false, extensions: ["png"] }, "image/prs.btif": { source: "iana", extensions: ["btif"] }, "image/prs.pti": { source: "iana", extensions: ["pti"] }, "image/pwg-raster": { source: "iana" }, "image/sgi": { source: "apache", extensions: ["sgi"] }, "image/svg+xml": { source: "iana", compressible: true, extensions: ["svg", "svgz"] }, "image/t38": { source: "iana", extensions: ["t38"] }, "image/tiff": { source: "iana", compressible: false, extensions: ["tif", "tiff"] }, "image/tiff-fx": { source: "iana", extensions: ["tfx"] }, "image/vnd.adobe.photoshop": { source: "iana", compressible: true, extensions: ["psd"] }, "image/vnd.airzip.accelerator.azv": { source: "iana", extensions: ["azv"] }, "image/vnd.cns.inf2": { source: "iana" }, "image/vnd.dece.graphic": { source: "iana", extensions: ["uvi", "uvvi", "uvg", "uvvg"] }, "image/vnd.djvu": { source: "iana", extensions: ["djvu", "djv"] }, "image/vnd.dvb.subtitle": { source: "iana", extensions: ["sub"] }, "image/vnd.dwg": { source: "iana", extensions: ["dwg"] }, "image/vnd.dxf": { source: "iana", extensions: ["dxf"] }, "image/vnd.fastbidsheet": { source: "iana", extensions: ["fbs"] }, "image/vnd.fpx": { source: "iana", extensions: ["fpx"] }, "image/vnd.fst": { source: "iana", extensions: ["fst"] }, "image/vnd.fujixerox.edmics-mmr": { source: "iana", extensions: ["mmr"] }, "image/vnd.fujixerox.edmics-rlc": { source: "iana", extensions: ["rlc"] }, "image/vnd.globalgraphics.pgb": { source: "iana" }, "image/vnd.microsoft.icon": { source: "iana", compressible: true, extensions: ["ico"] }, "image/vnd.mix": { source: "iana" }, "image/vnd.mozilla.apng": { source: "iana" }, "image/vnd.ms-dds": { compressible: true, extensions: ["dds"] }, "image/vnd.ms-modi": { source: "iana", extensions: ["mdi"] }, "image/vnd.ms-photo": { source: "apache", extensions: ["wdp"] }, "image/vnd.net-fpx": { source: "iana", extensions: ["npx"] }, "image/vnd.pco.b16": { source: "iana", extensions: ["b16"] }, "image/vnd.radiance": { source: "iana" }, "image/vnd.sealed.png": { source: "iana" }, "image/vnd.sealedmedia.softseal.gif": { source: "iana" }, "image/vnd.sealedmedia.softseal.jpg": { source: "iana" }, "image/vnd.svf": { source: "iana" }, "image/vnd.tencent.tap": { source: "iana", extensions: ["tap"] }, "image/vnd.valve.source.texture": { source: "iana", extensions: ["vtf"] }, "image/vnd.wap.wbmp": { source: "iana", extensions: ["wbmp"] }, "image/vnd.xiff": { source: "iana", extensions: ["xif"] }, "image/vnd.zbrush.pcx": { source: "iana", extensions: ["pcx"] }, "image/webp": { source: "apache", extensions: ["webp"] }, "image/wmf": { source: "iana", extensions: ["wmf"] }, "image/x-3ds": { source: "apache", extensions: ["3ds"] }, "image/x-cmu-raster": { source: "apache", extensions: ["ras"] }, "image/x-cmx": { source: "apache", extensions: ["cmx"] }, "image/x-freehand": { source: "apache", extensions: ["fh", "fhc", "fh4", "fh5", "fh7"] }, "image/x-icon": { source: "apache", compressible: true, extensions: ["ico"] }, "image/x-jng": { source: "nginx", extensions: ["jng"] }, "image/x-mrsid-image": { source: "apache", extensions: ["sid"] }, "image/x-ms-bmp": { source: "nginx", compressible: true, extensions: ["bmp"] }, "image/x-pcx": { source: "apache", extensions: ["pcx"] }, "image/x-pict": { source: "apache", extensions: ["pic", "pct"] }, "image/x-portable-anymap": { source: "apache", extensions: ["pnm"] }, "image/x-portable-bitmap": { source: "apache", extensions: ["pbm"] }, "image/x-portable-graymap": { source: "apache", extensions: ["pgm"] }, "image/x-portable-pixmap": { source: "apache", extensions: ["ppm"] }, "image/x-rgb": { source: "apache", extensions: ["rgb"] }, "image/x-tga": { source: "apache", extensions: ["tga"] }, "image/x-xbitmap": { source: "apache", extensions: ["xbm"] }, "image/x-xcf": { compressible: false }, "image/x-xpixmap": { source: "apache", extensions: ["xpm"] }, "image/x-xwindowdump": { source: "apache", extensions: ["xwd"] }, "message/cpim": { source: "iana" }, "message/delivery-status": { source: "iana" }, "message/disposition-notification": { source: "iana", extensions: ["disposition-notification"] }, "message/external-body": { source: "iana" }, "message/feedback-report": { source: "iana" }, "message/global": { source: "iana", extensions: ["u8msg"] }, "message/global-delivery-status": { source: "iana", extensions: ["u8dsn"] }, "message/global-disposition-notification": { source: "iana", extensions: ["u8mdn"] }, "message/global-headers": { source: "iana", extensions: ["u8hdr"] }, "message/http": { source: "iana", compressible: false }, "message/imdn+xml": { source: "iana", compressible: true }, "message/news": { source: "iana" }, "message/partial": { source: "iana", compressible: false }, "message/rfc822": { source: "iana", compressible: true, extensions: ["eml", "mime"] }, "message/s-http": { source: "iana" }, "message/sip": { source: "iana" }, "message/sipfrag": { source: "iana" }, "message/tracking-status": { source: "iana" }, "message/vnd.si.simp": { source: "iana" }, "message/vnd.wfa.wsc": { source: "iana", extensions: ["wsc"] }, "model/3mf": { source: "iana", extensions: ["3mf"] }, "model/e57": { source: "iana" }, "model/gltf+json": { source: "iana", compressible: true, extensions: ["gltf"] }, "model/gltf-binary": { source: "iana", compressible: true, extensions: ["glb"] }, "model/iges": { source: "iana", compressible: false, extensions: ["igs", "iges"] }, "model/mesh": { source: "iana", compressible: false, extensions: ["msh", "mesh", "silo"] }, "model/mtl": { source: "iana", extensions: ["mtl"] }, "model/obj": { source: "iana", extensions: ["obj"] }, "model/step": { source: "iana" }, "model/step+xml": { source: "iana", compressible: true, extensions: ["stpx"] }, "model/step+zip": { source: "iana", compressible: false, extensions: ["stpz"] }, "model/step-xml+zip": { source: "iana", compressible: false, extensions: ["stpxz"] }, "model/stl": { source: "iana", extensions: ["stl"] }, "model/vnd.collada+xml": { source: "iana", compressible: true, extensions: ["dae"] }, "model/vnd.dwf": { source: "iana", extensions: ["dwf"] }, "model/vnd.flatland.3dml": { source: "iana" }, "model/vnd.gdl": { source: "iana", extensions: ["gdl"] }, "model/vnd.gs-gdl": { source: "apache" }, "model/vnd.gs.gdl": { source: "iana" }, "model/vnd.gtw": { source: "iana", extensions: ["gtw"] }, "model/vnd.moml+xml": { source: "iana", compressible: true }, "model/vnd.mts": { source: "iana", extensions: ["mts"] }, "model/vnd.opengex": { source: "iana", extensions: ["ogex"] }, "model/vnd.parasolid.transmit.binary": { source: "iana", extensions: ["x_b"] }, "model/vnd.parasolid.transmit.text": { source: "iana", extensions: ["x_t"] }, "model/vnd.pytha.pyox": { source: "iana" }, "model/vnd.rosette.annotated-data-model": { source: "iana" }, "model/vnd.sap.vds": { source: "iana", extensions: ["vds"] }, "model/vnd.usdz+zip": { source: "iana", compressible: false, extensions: ["usdz"] }, "model/vnd.valve.source.compiled-map": { source: "iana", extensions: ["bsp"] }, "model/vnd.vtu": { source: "iana", extensions: ["vtu"] }, "model/vrml": { source: "iana", compressible: false, extensions: ["wrl", "vrml"] }, "model/x3d+binary": { source: "apache", compressible: false, extensions: ["x3db", "x3dbz"] }, "model/x3d+fastinfoset": { source: "iana", extensions: ["x3db"] }, "model/x3d+vrml": { source: "apache", compressible: false, extensions: ["x3dv", "x3dvz"] }, "model/x3d+xml": { source: "iana", compressible: true, extensions: ["x3d", "x3dz"] }, "model/x3d-vrml": { source: "iana", extensions: ["x3dv"] }, "multipart/alternative": { source: "iana", compressible: false }, "multipart/appledouble": { source: "iana" }, "multipart/byteranges": { source: "iana" }, "multipart/digest": { source: "iana" }, "multipart/encrypted": { source: "iana", compressible: false }, "multipart/form-data": { source: "iana", compressible: false }, "multipart/header-set": { source: "iana" }, "multipart/mixed": { source: "iana" }, "multipart/multilingual": { source: "iana" }, "multipart/parallel": { source: "iana" }, "multipart/related": { source: "iana", compressible: false }, "multipart/report": { source: "iana" }, "multipart/signed": { source: "iana", compressible: false }, "multipart/vnd.bint.med-plus": { source: "iana" }, "multipart/voice-message": { source: "iana" }, "multipart/x-mixed-replace": { source: "iana" }, "text/1d-interleaved-parityfec": { source: "iana" }, "text/cache-manifest": { source: "iana", compressible: true, extensions: ["appcache", "manifest"] }, "text/calendar": { source: "iana", extensions: ["ics", "ifb"] }, "text/calender": { compressible: true }, "text/cmd": { compressible: true }, "text/coffeescript": { extensions: ["coffee", "litcoffee"] }, "text/cql": { source: "iana" }, "text/cql-expression": { source: "iana" }, "text/cql-identifier": { source: "iana" }, "text/css": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["css"] }, "text/csv": { source: "iana", compressible: true, extensions: ["csv"] }, "text/csv-schema": { source: "iana" }, "text/directory": { source: "iana" }, "text/dns": { source: "iana" }, "text/ecmascript": { source: "iana" }, "text/encaprtp": { source: "iana" }, "text/enriched": { source: "iana" }, "text/fhirpath": { source: "iana" }, "text/flexfec": { source: "iana" }, "text/fwdred": { source: "iana" }, "text/gff3": { source: "iana" }, "text/grammar-ref-list": { source: "iana" }, "text/html": { source: "iana", compressible: true, extensions: ["html", "htm", "shtml"] }, "text/jade": { extensions: ["jade"] }, "text/javascript": { source: "iana", compressible: true }, "text/jcr-cnd": { source: "iana" }, "text/jsx": { compressible: true, extensions: ["jsx"] }, "text/less": { compressible: true, extensions: ["less"] }, "text/markdown": { source: "iana", compressible: true, extensions: ["markdown", "md"] }, "text/mathml": { source: "nginx", extensions: ["mml"] }, "text/mdx": { compressible: true, extensions: ["mdx"] }, "text/mizar": { source: "iana" }, "text/n3": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["n3"] }, "text/parameters": { source: "iana", charset: "UTF-8" }, "text/parityfec": { source: "iana" }, "text/plain": { source: "iana", compressible: true, extensions: ["txt", "text", "conf", "def", "list", "log", "in", "ini"] }, "text/provenance-notation": { source: "iana", charset: "UTF-8" }, "text/prs.fallenstein.rst": { source: "iana" }, "text/prs.lines.tag": { source: "iana", extensions: ["dsc"] }, "text/prs.prop.logic": { source: "iana" }, "text/raptorfec": { source: "iana" }, "text/red": { source: "iana" }, "text/rfc822-headers": { source: "iana" }, "text/richtext": { source: "iana", compressible: true, extensions: ["rtx"] }, "text/rtf": { source: "iana", compressible: true, extensions: ["rtf"] }, "text/rtp-enc-aescm128": { source: "iana" }, "text/rtploopback": { source: "iana" }, "text/rtx": { source: "iana" }, "text/sgml": { source: "iana", extensions: ["sgml", "sgm"] }, "text/shaclc": { source: "iana" }, "text/shex": { source: "iana", extensions: ["shex"] }, "text/slim": { extensions: ["slim", "slm"] }, "text/spdx": { source: "iana", extensions: ["spdx"] }, "text/strings": { source: "iana" }, "text/stylus": { extensions: ["stylus", "styl"] }, "text/t140": { source: "iana" }, "text/tab-separated-values": { source: "iana", compressible: true, extensions: ["tsv"] }, "text/troff": { source: "iana", extensions: ["t", "tr", "roff", "man", "me", "ms"] }, "text/turtle": { source: "iana", charset: "UTF-8", extensions: ["ttl"] }, "text/ulpfec": { source: "iana" }, "text/uri-list": { source: "iana", compressible: true, extensions: ["uri", "uris", "urls"] }, "text/vcard": { source: "iana", compressible: true, extensions: ["vcard"] }, "text/vnd.a": { source: "iana" }, "text/vnd.abc": { source: "iana" }, "text/vnd.ascii-art": { source: "iana" }, "text/vnd.curl": { source: "iana", extensions: ["curl"] }, "text/vnd.curl.dcurl": { source: "apache", extensions: ["dcurl"] }, "text/vnd.curl.mcurl": { source: "apache", extensions: ["mcurl"] }, "text/vnd.curl.scurl": { source: "apache", extensions: ["scurl"] }, "text/vnd.debian.copyright": { source: "iana", charset: "UTF-8" }, "text/vnd.dmclientscript": { source: "iana" }, "text/vnd.dvb.subtitle": { source: "iana", extensions: ["sub"] }, "text/vnd.esmertec.theme-descriptor": { source: "iana", charset: "UTF-8" }, "text/vnd.familysearch.gedcom": { source: "iana", extensions: ["ged"] }, "text/vnd.ficlab.flt": { source: "iana" }, "text/vnd.fly": { source: "iana", extensions: ["fly"] }, "text/vnd.fmi.flexstor": { source: "iana", extensions: ["flx"] }, "text/vnd.gml": { source: "iana" }, "text/vnd.graphviz": { source: "iana", extensions: ["gv"] }, "text/vnd.hans": { source: "iana" }, "text/vnd.hgl": { source: "iana" }, "text/vnd.in3d.3dml": { source: "iana", extensions: ["3dml"] }, "text/vnd.in3d.spot": { source: "iana", extensions: ["spot"] }, "text/vnd.iptc.newsml": { source: "iana" }, "text/vnd.iptc.nitf": { source: "iana" }, "text/vnd.latex-z": { source: "iana" }, "text/vnd.motorola.reflex": { source: "iana" }, "text/vnd.ms-mediapackage": { source: "iana" }, "text/vnd.net2phone.commcenter.command": { source: "iana" }, "text/vnd.radisys.msml-basic-layout": { source: "iana" }, "text/vnd.senx.warpscript": { source: "iana" }, "text/vnd.si.uricatalogue": { source: "iana" }, "text/vnd.sosi": { source: "iana" }, "text/vnd.sun.j2me.app-descriptor": { source: "iana", charset: "UTF-8", extensions: ["jad"] }, "text/vnd.trolltech.linguist": { source: "iana", charset: "UTF-8" }, "text/vnd.wap.si": { source: "iana" }, "text/vnd.wap.sl": { source: "iana" }, "text/vnd.wap.wml": { source: "iana", extensions: ["wml"] }, "text/vnd.wap.wmlscript": { source: "iana", extensions: ["wmls"] }, "text/vtt": { source: "iana", charset: "UTF-8", compressible: true, extensions: ["vtt"] }, "text/x-asm": { source: "apache", extensions: ["s", "asm"] }, "text/x-c": { source: "apache", extensions: ["c", "cc", "cxx", "cpp", "h", "hh", "dic"] }, "text/x-component": { source: "nginx", extensions: ["htc"] }, "text/x-fortran": { source: "apache", extensions: ["f", "for", "f77", "f90"] }, "text/x-gwt-rpc": { compressible: true }, "text/x-handlebars-template": { extensions: ["hbs"] }, "text/x-java-source": { source: "apache", extensions: ["java"] }, "text/x-jquery-tmpl": { compressible: true }, "text/x-lua": { extensions: ["lua"] }, "text/x-markdown": { compressible: true, extensions: ["mkd"] }, "text/x-nfo": { source: "apache", extensions: ["nfo"] }, "text/x-opml": { source: "apache", extensions: ["opml"] }, "text/x-org": { compressible: true, extensions: ["org"] }, "text/x-pascal": { source: "apache", extensions: ["p", "pas"] }, "text/x-processing": { compressible: true, extensions: ["pde"] }, "text/x-sass": { extensions: ["sass"] }, "text/x-scss": { extensions: ["scss"] }, "text/x-setext": { source: "apache", extensions: ["etx"] }, "text/x-sfv": { source: "apache", extensions: ["sfv"] }, "text/x-suse-ymp": { compressible: true, extensions: ["ymp"] }, "text/x-uuencode": { source: "apache", extensions: ["uu"] }, "text/x-vcalendar": { source: "apache", extensions: ["vcs"] }, "text/x-vcard": { source: "apache", extensions: ["vcf"] }, "text/xml": { source: "iana", compressible: true, extensions: ["xml"] }, "text/xml-external-parsed-entity": { source: "iana" }, "text/yaml": { compressible: true, extensions: ["yaml", "yml"] }, "video/1d-interleaved-parityfec": { source: "iana" }, "video/3gpp": { source: "iana", extensions: ["3gp", "3gpp"] }, "video/3gpp-tt": { source: "iana" }, "video/3gpp2": { source: "iana", extensions: ["3g2"] }, "video/av1": { source: "iana" }, "video/bmpeg": { source: "iana" }, "video/bt656": { source: "iana" }, "video/celb": { source: "iana" }, "video/dv": { source: "iana" }, "video/encaprtp": { source: "iana" }, "video/ffv1": { source: "iana" }, "video/flexfec": { source: "iana" }, "video/h261": { source: "iana", extensions: ["h261"] }, "video/h263": { source: "iana", extensions: ["h263"] }, "video/h263-1998": { source: "iana" }, "video/h263-2000": { source: "iana" }, "video/h264": { source: "iana", extensions: ["h264"] }, "video/h264-rcdo": { source: "iana" }, "video/h264-svc": { source: "iana" }, "video/h265": { source: "iana" }, "video/iso.segment": { source: "iana", extensions: ["m4s"] }, "video/jpeg": { source: "iana", extensions: ["jpgv"] }, "video/jpeg2000": { source: "iana" }, "video/jpm": { source: "apache", extensions: ["jpm", "jpgm"] }, "video/jxsv": { source: "iana" }, "video/mj2": { source: "iana", extensions: ["mj2", "mjp2"] }, "video/mp1s": { source: "iana" }, "video/mp2p": { source: "iana" }, "video/mp2t": { source: "iana", extensions: ["ts"] }, "video/mp4": { source: "iana", compressible: false, extensions: ["mp4", "mp4v", "mpg4"] }, "video/mp4v-es": { source: "iana" }, "video/mpeg": { source: "iana", compressible: false, extensions: ["mpeg", "mpg", "mpe", "m1v", "m2v"] }, "video/mpeg4-generic": { source: "iana" }, "video/mpv": { source: "iana" }, "video/nv": { source: "iana" }, "video/ogg": { source: "iana", compressible: false, extensions: ["ogv"] }, "video/parityfec": { source: "iana" }, "video/pointer": { source: "iana" }, "video/quicktime": { source: "iana", compressible: false, extensions: ["qt", "mov"] }, "video/raptorfec": { source: "iana" }, "video/raw": { source: "iana" }, "video/rtp-enc-aescm128": { source: "iana" }, "video/rtploopback": { source: "iana" }, "video/rtx": { source: "iana" }, "video/scip": { source: "iana" }, "video/smpte291": { source: "iana" }, "video/smpte292m": { source: "iana" }, "video/ulpfec": { source: "iana" }, "video/vc1": { source: "iana" }, "video/vc2": { source: "iana" }, "video/vnd.cctv": { source: "iana" }, "video/vnd.dece.hd": { source: "iana", extensions: ["uvh", "uvvh"] }, "video/vnd.dece.mobile": { source: "iana", extensions: ["uvm", "uvvm"] }, "video/vnd.dece.mp4": { source: "iana" }, "video/vnd.dece.pd": { source: "iana", extensions: ["uvp", "uvvp"] }, "video/vnd.dece.sd": { source: "iana", extensions: ["uvs", "uvvs"] }, "video/vnd.dece.video": { source: "iana", extensions: ["uvv", "uvvv"] }, "video/vnd.directv.mpeg": { source: "iana" }, "video/vnd.directv.mpeg-tts": { source: "iana" }, "video/vnd.dlna.mpeg-tts": { source: "iana" }, "video/vnd.dvb.file": { source: "iana", extensions: ["dvb"] }, "video/vnd.fvt": { source: "iana", extensions: ["fvt"] }, "video/vnd.hns.video": { source: "iana" }, "video/vnd.iptvforum.1dparityfec-1010": { source: "iana" }, "video/vnd.iptvforum.1dparityfec-2005": { source: "iana" }, "video/vnd.iptvforum.2dparityfec-1010": { source: "iana" }, "video/vnd.iptvforum.2dparityfec-2005": { source: "iana" }, "video/vnd.iptvforum.ttsavc": { source: "iana" }, "video/vnd.iptvforum.ttsmpeg2": { source: "iana" }, "video/vnd.motorola.video": { source: "iana" }, "video/vnd.motorola.videop": { source: "iana" }, "video/vnd.mpegurl": { source: "iana", extensions: ["mxu", "m4u"] }, "video/vnd.ms-playready.media.pyv": { source: "iana", extensions: ["pyv"] }, "video/vnd.nokia.interleaved-multimedia": { source: "iana" }, "video/vnd.nokia.mp4vr": { source: "iana" }, "video/vnd.nokia.videovoip": { source: "iana" }, "video/vnd.objectvideo": { source: "iana" }, "video/vnd.radgamettools.bink": { source: "iana" }, "video/vnd.radgamettools.smacker": { source: "iana" }, "video/vnd.sealed.mpeg1": { source: "iana" }, "video/vnd.sealed.mpeg4": { source: "iana" }, "video/vnd.sealed.swf": { source: "iana" }, "video/vnd.sealedmedia.softseal.mov": { source: "iana" }, "video/vnd.uvvu.mp4": { source: "iana", extensions: ["uvu", "uvvu"] }, "video/vnd.vivo": { source: "iana", extensions: ["viv"] }, "video/vnd.youtube.yt": { source: "iana" }, "video/vp8": { source: "iana" }, "video/vp9": { source: "iana" }, "video/webm": { source: "apache", compressible: false, extensions: ["webm"] }, "video/x-f4v": { source: "apache", extensions: ["f4v"] }, "video/x-fli": { source: "apache", extensions: ["fli"] }, "video/x-flv": { source: "apache", compressible: false, extensions: ["flv"] }, "video/x-m4v": { source: "apache", extensions: ["m4v"] }, "video/x-matroska": { source: "apache", compressible: false, extensions: ["mkv", "mk3d", "mks"] }, "video/x-mng": { source: "apache", extensions: ["mng"] }, "video/x-ms-asf": { source: "apache", extensions: ["asf", "asx"] }, "video/x-ms-vob": { source: "apache", extensions: ["vob"] }, "video/x-ms-wm": { source: "apache", extensions: ["wm"] }, "video/x-ms-wmv": { source: "apache", compressible: false, extensions: ["wmv"] }, "video/x-ms-wmx": { source: "apache", extensions: ["wmx"] }, "video/x-ms-wvx": { source: "apache", extensions: ["wvx"] }, "video/x-msvideo": { source: "apache", extensions: ["avi"] }, "video/x-sgi-movie": { source: "apache", extensions: ["movie"] }, "video/x-smv": { source: "apache", extensions: ["smv"] }, "x-conference/x-cooltalk": { source: "apache", extensions: ["ice"] }, "x-shader/x-fragment": { compressible: true }, "x-shader/x-vertex": { compressible: true } };
|
|
4540
4574
|
});
|
|
4541
|
-
var Bv =
|
|
4575
|
+
var Bv = z4((gM, Vv) => {
|
|
4542
4576
|
/*!
|
|
4543
4577
|
* mime-db
|
|
4544
4578
|
* Copyright(c) 2014 Jonathan Ong
|
|
@@ -4547,7 +4581,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4547
4581
|
*/
|
|
4548
4582
|
Vv.exports = qv();
|
|
4549
4583
|
});
|
|
4550
|
-
var Fv =
|
|
4584
|
+
var Fv = z4((dc) => {
|
|
4551
4585
|
/*!
|
|
4552
4586
|
* mime-types
|
|
4553
4587
|
* Copyright(c) 2014 Jonathan Ong
|
|
@@ -4621,7 +4655,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4621
4655
|
});
|
|
4622
4656
|
}
|
|
4623
4657
|
});
|
|
4624
|
-
var Nv =
|
|
4658
|
+
var Nv = z4((oM, Kv) => {
|
|
4625
4659
|
Kv.exports = WQ;
|
|
4626
4660
|
function WQ(c) {
|
|
4627
4661
|
var i = typeof setImmediate == "function" ? setImmediate : typeof process == "object" && typeof process.nextTick == "function" ? process.nextTick : null;
|
|
@@ -4631,7 +4665,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4631
4665
|
setTimeout(c, 0);
|
|
4632
4666
|
}
|
|
4633
4667
|
});
|
|
4634
|
-
var Rp =
|
|
4668
|
+
var Rp = z4((rM, Uv) => {
|
|
4635
4669
|
var lv = Nv();
|
|
4636
4670
|
Uv.exports = XQ;
|
|
4637
4671
|
function XQ(c) {
|
|
@@ -4648,7 +4682,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4648
4682
|
};
|
|
4649
4683
|
}
|
|
4650
4684
|
});
|
|
4651
|
-
var fp =
|
|
4685
|
+
var fp = z4((eM, Dv) => {
|
|
4652
4686
|
Dv.exports = GQ;
|
|
4653
4687
|
function GQ(c) {
|
|
4654
4688
|
Object.keys(c.jobs).forEach(zQ.bind(c)), c.jobs = {};
|
|
@@ -4658,7 +4692,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4658
4692
|
this.jobs[c]();
|
|
4659
4693
|
}
|
|
4660
4694
|
});
|
|
4661
|
-
var Zp =
|
|
4695
|
+
var Zp = z4((tM, Iv) => {
|
|
4662
4696
|
var Lv = Rp(), HQ = fp();
|
|
4663
4697
|
Iv.exports = $Q;
|
|
4664
4698
|
function $Q(c, i, n, a) {
|
|
@@ -4682,7 +4716,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4682
4716
|
return x;
|
|
4683
4717
|
}
|
|
4684
4718
|
});
|
|
4685
|
-
var Pp =
|
|
4719
|
+
var Pp = z4((cF, bv) => {
|
|
4686
4720
|
bv.exports = VQ;
|
|
4687
4721
|
function VQ(c, i) {
|
|
4688
4722
|
var n = !Array.isArray(c), a = { index: 0, keyedList: n || i ? Object.keys(c) : null, jobs: {}, results: n ? {} : [], size: n ? Object.keys(c).length : c.length };
|
|
@@ -4693,7 +4727,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4693
4727
|
return a;
|
|
4694
4728
|
}
|
|
4695
4729
|
});
|
|
4696
|
-
var Tp =
|
|
4730
|
+
var Tp = z4((iF, Ov) => {
|
|
4697
4731
|
var BQ = fp(), uQ = Rp();
|
|
4698
4732
|
Ov.exports = MQ;
|
|
4699
4733
|
function MQ(c) {
|
|
@@ -4702,7 +4736,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4702
4736
|
this.index = this.size, BQ(this), uQ(c)(null, this.results);
|
|
4703
4737
|
}
|
|
4704
4738
|
});
|
|
4705
|
-
var Av =
|
|
4739
|
+
var Av = z4((nF, Sv) => {
|
|
4706
4740
|
var FQ = Zp(), KQ = Pp(), NQ = Tp();
|
|
4707
4741
|
Sv.exports = lQ;
|
|
4708
4742
|
function lQ(c, i, n) {
|
|
@@ -4721,7 +4755,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4721
4755
|
return NQ.bind(a, n);
|
|
4722
4756
|
}
|
|
4723
4757
|
});
|
|
4724
|
-
var Ep =
|
|
4758
|
+
var Ep = z4((aF, Xx) => {
|
|
4725
4759
|
var Cv = Zp(), UQ = Pp(), DQ = Tp();
|
|
4726
4760
|
Xx.exports = LQ;
|
|
4727
4761
|
Xx.exports.ascending = Rv;
|
|
@@ -4747,64 +4781,64 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4747
4781
|
return -1 * Rv(c, i);
|
|
4748
4782
|
}
|
|
4749
4783
|
});
|
|
4750
|
-
var Zv =
|
|
4784
|
+
var Zv = z4((xF, fv) => {
|
|
4751
4785
|
var bQ = Ep();
|
|
4752
4786
|
fv.exports = OQ;
|
|
4753
4787
|
function OQ(c, i, n) {
|
|
4754
4788
|
return bQ(c, i, null, n);
|
|
4755
4789
|
}
|
|
4756
4790
|
});
|
|
4757
|
-
var Tv =
|
|
4791
|
+
var Tv = z4((pF, Pv) => {
|
|
4758
4792
|
Pv.exports = { parallel: Av(), serial: Zv(), serialOrdered: Ep() };
|
|
4759
4793
|
});
|
|
4760
|
-
var kp =
|
|
4794
|
+
var kp = z4((vF, Ev) => {
|
|
4761
4795
|
Ev.exports = Object;
|
|
4762
4796
|
});
|
|
4763
|
-
var jv =
|
|
4797
|
+
var jv = z4((mF, kv) => {
|
|
4764
4798
|
kv.exports = Error;
|
|
4765
4799
|
});
|
|
4766
|
-
var dv =
|
|
4800
|
+
var dv = z4((QF, hv) => {
|
|
4767
4801
|
hv.exports = EvalError;
|
|
4768
4802
|
});
|
|
4769
|
-
var sv =
|
|
4803
|
+
var sv = z4((wF, _v) => {
|
|
4770
4804
|
_v.exports = RangeError;
|
|
4771
4805
|
});
|
|
4772
|
-
var yv =
|
|
4806
|
+
var yv = z4((JF, gv) => {
|
|
4773
4807
|
gv.exports = ReferenceError;
|
|
4774
4808
|
});
|
|
4775
|
-
var rv =
|
|
4809
|
+
var rv = z4((YF, ov) => {
|
|
4776
4810
|
ov.exports = SyntaxError;
|
|
4777
4811
|
});
|
|
4778
|
-
var Pi =
|
|
4812
|
+
var Pi = z4((WF, ev) => {
|
|
4779
4813
|
ev.exports = TypeError;
|
|
4780
4814
|
});
|
|
4781
|
-
var c8 =
|
|
4815
|
+
var c8 = z4((XF, tv) => {
|
|
4782
4816
|
tv.exports = URIError;
|
|
4783
4817
|
});
|
|
4784
|
-
var n8 =
|
|
4818
|
+
var n8 = z4((GF, i8) => {
|
|
4785
4819
|
i8.exports = Math.abs;
|
|
4786
4820
|
});
|
|
4787
|
-
var x8 =
|
|
4821
|
+
var x8 = z4((zF, a8) => {
|
|
4788
4822
|
a8.exports = Math.floor;
|
|
4789
4823
|
});
|
|
4790
|
-
var v8 =
|
|
4824
|
+
var v8 = z4((HF, p8) => {
|
|
4791
4825
|
p8.exports = Math.max;
|
|
4792
4826
|
});
|
|
4793
|
-
var Q8 =
|
|
4827
|
+
var Q8 = z4(($F, m8) => {
|
|
4794
4828
|
m8.exports = Math.min;
|
|
4795
4829
|
});
|
|
4796
|
-
var J8 =
|
|
4830
|
+
var J8 = z4((qF, w8) => {
|
|
4797
4831
|
w8.exports = Math.pow;
|
|
4798
4832
|
});
|
|
4799
|
-
var W8 =
|
|
4833
|
+
var W8 = z4((VF, Y8) => {
|
|
4800
4834
|
Y8.exports = Math.round;
|
|
4801
4835
|
});
|
|
4802
|
-
var G8 =
|
|
4836
|
+
var G8 = z4((BF, X8) => {
|
|
4803
4837
|
X8.exports = Number.isNaN || function(i) {
|
|
4804
4838
|
return i !== i;
|
|
4805
4839
|
};
|
|
4806
4840
|
});
|
|
4807
|
-
var H8 =
|
|
4841
|
+
var H8 = z4((uF, z8) => {
|
|
4808
4842
|
var SQ = G8();
|
|
4809
4843
|
z8.exports = function(i) {
|
|
4810
4844
|
if (SQ(i) || i === 0)
|
|
@@ -4812,10 +4846,10 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4812
4846
|
return i < 0 ? -1 : 1;
|
|
4813
4847
|
};
|
|
4814
4848
|
});
|
|
4815
|
-
var q8 =
|
|
4849
|
+
var q8 = z4((MF, $8) => {
|
|
4816
4850
|
$8.exports = Object.getOwnPropertyDescriptor;
|
|
4817
4851
|
});
|
|
4818
|
-
var jp =
|
|
4852
|
+
var jp = z4((FF, V8) => {
|
|
4819
4853
|
var Gx = q8();
|
|
4820
4854
|
if (Gx)
|
|
4821
4855
|
try {
|
|
@@ -4825,7 +4859,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4825
4859
|
}
|
|
4826
4860
|
V8.exports = Gx;
|
|
4827
4861
|
});
|
|
4828
|
-
var u8 =
|
|
4862
|
+
var u8 = z4((KF, B8) => {
|
|
4829
4863
|
var zx = Object.defineProperty || false;
|
|
4830
4864
|
if (zx)
|
|
4831
4865
|
try {
|
|
@@ -4835,7 +4869,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4835
4869
|
}
|
|
4836
4870
|
B8.exports = zx;
|
|
4837
4871
|
});
|
|
4838
|
-
var hp =
|
|
4872
|
+
var hp = z4((NF, M8) => {
|
|
4839
4873
|
M8.exports = function() {
|
|
4840
4874
|
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function")
|
|
4841
4875
|
return false;
|
|
@@ -4869,7 +4903,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4869
4903
|
return true;
|
|
4870
4904
|
};
|
|
4871
4905
|
});
|
|
4872
|
-
var N8 =
|
|
4906
|
+
var N8 = z4((lF, K8) => {
|
|
4873
4907
|
var F8 = typeof Symbol < "u" && Symbol, AQ = hp();
|
|
4874
4908
|
K8.exports = function() {
|
|
4875
4909
|
if (typeof F8 !== "function")
|
|
@@ -4883,14 +4917,14 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4883
4917
|
return AQ();
|
|
4884
4918
|
};
|
|
4885
4919
|
});
|
|
4886
|
-
var dp =
|
|
4920
|
+
var dp = z4((UF, l8) => {
|
|
4887
4921
|
l8.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
4888
4922
|
});
|
|
4889
|
-
var _p =
|
|
4923
|
+
var _p = z4((DF, U8) => {
|
|
4890
4924
|
var CQ = kp();
|
|
4891
4925
|
U8.exports = CQ.getPrototypeOf || null;
|
|
4892
4926
|
});
|
|
4893
|
-
var I8 =
|
|
4927
|
+
var I8 = z4((LF, L8) => {
|
|
4894
4928
|
var RQ = "Function.prototype.bind called on incompatible ", fQ = Object.prototype.toString, ZQ = Math.max, PQ = "[object Function]", D8 = function(i, n) {
|
|
4895
4929
|
var a = [];
|
|
4896
4930
|
for (var x = 0;x < i.length; x += 1)
|
|
@@ -4932,24 +4966,24 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4932
4966
|
return x;
|
|
4933
4967
|
};
|
|
4934
4968
|
});
|
|
4935
|
-
var Ya =
|
|
4969
|
+
var Ya = z4((IF, b8) => {
|
|
4936
4970
|
var kQ = I8();
|
|
4937
4971
|
b8.exports = Function.prototype.bind || kQ;
|
|
4938
4972
|
});
|
|
4939
|
-
var Hx =
|
|
4973
|
+
var Hx = z4((bF, O8) => {
|
|
4940
4974
|
O8.exports = Function.prototype.call;
|
|
4941
4975
|
});
|
|
4942
|
-
var sp =
|
|
4976
|
+
var sp = z4((OF, S8) => {
|
|
4943
4977
|
S8.exports = Function.prototype.apply;
|
|
4944
4978
|
});
|
|
4945
|
-
var C8 =
|
|
4979
|
+
var C8 = z4((SF, A8) => {
|
|
4946
4980
|
A8.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
|
|
4947
4981
|
});
|
|
4948
|
-
var f8 =
|
|
4982
|
+
var f8 = z4((AF, R8) => {
|
|
4949
4983
|
var jQ = Ya(), hQ = sp(), dQ = Hx(), _Q = C8();
|
|
4950
4984
|
R8.exports = _Q || jQ.call(dQ, hQ);
|
|
4951
4985
|
});
|
|
4952
|
-
var gp =
|
|
4986
|
+
var gp = z4((CF, Z8) => {
|
|
4953
4987
|
var sQ = Ya(), gQ = Pi(), yQ = Hx(), oQ = f8();
|
|
4954
4988
|
Z8.exports = function(i) {
|
|
4955
4989
|
if (i.length < 1 || typeof i[0] !== "function")
|
|
@@ -4957,7 +4991,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4957
4991
|
return oQ(sQ, yQ, i);
|
|
4958
4992
|
};
|
|
4959
4993
|
});
|
|
4960
|
-
var h8 =
|
|
4994
|
+
var h8 = z4((RF, j8) => {
|
|
4961
4995
|
var rQ = gp(), P8 = jp(), E8;
|
|
4962
4996
|
try {
|
|
4963
4997
|
E8 = [].__proto__ === Array.prototype;
|
|
@@ -4970,7 +5004,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4970
5004
|
return T8(i == null ? i : k8(i));
|
|
4971
5005
|
} : false;
|
|
4972
5006
|
});
|
|
4973
|
-
var y8 =
|
|
5007
|
+
var y8 = z4((fF, g8) => {
|
|
4974
5008
|
var d8 = dp(), _8 = _p(), s8 = h8();
|
|
4975
5009
|
g8.exports = d8 ? function(i) {
|
|
4976
5010
|
return d8(i);
|
|
@@ -4982,11 +5016,11 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
4982
5016
|
return s8(i);
|
|
4983
5017
|
} : null;
|
|
4984
5018
|
});
|
|
4985
|
-
var $x =
|
|
5019
|
+
var $x = z4((ZF, o8) => {
|
|
4986
5020
|
var eQ = Function.prototype.call, tQ = Object.prototype.hasOwnProperty, cw = Ya();
|
|
4987
5021
|
o8.exports = cw.call(eQ, tQ);
|
|
4988
5022
|
});
|
|
4989
|
-
var za =
|
|
5023
|
+
var za = z4((PF, im) => {
|
|
4990
5024
|
var g, iw = kp(), nw = jv(), aw = dv(), xw = sv(), pw = yv(), Un = rv(), ln = Pi(), vw = c8(), mw = n8(), Qw = x8(), ww = v8(), Jw = Q8(), Yw = J8(), Ww = W8(), Xw = H8(), t8 = Function, op = function(c) {
|
|
4991
5025
|
try {
|
|
4992
5026
|
return t8('"use strict"; return (' + c + ").constructor;")();
|
|
@@ -5091,13 +5125,13 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5091
5125
|
return m;
|
|
5092
5126
|
};
|
|
5093
5127
|
});
|
|
5094
|
-
var am =
|
|
5128
|
+
var am = z4((TF, nm) => {
|
|
5095
5129
|
var Uw = hp();
|
|
5096
5130
|
nm.exports = function() {
|
|
5097
5131
|
return Uw() && !!Symbol.toStringTag;
|
|
5098
5132
|
};
|
|
5099
5133
|
});
|
|
5100
|
-
var vm =
|
|
5134
|
+
var vm = z4((EF, pm) => {
|
|
5101
5135
|
var Dw = za(), xm = Dw("%Object.defineProperty%", true), Lw = am()(), Iw = $x(), bw = Pi(), Bx = Lw ? Symbol.toStringTag : null;
|
|
5102
5136
|
pm.exports = function(i, n) {
|
|
5103
5137
|
var a = arguments.length > 2 && !!arguments[2] && arguments[2].force, x = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
|
|
@@ -5110,14 +5144,14 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5110
5144
|
i[Bx] = n;
|
|
5111
5145
|
};
|
|
5112
5146
|
});
|
|
5113
|
-
var Qm =
|
|
5147
|
+
var Qm = z4((kF, mm) => {
|
|
5114
5148
|
mm.exports = function(c, i) {
|
|
5115
5149
|
return Object.keys(i).forEach(function(n) {
|
|
5116
5150
|
c[n] = c[n] || i[n];
|
|
5117
5151
|
}), c;
|
|
5118
5152
|
};
|
|
5119
5153
|
});
|
|
5120
|
-
var Jm =
|
|
5154
|
+
var Jm = z4((jF, wm) => {
|
|
5121
5155
|
var n1 = $v(), Ow = __require("util"), tp = __require("path"), Sw = __require("http"), Aw = __require("https"), Cw = __require("url").parse, Rw = __require("fs"), fw = __require("stream").Stream, Zw = __require("crypto"), c1 = Fv(), Pw = Tv(), Tw = vm(), Ti = $x(), i1 = Qm();
|
|
5122
5156
|
function r(c) {
|
|
5123
5157
|
if (!(this instanceof r))
|
|
@@ -5332,7 +5366,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5332
5366
|
Tw(r.prototype, "FormData");
|
|
5333
5367
|
wm.exports = r;
|
|
5334
5368
|
});
|
|
5335
|
-
var Wm =
|
|
5369
|
+
var Wm = z4((Ym) => {
|
|
5336
5370
|
var Ew = __require("url").parse, kw = { ftp: 21, gopher: 70, http: 80, https: 443, ws: 80, wss: 443 }, jw = String.prototype.endsWith || function(c) {
|
|
5337
5371
|
return c.length <= this.length && this.indexOf(c, this.length - c.length) !== -1;
|
|
5338
5372
|
};
|
|
@@ -5371,7 +5405,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5371
5405
|
}
|
|
5372
5406
|
Ym.getProxyForUrl = hw;
|
|
5373
5407
|
});
|
|
5374
|
-
var a1 =
|
|
5408
|
+
var a1 = z4((dF, Xm) => {
|
|
5375
5409
|
var Ln = 1000, In = Ln * 60, bn = In * 60, pn = bn * 24, _w = pn * 7, sw = pn * 365.25;
|
|
5376
5410
|
Xm.exports = function(c, i) {
|
|
5377
5411
|
i = i || {};
|
|
@@ -5461,7 +5495,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5461
5495
|
return Math.round(c / n) + " " + a + (x ? "s" : "");
|
|
5462
5496
|
}
|
|
5463
5497
|
});
|
|
5464
|
-
var x1 =
|
|
5498
|
+
var x1 = z4((_F, Gm) => {
|
|
5465
5499
|
function rw(c) {
|
|
5466
5500
|
n.debug = n, n.default = n, n.coerce = Q, n.disable = v, n.enable = x, n.enabled = m, n.humanize = a1(), n.destroy = w, Object.keys(c).forEach((J) => {
|
|
5467
5501
|
n[J] = c[J];
|
|
@@ -5560,7 +5594,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5560
5594
|
}
|
|
5561
5595
|
Gm.exports = rw;
|
|
5562
5596
|
});
|
|
5563
|
-
var zm =
|
|
5597
|
+
var zm = z4((_c, Mx) => {
|
|
5564
5598
|
_c.formatArgs = tw;
|
|
5565
5599
|
_c.save = cJ;
|
|
5566
5600
|
_c.load = iJ;
|
|
@@ -5628,13 +5662,13 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5628
5662
|
}
|
|
5629
5663
|
};
|
|
5630
5664
|
});
|
|
5631
|
-
var $m =
|
|
5665
|
+
var $m = z4((sF, Hm) => {
|
|
5632
5666
|
Hm.exports = (c, i = process.argv) => {
|
|
5633
5667
|
let n = c.startsWith("-") ? "" : c.length === 1 ? "-" : "--", a = i.indexOf(n + c), x = i.indexOf("--");
|
|
5634
5668
|
return a !== -1 && (x === -1 || a < x);
|
|
5635
5669
|
};
|
|
5636
5670
|
});
|
|
5637
|
-
var Bm =
|
|
5671
|
+
var Bm = z4((gF, Vm) => {
|
|
5638
5672
|
var xJ = __require("os"), qm = __require("tty"), ci = $m(), { env: bc } = process, Ei;
|
|
5639
5673
|
if (ci("no-color") || ci("no-colors") || ci("color=false") || ci("color=never"))
|
|
5640
5674
|
Ei = 0;
|
|
@@ -5702,7 +5736,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5702
5736
|
}
|
|
5703
5737
|
Vm.exports = { supportsColor: pJ, stdout: p1(v1(true, qm.isatty(1))), stderr: p1(v1(true, qm.isatty(2))) };
|
|
5704
5738
|
});
|
|
5705
|
-
var Mm =
|
|
5739
|
+
var Mm = z4((Oc, Kx) => {
|
|
5706
5740
|
var vJ = __require("tty"), Fx = __require("util");
|
|
5707
5741
|
Oc.init = XJ;
|
|
5708
5742
|
Oc.log = JJ;
|
|
@@ -5780,13 +5814,13 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5780
5814
|
return this.inspectOpts.colors = this.useColors, Fx.inspect(c, this.inspectOpts);
|
|
5781
5815
|
};
|
|
5782
5816
|
});
|
|
5783
|
-
var Fm =
|
|
5817
|
+
var Fm = z4((yF, m1) => {
|
|
5784
5818
|
if (typeof process > "u" || process.type === "renderer" || false || process.__nwjs)
|
|
5785
5819
|
m1.exports = zm();
|
|
5786
5820
|
else
|
|
5787
5821
|
m1.exports = Mm();
|
|
5788
5822
|
});
|
|
5789
|
-
var Nm =
|
|
5823
|
+
var Nm = z4((oF, Km) => {
|
|
5790
5824
|
var Ha;
|
|
5791
5825
|
Km.exports = function() {
|
|
5792
5826
|
if (!Ha) {
|
|
@@ -5799,7 +5833,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
5799
5833
|
Ha.apply(null, arguments);
|
|
5800
5834
|
};
|
|
5801
5835
|
});
|
|
5802
|
-
var Im =
|
|
5836
|
+
var Im = z4((rF, V1) => {
|
|
5803
5837
|
var qa = __require("url"), $a = qa.URL, GJ = __require("http"), zJ = __require("https"), W1 = __require("stream").Writable, X1 = __require("assert"), lm = Nm();
|
|
5804
5838
|
(function() {
|
|
5805
5839
|
var i = typeof process < "u", n = typeof window < "u" && typeof document < "u", a = mn(Error.captureStackTrace);
|
|
@@ -6084,7 +6118,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
6084
6118
|
V1.exports = Um({ http: GJ, https: zJ });
|
|
6085
6119
|
V1.exports.wrap = Um;
|
|
6086
6120
|
});
|
|
6087
|
-
var la =
|
|
6121
|
+
var la = z4((eF, W4) => {
|
|
6088
6122
|
var DJ = Jm(), LJ = __require("url"), IJ = Wm(), bJ = __require("http"), OJ = __require("https"), SJ = Im(), AJ = __require("zlib"), CJ = __require("stream"), RJ = __require("events");
|
|
6089
6123
|
function ji(c) {
|
|
6090
6124
|
return c && typeof c === "object" && "default" in c ? c : { default: c };
|
|
@@ -7570,7 +7604,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
7570
7604
|
lc.default = lc;
|
|
7571
7605
|
W4.exports = lc;
|
|
7572
7606
|
});
|
|
7573
|
-
var z42 =
|
|
7607
|
+
var z42 = z4((tF, G4) => {
|
|
7574
7608
|
var Sx = __require("assert"), nW = __require("stream").Stream, aW = __require("util"), xW = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
7575
7609
|
function R1(c) {
|
|
7576
7610
|
return c.charAt(0).toUpperCase() + c.slice(1);
|
|
@@ -7685,7 +7719,7 @@ var require_chat_bundle = __commonJS((exports, module) => {
|
|
|
7685
7719
|
}
|
|
7686
7720
|
G4.exports = X4(process.env.NODE_NDEBUG);
|
|
7687
7721
|
});
|
|
7688
|
-
var q4 =
|
|
7722
|
+
var q4 = z4((Ax) => {
|
|
7689
7723
|
var La = __require("assert"), pW = __require("util");
|
|
7690
7724
|
Ax.sprintf = P1;
|
|
7691
7725
|
Ax.printf = vW;
|
|
@@ -7771,7 +7805,7 @@ Caused by: ` + $4(n);
|
|
|
7771
7805
|
return i;
|
|
7772
7806
|
}
|
|
7773
7807
|
});
|
|
7774
|
-
var V4 =
|
|
7808
|
+
var V4 = z4((Ac) => {
|
|
7775
7809
|
function mW(c) {
|
|
7776
7810
|
if (Array.isArray)
|
|
7777
7811
|
return Array.isArray(c);
|
|
@@ -7835,7 +7869,7 @@ Caused by: ` + $4(n);
|
|
|
7835
7869
|
return Object.prototype.toString.call(c);
|
|
7836
7870
|
}
|
|
7837
7871
|
});
|
|
7838
|
-
var u4 =
|
|
7872
|
+
var u4 = z4((n2, B4) => {
|
|
7839
7873
|
var Fc = z42(), Rx = __require("util"), uW = q4(), Xi = V4().isError, MW = uW.sprintf;
|
|
7840
7874
|
B4.exports = e;
|
|
7841
7875
|
e.VError = e;
|
|
@@ -7981,7 +8015,7 @@ caused by: ` + e.fullStack(i);
|
|
|
7981
8015
|
return this.jse_cause;
|
|
7982
8016
|
};
|
|
7983
8017
|
});
|
|
7984
|
-
var fx =
|
|
8018
|
+
var fx = z4((Yn) => {
|
|
7985
8019
|
Object.defineProperty(Yn, "__esModule", { value: true });
|
|
7986
8020
|
var FW = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(c) {
|
|
7987
8021
|
return typeof c;
|
|
@@ -7994,10 +8028,10 @@ caused by: ` + e.fullStack(i);
|
|
|
7994
8028
|
Yn.isJsDom = UW;
|
|
7995
8029
|
Yn.isDeno = DW;
|
|
7996
8030
|
});
|
|
7997
|
-
var F4 =
|
|
8031
|
+
var F4 = z4((x2, M4) => {
|
|
7998
8032
|
M4.exports = __require("util").inspect;
|
|
7999
8033
|
});
|
|
8000
|
-
var Ca =
|
|
8034
|
+
var Ca = z4((p2, j4) => {
|
|
8001
8035
|
var o1 = typeof Map === "function" && Map.prototype, E1 = Object.getOwnPropertyDescriptor && o1 ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Px = o1 && E1 && typeof E1.get === "function" ? E1.get : null, K4 = o1 && Map.prototype.forEach, r1 = typeof Set === "function" && Set.prototype, k1 = Object.getOwnPropertyDescriptor && r1 ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Tx = r1 && k1 && typeof k1.get === "function" ? k1.get : null, N4 = r1 && Set.prototype.forEach, LW = typeof WeakMap === "function" && WeakMap.prototype, Oa = LW ? WeakMap.prototype.has : null, IW = typeof WeakSet === "function" && WeakSet.prototype, Sa = IW ? WeakSet.prototype.has : null, bW = typeof WeakRef === "function" && WeakRef.prototype, l4 = bW ? WeakRef.prototype.deref : null, OW = Boolean.prototype.valueOf, SW = Object.prototype.toString, AW = Function.prototype.toString, CW = String.prototype.match, e1 = String.prototype.slice, _i = String.prototype.replace, RW = String.prototype.toUpperCase, U4 = String.prototype.toLowerCase, R4 = RegExp.prototype.test, D4 = Array.prototype.concat, ui = Array.prototype.join, fW = Array.prototype.slice, L4 = Math.floor, d1 = typeof BigInt === "function" ? BigInt.prototype.valueOf : null, j1 = Object.getOwnPropertySymbols, _1 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? Symbol.prototype.toString : null, fn = typeof Symbol === "function" && typeof Symbol.iterator === "object", Aa = typeof Symbol === "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === fn ? "object" : "symbol") ? Symbol.toStringTag : null, f4 = Object.prototype.propertyIsEnumerable, I4 = (typeof Reflect === "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(c) {
|
|
8002
8036
|
return c.__proto__;
|
|
8003
8037
|
} : null);
|
|
@@ -8381,7 +8415,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8381
8415
|
return a;
|
|
8382
8416
|
}
|
|
8383
8417
|
});
|
|
8384
|
-
var d4 =
|
|
8418
|
+
var d4 = z4((v2, h4) => {
|
|
8385
8419
|
var aX = Ca(), xX = Pi(), Ex = function(c, i, n) {
|
|
8386
8420
|
var a = c, x;
|
|
8387
8421
|
for (;(x = a.next) != null; a = x)
|
|
@@ -8430,7 +8464,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8430
8464
|
return n;
|
|
8431
8465
|
};
|
|
8432
8466
|
});
|
|
8433
|
-
var t1 =
|
|
8467
|
+
var t1 = z4((m2, g4) => {
|
|
8434
8468
|
var _4 = za(), s4 = gp(), wX = s4([_4("%String.prototype.indexOf%")]);
|
|
8435
8469
|
g4.exports = function(i, n) {
|
|
8436
8470
|
var a = _4(i, !!n);
|
|
@@ -8439,7 +8473,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8439
8473
|
return a;
|
|
8440
8474
|
};
|
|
8441
8475
|
});
|
|
8442
|
-
var c0 =
|
|
8476
|
+
var c0 = z4((Q2, o4) => {
|
|
8443
8477
|
var JX = za(), Ra = t1(), YX = Ca(), WX = Pi(), y4 = JX("%Map%", true), XX = Ra("Map.prototype.get", true), GX = Ra("Map.prototype.set", true), zX = Ra("Map.prototype.has", true), HX = Ra("Map.prototype.delete", true), $X = Ra("Map.prototype.size", true);
|
|
8444
8478
|
o4.exports = !!y4 && function() {
|
|
8445
8479
|
var i, n = { assert: function(a) {
|
|
@@ -8468,7 +8502,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8468
8502
|
return n;
|
|
8469
8503
|
};
|
|
8470
8504
|
});
|
|
8471
|
-
var e4 =
|
|
8505
|
+
var e4 = z4((w2, r4) => {
|
|
8472
8506
|
var qX = za(), jx = t1(), VX = Ca(), kx = c0(), BX = Pi(), Zn = qX("%WeakMap%", true), uX = jx("WeakMap.prototype.get", true), MX = jx("WeakMap.prototype.set", true), FX = jx("WeakMap.prototype.has", true), KX = jx("WeakMap.prototype.delete", true);
|
|
8473
8507
|
r4.exports = Zn ? function() {
|
|
8474
8508
|
var i, n, a = { assert: function(x) {
|
|
@@ -8509,7 +8543,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8509
8543
|
return a;
|
|
8510
8544
|
} : kx;
|
|
8511
8545
|
});
|
|
8512
|
-
var i0 =
|
|
8546
|
+
var i0 = z4((J2, t4) => {
|
|
8513
8547
|
var NX = Pi(), lX = Ca(), UX = d4(), DX = c0(), LX = e4(), IX = LX || DX || UX;
|
|
8514
8548
|
t4.exports = function() {
|
|
8515
8549
|
var i, n = { assert: function(a) {
|
|
@@ -8529,7 +8563,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8529
8563
|
return n;
|
|
8530
8564
|
};
|
|
8531
8565
|
});
|
|
8532
|
-
var hx =
|
|
8566
|
+
var hx = z4((Y2, c6) => {
|
|
8533
8567
|
var bX = String.prototype.replace, OX = /%20/g, n0 = { RFC1738: "RFC1738", RFC3986: "RFC3986" };
|
|
8534
8568
|
c6.exports = { default: n0.RFC3986, formatters: { RFC1738: function(c) {
|
|
8535
8569
|
return bX.call(c, OX, "+");
|
|
@@ -8537,7 +8571,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8537
8571
|
return String(c);
|
|
8538
8572
|
} }, RFC1738: n0.RFC1738, RFC3986: n0.RFC3986 };
|
|
8539
8573
|
});
|
|
8540
|
-
var v0 =
|
|
8574
|
+
var v0 = z4((W2, i6) => {
|
|
8541
8575
|
var SX = hx(), AX = i0(), a0 = Object.prototype.hasOwnProperty, Xn = Array.isArray, dx = AX(), Pn = function(i, n) {
|
|
8542
8576
|
return dx.set(i, n), i;
|
|
8543
8577
|
}, Gn = function(i) {
|
|
@@ -8720,7 +8754,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8720
8754
|
};
|
|
8721
8755
|
i6.exports = { arrayToObject: Za, assign: fX, combine: jX, compact: TX, decode: ZX, encode: PX, isBuffer: kX, isOverflow: Gn, isRegExp: EX, markOverflow: Pn, maybeMap: hX, merge: RX };
|
|
8722
8756
|
});
|
|
8723
|
-
var m6 =
|
|
8757
|
+
var m6 = z4((X2, v6) => {
|
|
8724
8758
|
var a6 = i0(), _x = v0(), Pa = hx(), dX = Object.prototype.hasOwnProperty, x6 = { brackets: function(i) {
|
|
8725
8759
|
return i + "[]";
|
|
8726
8760
|
}, comma: "comma", indices: function(i, n) {
|
|
@@ -8857,7 +8891,7 @@ caused by: ` + e.fullStack(i);
|
|
|
8857
8891
|
return X.length > 0 ? $ + X : "";
|
|
8858
8892
|
};
|
|
8859
8893
|
});
|
|
8860
|
-
var J6 =
|
|
8894
|
+
var J6 = z4((G2, w6) => {
|
|
8861
8895
|
var Ki = v0(), sx = Object.prototype.hasOwnProperty, Q0 = Array.isArray, Xc = { allowDots: false, allowEmptyArrays: false, allowPrototypes: false, allowSparse: false, arrayLimit: 20, charset: "utf-8", charsetSentinel: false, comma: false, decodeDotInKeys: false, decoder: Ki.decode, delimiter: "&", depth: 5, duplicates: "combine", ignoreQueryPrefix: false, interpretNumericEntities: false, parameterLimit: 1000, parseArrays: true, plainObjects: false, strictDepth: false, strictMerge: true, strictNullHandling: false, throwOnLimitExceeded: false }, rX = function(c) {
|
|
8862
8896
|
return c.replace(/&#(\d+);/g, function(i, n) {
|
|
8863
8897
|
return String.fromCharCode(parseInt(n, 10));
|
|
@@ -9017,11 +9051,11 @@ caused by: ` + e.fullStack(i);
|
|
|
9017
9051
|
return Ki.compact(x);
|
|
9018
9052
|
};
|
|
9019
9053
|
});
|
|
9020
|
-
var W6 =
|
|
9054
|
+
var W6 = z4((z22, Y6) => {
|
|
9021
9055
|
var pG = m6(), vG = J6(), mG = hx();
|
|
9022
9056
|
Y6.exports = { formats: mG, parse: vG, stringify: pG };
|
|
9023
9057
|
});
|
|
9024
|
-
var Tn =
|
|
9058
|
+
var Tn = z4((w0, G6) => {
|
|
9025
9059
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
9026
9060
|
var gx = __require("buffer"), Ni = gx.Buffer;
|
|
9027
9061
|
function X6(c, i) {
|
|
@@ -9066,7 +9100,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9066
9100
|
return gx.SlowBuffer(c);
|
|
9067
9101
|
};
|
|
9068
9102
|
});
|
|
9069
|
-
var J0 =
|
|
9103
|
+
var J0 = z4((H2, z6) => {
|
|
9070
9104
|
var yx = Tn().Buffer, QG = __require("stream"), wG = __require("util");
|
|
9071
9105
|
function ox(c) {
|
|
9072
9106
|
if (this.buffer = null, this.writable = true, this.readable = true, !c)
|
|
@@ -9090,7 +9124,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9090
9124
|
};
|
|
9091
9125
|
z6.exports = ox;
|
|
9092
9126
|
});
|
|
9093
|
-
var $6 =
|
|
9127
|
+
var $6 = z4(($2, H6) => {
|
|
9094
9128
|
function Y0(c) {
|
|
9095
9129
|
var i = (c / 8 | 0) + (c % 8 === 0 ? 0 : 1);
|
|
9096
9130
|
return i;
|
|
@@ -9104,7 +9138,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9104
9138
|
}
|
|
9105
9139
|
H6.exports = YG;
|
|
9106
9140
|
});
|
|
9107
|
-
var K6 =
|
|
9141
|
+
var K6 = z4((q2, F6) => {
|
|
9108
9142
|
var rx = Tn().Buffer, V6 = $6(), ex = 128, B6 = 0, WG = 32, XG = 16, GG = 2, u6 = XG | WG | B6 << 6, tx = GG | B6 << 6;
|
|
9109
9143
|
function zG(c) {
|
|
9110
9144
|
return c.replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
|
|
@@ -9183,7 +9217,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9183
9217
|
}
|
|
9184
9218
|
F6.exports = { derToJose: HG, joseToDer: $G };
|
|
9185
9219
|
});
|
|
9186
|
-
var l6 =
|
|
9220
|
+
var l6 = z4((V2, N6) => {
|
|
9187
9221
|
var Ta = __require("buffer").Buffer, W0 = __require("buffer").SlowBuffer;
|
|
9188
9222
|
N6.exports = cp;
|
|
9189
9223
|
function cp(c, i) {
|
|
@@ -9206,7 +9240,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9206
9240
|
Ta.prototype.equal = qG, W0.prototype.equal = VG;
|
|
9207
9241
|
};
|
|
9208
9242
|
});
|
|
9209
|
-
var H0 =
|
|
9243
|
+
var H0 = z4((B2, C6) => {
|
|
9210
9244
|
var kn = Tn().Buffer, ni = __require("crypto"), D6 = K6(), U6 = __require("util"), BG = `"%s" is not a valid algorithm.
|
|
9211
9245
|
Supported algorithms are:
|
|
9212
9246
|
"HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`, Ea = "secret must be a string or buffer", En = "key must be a string or a buffer", uG = "key must be a string, a buffer or an object", G0 = typeof ni.createPublicKey === "function";
|
|
@@ -9357,7 +9391,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9357
9391
|
return { sign: n[p](v), verify: a[p](v) };
|
|
9358
9392
|
};
|
|
9359
9393
|
});
|
|
9360
|
-
var $0 =
|
|
9394
|
+
var $0 = z4((u2, R6) => {
|
|
9361
9395
|
var OG = __require("buffer").Buffer;
|
|
9362
9396
|
R6.exports = function(i) {
|
|
9363
9397
|
if (typeof i === "string")
|
|
@@ -9367,7 +9401,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9367
9401
|
return JSON.stringify(i);
|
|
9368
9402
|
};
|
|
9369
9403
|
});
|
|
9370
|
-
var k6 =
|
|
9404
|
+
var k6 = z4((M2, E6) => {
|
|
9371
9405
|
var SG = Tn().Buffer, f6 = J0(), AG = H0(), CG = __require("stream"), Z6 = $0(), q0 = __require("util");
|
|
9372
9406
|
function P6(c, i) {
|
|
9373
9407
|
return SG.from(c, i).toString("base64").replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
|
|
@@ -9406,7 +9440,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9406
9440
|
ip.sign = T6;
|
|
9407
9441
|
E6.exports = ip;
|
|
9408
9442
|
});
|
|
9409
|
-
var e6 =
|
|
9443
|
+
var e6 = z4((F2, r6) => {
|
|
9410
9444
|
var h6 = Tn().Buffer, j6 = J0(), fG = H0(), ZG = __require("stream"), d6 = $0(), PG = __require("util"), TG = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;
|
|
9411
9445
|
function EG(c) {
|
|
9412
9446
|
return Object.prototype.toString.call(c) === "[object Object]";
|
|
@@ -9486,7 +9520,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9486
9520
|
jn.verify = y6;
|
|
9487
9521
|
r6.exports = jn;
|
|
9488
9522
|
});
|
|
9489
|
-
var ap =
|
|
9523
|
+
var ap = z4((gi) => {
|
|
9490
9524
|
var t6 = k6(), np = e6(), dG = ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512"];
|
|
9491
9525
|
gi.ALGORITHMS = dG;
|
|
9492
9526
|
gi.sign = t6.sign;
|
|
@@ -9500,7 +9534,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9500
9534
|
return new np(i);
|
|
9501
9535
|
};
|
|
9502
9536
|
});
|
|
9503
|
-
var V0 =
|
|
9537
|
+
var V0 = z4((N2, c3) => {
|
|
9504
9538
|
var _G = ap();
|
|
9505
9539
|
c3.exports = function(c, i) {
|
|
9506
9540
|
i = i || {};
|
|
@@ -9519,7 +9553,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9519
9553
|
return a;
|
|
9520
9554
|
};
|
|
9521
9555
|
});
|
|
9522
|
-
var ja =
|
|
9556
|
+
var ja = z4((l2, i3) => {
|
|
9523
9557
|
var xp = function(c, i) {
|
|
9524
9558
|
if (Error.call(this, c), Error.captureStackTrace)
|
|
9525
9559
|
Error.captureStackTrace(this, this.constructor);
|
|
@@ -9530,7 +9564,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9530
9564
|
xp.prototype.constructor = xp;
|
|
9531
9565
|
i3.exports = xp;
|
|
9532
9566
|
});
|
|
9533
|
-
var B0 =
|
|
9567
|
+
var B0 = z4((U2, a3) => {
|
|
9534
9568
|
var n3 = ja(), pp = function(c, i) {
|
|
9535
9569
|
n3.call(this, c), this.name = "NotBeforeError", this.date = i;
|
|
9536
9570
|
};
|
|
@@ -9538,7 +9572,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9538
9572
|
pp.prototype.constructor = pp;
|
|
9539
9573
|
a3.exports = pp;
|
|
9540
9574
|
});
|
|
9541
|
-
var u0 =
|
|
9575
|
+
var u0 = z4((D2, p3) => {
|
|
9542
9576
|
var x3 = ja(), vp = function(c, i) {
|
|
9543
9577
|
x3.call(this, c), this.name = "TokenExpiredError", this.expiredAt = i;
|
|
9544
9578
|
};
|
|
@@ -9546,7 +9580,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9546
9580
|
vp.prototype.constructor = vp;
|
|
9547
9581
|
p3.exports = vp;
|
|
9548
9582
|
});
|
|
9549
|
-
var M0 =
|
|
9583
|
+
var M0 = z4((L2, v3) => {
|
|
9550
9584
|
var sG = a1();
|
|
9551
9585
|
v3.exports = function(c, i) {
|
|
9552
9586
|
var n = i || Math.floor(Date.now() / 1000);
|
|
@@ -9561,15 +9595,15 @@ caused by: ` + e.fullStack(i);
|
|
|
9561
9595
|
return;
|
|
9562
9596
|
};
|
|
9563
9597
|
});
|
|
9564
|
-
var ha =
|
|
9598
|
+
var ha = z4((I2, m3) => {
|
|
9565
9599
|
var gG = Number.MAX_SAFE_INTEGER || 9007199254740991, yG = ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"];
|
|
9566
9600
|
m3.exports = { MAX_LENGTH: 256, MAX_SAFE_COMPONENT_LENGTH: 16, MAX_SAFE_BUILD_LENGTH: 250, MAX_SAFE_INTEGER: gG, RELEASE_TYPES: yG, SEMVER_SPEC_VERSION: "2.0.0", FLAG_INCLUDE_PRERELEASE: 1, FLAG_LOOSE: 2 };
|
|
9567
9601
|
});
|
|
9568
|
-
var da =
|
|
9602
|
+
var da = z4((b2, Q3) => {
|
|
9569
9603
|
var oG = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...c) => console.error("SEMVER", ...c) : () => {};
|
|
9570
9604
|
Q3.exports = oG;
|
|
9571
9605
|
});
|
|
9572
|
-
var hn =
|
|
9606
|
+
var hn = z4((li, w3) => {
|
|
9573
9607
|
var { MAX_SAFE_COMPONENT_LENGTH: F0, MAX_SAFE_BUILD_LENGTH: rG, MAX_LENGTH: eG } = ha(), tG = da();
|
|
9574
9608
|
li = w3.exports = {};
|
|
9575
9609
|
var cz = li.re = [], iz = li.safeRe = [], D = li.src = [], nz = li.safeSrc = [], L = li.t = {}, az = 0, K0 = "[a-zA-Z0-9-]", xz = [["\\s", 1], ["\\d", eG], [K0, rG]], pz = (c) => {
|
|
@@ -9627,7 +9661,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9627
9661
|
k("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
9628
9662
|
k("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
9629
9663
|
});
|
|
9630
|
-
var mp =
|
|
9664
|
+
var mp = z4((O2, J3) => {
|
|
9631
9665
|
var vz = Object.freeze({ loose: true }), mz = Object.freeze({}), Qz = (c) => {
|
|
9632
9666
|
if (!c)
|
|
9633
9667
|
return mz;
|
|
@@ -9637,7 +9671,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9637
9671
|
};
|
|
9638
9672
|
J3.exports = Qz;
|
|
9639
9673
|
});
|
|
9640
|
-
var N0 =
|
|
9674
|
+
var N0 = z4((S2, X3) => {
|
|
9641
9675
|
var Y3 = /^[0-9]+$/, W3 = (c, i) => {
|
|
9642
9676
|
if (typeof c === "number" && typeof i === "number")
|
|
9643
9677
|
return c === i ? 0 : c < i ? -1 : 1;
|
|
@@ -9648,7 +9682,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9648
9682
|
}, wz = (c, i) => W3(i, c);
|
|
9649
9683
|
X3.exports = { compareIdentifiers: W3, rcompareIdentifiers: wz };
|
|
9650
9684
|
});
|
|
9651
|
-
var Cc =
|
|
9685
|
+
var Cc = z4((A2, z32) => {
|
|
9652
9686
|
var Qp = da(), { MAX_LENGTH: G3, MAX_SAFE_INTEGER: wp } = ha(), { safeRe: Jp, t: Yp } = hn(), Jz = mp(), { compareIdentifiers: l0 } = N0();
|
|
9653
9687
|
|
|
9654
9688
|
class zi {
|
|
@@ -9844,7 +9878,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9844
9878
|
}
|
|
9845
9879
|
z32.exports = zi;
|
|
9846
9880
|
});
|
|
9847
|
-
var Hn =
|
|
9881
|
+
var Hn = z4((C2, $3) => {
|
|
9848
9882
|
var H3 = Cc(), Yz = (c, i, n = false) => {
|
|
9849
9883
|
if (c instanceof H3)
|
|
9850
9884
|
return c;
|
|
@@ -9858,21 +9892,21 @@ caused by: ` + e.fullStack(i);
|
|
|
9858
9892
|
};
|
|
9859
9893
|
$3.exports = Yz;
|
|
9860
9894
|
});
|
|
9861
|
-
var V3 =
|
|
9895
|
+
var V3 = z4((R2, q3) => {
|
|
9862
9896
|
var Wz = Hn(), Xz = (c, i) => {
|
|
9863
9897
|
let n = Wz(c, i);
|
|
9864
9898
|
return n ? n.version : null;
|
|
9865
9899
|
};
|
|
9866
9900
|
q3.exports = Xz;
|
|
9867
9901
|
});
|
|
9868
|
-
var u3 =
|
|
9902
|
+
var u3 = z4((f2, B3) => {
|
|
9869
9903
|
var Gz = Hn(), zz = (c, i) => {
|
|
9870
9904
|
let n = Gz(c.trim().replace(/^[=v]+/, ""), i);
|
|
9871
9905
|
return n ? n.version : null;
|
|
9872
9906
|
};
|
|
9873
9907
|
B3.exports = zz;
|
|
9874
9908
|
});
|
|
9875
|
-
var K3 =
|
|
9909
|
+
var K3 = z4((Z2, F3) => {
|
|
9876
9910
|
var M3 = Cc(), Hz = (c, i, n, a, x) => {
|
|
9877
9911
|
if (typeof n === "string")
|
|
9878
9912
|
x = a, a = n, n = undefined;
|
|
@@ -9884,7 +9918,7 @@ caused by: ` + e.fullStack(i);
|
|
|
9884
9918
|
};
|
|
9885
9919
|
F3.exports = Hz;
|
|
9886
9920
|
});
|
|
9887
|
-
var U3 =
|
|
9921
|
+
var U3 = z4((P2, l3) => {
|
|
9888
9922
|
var N3 = Hn(), $z = (c, i) => {
|
|
9889
9923
|
let n = N3(c, null, true), a = N3(i, null, true), x = n.compare(a);
|
|
9890
9924
|
if (x === 0)
|
|
@@ -9910,77 +9944,77 @@ caused by: ` + e.fullStack(i);
|
|
|
9910
9944
|
};
|
|
9911
9945
|
l3.exports = $z;
|
|
9912
9946
|
});
|
|
9913
|
-
var L3 =
|
|
9947
|
+
var L3 = z4((T2, D3) => {
|
|
9914
9948
|
var qz = Cc(), Vz = (c, i) => new qz(c, i).major;
|
|
9915
9949
|
D3.exports = Vz;
|
|
9916
9950
|
});
|
|
9917
|
-
var b3 =
|
|
9951
|
+
var b3 = z4((E2, I3) => {
|
|
9918
9952
|
var Bz = Cc(), uz = (c, i) => new Bz(c, i).minor;
|
|
9919
9953
|
I3.exports = uz;
|
|
9920
9954
|
});
|
|
9921
|
-
var S3 =
|
|
9955
|
+
var S3 = z4((k2, O3) => {
|
|
9922
9956
|
var Mz = Cc(), Fz = (c, i) => new Mz(c, i).patch;
|
|
9923
9957
|
O3.exports = Fz;
|
|
9924
9958
|
});
|
|
9925
|
-
var C3 =
|
|
9959
|
+
var C3 = z4((j2, A3) => {
|
|
9926
9960
|
var Kz = Hn(), Nz = (c, i) => {
|
|
9927
9961
|
let n = Kz(c, i);
|
|
9928
9962
|
return n && n.prerelease.length ? n.prerelease : null;
|
|
9929
9963
|
};
|
|
9930
9964
|
A3.exports = Nz;
|
|
9931
9965
|
});
|
|
9932
|
-
var ai =
|
|
9966
|
+
var ai = z4((h2, f3) => {
|
|
9933
9967
|
var R3 = Cc(), lz = (c, i, n) => new R3(c, n).compare(new R3(i, n));
|
|
9934
9968
|
f3.exports = lz;
|
|
9935
9969
|
});
|
|
9936
|
-
var P3 =
|
|
9970
|
+
var P3 = z4((d2, Z3) => {
|
|
9937
9971
|
var Uz = ai(), Dz = (c, i, n) => Uz(i, c, n);
|
|
9938
9972
|
Z3.exports = Dz;
|
|
9939
9973
|
});
|
|
9940
|
-
var E3 =
|
|
9974
|
+
var E3 = z4((_2, T3) => {
|
|
9941
9975
|
var Lz = ai(), Iz = (c, i) => Lz(c, i, true);
|
|
9942
9976
|
T3.exports = Iz;
|
|
9943
9977
|
});
|
|
9944
|
-
var Wp =
|
|
9978
|
+
var Wp = z4((s2, j3) => {
|
|
9945
9979
|
var k3 = Cc(), bz = (c, i, n) => {
|
|
9946
9980
|
let a = new k3(c, n), x = new k3(i, n);
|
|
9947
9981
|
return a.compare(x) || a.compareBuild(x);
|
|
9948
9982
|
};
|
|
9949
9983
|
j3.exports = bz;
|
|
9950
9984
|
});
|
|
9951
|
-
var d3 =
|
|
9985
|
+
var d3 = z4((g2, h3) => {
|
|
9952
9986
|
var Oz = Wp(), Sz = (c, i) => c.sort((n, a) => Oz(n, a, i));
|
|
9953
9987
|
h3.exports = Sz;
|
|
9954
9988
|
});
|
|
9955
|
-
var s3 =
|
|
9989
|
+
var s3 = z4((y2, _3) => {
|
|
9956
9990
|
var Az = Wp(), Cz = (c, i) => c.sort((n, a) => Az(a, n, i));
|
|
9957
9991
|
_3.exports = Cz;
|
|
9958
9992
|
});
|
|
9959
|
-
var _a =
|
|
9993
|
+
var _a = z4((o2, g3) => {
|
|
9960
9994
|
var Rz = ai(), fz = (c, i, n) => Rz(c, i, n) > 0;
|
|
9961
9995
|
g3.exports = fz;
|
|
9962
9996
|
});
|
|
9963
|
-
var Xp =
|
|
9997
|
+
var Xp = z4((r2, y3) => {
|
|
9964
9998
|
var Zz = ai(), Pz = (c, i, n) => Zz(c, i, n) < 0;
|
|
9965
9999
|
y3.exports = Pz;
|
|
9966
10000
|
});
|
|
9967
|
-
var U0 =
|
|
10001
|
+
var U0 = z4((e2, o3) => {
|
|
9968
10002
|
var Tz = ai(), Ez = (c, i, n) => Tz(c, i, n) === 0;
|
|
9969
10003
|
o3.exports = Ez;
|
|
9970
10004
|
});
|
|
9971
|
-
var D0 =
|
|
10005
|
+
var D0 = z4((t2, r3) => {
|
|
9972
10006
|
var kz = ai(), jz = (c, i, n) => kz(c, i, n) !== 0;
|
|
9973
10007
|
r3.exports = jz;
|
|
9974
10008
|
});
|
|
9975
|
-
var Gp =
|
|
10009
|
+
var Gp = z4((cK, e3) => {
|
|
9976
10010
|
var hz = ai(), dz = (c, i, n) => hz(c, i, n) >= 0;
|
|
9977
10011
|
e3.exports = dz;
|
|
9978
10012
|
});
|
|
9979
|
-
var zp =
|
|
10013
|
+
var zp = z4((iK, t3) => {
|
|
9980
10014
|
var _z = ai(), sz = (c, i, n) => _z(c, i, n) <= 0;
|
|
9981
10015
|
t3.exports = sz;
|
|
9982
10016
|
});
|
|
9983
|
-
var L0 =
|
|
10017
|
+
var L0 = z4((nK, c9) => {
|
|
9984
10018
|
var gz = U0(), yz = D0(), oz = _a(), rz = Gp(), ez = Xp(), tz = zp(), cH = (c, i, n, a) => {
|
|
9985
10019
|
switch (i) {
|
|
9986
10020
|
case "===":
|
|
@@ -10015,7 +10049,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10015
10049
|
};
|
|
10016
10050
|
c9.exports = cH;
|
|
10017
10051
|
});
|
|
10018
|
-
var n9 =
|
|
10052
|
+
var n9 = z4((aK, i9) => {
|
|
10019
10053
|
var iH = Cc(), nH = Hn(), { safeRe: Hp, t: $p } = hn(), aH = (c, i) => {
|
|
10020
10054
|
if (c instanceof iH)
|
|
10021
10055
|
return c;
|
|
@@ -10043,7 +10077,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10043
10077
|
};
|
|
10044
10078
|
i9.exports = aH;
|
|
10045
10079
|
});
|
|
10046
|
-
var p9 =
|
|
10080
|
+
var p9 = z4((xK, x9) => {
|
|
10047
10081
|
|
|
10048
10082
|
class a9 {
|
|
10049
10083
|
constructor() {
|
|
@@ -10072,7 +10106,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10072
10106
|
}
|
|
10073
10107
|
x9.exports = a9;
|
|
10074
10108
|
});
|
|
10075
|
-
var xi =
|
|
10109
|
+
var xi = z4((pK, w9) => {
|
|
10076
10110
|
var xH = /\s+/g;
|
|
10077
10111
|
|
|
10078
10112
|
class sa {
|
|
@@ -10320,7 +10354,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10320
10354
|
return true;
|
|
10321
10355
|
};
|
|
10322
10356
|
});
|
|
10323
|
-
var ga =
|
|
10357
|
+
var ga = z4((vK, z9) => {
|
|
10324
10358
|
var ya = Symbol("SemVer ANY");
|
|
10325
10359
|
|
|
10326
10360
|
class qp {
|
|
@@ -10396,7 +10430,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10396
10430
|
z9.exports = qp;
|
|
10397
10431
|
var J9 = mp(), { safeRe: Y9, t: W9 } = hn(), b0 = L0(), O0 = da(), X9 = Cc(), G9 = xi();
|
|
10398
10432
|
});
|
|
10399
|
-
var oa =
|
|
10433
|
+
var oa = z4((mK, H9) => {
|
|
10400
10434
|
var NH = xi(), lH = (c, i, n) => {
|
|
10401
10435
|
try {
|
|
10402
10436
|
i = new NH(i, n);
|
|
@@ -10407,11 +10441,11 @@ caused by: ` + e.fullStack(i);
|
|
|
10407
10441
|
};
|
|
10408
10442
|
H9.exports = lH;
|
|
10409
10443
|
});
|
|
10410
|
-
var q9 =
|
|
10444
|
+
var q9 = z4((QK, $9) => {
|
|
10411
10445
|
var UH = xi(), DH = (c, i) => new UH(c, i).set.map((n) => n.map((a) => a.value).join(" ").trim().split(" "));
|
|
10412
10446
|
$9.exports = DH;
|
|
10413
10447
|
});
|
|
10414
|
-
var B9 =
|
|
10448
|
+
var B9 = z4((wK, V9) => {
|
|
10415
10449
|
var LH = Cc(), IH = xi(), bH = (c, i, n) => {
|
|
10416
10450
|
let a = null, x = null, p = null;
|
|
10417
10451
|
try {
|
|
@@ -10428,7 +10462,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10428
10462
|
};
|
|
10429
10463
|
V9.exports = bH;
|
|
10430
10464
|
});
|
|
10431
|
-
var M9 =
|
|
10465
|
+
var M9 = z4((JK, u9) => {
|
|
10432
10466
|
var OH = Cc(), SH = xi(), AH = (c, i, n) => {
|
|
10433
10467
|
let a = null, x = null, p = null;
|
|
10434
10468
|
try {
|
|
@@ -10445,7 +10479,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10445
10479
|
};
|
|
10446
10480
|
u9.exports = AH;
|
|
10447
10481
|
});
|
|
10448
|
-
var N9 =
|
|
10482
|
+
var N9 = z4((YK, K9) => {
|
|
10449
10483
|
var S0 = Cc(), CH = xi(), F9 = _a(), RH = (c, i) => {
|
|
10450
10484
|
c = new CH(c, i);
|
|
10451
10485
|
let n = new S0("0.0.0");
|
|
@@ -10485,7 +10519,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10485
10519
|
};
|
|
10486
10520
|
K9.exports = RH;
|
|
10487
10521
|
});
|
|
10488
|
-
var U9 =
|
|
10522
|
+
var U9 = z4((WK, l9) => {
|
|
10489
10523
|
var fH = xi(), ZH = (c, i) => {
|
|
10490
10524
|
try {
|
|
10491
10525
|
return new fH(c, i).range || "*";
|
|
@@ -10495,7 +10529,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10495
10529
|
};
|
|
10496
10530
|
l9.exports = ZH;
|
|
10497
10531
|
});
|
|
10498
|
-
var Vp =
|
|
10532
|
+
var Vp = z4((XK, b9) => {
|
|
10499
10533
|
var PH = Cc(), I9 = ga(), { ANY: TH } = I9, EH = xi(), kH = oa(), D9 = _a(), L9 = Xp(), jH = zp(), hH = Gp(), dH = (c, i, n, a) => {
|
|
10500
10534
|
c = new PH(c, a), i = new EH(i, a);
|
|
10501
10535
|
let x, p, v, m, Q;
|
|
@@ -10531,21 +10565,21 @@ caused by: ` + e.fullStack(i);
|
|
|
10531
10565
|
};
|
|
10532
10566
|
b9.exports = dH;
|
|
10533
10567
|
});
|
|
10534
|
-
var S9 =
|
|
10568
|
+
var S9 = z4((GK, O9) => {
|
|
10535
10569
|
var _H = Vp(), sH = (c, i, n) => _H(c, i, ">", n);
|
|
10536
10570
|
O9.exports = sH;
|
|
10537
10571
|
});
|
|
10538
|
-
var C9 =
|
|
10572
|
+
var C9 = z4((zK, A9) => {
|
|
10539
10573
|
var gH = Vp(), yH = (c, i, n) => gH(c, i, "<", n);
|
|
10540
10574
|
A9.exports = yH;
|
|
10541
10575
|
});
|
|
10542
|
-
var Z9 =
|
|
10576
|
+
var Z9 = z4((HK, f9) => {
|
|
10543
10577
|
var R9 = xi(), oH = (c, i, n) => {
|
|
10544
10578
|
return c = new R9(c, n), i = new R9(i, n), c.intersects(i, n);
|
|
10545
10579
|
};
|
|
10546
10580
|
f9.exports = oH;
|
|
10547
10581
|
});
|
|
10548
|
-
var T9 =
|
|
10582
|
+
var T9 = z4(($K, P9) => {
|
|
10549
10583
|
var rH = oa(), eH = ai();
|
|
10550
10584
|
P9.exports = (c, i, n) => {
|
|
10551
10585
|
let a = [], x = null, p = null, v = c.sort((J, Y) => eH(J, Y, n));
|
|
@@ -10576,7 +10610,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10576
10610
|
return Q.length < w.length ? Q : i;
|
|
10577
10611
|
};
|
|
10578
10612
|
});
|
|
10579
|
-
var _9 =
|
|
10613
|
+
var _9 = z4((qK, d9) => {
|
|
10580
10614
|
var E9 = xi(), C0 = ga(), { ANY: A0 } = C0, ra = oa(), R0 = ai(), tH = (c, i, n = {}) => {
|
|
10581
10615
|
if (c === i)
|
|
10582
10616
|
return true;
|
|
@@ -10684,19 +10718,19 @@ caused by: ` + e.fullStack(i);
|
|
|
10684
10718
|
};
|
|
10685
10719
|
d9.exports = tH;
|
|
10686
10720
|
});
|
|
10687
|
-
var Bp =
|
|
10721
|
+
var Bp = z4((VK, y9) => {
|
|
10688
10722
|
var f0 = hn(), s9 = ha(), n$ = Cc(), g9 = N0(), a$ = Hn(), x$ = V3(), p$ = u3(), v$ = K3(), m$ = U3(), Q$ = L3(), w$ = b3(), J$ = S3(), Y$ = C3(), W$ = ai(), X$ = P3(), G$ = E3(), z$ = Wp(), H$ = d3(), $$ = s3(), q$ = _a(), V$ = Xp(), B$ = U0(), u$ = D0(), M$ = Gp(), F$ = zp(), K$ = L0(), N$ = n9(), l$ = ga(), U$ = xi(), D$ = oa(), L$ = q9(), I$ = B9(), b$ = M9(), O$ = N9(), S$ = U9(), A$ = Vp(), C$ = S9(), R$ = C9(), f$ = Z9(), Z$ = T9(), P$ = _9();
|
|
10689
10723
|
y9.exports = { parse: a$, valid: x$, clean: p$, inc: v$, diff: m$, major: Q$, minor: w$, patch: J$, prerelease: Y$, compare: W$, rcompare: X$, compareLoose: G$, compareBuild: z$, sort: H$, rsort: $$, gt: q$, lt: V$, eq: B$, neq: u$, gte: M$, lte: F$, cmp: K$, coerce: N$, Comparator: l$, Range: U$, satisfies: D$, toComparators: L$, maxSatisfying: I$, minSatisfying: b$, minVersion: O$, validRange: S$, outside: A$, gtr: C$, ltr: R$, intersects: f$, simplifyRange: Z$, subset: P$, SemVer: n$, re: f0.re, src: f0.src, tokens: f0.t, SEMVER_SPEC_VERSION: s9.SEMVER_SPEC_VERSION, RELEASE_TYPES: s9.RELEASE_TYPES, compareIdentifiers: g9.compareIdentifiers, rcompareIdentifiers: g9.rcompareIdentifiers };
|
|
10690
10724
|
});
|
|
10691
|
-
var r9 =
|
|
10725
|
+
var r9 = z4((BK, o9) => {
|
|
10692
10726
|
var T$ = Bp();
|
|
10693
10727
|
o9.exports = T$.satisfies(process.version, ">=15.7.0");
|
|
10694
10728
|
});
|
|
10695
|
-
var t9 =
|
|
10729
|
+
var t9 = z4((uK, e9) => {
|
|
10696
10730
|
var E$ = Bp();
|
|
10697
10731
|
e9.exports = E$.satisfies(process.version, ">=16.9.0");
|
|
10698
10732
|
});
|
|
10699
|
-
var Z0 =
|
|
10733
|
+
var Z0 = z4((MK, c7) => {
|
|
10700
10734
|
var k$ = r9(), j$ = t9(), h$ = { ec: ["ES256", "ES384", "ES512"], rsa: ["RS256", "PS256", "RS384", "PS384", "RS512", "PS512"], "rsa-pss": ["PS256", "PS384", "PS512"] }, d$ = { ES256: "prime256v1", ES384: "secp384r1", ES512: "secp521r1" };
|
|
10701
10735
|
c7.exports = function(c, i) {
|
|
10702
10736
|
if (!c || !i)
|
|
@@ -10728,11 +10762,11 @@ caused by: ` + e.fullStack(i);
|
|
|
10728
10762
|
}
|
|
10729
10763
|
};
|
|
10730
10764
|
});
|
|
10731
|
-
var P0 =
|
|
10765
|
+
var P0 = z4((FK, i7) => {
|
|
10732
10766
|
var _$ = Bp();
|
|
10733
10767
|
i7.exports = _$.satisfies(process.version, "^6.12.0 || >=8.0.0");
|
|
10734
10768
|
});
|
|
10735
|
-
var x7 =
|
|
10769
|
+
var x7 = z4((KK, a7) => {
|
|
10736
10770
|
var mc = ja(), s$ = B0(), n7 = u0(), g$ = V0(), y$ = M0(), o$ = Z0(), r$ = P0(), e$ = ap(), { KeyObject: t$, createSecretKey: cq, createPublicKey: iq } = __require("crypto"), T0 = ["RS256", "RS384", "RS512"], nq = ["ES256", "ES384", "ES512"], E0 = ["RS256", "RS384", "RS512"], aq = ["HS256", "HS384", "HS512"];
|
|
10737
10771
|
if (r$)
|
|
10738
10772
|
T0.splice(T0.length, 0, "PS256", "PS384", "PS512"), E0.splice(E0.length, 0, "PS256", "PS384", "PS512");
|
|
@@ -10886,7 +10920,7 @@ caused by: ` + e.fullStack(i);
|
|
|
10886
10920
|
});
|
|
10887
10921
|
};
|
|
10888
10922
|
});
|
|
10889
|
-
var J7 =
|
|
10923
|
+
var J7 = z4((NK, w7) => {
|
|
10890
10924
|
var p7 = 1 / 0, m7 = 9007199254740991, xq = 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, v7 = NaN, pq = "[object Arguments]", vq = "[object Function]", mq = "[object GeneratorFunction]", Qq = "[object String]", wq = "[object Symbol]", Jq = /^\s+|\s+$/g, Yq = /^[-+]0x[0-9a-f]+$/i, Wq = /^0b[01]+$/i, Xq = /^0o[0-7]+$/i, Gq = /^(?:0|[1-9]\d*)$/, zq = parseInt;
|
|
10891
10925
|
function Hq(c, i) {
|
|
10892
10926
|
var n = -1, a = c ? c.length : 0, x = Array(a);
|
|
@@ -11026,7 +11060,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11026
11060
|
}
|
|
11027
11061
|
w7.exports = Iq;
|
|
11028
11062
|
});
|
|
11029
|
-
var W7 =
|
|
11063
|
+
var W7 = z4((lK, Y7) => {
|
|
11030
11064
|
var kq = "[object Boolean]", jq = Object.prototype, hq = jq.toString;
|
|
11031
11065
|
function dq(c) {
|
|
11032
11066
|
return c === true || c === false || _q(c) && hq.call(c) == kq;
|
|
@@ -11036,7 +11070,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11036
11070
|
}
|
|
11037
11071
|
Y7.exports = dq;
|
|
11038
11072
|
});
|
|
11039
|
-
var $7 =
|
|
11073
|
+
var $7 = z4((UK, H7) => {
|
|
11040
11074
|
var X7 = 1 / 0, sq = 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, G7 = NaN, gq = "[object Symbol]", yq = /^\s+|\s+$/g, oq = /^[-+]0x[0-9a-f]+$/i, rq = /^0b[01]+$/i, eq = /^0o[0-7]+$/i, tq = parseInt, cV = Object.prototype, iV = cV.toString;
|
|
11041
11075
|
function nV(c) {
|
|
11042
11076
|
return typeof c == "number" && c == vV(c);
|
|
@@ -11081,7 +11115,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11081
11115
|
}
|
|
11082
11116
|
H7.exports = nV;
|
|
11083
11117
|
});
|
|
11084
|
-
var V7 =
|
|
11118
|
+
var V7 = z4((DK, q7) => {
|
|
11085
11119
|
var QV = "[object Number]", wV = Object.prototype, JV = wV.toString;
|
|
11086
11120
|
function YV(c) {
|
|
11087
11121
|
return !!c && typeof c == "object";
|
|
@@ -11091,7 +11125,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11091
11125
|
}
|
|
11092
11126
|
q7.exports = WV;
|
|
11093
11127
|
});
|
|
11094
|
-
var F7 =
|
|
11128
|
+
var F7 = z4((LK, M7) => {
|
|
11095
11129
|
var XV = "[object Object]";
|
|
11096
11130
|
function GV(c) {
|
|
11097
11131
|
var i = false;
|
|
@@ -11121,7 +11155,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11121
11155
|
}
|
|
11122
11156
|
M7.exports = MV;
|
|
11123
11157
|
});
|
|
11124
|
-
var N7 =
|
|
11158
|
+
var N7 = z4((IK, K7) => {
|
|
11125
11159
|
var FV = "[object String]", KV = Object.prototype, NV = KV.toString, lV = Array.isArray;
|
|
11126
11160
|
function UV(c) {
|
|
11127
11161
|
return !!c && typeof c == "object";
|
|
@@ -11131,7 +11165,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11131
11165
|
}
|
|
11132
11166
|
K7.exports = DV;
|
|
11133
11167
|
});
|
|
11134
|
-
var I7 =
|
|
11168
|
+
var I7 = z4((bK, L7) => {
|
|
11135
11169
|
var LV = "Expected a function", l7 = 1 / 0, IV = 179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, U7 = NaN, bV = "[object Symbol]", OV = /^\s+|\s+$/g, SV = /^[-+]0x[0-9a-f]+$/i, AV = /^0b[01]+$/i, CV = /^0o[0-7]+$/i, RV = parseInt, fV = Object.prototype, ZV = fV.toString;
|
|
11136
11170
|
function PV(c, i) {
|
|
11137
11171
|
var n;
|
|
@@ -11188,7 +11222,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11188
11222
|
}
|
|
11189
11223
|
L7.exports = TV;
|
|
11190
11224
|
});
|
|
11191
|
-
var P7 =
|
|
11225
|
+
var P7 = z4((OK, Z7) => {
|
|
11192
11226
|
var b7 = M0(), _V = P0(), sV = Z0(), O7 = ap(), gV = J7(), Fp = W7(), S7 = $7(), _0 = V7(), C7 = F7(), yi = N7(), yV = I7(), { KeyObject: oV, createSecretKey: rV, createPrivateKey: eV } = __require("crypto"), R7 = ["RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "HS256", "HS384", "HS512", "none"];
|
|
11193
11227
|
if (_V)
|
|
11194
11228
|
R7.splice(3, 0, "PS256", "PS384", "PS512");
|
|
@@ -11329,10 +11363,10 @@ caused by: ` + e.fullStack(i);
|
|
|
11329
11363
|
}
|
|
11330
11364
|
};
|
|
11331
11365
|
});
|
|
11332
|
-
var E7 =
|
|
11366
|
+
var E7 = z4((SK, T7) => {
|
|
11333
11367
|
T7.exports = { decode: V0(), verify: x7(), sign: P7(), JsonWebTokenError: ja(), NotBeforeError: B0(), TokenExpiredError: u0() };
|
|
11334
11368
|
});
|
|
11335
|
-
var k7 =
|
|
11369
|
+
var k7 = z4((s0, Kp) => {
|
|
11336
11370
|
(function(c) {
|
|
11337
11371
|
var { setTimeout: i, clearTimeout: n, XMLHttpRequest: a, XDomainRequest: x, ActiveXObject: p, EventSource: v, document: m, Promise: Q, fetch: w, Response: J, TextDecoder: Y, TextEncoder: W, AbortController: X } = c;
|
|
11338
11372
|
if (typeof window < "u" && typeof m < "u" && !("readyState" in m) && m.body == null)
|
|
@@ -11892,7 +11926,7 @@ caused by: ` + e.fullStack(i);
|
|
|
11892
11926
|
});
|
|
11893
11927
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : s0 : globalThis);
|
|
11894
11928
|
});
|
|
11895
|
-
var g7 =
|
|
11929
|
+
var g7 = z4((AK, s7) => {
|
|
11896
11930
|
var j7 = __require("url").parse, xB = __require("events"), pB = __require("https"), vB = __require("http"), mB = __require("util"), QB = ["pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "secureProtocol", "servername", "checkServerIdentity"], _7 = [239, 187, 191], wB = 58, JB = 32, h7 = 10, YB = 13, d7 = 262144, WB = /^(cookie|authorization)$/i;
|
|
11897
11931
|
function XB(c) {
|
|
11898
11932
|
return _7.every(function(i, n) {
|
|
@@ -12125,7 +12159,7 @@ caused by: ` + e.fullStack(i);
|
|
|
12125
12159
|
return i;
|
|
12126
12160
|
}
|
|
12127
12161
|
});
|
|
12128
|
-
var ta =
|
|
12162
|
+
var ta = z4((Qc) => {
|
|
12129
12163
|
Object.defineProperty(Qc, "__esModule", { value: true });
|
|
12130
12164
|
Qc.getParsedType = Qc.ZodParsedType = Qc.objectUtil = Qc.util = undefined;
|
|
12131
12165
|
var g0;
|
|
@@ -12214,7 +12248,7 @@ caused by: ` + e.fullStack(i);
|
|
|
12214
12248
|
};
|
|
12215
12249
|
Qc.getParsedType = HB;
|
|
12216
12250
|
});
|
|
12217
|
-
var Np =
|
|
12251
|
+
var Np = z4((oi) => {
|
|
12218
12252
|
Object.defineProperty(oi, "__esModule", { value: true });
|
|
12219
12253
|
oi.ZodError = oi.quotelessJson = oi.ZodIssueCode = undefined;
|
|
12220
12254
|
var o7 = ta();
|
|
@@ -12301,7 +12335,7 @@ caused by: ` + e.fullStack(i);
|
|
|
12301
12335
|
return new cx(c);
|
|
12302
12336
|
};
|
|
12303
12337
|
});
|
|
12304
|
-
var o0 =
|
|
12338
|
+
var o0 = z4((y0) => {
|
|
12305
12339
|
Object.defineProperty(y0, "__esModule", { value: true });
|
|
12306
12340
|
var fc = Np(), $n = ta(), qB = (c, i) => {
|
|
12307
12341
|
let n;
|
|
@@ -12399,7 +12433,7 @@ caused by: ` + e.fullStack(i);
|
|
|
12399
12433
|
};
|
|
12400
12434
|
y0.default = qB;
|
|
12401
12435
|
});
|
|
12402
|
-
var lp =
|
|
12436
|
+
var lp = z4((ri) => {
|
|
12403
12437
|
var VB = ri && ri.__importDefault || function(c) {
|
|
12404
12438
|
return c && c.__esModule ? c : { default: c };
|
|
12405
12439
|
};
|
|
@@ -12417,7 +12451,7 @@ caused by: ` + e.fullStack(i);
|
|
|
12417
12451
|
return e7;
|
|
12418
12452
|
}
|
|
12419
12453
|
});
|
|
12420
|
-
var e0 =
|
|
12454
|
+
var e0 = z4((nc) => {
|
|
12421
12455
|
var MB = nc && nc.__importDefault || function(c) {
|
|
12422
12456
|
return c && c.__esModule ? c : { default: c };
|
|
12423
12457
|
};
|
|
@@ -12504,10 +12538,10 @@ caused by: ` + e.fullStack(i);
|
|
|
12504
12538
|
var bB = (c) => typeof Promise < "u" && c instanceof Promise;
|
|
12505
12539
|
nc.isAsync = bB;
|
|
12506
12540
|
});
|
|
12507
|
-
var i5 =
|
|
12541
|
+
var i5 = z4((c5) => {
|
|
12508
12542
|
Object.defineProperty(c5, "__esModule", { value: true });
|
|
12509
12543
|
});
|
|
12510
|
-
var a5 =
|
|
12544
|
+
var a5 = z4((Up) => {
|
|
12511
12545
|
Object.defineProperty(Up, "__esModule", { value: true });
|
|
12512
12546
|
Up.errorUtil = undefined;
|
|
12513
12547
|
var n5;
|
|
@@ -12515,7 +12549,7 @@ caused by: ` + e.fullStack(i);
|
|
|
12515
12549
|
c.errToObj = (i) => typeof i === "string" ? { message: i } : i || {}, c.toString = (i) => typeof i === "string" ? i : i?.message;
|
|
12516
12550
|
})(n5 || (Up.errorUtil = n5 = {}));
|
|
12517
12551
|
});
|
|
12518
|
-
var
|
|
12552
|
+
var z5 = z4((G) => {
|
|
12519
12553
|
Object.defineProperty(G, "__esModule", { value: true });
|
|
12520
12554
|
G.discriminatedUnion = G.date = G.boolean = G.bigint = G.array = G.any = G.coerce = G.ZodFirstPartyTypeKind = G.late = G.ZodSchema = G.Schema = G.ZodReadonly = G.ZodPipeline = G.ZodBranded = G.BRAND = G.ZodNaN = G.ZodCatch = G.ZodDefault = G.ZodNullable = G.ZodOptional = G.ZodTransformer = G.ZodEffects = G.ZodPromise = G.ZodNativeEnum = G.ZodEnum = G.ZodLiteral = G.ZodLazy = G.ZodFunction = G.ZodSet = G.ZodMap = G.ZodRecord = G.ZodTuple = G.ZodIntersection = G.ZodDiscriminatedUnion = G.ZodUnion = G.ZodObject = G.ZodArray = G.ZodVoid = G.ZodNever = G.ZodUnknown = G.ZodAny = G.ZodNull = G.ZodUndefined = G.ZodSymbol = G.ZodDate = G.ZodBoolean = G.ZodBigInt = G.ZodNumber = G.ZodString = G.ZodType = undefined;
|
|
12521
12555
|
G.NEVER = G.void = G.unknown = G.union = G.undefined = G.tuple = G.transformer = G.symbol = G.string = G.strictObject = G.set = G.record = G.promise = G.preprocess = G.pipeline = G.ostring = G.optional = G.onumber = G.oboolean = G.object = G.number = G.nullable = G.null = G.never = G.nativeEnum = G.nan = G.map = G.literal = G.lazy = G.intersection = G.instanceof = G.function = G.enum = G.effect = undefined;
|
|
@@ -14496,7 +14530,7 @@ caused by: ` + e.fullStack(i);
|
|
|
14496
14530
|
G.coerce = { string: (c) => Hi.create({ ...c, coerce: true }), number: (c) => ti.create({ ...c, coerce: true }), boolean: (c) => sn.create({ ...c, coerce: true }), bigint: (c) => cn.create({ ...c, coerce: true }), date: (c) => qn.create({ ...c, coerce: true }) };
|
|
14497
14531
|
G.NEVER = H.INVALID;
|
|
14498
14532
|
});
|
|
14499
|
-
var iv =
|
|
14533
|
+
var iv = z4((vi) => {
|
|
14500
14534
|
var Su = vi && vi.__createBinding || (Object.create ? function(c, i, n, a) {
|
|
14501
14535
|
if (a === undefined)
|
|
14502
14536
|
a = n;
|
|
@@ -14520,10 +14554,10 @@ caused by: ` + e.fullStack(i);
|
|
|
14520
14554
|
xa(e0(), vi);
|
|
14521
14555
|
xa(i5(), vi);
|
|
14522
14556
|
xa(ta(), vi);
|
|
14523
|
-
xa(
|
|
14557
|
+
xa(z5(), vi);
|
|
14524
14558
|
xa(Np(), vi);
|
|
14525
14559
|
});
|
|
14526
|
-
var pa =
|
|
14560
|
+
var pa = z4((gc) => {
|
|
14527
14561
|
var H5 = gc && gc.__createBinding || (Object.create ? function(c, i, n, a) {
|
|
14528
14562
|
if (a === undefined)
|
|
14529
14563
|
a = n;
|
|
@@ -14563,7 +14597,7 @@ caused by: ` + e.fullStack(i);
|
|
|
14563
14597
|
Ru(iv(), gc);
|
|
14564
14598
|
gc.default = $5;
|
|
14565
14599
|
});
|
|
14566
|
-
var r5 =
|
|
14600
|
+
var r5 = z4((dK, o5) => {
|
|
14567
14601
|
var { create: fu, defineProperty: Sp, getOwnPropertyDescriptor: Zu, getOwnPropertyNames: Pu, getPrototypeOf: Tu } = Object, Eu = Object.prototype.hasOwnProperty, ku = (c, i) => {
|
|
14568
14602
|
for (var n in i)
|
|
14569
14603
|
Sp(c, n, { get: i[n], enumerable: true });
|
|
@@ -15414,7 +15448,7 @@ var init_integration_action_types = __esm(() => {
|
|
|
15414
15448
|
var require_package = __commonJS((exports, module) => {
|
|
15415
15449
|
module.exports = {
|
|
15416
15450
|
name: "@botpress/adk",
|
|
15417
|
-
version: "1.19.0-beta.
|
|
15451
|
+
version: "1.19.0-beta.3",
|
|
15418
15452
|
description: "Core ADK library for building AI agents on Botpress",
|
|
15419
15453
|
keywords: [
|
|
15420
15454
|
"adk",
|
|
@@ -15448,6 +15482,10 @@ var require_package = __commonJS((exports, module) => {
|
|
|
15448
15482
|
types: "./dist/dependencies/index.d.ts",
|
|
15449
15483
|
import: "./dist/dependencies/index.js"
|
|
15450
15484
|
},
|
|
15485
|
+
"./internal/agent0": {
|
|
15486
|
+
types: "./dist/agent0/index.d.ts",
|
|
15487
|
+
import: "./dist/agent0/index.js"
|
|
15488
|
+
},
|
|
15451
15489
|
"./package.json": "./package.json",
|
|
15452
15490
|
"./schemas/*": "./schemas/*"
|
|
15453
15491
|
},
|
|
@@ -15464,11 +15502,11 @@ var require_package = __commonJS((exports, module) => {
|
|
|
15464
15502
|
},
|
|
15465
15503
|
dependencies: {
|
|
15466
15504
|
"@botpress/chat": "~0.5.5",
|
|
15467
|
-
"@botpress/cli": "~6.
|
|
15468
|
-
"@botpress/client": "~1.
|
|
15505
|
+
"@botpress/cli": "~6.8.1",
|
|
15506
|
+
"@botpress/client": "~1.46.0",
|
|
15469
15507
|
"@botpress/cognitive": "~0.5.4",
|
|
15470
|
-
"@botpress/runtime": "^1.19.0-beta.
|
|
15471
|
-
"@botpress/sdk": "~6.
|
|
15508
|
+
"@botpress/runtime": "^1.19.0-beta.3",
|
|
15509
|
+
"@botpress/sdk": "~6.11.1",
|
|
15472
15510
|
"@bpinternal/jex": "^1.2.4",
|
|
15473
15511
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
15474
15512
|
"@parcel/watcher": "^2.5.1",
|
|
@@ -15477,7 +15515,7 @@ var require_package = __commonJS((exports, module) => {
|
|
|
15477
15515
|
execa: "9.6.1",
|
|
15478
15516
|
glob: "^11.1.0",
|
|
15479
15517
|
luxon: "^3.7.2",
|
|
15480
|
-
"opencode-ai": "1.
|
|
15518
|
+
"opencode-ai": "1.15.10",
|
|
15481
15519
|
oxfmt: "^0.41.0",
|
|
15482
15520
|
semver: "^7.7.2",
|
|
15483
15521
|
"tree-kill": "^1.2.2",
|
|
@@ -15487,22 +15525,19 @@ var require_package = __commonJS((exports, module) => {
|
|
|
15487
15525
|
typescript: ">=4.5.0"
|
|
15488
15526
|
},
|
|
15489
15527
|
engines: {
|
|
15490
|
-
bun: ">=1.3.
|
|
15528
|
+
bun: ">=1.3.14",
|
|
15491
15529
|
node: ">=22.0.0"
|
|
15492
15530
|
},
|
|
15493
|
-
packageManager: "bun@1.3.
|
|
15531
|
+
packageManager: "bun@1.3.14"
|
|
15494
15532
|
};
|
|
15495
15533
|
});
|
|
15496
15534
|
|
|
15497
15535
|
// src/dependencies/index.ts
|
|
15498
15536
|
var exports_dependencies = {};
|
|
15499
15537
|
__export(exports_dependencies, {
|
|
15500
|
-
substituteEnvRefs: () => substituteEnvRefs,
|
|
15501
15538
|
sortKeysDeep: () => sortKeysDeep,
|
|
15502
|
-
rewriteSecrets: () => rewriteSecrets,
|
|
15503
15539
|
migrateFromConfig: () => migrateFromConfig,
|
|
15504
15540
|
jsonEqual: () => jsonEqual,
|
|
15505
|
-
collectEnvRefs: () => collectEnvRefs,
|
|
15506
15541
|
PluginResolver: () => PluginResolver,
|
|
15507
15542
|
PluginRegistry: () => PluginRegistry,
|
|
15508
15543
|
LockFile: () => LockFile,
|
|
@@ -15517,6 +15552,7 @@ __export(exports_dependencies, {
|
|
|
15517
15552
|
|
|
15518
15553
|
// src/dependencies/dependency-manager.ts
|
|
15519
15554
|
init_lock_file();
|
|
15555
|
+
import * as semver2 from "semver";
|
|
15520
15556
|
|
|
15521
15557
|
// src/dependencies/alias-utils.ts
|
|
15522
15558
|
var FRIENDLY_ALIAS_RE = /^[a-z0-9_-]{2,100}$/;
|
|
@@ -15547,54 +15583,6 @@ init_errors();
|
|
|
15547
15583
|
// src/dependencies/resolvers/integration-resolver.ts
|
|
15548
15584
|
init_errors();
|
|
15549
15585
|
|
|
15550
|
-
// src/dependencies/env-substitution.ts
|
|
15551
|
-
init_errors();
|
|
15552
|
-
var ENV_REF_RE = /\$\{env:([A-Z0-9_]+)\}/g;
|
|
15553
|
-
function substituteEnvRefs(value, env) {
|
|
15554
|
-
if (typeof value === "string") {
|
|
15555
|
-
return value.replace(ENV_REF_RE, (_match, key) => {
|
|
15556
|
-
const v = env[key];
|
|
15557
|
-
if (v === undefined) {
|
|
15558
|
-
throw new DependencyError({
|
|
15559
|
-
code: "INVALID_CONFIG",
|
|
15560
|
-
message: `Env var ${key} referenced in config but not set`,
|
|
15561
|
-
details: { key },
|
|
15562
|
-
suggestion: `Set ${key} in your .env or environment`
|
|
15563
|
-
});
|
|
15564
|
-
}
|
|
15565
|
-
return v;
|
|
15566
|
-
});
|
|
15567
|
-
}
|
|
15568
|
-
if (Array.isArray(value))
|
|
15569
|
-
return value.map((v) => substituteEnvRefs(v, env));
|
|
15570
|
-
if (value && typeof value === "object") {
|
|
15571
|
-
const obj = value;
|
|
15572
|
-
const out = {};
|
|
15573
|
-
for (const [k, v] of Object.entries(obj))
|
|
15574
|
-
out[k] = substituteEnvRefs(v, env);
|
|
15575
|
-
return out;
|
|
15576
|
-
}
|
|
15577
|
-
return value;
|
|
15578
|
-
}
|
|
15579
|
-
function collectEnvRefs(value, into = new Set) {
|
|
15580
|
-
if (typeof value === "string") {
|
|
15581
|
-
for (const m of value.matchAll(ENV_REF_RE))
|
|
15582
|
-
into.add(m[1]);
|
|
15583
|
-
return into;
|
|
15584
|
-
}
|
|
15585
|
-
if (Array.isArray(value)) {
|
|
15586
|
-
for (const v of value)
|
|
15587
|
-
collectEnvRefs(v, into);
|
|
15588
|
-
return into;
|
|
15589
|
-
}
|
|
15590
|
-
if (value && typeof value === "object") {
|
|
15591
|
-
for (const v of Object.values(value))
|
|
15592
|
-
collectEnvRefs(v, into);
|
|
15593
|
-
}
|
|
15594
|
-
return into;
|
|
15595
|
-
}
|
|
15596
|
-
|
|
15597
|
-
// src/dependencies/resolvers/integration-resolver.ts
|
|
15598
15586
|
class IntegrationResolver {
|
|
15599
15587
|
registry;
|
|
15600
15588
|
client;
|
|
@@ -15619,14 +15607,13 @@ class IntegrationResolver {
|
|
|
15619
15607
|
message: `Could not resolve integrationId for ${opts.entry.name}@${opts.entry.version}`
|
|
15620
15608
|
});
|
|
15621
15609
|
}
|
|
15622
|
-
const resolvedConfig = opts.env ? substituteEnvRefs(opts.entry.config, opts.env) : opts.entry.config;
|
|
15623
15610
|
await this.client.updateBot({
|
|
15624
15611
|
id: opts.botId,
|
|
15625
15612
|
integrations: {
|
|
15626
15613
|
[opts.alias]: {
|
|
15627
15614
|
integrationId,
|
|
15628
15615
|
enabled: opts.entry.enabled,
|
|
15629
|
-
configuration:
|
|
15616
|
+
configuration: opts.entry.config
|
|
15630
15617
|
}
|
|
15631
15618
|
}
|
|
15632
15619
|
});
|
|
@@ -15641,6 +15628,7 @@ class IntegrationResolver {
|
|
|
15641
15628
|
|
|
15642
15629
|
// src/dependencies/resolvers/plugin-resolver.ts
|
|
15643
15630
|
init_errors();
|
|
15631
|
+
|
|
15644
15632
|
class PluginResolver {
|
|
15645
15633
|
registry;
|
|
15646
15634
|
integrationRegistry;
|
|
@@ -15709,14 +15697,13 @@ class PluginResolver {
|
|
|
15709
15697
|
message: `Could not resolve plugin id for ${opts.entry.name}@${opts.entry.version}`
|
|
15710
15698
|
});
|
|
15711
15699
|
}
|
|
15712
|
-
const resolvedConfig = opts.env ? substituteEnvRefs(opts.entry.config, opts.env) : opts.entry.config;
|
|
15713
15700
|
await this.client.updateBot({
|
|
15714
15701
|
id: opts.botId,
|
|
15715
15702
|
plugins: {
|
|
15716
15703
|
[opts.alias]: {
|
|
15717
15704
|
id: pluginId,
|
|
15718
15705
|
enabled: opts.entry.enabled,
|
|
15719
|
-
configuration:
|
|
15706
|
+
configuration: opts.entry.config,
|
|
15720
15707
|
interfaces: resolvedInterfaces
|
|
15721
15708
|
}
|
|
15722
15709
|
}
|
|
@@ -16023,7 +16010,6 @@ class DependencyManager {
|
|
|
16023
16010
|
pluginRegistry;
|
|
16024
16011
|
integrationResolver;
|
|
16025
16012
|
pluginResolver;
|
|
16026
|
-
envSource;
|
|
16027
16013
|
constructor(opts) {
|
|
16028
16014
|
this.projectPath = opts.projectPath;
|
|
16029
16015
|
this.env = opts.env;
|
|
@@ -16038,7 +16024,6 @@ class DependencyManager {
|
|
|
16038
16024
|
integrationRegistry: this.integrationRegistry,
|
|
16039
16025
|
client: this.client
|
|
16040
16026
|
});
|
|
16041
|
-
this.envSource = Object.fromEntries(Object.entries(process.env).filter(([, v]) => typeof v === "string"));
|
|
16042
16027
|
}
|
|
16043
16028
|
static async fromProject(opts) {
|
|
16044
16029
|
const project = await AgentProject.load(opts.projectPath);
|
|
@@ -16121,7 +16106,7 @@ class DependencyManager {
|
|
|
16121
16106
|
};
|
|
16122
16107
|
let installedDisabled;
|
|
16123
16108
|
try {
|
|
16124
|
-
await this.integrationResolver.applyToCloud({ botId: this.botId, alias, entry: desired
|
|
16109
|
+
await this.integrationResolver.applyToCloud({ botId: this.botId, alias, entry: desired });
|
|
16125
16110
|
} catch (err) {
|
|
16126
16111
|
const missingFields = extractMissingRequiredFields(err);
|
|
16127
16112
|
if (!missingFields)
|
|
@@ -16129,8 +16114,7 @@ class DependencyManager {
|
|
|
16129
16114
|
await this.integrationResolver.applyToCloud({
|
|
16130
16115
|
botId: this.botId,
|
|
16131
16116
|
alias,
|
|
16132
|
-
entry: { ...desired, enabled: false }
|
|
16133
|
-
env: this.envSource
|
|
16117
|
+
entry: { ...desired, enabled: false }
|
|
16134
16118
|
});
|
|
16135
16119
|
installedDisabled = { missingFields };
|
|
16136
16120
|
}
|
|
@@ -16151,7 +16135,7 @@ class DependencyManager {
|
|
|
16151
16135
|
config: spec.config ?? {},
|
|
16152
16136
|
dependencies: resolvedDeps
|
|
16153
16137
|
};
|
|
16154
|
-
await this.pluginResolver.applyToCloud({ botId: this.botId, alias, entry: desired, lock
|
|
16138
|
+
await this.pluginResolver.applyToCloud({ botId: this.botId, alias, entry: desired, lock });
|
|
16155
16139
|
const refreshed = await this.refreshLockFromCloud();
|
|
16156
16140
|
const resolvedVersion = refreshed.plugins[alias]?.version ?? version;
|
|
16157
16141
|
return { ok: true, resource: { type, alias, name: spec.name, version: resolvedVersion }, autoResolved };
|
|
@@ -16265,16 +16249,14 @@ class DependencyManager {
|
|
|
16265
16249
|
await this.integrationResolver.applyToCloud({
|
|
16266
16250
|
botId: this.botId,
|
|
16267
16251
|
alias,
|
|
16268
|
-
entry
|
|
16269
|
-
env: this.envSource
|
|
16252
|
+
entry
|
|
16270
16253
|
});
|
|
16271
16254
|
} else {
|
|
16272
16255
|
await this.pluginResolver.applyToCloud({
|
|
16273
16256
|
botId: this.botId,
|
|
16274
16257
|
alias,
|
|
16275
16258
|
entry,
|
|
16276
|
-
lock
|
|
16277
|
-
env: this.envSource
|
|
16259
|
+
lock
|
|
16278
16260
|
});
|
|
16279
16261
|
}
|
|
16280
16262
|
}
|
|
@@ -16428,36 +16410,100 @@ class DependencyManager {
|
|
|
16428
16410
|
for (const [alias, entry] of Object.entries(lock.integrations)) {
|
|
16429
16411
|
const c = cloud.integrations[alias];
|
|
16430
16412
|
if (!c) {
|
|
16431
|
-
actions.push({
|
|
16413
|
+
actions.push({
|
|
16414
|
+
type: "integration",
|
|
16415
|
+
alias,
|
|
16416
|
+
action: "install",
|
|
16417
|
+
details: { name: entry.name, version: entry.version }
|
|
16418
|
+
});
|
|
16432
16419
|
} else if (c.version !== entry.version) {
|
|
16433
|
-
|
|
16420
|
+
const isDowngrade = semver2.valid(c.version) && semver2.valid(entry.version) && semver2.gt(c.version, entry.version);
|
|
16421
|
+
actions.push({
|
|
16422
|
+
type: "integration",
|
|
16423
|
+
alias,
|
|
16424
|
+
action: isDowngrade ? "downgrade" : "upgrade",
|
|
16425
|
+
details: { name: entry.name, fromVersion: c.version, toVersion: entry.version }
|
|
16426
|
+
});
|
|
16434
16427
|
} else {
|
|
16435
16428
|
if (c.enabled !== entry.enabled)
|
|
16436
|
-
actions.push({
|
|
16429
|
+
actions.push({
|
|
16430
|
+
type: "integration",
|
|
16431
|
+
alias,
|
|
16432
|
+
action: entry.enabled ? "enable" : "disable",
|
|
16433
|
+
details: { name: entry.name, version: entry.version, previous: c.enabled }
|
|
16434
|
+
});
|
|
16437
16435
|
if (!jsonEqual(c.config, entry.config))
|
|
16438
|
-
actions.push({
|
|
16436
|
+
actions.push({
|
|
16437
|
+
type: "integration",
|
|
16438
|
+
alias,
|
|
16439
|
+
action: "reconfigure",
|
|
16440
|
+
details: { name: entry.name, version: entry.version, changedFields: ["config"] }
|
|
16441
|
+
});
|
|
16439
16442
|
}
|
|
16440
16443
|
}
|
|
16441
16444
|
for (const alias of Object.keys(cloud.integrations)) {
|
|
16442
|
-
if (!lock.integrations[alias])
|
|
16443
|
-
|
|
16445
|
+
if (!lock.integrations[alias]) {
|
|
16446
|
+
const c = cloud.integrations[alias];
|
|
16447
|
+
actions.push({
|
|
16448
|
+
type: "integration",
|
|
16449
|
+
alias,
|
|
16450
|
+
action: "uninstall",
|
|
16451
|
+
details: { name: c.name, version: c.version }
|
|
16452
|
+
});
|
|
16453
|
+
}
|
|
16444
16454
|
}
|
|
16445
16455
|
for (const [alias, entry] of Object.entries(lock.plugins)) {
|
|
16446
16456
|
const c = cloud.plugins[alias];
|
|
16447
16457
|
if (!c) {
|
|
16448
|
-
actions.push({
|
|
16458
|
+
actions.push({
|
|
16459
|
+
type: "plugin",
|
|
16460
|
+
alias,
|
|
16461
|
+
action: "install",
|
|
16462
|
+
details: { name: entry.name, version: entry.version }
|
|
16463
|
+
});
|
|
16449
16464
|
} else if (c.version !== entry.version) {
|
|
16450
|
-
|
|
16465
|
+
const isDowngrade = semver2.valid(c.version) && semver2.valid(entry.version) && semver2.gt(c.version, entry.version);
|
|
16466
|
+
actions.push({
|
|
16467
|
+
type: "plugin",
|
|
16468
|
+
alias,
|
|
16469
|
+
action: isDowngrade ? "downgrade" : "upgrade",
|
|
16470
|
+
details: { name: entry.name, fromVersion: c.version, toVersion: entry.version }
|
|
16471
|
+
});
|
|
16451
16472
|
} else {
|
|
16452
16473
|
if (c.enabled !== entry.enabled)
|
|
16453
|
-
actions.push({
|
|
16454
|
-
|
|
16455
|
-
|
|
16474
|
+
actions.push({
|
|
16475
|
+
type: "plugin",
|
|
16476
|
+
alias,
|
|
16477
|
+
action: entry.enabled ? "enable" : "disable",
|
|
16478
|
+
details: { name: entry.name, version: entry.version, previous: c.enabled }
|
|
16479
|
+
});
|
|
16480
|
+
const configChanged = !jsonEqual(c.config, entry.config);
|
|
16481
|
+
const depsChanged = !jsonEqual(c.dependencies, entry.dependencies);
|
|
16482
|
+
if (configChanged || depsChanged) {
|
|
16483
|
+
const changedFields = [];
|
|
16484
|
+
if (configChanged)
|
|
16485
|
+
changedFields.push("config");
|
|
16486
|
+
if (depsChanged)
|
|
16487
|
+
changedFields.push("dependencies");
|
|
16488
|
+
actions.push({
|
|
16489
|
+
type: "plugin",
|
|
16490
|
+
alias,
|
|
16491
|
+
action: "reconfigure",
|
|
16492
|
+
details: { name: entry.name, version: entry.version, changedFields }
|
|
16493
|
+
});
|
|
16494
|
+
}
|
|
16456
16495
|
}
|
|
16457
16496
|
}
|
|
16458
16497
|
for (const alias of Object.keys(cloud.plugins)) {
|
|
16459
|
-
if (!lock.plugins[alias])
|
|
16460
|
-
|
|
16498
|
+
if (!lock.plugins[alias]) {
|
|
16499
|
+
const c = cloud.plugins[alias];
|
|
16500
|
+
actions.push({
|
|
16501
|
+
type: "plugin",
|
|
16502
|
+
alias,
|
|
16503
|
+
action: "uninstall",
|
|
16504
|
+
details: { name: c.name, version: c.version }
|
|
16505
|
+
});
|
|
16506
|
+
}
|
|
16461
16507
|
}
|
|
16462
16508
|
if (opts?.dryRun) {
|
|
16463
16509
|
return { target: this.env, applied: [], skipped: actions, errors: [], dryRun: true };
|
|
@@ -16575,7 +16621,6 @@ class DependencyManager {
|
|
|
16575
16621
|
});
|
|
16576
16622
|
usedIntegrationAliases.add(alias);
|
|
16577
16623
|
const entry = this.integrationResolver.toLockEntry(c);
|
|
16578
|
-
entry.config = preserveEnvRefs(previous.integrations[alias]?.config, entry.config);
|
|
16579
16624
|
integrations[alias] = entry;
|
|
16580
16625
|
}
|
|
16581
16626
|
const plugins = {};
|
|
@@ -16590,7 +16635,6 @@ class DependencyManager {
|
|
|
16590
16635
|
});
|
|
16591
16636
|
usedPluginAliases.add(alias);
|
|
16592
16637
|
const entry = this.pluginResolver.toLockEntry(c);
|
|
16593
|
-
entry.config = preserveEnvRefs(previous.plugins[alias]?.config, entry.config);
|
|
16594
16638
|
plugins[alias] = entry;
|
|
16595
16639
|
}
|
|
16596
16640
|
return { integrations, plugins };
|
|
@@ -16635,65 +16679,11 @@ function extractMissingRequiredFields(err) {
|
|
|
16635
16679
|
}
|
|
16636
16680
|
return fields.size > 0 ? [...fields] : null;
|
|
16637
16681
|
}
|
|
16638
|
-
function preserveEnvRefs(previous, next) {
|
|
16639
|
-
if (typeof previous === "string" && /\$\{env:[A-Z0-9_]+\}/.test(previous)) {
|
|
16640
|
-
return previous;
|
|
16641
|
-
}
|
|
16642
|
-
if (Array.isArray(next)) {
|
|
16643
|
-
const prevArray = Array.isArray(previous) ? previous : [];
|
|
16644
|
-
return next.map((value, index) => preserveEnvRefs(prevArray[index], value));
|
|
16645
|
-
}
|
|
16646
|
-
if (next && typeof next === "object") {
|
|
16647
|
-
const prevObject = previous && typeof previous === "object" ? previous : {};
|
|
16648
|
-
const out = {};
|
|
16649
|
-
for (const [key, value] of Object.entries(next)) {
|
|
16650
|
-
out[key] = preserveEnvRefs(prevObject[key], value);
|
|
16651
|
-
}
|
|
16652
|
-
return out;
|
|
16653
|
-
}
|
|
16654
|
-
return next;
|
|
16655
|
-
}
|
|
16656
16682
|
|
|
16657
16683
|
// src/dependencies/index.ts
|
|
16658
16684
|
init_lock_file();
|
|
16659
16685
|
init_errors();
|
|
16660
16686
|
|
|
16661
|
-
// src/dependencies/secrets-rewriter.ts
|
|
16662
|
-
var HEURISTIC_SECRET_PATTERN = /secret|token|key|password|credential/i;
|
|
16663
|
-
var EXISTING_REF_PATTERN = /^\$\{env:[A-Z0-9_]+\}$/;
|
|
16664
|
-
function rewriteSecrets(input) {
|
|
16665
|
-
const result = { ...input.config };
|
|
16666
|
-
const envVars = [];
|
|
16667
|
-
const warnings = [];
|
|
16668
|
-
for (const [field, value] of Object.entries(result)) {
|
|
16669
|
-
if (typeof value !== "string")
|
|
16670
|
-
continue;
|
|
16671
|
-
if (EXISTING_REF_PATTERN.test(value)) {
|
|
16672
|
-
const match = value.match(/^\$\{env:([A-Z0-9_]+)\}$/);
|
|
16673
|
-
if (match)
|
|
16674
|
-
envVars.push(match[1]);
|
|
16675
|
-
continue;
|
|
16676
|
-
}
|
|
16677
|
-
const markedSecret = input.schema?.properties?.[field]?.["x-zui"]?.secret === true;
|
|
16678
|
-
const heuristic = !markedSecret && HEURISTIC_SECRET_PATTERN.test(field);
|
|
16679
|
-
if (markedSecret || heuristic) {
|
|
16680
|
-
const envName = toEnvVar(input.alias, field);
|
|
16681
|
-
result[field] = `\${env:${envName}}`;
|
|
16682
|
-
envVars.push(envName);
|
|
16683
|
-
if (heuristic) {
|
|
16684
|
-
warnings.push({
|
|
16685
|
-
code: "HEURISTIC_SECRET_MASKED",
|
|
16686
|
-
message: `Heuristically masked ${input.alias}.${field} as \${env:${envName}}. Confirm and set the env var.`
|
|
16687
|
-
});
|
|
16688
|
-
}
|
|
16689
|
-
}
|
|
16690
|
-
}
|
|
16691
|
-
return { config: result, envVars, warnings };
|
|
16692
|
-
}
|
|
16693
|
-
function toEnvVar(alias, field) {
|
|
16694
|
-
const norm = (s) => s.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/[^A-Za-z0-9]+/g, "_").toUpperCase().replace(/^_+|_+$/g, "");
|
|
16695
|
-
return `${norm(alias)}_${norm(field)}`;
|
|
16696
|
-
}
|
|
16697
16687
|
// src/dependencies/registry/interface-registry.ts
|
|
16698
16688
|
init_constants();
|
|
16699
16689
|
|
|
@@ -17021,7 +17011,6 @@ init_agent_project();
|
|
|
17021
17011
|
async function migrateFromConfig(opts) {
|
|
17022
17012
|
const result = {
|
|
17023
17013
|
migrated: [],
|
|
17024
|
-
envVarsToSet: [],
|
|
17025
17014
|
warnings: [],
|
|
17026
17015
|
skipped: []
|
|
17027
17016
|
};
|
|
@@ -17084,16 +17073,11 @@ async function migrateFromConfig(opts) {
|
|
|
17084
17073
|
const declaredAlias = Object.entries(declaredAliases.integrations).find(([, decl]) => decl.name === cloud.name)?.[0];
|
|
17085
17074
|
const alias = declaredAlias ?? generateFriendlyAlias(cloud.name, cloudAlias, usedIntegrationAliases);
|
|
17086
17075
|
usedIntegrationAliases.add(alias);
|
|
17087
|
-
const spec = await opts.integrationRegistry.getSpec(cloud.name, cloud.version).catch(() => ({}));
|
|
17088
|
-
const schema = spec?.configuration?.schema;
|
|
17089
|
-
const rewritten = rewriteSecrets({ alias, config: cloud.configuration ?? {}, schema });
|
|
17090
|
-
result.envVarsToSet.push(...rewritten.envVars);
|
|
17091
|
-
result.warnings.push(...rewritten.warnings);
|
|
17092
17076
|
lockData.integrations[alias] = {
|
|
17093
17077
|
name: cloud.name,
|
|
17094
17078
|
version: cloud.version,
|
|
17095
17079
|
enabled: cloud.enabled ?? false,
|
|
17096
|
-
config:
|
|
17080
|
+
config: cloud.configuration ?? {}
|
|
17097
17081
|
};
|
|
17098
17082
|
}
|
|
17099
17083
|
const usedPluginAliases = new Set(Object.keys(declaredAliases.plugins));
|
|
@@ -17124,7 +17108,6 @@ async function migrateFromConfig(opts) {
|
|
|
17124
17108
|
message: `Migrated dependencies to ${result.migrated.map((e) => `dependencies.${e}.lock.json`).join(", ")}. Review the diff and commit.`
|
|
17125
17109
|
});
|
|
17126
17110
|
}
|
|
17127
|
-
result.envVarsToSet = [...new Set(result.envVarsToSet)];
|
|
17128
17111
|
return result;
|
|
17129
17112
|
}
|
|
17130
17113
|
async function readAliasesFromConfig(projectPath) {
|
|
@@ -17226,7 +17209,7 @@ import os8 from "os";
|
|
|
17226
17209
|
import path17 from "path";
|
|
17227
17210
|
import createDebug2 from "debug";
|
|
17228
17211
|
var debug2 = createDebug2("adk:bp-cli");
|
|
17229
|
-
var BP_CLI_VERSION = "6.
|
|
17212
|
+
var BP_CLI_VERSION = "6.8.1";
|
|
17230
17213
|
var BP_CLI_INSTALL_ALL = path17.join(os8.homedir(), ".adk", `bp-cli`);
|
|
17231
17214
|
var BP_CLI_INSTALL_DIR = path17.join(BP_CLI_INSTALL_ALL, BP_CLI_VERSION);
|
|
17232
17215
|
var BP_CLI_BIN_PATH = path17.join(BP_CLI_INSTALL_DIR, "node_modules", "@botpress", "cli", "bin.js");
|
|
@@ -17724,6 +17707,27 @@ import { execa as execa4 } from "execa";
|
|
|
17724
17707
|
import treeKill from "tree-kill";
|
|
17725
17708
|
import { join as join6 } from "path";
|
|
17726
17709
|
import { access as access4 } from "fs/promises";
|
|
17710
|
+
|
|
17711
|
+
// src/commands/bp-dev-stderr.ts
|
|
17712
|
+
var REQUEST_HANDLING_ERROR_MARKER = /an error occurred while handling request/i;
|
|
17713
|
+
function classifyFatalStderr(text, port) {
|
|
17714
|
+
for (const line of text.split(`
|
|
17715
|
+
`)) {
|
|
17716
|
+
const lowerLine = line.toLowerCase();
|
|
17717
|
+
if (lowerLine.includes("eaddrinuse") || lowerLine.includes("address already in use")) {
|
|
17718
|
+
return `Port ${port} is already in use. Please stop the other process or use a different port.`;
|
|
17719
|
+
}
|
|
17720
|
+
if (lowerLine.includes("eacces") || lowerLine.includes("permission denied")) {
|
|
17721
|
+
return "Permission denied. You may need administrator privileges.";
|
|
17722
|
+
}
|
|
17723
|
+
if ((lowerLine.includes("econnrefused") || lowerLine.includes("connection refused")) && !REQUEST_HANDLING_ERROR_MARKER.test(line)) {
|
|
17724
|
+
return "Connection refused. The Botpress API may be unavailable.";
|
|
17725
|
+
}
|
|
17726
|
+
}
|
|
17727
|
+
return null;
|
|
17728
|
+
}
|
|
17729
|
+
|
|
17730
|
+
// src/commands/bp-dev-command.ts
|
|
17727
17731
|
class BpDevCommand extends BaseCommand {
|
|
17728
17732
|
options;
|
|
17729
17733
|
childProcess = null;
|
|
@@ -17818,15 +17822,7 @@ class BpDevCommand extends BaseCommand {
|
|
|
17818
17822
|
if (this.stderrLines.length > this.MAX_STDERR_LINES) {
|
|
17819
17823
|
this.stderrLines = this.stderrLines.slice(-this.MAX_STDERR_LINES);
|
|
17820
17824
|
}
|
|
17821
|
-
const
|
|
17822
|
-
let fatalError = null;
|
|
17823
|
-
if (lowerText.includes("eaddrinuse") || lowerText.includes("address already in use")) {
|
|
17824
|
-
fatalError = `Port ${port} is already in use. Please stop the other process or use a different port.`;
|
|
17825
|
-
} else if (lowerText.includes("eacces") || lowerText.includes("permission denied")) {
|
|
17826
|
-
fatalError = "Permission denied. You may need administrator privileges.";
|
|
17827
|
-
} else if (lowerText.includes("econnrefused") || lowerText.includes("connection refused")) {
|
|
17828
|
-
fatalError = "Connection refused. The Botpress API may be unavailable.";
|
|
17829
|
-
}
|
|
17825
|
+
const fatalError = classifyFatalStderr(text, port);
|
|
17830
17826
|
if (fatalError) {
|
|
17831
17827
|
const errorObj = {
|
|
17832
17828
|
exitCode: 1,
|
|
@@ -18052,474 +18048,6 @@ class BpChatCommand extends BaseCommand {
|
|
|
18052
18048
|
}
|
|
18053
18049
|
}
|
|
18054
18050
|
}
|
|
18055
|
-
// src/commands/copilot-server.ts
|
|
18056
|
-
init_auth();
|
|
18057
|
-
import { spawn, execFileSync } from "node:child_process";
|
|
18058
|
-
import { createServer } from "node:net";
|
|
18059
|
-
import { createRequire as createRequire3 } from "node:module";
|
|
18060
|
-
import { resolve as resolve3, dirname as dirname4, join as join8 } from "node:path";
|
|
18061
|
-
import { existsSync as existsSync3, mkdirSync as mkdirSync2, chmodSync, copyFileSync, renameSync, rmSync, createWriteStream } from "node:fs";
|
|
18062
|
-
import { homedir as homedir3, tmpdir, platform, arch } from "node:os";
|
|
18063
|
-
import { pipeline } from "node:stream/promises";
|
|
18064
|
-
import { z as z4 } from "@botpress/sdk";
|
|
18065
|
-
|
|
18066
|
-
// src/commands/copilot-config.ts
|
|
18067
|
-
import { readFileSync as readFileSync3, writeFileSync, existsSync as existsSync2, mkdirSync } from "node:fs";
|
|
18068
|
-
import { join as join7, dirname as dirname3 } from "node:path";
|
|
18069
|
-
import { homedir as homedir2 } from "node:os";
|
|
18070
|
-
function getCopilotConfigPath() {
|
|
18071
|
-
const home = process.env.HOME || homedir2();
|
|
18072
|
-
return join7(home, ".adk", "copilot.json");
|
|
18073
|
-
}
|
|
18074
|
-
function readCopilotConfig() {
|
|
18075
|
-
const configPath = getCopilotConfigPath();
|
|
18076
|
-
if (!existsSync2(configPath))
|
|
18077
|
-
return null;
|
|
18078
|
-
try {
|
|
18079
|
-
const raw = readFileSync3(configPath, "utf-8");
|
|
18080
|
-
return JSON.parse(raw);
|
|
18081
|
-
} catch {
|
|
18082
|
-
return null;
|
|
18083
|
-
}
|
|
18084
|
-
}
|
|
18085
|
-
function writeCopilotConfig(config) {
|
|
18086
|
-
const configPath = getCopilotConfigPath();
|
|
18087
|
-
mkdirSync(dirname3(configPath), { recursive: true });
|
|
18088
|
-
writeFileSync(configPath, JSON.stringify(config, null, 2) + `
|
|
18089
|
-
`);
|
|
18090
|
-
}
|
|
18091
|
-
function createDefaultCopilotConfig() {
|
|
18092
|
-
return {
|
|
18093
|
-
provider: {
|
|
18094
|
-
anthropic: {
|
|
18095
|
-
options: {
|
|
18096
|
-
apiKey: "{env:ANTHROPIC_API_KEY}"
|
|
18097
|
-
}
|
|
18098
|
-
},
|
|
18099
|
-
openai: {
|
|
18100
|
-
options: {
|
|
18101
|
-
apiKey: "{env:OPENAI_API_KEY}"
|
|
18102
|
-
}
|
|
18103
|
-
}
|
|
18104
|
-
},
|
|
18105
|
-
permission: {
|
|
18106
|
-
edit: "allow",
|
|
18107
|
-
bash: "allow",
|
|
18108
|
-
mcp: "allow"
|
|
18109
|
-
}
|
|
18110
|
-
};
|
|
18111
|
-
}
|
|
18112
|
-
|
|
18113
|
-
// src/commands/opencode-config.ts
|
|
18114
|
-
var COPILOT_PROMPT = `You are the ADK Copilot — an expert assistant embedded in the Botpress Agent Development Kit control panel.
|
|
18115
|
-
|
|
18116
|
-
## Who you help
|
|
18117
|
-
A developer building an AI agent with the ADK. They're running \`adk dev\` and have the control panel open alongside you. They can see traces, logs, integrations, workflows, and tables in the UI.
|
|
18118
|
-
|
|
18119
|
-
## What you know
|
|
18120
|
-
The ADK is a high-level framework built on Botpress. An agent project has:
|
|
18121
|
-
- /actions — strongly-typed callable functions (Action from @botpress/runtime)
|
|
18122
|
-
- /tools — LLM-callable interfaces with natural language descriptions (Tool from @botpress/runtime)
|
|
18123
|
-
- /workflows — step-based, resumable long-running processes (Workflow from @botpress/runtime)
|
|
18124
|
-
- /conversations — channel-specific interaction handlers (Conversation from @botpress/runtime)
|
|
18125
|
-
- /tables — schema-validated data storage with semantic search (Table from @botpress/runtime)
|
|
18126
|
-
- /triggers — event subscription system (Trigger from @botpress/runtime)
|
|
18127
|
-
- /knowledge — RAG knowledge base documents
|
|
18128
|
-
- agent.config.ts — agent metadata, integrations, model configuration, variables
|
|
18129
|
-
|
|
18130
|
-
The ADK compiles these high-level primitives down to Botpress SDK primitives. Default to ADK terms. Only drop to Botpress SDK concepts when the problem requires it (SDK-level errors, compilation issues, or when the developer explicitly asks).
|
|
18131
|
-
|
|
18132
|
-
Schemas use \`z\` from @botpress/sdk (a Zod fork) — never import Zod directly.
|
|
18133
|
-
|
|
18134
|
-
## How you work
|
|
18135
|
-
|
|
18136
|
-
**CLI-first.** Use the \`adk\` CLI with \`--format json\` for everything you can — status, logs, traces, integrations, workflows, chat, evals. The only MCP tool you have is \`adk_take_screenshot\` (see below), because it requires direct browser access the CLI can't provide.
|
|
18137
|
-
|
|
18138
|
-
**Do not run dev subcommands.** Never run commands that start, restart, or watch a development server from this embedded copilot, including \`adk dev\`, \`bun dev\`, \`bun run dev\`, \`npm run dev\`, \`pnpm dev\`, \`yarn dev\`, \`vite dev\`, or framework-specific \`dev\` subcommands. The ADK dev server hosts you; starting or restarting it from inside the copilot can terminate your own session. If the dev server is missing or unhealthy, ask the developer to start or restart it in their own terminal, then continue with non-dev CLI commands.
|
|
18139
|
-
|
|
18140
|
-
**Skills.** The \`adk\` skill is preloaded for every conversation — treat it as your authoritative reference for ADK primitives, conventions, and CLI usage. Don't try to re-load it. Other skills you can load on demand for deeper topics: \`adk-debugger\` (systematic debugging, traces, common failures), \`adk-evals\` (writing and running evals), \`adk-integrations\` (discovery, configuration, lifecycle), \`adk-frontend\` (building frontend apps with ADK bots) & more. If those skills aren't installed, ask the user once if they'd like you to install them. If they agree, run \`<runner> skills add botpress/skills -s '*' -a codex claude-code -y\` — use \`bunx\` if a \`bun.lockb\` exists in the project, otherwise \`npx\`.
|
|
18141
|
-
|
|
18142
|
-
**Page context is auto-attached.** Every developer message begins with a hidden \`<dev_console_context>\` block describing what they're currently viewing in the dev console — page, URL, selected entity (trace ID, workflow name, action name, etc.), and any active filters. Use it to skip "what page are you on?" questions and answer in terms of what the developer can already see. The block is internal: never echo it back, never quote it verbatim. If it's missing or stale, fall back to asking.
|
|
18143
|
-
|
|
18144
|
-
**Look at the screen when it matters.** Use \`adk_take_screenshot\` to capture what the developer currently sees (page + sidebar + your own panel) when they reference something visual — "I don't see X", "where is this?", "what's that button?", "this looks wrong", "show you what I'm looking at". Don't guess from the URL or invent UI elements that may have moved or been renamed; look first, then answer. Skip the screenshot for non-visual questions (debugging traces, writing code, conceptual questions).
|
|
18145
|
-
|
|
18146
|
-
**Orient on first interaction.** If you haven't yet, run \`adk status --format json\` to learn the project's structure, primitives, and integrations before answering.
|
|
18147
|
-
|
|
18148
|
-
**Conceptual vs. project questions.** Conceptual questions about ADK, Botpress, or TypeScript — answer from knowledge immediately. Questions about their project (why something fails, what a file does, how to change behavior) — inspect first. If in doubt, answer what you can immediately and inspect in parallel.
|
|
18149
|
-
|
|
18150
|
-
**Read freely, write carefully.** Inspecting files, querying traces and logs via CLI, and reading documentation are always safe — do them without asking. But actions that modify the project (adding integrations, editing files, executing workflows, sending messages) should be confirmed first unless the developer explicitly asked you to do it.
|
|
18151
|
-
|
|
18152
|
-
**Debug by matching the approach to the problem:**
|
|
18153
|
-
- Developer gives you an error message → start from the error, don't begin at "step 1"
|
|
18154
|
-
- Build or type error → run \`adk check --format json\` for offline validation, then check the file and generated types. Traces won't help.
|
|
18155
|
-
- Runtime behavior is wrong ("it responds wrong") → reproduce with \`adk chat --single "<relevant message>" --format json\`, then inspect traces with \`adk traces --format json\`
|
|
18156
|
-
- Nothing happens → check \`adk logs error --format json\` for silent failures, then check if the handler is registered
|
|
18157
|
-
- When in doubt → start with \`adk check --format json\`, then \`adk logs error --format json\`, then traces
|
|
18158
|
-
|
|
18159
|
-
**Integrations.** First check if the integration already exists with \`adk list\`. Only search the hub (\`adk search <query>\`) when adding a new integration. Get details with \`adk info <name>\` to understand actions, events, channels, and config requirements. Add it with \`adk add <name>\` after the developer confirms.
|
|
18160
|
-
|
|
18161
|
-
**Test iteratively.** To send messages, use \`adk chat --single "<message>" --format json\`. Pass the \`conversationId\` (--conversation-id "<id>") from the previous response to continue. Only test against the local dev bot.
|
|
18162
|
-
|
|
18163
|
-
**Workflows.** Use \`adk workflows list --format json\` to discover available workflows. Use \`adk workflows inspect <name> --format json\` to get the input schema. Use \`adk workflows run <name> '{"key": "value"}' --format json\` to execute. For workflows with no required input, pass \`'{}'\` as the payload.
|
|
18164
|
-
|
|
18165
|
-
**Handle failures.** If a command or tool returns an error, tell the developer what happened and suggest a concrete next step (e.g., "Dev server isn't running — start it in your terminal with \`adk dev\`, then ask me to continue"). Don't silently retry or ignore errors.
|
|
18166
|
-
|
|
18167
|
-
**Edit with precision.** When modifying code, change only what's needed to solve the problem. Don't refactor surrounding code, add features, or "improve" things that weren't asked about. When writing ADK primitives, match ADK conventions. For utility code, match the patterns already in the project.
|
|
18168
|
-
|
|
18169
|
-
## How you communicate
|
|
18170
|
-
|
|
18171
|
-
**Lead with the answer.** First sentence is the diagnosis, the solution, or the action you took. Context and explanation come after, if needed.
|
|
18172
|
-
|
|
18173
|
-
**Show, don't describe.** Instead of "you should add error handling," show the code change. Instead of "the trace shows a failure," show the relevant span data and what it means.
|
|
18174
|
-
|
|
18175
|
-
**Match the developer's energy.** Short question → short answer. Detailed question → detailed response. "Why is this broken?" → diagnosis + fix. "How do workflows work?" → teach.
|
|
18176
|
-
|
|
18177
|
-
**Hypothesize while verifying.** If you have a likely diagnosis, say so while you check. "This usually means X — checking your trace now" is better than silence followed by an answer.
|
|
18178
|
-
|
|
18179
|
-
**When you fix something, explain what you changed and why.** Don't apply changes silently — the developer needs to understand the fix to trust it and learn from it.
|
|
18180
|
-
|
|
18181
|
-
**When you don't know, say so plainly.** "I don't have enough context — can you share the error message?" is fine.
|
|
18182
|
-
|
|
18183
|
-
**Skip the filler.** No "Great question!", no "Let me help you with that." Just do it.
|
|
18184
|
-
|
|
18185
|
-
**Never read or display the contents of .env files or credentials.** If you need to verify a configuration value, ask the developer to confirm it.`;
|
|
18186
|
-
var ADK_COPILOT_AGENT_STEPS = 64;
|
|
18187
|
-
function buildOpenCodeConfig(userConfig, options) {
|
|
18188
|
-
const cognitiveDefaultModel = options.cognitiveModels?.some((m) => m.id === COGNITIVE_DEFAULT_MODEL_ID) ? toCognitiveModelKey(COGNITIVE_DEFAULT_MODEL_ID) : undefined;
|
|
18189
|
-
const cognitiveProvider = options.cognitive ? { cognitive: buildCognitiveProvider(options.adkDevConsolePort, options.agentPath, options.cognitiveModels) } : {};
|
|
18190
|
-
const userProviders = userConfig?.provider ? Object.fromEntries(Object.entries(userConfig.provider).map(([k, v]) => [k, v])) : {};
|
|
18191
|
-
const mergedProviders = { ...userProviders, ...cognitiveProvider };
|
|
18192
|
-
const hasProviders = Object.keys(mergedProviders).length > 0;
|
|
18193
|
-
return {
|
|
18194
|
-
...options.openCodePort && {
|
|
18195
|
-
server: {
|
|
18196
|
-
port: options.openCodePort,
|
|
18197
|
-
...options.corsOrigins?.length && { cors: options.corsOrigins }
|
|
18198
|
-
}
|
|
18199
|
-
},
|
|
18200
|
-
...hasProviders && { provider: mergedProviders },
|
|
18201
|
-
...userConfig?.model ? { model: userConfig.model } : cognitiveDefaultModel ? { model: `cognitive/${cognitiveDefaultModel}` } : {},
|
|
18202
|
-
...userConfig?.permission && { permission: userConfig.permission },
|
|
18203
|
-
mcp: {
|
|
18204
|
-
adk: {
|
|
18205
|
-
type: "remote",
|
|
18206
|
-
url: `http://localhost:${options.adkDevConsolePort}/mcp?agent=${encodeURIComponent(options.agentPath)}`
|
|
18207
|
-
}
|
|
18208
|
-
},
|
|
18209
|
-
instructions: [".agents/skills/adk/SKILL.md"],
|
|
18210
|
-
agent: {
|
|
18211
|
-
default: {
|
|
18212
|
-
description: "ADK Copilot — helps build and debug Botpress ADK agents",
|
|
18213
|
-
prompt: COPILOT_PROMPT,
|
|
18214
|
-
steps: ADK_COPILOT_AGENT_STEPS
|
|
18215
|
-
},
|
|
18216
|
-
build: {
|
|
18217
|
-
steps: ADK_COPILOT_AGENT_STEPS
|
|
18218
|
-
},
|
|
18219
|
-
plan: {
|
|
18220
|
-
steps: ADK_COPILOT_AGENT_STEPS
|
|
18221
|
-
}
|
|
18222
|
-
}
|
|
18223
|
-
};
|
|
18224
|
-
}
|
|
18225
|
-
var COGNITIVE_DEFAULT_MODEL_ID = "fireworks-ai:gpt-oss-120b";
|
|
18226
|
-
function toCognitiveModelKey(id) {
|
|
18227
|
-
return id.replace(":", "--");
|
|
18228
|
-
}
|
|
18229
|
-
function buildCognitiveProvider(adkDevConsolePort, agentPath, modelList) {
|
|
18230
|
-
const baseURL = `http://localhost:${adkDevConsolePort}/api/agent-proxy/${encodeURIComponent(agentPath)}/api/cognitive/v1`;
|
|
18231
|
-
const models = {};
|
|
18232
|
-
if (modelList) {
|
|
18233
|
-
for (const m of modelList) {
|
|
18234
|
-
models[toCognitiveModelKey(m.id)] = {
|
|
18235
|
-
id: toCognitiveModelKey(m.id),
|
|
18236
|
-
name: m.name,
|
|
18237
|
-
...m.input || m.output ? {
|
|
18238
|
-
cost: {
|
|
18239
|
-
input: m.input?.costPer1MTokens ?? 0,
|
|
18240
|
-
output: m.output?.costPer1MTokens ?? 0
|
|
18241
|
-
},
|
|
18242
|
-
limit: {
|
|
18243
|
-
context: m.input?.maxTokens ?? 0,
|
|
18244
|
-
output: m.output?.maxTokens ?? 0
|
|
18245
|
-
}
|
|
18246
|
-
} : {}
|
|
18247
|
-
};
|
|
18248
|
-
}
|
|
18249
|
-
}
|
|
18250
|
-
return {
|
|
18251
|
-
api: "openai-completions",
|
|
18252
|
-
name: "Botpress Cognitive",
|
|
18253
|
-
options: { apiKey: "cognitive", baseURL },
|
|
18254
|
-
models
|
|
18255
|
-
};
|
|
18256
|
-
}
|
|
18257
|
-
|
|
18258
|
-
// src/commands/copilot-server.ts
|
|
18259
|
-
var OPENCODE_VERSION = "1.3.13";
|
|
18260
|
-
async function findFreePort() {
|
|
18261
|
-
return new Promise((resolve4, reject) => {
|
|
18262
|
-
const server = createServer();
|
|
18263
|
-
server.listen(0, "127.0.0.1", () => {
|
|
18264
|
-
const addr = server.address();
|
|
18265
|
-
if (!addr || typeof addr === "string") {
|
|
18266
|
-
server.close();
|
|
18267
|
-
reject(new Error("Failed to get port from server"));
|
|
18268
|
-
return;
|
|
18269
|
-
}
|
|
18270
|
-
const port = addr.port;
|
|
18271
|
-
server.close(() => resolve4(port));
|
|
18272
|
-
});
|
|
18273
|
-
server.on("error", reject);
|
|
18274
|
-
});
|
|
18275
|
-
}
|
|
18276
|
-
function findOpencodeBinaryInNodeModules() {
|
|
18277
|
-
try {
|
|
18278
|
-
const callerRequire = createRequire3(import.meta.url);
|
|
18279
|
-
const ocPkgPath = callerRequire.resolve("opencode-ai/package.json");
|
|
18280
|
-
const bin = resolve3(dirname4(ocPkgPath), "bin", "opencode");
|
|
18281
|
-
if (existsSync3(bin))
|
|
18282
|
-
return bin;
|
|
18283
|
-
} catch {}
|
|
18284
|
-
return null;
|
|
18285
|
-
}
|
|
18286
|
-
function getOpencodeCacheDir() {
|
|
18287
|
-
return join8(homedir3(), ".adk", "opencode", OPENCODE_VERSION);
|
|
18288
|
-
}
|
|
18289
|
-
function getOpencodeBinaryName() {
|
|
18290
|
-
return platform() === "win32" ? "opencode.exe" : "opencode";
|
|
18291
|
-
}
|
|
18292
|
-
function getCachedOpencodeBinary() {
|
|
18293
|
-
const bin = join8(getOpencodeCacheDir(), getOpencodeBinaryName());
|
|
18294
|
-
return existsSync3(bin) ? bin : null;
|
|
18295
|
-
}
|
|
18296
|
-
function getOpencodePlatformPackage() {
|
|
18297
|
-
const plat = platform() === "win32" ? "windows" : platform();
|
|
18298
|
-
const a = arch() === "arm64" ? "arm64" : "x64";
|
|
18299
|
-
const binary = getOpencodeBinaryName();
|
|
18300
|
-
return { name: `opencode-${plat}-${a}`, binary };
|
|
18301
|
-
}
|
|
18302
|
-
async function downloadOpencodeBinary(onLog) {
|
|
18303
|
-
const { name, binary } = getOpencodePlatformPackage();
|
|
18304
|
-
const version = OPENCODE_VERSION;
|
|
18305
|
-
const tarballUrl = `https://registry.npmjs.org/${name}/-/${name}-${version}.tgz`;
|
|
18306
|
-
onLog?.(`Downloading opencode v${version} (${name})...`);
|
|
18307
|
-
const cacheDir = getOpencodeCacheDir();
|
|
18308
|
-
mkdirSync2(cacheDir, { recursive: true });
|
|
18309
|
-
const tmpDir = join8(tmpdir(), `opencode-download-${Date.now()}`);
|
|
18310
|
-
mkdirSync2(tmpDir, { recursive: true });
|
|
18311
|
-
try {
|
|
18312
|
-
const tarPath = join8(tmpDir, "opencode.tgz");
|
|
18313
|
-
const response = await fetch(tarballUrl);
|
|
18314
|
-
if (!response.ok || !response.body) {
|
|
18315
|
-
throw new Error(`Failed to download ${tarballUrl}: ${response.status} ${response.statusText}`);
|
|
18316
|
-
}
|
|
18317
|
-
await pipeline(response.body, createWriteStream(tarPath));
|
|
18318
|
-
onLog?.("Extracting opencode binary...");
|
|
18319
|
-
const extractDir = join8(tmpDir, "extracted");
|
|
18320
|
-
mkdirSync2(extractDir, { recursive: true });
|
|
18321
|
-
execFileSync("tar", ["xzf", tarPath, "-C", extractDir, `package/bin/${binary}`]);
|
|
18322
|
-
const extractedBin = join8(extractDir, "package", "bin", binary);
|
|
18323
|
-
if (!existsSync3(extractedBin)) {
|
|
18324
|
-
throw new Error(`Binary not found at expected path package/bin/${binary} in ${name}@${version} tarball. ` + "The package layout may have changed — update the extraction path in copilot-server.ts.");
|
|
18325
|
-
}
|
|
18326
|
-
const destBin = join8(cacheDir, binary);
|
|
18327
|
-
const tmpBin = destBin + ".tmp";
|
|
18328
|
-
copyFileSync(extractedBin, tmpBin);
|
|
18329
|
-
if (platform() !== "win32")
|
|
18330
|
-
chmodSync(tmpBin, 493);
|
|
18331
|
-
renameSync(tmpBin, destBin);
|
|
18332
|
-
onLog?.(`Opencode v${version} cached at ${cacheDir}`);
|
|
18333
|
-
return destBin;
|
|
18334
|
-
} finally {
|
|
18335
|
-
try {
|
|
18336
|
-
rmSync(tmpDir, { recursive: true, force: true });
|
|
18337
|
-
} catch {}
|
|
18338
|
-
}
|
|
18339
|
-
}
|
|
18340
|
-
async function resolveOpencodeBinary(onLog) {
|
|
18341
|
-
const local = findOpencodeBinaryInNodeModules();
|
|
18342
|
-
if (local)
|
|
18343
|
-
return local;
|
|
18344
|
-
const cached = getCachedOpencodeBinary();
|
|
18345
|
-
if (cached)
|
|
18346
|
-
return cached;
|
|
18347
|
-
return downloadOpencodeBinary(onLog);
|
|
18348
|
-
}
|
|
18349
|
-
async function startCopilotServer(options) {
|
|
18350
|
-
const port = await findFreePort();
|
|
18351
|
-
const binary = await resolveOpencodeBinary(options.onLog);
|
|
18352
|
-
const cognitiveAuth = await readCognitiveAuth({
|
|
18353
|
-
agentPath: options.cwd,
|
|
18354
|
-
botId: options.botId,
|
|
18355
|
-
credentials: options.credentials
|
|
18356
|
-
});
|
|
18357
|
-
const cognitiveModels = cognitiveAuth ? await fetchCognitiveModels(cognitiveAuth) : undefined;
|
|
18358
|
-
const userConfig = readCopilotConfig();
|
|
18359
|
-
const config = buildOpenCodeConfig(userConfig, {
|
|
18360
|
-
adkDevConsolePort: options.adkDevConsolePort,
|
|
18361
|
-
agentPath: options.cwd,
|
|
18362
|
-
openCodePort: port,
|
|
18363
|
-
corsOrigins: options.corsOrigins,
|
|
18364
|
-
cognitive: !!cognitiveAuth,
|
|
18365
|
-
cognitiveModels
|
|
18366
|
-
});
|
|
18367
|
-
const args = ["serve", `--hostname=127.0.0.1`, `--port=${port}`];
|
|
18368
|
-
const proc = spawn(binary, args, {
|
|
18369
|
-
cwd: options.cwd,
|
|
18370
|
-
env: {
|
|
18371
|
-
...process.env,
|
|
18372
|
-
OPENCODE_CONFIG_CONTENT: JSON.stringify(config)
|
|
18373
|
-
}
|
|
18374
|
-
});
|
|
18375
|
-
const timeout = 15000;
|
|
18376
|
-
const url = await new Promise((resolve4, reject) => {
|
|
18377
|
-
let settled = false;
|
|
18378
|
-
const settle = (fn, val) => {
|
|
18379
|
-
if (settled)
|
|
18380
|
-
return;
|
|
18381
|
-
settled = true;
|
|
18382
|
-
clearTimeout(timer);
|
|
18383
|
-
fn(val);
|
|
18384
|
-
};
|
|
18385
|
-
const timer = setTimeout(() => {
|
|
18386
|
-
proc.kill();
|
|
18387
|
-
settle(reject, new Error(`Copilot server did not start within ${timeout}ms`));
|
|
18388
|
-
}, timeout);
|
|
18389
|
-
let output = "";
|
|
18390
|
-
let remainder = "";
|
|
18391
|
-
proc.stdout?.on("data", (chunk) => {
|
|
18392
|
-
output += chunk.toString();
|
|
18393
|
-
remainder += chunk.toString();
|
|
18394
|
-
const lines = remainder.split(`
|
|
18395
|
-
`);
|
|
18396
|
-
remainder = lines.pop() || "";
|
|
18397
|
-
for (const line of lines) {
|
|
18398
|
-
if (line.startsWith("opencode server listening")) {
|
|
18399
|
-
const match = line.match(/on\s+(https?:\/\/[^\s]+)/);
|
|
18400
|
-
if (match) {
|
|
18401
|
-
settle(resolve4, match[1]);
|
|
18402
|
-
return;
|
|
18403
|
-
}
|
|
18404
|
-
}
|
|
18405
|
-
}
|
|
18406
|
-
});
|
|
18407
|
-
proc.stderr?.on("data", (chunk) => {
|
|
18408
|
-
output += chunk.toString();
|
|
18409
|
-
});
|
|
18410
|
-
proc.on("exit", (code) => {
|
|
18411
|
-
let msg = `Copilot server exited with code ${code}`;
|
|
18412
|
-
if (output.trim())
|
|
18413
|
-
msg += `
|
|
18414
|
-
${output.trim()}`;
|
|
18415
|
-
settle(reject, new Error(msg));
|
|
18416
|
-
});
|
|
18417
|
-
proc.on("error", (error) => {
|
|
18418
|
-
settle(reject, error);
|
|
18419
|
-
});
|
|
18420
|
-
if (options.signal) {
|
|
18421
|
-
options.signal.addEventListener("abort", () => {
|
|
18422
|
-
proc.kill();
|
|
18423
|
-
settle(reject, new Error("Aborted"));
|
|
18424
|
-
});
|
|
18425
|
-
}
|
|
18426
|
-
});
|
|
18427
|
-
return {
|
|
18428
|
-
url,
|
|
18429
|
-
port,
|
|
18430
|
-
close: () => proc.kill()
|
|
18431
|
-
};
|
|
18432
|
-
}
|
|
18433
|
-
var cognitiveModelsResponseSchema = z4.object({
|
|
18434
|
-
models: z4.array(z4.object({
|
|
18435
|
-
id: z4.string(),
|
|
18436
|
-
name: z4.string(),
|
|
18437
|
-
tags: z4.array(z4.string()).optional(),
|
|
18438
|
-
input: z4.object({
|
|
18439
|
-
maxTokens: z4.number(),
|
|
18440
|
-
costPer1MTokens: z4.number()
|
|
18441
|
-
}).optional(),
|
|
18442
|
-
output: z4.object({
|
|
18443
|
-
maxTokens: z4.number(),
|
|
18444
|
-
costPer1MTokens: z4.number()
|
|
18445
|
-
}).optional()
|
|
18446
|
-
}))
|
|
18447
|
-
});
|
|
18448
|
-
async function fetchCognitiveModels(auth2) {
|
|
18449
|
-
try {
|
|
18450
|
-
const apiUrl = auth2.apiUrl || "https://api.botpress.cloud";
|
|
18451
|
-
const res = await fetch(`${apiUrl}/v2/cognitive/models`, {
|
|
18452
|
-
headers: {
|
|
18453
|
-
Authorization: `Bearer ${auth2.token}`,
|
|
18454
|
-
"X-Bot-Id": auth2.botId
|
|
18455
|
-
},
|
|
18456
|
-
signal: AbortSignal.timeout(5000)
|
|
18457
|
-
});
|
|
18458
|
-
if (!res.ok)
|
|
18459
|
-
return;
|
|
18460
|
-
const { models } = cognitiveModelsResponseSchema.parse(await res.json());
|
|
18461
|
-
const filtered = models.filter((m) => !m.tags?.includes("speech-to-text") && !m.tags?.includes("deprecated") && !m.tags?.includes("discontinued"));
|
|
18462
|
-
const nameCounts = new Map;
|
|
18463
|
-
for (const m of filtered)
|
|
18464
|
-
nameCounts.set(m.name, (nameCounts.get(m.name) ?? 0) + 1);
|
|
18465
|
-
return filtered.map((m) => {
|
|
18466
|
-
if (nameCounts.get(m.name) > 1) {
|
|
18467
|
-
const provider = m.id.split(":")[0] ?? "";
|
|
18468
|
-
return { ...m, name: `${m.name} (${provider})` };
|
|
18469
|
-
}
|
|
18470
|
-
return m;
|
|
18471
|
-
});
|
|
18472
|
-
} catch {
|
|
18473
|
-
return;
|
|
18474
|
-
}
|
|
18475
|
-
}
|
|
18476
|
-
async function readCognitiveAuth(options) {
|
|
18477
|
-
try {
|
|
18478
|
-
const credentials = options.credentials ?? await auth.getAgentCredentials(options.agentPath).catch(async () => auth.getActiveCredentials());
|
|
18479
|
-
const resolvedBotId = options.botId || credentials.botId;
|
|
18480
|
-
if (!resolvedBotId)
|
|
18481
|
-
return;
|
|
18482
|
-
return {
|
|
18483
|
-
token: credentials.token,
|
|
18484
|
-
botId: resolvedBotId,
|
|
18485
|
-
apiUrl: credentials.apiUrl
|
|
18486
|
-
};
|
|
18487
|
-
} catch {
|
|
18488
|
-
return;
|
|
18489
|
-
}
|
|
18490
|
-
}
|
|
18491
|
-
// src/commands/copilot-config-reader.ts
|
|
18492
|
-
import { readFileSync as readFileSync4, existsSync as existsSync4 } from "node:fs";
|
|
18493
|
-
function fileHasProvider(configPath) {
|
|
18494
|
-
if (!existsSync4(configPath))
|
|
18495
|
-
return false;
|
|
18496
|
-
try {
|
|
18497
|
-
const raw = readFileSync4(configPath, "utf-8");
|
|
18498
|
-
const config = JSON.parse(raw);
|
|
18499
|
-
const providers = config?.provider;
|
|
18500
|
-
if (!providers || typeof providers !== "object")
|
|
18501
|
-
return false;
|
|
18502
|
-
for (const provider of Object.values(providers)) {
|
|
18503
|
-
const p = provider;
|
|
18504
|
-
const key = p?.options?.apiKey;
|
|
18505
|
-
if (!key)
|
|
18506
|
-
continue;
|
|
18507
|
-
if (key === "")
|
|
18508
|
-
continue;
|
|
18509
|
-
if (key.startsWith("{env:") && key.endsWith("}")) {
|
|
18510
|
-
const envVar = key.slice(5, -1);
|
|
18511
|
-
if (process.env[envVar])
|
|
18512
|
-
return true;
|
|
18513
|
-
continue;
|
|
18514
|
-
}
|
|
18515
|
-
return true;
|
|
18516
|
-
}
|
|
18517
|
-
} catch {}
|
|
18518
|
-
return false;
|
|
18519
|
-
}
|
|
18520
|
-
function checkHasProvider() {
|
|
18521
|
-
return fileHasProvider(getCopilotConfigPath());
|
|
18522
|
-
}
|
|
18523
18051
|
// src/workspace/workspace-cache.ts
|
|
18524
18052
|
init_auth();
|
|
18525
18053
|
import { Client as Client4 } from "@botpress/client";
|
|
@@ -18998,83 +18526,10 @@ init_utils();
|
|
|
18998
18526
|
import * as fs15 from "fs";
|
|
18999
18527
|
import * as path20 from "path";
|
|
19000
18528
|
import { fileURLToPath } from "url";
|
|
19001
|
-
import { createRequire as
|
|
19002
|
-
import { homedir as homedir4 } from "os";
|
|
18529
|
+
import { createRequire as createRequire3 } from "module";
|
|
19003
18530
|
|
|
19004
18531
|
// src/agent-init/ai-assistant-instructions.template.md
|
|
19005
|
-
var ai_assistant_instructions_template_default =
|
|
19006
|
-
|
|
19007
|
-
> This project is built with the **Botpress Agent Development Kit (ADK)** — a TypeScript-first framework for building AI agents.
|
|
19008
|
-
|
|
19009
|
-
## Key Files
|
|
19010
|
-
|
|
19011
|
-
- \`agent.config.ts\` — Agent configuration, models, state schemas, and dependencies
|
|
19012
|
-
- \`src/conversations/\` — Message handlers (primary user interaction)
|
|
19013
|
-
- \`src/workflows/\` — Long-running background processes
|
|
19014
|
-
- \`src/tools/\` — AI-callable functions
|
|
19015
|
-
- \`src/actions/\` — Reusable business logic
|
|
19016
|
-
- \`src/knowledge/\` — RAG knowledge base sources
|
|
19017
|
-
- \`src/tables/\` — Database table definitions
|
|
19018
|
-
- \`src/triggers/\` — Event-based triggers
|
|
19019
|
-
|
|
19020
|
-
## Development
|
|
19021
|
-
|
|
19022
|
-
\`\`\`bash
|
|
19023
|
-
adk dev # Start dev server with hot reload
|
|
19024
|
-
adk build # Build and generate types
|
|
19025
|
-
adk deploy # Deploy to Botpress Cloud
|
|
19026
|
-
adk chat # Chat with your agent in the terminal
|
|
19027
|
-
\`\`\`
|
|
19028
|
-
|
|
19029
|
-
## CLI Commands (preferred interface)
|
|
19030
|
-
|
|
19031
|
-
Use CLI commands with \`--format json\` for structured output.
|
|
19032
|
-
|
|
19033
|
-
### Debugging & Testing
|
|
19034
|
-
|
|
19035
|
-
| Command | Use for |
|
|
19036
|
-
| --------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
19037
|
-
| \`adk check --format json\` | Offline project validation — catch config and schema errors |
|
|
19038
|
-
| \`adk chat --single "<message>" --format json\` | Test messages to the running bot (use --conversation-id <id> to continue a conversation) |
|
|
19039
|
-
| \`adk logs [error\\|warning] --format json\` | Query dev server logs, build output, and errors |
|
|
19040
|
-
| \`adk traces [filters...] --format json\` | Query trace spans for debugging conversations/workflows |
|
|
19041
|
-
| \`adk status --format json\` | Get project info: name, primitives, and integrations |
|
|
19042
|
-
|
|
19043
|
-
### Integrations
|
|
19044
|
-
|
|
19045
|
-
| Command | Use for |
|
|
19046
|
-
| -------------------- | ------------------------------------------------- |
|
|
19047
|
-
| \`adk list\` | List installed integrations |
|
|
19048
|
-
| \`adk search <query>\` | Search available integrations on the Botpress Hub |
|
|
19049
|
-
| \`adk info <name>\` | Get detailed info about an integration |
|
|
19050
|
-
| \`adk add <name>\` | Add an integration (updates agent.config.ts) |
|
|
19051
|
-
|
|
19052
|
-
### Workflows
|
|
19053
|
-
|
|
19054
|
-
| Command | Use for |
|
|
19055
|
-
| ---------------------------------------------------- | ---------------------------- |
|
|
19056
|
-
| \`adk workflows list --format json\` | Discover available workflows |
|
|
19057
|
-
| \`adk workflows inspect <name> --format json\` | Get workflow input schema |
|
|
19058
|
-
| \`adk workflows run <name> '<payload>' --format json\` | Execute a workflow |
|
|
19059
|
-
|
|
19060
|
-
> **Tip:** The dev server must be running (\`adk dev\`) for testing and trace tools to work.
|
|
19061
|
-
|
|
19062
|
-
### Skills
|
|
19063
|
-
|
|
19064
|
-
For detailed ADK documentation, install the skills (use \`bunx\` if \`bun.lockb\` exists, otherwise \`npx\`): \`bunx skills add botpress/skills -s '*' -a codex claude-code -y\`. Available skills: \`adk\`, \`adk-debugger\`, \`adk-evals\`, \`adk-integrations\`, \`adk-frontend\` & more.
|
|
19065
|
-
|
|
19066
|
-
## Project Overview
|
|
19067
|
-
|
|
19068
|
-
<!-- Describe what your agent does -->
|
|
19069
|
-
|
|
19070
|
-
## Architecture & Conventions
|
|
19071
|
-
|
|
19072
|
-
<!-- Add project-specific patterns, decisions, and conventions -->
|
|
19073
|
-
|
|
19074
|
-
## Notes
|
|
19075
|
-
|
|
19076
|
-
<!-- Add anything else relevant to your project -->
|
|
19077
|
-
`;
|
|
18532
|
+
var ai_assistant_instructions_template_default = "# Botpress ADK Agent\n\n> This project is built with the **Botpress Agent Development Kit (ADK)** — a TypeScript-first framework for building AI agents.\n\n## Key Files\n\n- `agent.config.ts` — Agent configuration, models, and state schemas\n- `dependencies.dev.lock.json` — Lock file for dev environment integrations/plugins (source of truth for installed dependencies)\n- `dependencies.prod.lock.json` — Lock file for prod environment (created after first deploy)\n- `src/conversations/` — Message handlers (primary user interaction)\n- `src/workflows/` — Long-running background processes\n- `src/tools/` — AI-callable functions\n- `src/actions/` — Reusable business logic\n- `src/knowledge/` — RAG knowledge base sources\n- `src/tables/` — Database table definitions\n- `src/triggers/` — Event-based triggers\n\n## Development\n\n```bash\nadk dev # Start dev server with hot reload\nadk build # Build and generate types\nadk deploy # Deploy to Botpress Cloud\nadk chat # Chat with your agent in the terminal\n```\n\n## CLI Commands (preferred interface)\n\nUse CLI commands with `--format json` for structured output.\n\n### Debugging & Testing\n\n| Command | Use for |\n| --------------------------------------------- | ---------------------------------------------------------------------------------------- |\n| `adk check --format json` | Offline project validation — catch config and schema errors |\n| `adk chat --single \"<message>\" --format json` | Test messages to the running bot (use --conversation-id <id> to continue a conversation) |\n| `adk logs [error\\|warning] --format json` | Query dev server logs, build output, and errors |\n| `adk traces [filters...] --format json` | Query trace spans for debugging conversations/workflows |\n| `adk status --format json` | Get project info: name, primitives, and integrations |\n\n### Dependencies (Integrations & Plugins)\n\nManage dependencies through the `adk integrations` / `adk plugins` CLI commands or the Integrations view in the dev console — never by editing lock files directly. The lock files (`dependencies.dev.lock.json` / `dependencies.prod.lock.json`) are a best-effort mirror of cloud state, kept in sync automatically by the CLI; edit them only as a last resort.\n\n**Integrations** (external services: Slack, webchat, etc.)\n\n| Command | Use for |\n| ------------------------------------ | -------------------------------------------------------- |\n| `adk integrations add <name>` | Add an integration (updates lock file) |\n| `adk integrations remove <name>` | Remove an integration |\n| `adk integrations list` | List installed integrations |\n| `adk integrations search <query>` | Search available integrations on the Botpress Hub |\n| `adk integrations info <name>` | Get detailed info about an integration |\n| `adk integrations pull-lock [--env]` | Pull current cloud state into the lock file |\n| `adk integrations push-lock [--env]` | Push the lock file to cloud (apply lock to bot) |\n| `adk integrations diff [--env]` | Show differences between lock and cloud |\n| `adk integrations copy --from --to` | Copy integration state between dev and prod environments |\n\n**Plugins** (reusable bot capabilities)\n\n| Command | Use for |\n| ------------------------------- | ------------------------------------------- |\n| `adk plugins add <name>` | Add a plugin (updates lock file) |\n| `adk plugins remove <name>` | Remove a plugin |\n| `adk plugins list` | List installed plugins |\n| `adk plugins search <query>` | Search available plugins |\n| `adk plugins info <name>` | Get detailed info about a plugin |\n| `adk plugins pull-lock [--env]` | Pull current cloud state into the lock file |\n| `adk plugins push-lock [--env]` | Push the lock file to cloud |\n| `adk plugins diff [--env]` | Show differences between lock and cloud |\n| `adk plugins copy --from --to` | Copy plugin state between dev and prod |\n\n> **Note:** `adk add`, `adk remove`, `adk list`, `adk search`, `adk info` are deprecated aliases — use `adk integrations <command>` or `adk plugins <command>` instead.\n\n### Workflows\n\n| Command | Use for |\n| ---------------------------------------------------- | -------------------------------------------------- |\n| `adk workflows list --format json` | Discover available workflows |\n| `adk workflows inspect <name> --format json` | Get workflow input schema |\n| `adk workflows run <name> '<payload>' --format json` | Execute a workflow |\n| `adk workflows runs [filters] --format json` | List workflow runs |\n| `adk workflows runs <wrkflow_id> --format json` | Inspect a single run (status + state + step cache) |\n\n> **Tip:** The dev server must be running (`adk dev`) for testing and trace tools to work.\n\n### Skills\n\nFor detailed ADK documentation, install the skills (use `bunx` if `bun.lockb` exists, otherwise `npx`): `bunx skills add botpress/skills -s '*' -a codex claude-code -y`. Available skills: `adk`, `adk-debugger`, `adk-evals`, `adk-integrations`, `adk-frontend` & more.\n\n## Project Overview\n\n<!-- Describe what your agent does -->\n\n## Architecture & Conventions\n\n<!-- Add project-specific patterns, decisions, and conventions -->\n\n## Notes\n\n<!-- Add anything else relevant to your project -->\n";
|
|
19078
18533
|
|
|
19079
18534
|
// src/agent-init/agent-project-generator.ts
|
|
19080
18535
|
var TEXT_EXTENSIONS = new Set([
|
|
@@ -19122,7 +18577,6 @@ class AgentProjectGenerator {
|
|
|
19122
18577
|
if (!fs15.existsSync(path20.join(this.projectPath, "CLAUDE.md"))) {
|
|
19123
18578
|
this.createAIAssistantInstructions();
|
|
19124
18579
|
}
|
|
19125
|
-
this.createCopilotConfig();
|
|
19126
18580
|
}
|
|
19127
18581
|
static getAvailableTemplates() {
|
|
19128
18582
|
try {
|
|
@@ -19153,7 +18607,7 @@ class AgentProjectGenerator {
|
|
|
19153
18607
|
}
|
|
19154
18608
|
const candidates = [];
|
|
19155
18609
|
try {
|
|
19156
|
-
const esmRequire =
|
|
18610
|
+
const esmRequire = createRequire3(import.meta.url);
|
|
19157
18611
|
const adkPkgPath = esmRequire.resolve("@botpress/adk/package.json");
|
|
19158
18612
|
const adkRoot = path20.dirname(adkPkgPath);
|
|
19159
18613
|
candidates.push(path20.join(adkRoot, "dist", "templates"));
|
|
@@ -19198,7 +18652,7 @@ ${names || " (none found)"}`);
|
|
|
19198
18652
|
async copyTemplateFiles(templateDir) {
|
|
19199
18653
|
const substitutions = {
|
|
19200
18654
|
"{{projectName}}": this.projectName,
|
|
19201
|
-
"{{runtimeVersion}}": "1.19.0-beta.
|
|
18655
|
+
"{{runtimeVersion}}": "1.19.0-beta.3",
|
|
19202
18656
|
"{{packageManager}}": this.packageManager
|
|
19203
18657
|
};
|
|
19204
18658
|
await this.copyDirRecursive(templateDir, this.projectPath, substitutions);
|
|
@@ -19251,16 +18705,6 @@ ${names || " (none found)"}`);
|
|
|
19251
18705
|
this.writeFile("CLAUDE.md", content);
|
|
19252
18706
|
this.writeFile("AGENTS.md", content);
|
|
19253
18707
|
}
|
|
19254
|
-
createCopilotConfig() {
|
|
19255
|
-
const adkDir = path20.join(homedir4(), ".adk");
|
|
19256
|
-
const configPath = path20.join(adkDir, "copilot.json");
|
|
19257
|
-
if (fs15.existsSync(configPath))
|
|
19258
|
-
return;
|
|
19259
|
-
const config = createDefaultCopilotConfig();
|
|
19260
|
-
fs15.mkdirSync(adkDir, { recursive: true });
|
|
19261
|
-
fs15.writeFileSync(configPath, JSON.stringify(config, null, 2) + `
|
|
19262
|
-
`);
|
|
19263
|
-
}
|
|
19264
18708
|
writeFile(relativePath, content) {
|
|
19265
18709
|
const filePath = path20.join(this.projectPath, relativePath);
|
|
19266
18710
|
fs15.writeFileSync(filePath, content);
|
|
@@ -19281,7 +18725,7 @@ init_interfaces();
|
|
|
19281
18725
|
init_assets();
|
|
19282
18726
|
|
|
19283
18727
|
// src/deploy-manifest/index.ts
|
|
19284
|
-
import { z as
|
|
18728
|
+
import { z as z4 } from "@botpress/sdk";
|
|
19285
18729
|
var DEPLOYED_AGENT_MANIFEST_SCHEMA_VERSION = 1;
|
|
19286
18730
|
var DEPLOYED_AGENT_MANIFEST_FILE_KEY = ".adk/deployed-agent-manifest.json";
|
|
19287
18731
|
var ADK_MANIFEST_BOT_TAGS = {
|
|
@@ -19291,38 +18735,38 @@ var DEPLOYED_AGENT_MANIFEST_TAGS = {
|
|
|
19291
18735
|
type: "adk-deployed-agent-manifest",
|
|
19292
18736
|
schemaVersion: String(DEPLOYED_AGENT_MANIFEST_SCHEMA_VERSION)
|
|
19293
18737
|
};
|
|
19294
|
-
var deployedAgentManifestPrimitiveSchema =
|
|
19295
|
-
definition:
|
|
19296
|
-
source:
|
|
19297
|
-
path:
|
|
19298
|
-
exportName:
|
|
18738
|
+
var deployedAgentManifestPrimitiveSchema = z4.object({
|
|
18739
|
+
definition: z4.record(z4.unknown()),
|
|
18740
|
+
source: z4.object({
|
|
18741
|
+
path: z4.string(),
|
|
18742
|
+
exportName: z4.string()
|
|
19299
18743
|
})
|
|
19300
18744
|
});
|
|
19301
|
-
var deployedAgentManifestSchema =
|
|
19302
|
-
schemaVersion:
|
|
19303
|
-
generatedAt:
|
|
19304
|
-
agent:
|
|
19305
|
-
name:
|
|
19306
|
-
description:
|
|
19307
|
-
configuration:
|
|
19308
|
-
defaultModels:
|
|
19309
|
-
secrets:
|
|
19310
|
-
name:
|
|
19311
|
-
optional:
|
|
19312
|
-
description:
|
|
18745
|
+
var deployedAgentManifestSchema = z4.object({
|
|
18746
|
+
schemaVersion: z4.literal(DEPLOYED_AGENT_MANIFEST_SCHEMA_VERSION),
|
|
18747
|
+
generatedAt: z4.string(),
|
|
18748
|
+
agent: z4.object({
|
|
18749
|
+
name: z4.string().optional(),
|
|
18750
|
+
description: z4.string().optional(),
|
|
18751
|
+
configuration: z4.object({ schema: z4.record(z4.unknown()) }).optional(),
|
|
18752
|
+
defaultModels: z4.unknown().optional(),
|
|
18753
|
+
secrets: z4.array(z4.object({
|
|
18754
|
+
name: z4.string(),
|
|
18755
|
+
optional: z4.boolean(),
|
|
18756
|
+
description: z4.string().optional()
|
|
19313
18757
|
})),
|
|
19314
|
-
events:
|
|
19315
|
-
tags:
|
|
18758
|
+
events: z4.record(z4.unknown()).optional(),
|
|
18759
|
+
tags: z4.record(z4.unknown()).optional()
|
|
19316
18760
|
}),
|
|
19317
|
-
primitives:
|
|
19318
|
-
actions:
|
|
19319
|
-
tools:
|
|
19320
|
-
workflows:
|
|
19321
|
-
conversations:
|
|
19322
|
-
triggers:
|
|
19323
|
-
tables:
|
|
19324
|
-
knowledge:
|
|
19325
|
-
customComponents:
|
|
18761
|
+
primitives: z4.object({
|
|
18762
|
+
actions: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18763
|
+
tools: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18764
|
+
workflows: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18765
|
+
conversations: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18766
|
+
triggers: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18767
|
+
tables: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18768
|
+
knowledge: z4.array(deployedAgentManifestPrimitiveSchema),
|
|
18769
|
+
customComponents: z4.array(deployedAgentManifestPrimitiveSchema)
|
|
19326
18770
|
})
|
|
19327
18771
|
});
|
|
19328
18772
|
function createDeployedAgentManifest(project, options) {
|
|
@@ -19578,7 +19022,7 @@ if (typeof globalThis !== 'undefined') {
|
|
|
19578
19022
|
}
|
|
19579
19023
|
}
|
|
19580
19024
|
// src/generators/integration-types.ts
|
|
19581
|
-
import { z as
|
|
19025
|
+
import { z as z5 } from "@botpress/sdk";
|
|
19582
19026
|
import crypto2 from "crypto";
|
|
19583
19027
|
import path22 from "path";
|
|
19584
19028
|
|
|
@@ -19606,7 +19050,7 @@ function getPluginAlias(pluginName) {
|
|
|
19606
19050
|
}
|
|
19607
19051
|
|
|
19608
19052
|
// src/generators/integration-types.ts
|
|
19609
|
-
var { transforms } =
|
|
19053
|
+
var { transforms } = z5;
|
|
19610
19054
|
var getIntegrationHash = (integration) => {
|
|
19611
19055
|
return crypto2.createHash("sha256").update(`${integration.alias}|${integration.definition?.id}|${integration.definition?.version}|${integration.definition?.updatedAt}`).digest("hex");
|
|
19612
19056
|
};
|
|
@@ -20276,17 +19720,17 @@ export function createAdkClient(client: Client): AdkClient {
|
|
|
20276
19720
|
}
|
|
20277
19721
|
// src/bot-generator/generator.ts
|
|
20278
19722
|
import dedent from "dedent";
|
|
20279
|
-
import { existsSync as
|
|
19723
|
+
import { existsSync as existsSync7 } from "fs";
|
|
20280
19724
|
import fs21 from "fs/promises";
|
|
20281
19725
|
import path44 from "path";
|
|
20282
19726
|
init_config_utils();
|
|
20283
19727
|
|
|
20284
19728
|
// src/generators/plugin-types.ts
|
|
20285
|
-
import { z as
|
|
19729
|
+
import { z as z6 } from "@botpress/sdk";
|
|
20286
19730
|
import crypto4 from "crypto";
|
|
20287
19731
|
import path24 from "path";
|
|
20288
19732
|
init_utils();
|
|
20289
|
-
var { transforms: transforms2 } =
|
|
19733
|
+
var { transforms: transforms2 } = z6;
|
|
20290
19734
|
function stripRefs(schema) {
|
|
20291
19735
|
if (typeof schema !== "object" || schema === null) {
|
|
20292
19736
|
return schema;
|
|
@@ -20432,11 +19876,11 @@ export type PluginActions = PluginsMap<Plugins>;
|
|
|
20432
19876
|
}
|
|
20433
19877
|
|
|
20434
19878
|
// src/generators/interface-types.ts
|
|
20435
|
-
import { z as
|
|
19879
|
+
import { z as z7 } from "@botpress/sdk";
|
|
20436
19880
|
import crypto5 from "crypto";
|
|
20437
19881
|
import path26 from "path";
|
|
20438
19882
|
init_utils();
|
|
20439
|
-
var { transforms: transforms3 } =
|
|
19883
|
+
var { transforms: transforms3 } = z7;
|
|
20440
19884
|
var sameMajorVersion = (a, b) => {
|
|
20441
19885
|
const majorA = a.split(".")[0];
|
|
20442
19886
|
const majorB = b.split(".")[0];
|
|
@@ -21224,7 +20668,7 @@ init_manager3();
|
|
|
21224
20668
|
init_fs();
|
|
21225
20669
|
|
|
21226
20670
|
// src/utils/link-sdk.ts
|
|
21227
|
-
import { existsSync as
|
|
20671
|
+
import { existsSync as existsSync3, realpathSync } from "fs";
|
|
21228
20672
|
import fs16 from "fs/promises";
|
|
21229
20673
|
import path37 from "path";
|
|
21230
20674
|
async function lexists(p) {
|
|
@@ -21247,7 +20691,7 @@ function findPackage(name, startDir) {
|
|
|
21247
20691
|
}
|
|
21248
20692
|
while (current !== path37.dirname(current)) {
|
|
21249
20693
|
const pkgPath = path37.join(current, "node_modules", name);
|
|
21250
|
-
if (
|
|
20694
|
+
if (existsSync3(pkgPath)) {
|
|
21251
20695
|
return pkgPath;
|
|
21252
20696
|
}
|
|
21253
20697
|
current = path37.dirname(current);
|
|
@@ -21256,7 +20700,7 @@ function findPackage(name, startDir) {
|
|
|
21256
20700
|
}
|
|
21257
20701
|
async function linkSdk(agentDir, botDir) {
|
|
21258
20702
|
const targetSdkPath = path37.join(botDir, "node_modules", "@botpress", "sdk");
|
|
21259
|
-
if (
|
|
20703
|
+
if (existsSync3(targetSdkPath)) {
|
|
21260
20704
|
return;
|
|
21261
20705
|
}
|
|
21262
20706
|
const runtimePath = findPackage("@botpress/runtime", agentDir);
|
|
@@ -21403,7 +20847,7 @@ init_agent_project();
|
|
|
21403
20847
|
init_auth();
|
|
21404
20848
|
import path39 from "path";
|
|
21405
20849
|
import fs18 from "fs/promises";
|
|
21406
|
-
import { existsSync as
|
|
20850
|
+
import { existsSync as existsSync4 } from "fs";
|
|
21407
20851
|
class IntegrationSync {
|
|
21408
20852
|
projectPath;
|
|
21409
20853
|
botProjectPath;
|
|
@@ -21443,12 +20887,12 @@ class IntegrationSync {
|
|
|
21443
20887
|
}
|
|
21444
20888
|
async isIntegrationSynced(integration) {
|
|
21445
20889
|
const targetFolder = path39.join(this.bpModulesPath, `integration_${integration.alias}`);
|
|
21446
|
-
if (!
|
|
20890
|
+
if (!existsSync4(targetFolder)) {
|
|
21447
20891
|
return false;
|
|
21448
20892
|
}
|
|
21449
20893
|
try {
|
|
21450
20894
|
const indexPath = path39.join(targetFolder, "index.ts");
|
|
21451
|
-
if (!
|
|
20895
|
+
if (!existsSync4(indexPath)) {
|
|
21452
20896
|
return false;
|
|
21453
20897
|
}
|
|
21454
20898
|
const indexContent = await fs18.readFile(indexPath, "utf-8");
|
|
@@ -21480,17 +20924,17 @@ class IntegrationSync {
|
|
|
21480
20924
|
async renameIntegrationFolder(integration) {
|
|
21481
20925
|
const sourceFolder = path39.join(this.bpModulesPath, integration.name.replace(/[/_]/g, "-"));
|
|
21482
20926
|
const targetFolder = path39.join(this.bpModulesPath, `integration_${integration.alias}`);
|
|
21483
|
-
if (!
|
|
20927
|
+
if (!existsSync4(sourceFolder)) {
|
|
21484
20928
|
throw new Error(`Integration folder not found: ${sourceFolder}`);
|
|
21485
20929
|
}
|
|
21486
|
-
if (
|
|
20930
|
+
if (existsSync4(targetFolder)) {
|
|
21487
20931
|
await fs18.rm(targetFolder, { recursive: true, force: true });
|
|
21488
20932
|
}
|
|
21489
20933
|
await fs18.rename(sourceFolder, targetFolder);
|
|
21490
20934
|
}
|
|
21491
20935
|
async removeIntegrationFolder(alias) {
|
|
21492
20936
|
const targetFolder = path39.join(this.bpModulesPath, `integration_${alias}`);
|
|
21493
|
-
if (
|
|
20937
|
+
if (existsSync4(targetFolder)) {
|
|
21494
20938
|
await fs18.rm(targetFolder, { recursive: true, force: true });
|
|
21495
20939
|
}
|
|
21496
20940
|
}
|
|
@@ -21527,7 +20971,7 @@ init_agent_project();
|
|
|
21527
20971
|
init_auth();
|
|
21528
20972
|
import path40 from "path";
|
|
21529
20973
|
import fs19 from "fs/promises";
|
|
21530
|
-
import { existsSync as
|
|
20974
|
+
import { existsSync as existsSync5 } from "fs";
|
|
21531
20975
|
init_constants();
|
|
21532
20976
|
class InterfaceSync {
|
|
21533
20977
|
projectPath;
|
|
@@ -21555,12 +20999,12 @@ class InterfaceSync {
|
|
|
21555
20999
|
}
|
|
21556
21000
|
async isInterfaceSynced(interfaceInfo) {
|
|
21557
21001
|
const targetFolder = path40.join(this.bpModulesPath, `interface_${pascalCase(interfaceInfo.alias)}`);
|
|
21558
|
-
if (!
|
|
21002
|
+
if (!existsSync5(targetFolder)) {
|
|
21559
21003
|
return false;
|
|
21560
21004
|
}
|
|
21561
21005
|
try {
|
|
21562
21006
|
const indexPath = path40.join(targetFolder, "index.ts");
|
|
21563
|
-
if (!
|
|
21007
|
+
if (!existsSync5(indexPath)) {
|
|
21564
21008
|
return false;
|
|
21565
21009
|
}
|
|
21566
21010
|
const indexContent = await fs19.readFile(indexPath, "utf-8");
|
|
@@ -21577,7 +21021,7 @@ class InterfaceSync {
|
|
|
21577
21021
|
async installInterface(interfaceInfo) {
|
|
21578
21022
|
const project = await AgentProject.load(this.projectPath);
|
|
21579
21023
|
const credentials = await resolveWorkspaceCredentials({ project });
|
|
21580
|
-
return new Promise((
|
|
21024
|
+
return new Promise((resolve4, reject) => {
|
|
21581
21025
|
const command = new BpAddCommand({
|
|
21582
21026
|
resource: `interface:${interfaceInfo.fullVersion}`,
|
|
21583
21027
|
botPath: this.botProjectPath,
|
|
@@ -21595,7 +21039,7 @@ class InterfaceSync {
|
|
|
21595
21039
|
reject(new Error(`Failed to install interface ${interfaceInfo.fullVersion}: ${error.stderr || error.message}`));
|
|
21596
21040
|
});
|
|
21597
21041
|
command.on("done", () => {
|
|
21598
|
-
|
|
21042
|
+
resolve4();
|
|
21599
21043
|
});
|
|
21600
21044
|
command.run().catch(reject);
|
|
21601
21045
|
});
|
|
@@ -21603,17 +21047,17 @@ class InterfaceSync {
|
|
|
21603
21047
|
async renameInterfaceFolder(interfaceInfo) {
|
|
21604
21048
|
const sourceFolder = path40.join(this.bpModulesPath, interfaceInfo.name);
|
|
21605
21049
|
const targetFolder = path40.join(this.bpModulesPath, `interface_${pascalCase(interfaceInfo.alias)}`);
|
|
21606
|
-
if (!
|
|
21050
|
+
if (!existsSync5(sourceFolder)) {
|
|
21607
21051
|
throw new Error(`Interface folder not found: ${sourceFolder}`);
|
|
21608
21052
|
}
|
|
21609
|
-
if (
|
|
21053
|
+
if (existsSync5(targetFolder)) {
|
|
21610
21054
|
await fs19.rm(targetFolder, { recursive: true, force: true });
|
|
21611
21055
|
}
|
|
21612
21056
|
await fs19.rename(sourceFolder, targetFolder);
|
|
21613
21057
|
}
|
|
21614
21058
|
async removeInterfaceFolder(alias) {
|
|
21615
21059
|
const targetFolder = path40.join(this.bpModulesPath, `interface_${pascalCase(alias)}`);
|
|
21616
|
-
if (
|
|
21060
|
+
if (existsSync5(targetFolder)) {
|
|
21617
21061
|
await fs19.rm(targetFolder, { recursive: true, force: true });
|
|
21618
21062
|
}
|
|
21619
21063
|
}
|
|
@@ -21650,7 +21094,7 @@ init_agent_project();
|
|
|
21650
21094
|
init_auth();
|
|
21651
21095
|
import path41 from "path";
|
|
21652
21096
|
import fs20 from "fs/promises";
|
|
21653
|
-
import { existsSync as
|
|
21097
|
+
import { existsSync as existsSync6 } from "fs";
|
|
21654
21098
|
class PluginSync {
|
|
21655
21099
|
projectPath;
|
|
21656
21100
|
botProjectPath;
|
|
@@ -21682,12 +21126,12 @@ class PluginSync {
|
|
|
21682
21126
|
}
|
|
21683
21127
|
async isPluginSynced(plugin) {
|
|
21684
21128
|
const targetFolder = path41.join(this.bpModulesPath, `plugin_${plugin.alias}`);
|
|
21685
|
-
if (!
|
|
21129
|
+
if (!existsSync6(targetFolder)) {
|
|
21686
21130
|
return false;
|
|
21687
21131
|
}
|
|
21688
21132
|
try {
|
|
21689
21133
|
const indexPath = path41.join(targetFolder, "index.ts");
|
|
21690
|
-
if (!
|
|
21134
|
+
if (!existsSync6(indexPath)) {
|
|
21691
21135
|
return false;
|
|
21692
21136
|
}
|
|
21693
21137
|
const indexContent = await fs20.readFile(indexPath, "utf-8");
|
|
@@ -21719,17 +21163,17 @@ class PluginSync {
|
|
|
21719
21163
|
async renamePluginFolder(plugin) {
|
|
21720
21164
|
const sourceFolder = path41.join(this.bpModulesPath, plugin.name.replace("/", "-"));
|
|
21721
21165
|
const targetFolder = path41.join(this.bpModulesPath, `plugin_${plugin.alias}`);
|
|
21722
|
-
if (!
|
|
21166
|
+
if (!existsSync6(sourceFolder)) {
|
|
21723
21167
|
throw new Error(`Plugin folder not found: ${sourceFolder}`);
|
|
21724
21168
|
}
|
|
21725
|
-
if (
|
|
21169
|
+
if (existsSync6(targetFolder)) {
|
|
21726
21170
|
await fs20.rm(targetFolder, { recursive: true, force: true });
|
|
21727
21171
|
}
|
|
21728
21172
|
await fs20.rename(sourceFolder, targetFolder);
|
|
21729
21173
|
}
|
|
21730
21174
|
async removePluginFolder(alias) {
|
|
21731
21175
|
const targetFolder = path41.join(this.bpModulesPath, `plugin_${alias}`);
|
|
21732
|
-
if (
|
|
21176
|
+
if (existsSync6(targetFolder)) {
|
|
21733
21177
|
await fs20.rm(targetFolder, { recursive: true, force: true });
|
|
21734
21178
|
}
|
|
21735
21179
|
}
|
|
@@ -21763,12 +21207,12 @@ class PluginSync {
|
|
|
21763
21207
|
|
|
21764
21208
|
// src/bot-generator/generator.ts
|
|
21765
21209
|
init_utils();
|
|
21766
|
-
import { z as
|
|
21210
|
+
import { z as z8 } from "@botpress/sdk";
|
|
21767
21211
|
init_dependencies_parser();
|
|
21768
21212
|
init_constants();
|
|
21769
21213
|
import { BuiltInActions as BuiltInActions2, BuiltInWorkflows as BuiltInWorkflows4, Primitives as Primitives3 } from "@botpress/runtime/internal";
|
|
21770
21214
|
import { BUILT_IN_TAGS as BUILT_IN_TAGS2 } from "@botpress/runtime/definition";
|
|
21771
|
-
var { transforms: transforms4 } =
|
|
21215
|
+
var { transforms: transforms4 } = z8;
|
|
21772
21216
|
var plural = (n, word) => `${n} ${word}${n === 1 ? "" : "s"}`;
|
|
21773
21217
|
function integrationRequiresConfiguration(definition) {
|
|
21774
21218
|
const config = definition.configuration;
|
|
@@ -21815,7 +21259,7 @@ class BotGenerator {
|
|
|
21815
21259
|
}
|
|
21816
21260
|
async listFilesRecursive(rootDir) {
|
|
21817
21261
|
try {
|
|
21818
|
-
if (!
|
|
21262
|
+
if (!existsSync7(rootDir))
|
|
21819
21263
|
return [];
|
|
21820
21264
|
const result = [];
|
|
21821
21265
|
const walk = async (dir, relativeBase) => {
|
|
@@ -21837,7 +21281,7 @@ class BotGenerator {
|
|
|
21837
21281
|
}
|
|
21838
21282
|
}
|
|
21839
21283
|
async removeEmptyDirectories(rootDir) {
|
|
21840
|
-
if (!
|
|
21284
|
+
if (!existsSync7(rootDir))
|
|
21841
21285
|
return;
|
|
21842
21286
|
const removeIfEmpty = async (dir) => {
|
|
21843
21287
|
const entries = await fs21.readdir(dir, { withFileTypes: true });
|
|
@@ -22780,7 +22224,7 @@ export default bot;`;
|
|
|
22780
22224
|
async copyAssets() {
|
|
22781
22225
|
const assetsPath = path44.join(this.projectPath, "assets");
|
|
22782
22226
|
const targetPath = path44.join(this.outputPath, "assets");
|
|
22783
|
-
if (
|
|
22227
|
+
if (existsSync7(assetsPath)) {
|
|
22784
22228
|
await fs21.mkdir(targetPath, { recursive: true });
|
|
22785
22229
|
await this.copyDirectory(assetsPath, targetPath);
|
|
22786
22230
|
}
|
|
@@ -23163,7 +22607,7 @@ export default bot;`;
|
|
|
23163
22607
|
async generateComponentUrlsBlock() {
|
|
23164
22608
|
const manifestPath = path44.join(this.projectPath, ".adk", "components.manifest.json");
|
|
23165
22609
|
try {
|
|
23166
|
-
if (!
|
|
22610
|
+
if (!existsSync7(manifestPath)) {
|
|
23167
22611
|
return "const componentUrls: Record<string, string> = {};";
|
|
23168
22612
|
}
|
|
23169
22613
|
const manifest = JSON.parse(await fs21.readFile(manifestPath, "utf-8"));
|
|
@@ -23183,7 +22627,7 @@ export default bot;`;
|
|
|
23183
22627
|
const project = await AgentProject.load(this.projectPath);
|
|
23184
22628
|
await initAssets(this.projectPath, project.agentInfo?.botId, { dev: false });
|
|
23185
22629
|
}
|
|
23186
|
-
if (
|
|
22630
|
+
if (existsSync7(assetsRuntimePath)) {
|
|
23187
22631
|
const content = await fs21.readFile(assetsRuntimePath, "utf-8");
|
|
23188
22632
|
await createFile(path44.join(this.outputPath, "src", "assets-runtime.ts"), await formatCode(content));
|
|
23189
22633
|
}
|
|
@@ -23225,8 +22669,8 @@ async function generateBotProject(options) {
|
|
|
23225
22669
|
}
|
|
23226
22670
|
// src/tables/table-manager.ts
|
|
23227
22671
|
init_auth();
|
|
23228
|
-
import { z as
|
|
23229
|
-
var { transforms: transforms5 } =
|
|
22672
|
+
import { z as z9 } from "@botpress/sdk";
|
|
22673
|
+
var { transforms: transforms5 } = z9;
|
|
23230
22674
|
|
|
23231
22675
|
class TableManager {
|
|
23232
22676
|
client;
|
|
@@ -24449,16 +23893,16 @@ class KnowledgeManager {
|
|
|
24449
23893
|
}
|
|
24450
23894
|
}
|
|
24451
23895
|
// src/knowledge/sync-formatter.ts
|
|
24452
|
-
import { readFileSync as
|
|
24453
|
-
import { join as
|
|
23896
|
+
import { readFileSync as readFileSync4 } from "fs";
|
|
23897
|
+
import { join as join9 } from "path";
|
|
24454
23898
|
var getAdkVersion = () => {
|
|
24455
23899
|
try {
|
|
24456
23900
|
const packageJson = require_package();
|
|
24457
23901
|
return packageJson.version;
|
|
24458
23902
|
} catch {
|
|
24459
23903
|
try {
|
|
24460
|
-
const adkPackagePath =
|
|
24461
|
-
const pkg = JSON.parse(
|
|
23904
|
+
const adkPackagePath = join9(process.cwd(), "node_modules/@botpress/adk/package.json");
|
|
23905
|
+
const pkg = JSON.parse(readFileSync4(adkPackagePath, "utf-8"));
|
|
24462
23906
|
return pkg.version;
|
|
24463
23907
|
} catch {
|
|
24464
23908
|
return "unknown";
|
|
@@ -24551,8 +23995,8 @@ class KBSyncFormatter {
|
|
|
24551
23995
|
// src/file-watcher/watcher.ts
|
|
24552
23996
|
import { watch as watch2, readdirSync as readdirSync2, statSync } from "fs";
|
|
24553
23997
|
import { EventEmitter as EventEmitter3 } from "events";
|
|
24554
|
-
import { join as
|
|
24555
|
-
import { existsSync as
|
|
23998
|
+
import { join as join10, relative as relative3 } from "path";
|
|
23999
|
+
import { existsSync as existsSync8 } from "fs";
|
|
24556
24000
|
|
|
24557
24001
|
class FileWatcher2 extends EventEmitter3 {
|
|
24558
24002
|
projectPath;
|
|
@@ -24569,13 +24013,13 @@ class FileWatcher2 extends EventEmitter3 {
|
|
|
24569
24013
|
start() {
|
|
24570
24014
|
const rootFiles = ["package.json", "agent.json", "agent.config.ts"];
|
|
24571
24015
|
for (const file of rootFiles) {
|
|
24572
|
-
const filePath =
|
|
24573
|
-
if (
|
|
24016
|
+
const filePath = join10(this.projectPath, file);
|
|
24017
|
+
if (existsSync8(filePath)) {
|
|
24574
24018
|
this.watchFile(filePath);
|
|
24575
24019
|
}
|
|
24576
24020
|
}
|
|
24577
|
-
const srcPath =
|
|
24578
|
-
if (
|
|
24021
|
+
const srcPath = join10(this.projectPath, "src");
|
|
24022
|
+
if (existsSync8(srcPath)) {
|
|
24579
24023
|
this.initializeDirectoryState(srcPath);
|
|
24580
24024
|
this.watchDirectory(srcPath);
|
|
24581
24025
|
}
|
|
@@ -24584,7 +24028,7 @@ class FileWatcher2 extends EventEmitter3 {
|
|
|
24584
24028
|
try {
|
|
24585
24029
|
const entries = readdirSync2(dirPath, { withFileTypes: true });
|
|
24586
24030
|
for (const entry of entries) {
|
|
24587
|
-
const fullPath =
|
|
24031
|
+
const fullPath = join10(dirPath, entry.name);
|
|
24588
24032
|
if (entry.isDirectory()) {
|
|
24589
24033
|
this.initializeDirectoryState(fullPath);
|
|
24590
24034
|
} else if (entry.isFile()) {
|
|
@@ -24614,7 +24058,7 @@ class FileWatcher2 extends EventEmitter3 {
|
|
|
24614
24058
|
try {
|
|
24615
24059
|
const watcher = watch2(dirPath, { recursive: true, persistent: true }, (_eventType, filename) => {
|
|
24616
24060
|
if (filename) {
|
|
24617
|
-
const fullPath =
|
|
24061
|
+
const fullPath = join10(dirPath, filename);
|
|
24618
24062
|
this.handleFileChange(fullPath);
|
|
24619
24063
|
}
|
|
24620
24064
|
});
|
|
@@ -24625,12 +24069,12 @@ class FileWatcher2 extends EventEmitter3 {
|
|
|
24625
24069
|
}
|
|
24626
24070
|
handleFileChange(filePath) {
|
|
24627
24071
|
try {
|
|
24628
|
-
if (
|
|
24072
|
+
if (existsSync8(filePath) && statSync(filePath).isDirectory()) {
|
|
24629
24073
|
this.scanDirectoryForChanges(filePath);
|
|
24630
24074
|
return;
|
|
24631
24075
|
}
|
|
24632
24076
|
} catch {}
|
|
24633
|
-
const fileExists =
|
|
24077
|
+
const fileExists = existsSync8(filePath);
|
|
24634
24078
|
const previousState = this.fileStates.get(filePath);
|
|
24635
24079
|
let changeType;
|
|
24636
24080
|
if (!fileExists && previousState !== undefined) {
|
|
@@ -24669,7 +24113,7 @@ class FileWatcher2 extends EventEmitter3 {
|
|
|
24669
24113
|
const entries = readdirSync2(dirPath, { withFileTypes: true });
|
|
24670
24114
|
const currentFiles = new Set;
|
|
24671
24115
|
for (const entry of entries) {
|
|
24672
|
-
const fullPath =
|
|
24116
|
+
const fullPath = join10(dirPath, entry.name);
|
|
24673
24117
|
if (entry.isFile()) {
|
|
24674
24118
|
currentFiles.add(fullPath);
|
|
24675
24119
|
if (!this.fileStates.has(fullPath)) {
|
|
@@ -24703,7 +24147,7 @@ class FileWatcher2 extends EventEmitter3 {
|
|
|
24703
24147
|
}, this.debounceMs);
|
|
24704
24148
|
}
|
|
24705
24149
|
updateFileState(filePath) {
|
|
24706
|
-
if (
|
|
24150
|
+
if (existsSync8(filePath)) {
|
|
24707
24151
|
this.fileStates.set(filePath, Date.now());
|
|
24708
24152
|
}
|
|
24709
24153
|
}
|
|
@@ -24919,12 +24363,84 @@ function pluralize2(count, word) {
|
|
|
24919
24363
|
}
|
|
24920
24364
|
// src/runner/script-runner.ts
|
|
24921
24365
|
import dedent2 from "dedent";
|
|
24922
|
-
import { existsSync as
|
|
24366
|
+
import { existsSync as existsSync9 } from "fs";
|
|
24923
24367
|
import fs23 from "fs/promises";
|
|
24924
24368
|
import path47 from "path";
|
|
24925
|
-
import { spawn
|
|
24369
|
+
import { spawn } from "child_process";
|
|
24926
24370
|
init_utils();
|
|
24927
24371
|
init_auth();
|
|
24372
|
+
|
|
24373
|
+
// src/runner/supervise-child.ts
|
|
24374
|
+
import os9 from "os";
|
|
24375
|
+
var FORCE_KILL_MS = 2000;
|
|
24376
|
+
function exitCodeFromClose(code, signal) {
|
|
24377
|
+
if (code != null)
|
|
24378
|
+
return code;
|
|
24379
|
+
if (signal) {
|
|
24380
|
+
const num = os9.constants.signals[signal];
|
|
24381
|
+
return typeof num === "number" ? 128 + num : 1;
|
|
24382
|
+
}
|
|
24383
|
+
return 0;
|
|
24384
|
+
}
|
|
24385
|
+
function superviseChild(child, options = {}) {
|
|
24386
|
+
const { forceKillMs = FORCE_KILL_MS, signals = process } = options;
|
|
24387
|
+
return new Promise((resolve4, reject) => {
|
|
24388
|
+
let forceTimer;
|
|
24389
|
+
let tornDown = false;
|
|
24390
|
+
let escalated = false;
|
|
24391
|
+
let forwardedSignal;
|
|
24392
|
+
const signalNames = ["SIGINT", "SIGTERM"];
|
|
24393
|
+
const previousListeners = new Map;
|
|
24394
|
+
const teardown = () => {
|
|
24395
|
+
if (tornDown)
|
|
24396
|
+
return;
|
|
24397
|
+
tornDown = true;
|
|
24398
|
+
for (const signal of signalNames) {
|
|
24399
|
+
signals.removeListener(signal, onSignal);
|
|
24400
|
+
for (const listener of previousListeners.get(signal) ?? []) {
|
|
24401
|
+
signals.on(signal, listener);
|
|
24402
|
+
}
|
|
24403
|
+
}
|
|
24404
|
+
if (forceTimer)
|
|
24405
|
+
clearTimeout(forceTimer);
|
|
24406
|
+
};
|
|
24407
|
+
const onSignal = (signal) => {
|
|
24408
|
+
if (child.exitCode != null || child.signalCode != null)
|
|
24409
|
+
return;
|
|
24410
|
+
if (escalated) {
|
|
24411
|
+
child.kill("SIGKILL");
|
|
24412
|
+
return;
|
|
24413
|
+
}
|
|
24414
|
+
escalated = true;
|
|
24415
|
+
forwardedSignal = signal;
|
|
24416
|
+
child.kill(signal);
|
|
24417
|
+
forceTimer = setTimeout(() => child.kill("SIGKILL"), forceKillMs);
|
|
24418
|
+
forceTimer.unref?.();
|
|
24419
|
+
};
|
|
24420
|
+
for (const signal of signalNames) {
|
|
24421
|
+
const listeners = signals.listeners?.(signal) ?? [];
|
|
24422
|
+
previousListeners.set(signal, listeners);
|
|
24423
|
+
for (const listener of listeners) {
|
|
24424
|
+
signals.removeListener(signal, listener);
|
|
24425
|
+
}
|
|
24426
|
+
signals.on(signal, onSignal);
|
|
24427
|
+
}
|
|
24428
|
+
child.on("error", (error) => {
|
|
24429
|
+
teardown();
|
|
24430
|
+
reject(error);
|
|
24431
|
+
});
|
|
24432
|
+
child.on("close", (code, signal) => {
|
|
24433
|
+
teardown();
|
|
24434
|
+
if (code === 0 && forwardedSignal) {
|
|
24435
|
+
resolve4(exitCodeFromClose(null, forwardedSignal));
|
|
24436
|
+
return;
|
|
24437
|
+
}
|
|
24438
|
+
resolve4(exitCodeFromClose(code, signal));
|
|
24439
|
+
});
|
|
24440
|
+
});
|
|
24441
|
+
}
|
|
24442
|
+
|
|
24443
|
+
// src/runner/script-runner.ts
|
|
24928
24444
|
async function findAgentRoot(startPath) {
|
|
24929
24445
|
let currentPath = path47.resolve(startPath);
|
|
24930
24446
|
const root = path47.parse(currentPath).root;
|
|
@@ -24957,7 +24473,7 @@ class ScriptRunner {
|
|
|
24957
24473
|
const botPath = path47.join(this.projectPath, ".adk", "bot");
|
|
24958
24474
|
const runnerPath = path47.join(botPath, "src", "script-runner.ts");
|
|
24959
24475
|
const botpressTypesPath = path47.join(botPath, ".botpress", "implementation", "index.ts");
|
|
24960
|
-
const needsRegenerate = this.forceRegenerate || !
|
|
24476
|
+
const needsRegenerate = this.forceRegenerate || !existsSync9(runnerPath) || !existsSync9(botpressTypesPath);
|
|
24961
24477
|
if (needsRegenerate) {
|
|
24962
24478
|
try {
|
|
24963
24479
|
await generateAssetsTypes(project.path);
|
|
@@ -24975,8 +24491,8 @@ class ScriptRunner {
|
|
|
24975
24491
|
}
|
|
24976
24492
|
async runBpBuild(botPath) {
|
|
24977
24493
|
const buildCommand = new BpBuildCommand({ botPath });
|
|
24978
|
-
return new Promise((
|
|
24979
|
-
buildCommand.on("done", () =>
|
|
24494
|
+
return new Promise((resolve4, reject) => {
|
|
24495
|
+
buildCommand.on("done", () => resolve4());
|
|
24980
24496
|
buildCommand.on("error", (err) => reject(new Error(err.message)));
|
|
24981
24497
|
buildCommand.run();
|
|
24982
24498
|
});
|
|
@@ -25159,7 +24675,7 @@ class ScriptRunner {
|
|
|
25159
24675
|
async run(scriptPath, options = {}) {
|
|
25160
24676
|
const { botPath, runnerPath, project } = await this.prepare();
|
|
25161
24677
|
const absoluteScriptPath = path47.isAbsolute(scriptPath) ? scriptPath : path47.resolve(this.projectPath, scriptPath);
|
|
25162
|
-
if (!
|
|
24678
|
+
if (!existsSync9(absoluteScriptPath)) {
|
|
25163
24679
|
throw new Error(`Script not found: ${absoluteScriptPath}`);
|
|
25164
24680
|
}
|
|
25165
24681
|
const botId = this.prod ? project.agentInfo?.botId : project.agentInfo?.devId || project.agentInfo?.botId;
|
|
@@ -25192,19 +24708,12 @@ class ScriptRunner {
|
|
|
25192
24708
|
ADK_API_URL: this.credentials.apiUrl,
|
|
25193
24709
|
...configuration && { ADK_CONFIGURATION: JSON.stringify(configuration) }
|
|
25194
24710
|
};
|
|
25195
|
-
|
|
25196
|
-
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
stdio: options.inheritStdio !== false ? "inherit" : "pipe"
|
|
25200
|
-
});
|
|
25201
|
-
child.on("error", (error) => {
|
|
25202
|
-
reject(error);
|
|
25203
|
-
});
|
|
25204
|
-
child.on("close", (code) => {
|
|
25205
|
-
resolve5(code ?? 0);
|
|
25206
|
-
});
|
|
24711
|
+
const child = spawn("bun", args, {
|
|
24712
|
+
cwd: botPath,
|
|
24713
|
+
env,
|
|
24714
|
+
stdio: options.inheritStdio !== false ? "inherit" : "pipe"
|
|
25207
24715
|
});
|
|
24716
|
+
return superviseChild(child);
|
|
25208
24717
|
}
|
|
25209
24718
|
}
|
|
25210
24719
|
async function runScript(options) {
|
|
@@ -25250,20 +24759,17 @@ Either run from within an agent project directory, or provide projectPath explic
|
|
|
25250
24759
|
return runner.setupTestRuntime({ env: options.env });
|
|
25251
24760
|
}
|
|
25252
24761
|
export {
|
|
25253
|
-
writeCopilotConfig,
|
|
25254
24762
|
workspaceCache,
|
|
25255
24763
|
validateSecretName,
|
|
25256
24764
|
uploadDeployedAgentManifest,
|
|
25257
24765
|
tagDeployedAgentManifestBot,
|
|
25258
24766
|
stringifyWithOrder,
|
|
25259
|
-
startCopilotServer,
|
|
25260
24767
|
setupTestRuntime,
|
|
25261
24768
|
serializeDeployedAgentManifest,
|
|
25262
24769
|
runScript,
|
|
25263
24770
|
resolveWorkspaceCredentials,
|
|
25264
24771
|
resolveProjectCredentials,
|
|
25265
24772
|
resolveBotCredentials,
|
|
25266
|
-
readCopilotConfig,
|
|
25267
24773
|
pluralize2 as pluralize,
|
|
25268
24774
|
orderKeys,
|
|
25269
24775
|
integrationKeyOrder,
|
|
@@ -25271,7 +24777,6 @@ export {
|
|
|
25271
24777
|
getRelativeTime,
|
|
25272
24778
|
getProjectClient,
|
|
25273
24779
|
getInnerTypeName,
|
|
25274
|
-
getCopilotConfigPath,
|
|
25275
24780
|
getChatClient,
|
|
25276
24781
|
generateIntegrationTypes,
|
|
25277
24782
|
generateClientWrapper,
|
|
@@ -25284,10 +24789,8 @@ export {
|
|
|
25284
24789
|
dependenciesKeyOrder,
|
|
25285
24790
|
exports_dependencies as dependencies,
|
|
25286
24791
|
createDeployedAgentManifest,
|
|
25287
|
-
createDefaultCopilotConfig,
|
|
25288
24792
|
coerceConfigValue,
|
|
25289
24793
|
clearProjectClientCache,
|
|
25290
|
-
checkHasProvider,
|
|
25291
24794
|
buildIndexUpdate,
|
|
25292
24795
|
bpCliImporter,
|
|
25293
24796
|
auth,
|
|
@@ -25342,4 +24845,4 @@ export {
|
|
|
25342
24845
|
ADK_MANIFEST_BOT_TAGS
|
|
25343
24846
|
};
|
|
25344
24847
|
|
|
25345
|
-
//# debugId=
|
|
24848
|
+
//# debugId=811FE4B5C8EAB7F264756E2164756E21
|