Initial checkin of Blueprint-MCP plugin

This commit is contained in:
2026-03-05 19:26:46 -05:00
parent 9cc1cb502b
commit 8367bd2221
4571 changed files with 1211887 additions and 7 deletions

24
tools/blueprint-mcp/node_modules/stackback/test.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
var assert = require('assert');
var stackback = require('./');
test('capture', function() {
var err = new Error();
var stack = stackback(err);
assert.equal(stack[0].getFileName(), __filename);
});
// calling stackback on the same error twice should work
test('multiple calls', function() {
var err = new Error();
var stack1 = stackback(err);
var stack2 = stackback(err);
assert.equal(stack1[0].getFileName(), __filename);
assert.deepEqual(stack1, stack2);
});
test('string', function() {
var err = new Error();
stackback(err);
assert.equal(typeof err.stack, 'string');
});