@hazeljs/cli 0.6.0 → 0.6.5
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/@template-ai-native/package.json +1 -1
- package/README.md +22 -1
- package/cli-manifest.json +940 -0
- package/dist/commands/add.d.ts +9 -0
- package/dist/commands/add.js +9 -0
- package/dist/commands/generate-auth.d.ts +12 -0
- package/dist/commands/generate-auth.js +12 -0
- package/dist/commands/generate-crud.d.ts +12 -0
- package/dist/commands/generate-crud.js +12 -0
- package/dist/commands/generate-dto.d.ts +12 -0
- package/dist/commands/generate-dto.js +12 -0
- package/dist/commands/generate-module.d.ts +12 -0
- package/dist/commands/generate-module.js +12 -0
- package/dist/commands/generate-simple.d.ts +53 -6
- package/dist/commands/generate-simple.js +42 -386
- package/dist/commands/info.d.ts +12 -0
- package/dist/commands/info.js +12 -0
- package/dist/commands/templates.d.ts +34 -0
- package/dist/commands/templates.js +387 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +45 -1
- package/dist/utils/generator-registry.d.ts +5 -0
- package/dist/utils/generator-registry.js +5 -0
- package/dist/utils/packages-registry.d.ts +11 -2
- package/dist/utils/packages-registry.js +11 -2
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -286,9 +286,30 @@ npm run lint # Lint
|
|
|
286
286
|
|
|
287
287
|
Contributions are welcome! Please read our [Contributing Guide](../../CONTRIBUTING.md) for details.
|
|
288
288
|
|
|
289
|
+
## For LLM Agents & Tool Integration
|
|
290
|
+
|
|
291
|
+
The CLI includes a machine-readable manifest (`cli-manifest.json`) that enables perfect integration with AI agents:
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
# Get all available generators as JSON
|
|
295
|
+
hazel g --list --list-json
|
|
296
|
+
|
|
297
|
+
# Preview changes without writing files
|
|
298
|
+
hazel g controller users --dry-run --json
|
|
299
|
+
|
|
300
|
+
# Get machine-readable output for any command
|
|
301
|
+
hazel g service users --json
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
The manifest is automatically generated during build and always reflects the current package version. It includes:
|
|
305
|
+
- Complete command schemas with options and arguments
|
|
306
|
+
- All available generators with their capabilities
|
|
307
|
+
- Package registry for `hazel add` commands
|
|
308
|
+
- JSON schema validation for agent tool-use
|
|
309
|
+
|
|
289
310
|
## License
|
|
290
311
|
|
|
291
|
-
Apache
|
|
312
|
+
Apache-2.0 © [HazelJS](https://hazeljs.ai)
|
|
292
313
|
|
|
293
314
|
## Links
|
|
294
315
|
|