@atlashub/smartstack-cli 2.7.0 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +70 -13
- package/dist/index.js.map +1 -1
- package/dist/mcp-entry.mjs +12 -10
- package/dist/mcp-entry.mjs.map +1 -1
- package/package.json +2 -2
- package/templates/agents/ba-writer.md +180 -11
- package/templates/skills/business-analyse/_shared.md +19 -5
- package/templates/skills/business-analyse/schemas/sections/specification-schema.json +43 -1
- package/templates/skills/business-analyse/schemas/shared/common-defs.json +96 -3
- package/templates/skills/business-analyse/steps/step-00-init.md +48 -0
- package/templates/skills/business-analyse/steps/step-01-cadrage.md +75 -7
- package/templates/skills/business-analyse/steps/step-02-decomposition.md +21 -10
- package/templates/skills/business-analyse/steps/step-03-specify.md +702 -93
- package/templates/skills/business-analyse/steps/step-04-consolidation.md +169 -4
- package/templates/skills/business-analyse/steps/step-05-handoff.md +24 -0
package/dist/mcp-entry.mjs
CHANGED
|
@@ -24653,14 +24653,15 @@ function parseCommaParts(str) {
|
|
|
24653
24653
|
parts.push.apply(parts, p);
|
|
24654
24654
|
return parts;
|
|
24655
24655
|
}
|
|
24656
|
-
function expand(str) {
|
|
24656
|
+
function expand(str, options = {}) {
|
|
24657
24657
|
if (!str) {
|
|
24658
24658
|
return [];
|
|
24659
24659
|
}
|
|
24660
|
+
const { max = EXPANSION_MAX } = options;
|
|
24660
24661
|
if (str.slice(0, 2) === "{}") {
|
|
24661
24662
|
str = "\\{\\}" + str.slice(2);
|
|
24662
24663
|
}
|
|
24663
|
-
return expand_(escapeBraces(str), true).map(unescapeBraces);
|
|
24664
|
+
return expand_(escapeBraces(str), max, true).map(unescapeBraces);
|
|
24664
24665
|
}
|
|
24665
24666
|
function embrace(str) {
|
|
24666
24667
|
return "{" + str + "}";
|
|
@@ -24674,15 +24675,15 @@ function lte(i, y) {
|
|
|
24674
24675
|
function gte(i, y) {
|
|
24675
24676
|
return i >= y;
|
|
24676
24677
|
}
|
|
24677
|
-
function expand_(str, isTop) {
|
|
24678
|
+
function expand_(str, max, isTop) {
|
|
24678
24679
|
const expansions = [];
|
|
24679
24680
|
const m = balanced("{", "}", str);
|
|
24680
24681
|
if (!m)
|
|
24681
24682
|
return [str];
|
|
24682
24683
|
const pre = m.pre;
|
|
24683
|
-
const post = m.post.length ? expand_(m.post, false) : [""];
|
|
24684
|
+
const post = m.post.length ? expand_(m.post, max, false) : [""];
|
|
24684
24685
|
if (/\$$/.test(m.pre)) {
|
|
24685
|
-
for (let k = 0; k < post.length; k++) {
|
|
24686
|
+
for (let k = 0; k < post.length && k < max; k++) {
|
|
24686
24687
|
const expansion = pre + "{" + m.body + "}" + post[k];
|
|
24687
24688
|
expansions.push(expansion);
|
|
24688
24689
|
}
|
|
@@ -24694,7 +24695,7 @@ function expand_(str, isTop) {
|
|
|
24694
24695
|
if (!isSequence && !isOptions) {
|
|
24695
24696
|
if (m.post.match(/,(?!,).*\}/)) {
|
|
24696
24697
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
24697
|
-
return expand_(str);
|
|
24698
|
+
return expand_(str, max, true);
|
|
24698
24699
|
}
|
|
24699
24700
|
return [str];
|
|
24700
24701
|
}
|
|
@@ -24704,7 +24705,7 @@ function expand_(str, isTop) {
|
|
|
24704
24705
|
} else {
|
|
24705
24706
|
n = parseCommaParts(m.body);
|
|
24706
24707
|
if (n.length === 1 && n[0] !== void 0) {
|
|
24707
|
-
n = expand_(n[0], false).map(embrace);
|
|
24708
|
+
n = expand_(n[0], max, false).map(embrace);
|
|
24708
24709
|
if (n.length === 1) {
|
|
24709
24710
|
return post.map((p) => m.pre + n[0] + p);
|
|
24710
24711
|
}
|
|
@@ -24750,11 +24751,11 @@ function expand_(str, isTop) {
|
|
|
24750
24751
|
} else {
|
|
24751
24752
|
N = [];
|
|
24752
24753
|
for (let j = 0; j < n.length; j++) {
|
|
24753
|
-
N.push.apply(N, expand_(n[j], false));
|
|
24754
|
+
N.push.apply(N, expand_(n[j], max, false));
|
|
24754
24755
|
}
|
|
24755
24756
|
}
|
|
24756
24757
|
for (let j = 0; j < N.length; j++) {
|
|
24757
|
-
for (let k = 0; k < post.length; k++) {
|
|
24758
|
+
for (let k = 0; k < post.length && expansions.length < max; k++) {
|
|
24758
24759
|
const expansion = pre + N[j] + post[k];
|
|
24759
24760
|
if (!isTop || isSequence || expansion) {
|
|
24760
24761
|
expansions.push(expansion);
|
|
@@ -24764,7 +24765,7 @@ function expand_(str, isTop) {
|
|
|
24764
24765
|
}
|
|
24765
24766
|
return expansions;
|
|
24766
24767
|
}
|
|
24767
|
-
var escSlash, escOpen, escClose, escComma, escPeriod, escSlashPattern, escOpenPattern, escClosePattern, escCommaPattern, escPeriodPattern, slashPattern, openPattern, closePattern, commaPattern, periodPattern;
|
|
24768
|
+
var escSlash, escOpen, escClose, escComma, escPeriod, escSlashPattern, escOpenPattern, escClosePattern, escCommaPattern, escPeriodPattern, slashPattern, openPattern, closePattern, commaPattern, periodPattern, EXPANSION_MAX;
|
|
24768
24769
|
var init_esm3 = __esm({
|
|
24769
24770
|
"node_modules/@isaacs/brace-expansion/dist/esm/index.js"() {
|
|
24770
24771
|
"use strict";
|
|
@@ -24785,6 +24786,7 @@ var init_esm3 = __esm({
|
|
|
24785
24786
|
closePattern = /\\}/g;
|
|
24786
24787
|
commaPattern = /\\,/g;
|
|
24787
24788
|
periodPattern = /\\./g;
|
|
24789
|
+
EXPANSION_MAX = 1e5;
|
|
24788
24790
|
}
|
|
24789
24791
|
});
|
|
24790
24792
|
|