@output.ai/cli 0.8.5 → 0.9.0-dev.pr338-b1efc29

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.2.0"
3
3
  }
@@ -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
@@ -1,13 +1,10 @@
1
1
  import { describe, it, expect, vi, beforeEach } from 'vitest';
2
2
  import { getProjectConfig, checkDependencies, createSigintHandler } from './project_scaffold.js';
3
3
  import { UserCancelledError } from '#types/errors.js';
4
- // Mock the SDK versions utility
5
- vi.mock('#utils/sdk_versions.js', () => ({
6
- getSDKVersions: vi.fn().mockResolvedValue({
7
- core: '0.1.5',
8
- llm: '0.2.3',
9
- http: '0.0.3',
10
- cli: '0.1.1'
4
+ // Mock the framework version utility
5
+ vi.mock('#utils/framework_version.js', () => ({
6
+ getFrameworkVersion: vi.fn().mockResolvedValue({
7
+ framework: '0.1.1'
11
8
  })
12
9
  }));
13
10
  // Mock other dependencies
@@ -18,8 +18,10 @@ export default workflow( {
18
18
  return createWorkflowOutput( blogContent, evaluation.value );
19
19
  },
20
20
  options: {
21
- retry: {
22
- maximumAttempts: 3
21
+ activityOptions: {
22
+ retry: {
23
+ maximumAttempts: 3
24
+ }
23
25
  }
24
26
  }
25
27
  } );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@output.ai/cli",
3
- "version": "0.8.5",
3
+ "version": "0.9.0-dev.pr338-b1efc29",
4
4
  "description": "CLI for Output.ai workflow generation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -60,6 +60,12 @@
60
60
  "plugins": [
61
61
  "@oclif/plugin-help"
62
62
  ],
63
+ "additionalHelpFlags": [
64
+ "-h"
65
+ ],
66
+ "additionalVersionFlags": [
67
+ "-v"
68
+ ],
63
69
  "topicSeparator": " ",
64
70
  "topics": {
65
71
  "workflow": {