@http-forge/cli 0.3.0 → 0.3.1
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 +2 -0
- package/dist/commands/generate-ai-agent.d.ts +12 -0
- package/dist/commands/generate-ai-agent.d.ts.map +1 -0
- package/dist/commands/generate-ai-agent.js +38 -0
- package/dist/commands/generate-ai-agent.js.map +1 -0
- package/dist/commands/generate-ai-config.d.ts +14 -0
- package/dist/commands/generate-ai-config.d.ts.map +1 -0
- package/dist/commands/generate-ai-config.js +194 -0
- package/dist/commands/generate-ai-config.js.map +1 -0
- package/dist/commands.d.ts +2 -0
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +5 -1
- package/dist/commands.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -120,6 +120,8 @@ npm run build
|
|
|
120
120
|
| `http-forge qa ...` | One-shot API quality gate: discover, generate, run, report |
|
|
121
121
|
| `http-forge suggest-env ...` | Detect hardcoded values and suggest env vars |
|
|
122
122
|
| `http-forge refresh-agents-md` | Check `.http-forge/AGENTS.md` staleness (`--apply` refreshes with backup) |
|
|
123
|
+
| `http-forge generate-ai-agent` | Alias for `refresh-agents-md` (`--refresh` == `--apply`) |
|
|
124
|
+
| `http-forge generate-ai-config` | Create thin pointer files so AI tools discover `.http-forge/AGENTS.md` (`--tool claude\|copilot\|opencode\|cursor\|all`) |
|
|
123
125
|
| `http-forge schedule ...` | Generate scheduled CI workflow/cron config |
|
|
124
126
|
| `http-forge copy-as ...` | Export request as curl/fetch/python snippet |
|
|
125
127
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* generate-ai-agent command — alias for `refresh-agents-md`.
|
|
3
|
+
*
|
|
4
|
+
* http-forge generate-ai-agent [--workspace <root>] (dry-run status)
|
|
5
|
+
* http-forge generate-ai-agent --apply (backup + rewrite)
|
|
6
|
+
* http-forge generate-ai-agent --refresh (alias for --apply)
|
|
7
|
+
*
|
|
8
|
+
* Creates `.http-forge/AGENTS.md` if missing, or refreshes it when stale.
|
|
9
|
+
* All guide logic lives in `@http-forge/core` (agents-md).
|
|
10
|
+
*/
|
|
11
|
+
export declare function handleGenerateAiAgent(args: string[]): Promise<void>;
|
|
12
|
+
//# sourceMappingURL=generate-ai-agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-ai-agent.d.ts","sourceRoot":"","sources":["../../src/commands/generate-ai-agent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAGzE"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* generate-ai-agent command — alias for `refresh-agents-md`.
|
|
4
|
+
*
|
|
5
|
+
* http-forge generate-ai-agent [--workspace <root>] (dry-run status)
|
|
6
|
+
* http-forge generate-ai-agent --apply (backup + rewrite)
|
|
7
|
+
* http-forge generate-ai-agent --refresh (alias for --apply)
|
|
8
|
+
*
|
|
9
|
+
* Creates `.http-forge/AGENTS.md` if missing, or refreshes it when stale.
|
|
10
|
+
* All guide logic lives in `@http-forge/core` (agents-md).
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.handleGenerateAiAgent = handleGenerateAiAgent;
|
|
14
|
+
const refresh_agents_md_1 = require("./refresh-agents-md");
|
|
15
|
+
async function handleGenerateAiAgent(args) {
|
|
16
|
+
const mapped = args.map((arg) => (arg === '--refresh' ? '--apply' : arg));
|
|
17
|
+
await (0, refresh_agents_md_1.handleRefreshAgentsMd)(mapped);
|
|
18
|
+
}
|
|
19
|
+
function printUsage() {
|
|
20
|
+
process.stdout.write(`
|
|
21
|
+
Usage: http-forge generate-ai-agent [--workspace <root>] [--apply] [--refresh] [--output json|table]
|
|
22
|
+
|
|
23
|
+
Alias for refresh-agents-md. Check whether .http-forge/AGENTS.md is stale,
|
|
24
|
+
or generate/refresh it with --apply (or --refresh).
|
|
25
|
+
|
|
26
|
+
Options:
|
|
27
|
+
--workspace, -w <path> Workspace root (default: $HTTP_FORGE_WORKSPACE or cwd)
|
|
28
|
+
--apply Back up and rewrite the guide (default: status only)
|
|
29
|
+
--refresh Alias for --apply
|
|
30
|
+
--output, --json Output format: json (default) or table
|
|
31
|
+
|
|
32
|
+
Examples:
|
|
33
|
+
http-forge generate-ai-agent --workspace ./my-project
|
|
34
|
+
http-forge generate-ai-agent --apply
|
|
35
|
+
http-forge generate-ai-agent --refresh
|
|
36
|
+
`);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=generate-ai-agent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-ai-agent.js","sourceRoot":"","sources":["../../src/commands/generate-ai-agent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;AAIH,sDAGC;AALD,2DAA4D;AAErD,KAAK,UAAU,qBAAqB,CAAC,IAAc;IACxD,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,KAAK,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1E,MAAM,IAAA,yCAAqB,EAAC,MAAM,CAAC,CAAC;AACtC,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;CAgBtB,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* generate-ai-config command — create pointer files so AI tools discover
|
|
3
|
+
* the HTTP Forge guide in `.http-forge/AGENTS.md`.
|
|
4
|
+
*
|
|
5
|
+
* http-forge generate-ai-config --tool claude (dry-run status)
|
|
6
|
+
* http-forge generate-ai-config --tool all --apply
|
|
7
|
+
* http-forge generate-ai-config --tool cursor --template --apply
|
|
8
|
+
*
|
|
9
|
+
* Supported tools: claude, copilot, opencode, cursor, all.
|
|
10
|
+
* Dry-run by default; pass --apply to write files.
|
|
11
|
+
* --template writes a richer shim with tool-specific frontmatter.
|
|
12
|
+
*/
|
|
13
|
+
export declare function handleGenerateAiConfig(args: string[]): Promise<void>;
|
|
14
|
+
//# sourceMappingURL=generate-ai-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-ai-config.d.ts","sourceRoot":"","sources":["../../src/commands/generate-ai-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA4DH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAoE1E"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* generate-ai-config command — create pointer files so AI tools discover
|
|
4
|
+
* the HTTP Forge guide in `.http-forge/AGENTS.md`.
|
|
5
|
+
*
|
|
6
|
+
* http-forge generate-ai-config --tool claude (dry-run status)
|
|
7
|
+
* http-forge generate-ai-config --tool all --apply
|
|
8
|
+
* http-forge generate-ai-config --tool cursor --template --apply
|
|
9
|
+
*
|
|
10
|
+
* Supported tools: claude, copilot, opencode, cursor, all.
|
|
11
|
+
* Dry-run by default; pass --apply to write files.
|
|
12
|
+
* --template writes a richer shim with tool-specific frontmatter.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
17
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
18
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(o, k2, desc);
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
31
|
+
var ownKeys = function(o) {
|
|
32
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
33
|
+
var ar = [];
|
|
34
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
35
|
+
return ar;
|
|
36
|
+
};
|
|
37
|
+
return ownKeys(o);
|
|
38
|
+
};
|
|
39
|
+
return function (mod) {
|
|
40
|
+
if (mod && mod.__esModule) return mod;
|
|
41
|
+
var result = {};
|
|
42
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
43
|
+
__setModuleDefault(result, mod);
|
|
44
|
+
return result;
|
|
45
|
+
};
|
|
46
|
+
})();
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.handleGenerateAiConfig = handleGenerateAiConfig;
|
|
49
|
+
const fs = __importStar(require("fs"));
|
|
50
|
+
const path = __importStar(require("path"));
|
|
51
|
+
const THIN = {
|
|
52
|
+
claude: 'See .http-forge/AGENTS.md for the HTTP Forge AI guide.\n',
|
|
53
|
+
copilot: 'See .http-forge/AGENTS.md for the HTTP Forge AI guide.\n',
|
|
54
|
+
opencode: 'See .http-forge/AGENTS.md for the HTTP Forge AI guide.\n',
|
|
55
|
+
cursor: '---\nalwaysApply: true\n---\n\nSee .http-forge/AGENTS.md for the HTTP Forge AI guide.\n',
|
|
56
|
+
};
|
|
57
|
+
const SHARED_BODY = `# HTTP Forge
|
|
58
|
+
|
|
59
|
+
Before generating or editing any HTTP Forge collection, request, suite, or script,
|
|
60
|
+
read \`.http-forge/AGENTS.md\` in the workspace root. It contains the folder
|
|
61
|
+
layout, JSON schemas, decision tree (direct file access vs CLI vs MCP), and
|
|
62
|
+
test-generation best practices.
|
|
63
|
+
|
|
64
|
+
Quick reference:
|
|
65
|
+
- Run a collection: \`http-forge run collection <name> --env <env> --json\`
|
|
66
|
+
- Run a suite: \`http-forge run suite <name> --json\`
|
|
67
|
+
- Design an API from intent: \`http-forge architect "<intent>" --apply\`
|
|
68
|
+
- QA gate: \`http-forge qa --path <project> --collection <ref> --base-url <url>\`
|
|
69
|
+
`;
|
|
70
|
+
const RICH = {
|
|
71
|
+
claude: `---
|
|
72
|
+
description: HTTP Forge AI guide — read .http-forge/AGENTS.md before generating or editing requests, suites, or scripts.
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
` + SHARED_BODY,
|
|
76
|
+
copilot: `---
|
|
77
|
+
applyTo: "**"
|
|
78
|
+
description: HTTP Forge AI guide — read .http-forge/AGENTS.md before generating or editing requests, suites, or scripts.
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
` + SHARED_BODY,
|
|
82
|
+
opencode: `---
|
|
83
|
+
description: HTTP Forge AI guide — read .http-forge/AGENTS.md before generating or editing requests, suites, or scripts.
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
` + SHARED_BODY,
|
|
87
|
+
cursor: `---
|
|
88
|
+
alwaysApply: true
|
|
89
|
+
description: HTTP Forge AI guide — read .http-forge/AGENTS.md before generating or editing requests, suites, or scripts.
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
` + SHARED_BODY,
|
|
93
|
+
};
|
|
94
|
+
const FILES = {
|
|
95
|
+
claude: '.claude/commands/http-forge.md',
|
|
96
|
+
copilot: '.github/copilot-instructions.md',
|
|
97
|
+
opencode: '.opencode/commands/http-forge.md',
|
|
98
|
+
cursor: '.cursor/rules/http-forge.mdc',
|
|
99
|
+
};
|
|
100
|
+
const ALL_TOOLS = ['claude', 'copilot', 'opencode', 'cursor'];
|
|
101
|
+
async function handleGenerateAiConfig(args) {
|
|
102
|
+
if (args[0] === '--help' || args[0] === '-h') {
|
|
103
|
+
printUsage();
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
let tool = 'all';
|
|
107
|
+
let workspace;
|
|
108
|
+
let outputFormat = 'json';
|
|
109
|
+
let apply = false;
|
|
110
|
+
let template = false;
|
|
111
|
+
for (let i = 0; i < args.length; i++) {
|
|
112
|
+
const arg = args[i];
|
|
113
|
+
if (arg === '--tool' && i + 1 < args.length)
|
|
114
|
+
tool = args[++i];
|
|
115
|
+
else if ((arg === '--workspace' || arg === '-w') && i + 1 < args.length)
|
|
116
|
+
workspace = args[++i];
|
|
117
|
+
else if (arg === '--apply')
|
|
118
|
+
apply = true;
|
|
119
|
+
else if (arg === '--template')
|
|
120
|
+
template = true;
|
|
121
|
+
else if (arg === '--json')
|
|
122
|
+
outputFormat = 'json';
|
|
123
|
+
else if (arg === '--output' && i + 1 < args.length)
|
|
124
|
+
outputFormat = args[++i] === 'table' ? 'table' : 'json';
|
|
125
|
+
}
|
|
126
|
+
const root = workspace ?? process.env.HTTP_FORGE_WORKSPACE ?? process.cwd();
|
|
127
|
+
const tools = tool === 'all' ? ALL_TOOLS : [tool];
|
|
128
|
+
const results = [];
|
|
129
|
+
for (const t of tools) {
|
|
130
|
+
const shimPath = FILES[t];
|
|
131
|
+
if (!shimPath) {
|
|
132
|
+
results.push({ tool: t, path: '', status: 'unknown tool' });
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
const target = path.join(root, shimPath);
|
|
136
|
+
const content = template ? RICH[t] : THIN[t];
|
|
137
|
+
const exists = fs.existsSync(target);
|
|
138
|
+
if (!apply) {
|
|
139
|
+
results.push({ tool: t, path: target, status: exists ? 'exists' : 'missing' });
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
fs.mkdirSync(path.dirname(target), { recursive: true });
|
|
143
|
+
if (exists) {
|
|
144
|
+
const current = fs.readFileSync(target, 'utf-8');
|
|
145
|
+
if (!current.includes('.http-forge/AGENTS.md')) {
|
|
146
|
+
fs.appendFileSync(target, '\n' + content, 'utf-8');
|
|
147
|
+
results.push({ tool: t, path: target, status: 'appended' });
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
results.push({ tool: t, path: target, status: 'already configured' });
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
fs.writeFileSync(target, content, 'utf-8');
|
|
155
|
+
results.push({ tool: t, path: target, status: 'created' });
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (outputFormat === 'json') {
|
|
159
|
+
process.stdout.write(JSON.stringify({ tool, apply, template, results }, null, 2) + '\n');
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
console.log(`Tool: ${tool}`);
|
|
163
|
+
console.log(`Apply: ${apply}`);
|
|
164
|
+
console.log(`Template: ${template}`);
|
|
165
|
+
for (const r of results) {
|
|
166
|
+
console.log(` ${r.tool}: ${r.status} (${r.path})`);
|
|
167
|
+
}
|
|
168
|
+
if (!apply) {
|
|
169
|
+
console.log('\nRe-run with --apply to write the shim files.');
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
function printUsage() {
|
|
173
|
+
process.stdout.write(`
|
|
174
|
+
Usage: http-forge generate-ai-config --tool <name> [options]
|
|
175
|
+
|
|
176
|
+
Create thin pointer files so AI tools discover the HTTP Forge guide in
|
|
177
|
+
.http-forge/AGENTS.md. Dry-run by default; pass --apply to write files.
|
|
178
|
+
Use --template for a richer shim with tool-specific frontmatter.
|
|
179
|
+
|
|
180
|
+
Options:
|
|
181
|
+
--tool <name> claude | copilot | opencode | cursor | all (default: all)
|
|
182
|
+
--template Write a richer shim with tool-specific frontmatter
|
|
183
|
+
--workspace, -w <path> Workspace root (default: $HTTP_FORGE_WORKSPACE or cwd)
|
|
184
|
+
--apply Write the shim files (default: status only)
|
|
185
|
+
--output, --json Output format: json (default) or table
|
|
186
|
+
|
|
187
|
+
Examples:
|
|
188
|
+
http-forge generate-ai-config --tool claude --apply
|
|
189
|
+
http-forge generate-ai-config --tool all --apply
|
|
190
|
+
http-forge generate-ai-config --tool cursor --template --apply
|
|
191
|
+
http-forge generate-ai-config --tool copilot
|
|
192
|
+
`);
|
|
193
|
+
}
|
|
194
|
+
//# sourceMappingURL=generate-ai-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-ai-config.js","sourceRoot":"","sources":["../../src/commands/generate-ai-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DH,wDAoEC;AA9HD,uCAAyB;AACzB,2CAA6B;AAE7B,MAAM,IAAI,GAA2B;IACnC,MAAM,EAAE,0DAA0D;IAClE,OAAO,EAAE,0DAA0D;IACnE,QAAQ,EAAE,0DAA0D;IACpE,MAAM,EAAE,yFAAyF;CAClG,CAAC;AAEF,MAAM,WAAW,GAAG;;;;;;;;;;;;CAYnB,CAAC;AAEF,MAAM,IAAI,GAA2B;IACnC,MAAM,EAAE;;;;CAIT,GAAG,WAAW;IACb,OAAO,EAAE;;;;;CAKV,GAAG,WAAW;IACb,QAAQ,EAAE;;;;CAIX,GAAG,WAAW;IACb,MAAM,EAAE;;;;;CAKT,GAAG,WAAW;CACd,CAAC;AAEF,MAAM,KAAK,GAA2B;IACpC,MAAM,EAAE,gCAAgC;IACxC,OAAO,EAAE,iCAAiC;IAC1C,QAAQ,EAAE,kCAAkC;IAC5C,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;AAEvD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AC,CAAC,IAAI,GAAG,CAAC,CAAC;IACtD,CAAC;IACD,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;IAChE,CAAC;AACH,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;CAmBtB,CAAC,CAAC;AACH,CAAC"}
|
package/dist/commands.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export { handleGenerateWorkflow } from './commands/generate-workflow';
|
|
|
16
16
|
export { handleDrift } from './commands/drift';
|
|
17
17
|
export { handleQa } from './commands/qa';
|
|
18
18
|
export { handleRefreshAgentsMd } from './commands/refresh-agents-md';
|
|
19
|
+
export { handleGenerateAiAgent } from './commands/generate-ai-agent';
|
|
20
|
+
export { handleGenerateAiConfig } from './commands/generate-ai-config';
|
|
19
21
|
export { handleReview } from './commands/review';
|
|
20
22
|
export { handleGenerate } from './commands/generate';
|
|
21
23
|
export { handleGenerateCollection } from './commands/generate-collection';
|
package/dist/commands.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,O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Y,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EACH,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,cAAc,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/commands.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* src/output/format.ts — ParsedArgs, parseArgs, outputResult, finalizeCiReports, ...
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.handleSuggestEnv = exports.handleSchedule = exports.handleRunSuite = exports.handleRunRequest = exports.handleRunGroup = exports.handleRunFolder = exports.handleRunCollection = exports.handleCopyAs = exports.handleMcpServer = exports.handleMcpGroup = exports.handleReleaseNotes = exports.handleList = exports.handleLaunch = exports.handleGenerateCollection = exports.handleGenerate = exports.handleReview = exports.handleRefreshAgentsMd = exports.handleQa = exports.handleDrift = exports.handleGenerateWorkflow = exports.handleGenerateSuite = exports.handleArchitect = exports.handleDiscover = exports.handleEnvImport = exports.handleEnv = void 0;
|
|
13
|
+
exports.handleSuggestEnv = exports.handleSchedule = exports.handleRunSuite = exports.handleRunRequest = exports.handleRunGroup = exports.handleRunFolder = exports.handleRunCollection = exports.handleCopyAs = exports.handleMcpServer = exports.handleMcpGroup = exports.handleReleaseNotes = exports.handleList = exports.handleLaunch = exports.handleGenerateCollection = exports.handleGenerate = exports.handleReview = exports.handleGenerateAiConfig = exports.handleGenerateAiAgent = exports.handleRefreshAgentsMd = exports.handleQa = exports.handleDrift = exports.handleGenerateWorkflow = exports.handleGenerateSuite = exports.handleArchitect = exports.handleDiscover = exports.handleEnvImport = exports.handleEnv = void 0;
|
|
14
14
|
var env_1 = require("./commands/env");
|
|
15
15
|
Object.defineProperty(exports, "handleEnv", { enumerable: true, get: function () { return env_1.handleEnv; } });
|
|
16
16
|
Object.defineProperty(exports, "handleEnvImport", { enumerable: true, get: function () { return env_1.handleEnvImport; } });
|
|
@@ -28,6 +28,10 @@ var qa_1 = require("./commands/qa");
|
|
|
28
28
|
Object.defineProperty(exports, "handleQa", { enumerable: true, get: function () { return qa_1.handleQa; } });
|
|
29
29
|
var refresh_agents_md_1 = require("./commands/refresh-agents-md");
|
|
30
30
|
Object.defineProperty(exports, "handleRefreshAgentsMd", { enumerable: true, get: function () { return refresh_agents_md_1.handleRefreshAgentsMd; } });
|
|
31
|
+
var generate_ai_agent_1 = require("./commands/generate-ai-agent");
|
|
32
|
+
Object.defineProperty(exports, "handleGenerateAiAgent", { enumerable: true, get: function () { return generate_ai_agent_1.handleGenerateAiAgent; } });
|
|
33
|
+
var generate_ai_config_1 = require("./commands/generate-ai-config");
|
|
34
|
+
Object.defineProperty(exports, "handleGenerateAiConfig", { enumerable: true, get: function () { return generate_ai_config_1.handleGenerateAiConfig; } });
|
|
31
35
|
var review_1 = require("./commands/review");
|
|
32
36
|
Object.defineProperty(exports, "handleReview", { enumerable: true, get: function () { return review_1.handleReview; } });
|
|
33
37
|
var generate_1 = require("./commands/generate");
|
package/dist/commands.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,sCAA4D;AAAnD,gGAAA,SAAS,OAAA;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CAA+C;AAAtC,oGAAA,WAAW,OAAA;AACpB,oCAAyC;AAAhC,8FAAA,QAAQ,OAAA;AACjB,kEAAqE;AAA5D,0HAAA,qBAAqB,OAAA;AAC9B,kEAAqE;AAA5D,0HAAA,qBAAqB,OAAA;AAC9B,oEAAuE;AAA9D,4HAAA,sBAAsB,OAAA;AAC/B,4CAAiD;AAAxC,sGAAA,YAAY,OAAA;AACrB,gDAAqD;AAA5C,0GAAA,cAAc,OAAA;AACvB,sEAA0E;AAAjE,+HAAA,wBAAwB,OAAA;AACjC,4CAAiD;AAAxC,sGAAA,YAAY,OAAA;AACrB,wCAA6C;AAApC,kGAAA,UAAU,OAAA;AACnB,0DAA8D;AAArD,mHAAA,kBAAkB,OAAA;AAC3B,sCAAiE;AAAxD,qGAAA,cAAc,OAAA;AAAE,sGAAA,eAAe,OAAA;AACxC,sCAOwB;AANpB,mGAAA,YAAY,OAAA;AACZ,0GAAA,mBAAmB,OAAA;AACnB,sGAAA,eAAe,OAAA;AACf,qGAAA,cAAc,OAAA;AACd,uGAAA,gBAAgB,OAAA;AAChB,qGAAA,cAAc,OAAA;AAElB,gDAAqD;AAA5C,0GAAA,cAAc,OAAA;AACvB,sDAA0D;AAAjD,+GAAA,gBAAgB,OAAA"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA2BH,wBAAsB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAoN1C"}
|
package/dist/index.js
CHANGED
|
@@ -141,6 +141,20 @@ async function main() {
|
|
|
141
141
|
}
|
|
142
142
|
await (0, commands_1.handleRefreshAgentsMd)(subArgs);
|
|
143
143
|
break;
|
|
144
|
+
case 'generate-ai-agent':
|
|
145
|
+
if (isHelpFlag(subArgs[0])) {
|
|
146
|
+
await (0, commands_1.handleGenerateAiAgent)(['--help']);
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
await (0, commands_1.handleGenerateAiAgent)(subArgs);
|
|
150
|
+
break;
|
|
151
|
+
case 'generate-ai-config':
|
|
152
|
+
if (isHelpFlag(subArgs[0])) {
|
|
153
|
+
await (0, commands_1.handleGenerateAiConfig)(['--help']);
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
await (0, commands_1.handleGenerateAiConfig)(subArgs);
|
|
157
|
+
break;
|
|
144
158
|
case 'review':
|
|
145
159
|
if (isHelpFlag(subArgs[0])) {
|
|
146
160
|
await (0, commands_1.handleReview)(['--help']);
|
|
@@ -394,6 +408,20 @@ COMMANDS:
|
|
|
394
408
|
--apply Back up to AGENTS.md.bak and write the latest template
|
|
395
409
|
--output <fmt> Output format: json or table (default: json)
|
|
396
410
|
|
|
411
|
+
generate-ai-agent Alias for refresh-agents-md (--refresh == --apply)
|
|
412
|
+
Options:
|
|
413
|
+
--workspace <path> Workspace root (default: $HTTP_FORGE_WORKSPACE or cwd)
|
|
414
|
+
--apply Back up to AGENTS.md.bak and write the latest template
|
|
415
|
+
--refresh Alias for --apply
|
|
416
|
+
--output <fmt> Output format: json or table (default: json)
|
|
417
|
+
|
|
418
|
+
generate-ai-config Create thin pointer files so AI tools discover .http-forge/AGENTS.md
|
|
419
|
+
Options:
|
|
420
|
+
--tool <name> claude | copilot | opencode | cursor | all (default: all)
|
|
421
|
+
--workspace <path> Workspace root (default: $HTTP_FORGE_WORKSPACE or cwd)
|
|
422
|
+
--apply Write the shim files (default: status only)
|
|
423
|
+
--output <fmt> Output format: json or table (default: json)
|
|
424
|
+
|
|
397
425
|
review Phase 3 review gate: run deterministic rules over a suite run
|
|
398
426
|
Options:
|
|
399
427
|
--run-results <file> JSON with run results ({ allResults } or a bare array)
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AA2BH,oBAoNC;AA7OD,yCAuBoB;AAEb,KAAK,UAAU,IAAI;IACxB,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAEnC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,UAAU,EAAE,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACxB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAE9B,IAAI,CAAC;QACH,QAAQ,OAAO,EAAE,CAAC;YAChB,KAAK,KAAK;gBACR,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBAC3B,MAAM,IAAA,yBAAc,EAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;oBACjC,MAAM;gBACR,CAAC;gBACD,MAAM,IAAA,yBAAc,EAAC,OAAO,CAAC,CAAC;gBAC9B,MAAM;YAER,KAAK,KAAK;gBACR,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBAC3B,MAAM,IAAA,yBAAc,EAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;oBACjC,MAAM;gBACR,CAAC;gBACD,MAAM,IAAA,yBAAc,EAAC,OAAO,CAAC,CAAC;gBAC9B,MAAM;YAER,KAAK,SAAS;gBACZ,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;oBAC3B,MAAM,IAAA,uBAAY,EAAC,CAAC,Q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": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Standalone HTTP Forge launcher and Postman alternative for UI mode, API testing, CI/CD, and MCP server automation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@http-forge/codegen": "^0.1.10",
|
|
60
|
-
"@http-forge/core": "^0.7.
|
|
60
|
+
"@http-forge/core": "^0.7.1",
|
|
61
61
|
"java-parser": "^0.3.2",
|
|
62
62
|
"socket.io-client": "^4.8.1",
|
|
63
63
|
"ws": "^8.22.0"
|