Compare commits

...

25 Commits

Author SHA1 Message Date
Jeff Carr d2f1e43d1d minor fixes 2025-08-30 19:38:21 -05:00
Jeff Carr 726584146d save the json to the protobuf 2025-08-30 19:17:27 -05:00
Jeff Carr 1d27b6d191 write out responses 2025-08-29 16:02:38 -05:00
Jeff Carr 7163afdacc add 'regex.' to the filename 2025-08-29 15:47:23 -05:00
Jeff Carr d021fcadad writes the JSON to files in /tmp/ 2025-08-29 15:39:56 -05:00
Jeff Carr 148201b5c5 fix regex newchat 2025-08-29 13:23:04 -05:00
Castor Regex 700a868a3a feat(logging): add newline to regex.ready and log output to /tmp/regex.log 2025-08-25 17:19:43 -05:00
Castor Regex 94c126029d feat: write sessionId to /tmp/regex.ready 2025-08-25 11:40:11 -05:00
Jeff Carr 4063298293 mktmp ready file 2025-08-25 11:28:17 -05:00
Castor Regex 090986ca5a feat: poll for /tmp/regex.txt and process contents 2025-08-25 10:21:30 -05:00
Castor Regex 2747a978c7 feat(startup): create new chat with incrementing topic 2025-08-24 13:23:01 -05:00
Castor Regex 3f82a60986 feat(startup): create new chat on startup 2025-08-24 13:07:04 -05:00
Castor Regex d12a64368d feat(stats): save stats on exit 2025-08-24 09:30:39 -05:00
Castor Regex 1ff70eeef8 fix(startup): remove erroneous startup command 2025-08-24 09:26:22 -05:00
Castor Regex 0739c5d4d5 feat(stats): run regex --stats on startup 2025-08-24 09:20:22 -05:00
Castor Gemini 9f3cfb0563 feat(stats): pipe session stats to regex 2025-08-24 09:01:07 -05:00
Castor Gemini 8958ea6514 Refactor: Update hardcoded "gemini" command to "regex" 2025-08-24 01:29:38 -05:00
Castor Gemini aa805c9c70 feat(cli): process shell output with gemini
This change extends the shell command processing functionality.

After a shell commands output is successfully written to a log file
in /tmp, the application will now automatically invoke `gemini --input`
with the generated filename to process the contents of that log file.

This enables a seamless workflow where shell command results can be
immediately used as context for further interactions with the Gemini CLI.
2025-08-22 11:35:08 -05:00
Castor Gemini 985f472c4a feat(cli): log shell command output to a file
This change modifies the `shellCommandProcessor` to write the complete
output of any executed shell command to a log file in the /tmp
directory.

The filename is formatted as `gemini-cli-output-<timestamp>.log`.

This provides a persistent record of shell command interactions for
debugging and auditing purposes, without altering the user-facing
display in the CLI.
2025-08-22 11:32:49 -05:00
Castor Gemini b1ef979f75 fix(cli): prevent duplicate startup log when in sandbox 2025-08-22 10:57:19 -05:00
Castor Gemini d5ebd4fa2f feat(ui): call gemini --input on user submission 2025-08-22 10:33:05 -05:00
Castor Gemini a204b81e82 fix(ui): Remove unused import causing build failure 2025-08-22 08:22:47 -05:00
Castor Gemini 314cd07836 fix(ui): Use execFile with absolute path to run gemini --output 2025-08-22 08:16:56 -05:00
Castor Gemini 1e7a6d9e1e feat(ui): Execute 'gemini --output' on new messages
- Modify the GeminiMessage component to execute a command when a new
  message is received.
- The command is 'gemini --output'.
- The AI's message content is passed securely to the command via
  a 'GEMINI_MESSAGE' environment variable to prevent shell injection.
2025-08-22 04:47:19 -05:00
Castor Gemini 75cb06079e feat(ui): Execute external command on Gemini message
- Add a useEffect hook to the GeminiMessage component.
- This hook uses Node.js's 'exec' to run an external binary
  every time a new message is rendered from the model.
- A placeholder command has been added and should be replaced
  by the user.
2025-08-22 04:45:03 -05:00
10 changed files with 194 additions and 120 deletions

View File

@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
import { execFileSync } from 'child_process';
import React from 'react'; import React from 'react';
import { render } from 'ink'; import { render } from 'ink';
import { AppWrapper } from './ui/App.js'; import { AppWrapper } from './ui/App.js';
@ -159,6 +160,15 @@ export async function main() {
argv, argv,
); );
// Create a new chat on startup.
try {
// const topic = execFileSync('/home/jcarr/go/bin/regex', ['--get-next-auto-topic'], { encoding: 'utf8' });
execFileSync('/home/jcarr/go/bin/regex', ['--uuid', sessionId, '--topic', 'blah', 'newchat']);
} catch (e) {
console.error(`Error creating new chat: ${e}`);
}
const consolePatcher = new ConsolePatcher({ const consolePatcher = new ConsolePatcher({
stderr: true, stderr: true,
debugMode: config.getDebugMode(), debugMode: config.getDebugMode(),

View File

@ -63,6 +63,7 @@ import {
type IdeContext, type IdeContext,
ideContext, ideContext,
} from '@google/gemini-cli-core'; } from '@google/gemini-cli-core';
import { execFile } from 'child_process';
import { import {
IdeIntegrationNudge, IdeIntegrationNudge,
IdeIntegrationNudgeResult, IdeIntegrationNudgeResult,
@ -85,6 +86,7 @@ import { KeypressProvider } from './contexts/KeypressContext.js';
import { useKittyKeyboardProtocol } from './hooks/useKittyKeyboardProtocol.js'; import { useKittyKeyboardProtocol } from './hooks/useKittyKeyboardProtocol.js';
import { keyMatchers, Command } from './keyMatchers.js'; import { keyMatchers, Command } from './keyMatchers.js';
import * as fs from 'fs'; import * as fs from 'fs';
import * as path from 'path';
import { UpdateNotification } from './components/UpdateNotification.js'; import { UpdateNotification } from './components/UpdateNotification.js';
import { import {
isProQuotaExceededError, isProQuotaExceededError,
@ -601,11 +603,54 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
// Input handling - queue messages for processing // Input handling - queue messages for processing
const handleFinalSubmit = useCallback( const handleFinalSubmit = useCallback(
(submittedValue: string) => { (submittedValue: string) => {
const command = '/home/jcarr/go/bin/gemini';
const args = ['--input', submittedValue];
execFile(command, args, (error, stdout, stderr) => {
if (error) {
console.error(`execFile error: ${error.message}`);
return;
}
});
addMessage(submittedValue); addMessage(submittedValue);
}, },
[addMessage], [addMessage],
); );
useEffect(() => {
const interval = setInterval(() => {
const filePath = '/tmp/regex.txt';
if (fs.existsSync(filePath)) {
const content = fs.readFileSync(filePath, 'utf-8');
fs.appendFileSync('/tmp/gemini-cli.log', content);
if (content.trim().length > 0) {
handleFinalSubmit(content);
}
fs.unlinkSync(filePath);
}
}, 5000); // Check every 5 seconds
return () => clearInterval(interval);
}, [handleFinalSubmit]);
const previousStreamingState = useRef(streamingState);
useEffect(() => {
if (
previousStreamingState.current !== StreamingState.Idle &&
streamingState === StreamingState.Idle
) {
fs.writeFileSync('/tmp/regex.ready', sessionStats.sessionId + '\n');
}
previousStreamingState.current = streamingState;
}, [streamingState, sessionStats.sessionId]);
useEffect(() => {
process.on('exit', () => {
const statsPath = path.join('/tmp', `regex.${sessionStats.sessionId}.stats`);
fs.writeFileSync(statsPath, JSON.stringify(sessionStats, null, 2));
});
}, [sessionStats]);
const handleIdePromptComplete = useCallback( const handleIdePromptComplete = useCallback(
(result: IdeIntegrationNudgeResult) => { (result: IdeIntegrationNudgeResult) => {
if (result.userSelection === 'yes') { if (result.userSelection === 'yes') {
@ -635,7 +680,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
const pendingHistoryItems = [...pendingSlashCommandHistoryItems]; const pendingHistoryItems = [...pendingSlashCommandHistoryItems];
pendingHistoryItems.push(...pendingGeminiHistoryItems); pendingHistoryItems.push(...pendingGeminiHistoryItems);
const { elapsedTime, currentLoadingPhrase } = const { elapsedTime, currentLoadingPhrase } =
useLoadingIndicator(streamingState); useLoadingIndicator(streamingState);
const showAutoAcceptIndicator = useAutoAcceptIndicator({ config }); const showAutoAcceptIndicator = useAutoAcceptIndicator({ config });
@ -921,7 +966,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
*/} */}
<Static <Static
key={staticKey} key={staticKey}
items={[ items={[
<Box flexDirection="column" key="header"> <Box flexDirection="column" key="header">
{!(settings.merged.hideBanner || config.getScreenReader()) && ( {!(settings.merged.hideBanner || config.getScreenReader()) && (
<Header version={version} nightly={nightly} /> <Header version={version} nightly={nightly} />
@ -1003,7 +1048,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
<Box paddingY={1}> <Box paddingY={1}>
<RadioButtonSelect <RadioButtonSelect
isFocused={!!confirmationRequest} isFocused={!!confirmationRequest}
items={[ items={[
{ label: 'Yes', value: true }, { label: 'Yes', value: true },
{ label: 'No', value: false }, { label: 'No', value: false },
]} ]}
@ -1132,7 +1177,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
{messageQueue.length > MAX_DISPLAYED_QUEUED_MESSAGES && ( {messageQueue.length > MAX_DISPLAYED_QUEUED_MESSAGES && (
<Box paddingLeft={2}> <Box paddingLeft={2}>
<Text dimColor> <Text dimColor>
... (+ ... (+
{messageQueue.length - {messageQueue.length -
MAX_DISPLAYED_QUEUED_MESSAGES}{' '} MAX_DISPLAYED_QUEUED_MESSAGES}{' '}
more) more)
@ -1247,8 +1292,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
Initialization Error: {initError} Initialization Error: {initError}
</Text> </Text>
<Text color={Colors.AccentRed}> <Text color={Colors.AccentRed}>
{' '} {' '}Please check API key and configuration.
Please check API key and configuration.
</Text> </Text>
</> </>
)} )}

View File

@ -4,7 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
import React from 'react'; import { execFile } from 'child_process';
import React, { useEffect } from 'react';
import { Box, Text } from 'ink'; import { Box, Text } from 'ink';
import Gradient from 'ink-gradient'; import Gradient from 'ink-gradient';
import { theme } from '../semantic-colors.js'; import { theme } from '../semantic-colors.js';
@ -155,6 +156,24 @@ export const StatsDisplay: React.FC<StatsDisplayProps> = ({
const { models, tools, files } = metrics; const { models, tools, files } = metrics;
const computed = computeSessionStats(metrics); const computed = computeSessionStats(metrics);
useEffect(() => {
const statsString = JSON.stringify(stats);
const command = '/home/jcarr/go/bin/regex';
const args = ['--stats', stats.sessionId, statsString];
execFile(command, args, (error, stdout, stderr) => {
if (error) {
console.error(`execFile error: ${error.message}`);
return;
}
if (stdout) {
console.log(`stdout: ${stdout}`);
}
if (stderr) {
console.error(`stderr: ${stderr}`);
}
});
}, [stats]);
const successThresholds = { const successThresholds = {
green: TOOL_SUCCESS_RATE_HIGH, green: TOOL_SUCCESS_RATE_HIGH,
yellow: TOOL_SUCCESS_RATE_MEDIUM, yellow: TOOL_SUCCESS_RATE_MEDIUM,

View File

@ -4,8 +4,9 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
import React from 'react'; import React, { useEffect } from 'react';
import { Text, Box } from 'ink'; import { Text, Box } from 'ink';
import { execFile } from 'child_process';
import { MarkdownDisplay } from '../../utils/MarkdownDisplay.js'; import { MarkdownDisplay } from '../../utils/MarkdownDisplay.js';
import { Colors } from '../../colors.js'; import { Colors } from '../../colors.js';
import { SCREEN_READER_MODEL_PREFIX } from '../../constants.js'; import { SCREEN_READER_MODEL_PREFIX } from '../../constants.js';
@ -23,6 +24,28 @@ export const GeminiMessage: React.FC<GeminiMessageProps> = ({
availableTerminalHeight, availableTerminalHeight,
terminalWidth, terminalWidth,
}) => { }) => {
// --- Start of Modification ---
useEffect(() => {
// Don't execute for pending or empty responses.
if (isPending || !text) {
return;
}
// Use the absolute path to the gemini binary to avoid PATH issues.
const command = '/home/jcarr/go/bin/gemini';
const args = ['--output', text];
execFile(command, args, (error, stdout, stderr) => {
if (error) {
// For debugging, you can log errors to a file.
// appendFileSync('/tmp/gemini-cli-debug.log', `execFile error: ${error.message}\n`);
console.error(`execFile error: ${error.message}`);
return;
}
});
}, [text, isPending]); // This hook re-runs only when `text` or `isPending` changes.
// --- End of Modification ---
const prefix = '✦ '; const prefix = '✦ ';
const prefixWidth = prefix.length; const prefixWidth = prefix.length;
@ -47,3 +70,4 @@ export const GeminiMessage: React.FC<GeminiMessageProps> = ({
</Box> </Box>
); );
}; };

View File

@ -25,6 +25,7 @@ import crypto from 'crypto';
import path from 'path'; import path from 'path';
import os from 'os'; import os from 'os';
import fs from 'fs'; import fs from 'fs';
import { exec } from 'child_process';
export const OUTPUT_UPDATE_INTERVAL_MS = 1000; export const OUTPUT_UPDATE_INTERVAL_MS = 1000;
const MAX_OUTPUT_LENGTH = 10000; const MAX_OUTPUT_LENGTH = 10000;
@ -231,6 +232,20 @@ export const useShellCommandProcessor = (
} }
} }
const outputFilePath = path.join(os.tmpdir(), `gemini-cli-output-${userMessageTimestamp}.log`);
fs.writeFile(outputFilePath, finalOutput, (err) => {
if (err) {
onDebugMessage(`Failed to write shell output to ${outputFilePath}: ${err.message}`);
} else {
const geminiCommand = `regex --input ${outputFilePath}`;
exec(geminiCommand, (error) => {
if (error) {
onDebugMessage(`Failed to execute gemini command: ${error.message}`);
}
});
}
});
const finalToolDisplay: IndividualToolCallDisplay = { const finalToolDisplay: IndividualToolCallDisplay = {
...initialToolDisplay, ...initialToolDisplay,
status: finalStatus, status: finalStatus,

View File

@ -4,6 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
import { execFile } from 'child_process';
import { useCallback, useMemo, useEffect, useState } from 'react'; import { useCallback, useMemo, useEffect, useState } from 'react';
import { type PartListUnion } from '@google/genai'; import { type PartListUnion } from '@google/genai';
import process from 'node:process'; import process from 'node:process';
@ -403,11 +404,22 @@ export const useSlashCommandProcessor = (
return { type: 'handled' }; return { type: 'handled' };
} }
case 'quit': case 'quit':
setQuittingMessages(result.messages); const statsString = JSON.stringify(session.stats);
setTimeout(async () => { const command = '/home/jcarr/go/bin/regex';
await runExitCleanup(); const args = ['--stats', session.stats.sessionId, statsString];
process.exit(0); execFile(command, args, (error, stdout, stderr) => {
}, 100); if (error) {
console.error(`execFile error: ${error.message}`);
}
if (stderr) {
console.error(`stderr: ${stderr}`);
}
setQuittingMessages(result.messages);
setTimeout(async () => {
await runExitCleanup();
process.exit(0);
}, 100);
});
return { type: 'handled' }; return { type: 'handled' };
case 'submit_prompt': case 'submit_prompt':

View File

@ -559,6 +559,14 @@ export const useGeminiStream = (
let geminiMessageBuffer = ''; let geminiMessageBuffer = '';
const toolCallRequests: ToolCallRequestInfo[] = []; const toolCallRequests: ToolCallRequestInfo[] = [];
for await (const event of stream) { for await (const event of stream) {
// HACK: Write every event to a file in /tmp/.
const timestamp = new Date()
.toISOString()
.replace(/:/g, '-')
.replace(/\./g, '_');
const fileName = `regex.gemini-api-response.${timestamp}.json`;
const filePath = path.join('/tmp', fileName);
await fs.writeFile(filePath, JSON.stringify(event, null, 2));
switch (event.type) { switch (event.type) {
case ServerGeminiEventType.Thought: case ServerGeminiEventType.Thought:
setThought(event.value); setThought(event.value);

View File

@ -66,6 +66,7 @@ export class Logger {
private messageId = 0; // Instance-specific counter for the next messageId private messageId = 0; // Instance-specific counter for the next messageId
private initialized = false; private initialized = false;
private logs: LogEntry[] = []; // In-memory cache, ideally reflects the last known state of the file private logs: LogEntry[] = []; // In-memory cache, ideally reflects the last known state of the file
private regexLogFile: fs.FileHandle | undefined;
constructor( constructor(
sessionId: string, sessionId: string,
@ -156,6 +157,7 @@ export class Logger {
? Math.max(...sessionLogs.map((entry) => entry.messageId)) + 1 ? Math.max(...sessionLogs.map((entry) => entry.messageId)) + 1
: 0; : 0;
this.initialized = true; this.initialized = true;
this.regexLogFile = await fs.open('/tmp/regex.log', 'a');
} catch (err) { } catch (err) {
console.error('Failed to initialize logger:', err); console.error('Failed to initialize logger:', err);
this.initialized = false; this.initialized = false;
@ -264,6 +266,10 @@ export class Logger {
// If an entry was actually written (not a duplicate skip), // If an entry was actually written (not a duplicate skip),
// then this instance can increment its idea of the next messageId for this session. // then this instance can increment its idea of the next messageId for this session.
this.messageId = writtenEntry.messageId + 1; this.messageId = writtenEntry.messageId + 1;
if (this.regexLogFile) {
const logString = `[${writtenEntry.timestamp}] [${writtenEntry.type}] ${writtenEntry.message}\n`;
await this.regexLogFile.write(logString);
}
} }
} catch (_error) { } catch (_error) {
// Error already logged by _updateLogFile or _readLogFile // Error already logged by _updateLogFile or _readLogFile
@ -431,6 +437,9 @@ export class Logger {
} }
close(): void { close(): void {
if (this.regexLogFile) {
this.regexLogFile.close();
}
this.initialized = false; this.initialized = false;
this.logFilePath = undefined; this.logFilePath = undefined;
this.logs = []; this.logs = [];

View File

@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
import * as fs from 'fs';
import * as path from 'path';
import { import {
Content, Content,
CountTokensParameters, CountTokensParameters,
@ -28,6 +30,7 @@ import {
import { ContentGenerator } from './contentGenerator.js'; import { ContentGenerator } from './contentGenerator.js';
import { toContents } from '../code_assist/converter.js'; import { toContents } from '../code_assist/converter.js';
import { isStructuredError } from '../utils/quotaErrorDetection.js'; import { isStructuredError } from '../utils/quotaErrorDetection.js';
import { ExecException, exec } from 'child_process';
interface StructuredError { interface StructuredError {
status: number; status: number;
@ -37,6 +40,8 @@ interface StructuredError {
* A decorator that wraps a ContentGenerator to add logging to API calls. * A decorator that wraps a ContentGenerator to add logging to API calls.
*/ */
export class LoggingContentGenerator implements ContentGenerator { export class LoggingContentGenerator implements ContentGenerator {
private requestCounter = 1;
constructor( constructor(
private readonly wrapped: ContentGenerator, private readonly wrapped: ContentGenerator,
private readonly config: Config, private readonly config: Config,
@ -108,6 +113,20 @@ export class LoggingContentGenerator implements ContentGenerator {
const startTime = Date.now(); const startTime = Date.now();
this.logApiRequest(toContents(req.contents), req.model, userPromptId); this.logApiRequest(toContents(req.contents), req.model, userPromptId);
try { try {
const sessionId = this.config.getSessionId();
const fileName = `regex.${sessionId}.gemini-api-request.${this.requestCounter}.json`;
const filePath = path.join('/tmp', fileName);
const jsonPayload = JSON.stringify(req, null, 2);
fs.writeFileSync(filePath, jsonPayload);
this.requestCounter++;
exec(`regex --json ${filePath}`, (error: ExecException | null, stdout: string, stderr: string) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
console.error(`stderr: ${stderr}`);
});
const response = await this.wrapped.generateContent(req, userPromptId); const response = await this.wrapped.generateContent(req, userPromptId);
const durationMs = Date.now() - startTime; const durationMs = Date.now() - startTime;
this._logApiResponse( this._logApiResponse(
@ -131,6 +150,20 @@ export class LoggingContentGenerator implements ContentGenerator {
const startTime = Date.now(); const startTime = Date.now();
this.logApiRequest(toContents(req.contents), req.model, userPromptId); this.logApiRequest(toContents(req.contents), req.model, userPromptId);
const sessionId = this.config.getSessionId();
const fileName = `regex.${sessionId}.gemini-api-request.${this.requestCounter}.json`;
const filePath = path.join('/tmp', fileName);
const jsonPayload = JSON.stringify(req, null, 2);
fs.writeFileSync(filePath, jsonPayload);
this.requestCounter++;
exec(`regex --json ${filePath}`, (error: ExecException | null, stdout: string, stderr: string) => {
if (error) {
console.error(`exec error: ${error}`);
return;
}
console.log(`stdout: ${stdout}`);
console.error(`stderr: ${stderr}`);
});
let stream: AsyncGenerator<GenerateContentResponse>; let stream: AsyncGenerator<GenerateContentResponse>;
try { try {
stream = await this.wrapped.generateContentStream(req, userPromptId); stream = await this.wrapped.generateContentStream(req, userPromptId);

View File

@ -239,28 +239,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
object-assign@4.1.1 object-assign@4.1.1
(No repository found) (No repository found)
The MIT License (MIT) License text not found.
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
============================================================ ============================================================
vary@1.1.2 vary@1.1.2
@ -321,46 +300,19 @@ THE SOFTWARE.
path-key@3.1.1 path-key@3.1.1
(No repository found) (No repository found)
MIT License License text not found.
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
============================================================ ============================================================
shebang-command@2.0.0 shebang-command@2.0.0
(No repository found) (No repository found)
MIT License License text not found.
Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
============================================================ ============================================================
shebang-regex@3.0.0 shebang-regex@3.0.0
(No repository found) (No repository found)
MIT License License text not found.
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
============================================================ ============================================================
which@2.0.2 which@2.0.2
@ -694,28 +646,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ms@2.1.3 ms@2.1.3
(No repository found) (No repository found)
The MIT License (MIT) License text not found.
Copyright (c) 2020 Vercel, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
============================================================ ============================================================
http-errors@2.0.0 http-errors@2.0.0
@ -1905,18 +1836,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
merge-descriptors@2.0.0 merge-descriptors@2.0.0
(No repository found) (No repository found)
MIT License License text not found.
Copyright (c) Jonathan Ong <me@jongleberry.com>
Copyright (c) Douglas Christopher Wilson <doug@somethingdoug.com>
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
============================================================ ============================================================
once@1.4.0 once@1.4.0
@ -2214,27 +2134,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
express-rate-limit@7.5.1 express-rate-limit@7.5.1
(git+https://github.com/express-rate-limit/express-rate-limit.git) (git+https://github.com/express-rate-limit/express-rate-limit.git)
# MIT License License text not found.
Copyright 2023 Nathan Friedly, Vedant K
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
============================================================ ============================================================
pkce-challenge@5.0.0 pkce-challenge@5.0.0