@output.ai/cli 0.8.4 → 0.8.6

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,3 +1,3 @@
1
1
  {
2
- "framework": "0.1.1"
2
+ "framework": "0.1.2"
3
3
  }
@@ -254,8 +254,8 @@ export const getWorkflowGenerateSuccessMessage = (workflowName, targetDir, files
254
254
  },
255
255
  {
256
256
  step: 'Test with example scenario',
257
- command: `output workflow run ${workflowName} --input ${targetDir}/scenarios/test_input.json`,
258
- note: 'Run after starting services with "output dev"'
257
+ command: 'npx output workflow run blog_evaluator paulgraham_hwh',
258
+ note: 'Run after starting services with "npx output dev"'
259
259
  }
260
260
  ];
261
261
  const formattedSteps = steps.map((item, index) => {
@@ -12,7 +12,7 @@ import { isDockerInstalled } from '#services/docker.js';
12
12
  import { isClaudeCliAvailable } from '#utils/claude.js';
13
13
  import { configureEnvironmentVariables } from './env_configurator.js';
14
14
  import { getTemplateFiles, processTemplateFile } from './template_processor.js';
15
- import { ensureOutputAISystem } from './coding_agents.js';
15
+ import { initializeAgentConfig } from './coding_agents.js';
16
16
  import { getProjectSuccessMessage } from './messages.js';
17
17
  /**
18
18
  * Check for required dependencies (Docker and Claude CLI)
@@ -109,7 +109,7 @@ async function executeNpmInstall(projectPath) {
109
109
  await executeCommand('npm', ['install'], projectPath);
110
110
  }
111
111
  async function initializeAgents(projectPath) {
112
- await ensureOutputAISystem(projectPath);
112
+ await initializeAgentConfig({ projectRoot: projectPath, force: false });
113
113
  }
114
114
  /**
115
115
  * Format error message for init errors
@@ -225,7 +225,7 @@ To test your workflow:
225
225
 
226
226
  Example execution:
227
227
  ```bash
228
- npx output workflow run {{workflowName}} --input '{"prompt": "Hello"}'
228
+ npx output workflow run blog_evaluator paulgraham_hwh
229
229
  ```
230
230
 
231
231
  ## Resources
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@output.ai/cli",
3
- "version": "0.8.4",
3
+ "version": "0.8.6",
4
4
  "description": "CLI for Output.ai workflow generation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -60,6 +60,8 @@
60
60
  "plugins": [
61
61
  "@oclif/plugin-help"
62
62
  ],
63
+ "additionalHelpFlags": ["-h"],
64
+ "additionalVersionFlags": ["-v"],
63
65
  "topicSeparator": " ",
64
66
  "topics": {
65
67
  "workflow": {