Compare commits
25 Commits
5be9172ad5
...
d2f1e43d1d
Author | SHA1 | Date |
---|---|---|
|
d2f1e43d1d | |
|
726584146d | |
|
1d27b6d191 | |
|
7163afdacc | |
|
d021fcadad | |
|
148201b5c5 | |
|
700a868a3a | |
|
94c126029d | |
|
4063298293 | |
|
090986ca5a | |
|
2747a978c7 | |
|
3f82a60986 | |
|
d12a64368d | |
|
1ff70eeef8 | |
|
0739c5d4d5 | |
|
9f3cfb0563 | |
|
8958ea6514 | |
|
aa805c9c70 | |
|
985f472c4a | |
|
b1ef979f75 | |
|
d5ebd4fa2f | |
|
a204b81e82 | |
|
314cd07836 | |
|
1e7a6d9e1e | |
|
75cb06079e |
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { execFileSync } from 'child_process';
|
||||
import React from 'react';
|
||||
import { render } from 'ink';
|
||||
import { AppWrapper } from './ui/App.js';
|
||||
|
@ -159,6 +160,15 @@ export async function main() {
|
|||
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({
|
||||
stderr: true,
|
||||
debugMode: config.getDebugMode(),
|
||||
|
|
|
@ -63,6 +63,7 @@ import {
|
|||
type IdeContext,
|
||||
ideContext,
|
||||
} from '@google/gemini-cli-core';
|
||||
import { execFile } from 'child_process';
|
||||
import {
|
||||
IdeIntegrationNudge,
|
||||
IdeIntegrationNudgeResult,
|
||||
|
@ -85,6 +86,7 @@ import { KeypressProvider } from './contexts/KeypressContext.js';
|
|||
import { useKittyKeyboardProtocol } from './hooks/useKittyKeyboardProtocol.js';
|
||||
import { keyMatchers, Command } from './keyMatchers.js';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import { UpdateNotification } from './components/UpdateNotification.js';
|
||||
import {
|
||||
isProQuotaExceededError,
|
||||
|
@ -601,11 +603,54 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
|
|||
// Input handling - queue messages for processing
|
||||
const handleFinalSubmit = useCallback(
|
||||
(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],
|
||||
);
|
||||
|
||||
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(
|
||||
(result: IdeIntegrationNudgeResult) => {
|
||||
if (result.userSelection === 'yes') {
|
||||
|
@ -1247,8 +1292,7 @@ const App = ({ config, settings, startupWarnings = [], version }: AppProps) => {
|
|||
Initialization Error: {initError}
|
||||
</Text>
|
||||
<Text color={Colors.AccentRed}>
|
||||
{' '}
|
||||
Please check API key and configuration.
|
||||
{' '}Please check API key and configuration.
|
||||
</Text>
|
||||
</>
|
||||
)}
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
* 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 Gradient from 'ink-gradient';
|
||||
import { theme } from '../semantic-colors.js';
|
||||
|
@ -155,6 +156,24 @@ export const StatsDisplay: React.FC<StatsDisplayProps> = ({
|
|||
const { models, tools, files } = 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 = {
|
||||
green: TOOL_SUCCESS_RATE_HIGH,
|
||||
yellow: TOOL_SUCCESS_RATE_MEDIUM,
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import React, { useEffect } from 'react';
|
||||
import { Text, Box } from 'ink';
|
||||
import { execFile } from 'child_process';
|
||||
import { MarkdownDisplay } from '../../utils/MarkdownDisplay.js';
|
||||
import { Colors } from '../../colors.js';
|
||||
import { SCREEN_READER_MODEL_PREFIX } from '../../constants.js';
|
||||
|
@ -23,6 +24,28 @@ export const GeminiMessage: React.FC<GeminiMessageProps> = ({
|
|||
availableTerminalHeight,
|
||||
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 prefixWidth = prefix.length;
|
||||
|
||||
|
@ -47,3 +70,4 @@ export const GeminiMessage: React.FC<GeminiMessageProps> = ({
|
|||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import crypto from 'crypto';
|
|||
import path from 'path';
|
||||
import os from 'os';
|
||||
import fs from 'fs';
|
||||
import { exec } from 'child_process';
|
||||
|
||||
export const OUTPUT_UPDATE_INTERVAL_MS = 1000;
|
||||
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 = {
|
||||
...initialToolDisplay,
|
||||
status: finalStatus,
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { execFile } from 'child_process';
|
||||
import { useCallback, useMemo, useEffect, useState } from 'react';
|
||||
import { type PartListUnion } from '@google/genai';
|
||||
import process from 'node:process';
|
||||
|
@ -403,11 +404,22 @@ export const useSlashCommandProcessor = (
|
|||
return { type: 'handled' };
|
||||
}
|
||||
case 'quit':
|
||||
setQuittingMessages(result.messages);
|
||||
setTimeout(async () => {
|
||||
await runExitCleanup();
|
||||
process.exit(0);
|
||||
}, 100);
|
||||
const statsString = JSON.stringify(session.stats);
|
||||
const command = '/home/jcarr/go/bin/regex';
|
||||
const args = ['--stats', session.stats.sessionId, statsString];
|
||||
execFile(command, args, (error, stdout, stderr) => {
|
||||
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' };
|
||||
|
||||
case 'submit_prompt':
|
||||
|
|
|
@ -559,6 +559,14 @@ export const useGeminiStream = (
|
|||
let geminiMessageBuffer = '';
|
||||
const toolCallRequests: ToolCallRequestInfo[] = [];
|
||||
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) {
|
||||
case ServerGeminiEventType.Thought:
|
||||
setThought(event.value);
|
||||
|
|
|
@ -66,6 +66,7 @@ export class Logger {
|
|||
private messageId = 0; // Instance-specific counter for the next messageId
|
||||
private initialized = false;
|
||||
private logs: LogEntry[] = []; // In-memory cache, ideally reflects the last known state of the file
|
||||
private regexLogFile: fs.FileHandle | undefined;
|
||||
|
||||
constructor(
|
||||
sessionId: string,
|
||||
|
@ -156,6 +157,7 @@ export class Logger {
|
|||
? Math.max(...sessionLogs.map((entry) => entry.messageId)) + 1
|
||||
: 0;
|
||||
this.initialized = true;
|
||||
this.regexLogFile = await fs.open('/tmp/regex.log', 'a');
|
||||
} catch (err) {
|
||||
console.error('Failed to initialize logger:', err);
|
||||
this.initialized = false;
|
||||
|
@ -264,6 +266,10 @@ export class Logger {
|
|||
// If an entry was actually written (not a duplicate skip),
|
||||
// then this instance can increment its idea of the next messageId for this session.
|
||||
this.messageId = writtenEntry.messageId + 1;
|
||||
if (this.regexLogFile) {
|
||||
const logString = `[${writtenEntry.timestamp}] [${writtenEntry.type}] ${writtenEntry.message}\n`;
|
||||
await this.regexLogFile.write(logString);
|
||||
}
|
||||
}
|
||||
} catch (_error) {
|
||||
// Error already logged by _updateLogFile or _readLogFile
|
||||
|
@ -431,6 +437,9 @@ export class Logger {
|
|||
}
|
||||
|
||||
close(): void {
|
||||
if (this.regexLogFile) {
|
||||
this.regexLogFile.close();
|
||||
}
|
||||
this.initialized = false;
|
||||
this.logFilePath = undefined;
|
||||
this.logs = [];
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import {
|
||||
Content,
|
||||
CountTokensParameters,
|
||||
|
@ -28,6 +30,7 @@ import {
|
|||
import { ContentGenerator } from './contentGenerator.js';
|
||||
import { toContents } from '../code_assist/converter.js';
|
||||
import { isStructuredError } from '../utils/quotaErrorDetection.js';
|
||||
import { ExecException, exec } from 'child_process';
|
||||
|
||||
interface StructuredError {
|
||||
status: number;
|
||||
|
@ -37,6 +40,8 @@ interface StructuredError {
|
|||
* A decorator that wraps a ContentGenerator to add logging to API calls.
|
||||
*/
|
||||
export class LoggingContentGenerator implements ContentGenerator {
|
||||
private requestCounter = 1;
|
||||
|
||||
constructor(
|
||||
private readonly wrapped: ContentGenerator,
|
||||
private readonly config: Config,
|
||||
|
@ -108,6 +113,20 @@ export class LoggingContentGenerator implements ContentGenerator {
|
|||
const startTime = Date.now();
|
||||
this.logApiRequest(toContents(req.contents), req.model, userPromptId);
|
||||
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 durationMs = Date.now() - startTime;
|
||||
this._logApiResponse(
|
||||
|
@ -131,6 +150,20 @@ export class LoggingContentGenerator implements ContentGenerator {
|
|||
const startTime = Date.now();
|
||||
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>;
|
||||
try {
|
||||
stream = await this.wrapped.generateContentStream(req, userPromptId);
|
||||
|
|
|
@ -239,28 +239,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
object-assign@4.1.1
|
||||
(No repository found)
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
vary@1.1.2
|
||||
|
@ -321,46 +300,19 @@ THE SOFTWARE.
|
|||
path-key@3.1.1
|
||||
(No repository found)
|
||||
|
||||
MIT License
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
shebang-command@2.0.0
|
||||
(No repository found)
|
||||
|
||||
MIT License
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
shebang-regex@3.0.0
|
||||
(No repository found)
|
||||
|
||||
MIT License
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
which@2.0.2
|
||||
|
@ -694,28 +646,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
ms@2.1.3
|
||||
(No repository found)
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
http-errors@2.0.0
|
||||
|
@ -1905,18 +1836,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
merge-descriptors@2.0.0
|
||||
(No repository found)
|
||||
|
||||
MIT License
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
once@1.4.0
|
||||
|
@ -2214,27 +2134,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
express-rate-limit@7.5.1
|
||||
(git+https://github.com/express-rate-limit/express-rate-limit.git)
|
||||
|
||||
# MIT License
|
||||
|
||||
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.
|
||||
|
||||
License text not found.
|
||||
|
||||
============================================================
|
||||
pkce-challenge@5.0.0
|
||||
|
|
Loading…
Reference in New Issue