@output.ai/cli 0.7.14 → 0.7.15

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.
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Generated by orval v7.20.0 🍺
3
3
  * Do not edit manually.
4
- * Output.ai SDK API
5
- * API for managing and executing Temporal workflows through Output SDK
4
+ * Output.ai API
5
+ * API for managing and executing Output.ai workflows
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  import { type ApiRequestOptions } from '../http_client.js';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Generated by orval v7.20.0 🍺
3
3
  * Do not edit manually.
4
- * Output.ai SDK API
5
- * API for managing and executing Temporal workflows through Output SDK
4
+ * Output.ai API
5
+ * API for managing and executing Output.ai workflows
6
6
  * OpenAPI spec version: 1.0.0
7
7
  */
8
8
  import { customFetchInstance } from '../http_client.js';
@@ -112,10 +112,16 @@ services:
112
112
  - TRACE_LOCAL_ON=${TRACE_LOCAL_ON:-true}
113
113
  - TRACE_REMOTE_ON=${TRACE_REMOTE_ON:-}
114
114
  - TRACE_REMOTE_S3_BUCKET=${TRACE_REMOTE_S3_BUCKET:-}
115
- - HOST_TRACE_PATH=${PWD}/logs
115
+ - TRACE_HOST_PATH=${PWD}/logs
116
116
  - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-}
117
117
  - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-}
118
118
  - AWS_REGION=${AWS_REGION:-us-west-1}
119
+ - MAX_CONCURRENT_ACTIVITY_TASKS=${MAX_CONCURRENT_ACTIVITY_TASKS:-40}
120
+ - MAX_CONCURRENT_WORKFLOW_TASKS=${MAX_CONCURRENT_WORKFLOW_TASKS:-200}
121
+ - MAX_CACHED_WORKFLOWS=${MAX_CACHED_WORKFLOWS:-1000}
122
+ - MAX_CONCURRENT_ACTIVITY_POLLS=${MAX_CONCURRENT_ACTIVITY_POLLS:-5}
123
+ - MAX_CONCURRENT_WORKFLOW_POLLS=${MAX_CONCURRENT_WORKFLOW_POLLS:-5}
124
+ - NODE_OPTIONS=${NODE_OPTIONS:---max-old-space-size=4096}
119
125
  command: >
120
126
  sh -c "
121
127
  npm run output:worker:install &&
@@ -2,7 +2,7 @@ import { Args, Command, Flags } from '@oclif/core';
2
2
  import { UserCancelledError } from '#types/errors.js';
3
3
  import { runInit } from '#services/project_scaffold.js';
4
4
  export default class Init extends Command {
5
- static description = 'Initialize a new Output SDK workflow project by scaffolding the complete project structure';
5
+ static description = 'Initialize a new Output project by scaffolding the complete project structure';
6
6
  static examples = [
7
7
  '<%= config.bin %> <%= command.id %>',
8
8
  '<%= config.bin %> <%= command.id %> my-workflow-project'
@@ -6,7 +6,7 @@ import { getWorkflowGenerateSuccessMessage } from '#services/messages.js';
6
6
  import { DEFAULT_OUTPUT_DIRS } from '#utils/paths.js';
7
7
  import path from 'node:path';
8
8
  export default class Generate extends Command {
9
- static description = 'Generate a new Output SDK workflow';
9
+ static description = 'Generate a new Output workflow';
10
10
  static examples = [
11
11
  '<%= config.bin %> <%= command.id %> my-workflow',
12
12
  '<%= config.bin %> <%= command.id %> my-workflow --skeleton',
@@ -1,6 +1,6 @@
1
1
  {
2
- "core": "0.3.2",
3
- "llm": "0.2.10",
2
+ "core": "0.3.6",
3
+ "llm": "0.2.12",
4
4
  "http": "0.1.2",
5
- "cli": "0.7.14"
5
+ "cli": "0.7.15"
6
6
  }
@@ -29,7 +29,7 @@ const ADDITIONAL_INSTRUCTIONS_BUILD = `
29
29
 
30
30
  2. Follow the implementation plan exactly as specified in the plan file.
31
31
 
32
- 3. Implement all workflow files following Output SDK patterns and best practices.
32
+ 3. Implement all workflow files following Output.ai patterns and best practices.
33
33
 
34
34
  4. After you mark all todos as complete, provide a summary of what was implemented.
35
35
  `;
@@ -199,14 +199,14 @@ ${createOutputBanner()}
199
199
 
200
200
  ${divider}
201
201
 
202
- ${ux.colorize('bold', ux.colorize('green', '🎉 SUCCESS!'))} ${ux.colorize('bold', 'Your Output SDK project has been created')}
202
+ ${ux.colorize('bold', ux.colorize('green', '🎉 SUCCESS!'))} ${ux.colorize('bold', 'Your Output project has been created')}
203
203
 
204
204
  ${divider}
205
205
 
206
206
  ${createSectionHeader('PROJECT DETAILS', '📁')}
207
207
 
208
208
  ${bulletPoint} ${ux.colorize('white', 'Name:')} ${formatPath(folderName)}
209
- ${bulletPoint} ${ux.colorize('white', 'Type:')} Output SDK Workflow Project
209
+ ${bulletPoint} ${ux.colorize('white', 'Type:')} Output Project
210
210
  ${bulletPoint} ${ux.colorize('white', 'Structure:')} ${formatPath('.outputai/')} (agents), ${formatPath('workflows/')} (implementations)
211
211
 
212
212
  ${divider}
@@ -229,7 +229,7 @@ ${divider}
229
229
  ${ux.colorize('dim', '💡 Tip: Use ')}${formatCommand('npx output workflow plan')}${ux.colorize('dim', ' to design your first custom workflow')}
230
230
  ${ux.colorize('dim', ' with AI assistance.')}
231
231
 
232
- ${ux.colorize('green', ux.colorize('bold', 'Happy building with Output SDK! 🚀'))}
232
+ ${ux.colorize('green', ux.colorize('bold', 'Happy building with Output! 🚀'))}
233
233
  `;
234
234
  };
235
235
  export const getWorkflowGenerateSuccessMessage = (workflowName, targetDir, filesCreated) => {
@@ -62,7 +62,7 @@ const promptForProjectName = async (defaultProjectName) => {
62
62
  }) || defaultProjectName;
63
63
  };
64
64
  const generateProjectDescription = (projectName) => {
65
- return `An Output SDK workflow for ${kebabCase(projectName)}`;
65
+ return `AI Agents & Workflows built with Output.ai for ${kebabCase(projectName)}`;
66
66
  };
67
67
  /**
68
68
  * Get project configuration from user input
@@ -98,7 +98,7 @@ async function scaffoldProjectFiles(projectPath, projectName, description) {
98
98
  const templateVars = {
99
99
  projectName: kebabCase(projectName),
100
100
  ProjectName: pascalCase(projectName),
101
- description: description || `An Output SDK workflow for ${projectName}`,
101
+ description: description || `An Output.ai workflow for ${projectName}`,
102
102
  coreVersion: sdkVersions.core,
103
103
  llmVersion: sdkVersions.llm,
104
104
  httpVersion: sdkVersions.http,
@@ -48,7 +48,7 @@ describe('project_scaffold', () => {
48
48
  });
49
49
  it('should auto-generate description when folderName provided', async () => {
50
50
  const config = await getProjectConfig('test-folder');
51
- expect(config.description).toBe('An Output SDK workflow for test-folder');
51
+ expect(config.description).toBe('AI Agents & Workflows built with Output.ai for test-folder');
52
52
  });
53
53
  it('should prompt for project name and folder name when not provided', async () => {
54
54
  const { input } = await import('@inquirer/prompts');
@@ -58,7 +58,7 @@ describe('project_scaffold', () => {
58
58
  const config = await getProjectConfig();
59
59
  expect(config.projectName).toBe('Test Project');
60
60
  expect(config.folderName).toBe('test-project');
61
- expect(config.description).toBe('An Output SDK workflow for test-project');
61
+ expect(config.description).toBe('AI Agents & Workflows built with Output.ai for test-project');
62
62
  expect(input).toHaveBeenCalledTimes(2);
63
63
  });
64
64
  });
@@ -2,17 +2,17 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- This project uses Output.ai Framework to build durable, LLM-powered workflows orchestrated by Temporal. Output Framework provides abstractions for creating reliable AI workflows with automatic retry, tracing, and error handling. Developers use it to build workflows like fact checkers, content generators, data extractors, research assistants, and multi-step AI agents mixing API clients.
5
+ This project uses Output.ai Framework to build production-ready AI applications with built-in prompt management, evaluation, observability, and error handling. Developers use it to build AI features like fact checkers, content generators, data extractors, research assistants, and multi-step agents.
6
6
 
7
7
  ### Project Overview
8
8
 
9
- Each workflow lives in its own folder under `src/workflows/` and follows a consistent structure. Workflows define the orchestration logic, calling steps to perform external operations like API calls, database queries, and LLM inference. The system automatically handles retries, timeouts, and distributed execution through Temporal.
9
+ Each workflow lives in its own folder under `src/workflows/` and follows a consistent structure. Workflows define the orchestration logic, calling steps to perform external operations like API calls, database queries, and LLM inference. The framework automatically handles retries, timeouts, and reliable execution.
10
10
 
11
11
  ### Key Concepts
12
12
 
13
- #### Built on Top of Temporal
13
+ #### Durable Execution powered by Temporal.io
14
14
 
15
- Temporal provides durable execution guarantees - if a workflow fails mid-execution, it resumes from the last successful step rather than restarting. Output Framework wraps Temporal's workflow and activity primitives with higher-level abstractions (`workflow`, `step`, `evaluator`) that enforce best practices and provide automatic tracing.
15
+ Output provides durable execution guarantees (built on Temporal.io) - if execution fails mid-run, it resumes from the last successful step rather than restarting. The framework provides high-level abstractions (`workflow`, `step`, `evaluator`) that enforce best practices and provide automatic tracing.
16
16
 
17
17
  #### Single Folder Project Structure
18
18
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Overview
6
6
 
7
- This workflow was generated using the Output SDK CLI. It provides a starting point for building Temporal-based workflows with LLM integration.
7
+ This was generated using the Output.ai CLI. It provides a starting point for building AI applications with production-ready LLM integration, built-in prompt management, evaluation, and observability.
8
8
 
9
9
  ## Files
10
10
 
@@ -41,7 +41,7 @@ workflow/
41
41
 
42
42
  ## Import Rules
43
43
 
44
- **Important:** Steps and evaluators are Temporal activities. Activities cannot call other activities.
44
+ **Important:** Steps and evaluators are isolated execution units that cannot call each other.
45
45
 
46
46
  **Steps can import from:**
47
47
  - Local utilities (`./utils.ts`, `./utils/*.ts`)
@@ -105,7 +105,7 @@ Example:
105
105
 
106
106
  ### Workflow Structure
107
107
 
108
- The workflow follows the Output SDK conventions:
108
+ The workflow follows the Output.ai conventions:
109
109
 
110
110
  ```typescript
111
111
  import { workflow, z } from '@output.ai/core';
@@ -221,7 +221,7 @@ To test your workflow:
221
221
 
222
222
  1. Build the parent project containing this workflow
223
223
  2. Start the Output worker
224
- 3. Execute the workflow using the Output SDK API
224
+ 3. Execute the workflow using the Output.ai API
225
225
 
226
226
  Example execution:
227
227
  ```bash
@@ -230,5 +230,5 @@ npx output workflow run {{workflowName}} --input '{"prompt": "Hello"}'
230
230
 
231
231
  ## Resources
232
232
 
233
- - [Output SDK Documentation](https://docs.output.ai)
233
+ - [Output.ai Documentation](https://docs.output.ai)
234
234
  - [Temporal Documentation](https://docs.temporal.io)
@@ -107,7 +107,7 @@ export interface TraceStructure {
107
107
  children?: DebugNode[];
108
108
  }
109
109
  /**
110
- * The structure of a workflow trace file generated by Output SDK workflow runs.
110
+ * The structure of a workflow trace file generated by Output.ai workflow runs.
111
111
  * This file is written to the local filesystem during workflow execution and contains
112
112
  * the complete execution history including timing, inputs, outputs, and any errors.
113
113
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@output.ai/cli",
3
- "version": "0.7.14",
3
+ "version": "0.7.15",
4
4
  "description": "CLI for Output.ai workflow generation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",