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:
		
							
								
								
									
										117
									
								
								mcp-server/node_modules/yaml/dist/compose/resolve-block-map.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										117
									
								
								mcp-server/node_modules/yaml/dist/compose/resolve-block-map.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,117 @@ | ||||
| 'use strict'; | ||||
|  | ||||
| var Pair = require('../nodes/Pair.js'); | ||||
| var YAMLMap = require('../nodes/YAMLMap.js'); | ||||
| var resolveProps = require('./resolve-props.js'); | ||||
| var utilContainsNewline = require('./util-contains-newline.js'); | ||||
| var utilFlowIndentCheck = require('./util-flow-indent-check.js'); | ||||
| var utilMapIncludes = require('./util-map-includes.js'); | ||||
|  | ||||
| const startColMsg = 'All mapping items must start at the same column'; | ||||
| function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) { | ||||
|     const NodeClass = tag?.nodeClass ?? YAMLMap.YAMLMap; | ||||
|     const map = new NodeClass(ctx.schema); | ||||
|     if (ctx.atRoot) | ||||
|         ctx.atRoot = false; | ||||
|     let offset = bm.offset; | ||||
|     let commentEnd = null; | ||||
|     for (const collItem of bm.items) { | ||||
|         const { start, key, sep, value } = collItem; | ||||
|         // key properties | ||||
|         const keyProps = resolveProps.resolveProps(start, { | ||||
|             indicator: 'explicit-key-ind', | ||||
|             next: key ?? sep?.[0], | ||||
|             offset, | ||||
|             onError, | ||||
|             parentIndent: bm.indent, | ||||
|             startOnNewline: true | ||||
|         }); | ||||
|         const implicitKey = !keyProps.found; | ||||
|         if (implicitKey) { | ||||
|             if (key) { | ||||
|                 if (key.type === 'block-seq') | ||||
|                     onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'A block sequence may not be used as an implicit map key'); | ||||
|                 else if ('indent' in key && key.indent !== bm.indent) | ||||
|                     onError(offset, 'BAD_INDENT', startColMsg); | ||||
|             } | ||||
|             if (!keyProps.anchor && !keyProps.tag && !sep) { | ||||
|                 commentEnd = keyProps.end; | ||||
|                 if (keyProps.comment) { | ||||
|                     if (map.comment) | ||||
|                         map.comment += '\n' + keyProps.comment; | ||||
|                     else | ||||
|                         map.comment = keyProps.comment; | ||||
|                 } | ||||
|                 continue; | ||||
|             } | ||||
|             if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key)) { | ||||
|                 onError(key ?? start[start.length - 1], 'MULTILINE_IMPLICIT_KEY', 'Implicit keys need to be on a single line'); | ||||
|             } | ||||
|         } | ||||
|         else if (keyProps.found?.indent !== bm.indent) { | ||||
|             onError(offset, 'BAD_INDENT', startColMsg); | ||||
|         } | ||||
|         // key value | ||||
|         ctx.atKey = true; | ||||
|         const keyStart = keyProps.end; | ||||
|         const keyNode = key | ||||
|             ? composeNode(ctx, key, keyProps, onError) | ||||
|             : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError); | ||||
|         if (ctx.schema.compat) | ||||
|             utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError); | ||||
|         ctx.atKey = false; | ||||
|         if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode)) | ||||
|             onError(keyStart, 'DUPLICATE_KEY', 'Map keys must be unique'); | ||||
|         // value properties | ||||
|         const valueProps = resolveProps.resolveProps(sep ?? [], { | ||||
|             indicator: 'map-value-ind', | ||||
|             next: value, | ||||
|             offset: keyNode.range[2], | ||||
|             onError, | ||||
|             parentIndent: bm.indent, | ||||
|             startOnNewline: !key || key.type === 'block-scalar' | ||||
|         }); | ||||
|         offset = valueProps.end; | ||||
|         if (valueProps.found) { | ||||
|             if (implicitKey) { | ||||
|                 if (value?.type === 'block-map' && !valueProps.hasNewline) | ||||
|                     onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'Nested mappings are not allowed in compact mappings'); | ||||
|                 if (ctx.options.strict && | ||||
|                     keyProps.start < valueProps.found.offset - 1024) | ||||
|                     onError(keyNode.range, 'KEY_OVER_1024_CHARS', 'The : indicator must be at most 1024 chars after the start of an implicit block mapping key'); | ||||
|             } | ||||
|             // value value | ||||
|             const valueNode = value | ||||
|                 ? composeNode(ctx, value, valueProps, onError) | ||||
|                 : composeEmptyNode(ctx, offset, sep, null, valueProps, onError); | ||||
|             if (ctx.schema.compat) | ||||
|                 utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError); | ||||
|             offset = valueNode.range[2]; | ||||
|             const pair = new Pair.Pair(keyNode, valueNode); | ||||
|             if (ctx.options.keepSourceTokens) | ||||
|                 pair.srcToken = collItem; | ||||
|             map.items.push(pair); | ||||
|         } | ||||
|         else { | ||||
|             // key with no value | ||||
|             if (implicitKey) | ||||
|                 onError(keyNode.range, 'MISSING_CHAR', 'Implicit map keys need to be followed by map values'); | ||||
|             if (valueProps.comment) { | ||||
|                 if (keyNode.comment) | ||||
|                     keyNode.comment += '\n' + valueProps.comment; | ||||
|                 else | ||||
|                     keyNode.comment = valueProps.comment; | ||||
|             } | ||||
|             const pair = new Pair.Pair(keyNode); | ||||
|             if (ctx.options.keepSourceTokens) | ||||
|                 pair.srcToken = collItem; | ||||
|             map.items.push(pair); | ||||
|         } | ||||
|     } | ||||
|     if (commentEnd && commentEnd < offset) | ||||
|         onError(commentEnd, 'IMPOSSIBLE', 'Map comment with trailing content'); | ||||
|     map.range = [bm.offset, offset, commentEnd ?? offset]; | ||||
|     return map; | ||||
| } | ||||
|  | ||||
| exports.resolveBlockMap = resolveBlockMap; | ||||
		Reference in New Issue
	
	Block a user
	 anthonyrawlins
					anthonyrawlins