@outputai/cli 0.1.9-next.f5220bf.0 → 0.1.9

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.
@@ -81,7 +81,7 @@ services:
81
81
  condition: service_healthy
82
82
  worker:
83
83
  condition: service_healthy
84
- image: outputai/api:${OUTPUT_API_VERSION:-0.1.9-next.f5220bf.0}
84
+ image: outputai/api:${OUTPUT_API_VERSION:-0.1.9}
85
85
  init: true
86
86
  networks:
87
87
  - main
@@ -1,3 +1,3 @@
1
1
  {
2
- "framework": "0.1.9-next.f5220bf.0"
2
+ "framework": "0.1.9"
3
3
  }
@@ -19,6 +19,7 @@ src/
19
19
  ├── workflow.ts # Main workflow
20
20
  ├── steps.ts # Workflow steps
21
21
  ├── evaluators.ts # Quality evaluators
22
+ ├── types.ts # Shared types and schemas
22
23
  ├── utils.ts # Local utilities
23
24
  ├── prompts/ # LLM prompts
24
25
  └── scenarios/ # Test scenarios
@@ -55,17 +56,18 @@ The `src/shared/` directory contains code shared across multiple workflows:
55
56
  npm install
56
57
  ```
57
58
 
58
- ### 2. Configure Environment
59
+ ### 2. Configure Credentials
59
60
 
60
- Copy `.env.example` to `.env` and add your API keys:
61
+ Initialize and add your API keys using the Output credentials manager:
61
62
 
62
63
  ```bash
63
- cp .env.example .env
64
+ npx output credentials init
65
+ npx output credentials edit
64
66
  ```
65
67
 
66
- Edit `.env` to add:
67
- - `ANTHROPIC_API_KEY` - for Claude LLM integration
68
- - `OPENAI_API_KEY` - for OpenAI LLM integration (optional)
68
+ Add your keys in the editor:
69
+ - `anthropic.api_key` - for Claude LLM integration
70
+ - `openai.api_key` - for OpenAI LLM integration (optional)
69
71
 
70
72
  ### 3. Start Output Services
71
73
 
@@ -1,12 +1,6 @@
1
1
  import { step, z } from '@outputai/core';
2
2
  import { fetchBlogContent } from '../../clients/jina.js';
3
-
4
- const blogContentSchema = z.object( {
5
- title: z.string(),
6
- url: z.string(),
7
- content: z.string(),
8
- tokenCount: z.number()
9
- } );
3
+ import { blogContentSchema } from './types.js';
10
4
 
11
5
  export const fetchContent = step( {
12
6
  name: 'fetch_blog_content',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outputai/cli",
3
- "version": "0.1.9-next.f5220bf.0",
3
+ "version": "0.1.9",
4
4
  "description": "CLI for Output.ai workflow generation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,9 +33,9 @@
33
33
  "log-update": "7.2.0",
34
34
  "semver": "7.7.4",
35
35
  "yaml": "^2.8.3",
36
- "@outputai/evals": "0.1.9-next.f5220bf.0",
37
- "@outputai/llm": "0.1.9-next.f5220bf.0",
38
- "@outputai/credentials": "0.1.9-next.f5220bf.0"
36
+ "@outputai/credentials": "0.1.9",
37
+ "@outputai/llm": "0.1.9",
38
+ "@outputai/evals": "0.1.9"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/cli-progress": "3.11.6",