@semiont/cli 0.2.30-build.48 → 0.2.30-build.50

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.
@@ -78,6 +78,17 @@
78
78
  "maxTokens": 8192,
79
79
  "endpoint": "https://api.anthropic.com",
80
80
  "apiKey": "${ANTHROPIC_API_KEY}"
81
+ },
82
+ "proxy": {
83
+ "platform": {
84
+ "type": "container"
85
+ },
86
+ "type": "envoy",
87
+ "port": 8080,
88
+ "adminPort": 9901,
89
+ "backendPort": 4000,
90
+ "frontendPort": 3000,
91
+ "image": "envoyproxy/envoy:v1.28-latest"
81
92
  }
82
93
  }
83
94
  }
@@ -17,7 +17,7 @@ static_resources:
17
17
  address:
18
18
  socket_address:
19
19
  address: 0.0.0.0
20
- port_value: 80
20
+ port_value: 8080
21
21
  filter_chains:
22
22
  - filters:
23
23
  - name: envoy.filters.network.http_connection_manager
@@ -56,11 +56,20 @@ static_resources:
56
56
  timeout: 30s
57
57
 
58
58
  # Backend API routes (without /api prefix)
59
+ # Match /resources (exact - for POST /resources)
59
60
  - match:
60
- prefix: "/resources/"
61
+ path: "/resources"
61
62
  route:
62
63
  cluster: backend
63
64
  timeout: 30s
65
+ # Match /resources/* (prefix - for GET /resources/:id)
66
+ # Increased timeout for SSE streams at /resources/:id/events/stream
67
+ - match:
68
+ prefix: "/resources/"
69
+ route:
70
+ cluster: backend
71
+ timeout: 0s # No timeout for SSE long-lived connections
72
+ idle_timeout: 3600s # 1 hour idle timeout
64
73
  - match:
65
74
  prefix: "/annotations/"
66
75
  route:
@@ -128,8 +137,8 @@ static_resources:
128
137
  - endpoint:
129
138
  address:
130
139
  socket_address:
131
- address: backend
132
- port_value: 4000
140
+ address: {{HOST_ADDRESS}}
141
+ port_value: {{BACKEND_PORT}}
133
142
 
134
143
  - name: frontend
135
144
  connect_timeout: 5s
@@ -142,8 +151,8 @@ static_resources:
142
151
  - endpoint:
143
152
  address:
144
153
  socket_address:
145
- address: frontend
146
- port_value: 3000
154
+ address: {{HOST_ADDRESS}}
155
+ port_value: {{FRONTEND_PORT}}
147
156
 
148
157
  admin:
149
158
  address:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semiont/cli",
3
- "version": "0.2.30-build.48",
3
+ "version": "0.2.30-build.50",
4
4
  "description": "Semiont CLI - Unified environment management tool",
5
5
  "_comment": "AWS SDK dependencies (@aws-sdk/*) are only used by platforms/aws",
6
6
  "type": "module",
@@ -65,8 +65,8 @@
65
65
  "@aws-sdk/client-sts": "^3.859.0",
66
66
  "@aws-sdk/client-wafv2": "^3.859.0",
67
67
  "@prisma/client": "^6.13.0",
68
- "@semiont/api-client": "0.2.30-build.48",
69
- "@semiont/core": "0.2.30-build.48",
68
+ "@semiont/api-client": "0.2.30-build.50",
69
+ "@semiont/core": "0.2.30-build.50",
70
70
  "@testcontainers/postgresql": "^11.5.1",
71
71
  "arg": "^5.0.2",
72
72
  "bcrypt": "^5.1.1",