mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-03 21:40:53 +00:00
nhj
more
This commit is contained in:
21
unified-ai-platform/node_modules/triple-beam/LICENSE
generated
vendored
Normal file
21
unified-ai-platform/node_modules/triple-beam/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 winstonjs
|
||||
|
||||
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.
|
||||
42
unified-ai-platform/node_modules/triple-beam/config/cli.js
generated
vendored
Normal file
42
unified-ai-platform/node_modules/triple-beam/config/cli.js
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* cli.js: Config that conform to commonly used CLI logging levels.
|
||||
*
|
||||
* (C) 2010 Charlie Robbins
|
||||
* MIT LICENCE
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Default levels for the CLI configuration.
|
||||
* @type {Object}
|
||||
*/
|
||||
exports.levels = {
|
||||
error: 0,
|
||||
warn: 1,
|
||||
help: 2,
|
||||
data: 3,
|
||||
info: 4,
|
||||
debug: 5,
|
||||
prompt: 6,
|
||||
verbose: 7,
|
||||
input: 8,
|
||||
silly: 9
|
||||
};
|
||||
|
||||
/**
|
||||
* Default colors for the CLI configuration.
|
||||
* @type {Object}
|
||||
*/
|
||||
exports.colors = {
|
||||
error: 'red',
|
||||
warn: 'yellow',
|
||||
help: 'cyan',
|
||||
data: 'grey',
|
||||
info: 'green',
|
||||
debug: 'blue',
|
||||
prompt: 'grey',
|
||||
verbose: 'cyan',
|
||||
input: 'grey',
|
||||
silly: 'magenta'
|
||||
};
|
||||
32
unified-ai-platform/node_modules/triple-beam/config/index.js
generated
vendored
Normal file
32
unified-ai-platform/node_modules/triple-beam/config/index.js
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* index.js: Default settings for all levels that winston knows about.
|
||||
*
|
||||
* (C) 2010 Charlie Robbins
|
||||
* MIT LICENCE
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Export config set for the CLI.
|
||||
* @type {Object}
|
||||
*/
|
||||
Object.defineProperty(exports, 'cli', {
|
||||
value: require('./cli')
|
||||
});
|
||||
|
||||
/**
|
||||
* Export config set for npm.
|
||||
* @type {Object}
|
||||
*/
|
||||
Object.defineProperty(exports, 'npm', {
|
||||
value: require('./npm')
|
||||
});
|
||||
|
||||
/**
|
||||
* Export config set for the syslog.
|
||||
* @type {Object}
|
||||
*/
|
||||
Object.defineProperty(exports, 'syslog', {
|
||||
value: require('./syslog')
|
||||
});
|
||||
46
unified-ai-platform/node_modules/triple-beam/index.js
generated
vendored
Normal file
46
unified-ai-platform/node_modules/triple-beam/index.js
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* A shareable symbol constant that can be used
|
||||
* as a non-enumerable / semi-hidden level identifier
|
||||
* to allow the readable level property to be mutable for
|
||||
* operations like colorization
|
||||
*
|
||||
* @type {Symbol}
|
||||
*/
|
||||
Object.defineProperty(exports, 'LEVEL', {
|
||||
value: Symbol.for('level')
|
||||
});
|
||||
|
||||
/**
|
||||
* A shareable symbol constant that can be used
|
||||
* as a non-enumerable / semi-hidden message identifier
|
||||
* to allow the final message property to not have
|
||||
* side effects on another.
|
||||
*
|
||||
* @type {Symbol}
|
||||
*/
|
||||
Object.defineProperty(exports, 'MESSAGE', {
|
||||
value: Symbol.for('message')
|
||||
});
|
||||
|
||||
/**
|
||||
* A shareable symbol constant that can be used
|
||||
* as a non-enumerable / semi-hidden message identifier
|
||||
* to allow the extracted splat property be hidden
|
||||
*
|
||||
* @type {Symbol}
|
||||
*/
|
||||
Object.defineProperty(exports, 'SPLAT', {
|
||||
value: Symbol.for('splat')
|
||||
});
|
||||
|
||||
/**
|
||||
* A shareable object constant that can be used
|
||||
* as a standard configuration for winston@3.
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
Object.defineProperty(exports, 'configs', {
|
||||
value: require('./config')
|
||||
});
|
||||
Reference in New Issue
Block a user