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>
28 lines
759 B
JavaScript
28 lines
759 B
JavaScript
'use strict';
|
|
|
|
var identity = require('./identity.js');
|
|
var Node = require('./Node.js');
|
|
var toJS = require('./toJS.js');
|
|
|
|
const isScalarValue = (value) => !value || (typeof value !== 'function' && typeof value !== 'object');
|
|
class Scalar extends Node.NodeBase {
|
|
constructor(value) {
|
|
super(identity.SCALAR);
|
|
this.value = value;
|
|
}
|
|
toJSON(arg, ctx) {
|
|
return ctx?.keep ? this.value : toJS.toJS(this.value, arg, ctx);
|
|
}
|
|
toString() {
|
|
return String(this.value);
|
|
}
|
|
}
|
|
Scalar.BLOCK_FOLDED = 'BLOCK_FOLDED';
|
|
Scalar.BLOCK_LITERAL = 'BLOCK_LITERAL';
|
|
Scalar.PLAIN = 'PLAIN';
|
|
Scalar.QUOTE_DOUBLE = 'QUOTE_DOUBLE';
|
|
Scalar.QUOTE_SINGLE = 'QUOTE_SINGLE';
|
|
|
|
exports.Scalar = Scalar;
|
|
exports.isScalarValue = isScalarValue;
|