@lousy-agents/cli 5.9.4 → 5.9.5
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/api/copilot-with-fastify/package-lock.json +293 -255
- package/api/copilot-with-fastify/package.json +1 -1
- package/cli/copilot-with-citty/package.json +1 -1
- package/dist/index.js +17 -29
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/ui/copilot-with-react/package.json +1 -1
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@biomejs/biome": "2.4.11",
|
|
29
|
-
"@lousy-agents/mcp": "5.9.
|
|
29
|
+
"@lousy-agents/mcp": "5.9.4",
|
|
30
30
|
"@modelcontextprotocol/server-sequential-thinking": "2025.12.18",
|
|
31
31
|
"@testcontainers/postgresql": "11.14.0",
|
|
32
32
|
"@types/node": "24.12.2",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@biomejs/biome": "2.4.11",
|
|
23
|
-
"@lousy-agents/mcp": "5.9.
|
|
23
|
+
"@lousy-agents/mcp": "5.9.4",
|
|
24
24
|
"@modelcontextprotocol/server-sequential-thinking": "2025.12.18",
|
|
25
25
|
"@types/node": "24.12.2",
|
|
26
26
|
"@upstash/context7-mcp": "2.1.7",
|
package/dist/index.js
CHANGED
|
@@ -7,25 +7,17 @@ const fs = __webpack_require__(9896)
|
|
|
7
7
|
const path = __webpack_require__(6928)
|
|
8
8
|
const os = __webpack_require__(857)
|
|
9
9
|
const crypto = __webpack_require__(6982)
|
|
10
|
-
const packageJson = __webpack_require__(1583)
|
|
11
|
-
|
|
12
|
-
const version = packageJson.version
|
|
13
10
|
|
|
14
11
|
// Array of tips to display randomly
|
|
15
12
|
const TIPS = [
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'⚙️ enable debug logging with { debug: true }',
|
|
25
|
-
'⚙️ override existing env vars with { override: true }',
|
|
26
|
-
'⚙️ suppress all logs with { quiet: true }',
|
|
27
|
-
'⚙️ write to custom object with { processEnv: myObject }',
|
|
28
|
-
'⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }'
|
|
13
|
+
'◈ encrypted .env [www.dotenvx.com]',
|
|
14
|
+
'◈ secrets for agents [www.dotenvx.com]',
|
|
15
|
+
'⌁ auth for agents [www.vestauth.com]',
|
|
16
|
+
'⌘ custom filepath { path: \'/custom/path/.env\' }',
|
|
17
|
+
'⌘ enable debugging { debug: true }',
|
|
18
|
+
'⌘ override existing { override: true }',
|
|
19
|
+
'⌘ suppress logs { quiet: true }',
|
|
20
|
+
'⌘ multiple files { path: [\'.env.local\', \'.env\'] }'
|
|
29
21
|
]
|
|
30
22
|
|
|
31
23
|
// Get a random tip from the tips array
|
|
@@ -133,15 +125,15 @@ function _parseVault (options) {
|
|
|
133
125
|
}
|
|
134
126
|
|
|
135
127
|
function _warn (message) {
|
|
136
|
-
console.error(
|
|
128
|
+
console.error(`⚠ ${message}`)
|
|
137
129
|
}
|
|
138
130
|
|
|
139
131
|
function _debug (message) {
|
|
140
|
-
console.log(
|
|
132
|
+
console.log(`┆ ${message}`)
|
|
141
133
|
}
|
|
142
134
|
|
|
143
135
|
function _log (message) {
|
|
144
|
-
console.log(
|
|
136
|
+
console.log(`◇ ${message}`)
|
|
145
137
|
}
|
|
146
138
|
|
|
147
139
|
function _dotenvKey (options) {
|
|
@@ -235,7 +227,7 @@ function _configVault (options) {
|
|
|
235
227
|
const quiet = parseBoolean(process.env.DOTENV_CONFIG_QUIET || (options && options.quiet))
|
|
236
228
|
|
|
237
229
|
if (debug || !quiet) {
|
|
238
|
-
_log('
|
|
230
|
+
_log('loading env from encrypted .env.vault')
|
|
239
231
|
}
|
|
240
232
|
|
|
241
233
|
const parsed = DotenvModule._parseVault(options)
|
|
@@ -264,7 +256,7 @@ function configDotenv (options) {
|
|
|
264
256
|
encoding = options.encoding
|
|
265
257
|
} else {
|
|
266
258
|
if (debug) {
|
|
267
|
-
_debug('
|
|
259
|
+
_debug('no encoding is specified (UTF-8 is used by default)')
|
|
268
260
|
}
|
|
269
261
|
}
|
|
270
262
|
|
|
@@ -292,7 +284,7 @@ function configDotenv (options) {
|
|
|
292
284
|
DotenvModule.populate(parsedAll, parsed, options)
|
|
293
285
|
} catch (e) {
|
|
294
286
|
if (debug) {
|
|
295
|
-
_debug(`
|
|
287
|
+
_debug(`failed to load ${path} ${e.message}`)
|
|
296
288
|
}
|
|
297
289
|
lastError = e
|
|
298
290
|
}
|
|
@@ -313,13 +305,13 @@ function configDotenv (options) {
|
|
|
313
305
|
shortPaths.push(relative)
|
|
314
306
|
} catch (e) {
|
|
315
307
|
if (debug) {
|
|
316
|
-
_debug(`
|
|
308
|
+
_debug(`failed to load ${filePath} ${e.message}`)
|
|
317
309
|
}
|
|
318
310
|
lastError = e
|
|
319
311
|
}
|
|
320
312
|
}
|
|
321
313
|
|
|
322
|
-
_log(`
|
|
314
|
+
_log(`injected env (${keysCount}) from ${shortPaths.join(',')} ${dim(`// tip: ${_getRandomTip()}`)}`)
|
|
323
315
|
}
|
|
324
316
|
|
|
325
317
|
if (lastError) {
|
|
@@ -340,7 +332,7 @@ function config (options) {
|
|
|
340
332
|
|
|
341
333
|
// dotenvKey exists but .env.vault file does not exist
|
|
342
334
|
if (!vaultPath) {
|
|
343
|
-
_warn(`
|
|
335
|
+
_warn(`you set DOTENV_KEY but you are missing a .env.vault file at ${vaultPath}`)
|
|
344
336
|
|
|
345
337
|
return DotenvModule.configDotenv(options)
|
|
346
338
|
}
|
|
@@ -9224,10 +9216,6 @@ function jsonc_parser_e(e,i=!1){let a=e.length,o=0,s=``,c=0,l=16,u=0,d=0,f=0,p=0
|
|
|
9224
9216
|
;// CONCATENATED MODULE: ../../node_modules/confbox/dist/jsonc.mjs
|
|
9225
9217
|
function jsonc_r(n,r){let i=jsonc_parser_m(n,r?.errors,r);return (0,_format.n)(n,i,r),i}function jsonc_i(e,t){return n(e,t)}
|
|
9226
9218
|
|
|
9227
|
-
},
|
|
9228
|
-
1583(module) {
|
|
9229
|
-
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}}')
|
|
9230
|
-
|
|
9231
9219
|
},
|
|
9232
9220
|
|
|
9233
9221
|
});
|