@semiont/cli 0.2.30 → 0.2.31

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.
@@ -43,11 +43,25 @@
43
43
  "host": "localhost",
44
44
  "port": 5432
45
45
  },
46
+ "graph": {
47
+ "platform": {
48
+ "type": "posix"
49
+ },
50
+ "type": "memory"
51
+ },
46
52
  "mcp": {
47
53
  "platform": {
48
54
  "type": "posix"
49
55
  },
50
56
  "dependsOn": ["backend"]
57
+ },
58
+ "inference": {
59
+ "platform": {
60
+ "type": "posix"
61
+ },
62
+ "type": "anthropic",
63
+ "model": "claude-3-5-sonnet-20241022",
64
+ "apiKey": "sk-ant-test-key-for-ci-environment-do-not-use"
51
65
  }
52
66
  }
53
67
  }
@@ -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:
@@ -109,6 +118,15 @@ static_resources:
109
118
  cluster: backend
110
119
  timeout: 30s
111
120
 
121
+ # Next.js static assets (must come before catch-all)
122
+ # Preserve Content-Type headers from Next.js
123
+ - match:
124
+ prefix: "/_next/"
125
+ route:
126
+ cluster: frontend
127
+ timeout: 30s
128
+ auto_host_rewrite: true
129
+
112
130
  # Everything else goes to frontend (Next.js pages)
113
131
  - match:
114
132
  prefix: "/"
@@ -128,8 +146,8 @@ static_resources:
128
146
  - endpoint:
129
147
  address:
130
148
  socket_address:
131
- address: backend
132
- port_value: 4000
149
+ address: {{HOST_ADDRESS}}
150
+ port_value: {{BACKEND_PORT}}
133
151
 
134
152
  - name: frontend
135
153
  connect_timeout: 5s
@@ -142,8 +160,8 @@ static_resources:
142
160
  - endpoint:
143
161
  address:
144
162
  socket_address:
145
- address: frontend
146
- port_value: 3000
163
+ address: {{HOST_ADDRESS}}
164
+ port_value: {{FRONTEND_PORT}}
147
165
 
148
166
  admin:
149
167
  address:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semiont/cli",
3
- "version": "0.2.30",
3
+ "version": "0.2.31",
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",
69
- "@semiont/core": "0.2.30",
68
+ "@semiont/api-client": "0.2.31",
69
+ "@semiont/core": "0.2.31",
70
70
  "@testcontainers/postgresql": "^11.5.1",
71
71
  "arg": "^5.0.2",
72
72
  "bcrypt": "^5.1.1",