Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering: - Project activation and management UI (#1-2) - Worker node coordination and visualization (#3-4) - Automated GitHub repository scanning (#5) - Intelligent model-to-issue matching (#6) - Multi-model task execution system (#7) - N8N workflow integration (#8) - Hive-Bzzz P2P bridge (#9) - Peer assistance protocol (#10) Each issue includes detailed specifications, acceptance criteria, technical implementation notes, and dependency mapping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
		
							
								
								
									
										17
									
								
								mcp-server/node_modules/yaml/dist/schema/Schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								mcp-server/node_modules/yaml/dist/schema/Schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| import { MAP, SCALAR, SEQ } from '../nodes/identity'; | ||||
| import type { Pair } from '../nodes/Pair'; | ||||
| import type { SchemaOptions, ToStringOptions } from '../options'; | ||||
| import type { CollectionTag, ScalarTag } from './types'; | ||||
| export declare class Schema { | ||||
|     compat: Array<CollectionTag | ScalarTag> | null; | ||||
|     knownTags: Record<string, CollectionTag | ScalarTag>; | ||||
|     name: string; | ||||
|     sortMapEntries: ((a: Pair, b: Pair) => number) | null; | ||||
|     tags: Array<CollectionTag | ScalarTag>; | ||||
|     toStringOptions: Readonly<ToStringOptions> | null; | ||||
|     readonly [MAP]: CollectionTag; | ||||
|     readonly [SCALAR]: ScalarTag; | ||||
|     readonly [SEQ]: CollectionTag; | ||||
|     constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }: SchemaOptions); | ||||
|     clone(): Schema; | ||||
| } | ||||
							
								
								
									
										39
									
								
								mcp-server/node_modules/yaml/dist/schema/Schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								mcp-server/node_modules/yaml/dist/schema/Schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../nodes/identity.js'); | ||||
| var map = require('./common/map.js'); | ||||
| var seq = require('./common/seq.js'); | ||||
| var string = require('./common/string.js'); | ||||
| var tags = require('./tags.js'); | ||||
|  | ||||
| const sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0; | ||||
| class Schema { | ||||
|     constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) { | ||||
|         this.compat = Array.isArray(compat) | ||||
|             ? tags.getTags(compat, 'compat') | ||||
|             : compat | ||||
|                 ? tags.getTags(null, compat) | ||||
|                 : null; | ||||
|         this.name = (typeof schema === 'string' && schema) || 'core'; | ||||
|         this.knownTags = resolveKnownTags ? tags.coreKnownTags : {}; | ||||
|         this.tags = tags.getTags(customTags, this.name, merge); | ||||
|         this.toStringOptions = toStringDefaults ?? null; | ||||
|         Object.defineProperty(this, identity.MAP, { value: map.map }); | ||||
|         Object.defineProperty(this, identity.SCALAR, { value: string.string }); | ||||
|         Object.defineProperty(this, identity.SEQ, { value: seq.seq }); | ||||
|         // Used by createMap() | ||||
|         this.sortMapEntries = | ||||
|             typeof sortMapEntries === 'function' | ||||
|                 ? sortMapEntries | ||||
|                 : sortMapEntries === true | ||||
|                     ? sortMapEntriesByKey | ||||
|                     : null; | ||||
|     } | ||||
|     clone() { | ||||
|         const copy = Object.create(Schema.prototype, Object.getOwnPropertyDescriptors(this)); | ||||
|         copy.tags = this.tags.slice(); | ||||
|         return copy; | ||||
|     } | ||||
| } | ||||
|  | ||||
| exports.Schema = Schema; | ||||
							
								
								
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/common/map.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/common/map.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| import type { CollectionTag } from '../types'; | ||||
| export declare const map: CollectionTag; | ||||
							
								
								
									
										19
									
								
								mcp-server/node_modules/yaml/dist/schema/common/map.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								mcp-server/node_modules/yaml/dist/schema/common/map.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../../nodes/identity.js'); | ||||
| var YAMLMap = require('../../nodes/YAMLMap.js'); | ||||
|  | ||||
| const map = { | ||||
|     collection: 'map', | ||||
|     default: true, | ||||
|     nodeClass: YAMLMap.YAMLMap, | ||||
|     tag: 'tag:yaml.org,2002:map', | ||||
|     resolve(map, onError) { | ||||
|         if (!identity.isMap(map)) | ||||
|             onError('Expected a mapping for this tag'); | ||||
|         return map; | ||||
|     }, | ||||
|     createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx) | ||||
| }; | ||||
|  | ||||
| exports.map = map; | ||||
							
								
								
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/common/null.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/common/null.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const nullTag: ScalarTag & { | ||||
|     test: RegExp; | ||||
| }; | ||||
							
								
								
									
										17
									
								
								mcp-server/node_modules/yaml/dist/schema/common/null.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								mcp-server/node_modules/yaml/dist/schema/common/null.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
|  | ||||
| const nullTag = { | ||||
|     identify: value => value == null, | ||||
|     createNode: () => new Scalar.Scalar(null), | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:null', | ||||
|     test: /^(?:~|[Nn]ull|NULL)?$/, | ||||
|     resolve: () => new Scalar.Scalar(null), | ||||
|     stringify: ({ source }, ctx) => typeof source === 'string' && nullTag.test.test(source) | ||||
|         ? source | ||||
|         : ctx.options.nullStr | ||||
| }; | ||||
|  | ||||
| exports.nullTag = nullTag; | ||||
							
								
								
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/common/seq.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/common/seq.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| import type { CollectionTag } from '../types'; | ||||
| export declare const seq: CollectionTag; | ||||
							
								
								
									
										19
									
								
								mcp-server/node_modules/yaml/dist/schema/common/seq.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								mcp-server/node_modules/yaml/dist/schema/common/seq.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../../nodes/identity.js'); | ||||
| var YAMLSeq = require('../../nodes/YAMLSeq.js'); | ||||
|  | ||||
| const seq = { | ||||
|     collection: 'seq', | ||||
|     default: true, | ||||
|     nodeClass: YAMLSeq.YAMLSeq, | ||||
|     tag: 'tag:yaml.org,2002:seq', | ||||
|     resolve(seq, onError) { | ||||
|         if (!identity.isSeq(seq)) | ||||
|             onError('Expected a sequence for this tag'); | ||||
|         return seq; | ||||
|     }, | ||||
|     createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx) | ||||
| }; | ||||
|  | ||||
| exports.seq = seq; | ||||
							
								
								
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/common/string.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/common/string.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const string: ScalarTag; | ||||
							
								
								
									
										16
									
								
								mcp-server/node_modules/yaml/dist/schema/common/string.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								mcp-server/node_modules/yaml/dist/schema/common/string.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var stringifyString = require('../../stringify/stringifyString.js'); | ||||
|  | ||||
| const string = { | ||||
|     identify: value => typeof value === 'string', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:str', | ||||
|     resolve: str => str, | ||||
|     stringify(item, ctx, onComment, onChompKeep) { | ||||
|         ctx = Object.assign({ actualString: true }, ctx); | ||||
|         return stringifyString.stringifyString(item, ctx, onComment, onChompKeep); | ||||
|     } | ||||
| }; | ||||
|  | ||||
| exports.string = string; | ||||
							
								
								
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/core/bool.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/core/bool.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const boolTag: ScalarTag & { | ||||
|     test: RegExp; | ||||
| }; | ||||
							
								
								
									
										21
									
								
								mcp-server/node_modules/yaml/dist/schema/core/bool.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								mcp-server/node_modules/yaml/dist/schema/core/bool.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
|  | ||||
| const boolTag = { | ||||
|     identify: value => typeof value === 'boolean', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:bool', | ||||
|     test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, | ||||
|     resolve: str => new Scalar.Scalar(str[0] === 't' || str[0] === 'T'), | ||||
|     stringify({ source, value }, ctx) { | ||||
|         if (source && boolTag.test.test(source)) { | ||||
|             const sv = source[0] === 't' || source[0] === 'T'; | ||||
|             if (value === sv) | ||||
|                 return source; | ||||
|         } | ||||
|         return value ? ctx.options.trueStr : ctx.options.falseStr; | ||||
|     } | ||||
| }; | ||||
|  | ||||
| exports.boolTag = boolTag; | ||||
							
								
								
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/core/float.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/core/float.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const floatNaN: ScalarTag; | ||||
| export declare const floatExp: ScalarTag; | ||||
| export declare const float: ScalarTag; | ||||
							
								
								
									
										47
									
								
								mcp-server/node_modules/yaml/dist/schema/core/float.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								mcp-server/node_modules/yaml/dist/schema/core/float.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
| var stringifyNumber = require('../../stringify/stringifyNumber.js'); | ||||
|  | ||||
| const floatNaN = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/, | ||||
|     resolve: str => str.slice(-3).toLowerCase() === 'nan' | ||||
|         ? NaN | ||||
|         : str[0] === '-' | ||||
|             ? Number.NEGATIVE_INFINITY | ||||
|             : Number.POSITIVE_INFINITY, | ||||
|     stringify: stringifyNumber.stringifyNumber | ||||
| }; | ||||
| const floatExp = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     format: 'EXP', | ||||
|     test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/, | ||||
|     resolve: str => parseFloat(str), | ||||
|     stringify(node) { | ||||
|         const num = Number(node.value); | ||||
|         return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node); | ||||
|     } | ||||
| }; | ||||
| const float = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/, | ||||
|     resolve(str) { | ||||
|         const node = new Scalar.Scalar(parseFloat(str)); | ||||
|         const dot = str.indexOf('.'); | ||||
|         if (dot !== -1 && str[str.length - 1] === '0') | ||||
|             node.minFractionDigits = str.length - dot - 1; | ||||
|         return node; | ||||
|     }, | ||||
|     stringify: stringifyNumber.stringifyNumber | ||||
| }; | ||||
|  | ||||
| exports.float = float; | ||||
| exports.floatExp = floatExp; | ||||
| exports.floatNaN = floatNaN; | ||||
							
								
								
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/core/int.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/core/int.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const intOct: ScalarTag; | ||||
| export declare const int: ScalarTag; | ||||
| export declare const intHex: ScalarTag; | ||||
							
								
								
									
										42
									
								
								mcp-server/node_modules/yaml/dist/schema/core/int.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								mcp-server/node_modules/yaml/dist/schema/core/int.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var stringifyNumber = require('../../stringify/stringifyNumber.js'); | ||||
|  | ||||
| const intIdentify = (value) => typeof value === 'bigint' || Number.isInteger(value); | ||||
| const intResolve = (str, offset, radix, { intAsBigInt }) => (intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix)); | ||||
| function intStringify(node, radix, prefix) { | ||||
|     const { value } = node; | ||||
|     if (intIdentify(value) && value >= 0) | ||||
|         return prefix + value.toString(radix); | ||||
|     return stringifyNumber.stringifyNumber(node); | ||||
| } | ||||
| const intOct = { | ||||
|     identify: value => intIdentify(value) && value >= 0, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     format: 'OCT', | ||||
|     test: /^0o[0-7]+$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 2, 8, opt), | ||||
|     stringify: node => intStringify(node, 8, '0o') | ||||
| }; | ||||
| const int = { | ||||
|     identify: intIdentify, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     test: /^[-+]?[0-9]+$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt), | ||||
|     stringify: stringifyNumber.stringifyNumber | ||||
| }; | ||||
| const intHex = { | ||||
|     identify: value => intIdentify(value) && value >= 0, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     format: 'HEX', | ||||
|     test: /^0x[0-9a-fA-F]+$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt), | ||||
|     stringify: node => intStringify(node, 16, '0x') | ||||
| }; | ||||
|  | ||||
| exports.int = int; | ||||
| exports.intHex = intHex; | ||||
| exports.intOct = intOct; | ||||
							
								
								
									
										1
									
								
								mcp-server/node_modules/yaml/dist/schema/core/schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								mcp-server/node_modules/yaml/dist/schema/core/schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; | ||||
							
								
								
									
										25
									
								
								mcp-server/node_modules/yaml/dist/schema/core/schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								mcp-server/node_modules/yaml/dist/schema/core/schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var map = require('../common/map.js'); | ||||
| var _null = require('../common/null.js'); | ||||
| var seq = require('../common/seq.js'); | ||||
| var string = require('../common/string.js'); | ||||
| var bool = require('./bool.js'); | ||||
| var float = require('./float.js'); | ||||
| var int = require('./int.js'); | ||||
|  | ||||
| const schema = [ | ||||
|     map.map, | ||||
|     seq.seq, | ||||
|     string.string, | ||||
|     _null.nullTag, | ||||
|     bool.boolTag, | ||||
|     int.intOct, | ||||
|     int.int, | ||||
|     int.intHex, | ||||
|     float.floatNaN, | ||||
|     float.floatExp, | ||||
|     float.float | ||||
| ]; | ||||
|  | ||||
| exports.schema = schema; | ||||
							
								
								
									
										69
									
								
								mcp-server/node_modules/yaml/dist/schema/json-schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								mcp-server/node_modules/yaml/dist/schema/json-schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,69 @@ | ||||
| type JsonSchema = boolean | ArraySchema | ObjectSchema | NumberSchema | StringSchema; | ||||
| type JsonType = 'array' | 'object' | 'string' | 'number' | 'integer' | 'boolean' | 'null'; | ||||
| interface CommonSchema { | ||||
|     type?: JsonType | JsonType[]; | ||||
|     const?: unknown; | ||||
|     enum?: unknown[]; | ||||
|     format?: string; | ||||
|     allOf?: JsonSchema[]; | ||||
|     anyOf?: JsonSchema[]; | ||||
|     oneOf?: JsonSchema[]; | ||||
|     not?: JsonSchema; | ||||
|     if?: JsonSchema; | ||||
|     then?: JsonSchema; | ||||
|     else?: JsonSchema; | ||||
|     $id?: string; | ||||
|     $defs?: Record<string, JsonSchema>; | ||||
|     $anchor?: string; | ||||
|     $dynamicAnchor?: string; | ||||
|     $ref?: string; | ||||
|     $dynamicRef?: string; | ||||
|     $schema?: string; | ||||
|     $vocabulary?: Record<string, boolean>; | ||||
|     $comment?: string; | ||||
|     default?: unknown; | ||||
|     deprecated?: boolean; | ||||
|     readOnly?: boolean; | ||||
|     writeOnly?: boolean; | ||||
|     title?: string; | ||||
|     description?: string; | ||||
|     examples?: unknown[]; | ||||
| } | ||||
| interface ArraySchema extends CommonSchema { | ||||
|     prefixItems?: JsonSchema[]; | ||||
|     items?: JsonSchema; | ||||
|     contains?: JsonSchema; | ||||
|     unevaluatedItems?: JsonSchema; | ||||
|     maxItems?: number; | ||||
|     minItems?: number; | ||||
|     uniqueItems?: boolean; | ||||
|     maxContains?: number; | ||||
|     minContains?: number; | ||||
| } | ||||
| interface ObjectSchema extends CommonSchema { | ||||
|     properties?: Record<string, JsonSchema>; | ||||
|     patternProperties?: Record<string, JsonSchema>; | ||||
|     additionalProperties?: JsonSchema; | ||||
|     propertyNames?: JsonSchema; | ||||
|     unevaluatedProperties?: JsonSchema; | ||||
|     maxProperties?: number; | ||||
|     minProperties?: number; | ||||
|     required?: string[]; | ||||
|     dependentRequired?: Record<string, string[]>; | ||||
|     dependentSchemas?: Record<string, JsonSchema>; | ||||
| } | ||||
| interface StringSchema extends CommonSchema { | ||||
|     maxLength?: number; | ||||
|     minLength?: number; | ||||
|     patter?: string; | ||||
|     contentEncoding?: string; | ||||
|     contentMediaType?: string; | ||||
|     contentSchema?: JsonSchema; | ||||
| } | ||||
| interface NumberSchema extends CommonSchema { | ||||
|     multipleOf?: number; | ||||
|     maximum?: number; | ||||
|     exclusiveMaximum?: number; | ||||
|     minimum?: number; | ||||
|     exclusiveMinimum?: number; | ||||
| } | ||||
							
								
								
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/json/schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/json/schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| import type { CollectionTag, ScalarTag } from '../types'; | ||||
| export declare const schema: (CollectionTag | ScalarTag)[]; | ||||
							
								
								
									
										64
									
								
								mcp-server/node_modules/yaml/dist/schema/json/schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								mcp-server/node_modules/yaml/dist/schema/json/schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,64 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
| var map = require('../common/map.js'); | ||||
| var seq = require('../common/seq.js'); | ||||
|  | ||||
| function intIdentify(value) { | ||||
|     return typeof value === 'bigint' || Number.isInteger(value); | ||||
| } | ||||
| const stringifyJSON = ({ value }) => JSON.stringify(value); | ||||
| const jsonScalars = [ | ||||
|     { | ||||
|         identify: value => typeof value === 'string', | ||||
|         default: true, | ||||
|         tag: 'tag:yaml.org,2002:str', | ||||
|         resolve: str => str, | ||||
|         stringify: stringifyJSON | ||||
|     }, | ||||
|     { | ||||
|         identify: value => value == null, | ||||
|         createNode: () => new Scalar.Scalar(null), | ||||
|         default: true, | ||||
|         tag: 'tag:yaml.org,2002:null', | ||||
|         test: /^null$/, | ||||
|         resolve: () => null, | ||||
|         stringify: stringifyJSON | ||||
|     }, | ||||
|     { | ||||
|         identify: value => typeof value === 'boolean', | ||||
|         default: true, | ||||
|         tag: 'tag:yaml.org,2002:bool', | ||||
|         test: /^true$|^false$/, | ||||
|         resolve: str => str === 'true', | ||||
|         stringify: stringifyJSON | ||||
|     }, | ||||
|     { | ||||
|         identify: intIdentify, | ||||
|         default: true, | ||||
|         tag: 'tag:yaml.org,2002:int', | ||||
|         test: /^-?(?:0|[1-9][0-9]*)$/, | ||||
|         resolve: (str, _onError, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str, 10), | ||||
|         stringify: ({ value }) => intIdentify(value) ? value.toString() : JSON.stringify(value) | ||||
|     }, | ||||
|     { | ||||
|         identify: value => typeof value === 'number', | ||||
|         default: true, | ||||
|         tag: 'tag:yaml.org,2002:float', | ||||
|         test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/, | ||||
|         resolve: str => parseFloat(str), | ||||
|         stringify: stringifyJSON | ||||
|     } | ||||
| ]; | ||||
| const jsonError = { | ||||
|     default: true, | ||||
|     tag: '', | ||||
|     test: /^/, | ||||
|     resolve(str, onError) { | ||||
|         onError(`Unresolved plain scalar ${JSON.stringify(str)}`); | ||||
|         return str; | ||||
|     } | ||||
| }; | ||||
| const schema = [map.map, seq.seq].concat(jsonScalars, jsonError); | ||||
|  | ||||
| exports.schema = schema; | ||||
							
								
								
									
										48
									
								
								mcp-server/node_modules/yaml/dist/schema/tags.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								mcp-server/node_modules/yaml/dist/schema/tags.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| import type { SchemaOptions } from '../options'; | ||||
| import type { CollectionTag, ScalarTag } from './types'; | ||||
| declare const tagsByName: { | ||||
|     binary: ScalarTag; | ||||
|     bool: ScalarTag & { | ||||
|         test: RegExp; | ||||
|     }; | ||||
|     float: ScalarTag; | ||||
|     floatExp: ScalarTag; | ||||
|     floatNaN: ScalarTag; | ||||
|     floatTime: ScalarTag; | ||||
|     int: ScalarTag; | ||||
|     intHex: ScalarTag; | ||||
|     intOct: ScalarTag; | ||||
|     intTime: ScalarTag; | ||||
|     map: CollectionTag; | ||||
|     merge: ScalarTag & { | ||||
|         identify(value: unknown): boolean; | ||||
|         test: RegExp; | ||||
|     }; | ||||
|     null: ScalarTag & { | ||||
|         test: RegExp; | ||||
|     }; | ||||
|     omap: CollectionTag; | ||||
|     pairs: CollectionTag; | ||||
|     seq: CollectionTag; | ||||
|     set: CollectionTag; | ||||
|     timestamp: ScalarTag & { | ||||
|         test: RegExp; | ||||
|     }; | ||||
| }; | ||||
| export type TagId = keyof typeof tagsByName; | ||||
| export type Tags = Array<ScalarTag | CollectionTag | TagId>; | ||||
| export declare const coreKnownTags: { | ||||
|     'tag:yaml.org,2002:binary': ScalarTag; | ||||
|     'tag:yaml.org,2002:merge': ScalarTag & { | ||||
|         identify(value: unknown): boolean; | ||||
|         test: RegExp; | ||||
|     }; | ||||
|     'tag:yaml.org,2002:omap': CollectionTag; | ||||
|     'tag:yaml.org,2002:pairs': CollectionTag; | ||||
|     'tag:yaml.org,2002:set': CollectionTag; | ||||
|     'tag:yaml.org,2002:timestamp': ScalarTag & { | ||||
|         test: RegExp; | ||||
|     }; | ||||
| }; | ||||
| export declare function getTags(customTags: SchemaOptions['customTags'] | undefined, schemaName: string, addMergeTag?: boolean): (CollectionTag | ScalarTag)[]; | ||||
| export {}; | ||||
							
								
								
									
										99
									
								
								mcp-server/node_modules/yaml/dist/schema/tags.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										99
									
								
								mcp-server/node_modules/yaml/dist/schema/tags.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,99 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var map = require('./common/map.js'); | ||||
| var _null = require('./common/null.js'); | ||||
| var seq = require('./common/seq.js'); | ||||
| var string = require('./common/string.js'); | ||||
| var bool = require('./core/bool.js'); | ||||
| var float = require('./core/float.js'); | ||||
| var int = require('./core/int.js'); | ||||
| var schema = require('./core/schema.js'); | ||||
| var schema$1 = require('./json/schema.js'); | ||||
| var binary = require('./yaml-1.1/binary.js'); | ||||
| var merge = require('./yaml-1.1/merge.js'); | ||||
| var omap = require('./yaml-1.1/omap.js'); | ||||
| var pairs = require('./yaml-1.1/pairs.js'); | ||||
| var schema$2 = require('./yaml-1.1/schema.js'); | ||||
| var set = require('./yaml-1.1/set.js'); | ||||
| var timestamp = require('./yaml-1.1/timestamp.js'); | ||||
|  | ||||
| const schemas = new Map([ | ||||
|     ['core', schema.schema], | ||||
|     ['failsafe', [map.map, seq.seq, string.string]], | ||||
|     ['json', schema$1.schema], | ||||
|     ['yaml11', schema$2.schema], | ||||
|     ['yaml-1.1', schema$2.schema] | ||||
| ]); | ||||
| const tagsByName = { | ||||
|     binary: binary.binary, | ||||
|     bool: bool.boolTag, | ||||
|     float: float.float, | ||||
|     floatExp: float.floatExp, | ||||
|     floatNaN: float.floatNaN, | ||||
|     floatTime: timestamp.floatTime, | ||||
|     int: int.int, | ||||
|     intHex: int.intHex, | ||||
|     intOct: int.intOct, | ||||
|     intTime: timestamp.intTime, | ||||
|     map: map.map, | ||||
|     merge: merge.merge, | ||||
|     null: _null.nullTag, | ||||
|     omap: omap.omap, | ||||
|     pairs: pairs.pairs, | ||||
|     seq: seq.seq, | ||||
|     set: set.set, | ||||
|     timestamp: timestamp.timestamp | ||||
| }; | ||||
| const coreKnownTags = { | ||||
|     'tag:yaml.org,2002:binary': binary.binary, | ||||
|     'tag:yaml.org,2002:merge': merge.merge, | ||||
|     'tag:yaml.org,2002:omap': omap.omap, | ||||
|     'tag:yaml.org,2002:pairs': pairs.pairs, | ||||
|     'tag:yaml.org,2002:set': set.set, | ||||
|     'tag:yaml.org,2002:timestamp': timestamp.timestamp | ||||
| }; | ||||
| function getTags(customTags, schemaName, addMergeTag) { | ||||
|     const schemaTags = schemas.get(schemaName); | ||||
|     if (schemaTags && !customTags) { | ||||
|         return addMergeTag && !schemaTags.includes(merge.merge) | ||||
|             ? schemaTags.concat(merge.merge) | ||||
|             : schemaTags.slice(); | ||||
|     } | ||||
|     let tags = schemaTags; | ||||
|     if (!tags) { | ||||
|         if (Array.isArray(customTags)) | ||||
|             tags = []; | ||||
|         else { | ||||
|             const keys = Array.from(schemas.keys()) | ||||
|                 .filter(key => key !== 'yaml11') | ||||
|                 .map(key => JSON.stringify(key)) | ||||
|                 .join(', '); | ||||
|             throw new Error(`Unknown schema "${schemaName}"; use one of ${keys} or define customTags array`); | ||||
|         } | ||||
|     } | ||||
|     if (Array.isArray(customTags)) { | ||||
|         for (const tag of customTags) | ||||
|             tags = tags.concat(tag); | ||||
|     } | ||||
|     else if (typeof customTags === 'function') { | ||||
|         tags = customTags(tags.slice()); | ||||
|     } | ||||
|     if (addMergeTag) | ||||
|         tags = tags.concat(merge.merge); | ||||
|     return tags.reduce((tags, tag) => { | ||||
|         const tagObj = typeof tag === 'string' ? tagsByName[tag] : tag; | ||||
|         if (!tagObj) { | ||||
|             const tagName = JSON.stringify(tag); | ||||
|             const keys = Object.keys(tagsByName) | ||||
|                 .map(key => JSON.stringify(key)) | ||||
|                 .join(', '); | ||||
|             throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`); | ||||
|         } | ||||
|         if (!tags.includes(tagObj)) | ||||
|             tags.push(tagObj); | ||||
|         return tags; | ||||
|     }, []); | ||||
| } | ||||
|  | ||||
| exports.coreKnownTags = coreKnownTags; | ||||
| exports.getTags = getTags; | ||||
							
								
								
									
										92
									
								
								mcp-server/node_modules/yaml/dist/schema/types.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										92
									
								
								mcp-server/node_modules/yaml/dist/schema/types.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,92 @@ | ||||
| import type { CreateNodeContext } from '../doc/createNode'; | ||||
| import type { Node } from '../nodes/Node'; | ||||
| import type { Scalar } from '../nodes/Scalar'; | ||||
| import type { YAMLMap } from '../nodes/YAMLMap'; | ||||
| import type { YAMLSeq } from '../nodes/YAMLSeq'; | ||||
| import type { ParseOptions } from '../options'; | ||||
| import type { StringifyContext } from '../stringify/stringify'; | ||||
| import type { Schema } from './Schema'; | ||||
| interface TagBase { | ||||
|     /** | ||||
|      * An optional factory function, used e.g. by collections when wrapping JS objects as AST nodes. | ||||
|      */ | ||||
|     createNode?: (schema: Schema, value: unknown, ctx: CreateNodeContext) => Node; | ||||
|     /** | ||||
|      * If `true`, allows for values to be stringified without | ||||
|      * an explicit tag together with `test`. | ||||
|      * If `'key'`, this only applies if the value is used as a mapping key. | ||||
|      * For most cases, it's unlikely that you'll actually want to use this, | ||||
|      * even if you first think you do. | ||||
|      */ | ||||
|     default?: boolean | 'key'; | ||||
|     /** | ||||
|      * If a tag has multiple forms that should be parsed and/or stringified | ||||
|      * differently, use `format` to identify them. | ||||
|      */ | ||||
|     format?: string; | ||||
|     /** | ||||
|      * Used by `YAML.createNode` to detect your data type, e.g. using `typeof` or | ||||
|      * `instanceof`. | ||||
|      */ | ||||
|     identify?: (value: unknown) => boolean; | ||||
|     /** | ||||
|      * The identifier for your data type, with which its stringified form will be | ||||
|      * prefixed. Should either be a !-prefixed local `!tag`, or a fully qualified | ||||
|      * `tag:domain,date:foo`. | ||||
|      */ | ||||
|     tag: string; | ||||
| } | ||||
| export interface ScalarTag extends TagBase { | ||||
|     collection?: never; | ||||
|     nodeClass?: never; | ||||
|     /** | ||||
|      * Turns a value into an AST node. | ||||
|      * If returning a non-`Node` value, the output will be wrapped as a `Scalar`. | ||||
|      */ | ||||
|     resolve(value: string, onError: (message: string) => void, options: ParseOptions): unknown; | ||||
|     /** | ||||
|      * Optional function stringifying a Scalar node. If your data includes a | ||||
|      * suitable `.toString()` method, you can probably leave this undefined and | ||||
|      * use the default stringifier. | ||||
|      * | ||||
|      * @param item The node being stringified. | ||||
|      * @param ctx Contains the stringifying context variables. | ||||
|      * @param onComment Callback to signal that the stringifier includes the | ||||
|      *   item's comment in its output. | ||||
|      * @param onChompKeep Callback to signal that the output uses a block scalar | ||||
|      *   type with the `+` chomping indicator. | ||||
|      */ | ||||
|     stringify?: (item: Scalar, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void) => string; | ||||
|     /** | ||||
|      * Together with `default` allows for values to be stringified without an | ||||
|      * explicit tag and detected using a regular expression. For most cases, it's | ||||
|      * unlikely that you'll actually want to use these, even if you first think | ||||
|      * you do. | ||||
|      */ | ||||
|     test?: RegExp; | ||||
| } | ||||
| export interface CollectionTag extends TagBase { | ||||
|     stringify?: never; | ||||
|     test?: never; | ||||
|     /** The source collection type supported by this tag. */ | ||||
|     collection: 'map' | 'seq'; | ||||
|     /** | ||||
|      * The `Node` child class that implements this tag. | ||||
|      * If set, used to select this tag when stringifying. | ||||
|      * | ||||
|      * If the class provides a static `from` method, then that | ||||
|      * will be used if the tag object doesn't have a `createNode` method. | ||||
|      */ | ||||
|     nodeClass?: { | ||||
|         new (schema?: Schema): Node; | ||||
|         from?: (schema: Schema, obj: unknown, ctx: CreateNodeContext) => Node; | ||||
|     }; | ||||
|     /** | ||||
|      * Turns a value into an AST node. | ||||
|      * If returning a non-`Node` value, the output will be wrapped as a `Scalar`. | ||||
|      * | ||||
|      * Note: this is required if nodeClass is not provided. | ||||
|      */ | ||||
|     resolve?: (value: YAMLMap.Parsed | YAMLSeq.Parsed, onError: (message: string) => void, options: ParseOptions) => unknown; | ||||
| } | ||||
| export {}; | ||||
							
								
								
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const binary: ScalarTag; | ||||
							
								
								
									
										70
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/binary.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/binary.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,70 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var node_buffer = require('buffer'); | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
| var stringifyString = require('../../stringify/stringifyString.js'); | ||||
|  | ||||
| const binary = { | ||||
|     identify: value => value instanceof Uint8Array, // Buffer inherits from Uint8Array | ||||
|     default: false, | ||||
|     tag: 'tag:yaml.org,2002:binary', | ||||
|     /** | ||||
|      * Returns a Buffer in node and an Uint8Array in browsers | ||||
|      * | ||||
|      * To use the resulting buffer as an image, you'll want to do something like: | ||||
|      * | ||||
|      *   const blob = new Blob([buffer], { type: 'image/jpeg' }) | ||||
|      *   document.querySelector('#photo').src = URL.createObjectURL(blob) | ||||
|      */ | ||||
|     resolve(src, onError) { | ||||
|         if (typeof node_buffer.Buffer === 'function') { | ||||
|             return node_buffer.Buffer.from(src, 'base64'); | ||||
|         } | ||||
|         else if (typeof atob === 'function') { | ||||
|             // On IE 11, atob() can't handle newlines | ||||
|             const str = atob(src.replace(/[\n\r]/g, '')); | ||||
|             const buffer = new Uint8Array(str.length); | ||||
|             for (let i = 0; i < str.length; ++i) | ||||
|                 buffer[i] = str.charCodeAt(i); | ||||
|             return buffer; | ||||
|         } | ||||
|         else { | ||||
|             onError('This environment does not support reading binary tags; either Buffer or atob is required'); | ||||
|             return src; | ||||
|         } | ||||
|     }, | ||||
|     stringify({ comment, type, value }, ctx, onComment, onChompKeep) { | ||||
|         if (!value) | ||||
|             return ''; | ||||
|         const buf = value; // checked earlier by binary.identify() | ||||
|         let str; | ||||
|         if (typeof node_buffer.Buffer === 'function') { | ||||
|             str = | ||||
|                 buf instanceof node_buffer.Buffer | ||||
|                     ? buf.toString('base64') | ||||
|                     : node_buffer.Buffer.from(buf.buffer).toString('base64'); | ||||
|         } | ||||
|         else if (typeof btoa === 'function') { | ||||
|             let s = ''; | ||||
|             for (let i = 0; i < buf.length; ++i) | ||||
|                 s += String.fromCharCode(buf[i]); | ||||
|             str = btoa(s); | ||||
|         } | ||||
|         else { | ||||
|             throw new Error('This environment does not support writing binary tags; either Buffer or btoa is required'); | ||||
|         } | ||||
|         type ?? (type = Scalar.Scalar.BLOCK_LITERAL); | ||||
|         if (type !== Scalar.Scalar.QUOTE_DOUBLE) { | ||||
|             const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth); | ||||
|             const n = Math.ceil(str.length / lineWidth); | ||||
|             const lines = new Array(n); | ||||
|             for (let i = 0, o = 0; i < n; ++i, o += lineWidth) { | ||||
|                 lines[i] = str.substr(o, lineWidth); | ||||
|             } | ||||
|             str = lines.join(type === Scalar.Scalar.BLOCK_LITERAL ? '\n' : ' '); | ||||
|         } | ||||
|         return stringifyString.stringifyString({ comment, type, value: str }, ctx, onComment, onChompKeep); | ||||
|     } | ||||
| }; | ||||
|  | ||||
| exports.binary = binary; | ||||
							
								
								
									
										7
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const trueTag: ScalarTag & { | ||||
|     test: RegExp; | ||||
| }; | ||||
| export declare const falseTag: ScalarTag & { | ||||
|     test: RegExp; | ||||
| }; | ||||
							
								
								
									
										29
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/bool.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/bool.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
|  | ||||
| function boolStringify({ value, source }, ctx) { | ||||
|     const boolObj = value ? trueTag : falseTag; | ||||
|     if (source && boolObj.test.test(source)) | ||||
|         return source; | ||||
|     return value ? ctx.options.trueStr : ctx.options.falseStr; | ||||
| } | ||||
| const trueTag = { | ||||
|     identify: value => value === true, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:bool', | ||||
|     test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, | ||||
|     resolve: () => new Scalar.Scalar(true), | ||||
|     stringify: boolStringify | ||||
| }; | ||||
| const falseTag = { | ||||
|     identify: value => value === false, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:bool', | ||||
|     test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/, | ||||
|     resolve: () => new Scalar.Scalar(false), | ||||
|     stringify: boolStringify | ||||
| }; | ||||
|  | ||||
| exports.falseTag = falseTag; | ||||
| exports.trueTag = trueTag; | ||||
							
								
								
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const floatNaN: ScalarTag; | ||||
| export declare const floatExp: ScalarTag; | ||||
| export declare const float: ScalarTag; | ||||
							
								
								
									
										50
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/float.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/float.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
| var stringifyNumber = require('../../stringify/stringifyNumber.js'); | ||||
|  | ||||
| const floatNaN = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     test: /^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/, | ||||
|     resolve: (str) => str.slice(-3).toLowerCase() === 'nan' | ||||
|         ? NaN | ||||
|         : str[0] === '-' | ||||
|             ? Number.NEGATIVE_INFINITY | ||||
|             : Number.POSITIVE_INFINITY, | ||||
|     stringify: stringifyNumber.stringifyNumber | ||||
| }; | ||||
| const floatExp = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     format: 'EXP', | ||||
|     test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/, | ||||
|     resolve: (str) => parseFloat(str.replace(/_/g, '')), | ||||
|     stringify(node) { | ||||
|         const num = Number(node.value); | ||||
|         return isFinite(num) ? num.toExponential() : stringifyNumber.stringifyNumber(node); | ||||
|     } | ||||
| }; | ||||
| const float = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/, | ||||
|     resolve(str) { | ||||
|         const node = new Scalar.Scalar(parseFloat(str.replace(/_/g, ''))); | ||||
|         const dot = str.indexOf('.'); | ||||
|         if (dot !== -1) { | ||||
|             const f = str.substring(dot + 1).replace(/_/g, ''); | ||||
|             if (f[f.length - 1] === '0') | ||||
|                 node.minFractionDigits = f.length; | ||||
|         } | ||||
|         return node; | ||||
|     }, | ||||
|     stringify: stringifyNumber.stringifyNumber | ||||
| }; | ||||
|  | ||||
| exports.float = float; | ||||
| exports.floatExp = floatExp; | ||||
| exports.floatNaN = floatNaN; | ||||
							
								
								
									
										5
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const intBin: ScalarTag; | ||||
| export declare const intOct: ScalarTag; | ||||
| export declare const int: ScalarTag; | ||||
| export declare const intHex: ScalarTag; | ||||
							
								
								
									
										76
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/int.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/int.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,76 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var stringifyNumber = require('../../stringify/stringifyNumber.js'); | ||||
|  | ||||
| const intIdentify = (value) => typeof value === 'bigint' || Number.isInteger(value); | ||||
| function intResolve(str, offset, radix, { intAsBigInt }) { | ||||
|     const sign = str[0]; | ||||
|     if (sign === '-' || sign === '+') | ||||
|         offset += 1; | ||||
|     str = str.substring(offset).replace(/_/g, ''); | ||||
|     if (intAsBigInt) { | ||||
|         switch (radix) { | ||||
|             case 2: | ||||
|                 str = `0b${str}`; | ||||
|                 break; | ||||
|             case 8: | ||||
|                 str = `0o${str}`; | ||||
|                 break; | ||||
|             case 16: | ||||
|                 str = `0x${str}`; | ||||
|                 break; | ||||
|         } | ||||
|         const n = BigInt(str); | ||||
|         return sign === '-' ? BigInt(-1) * n : n; | ||||
|     } | ||||
|     const n = parseInt(str, radix); | ||||
|     return sign === '-' ? -1 * n : n; | ||||
| } | ||||
| function intStringify(node, radix, prefix) { | ||||
|     const { value } = node; | ||||
|     if (intIdentify(value)) { | ||||
|         const str = value.toString(radix); | ||||
|         return value < 0 ? '-' + prefix + str.substr(1) : prefix + str; | ||||
|     } | ||||
|     return stringifyNumber.stringifyNumber(node); | ||||
| } | ||||
| const intBin = { | ||||
|     identify: intIdentify, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     format: 'BIN', | ||||
|     test: /^[-+]?0b[0-1_]+$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 2, 2, opt), | ||||
|     stringify: node => intStringify(node, 2, '0b') | ||||
| }; | ||||
| const intOct = { | ||||
|     identify: intIdentify, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     format: 'OCT', | ||||
|     test: /^[-+]?0[0-7_]+$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 1, 8, opt), | ||||
|     stringify: node => intStringify(node, 8, '0') | ||||
| }; | ||||
| const int = { | ||||
|     identify: intIdentify, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     test: /^[-+]?[0-9][0-9_]*$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 0, 10, opt), | ||||
|     stringify: stringifyNumber.stringifyNumber | ||||
| }; | ||||
| const intHex = { | ||||
|     identify: intIdentify, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     format: 'HEX', | ||||
|     test: /^[-+]?0x[0-9a-fA-F_]+$/, | ||||
|     resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt), | ||||
|     stringify: node => intStringify(node, 16, '0x') | ||||
| }; | ||||
|  | ||||
| exports.int = int; | ||||
| exports.intBin = intBin; | ||||
| exports.intHex = intHex; | ||||
| exports.intOct = intOct; | ||||
							
								
								
									
										9
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| import type { ToJSContext } from '../../nodes/toJS'; | ||||
| import type { MapLike } from '../../nodes/YAMLMap'; | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const merge: ScalarTag & { | ||||
|     identify(value: unknown): boolean; | ||||
|     test: RegExp; | ||||
| }; | ||||
| export declare const isMergeKey: (ctx: ToJSContext | undefined, key: unknown) => boolean | undefined; | ||||
| export declare function addMergeToJSMap(ctx: ToJSContext | undefined, map: MapLike, value: unknown): void; | ||||
							
								
								
									
										68
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/merge.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/merge.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,68 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../../nodes/identity.js'); | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
|  | ||||
| // If the value associated with a merge key is a single mapping node, each of | ||||
| // its key/value pairs is inserted into the current mapping, unless the key | ||||
| // already exists in it. If the value associated with the merge key is a | ||||
| // sequence, then this sequence is expected to contain mapping nodes and each | ||||
| // of these nodes is merged in turn according to its order in the sequence. | ||||
| // Keys in mapping nodes earlier in the sequence override keys specified in | ||||
| // later mapping nodes. -- http://yaml.org/type/merge.html | ||||
| const MERGE_KEY = '<<'; | ||||
| const merge = { | ||||
|     identify: value => value === MERGE_KEY || | ||||
|         (typeof value === 'symbol' && value.description === MERGE_KEY), | ||||
|     default: 'key', | ||||
|     tag: 'tag:yaml.org,2002:merge', | ||||
|     test: /^<<$/, | ||||
|     resolve: () => Object.assign(new Scalar.Scalar(Symbol(MERGE_KEY)), { | ||||
|         addToJSMap: addMergeToJSMap | ||||
|     }), | ||||
|     stringify: () => MERGE_KEY | ||||
| }; | ||||
| const isMergeKey = (ctx, key) => (merge.identify(key) || | ||||
|     (identity.isScalar(key) && | ||||
|         (!key.type || key.type === Scalar.Scalar.PLAIN) && | ||||
|         merge.identify(key.value))) && | ||||
|     ctx?.doc.schema.tags.some(tag => tag.tag === merge.tag && tag.default); | ||||
| function addMergeToJSMap(ctx, map, value) { | ||||
|     value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value; | ||||
|     if (identity.isSeq(value)) | ||||
|         for (const it of value.items) | ||||
|             mergeValue(ctx, map, it); | ||||
|     else if (Array.isArray(value)) | ||||
|         for (const it of value) | ||||
|             mergeValue(ctx, map, it); | ||||
|     else | ||||
|         mergeValue(ctx, map, value); | ||||
| } | ||||
| function mergeValue(ctx, map, value) { | ||||
|     const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value; | ||||
|     if (!identity.isMap(source)) | ||||
|         throw new Error('Merge sources must be maps or map aliases'); | ||||
|     const srcMap = source.toJSON(null, ctx, Map); | ||||
|     for (const [key, value] of srcMap) { | ||||
|         if (map instanceof Map) { | ||||
|             if (!map.has(key)) | ||||
|                 map.set(key, value); | ||||
|         } | ||||
|         else if (map instanceof Set) { | ||||
|             map.add(key); | ||||
|         } | ||||
|         else if (!Object.prototype.hasOwnProperty.call(map, key)) { | ||||
|             Object.defineProperty(map, key, { | ||||
|                 value, | ||||
|                 writable: true, | ||||
|                 enumerable: true, | ||||
|                 configurable: true | ||||
|             }); | ||||
|         } | ||||
|     } | ||||
|     return map; | ||||
| } | ||||
|  | ||||
| exports.addMergeToJSMap = addMergeToJSMap; | ||||
| exports.isMergeKey = isMergeKey; | ||||
| exports.merge = merge; | ||||
							
								
								
									
										22
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| import type { ToJSContext } from '../../nodes/toJS'; | ||||
| import { YAMLMap } from '../../nodes/YAMLMap'; | ||||
| import { YAMLSeq } from '../../nodes/YAMLSeq'; | ||||
| import type { CreateNodeContext } from '../../util'; | ||||
| import type { Schema } from '../Schema'; | ||||
| import type { CollectionTag } from '../types'; | ||||
| export declare class YAMLOMap extends YAMLSeq { | ||||
|     static tag: string; | ||||
|     constructor(); | ||||
|     add: typeof YAMLMap.prototype.add; | ||||
|     delete: typeof YAMLMap.prototype.delete; | ||||
|     get: typeof YAMLMap.prototype.get; | ||||
|     has: typeof YAMLMap.prototype.has; | ||||
|     set: typeof YAMLMap.prototype.set; | ||||
|     /** | ||||
|      * If `ctx` is given, the return type is actually `Map<unknown, unknown>`, | ||||
|      * but TypeScript won't allow widening the signature of a child method. | ||||
|      */ | ||||
|     toJSON(_?: unknown, ctx?: ToJSContext): unknown[]; | ||||
|     static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLOMap; | ||||
| } | ||||
| export declare const omap: CollectionTag; | ||||
							
								
								
									
										77
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/omap.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/omap.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,77 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../../nodes/identity.js'); | ||||
| var toJS = require('../../nodes/toJS.js'); | ||||
| var YAMLMap = require('../../nodes/YAMLMap.js'); | ||||
| var YAMLSeq = require('../../nodes/YAMLSeq.js'); | ||||
| var pairs = require('./pairs.js'); | ||||
|  | ||||
| class YAMLOMap extends YAMLSeq.YAMLSeq { | ||||
|     constructor() { | ||||
|         super(); | ||||
|         this.add = YAMLMap.YAMLMap.prototype.add.bind(this); | ||||
|         this.delete = YAMLMap.YAMLMap.prototype.delete.bind(this); | ||||
|         this.get = YAMLMap.YAMLMap.prototype.get.bind(this); | ||||
|         this.has = YAMLMap.YAMLMap.prototype.has.bind(this); | ||||
|         this.set = YAMLMap.YAMLMap.prototype.set.bind(this); | ||||
|         this.tag = YAMLOMap.tag; | ||||
|     } | ||||
|     /** | ||||
|      * If `ctx` is given, the return type is actually `Map<unknown, unknown>`, | ||||
|      * but TypeScript won't allow widening the signature of a child method. | ||||
|      */ | ||||
|     toJSON(_, ctx) { | ||||
|         if (!ctx) | ||||
|             return super.toJSON(_); | ||||
|         const map = new Map(); | ||||
|         if (ctx?.onCreate) | ||||
|             ctx.onCreate(map); | ||||
|         for (const pair of this.items) { | ||||
|             let key, value; | ||||
|             if (identity.isPair(pair)) { | ||||
|                 key = toJS.toJS(pair.key, '', ctx); | ||||
|                 value = toJS.toJS(pair.value, key, ctx); | ||||
|             } | ||||
|             else { | ||||
|                 key = toJS.toJS(pair, '', ctx); | ||||
|             } | ||||
|             if (map.has(key)) | ||||
|                 throw new Error('Ordered maps must not include duplicate keys'); | ||||
|             map.set(key, value); | ||||
|         } | ||||
|         return map; | ||||
|     } | ||||
|     static from(schema, iterable, ctx) { | ||||
|         const pairs$1 = pairs.createPairs(schema, iterable, ctx); | ||||
|         const omap = new this(); | ||||
|         omap.items = pairs$1.items; | ||||
|         return omap; | ||||
|     } | ||||
| } | ||||
| YAMLOMap.tag = 'tag:yaml.org,2002:omap'; | ||||
| const omap = { | ||||
|     collection: 'seq', | ||||
|     identify: value => value instanceof Map, | ||||
|     nodeClass: YAMLOMap, | ||||
|     default: false, | ||||
|     tag: 'tag:yaml.org,2002:omap', | ||||
|     resolve(seq, onError) { | ||||
|         const pairs$1 = pairs.resolvePairs(seq, onError); | ||||
|         const seenKeys = []; | ||||
|         for (const { key } of pairs$1.items) { | ||||
|             if (identity.isScalar(key)) { | ||||
|                 if (seenKeys.includes(key.value)) { | ||||
|                     onError(`Ordered maps must not include duplicate keys: ${key.value}`); | ||||
|                 } | ||||
|                 else { | ||||
|                     seenKeys.push(key.value); | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         return Object.assign(new YAMLOMap(), pairs$1); | ||||
|     }, | ||||
|     createNode: (schema, iterable, ctx) => YAMLOMap.from(schema, iterable, ctx) | ||||
| }; | ||||
|  | ||||
| exports.YAMLOMap = YAMLOMap; | ||||
| exports.omap = omap; | ||||
							
								
								
									
										10
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| import type { CreateNodeContext } from '../../doc/createNode'; | ||||
| import type { ParsedNode } from '../../nodes/Node'; | ||||
| import { Pair } from '../../nodes/Pair'; | ||||
| import type { YAMLMap } from '../../nodes/YAMLMap'; | ||||
| import { YAMLSeq } from '../../nodes/YAMLSeq'; | ||||
| import type { Schema } from '../../schema/Schema'; | ||||
| import type { CollectionTag } from '../types'; | ||||
| export declare function resolvePairs(seq: YAMLSeq.Parsed<ParsedNode | Pair<ParsedNode, ParsedNode | null>> | YAMLMap.Parsed, onError: (message: string) => void): YAMLSeq.Parsed<Pair<ParsedNode, ParsedNode | null>>; | ||||
| export declare function createPairs(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSeq<unknown>; | ||||
| export declare const pairs: CollectionTag; | ||||
							
								
								
									
										82
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,82 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../../nodes/identity.js'); | ||||
| var Pair = require('../../nodes/Pair.js'); | ||||
| var Scalar = require('../../nodes/Scalar.js'); | ||||
| var YAMLSeq = require('../../nodes/YAMLSeq.js'); | ||||
|  | ||||
| function resolvePairs(seq, onError) { | ||||
|     if (identity.isSeq(seq)) { | ||||
|         for (let i = 0; i < seq.items.length; ++i) { | ||||
|             let item = seq.items[i]; | ||||
|             if (identity.isPair(item)) | ||||
|                 continue; | ||||
|             else if (identity.isMap(item)) { | ||||
|                 if (item.items.length > 1) | ||||
|                     onError('Each pair must have its own sequence indicator'); | ||||
|                 const pair = item.items[0] || new Pair.Pair(new Scalar.Scalar(null)); | ||||
|                 if (item.commentBefore) | ||||
|                     pair.key.commentBefore = pair.key.commentBefore | ||||
|                         ? `${item.commentBefore}\n${pair.key.commentBefore}` | ||||
|                         : item.commentBefore; | ||||
|                 if (item.comment) { | ||||
|                     const cn = pair.value ?? pair.key; | ||||
|                     cn.comment = cn.comment | ||||
|                         ? `${item.comment}\n${cn.comment}` | ||||
|                         : item.comment; | ||||
|                 } | ||||
|                 item = pair; | ||||
|             } | ||||
|             seq.items[i] = identity.isPair(item) ? item : new Pair.Pair(item); | ||||
|         } | ||||
|     } | ||||
|     else | ||||
|         onError('Expected a sequence for this tag'); | ||||
|     return seq; | ||||
| } | ||||
| function createPairs(schema, iterable, ctx) { | ||||
|     const { replacer } = ctx; | ||||
|     const pairs = new YAMLSeq.YAMLSeq(schema); | ||||
|     pairs.tag = 'tag:yaml.org,2002:pairs'; | ||||
|     let i = 0; | ||||
|     if (iterable && Symbol.iterator in Object(iterable)) | ||||
|         for (let it of iterable) { | ||||
|             if (typeof replacer === 'function') | ||||
|                 it = replacer.call(iterable, String(i++), it); | ||||
|             let key, value; | ||||
|             if (Array.isArray(it)) { | ||||
|                 if (it.length === 2) { | ||||
|                     key = it[0]; | ||||
|                     value = it[1]; | ||||
|                 } | ||||
|                 else | ||||
|                     throw new TypeError(`Expected [key, value] tuple: ${it}`); | ||||
|             } | ||||
|             else if (it && it instanceof Object) { | ||||
|                 const keys = Object.keys(it); | ||||
|                 if (keys.length === 1) { | ||||
|                     key = keys[0]; | ||||
|                     value = it[key]; | ||||
|                 } | ||||
|                 else { | ||||
|                     throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`); | ||||
|                 } | ||||
|             } | ||||
|             else { | ||||
|                 key = it; | ||||
|             } | ||||
|             pairs.items.push(Pair.createPair(key, value, ctx)); | ||||
|         } | ||||
|     return pairs; | ||||
| } | ||||
| const pairs = { | ||||
|     collection: 'seq', | ||||
|     default: false, | ||||
|     tag: 'tag:yaml.org,2002:pairs', | ||||
|     resolve: resolvePairs, | ||||
|     createNode: createPairs | ||||
| }; | ||||
|  | ||||
| exports.createPairs = createPairs; | ||||
| exports.pairs = pairs; | ||||
| exports.resolvePairs = resolvePairs; | ||||
							
								
								
									
										1
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| export declare const schema: (import('../types').CollectionTag | import('../types').ScalarTag)[]; | ||||
							
								
								
									
										41
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/schema.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var map = require('../common/map.js'); | ||||
| var _null = require('../common/null.js'); | ||||
| var seq = require('../common/seq.js'); | ||||
| var string = require('../common/string.js'); | ||||
| var binary = require('./binary.js'); | ||||
| var bool = require('./bool.js'); | ||||
| var float = require('./float.js'); | ||||
| var int = require('./int.js'); | ||||
| var merge = require('./merge.js'); | ||||
| var omap = require('./omap.js'); | ||||
| var pairs = require('./pairs.js'); | ||||
| var set = require('./set.js'); | ||||
| var timestamp = require('./timestamp.js'); | ||||
|  | ||||
| const schema = [ | ||||
|     map.map, | ||||
|     seq.seq, | ||||
|     string.string, | ||||
|     _null.nullTag, | ||||
|     bool.trueTag, | ||||
|     bool.falseTag, | ||||
|     int.intBin, | ||||
|     int.intOct, | ||||
|     int.int, | ||||
|     int.intHex, | ||||
|     float.floatNaN, | ||||
|     float.floatExp, | ||||
|     float.float, | ||||
|     binary.binary, | ||||
|     merge.merge, | ||||
|     omap.omap, | ||||
|     pairs.pairs, | ||||
|     set.set, | ||||
|     timestamp.intTime, | ||||
|     timestamp.floatTime, | ||||
|     timestamp.timestamp | ||||
| ]; | ||||
|  | ||||
| exports.schema = schema; | ||||
							
								
								
									
										28
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| import { Pair } from '../../nodes/Pair'; | ||||
| import type { Scalar } from '../../nodes/Scalar'; | ||||
| import type { ToJSContext } from '../../nodes/toJS'; | ||||
| import { YAMLMap } from '../../nodes/YAMLMap'; | ||||
| import type { Schema } from '../../schema/Schema'; | ||||
| import type { StringifyContext } from '../../stringify/stringify'; | ||||
| import type { CreateNodeContext } from '../../util'; | ||||
| import type { CollectionTag } from '../types'; | ||||
| export declare class YAMLSet<T = unknown> extends YAMLMap<T, Scalar<null> | null> { | ||||
|     static tag: string; | ||||
|     constructor(schema?: Schema); | ||||
|     add(key: T | Pair<T, Scalar<null> | null> | { | ||||
|         key: T; | ||||
|         value: Scalar<null> | null; | ||||
|     }): void; | ||||
|     /** | ||||
|      * If `keepPair` is `true`, returns the Pair matching `key`. | ||||
|      * Otherwise, returns the value of that Pair's key. | ||||
|      */ | ||||
|     get(key: unknown, keepPair?: boolean): any; | ||||
|     set(key: T, value: boolean): void; | ||||
|     /** @deprecated Will throw; `value` must be boolean */ | ||||
|     set(key: T, value: null): void; | ||||
|     toJSON(_?: unknown, ctx?: ToJSContext): any; | ||||
|     toString(ctx?: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; | ||||
|     static from(schema: Schema, iterable: unknown, ctx: CreateNodeContext): YAMLSet; | ||||
| } | ||||
| export declare const set: CollectionTag; | ||||
							
								
								
									
										96
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/set.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										96
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/set.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,96 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var identity = require('../../nodes/identity.js'); | ||||
| var Pair = require('../../nodes/Pair.js'); | ||||
| var YAMLMap = require('../../nodes/YAMLMap.js'); | ||||
|  | ||||
| class YAMLSet extends YAMLMap.YAMLMap { | ||||
|     constructor(schema) { | ||||
|         super(schema); | ||||
|         this.tag = YAMLSet.tag; | ||||
|     } | ||||
|     add(key) { | ||||
|         let pair; | ||||
|         if (identity.isPair(key)) | ||||
|             pair = key; | ||||
|         else if (key && | ||||
|             typeof key === 'object' && | ||||
|             'key' in key && | ||||
|             'value' in key && | ||||
|             key.value === null) | ||||
|             pair = new Pair.Pair(key.key, null); | ||||
|         else | ||||
|             pair = new Pair.Pair(key, null); | ||||
|         const prev = YAMLMap.findPair(this.items, pair.key); | ||||
|         if (!prev) | ||||
|             this.items.push(pair); | ||||
|     } | ||||
|     /** | ||||
|      * If `keepPair` is `true`, returns the Pair matching `key`. | ||||
|      * Otherwise, returns the value of that Pair's key. | ||||
|      */ | ||||
|     get(key, keepPair) { | ||||
|         const pair = YAMLMap.findPair(this.items, key); | ||||
|         return !keepPair && identity.isPair(pair) | ||||
|             ? identity.isScalar(pair.key) | ||||
|                 ? pair.key.value | ||||
|                 : pair.key | ||||
|             : pair; | ||||
|     } | ||||
|     set(key, value) { | ||||
|         if (typeof value !== 'boolean') | ||||
|             throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value}`); | ||||
|         const prev = YAMLMap.findPair(this.items, key); | ||||
|         if (prev && !value) { | ||||
|             this.items.splice(this.items.indexOf(prev), 1); | ||||
|         } | ||||
|         else if (!prev && value) { | ||||
|             this.items.push(new Pair.Pair(key)); | ||||
|         } | ||||
|     } | ||||
|     toJSON(_, ctx) { | ||||
|         return super.toJSON(_, ctx, Set); | ||||
|     } | ||||
|     toString(ctx, onComment, onChompKeep) { | ||||
|         if (!ctx) | ||||
|             return JSON.stringify(this); | ||||
|         if (this.hasAllNullValues(true)) | ||||
|             return super.toString(Object.assign({}, ctx, { allNullValues: true }), onComment, onChompKeep); | ||||
|         else | ||||
|             throw new Error('Set items must all have null values'); | ||||
|     } | ||||
|     static from(schema, iterable, ctx) { | ||||
|         const { replacer } = ctx; | ||||
|         const set = new this(schema); | ||||
|         if (iterable && Symbol.iterator in Object(iterable)) | ||||
|             for (let value of iterable) { | ||||
|                 if (typeof replacer === 'function') | ||||
|                     value = replacer.call(iterable, value, value); | ||||
|                 set.items.push(Pair.createPair(value, null, ctx)); | ||||
|             } | ||||
|         return set; | ||||
|     } | ||||
| } | ||||
| YAMLSet.tag = 'tag:yaml.org,2002:set'; | ||||
| const set = { | ||||
|     collection: 'map', | ||||
|     identify: value => value instanceof Set, | ||||
|     nodeClass: YAMLSet, | ||||
|     default: false, | ||||
|     tag: 'tag:yaml.org,2002:set', | ||||
|     createNode: (schema, iterable, ctx) => YAMLSet.from(schema, iterable, ctx), | ||||
|     resolve(map, onError) { | ||||
|         if (identity.isMap(map)) { | ||||
|             if (map.hasAllNullValues(true)) | ||||
|                 return Object.assign(new YAMLSet(), map); | ||||
|             else | ||||
|                 onError('Set items must all have null values'); | ||||
|         } | ||||
|         else | ||||
|             onError('Expected a mapping for this tag'); | ||||
|         return map; | ||||
|     } | ||||
| }; | ||||
|  | ||||
| exports.YAMLSet = YAMLSet; | ||||
| exports.set = set; | ||||
							
								
								
									
										6
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| import type { ScalarTag } from '../types'; | ||||
| export declare const intTime: ScalarTag; | ||||
| export declare const floatTime: ScalarTag; | ||||
| export declare const timestamp: ScalarTag & { | ||||
|     test: RegExp; | ||||
| }; | ||||
							
								
								
									
										105
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								mcp-server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,105 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var stringifyNumber = require('../../stringify/stringifyNumber.js'); | ||||
|  | ||||
| /** Internal types handle bigint as number, because TS can't figure it out. */ | ||||
| function parseSexagesimal(str, asBigInt) { | ||||
|     const sign = str[0]; | ||||
|     const parts = sign === '-' || sign === '+' ? str.substring(1) : str; | ||||
|     const num = (n) => asBigInt ? BigInt(n) : Number(n); | ||||
|     const res = parts | ||||
|         .replace(/_/g, '') | ||||
|         .split(':') | ||||
|         .reduce((res, p) => res * num(60) + num(p), num(0)); | ||||
|     return (sign === '-' ? num(-1) * res : res); | ||||
| } | ||||
| /** | ||||
|  * hhhh:mm:ss.sss | ||||
|  * | ||||
|  * Internal types handle bigint as number, because TS can't figure it out. | ||||
|  */ | ||||
| function stringifySexagesimal(node) { | ||||
|     let { value } = node; | ||||
|     let num = (n) => n; | ||||
|     if (typeof value === 'bigint') | ||||
|         num = n => BigInt(n); | ||||
|     else if (isNaN(value) || !isFinite(value)) | ||||
|         return stringifyNumber.stringifyNumber(node); | ||||
|     let sign = ''; | ||||
|     if (value < 0) { | ||||
|         sign = '-'; | ||||
|         value *= num(-1); | ||||
|     } | ||||
|     const _60 = num(60); | ||||
|     const parts = [value % _60]; // seconds, including ms | ||||
|     if (value < 60) { | ||||
|         parts.unshift(0); // at least one : is required | ||||
|     } | ||||
|     else { | ||||
|         value = (value - parts[0]) / _60; | ||||
|         parts.unshift(value % _60); // minutes | ||||
|         if (value >= 60) { | ||||
|             value = (value - parts[0]) / _60; | ||||
|             parts.unshift(value); // hours | ||||
|         } | ||||
|     } | ||||
|     return (sign + | ||||
|         parts | ||||
|             .map(n => String(n).padStart(2, '0')) | ||||
|             .join(':') | ||||
|             .replace(/000000\d*$/, '') // % 60 may introduce error | ||||
|     ); | ||||
| } | ||||
| const intTime = { | ||||
|     identify: value => typeof value === 'bigint' || Number.isInteger(value), | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:int', | ||||
|     format: 'TIME', | ||||
|     test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/, | ||||
|     resolve: (str, _onError, { intAsBigInt }) => parseSexagesimal(str, intAsBigInt), | ||||
|     stringify: stringifySexagesimal | ||||
| }; | ||||
| const floatTime = { | ||||
|     identify: value => typeof value === 'number', | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:float', | ||||
|     format: 'TIME', | ||||
|     test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/, | ||||
|     resolve: str => parseSexagesimal(str, false), | ||||
|     stringify: stringifySexagesimal | ||||
| }; | ||||
| const timestamp = { | ||||
|     identify: value => value instanceof Date, | ||||
|     default: true, | ||||
|     tag: 'tag:yaml.org,2002:timestamp', | ||||
|     // If the time zone is omitted, the timestamp is assumed to be specified in UTC. The time part | ||||
|     // may be omitted altogether, resulting in a date format. In such a case, the time part is | ||||
|     // assumed to be 00:00:00Z (start of day, UTC). | ||||
|     test: RegExp('^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})' + // YYYY-Mm-Dd | ||||
|         '(?:' + // time is optional | ||||
|         '(?:t|T|[ \\t]+)' + // t | T | whitespace | ||||
|         '([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)' + // Hh:Mm:Ss(.ss)? | ||||
|         '(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?' + // Z | +5 | -03:30 | ||||
|         ')?$'), | ||||
|     resolve(str) { | ||||
|         const match = str.match(timestamp.test); | ||||
|         if (!match) | ||||
|             throw new Error('!!timestamp expects a date, starting with yyyy-mm-dd'); | ||||
|         const [, year, month, day, hour, minute, second] = match.map(Number); | ||||
|         const millisec = match[7] ? Number((match[7] + '00').substr(1, 3)) : 0; | ||||
|         let date = Date.UTC(year, month - 1, day, hour || 0, minute || 0, second || 0, millisec); | ||||
|         const tz = match[8]; | ||||
|         if (tz && tz !== 'Z') { | ||||
|             let d = parseSexagesimal(tz, false); | ||||
|             if (Math.abs(d) < 30) | ||||
|                 d *= 60; | ||||
|             date -= 60000 * d; | ||||
|         } | ||||
|         return new Date(date); | ||||
|     }, | ||||
|     stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, '') ?? '' | ||||
| }; | ||||
|  | ||||
| exports.floatTime = floatTime; | ||||
| exports.intTime = intTime; | ||||
| exports.timestamp = timestamp; | ||||
		Reference in New Issue
	
	Block a user
	 anthonyrawlins
					anthonyrawlins