@curaious/uno 0.1.14 → 0.1.16

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
@@ -102,7 +104,7 @@ services:
102
104
 
103
105
  uno-restate-service:
104
106
  image: ${UNO_IMAGE:-praveenraj9495/uno-gateway:latest}
105
- command: ["restate-service"]
107
+ command: ["restate-worker"]
106
108
  env_file:
107
109
  - env_vars
108
110
  depends_on:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curaious/uno",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Uno - AI Gateway and Agent Framework",
5
5
  "bin": {
6
6
  "uno": "./bin/cli.js"