@outputai/cli 0.15.1-next.59eb401.0 → 0.15.1-next.e254388.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.
- package/dist/assets/docker/docker-compose-dev.yml +1 -1
- package/dist/generated/framework_version.json +1 -1
- package/dist/templates/agent_instructions/CLAUDE.md.template +2 -2
- package/dist/templates/project/README.md.template +1 -1
- package/dist/templates/project/src/clients/jina.ts.template +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
|
@@ -35,7 +35,7 @@ src/
|
|
|
35
35
|
types.ts # Zod schemas and TypeScript types
|
|
36
36
|
prompts/ # .prompt files (Liquid.js templates with YAML frontmatter)
|
|
37
37
|
scenarios/ # Test scenario JSON files
|
|
38
|
-
clients/ # Shared HTTP clients (use @outputai/http, not fetch/axios)
|
|
38
|
+
clients/ # Shared HTTP clients (use @outputai/core/http, not fetch/axios)
|
|
39
39
|
shared/ # Shared utilities across workflows
|
|
40
40
|
config/
|
|
41
41
|
costs.yml # Token/API pricing overrides
|
|
@@ -46,7 +46,7 @@ config/
|
|
|
46
46
|
## Key Conventions
|
|
47
47
|
|
|
48
48
|
- **Workflows are deterministic**: No I/O, no `Date.now()`, no `Math.random()` in `workflow.ts`. All side effects go in steps or evaluators.
|
|
49
|
-
- **HTTP clients**: Use `outputFetch` or `createKyClient` from `@outputai/http` instead of raw `fetch` or `axios`. Requests are automatically traced; for paid APIs, attach spend via `addRequestCost` in an `afterResponse` hook (`output-dev-http-client-create`) and forward cost events with `output-dev-cost-hooks`.
|
|
49
|
+
- **HTTP clients**: Use `outputFetch` or `createKyClient` from `@outputai/core/http` instead of raw `fetch` or `axios`. Requests are automatically traced; for paid APIs, attach spend via `addRequestCost` in an `afterResponse` hook (`output-dev-http-client-create`) and forward cost events with `output-dev-cost-hooks`.
|
|
50
50
|
- **LLM calls**: Use `generateText` from `@outputai/llm` with `.prompt` files. Never call LLM APIs directly.
|
|
51
51
|
|
|
52
52
|
---
|
|
@@ -27,7 +27,7 @@ src/
|
|
|
27
27
|
|
|
28
28
|
### Clients Directory
|
|
29
29
|
|
|
30
|
-
The `src/clients/` directory contains API clients using `@outputai/http` for external services.
|
|
30
|
+
The `src/clients/` directory contains API clients using `@outputai/core/http` for external services.
|
|
31
31
|
|
|
32
32
|
### Shared Directory
|
|
33
33
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outputai/cli",
|
|
3
|
-
"version": "0.15.1-next.
|
|
3
|
+
"version": "0.15.1-next.e254388.0",
|
|
4
4
|
"description": "CLI for Output.ai workflow generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"cli-table3": "0.6.5",
|
|
28
28
|
"date-fns": "4.4.0",
|
|
29
29
|
"debug": "4.4.3",
|
|
30
|
-
"handlebars": "4.7.
|
|
30
|
+
"handlebars": "4.7.10",
|
|
31
31
|
"ink": "7.0.1",
|
|
32
32
|
"ink-spinner": "5.0.0",
|
|
33
33
|
"js-yaml": "5.4.2",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"react": "19.3.0",
|
|
37
37
|
"semver": "7.8.5",
|
|
38
38
|
"undici": "8.11.0",
|
|
39
|
-
"@outputai/core": "0.15.1-next.
|
|
40
|
-
"@outputai/llm": "0.15.1-next.
|
|
41
|
-
"@outputai/evals": "0.15.1-next.
|
|
39
|
+
"@outputai/core": "0.15.1-next.e254388.0",
|
|
40
|
+
"@outputai/llm": "0.15.1-next.e254388.0",
|
|
41
|
+
"@outputai/evals": "0.15.1-next.e254388.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/cli-progress": "3.11.6",
|