agent-md-generator 0.1.2 → 0.1.3
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 +13 -3
- package/dist/cli.js +4 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# agent-md-generator
|
|
2
2
|
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> **Recommended Version: Please use version 0.1.3**
|
|
5
|
+
>
|
|
6
|
+
> Version `0.1.3` is a critical stability release that immediately resolves two core bugs found in the initial `0.1.1` and `0.1.2` publications:
|
|
7
|
+
> - **NPM Monorepo Protocol Resolution**: Moved workspace dependencies to `devDependencies` to eliminate the `EUNSUPPORTEDPROTOCOL: workspace:*` installation error when running via `npx`.
|
|
8
|
+
> - **AI Stream Rendering Fix**: Switched the underlying AI streaming driver from `fullStream` to the robust native `textStream` to prevent terminal stream rendering crashes when API responses contain empty or undefined chunks.
|
|
9
|
+
>
|
|
10
|
+
> If you previously installed or ran `agent-md-generator`, please upgrade or clear your `npx` cache to ensure you are running `0.1.3` for a completely stable, production-ready experience.
|
|
11
|
+
|
|
3
12
|
An interactive command-line interface (CLI) terminal wizard designed to generate production-grade developer profile configurations, including AGENT.md (Kiro), CLAUDE.md (Claude Code), .cursorrules (Cursor), .windsurfrules (Windsurf), and copilot-instructions.md (GitHub Copilot).
|
|
4
13
|
|
|
5
14
|
It automatically scans your project, builds a recursive directory tree, auto-detects your primary technology stack, prompts you with tailored architectural questions, and streams highly optimized AI instructions in real-time.
|
|
@@ -99,9 +108,10 @@ Select which developer profiles you want to generate in a single run:
|
|
|
99
108
|
|
|
100
109
|
The V2 release marks a major evolution, transitioning the project from a single web utility to a comprehensive, multi-platform monorepo architecture.
|
|
101
110
|
|
|
102
|
-
### Version 0.1.
|
|
103
|
-
A rapid
|
|
104
|
-
- **
|
|
111
|
+
### Version 0.1.3 (Stability & Bug Fix Release)
|
|
112
|
+
A rapid patch release to resolve two critical issues found in the initial launches:
|
|
113
|
+
- **AI Stream Rendering Fix**: Switched the underlying AI streaming driver from `fullStream` to the robust native `textStream` in `packages/cli/src/generate.ts`. This completely prevents terminal stream rendering crashes when API responses contain empty or undefined chunks.
|
|
114
|
+
- **Workspace Dependency Resolution**: Moved `@agent-md/shared` from `dependencies` to `devDependencies` since it is fully static-bundled into the final `dist/cli.js` file at compile-time by `tsup`. This completely resolves the `EUNSUPPORTEDPROTOCOL: workspace:*` installation error when users run the CLI via `npx`.
|
|
105
115
|
- **NPM Package Verification Fix**: Cleaned up the `"bin"` path definition in `package.json` to eliminate NPM registry warnings during publishing.
|
|
106
116
|
|
|
107
117
|
### What was in V1:
|
package/dist/cli.js
CHANGED
|
@@ -1088,18 +1088,16 @@ function createLanguageModel(config, apiKey) {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
async function callModel(config, apiKey, prompt, onChunk) {
|
|
1090
1090
|
const model = createLanguageModel(config, apiKey);
|
|
1091
|
-
const {
|
|
1091
|
+
const { textStream } = streamText({
|
|
1092
1092
|
model,
|
|
1093
1093
|
prompt,
|
|
1094
1094
|
temperature: 0.3,
|
|
1095
1095
|
maxOutputTokens: 8e3
|
|
1096
1096
|
});
|
|
1097
1097
|
let fullText = "";
|
|
1098
|
-
for await (const
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
onChunk(part.textDelta);
|
|
1102
|
-
}
|
|
1098
|
+
for await (const chunk of textStream) {
|
|
1099
|
+
fullText += chunk;
|
|
1100
|
+
onChunk(chunk);
|
|
1103
1101
|
}
|
|
1104
1102
|
return fullText;
|
|
1105
1103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-md-generator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Generate production-grade AGENT.md files via an interactive terminal wizard.",
|
|
5
5
|
"keywords": ["agent", "ai", "claude", "cursor", "kiro", "copilot", "cli", "generator"],
|
|
6
6
|
"homepage": "https://agent-md-generator.edwinfom.dev",
|