agentblueprint 0.4.0
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/README.md +137 -0
- package/dist/__tests__/cli.test.d.ts +1 -0
- package/dist/__tests__/cli.test.js +136 -0
- package/dist/__tests__/cli.test.js.map +1 -0
- package/dist/__tests__/client.test.d.ts +1 -0
- package/dist/__tests__/client.test.js +99 -0
- package/dist/__tests__/client.test.js.map +1 -0
- package/dist/__tests__/config.test.d.ts +1 -0
- package/dist/__tests__/config.test.js +37 -0
- package/dist/__tests__/config.test.js.map +1 -0
- package/dist/__tests__/renderers.test.d.ts +1 -0
- package/dist/__tests__/renderers.test.js +471 -0
- package/dist/__tests__/renderers.test.js.map +1 -0
- package/dist/__tests__/token-store.test.d.ts +1 -0
- package/dist/__tests__/token-store.test.js +61 -0
- package/dist/__tests__/token-store.test.js.map +1 -0
- package/dist/__tests__/tools.test.d.ts +1 -0
- package/dist/__tests__/tools.test.js +379 -0
- package/dist/__tests__/tools.test.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +233 -0
- package/dist/cli.js.map +1 -0
- package/dist/client.d.ts +80 -0
- package/dist/client.js +56 -0
- package/dist/client.js.map +1 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.js +11 -0
- package/dist/config.js.map +1 -0
- package/dist/download.d.ts +9 -0
- package/dist/download.js +113 -0
- package/dist/download.js.map +1 -0
- package/dist/errors.d.ts +5 -0
- package/dist/errors.js +18 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/renderers.d.ts +16 -0
- package/dist/renderers.js +1468 -0
- package/dist/renderers.js.map +1 -0
- package/dist/resources/blueprint.d.ts +14 -0
- package/dist/resources/blueprint.js +46 -0
- package/dist/resources/blueprint.js.map +1 -0
- package/dist/resources/blueprints.d.ts +14 -0
- package/dist/resources/blueprints.js +33 -0
- package/dist/resources/blueprints.js.map +1 -0
- package/dist/resources/business-profile.d.ts +14 -0
- package/dist/resources/business-profile.js +33 -0
- package/dist/resources/business-profile.js.map +1 -0
- package/dist/resources/spec.d.ts +14 -0
- package/dist/resources/spec.js +33 -0
- package/dist/resources/spec.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.js +47 -0
- package/dist/server.js.map +1 -0
- package/dist/token-store.d.ts +7 -0
- package/dist/token-store.js +34 -0
- package/dist/token-store.js.map +1 -0
- package/dist/tools/download-blueprint.d.ts +17 -0
- package/dist/tools/download-blueprint.js +55 -0
- package/dist/tools/download-blueprint.js.map +1 -0
- package/dist/tools/get-blueprint.d.ts +17 -0
- package/dist/tools/get-blueprint.js +65 -0
- package/dist/tools/get-blueprint.js.map +1 -0
- package/dist/tools/get-business-case.d.ts +17 -0
- package/dist/tools/get-business-case.js +66 -0
- package/dist/tools/get-business-case.js.map +1 -0
- package/dist/tools/get-business-profile.d.ts +14 -0
- package/dist/tools/get-business-profile.js +21 -0
- package/dist/tools/get-business-profile.js.map +1 -0
- package/dist/tools/get-implementation-plan.d.ts +17 -0
- package/dist/tools/get-implementation-plan.js +67 -0
- package/dist/tools/get-implementation-plan.js.map +1 -0
- package/dist/tools/get-implementation-spec.d.ts +31 -0
- package/dist/tools/get-implementation-spec.js +35 -0
- package/dist/tools/get-implementation-spec.js.map +1 -0
- package/dist/tools/get-use-case.d.ts +31 -0
- package/dist/tools/get-use-case.js +35 -0
- package/dist/tools/get-use-case.js.map +1 -0
- package/dist/tools/list-blueprints.d.ts +22 -0
- package/dist/tools/list-blueprints.js +29 -0
- package/dist/tools/list-blueprints.js.map +1 -0
- package/package.json +38 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
/**
|
|
3
|
+
* Build a concise summary from a full blueprint response.
|
|
4
|
+
* Strips verbose tool samples, full agent details, and reasoning
|
|
5
|
+
* to produce a ~5-8K char overview suitable for agent context windows.
|
|
6
|
+
*/
|
|
7
|
+
function summarizeBlueprint(blueprint) {
|
|
8
|
+
const data = blueprint.data;
|
|
9
|
+
// Agent summary (names + roles, no tools/guardrails/instructions)
|
|
10
|
+
const team = Array.isArray(data.enhancedDigitalTeam) ? data.enhancedDigitalTeam : [];
|
|
11
|
+
const agents = team.map((agent, i) => ({
|
|
12
|
+
name: agent.name || `Agent ${i + 1}`,
|
|
13
|
+
role: agent.role || agent.instructions?.role || '',
|
|
14
|
+
type: agent.agentRole || agent.orchestrationRole || agent.type || 'Worker',
|
|
15
|
+
supervisionLevel: agent.supervisionLevel || 'Supervised',
|
|
16
|
+
}));
|
|
17
|
+
// Phase summary (names + durations, no workstream details)
|
|
18
|
+
const phases = Array.isArray(data.phases) ? data.phases : [];
|
|
19
|
+
const phaseSummary = phases.map((p) => ({
|
|
20
|
+
name: p.name || '',
|
|
21
|
+
durationWeeks: p.durationWeeks,
|
|
22
|
+
phaseCost: p.phaseCost || '',
|
|
23
|
+
}));
|
|
24
|
+
// Platform snapshot
|
|
25
|
+
const pr = data.platformRecommendation && typeof data.platformRecommendation === 'object'
|
|
26
|
+
? data.platformRecommendation
|
|
27
|
+
: {};
|
|
28
|
+
const pp = pr.primaryPlatform && typeof pr.primaryPlatform === 'object'
|
|
29
|
+
? pr.primaryPlatform
|
|
30
|
+
: {};
|
|
31
|
+
return {
|
|
32
|
+
id: blueprint.id,
|
|
33
|
+
version: blueprint.version,
|
|
34
|
+
lifecycleStatus: blueprint.lifecycleStatus,
|
|
35
|
+
title: data.title || data.blueprintTitle || '',
|
|
36
|
+
executiveSummary: data.executiveSummary || '',
|
|
37
|
+
agenticPattern: data.agenticPattern || 'Multi-Agent',
|
|
38
|
+
platform: pp.name || 'Vendor-Agnostic',
|
|
39
|
+
agentCount: agents.length,
|
|
40
|
+
agents,
|
|
41
|
+
phases: phaseSummary,
|
|
42
|
+
hint: 'For full agent specs, tools, guardrails, and architecture details, use download_blueprint to get the complete Agent Skills directory.',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export async function handleGetBlueprint(client, args) {
|
|
46
|
+
try {
|
|
47
|
+
const blueprint = await client.getBlueprint(args.blueprintId, args.customerOrgId);
|
|
48
|
+
const summary = summarizeBlueprint(blueprint);
|
|
49
|
+
return {
|
|
50
|
+
content: [
|
|
51
|
+
{
|
|
52
|
+
type: 'text',
|
|
53
|
+
text: JSON.stringify(summary, null, 2),
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
catch (err) {
|
|
59
|
+
return {
|
|
60
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
61
|
+
isError: true,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=get-blueprint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-blueprint.js","sourceRoot":"","sources":["../../src/tools/get-blueprint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;;;GAIG;AACH,SAAS,kBAAkB,CAAC,SAA0B;IACpD,MAAM,IAAI,GAAG,SAAS,CAAC,IAA+B,CAAC;IAEvD,kEAAkE;IAClE,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,CAAC;IACrF,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,KAA8B,EAAE,CAAS,EAAE,EAAE,CAAC,CAAC;QACtE,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,SAAS,CAAC,GAAG,CAAC,EAAE;QACpC,IAAI,EAAE,KAAK,CAAC,IAAI,IAAK,KAAK,CAAC,YAAwC,EAAE,IAAI,IAAI,EAAE;QAC/E,IAAI,EAAE,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,iBAAiB,IAAI,KAAK,CAAC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AM,EAAE,YAAY;QACpB,IAAI,EAAE,uIAAuI;KAC9I,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,MAA4B,EAC5B,IAAqD;IAErD,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAClF,MAAM,OAAO,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;QAC9C,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AgentBlueprintClient } from '../client.js';
|
|
2
|
+
export declare function handleGetBusinessCase(client: AgentBlueprintClient, args: {
|
|
3
|
+
blueprintId: string;
|
|
4
|
+
customerOrgId?: string;
|
|
5
|
+
}): Promise<{
|
|
6
|
+
content: {
|
|
7
|
+
type: "text";
|
|
8
|
+
text: string;
|
|
9
|
+
}[];
|
|
10
|
+
isError?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
content: {
|
|
13
|
+
type: "text";
|
|
14
|
+
text: string;
|
|
15
|
+
}[];
|
|
16
|
+
isError: boolean;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
/**
|
|
3
|
+
* Build a concise summary from a full business case response.
|
|
4
|
+
* Returns ~3-5K: executive summary, headline ROI, recommendation.
|
|
5
|
+
*/
|
|
6
|
+
function summarizeBusinessCase(bc) {
|
|
7
|
+
const data = bc.data;
|
|
8
|
+
const es = data.executiveSummary && typeof data.executiveSummary === 'object'
|
|
9
|
+
? data.executiveSummary
|
|
10
|
+
: {};
|
|
11
|
+
const benefits = data.benefits && typeof data.benefits === 'object'
|
|
12
|
+
? data.benefits
|
|
13
|
+
: {};
|
|
14
|
+
const qROI = benefits.quantifiedROI && typeof benefits.quantifiedROI === 'object'
|
|
15
|
+
? benefits.quantifiedROI
|
|
16
|
+
: {};
|
|
17
|
+
const pilotROI = qROI.pilotROI && typeof qROI.pilotROI === 'object'
|
|
18
|
+
? qROI.pilotROI
|
|
19
|
+
: {};
|
|
20
|
+
const recommendation = data.recommendation && typeof data.recommendation === 'object'
|
|
21
|
+
? data.recommendation
|
|
22
|
+
: {};
|
|
23
|
+
return {
|
|
24
|
+
id: bc.id,
|
|
25
|
+
version: bc.version,
|
|
26
|
+
blueprintId: bc.blueprintId,
|
|
27
|
+
executiveSummary: es,
|
|
28
|
+
roi: {
|
|
29
|
+
roi: qROI.roi || '',
|
|
30
|
+
npv: qROI.npv || '',
|
|
31
|
+
paybackPeriod: qROI.paybackPeriod || '',
|
|
32
|
+
},
|
|
33
|
+
pilotEconomics: {
|
|
34
|
+
pilotCost: pilotROI.pilotCost || '',
|
|
35
|
+
pilotBenefit: pilotROI.pilotBenefit || '',
|
|
36
|
+
pilotROI: pilotROI.pilotROI || '',
|
|
37
|
+
pilotDuration: pilotROI.pilotDuration || '',
|
|
38
|
+
},
|
|
39
|
+
recommendation: {
|
|
40
|
+
summary: recommendation.summary || recommendation.decision || '',
|
|
41
|
+
nextSteps: recommendation.nextSteps || recommendation.immediateActions || [],
|
|
42
|
+
},
|
|
43
|
+
hint: 'For full financial analysis, sensitivity, 5-year projection, and cost breakdown, use download_blueprint to get the complete Agent Skills directory.',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export async function handleGetBusinessCase(client, args) {
|
|
47
|
+
try {
|
|
48
|
+
const businessCase = await client.getBusinessCase(args.blueprintId, args.customerOrgId);
|
|
49
|
+
const summary = summarizeBusinessCase(businessCase);
|
|
50
|
+
return {
|
|
51
|
+
content: [
|
|
52
|
+
{
|
|
53
|
+
type: 'text',
|
|
54
|
+
text: JSON.stringify(summary, null, 2),
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
catch (err) {
|
|
60
|
+
return {
|
|
61
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
62
|
+
isError: true,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=get-business-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-business-case.js","sourceRoot":"","sources":["../../src/tools/get-business-case.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;;GAGG;AACH,SAAS,qBAAqB,CAAC,EAAoB;IACjD,MAAM,IAAI,GAAG,EAAE,CAAC,IAA+B,CAAC;IAEhD,MAAM,EAAE,GAAG,IAAI,CAAC,gBAAgB,IAAI,OAAO,IAAI,CAAC,gBAAgB,KAAK,QAAQ;QAC3E,CAAC,CAAC,IAAI,CAAC,gBAA2C;QAClD,CAAC,CAAC,EAAE,CAAC;IAEP,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,OAAO,IAAI,CAAC,QAAQ,KAAK,QAAQ;QACjE,CAAC,CAAC,IAAI,CAAC,QAAmC;QAC1C,CAAC,CAAC,EAAE,CAAC;IACP,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,IAAI,OAAO,QAAQ,CAAC,aAAa,KAAK,QAAQ;QAC/E,CAAC,CAAC,QAAQ,CAAC,aAAwC;QACnD,CAAC,CAAC,EAAE,CAAC;IAEP,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,OAAO,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B,CAAC,YAAY,CAAC,CAAC;QACpD,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AgentBlueprintClient } from '../client.js';
|
|
2
|
+
export declare function handleGetBusinessProfile(client: AgentBlueprintClient, customerOrgId?: string): Promise<{
|
|
3
|
+
content: {
|
|
4
|
+
type: "text";
|
|
5
|
+
text: string;
|
|
6
|
+
}[];
|
|
7
|
+
isError?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
content: {
|
|
10
|
+
type: "text";
|
|
11
|
+
text: string;
|
|
12
|
+
}[];
|
|
13
|
+
isError: boolean;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
export async function handleGetBusinessProfile(client, customerOrgId) {
|
|
3
|
+
try {
|
|
4
|
+
const profile = await client.getBusinessProfile(customerOrgId);
|
|
5
|
+
return {
|
|
6
|
+
content: [
|
|
7
|
+
{
|
|
8
|
+
type: 'text',
|
|
9
|
+
text: JSON.stringify(profile, null, 2),
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
catch (err) {
|
|
15
|
+
return {
|
|
16
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
17
|
+
isError: true,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=get-business-profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-business-profile.js","sourceRoot":"","sources":["../../src/tools/get-business-profile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAAC,MAA4B,EAAE,aAAsB;IACjG,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC;QAC/D,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AgentBlueprintClient } from '../client.js';
|
|
2
|
+
export declare function handleGetImplementationPlan(client: AgentBlueprintClient, args: {
|
|
3
|
+
blueprintId: string;
|
|
4
|
+
customerOrgId?: string;
|
|
5
|
+
}): Promise<{
|
|
6
|
+
content: {
|
|
7
|
+
type: "text";
|
|
8
|
+
text: string;
|
|
9
|
+
}[];
|
|
10
|
+
isError?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
content: {
|
|
13
|
+
type: "text";
|
|
14
|
+
text: string;
|
|
15
|
+
}[];
|
|
16
|
+
isError: boolean;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
/**
|
|
3
|
+
* Build a concise summary from a full implementation plan response.
|
|
4
|
+
* Returns ~3-5K: project overview, epic names + phases + story counts, timeline.
|
|
5
|
+
*/
|
|
6
|
+
function summarizeImplementationPlan(plan) {
|
|
7
|
+
const data = plan.data;
|
|
8
|
+
const overview = data.projectOverview && typeof data.projectOverview === 'object'
|
|
9
|
+
? data.projectOverview
|
|
10
|
+
: {};
|
|
11
|
+
// Epic summaries (name, phase, priority, story count — no full stories)
|
|
12
|
+
const epics = Array.isArray(data.epics) ? data.epics : [];
|
|
13
|
+
const epicSummaries = epics.map((e) => ({
|
|
14
|
+
name: e.name || '',
|
|
15
|
+
phase: e.phase || '',
|
|
16
|
+
priority: e.priority || '',
|
|
17
|
+
estimatedDuration: e.estimatedDuration || '',
|
|
18
|
+
storyCount: Array.isArray(e.stories) ? e.stories.length : 0,
|
|
19
|
+
}));
|
|
20
|
+
// Timeline
|
|
21
|
+
const resources = data.resources && typeof data.resources === 'object'
|
|
22
|
+
? data.resources
|
|
23
|
+
: {};
|
|
24
|
+
const timeline = resources.timeline && typeof resources.timeline === 'object'
|
|
25
|
+
? resources.timeline
|
|
26
|
+
: {};
|
|
27
|
+
// Agent spec count
|
|
28
|
+
const agentSpecs = Array.isArray(data.agentSpecifications) ? data.agentSpecifications.length : 0;
|
|
29
|
+
return {
|
|
30
|
+
id: plan.id,
|
|
31
|
+
version: plan.version,
|
|
32
|
+
blueprintId: plan.blueprintId,
|
|
33
|
+
projectOverview: {
|
|
34
|
+
projectName: overview.projectName || '',
|
|
35
|
+
executiveSummary: overview.executiveSummary || '',
|
|
36
|
+
scope: overview.scope || '',
|
|
37
|
+
},
|
|
38
|
+
epicCount: epicSummaries.length,
|
|
39
|
+
epics: epicSummaries,
|
|
40
|
+
timeline: {
|
|
41
|
+
totalDuration: timeline.totalDuration || '',
|
|
42
|
+
},
|
|
43
|
+
agentSpecificationCount: agentSpecs,
|
|
44
|
+
hint: 'For full stories, acceptance criteria, agent build specs, and dependencies, use download_blueprint to get the complete Agent Skills directory.',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export async function handleGetImplementationPlan(client, args) {
|
|
48
|
+
try {
|
|
49
|
+
const plan = await client.getImplementationPlan(args.blueprintId, args.customerOrgId);
|
|
50
|
+
const summary = summarizeImplementationPlan(plan);
|
|
51
|
+
return {
|
|
52
|
+
content: [
|
|
53
|
+
{
|
|
54
|
+
type: 'text',
|
|
55
|
+
text: JSON.stringify(summary, null, 2),
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
catch (err) {
|
|
61
|
+
return {
|
|
62
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
63
|
+
isError: true,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=get-implementation-plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-implementation-plan.js","sourceRoot":"","sources":["../../src/tools/get-implementation-plan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C;;;GAGG;AACH,SAAS,2BAA2B,CAAC,IAAsB;IACzD,MAAM,IAAI,GAAG,IAAI,CAAC,IAA+B,CAAC;IAElD,MAAM,QAAQ,GAAG,IAAI,CAAC,eAAe,IAAI,OAAO,IAAI,CAAC,eAAe,KAAK,QAAQ;QAC/E,CAAC,CAAC,IAAI,CAAC,eAA0C;QACjD,CAAC,CAAC,EAAE,CAAC;IAEP,wEAAwE;IACxE,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1D,MAAM,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAA0B,EAAE,EAAE,CAAC,CAAC;QAC/D,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE;QAClB,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI,EAAE;Q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AAE,gJAAgJ;KACvJ,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,MAA4B,EAC5B,IAAqD;IAErD,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QACtF,MAAM,OAAO,GAAG,2BAA2B,CAAC,IAAI,CAAC,CAAC;QAClD,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AgentBlueprintClient } from '../client.js';
|
|
2
|
+
export declare const getImplementationSpecTool: {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: "object";
|
|
7
|
+
properties: {
|
|
8
|
+
blueprintId: {
|
|
9
|
+
type: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
required: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare function handleGetImplementationSpec(client: AgentBlueprintClient, args: {
|
|
17
|
+
blueprintId: string;
|
|
18
|
+
customerOrgId?: string;
|
|
19
|
+
}): Promise<{
|
|
20
|
+
content: {
|
|
21
|
+
type: "text";
|
|
22
|
+
text: string;
|
|
23
|
+
}[];
|
|
24
|
+
isError?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
content: {
|
|
27
|
+
type: "text";
|
|
28
|
+
text: string;
|
|
29
|
+
}[];
|
|
30
|
+
isError: boolean;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
export const getImplementationSpecTool = {
|
|
3
|
+
name: 'get_implementation_spec',
|
|
4
|
+
description: 'Get the compiled implementation spec for a blueprint. Returns metadata about the spec package including agent count, platform, and what artifacts are included.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
blueprintId: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
description: 'The blueprint ID (UUID)',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
required: ['blueprintId'],
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
export async function handleGetImplementationSpec(client, args) {
|
|
17
|
+
try {
|
|
18
|
+
const spec = await client.getImplementationSpec(args.blueprintId, args.customerOrgId);
|
|
19
|
+
return {
|
|
20
|
+
content: [
|
|
21
|
+
{
|
|
22
|
+
type: 'text',
|
|
23
|
+
text: JSON.stringify(spec, null, 2),
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
catch (err) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=get-implementation-spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-implementation-spec.js","sourceRoot":"","sources":["../../src/tools/get-implementation-spec.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,iKAAiK;IAC9K,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yBAAyB;aACvC;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;CACF,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,MAA4B,EAC5B,IAAqD;IAErD,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QACtF,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;iBACpC;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AgentBlueprintClient } from '../client.js';
|
|
2
|
+
export declare const getUseCaseTool: {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: "object";
|
|
7
|
+
properties: {
|
|
8
|
+
blueprintId: {
|
|
9
|
+
type: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
required: string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare function handleGetUseCase(client: AgentBlueprintClient, args: {
|
|
17
|
+
blueprintId: string;
|
|
18
|
+
customerOrgId?: string;
|
|
19
|
+
}): Promise<{
|
|
20
|
+
content: {
|
|
21
|
+
type: "text";
|
|
22
|
+
text: string;
|
|
23
|
+
}[];
|
|
24
|
+
isError?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
content: {
|
|
27
|
+
type: "text";
|
|
28
|
+
text: string;
|
|
29
|
+
}[];
|
|
30
|
+
isError: boolean;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
export const getUseCaseTool = {
|
|
3
|
+
name: 'get_use_case',
|
|
4
|
+
description: 'Get the use case analysis linked to a blueprint. Returns business challenge, success metrics, ROI estimate, and strategic alignment.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {
|
|
8
|
+
blueprintId: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
description: 'The blueprint ID (UUID)',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
required: ['blueprintId'],
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
export async function handleGetUseCase(client, args) {
|
|
17
|
+
try {
|
|
18
|
+
const useCase = await client.getUseCase(args.blueprintId, args.customerOrgId);
|
|
19
|
+
return {
|
|
20
|
+
content: [
|
|
21
|
+
{
|
|
22
|
+
type: 'text',
|
|
23
|
+
text: JSON.stringify(useCase, null, 2),
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
catch (err) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=get-use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-use-case.js","sourceRoot":"","sources":["../../src/tools/get-use-case.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,sIAAsI;IACnJ,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yBAAyB;aACvC;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;CACF,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAA4B,EAC5B,IAAqD;IAErD,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;QAC9E,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AgentBlueprintClient } from '../client.js';
|
|
2
|
+
export declare const listBlueprintsTool: {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: "object";
|
|
7
|
+
properties: {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare function handleListBlueprints(client: AgentBlueprintClient, customerOrgId?: string): Promise<{
|
|
11
|
+
content: {
|
|
12
|
+
type: "text";
|
|
13
|
+
text: string;
|
|
14
|
+
}[];
|
|
15
|
+
isError?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
content: {
|
|
18
|
+
type: "text";
|
|
19
|
+
text: string;
|
|
20
|
+
}[];
|
|
21
|
+
isError: boolean;
|
|
22
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { formatError } from '../errors.js';
|
|
2
|
+
export const listBlueprintsTool = {
|
|
3
|
+
name: 'list_blueprints',
|
|
4
|
+
description: 'List all blueprints for the organization. Returns summaries with id, title, platform, agent count, and lifecycle status.',
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
properties: {},
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
export async function handleListBlueprints(client, customerOrgId) {
|
|
11
|
+
try {
|
|
12
|
+
const blueprints = await client.listBlueprints(customerOrgId);
|
|
13
|
+
return {
|
|
14
|
+
content: [
|
|
15
|
+
{
|
|
16
|
+
type: 'text',
|
|
17
|
+
text: JSON.stringify(blueprints, null, 2),
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
catch (err) {
|
|
23
|
+
return {
|
|
24
|
+
content: [{ type: 'text', text: formatError(err) }],
|
|
25
|
+
isError: true,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=list-blueprints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-blueprints.js","sourceRoot":"","sources":["../../src/tools/list-blueprints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,0HAA0H;IACvI,WAAW,EAAE;QACX,IAAI,EAAE,QAAiB;QACvB,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEF,MAAM,CAAC,KAAK,UAAU,oBAAoB,CAAC,MAA4B,EAAE,aAAsB;IAC7F,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAC9D,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;iBAC1C;aACF;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5D,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agentblueprint",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "CLI and MCP server for Agent Blueprint — read blueprints, business cases, implementation plans, and specs from your coding agent",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"agentblueprint": "dist/cli.js",
|
|
8
|
+
"agent-blueprint-mcp": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"dev": "tsc --watch",
|
|
17
|
+
"test": "vitest run",
|
|
18
|
+
"test:watch": "vitest",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"mcp",
|
|
23
|
+
"cli",
|
|
24
|
+
"agent-blueprint",
|
|
25
|
+
"ai",
|
|
26
|
+
"blueprint",
|
|
27
|
+
"model-context-protocol"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@modelcontextprotocol/sdk": "^1.27.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^20.0.0",
|
|
35
|
+
"typescript": "^5.5.0",
|
|
36
|
+
"vitest": "^3.0.0"
|
|
37
|
+
}
|
|
38
|
+
}
|