@curaious/uno 0.1.15 → 0.1.17

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/bin/cli.js CHANGED
@@ -70,6 +70,20 @@ function runDockerCompose(args, options = {}) {
70
70
  }
71
71
  }
72
72
 
73
+ // Set RUNTIME_ENABLED based on profiles
74
+ if (options.profiles) {
75
+ const runtimeEnabled = [];
76
+ if (options.profiles.includes('temporal') || options.profiles.includes('all')) {
77
+ runtimeEnabled.push('temporal');
78
+ }
79
+ if (options.profiles.includes('restate') || options.profiles.includes('all')) {
80
+ runtimeEnabled.push('restate');
81
+ }
82
+ if (runtimeEnabled.length > 0) {
83
+ env.UNO_RUNTIME_ENABLED = runtimeEnabled.join(',');
84
+ }
85
+ }
86
+
73
87
  const proc = spawn('docker', composeArgs, {
74
88
  stdio: 'inherit',
75
89
  cwd: DEPLOYMENTS_DIR,
@@ -180,7 +194,7 @@ async function main() {
180
194
  dockerArgs.push(...composeArgs);
181
195
  }
182
196
 
183
- runDockerCompose(dockerArgs);
197
+ runDockerCompose(dockerArgs, { profiles: profiles });
184
198
  }
185
199
 
186
200
  main().catch((err) => {
@@ -74,6 +74,8 @@ services:
74
74
  - "3000:3000" # Frontend UI
75
75
  env_file:
76
76
  - env_vars
77
+ environment:
78
+ RUNTIME_ENABLED: ${UNO_RUNTIME_ENABLED:-}
77
79
  depends_on:
78
80
  uno-postgres:
79
81
  condition: service_healthy
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curaious/uno",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Uno - AI Gateway and Agent Framework",
5
5
  "bin": {
6
6
  "uno": "./bin/cli.js"