@stackbilt/cli 0.15.1 → 1.0.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.
Files changed (114) hide show
  1. package/dist/__tests__/adf-init.test.js +31 -0
  2. package/dist/__tests__/adf-init.test.js.map +1 -1
  3. package/dist/__tests__/adf-patch.test.d.ts +2 -0
  4. package/dist/__tests__/adf-patch.test.d.ts.map +1 -0
  5. package/dist/__tests__/adf-patch.test.js +192 -0
  6. package/dist/__tests__/adf-patch.test.js.map +1 -0
  7. package/dist/__tests__/bootstrap.test.js +107 -0
  8. package/dist/__tests__/bootstrap.test.js.map +1 -1
  9. package/dist/__tests__/context-refresh-repo-intel.test.d.ts +9 -0
  10. package/dist/__tests__/context-refresh-repo-intel.test.d.ts.map +1 -0
  11. package/dist/__tests__/context-refresh-repo-intel.test.js +228 -0
  12. package/dist/__tests__/context-refresh-repo-intel.test.js.map +1 -0
  13. package/dist/__tests__/context-refresh.test.d.ts +2 -0
  14. package/dist/__tests__/context-refresh.test.d.ts.map +1 -0
  15. package/dist/__tests__/context-refresh.test.js +198 -0
  16. package/dist/__tests__/context-refresh.test.js.map +1 -0
  17. package/dist/__tests__/context.test.js +62 -0
  18. package/dist/__tests__/context.test.js.map +1 -1
  19. package/dist/__tests__/hook.test.js +25 -0
  20. package/dist/__tests__/hook.test.js.map +1 -1
  21. package/dist/__tests__/score.test.js +58 -0
  22. package/dist/__tests__/score.test.js.map +1 -1
  23. package/dist/__tests__/serve-context.test.d.ts +2 -0
  24. package/dist/__tests__/serve-context.test.d.ts.map +1 -0
  25. package/dist/__tests__/serve-context.test.js +112 -0
  26. package/dist/__tests__/serve-context.test.js.map +1 -0
  27. package/dist/__tests__/setup.test.js +48 -0
  28. package/dist/__tests__/setup.test.js.map +1 -1
  29. package/dist/__tests__/why.test.d.ts +2 -0
  30. package/dist/__tests__/why.test.d.ts.map +1 -0
  31. package/dist/__tests__/why.test.js +145 -0
  32. package/dist/__tests__/why.test.js.map +1 -0
  33. package/dist/commands/adf.d.ts +2 -2
  34. package/dist/commands/adf.d.ts.map +1 -1
  35. package/dist/commands/adf.js +94 -1
  36. package/dist/commands/adf.js.map +1 -1
  37. package/dist/commands/bootstrap.d.ts.map +1 -1
  38. package/dist/commands/bootstrap.js +145 -34
  39. package/dist/commands/bootstrap.js.map +1 -1
  40. package/dist/commands/context-refresh.d.ts +16 -0
  41. package/dist/commands/context-refresh.d.ts.map +1 -0
  42. package/dist/commands/context-refresh.js +841 -0
  43. package/dist/commands/context-refresh.js.map +1 -0
  44. package/dist/commands/context.d.ts.map +1 -1
  45. package/dist/commands/context.js +104 -7
  46. package/dist/commands/context.js.map +1 -1
  47. package/dist/commands/hook.d.ts +1 -0
  48. package/dist/commands/hook.d.ts.map +1 -1
  49. package/dist/commands/hook.js +30 -1
  50. package/dist/commands/hook.js.map +1 -1
  51. package/dist/commands/score.js +76 -14
  52. package/dist/commands/score.js.map +1 -1
  53. package/dist/commands/serve.d.ts +22 -1
  54. package/dist/commands/serve.d.ts.map +1 -1
  55. package/dist/commands/serve.js +206 -7
  56. package/dist/commands/serve.js.map +1 -1
  57. package/dist/commands/setup.d.ts.map +1 -1
  58. package/dist/commands/setup.js +47 -1
  59. package/dist/commands/setup.js.map +1 -1
  60. package/dist/commands/why.d.ts.map +1 -1
  61. package/dist/commands/why.js +44 -0
  62. package/dist/commands/why.js.map +1 -1
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +10 -28
  65. package/dist/index.js.map +1 -1
  66. package/package.json +27 -15
  67. package/dist/__tests__/auth-wiring.test.d.ts +0 -2
  68. package/dist/__tests__/auth-wiring.test.d.ts.map +0 -1
  69. package/dist/__tests__/auth-wiring.test.js +0 -158
  70. package/dist/__tests__/auth-wiring.test.js.map +0 -1
  71. package/dist/__tests__/credentials.test.d.ts +0 -2
  72. package/dist/__tests__/credentials.test.d.ts.map +0 -1
  73. package/dist/__tests__/credentials.test.js +0 -145
  74. package/dist/__tests__/credentials.test.js.map +0 -1
  75. package/dist/__tests__/deprecated-commands.test.d.ts +0 -2
  76. package/dist/__tests__/deprecated-commands.test.d.ts.map +0 -1
  77. package/dist/__tests__/deprecated-commands.test.js +0 -59
  78. package/dist/__tests__/deprecated-commands.test.js.map +0 -1
  79. package/dist/__tests__/login.test.d.ts +0 -2
  80. package/dist/__tests__/login.test.d.ts.map +0 -1
  81. package/dist/__tests__/login.test.js +0 -66
  82. package/dist/__tests__/login.test.js.map +0 -1
  83. package/dist/commands/architect.d.ts +0 -12
  84. package/dist/commands/architect.d.ts.map +0 -1
  85. package/dist/commands/architect.js +0 -167
  86. package/dist/commands/architect.js.map +0 -1
  87. package/dist/commands/deprecation-warning.d.ts +0 -4
  88. package/dist/commands/deprecation-warning.d.ts.map +0 -1
  89. package/dist/commands/deprecation-warning.js +0 -20
  90. package/dist/commands/deprecation-warning.js.map +0 -1
  91. package/dist/commands/login.d.ts +0 -13
  92. package/dist/commands/login.d.ts.map +0 -1
  93. package/dist/commands/login.js +0 -80
  94. package/dist/commands/login.js.map +0 -1
  95. package/dist/commands/run.d.ts +0 -18
  96. package/dist/commands/run.d.ts.map +0 -1
  97. package/dist/commands/run.js +0 -247
  98. package/dist/commands/run.js.map +0 -1
  99. package/dist/commands/scaffold.d.ts +0 -11
  100. package/dist/commands/scaffold.d.ts.map +0 -1
  101. package/dist/commands/scaffold.js +0 -112
  102. package/dist/commands/scaffold.js.map +0 -1
  103. package/dist/credentials.d.ts +0 -34
  104. package/dist/credentials.d.ts.map +0 -1
  105. package/dist/credentials.js +0 -108
  106. package/dist/credentials.js.map +0 -1
  107. package/dist/http-client.d.ts +0 -114
  108. package/dist/http-client.d.ts.map +0 -1
  109. package/dist/http-client.js +0 -69
  110. package/dist/http-client.js.map +0 -1
  111. package/dist/types/scaffold-contract-types.d.ts +0 -90
  112. package/dist/types/scaffold-contract-types.d.ts.map +0 -1
  113. package/dist/types/scaffold-contract-types.js +0 -22
  114. package/dist/types/scaffold-contract-types.js.map +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CACjC;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,MAAM,CAAgB;gBAElB,OAAO,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;IAK3D,MAAM,IAAI,OAAO,CAAC,cAAc,CAAC;IAMjC,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;IAkBlD,QAAQ,CAAC,OAAO,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,cAAc,CAAC;IAyB9H,OAAO,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAQtF"}
@@ -1,69 +0,0 @@
1
- "use strict";
2
- /**
3
- * HTTP client for the Stackbilt Engine API.
4
- *
5
- * Uses native fetch() (Node 18+). Zero external dependencies.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.EngineClient = void 0;
9
- const DEFAULT_BASE_URL = process.env.STACKBILT_ENGINE_URL ?? 'https://api.stackbilt.dev/engine';
10
- const GATEWAY_BASE_URL = 'https://mcp.stackbilt.dev';
11
- class EngineClient {
12
- baseUrl;
13
- apiKey;
14
- constructor(options) {
15
- this.baseUrl = (options.baseUrl ?? DEFAULT_BASE_URL).replace(/\/$/, '');
16
- this.apiKey = options.apiKey ?? null;
17
- }
18
- async health() {
19
- const res = await fetch(`${this.baseUrl}/health`);
20
- if (!res.ok)
21
- throw new Error(`Engine health check failed: ${res.status}`);
22
- return res.json();
23
- }
24
- async build(request) {
25
- const headers = { 'Content-Type': 'application/json' };
26
- if (this.apiKey)
27
- headers['Authorization'] = `Bearer ${this.apiKey}`;
28
- const res = await fetch(`${this.baseUrl}/build`, {
29
- method: 'POST',
30
- headers,
31
- body: JSON.stringify(request),
32
- });
33
- if (!res.ok) {
34
- const text = await res.text();
35
- throw new Error(`Engine build failed (${res.status}): ${text}`);
36
- }
37
- return res.json();
38
- }
39
- async scaffold(request) {
40
- if (!this.apiKey) {
41
- throw new Error('API key required for scaffold. Set STACKBILT_API_KEY in the environment, ' +
42
- 'or (deprecated) run `charter login --key sb_live_xxx`.');
43
- }
44
- const res = await fetch(`${GATEWAY_BASE_URL}/api/scaffold`, {
45
- method: 'POST',
46
- headers: {
47
- 'Content-Type': 'application/json',
48
- 'Authorization': `Bearer ${this.apiKey}`,
49
- },
50
- body: JSON.stringify(request),
51
- });
52
- if (!res.ok) {
53
- const text = await res.text();
54
- throw new Error(`Scaffold failed (${res.status}): ${text}`);
55
- }
56
- return res.json();
57
- }
58
- async catalog(category) {
59
- const url = new URL(`${this.baseUrl}/catalog`);
60
- if (category)
61
- url.searchParams.set('category', category);
62
- const res = await fetch(url.toString());
63
- if (!res.ok)
64
- throw new Error(`Engine catalog failed: ${res.status}`);
65
- return res.json();
66
- }
67
- }
68
- exports.EngineClient = EngineClient;
69
- //# sourceMappingURL=http-client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http-client.js","sourceRoot":"","sources":["../src/http-client.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,kCAAkC,CAAC;AAChG,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;AA0FrD,MAAa,YAAY;I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IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CACb,2EAA2E;gBACzE,wDAAwD,CAC3D,CAAC;QACJ,CAAC;QAED,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,gBAAgB,eAAe,EAAE;YAC1D,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;gBAClC,eAAe,EAAE,UAAU,IAAI,CAAC,MAAM,EAAE;aACzC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;SAC9B,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;YACZ,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,oBAAoB,GAAG,CAAC,MAAM,MAAM,IAAI,EAAE,CAAC,CAAC;QAC9D,CAAC;QAED,OAAO,GAAG,CAAC,IAAI,EAA6B,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,QAAiB;QAC7B,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;QAC/C,IAAI,QAAQ;YAAE,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAEzD,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxC,IAAI,CAAC,GAAG,CAAC,EAAE;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;QACrE,OAAO,GAAG,CAAC,IAAI,EAAyD,CAAC;IAC3E,CAAC;CACF;AAlED,oCAkEC"}
@@ -1,90 +0,0 @@
1
- /**
2
- * Vendored type definitions for the Stackbilt scaffold-response contract.
3
- *
4
- * These types are structurally copied from @stackbilt/contracts to avoid
5
- * a file: workspace dependency on an unpublished sibling repo. They are
6
- * type-only (erased at compile time, zero runtime cost) and are used
7
- * internally by http-client.ts — they are NOT re-exported from the public
8
- * CLI surface in src/index.ts.
9
- *
10
- * When @stackbilt/contracts is properly published to npm, this file can be
11
- * deleted and http-client.ts can re-import from the real package.
12
- *
13
- * Upstream source (as of @stackbilt/contracts@0.1.0):
14
- * contracts/dist/scaffold-response/scaffold-response.contract.d.ts
15
- *
16
- * Type aliases follow the upstream naming convention with the `Type` suffix
17
- * (e.g. `ScaffoldFile` → `ScaffoldFileType`), matching the re-exports in
18
- * contracts/dist/scaffold-response/index.d.ts.
19
- */
20
- export type FileRoleType = 'config' | 'scaffold' | 'governance' | 'test' | 'doc';
21
- export interface ScaffoldFileType {
22
- path: string;
23
- content: string;
24
- role: FileRoleType;
25
- }
26
- export interface GovernanceDocsType {
27
- threat_model: string;
28
- adr: string;
29
- test_plan: string;
30
- }
31
- export interface PromptContextMetaType {
32
- project_type: string;
33
- complexity: string;
34
- confidence: string;
35
- seed: number;
36
- }
37
- export interface PromptContextRequirementType {
38
- name: string;
39
- priority: string;
40
- effort: string;
41
- acceptance: string;
42
- }
43
- export interface PromptContextInterfaceType {
44
- name: string;
45
- layout: string;
46
- components: string;
47
- }
48
- export interface PromptContextThreatType {
49
- name: string;
50
- owasp: string;
51
- likelihood: string;
52
- impact: string;
53
- mitigation: string;
54
- detection: string;
55
- response_time: string;
56
- }
57
- export interface PromptContextRuntimeType {
58
- name: string;
59
- tier: string;
60
- traits: string;
61
- }
62
- export interface PromptContextTestPlanType {
63
- name: string;
64
- framework: string;
65
- ci_stage: string;
66
- coverage: string;
67
- setup: string;
68
- assertion_style: string;
69
- }
70
- export interface PromptContextFirstTaskType {
71
- name: string;
72
- estimate: string;
73
- complexity: string;
74
- deliverable: string;
75
- adr: string;
76
- }
77
- export interface PromptContextType {
78
- intention: string;
79
- pattern: string;
80
- meta: PromptContextMetaType;
81
- requirement: PromptContextRequirementType;
82
- interface: PromptContextInterfaceType;
83
- threat: PromptContextThreatType;
84
- runtime: PromptContextRuntimeType;
85
- test_plan: PromptContextTestPlanType;
86
- first_task: PromptContextFirstTaskType;
87
- governance: GovernanceDocsType;
88
- files: ScaffoldFileType[];
89
- }
90
- //# sourceMappingURL=scaffold-contract-types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scaffold-contract-types.d.ts","sourceRoot":"","sources":["../../src/types/scaffold-contract-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,KAAK,CAAC;AAEjF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,qBAAqB,CAAC;IAC5B,WAAW,EAAE,4BAA4B,CAAC;IAC1C,SAAS,EAAE,0BAA0B,CAAC;IACtC,MAAM,EAAE,uBAAuB,CAAC;IAChC,OAAO,EAAE,wBAAwB,CAAC;IAClC,SAAS,EAAE,yBAAyB,CAAC;IACrC,UAAU,EAAE,0BAA0B,CAAC;IACvC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vendored type definitions for the Stackbilt scaffold-response contract.
4
- *
5
- * These types are structurally copied from @stackbilt/contracts to avoid
6
- * a file: workspace dependency on an unpublished sibling repo. They are
7
- * type-only (erased at compile time, zero runtime cost) and are used
8
- * internally by http-client.ts — they are NOT re-exported from the public
9
- * CLI surface in src/index.ts.
10
- *
11
- * When @stackbilt/contracts is properly published to npm, this file can be
12
- * deleted and http-client.ts can re-import from the real package.
13
- *
14
- * Upstream source (as of @stackbilt/contracts@0.1.0):
15
- * contracts/dist/scaffold-response/scaffold-response.contract.d.ts
16
- *
17
- * Type aliases follow the upstream naming convention with the `Type` suffix
18
- * (e.g. `ScaffoldFile` → `ScaffoldFileType`), matching the re-exports in
19
- * contracts/dist/scaffold-response/index.d.ts.
20
- */
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- //# sourceMappingURL=scaffold-contract-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scaffold-contract-types.js","sourceRoot":"","sources":["../../src/types/scaffold-contract-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG"}