@lousy-agents/mcp 5.9.4 → 5.9.6
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/mcp-server.js +17 -29
- package/dist/mcp-server.js.map +1 -1
- package/package.json +2 -2
package/dist/mcp-server.js
CHANGED
|
@@ -5796,25 +5796,17 @@ const fs = __webpack_require__(9896)
|
|
|
5796
5796
|
const path = __webpack_require__(6928)
|
|
5797
5797
|
const os = __webpack_require__(857)
|
|
5798
5798
|
const crypto = __webpack_require__(6982)
|
|
5799
|
-
const packageJson = __webpack_require__(1583)
|
|
5800
|
-
|
|
5801
|
-
const version = packageJson.version
|
|
5802
5799
|
|
|
5803
5800
|
// Array of tips to display randomly
|
|
5804
5801
|
const TIPS = [
|
|
5805
|
-
'
|
|
5806
|
-
'
|
|
5807
|
-
'
|
|
5808
|
-
'
|
|
5809
|
-
'
|
|
5810
|
-
'
|
|
5811
|
-
'
|
|
5812
|
-
'
|
|
5813
|
-
'⚙️ enable debug logging with { debug: true }',
|
|
5814
|
-
'⚙️ override existing env vars with { override: true }',
|
|
5815
|
-
'⚙️ suppress all logs with { quiet: true }',
|
|
5816
|
-
'⚙️ write to custom object with { processEnv: myObject }',
|
|
5817
|
-
'⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }'
|
|
5802
|
+
'◈ encrypted .env [www.dotenvx.com]',
|
|
5803
|
+
'◈ secrets for agents [www.dotenvx.com]',
|
|
5804
|
+
'⌁ auth for agents [www.vestauth.com]',
|
|
5805
|
+
'⌘ custom filepath { path: \'/custom/path/.env\' }',
|
|
5806
|
+
'⌘ enable debugging { debug: true }',
|
|
5807
|
+
'⌘ override existing { override: true }',
|
|
5808
|
+
'⌘ suppress logs { quiet: true }',
|
|
5809
|
+
'⌘ multiple files { path: [\'.env.local\', \'.env\'] }'
|
|
5818
5810
|
]
|
|
5819
5811
|
|
|
5820
5812
|
// Get a random tip from the tips array
|
|
@@ -5922,15 +5914,15 @@ function _parseVault (options) {
|
|
|
5922
5914
|
}
|
|
5923
5915
|
|
|
5924
5916
|
function _warn (message) {
|
|
5925
|
-
console.error(
|
|
5917
|
+
console.error(`⚠ ${message}`)
|
|
5926
5918
|
}
|
|
5927
5919
|
|
|
5928
5920
|
function _debug (message) {
|
|
5929
|
-
console.log(
|
|
5921
|
+
console.log(`┆ ${message}`)
|
|
5930
5922
|
}
|
|
5931
5923
|
|
|
5932
5924
|
function _log (message) {
|
|
5933
|
-
console.log(
|
|
5925
|
+
console.log(`◇ ${message}`)
|
|
5934
5926
|
}
|
|
5935
5927
|
|
|
5936
5928
|
function _dotenvKey (options) {
|
|
@@ -6024,7 +6016,7 @@ function _configVault (options) {
|
|
|
6024
6016
|
const quiet = parseBoolean(process.env.DOTENV_CONFIG_QUIET || (options && options.quiet))
|
|
6025
6017
|
|
|
6026
6018
|
if (debug || !quiet) {
|
|
6027
|
-
_log('
|
|
6019
|
+
_log('loading env from encrypted .env.vault')
|
|
6028
6020
|
}
|
|
6029
6021
|
|
|
6030
6022
|
const parsed = DotenvModule._parseVault(options)
|
|
@@ -6053,7 +6045,7 @@ function configDotenv (options) {
|
|
|
6053
6045
|
encoding = options.encoding
|
|
6054
6046
|
} else {
|
|
6055
6047
|
if (debug) {
|
|
6056
|
-
_debug('
|
|
6048
|
+
_debug('no encoding is specified (UTF-8 is used by default)')
|
|
6057
6049
|
}
|
|
6058
6050
|
}
|
|
6059
6051
|
|
|
@@ -6081,7 +6073,7 @@ function configDotenv (options) {
|
|
|
6081
6073
|
DotenvModule.populate(parsedAll, parsed, options)
|
|
6082
6074
|
} catch (e) {
|
|
6083
6075
|
if (debug) {
|
|
6084
|
-
_debug(`
|
|
6076
|
+
_debug(`failed to load ${path} ${e.message}`)
|
|
6085
6077
|
}
|
|
6086
6078
|
lastError = e
|
|
6087
6079
|
}
|
|
@@ -6102,13 +6094,13 @@ function configDotenv (options) {
|
|
|
6102
6094
|
shortPaths.push(relative)
|
|
6103
6095
|
} catch (e) {
|
|
6104
6096
|
if (debug) {
|
|
6105
|
-
_debug(`
|
|
6097
|
+
_debug(`failed to load ${filePath} ${e.message}`)
|
|
6106
6098
|
}
|
|
6107
6099
|
lastError = e
|
|
6108
6100
|
}
|
|
6109
6101
|
}
|
|
6110
6102
|
|
|
6111
|
-
_log(`
|
|
6103
|
+
_log(`injected env (${keysCount}) from ${shortPaths.join(',')} ${dim(`// tip: ${_getRandomTip()}`)}`)
|
|
6112
6104
|
}
|
|
6113
6105
|
|
|
6114
6106
|
if (lastError) {
|
|
@@ -6129,7 +6121,7 @@ function config (options) {
|
|
|
6129
6121
|
|
|
6130
6122
|
// dotenvKey exists but .env.vault file does not exist
|
|
6131
6123
|
if (!vaultPath) {
|
|
6132
|
-
_warn(`
|
|
6124
|
+
_warn(`you set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}`)
|
|
6133
6125
|
|
|
6134
6126
|
return DotenvModule.configDotenv(options)
|
|
6135
6127
|
}
|
|
@@ -15949,10 +15941,6 @@ module.exports = JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-valid
|
|
|
15949
15941
|
3928(module) {
|
|
15950
15942
|
module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')
|
|
15951
15943
|
|
|
15952
|
-
},
|
|
15953
|
-
1583(module) {
|
|
15954
|
-
module.exports = JSON.parse('{"name":"dotenv","version":"17.3.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')
|
|
15955
|
-
|
|
15956
15944
|
},
|
|
15957
15945
|
|
|
15958
15946
|
});
|