Combines three repositories into a single workspace: - go-agent → pkg/orchestrator (Clotho), pkg/jobrunner, pkg/loop, cmd/ - go-agentic → pkg/lifecycle (allowance, sessions, plans, dispatch) - php-devops → repos.yaml, setup.sh, scripts/, .core/ Module path: forge.lthn.ai/core/agent All packages build, all tests pass. Co-Authored-By: Virgil <virgil@lethean.io>
27 lines
552 B
Markdown
27 lines
552 B
Markdown
---
|
|
name: api
|
|
description: Generate TypeScript/JavaScript API client from Laravel routes
|
|
args: generate [--ts|--js|--openapi]
|
|
---
|
|
|
|
# API Client Generator
|
|
|
|
Generate a TypeScript/JavaScript API client or an OpenAPI specification from your Laravel routes.
|
|
|
|
## Usage
|
|
|
|
Generate a TypeScript client (default):
|
|
`/code:api generate`
|
|
`/code:api generate --ts`
|
|
|
|
Generate a JavaScript client:
|
|
`/code:api generate --js`
|
|
|
|
Generate an OpenAPI specification:
|
|
`/code:api generate --openapi`
|
|
|
|
## Action
|
|
|
|
```bash
|
|
"${CLAUDE_PLUGIN_ROOT}/scripts/api-generate.sh" "$@"
|
|
```
|