@askexenow/exe-os 0.9.196 → 0.9.198
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/deploy/compose/docker-compose.yml +42 -2
- package/deploy/stack-manifests/v0.9.json +56 -56
- package/dist/bin/registry-proxy.js +2 -2
- package/dist/bin/stack-update.js +1 -1
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{chunk-OK5U45GK.js → chunk-62DAMAFL.js} +45 -0
- package/dist/{chunk-2OX3F2UQ.js → chunk-CHZMPZJ3.js} +1 -1
- package/dist/{chunk-MJYXPMPW.js → chunk-M7NGABPF.js} +7 -7
- package/dist/{daemon-orchestration-MLB3WJHB.js → daemon-orchestration-ZBSS6VZR.js} +1 -1
- package/dist/hooks/session-end.js +0 -6
- package/dist/lib/exe-daemon.js +66 -63
- package/dist/mcp/register-tools.js +2 -2
- package/dist/mcp/server.js +2 -2
- package/dist/{stack-update-ODIHZZCZ.js → stack-update-C4BAPLXJ.js} +1 -1
- package/package.json +1 -1
- package/release-notes.json +301 -310
|
@@ -370,12 +370,12 @@ services:
|
|
|
370
370
|
EXE_GATEWAY_CONFIG: /data/gateway.json
|
|
371
371
|
DATABASE_URL: postgres://${POSTGRES_USER:-exe}:${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}@exe-db:5432/${POSTGRES_DB:-exedb}
|
|
372
372
|
EXE_GATEWAY_PORT: "3100"
|
|
373
|
-
EXE_GATEWAY_HOST: "
|
|
373
|
+
EXE_GATEWAY_HOST: "0.0.0.0"
|
|
374
374
|
EXE_GATEWAY_AUTH_TOKEN: ${EXE_GATEWAY_AUTH_TOKEN:?EXE_GATEWAY_AUTH_TOKEN is required}
|
|
375
375
|
GOTRUE_URL: http://gotrue:9999
|
|
376
376
|
EXE_GATEWAY_WHATSAPP_VERIFY_TOKEN: ${EXE_GATEWAY_WHATSAPP_VERIFY_TOKEN:?EXE_GATEWAY_WHATSAPP_VERIFY_TOKEN is required}
|
|
377
377
|
EXE_GATEWAY_WS_RELAY_ENABLED: "true"
|
|
378
|
-
EXE_GATEWAY_WS_RELAY_HOST: "
|
|
378
|
+
EXE_GATEWAY_WS_RELAY_HOST: "0.0.0.0"
|
|
379
379
|
EXE_GATEWAY_WS_RELAY_PORT: "3101"
|
|
380
380
|
EXE_GATEWAY_WS_RELAY_AUTH_TOKEN: ${EXE_GATEWAY_WS_RELAY_AUTH_TOKEN:?EXE_GATEWAY_WS_RELAY_AUTH_TOKEN is required}
|
|
381
381
|
WHATSAPP_ACCESS_TOKEN: ${WHATSAPP_ACCESS_TOKEN:-}
|
|
@@ -435,6 +435,46 @@ services:
|
|
|
435
435
|
driver: json-file
|
|
436
436
|
options: { max-size: "10m", max-file: "3" }
|
|
437
437
|
|
|
438
|
+
# ------------------------------------------------------------------
|
|
439
|
+
# Update service — registry proxy for customer image pulls
|
|
440
|
+
# Serves update.askexe.com: /v2/* Docker registry proxy, /health
|
|
441
|
+
# AskExe control-plane only — not deployed on customer VPSs.
|
|
442
|
+
# ------------------------------------------------------------------
|
|
443
|
+
exe-update:
|
|
444
|
+
image: ${EXE_OS_IMAGE_TAG:-${EXED_IMAGE_TAG:-ghcr.io/askexe/exe-os:v0.9.157}}
|
|
445
|
+
container_name: exe-update
|
|
446
|
+
restart: unless-stopped
|
|
447
|
+
entrypoint: ["node", "/app/dist/bin/registry-proxy.js"]
|
|
448
|
+
env_file:
|
|
449
|
+
- path: .env
|
|
450
|
+
required: false
|
|
451
|
+
environment:
|
|
452
|
+
EXE_REGISTRY_PROXY_PORT: "${EXE_REGISTRY_PROXY_PORT:-3200}"
|
|
453
|
+
EXE_REGISTRY_PROXY_HOST: "${EXE_REGISTRY_PROXY_HOST:-0.0.0.0}"
|
|
454
|
+
EXE_REGISTRY_PROXY_UPSTREAM: "${EXE_REGISTRY_PROXY_UPSTREAM:-https://ghcr.io}"
|
|
455
|
+
EXE_REGISTRY_PROXY_UPSTREAM_USERNAME: "${EXE_REGISTRY_PROXY_UPSTREAM_USERNAME}"
|
|
456
|
+
EXE_REGISTRY_PROXY_UPSTREAM_TOKEN: "${EXE_REGISTRY_PROXY_UPSTREAM_TOKEN}"
|
|
457
|
+
EXE_REGISTRY_PROXY_PULL_TOKENS: "${EXE_REGISTRY_PROXY_PULL_TOKENS}"
|
|
458
|
+
EXE_REGISTRY_PROXY_ALLOWED_NAMESPACE: "${EXE_REGISTRY_PROXY_ALLOWED_NAMESPACE:-askexe}"
|
|
459
|
+
ports:
|
|
460
|
+
- "127.0.0.1:${EXE_UPDATE_HOST_PORT:-3200}:${EXE_REGISTRY_PROXY_PORT:-3200}"
|
|
461
|
+
networks:
|
|
462
|
+
backend:
|
|
463
|
+
ipv4_address: 10.42.0.25
|
|
464
|
+
healthcheck:
|
|
465
|
+
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3200/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
|
466
|
+
interval: 30s
|
|
467
|
+
timeout: 5s
|
|
468
|
+
start_period: 10s
|
|
469
|
+
retries: 3
|
|
470
|
+
deploy:
|
|
471
|
+
resources:
|
|
472
|
+
limits:
|
|
473
|
+
memory: 256M
|
|
474
|
+
logging:
|
|
475
|
+
driver: json-file
|
|
476
|
+
options: { max-size: "10m", max-file: "3" }
|
|
477
|
+
|
|
438
478
|
# ------------------------------------------------------------------
|
|
439
479
|
# Infrastructure — Cloudflare Tunnel (replaces nginx + SSL certs)
|
|
440
480
|
# ------------------------------------------------------------------
|
|
@@ -181,31 +181,31 @@
|
|
|
181
181
|
"services": {
|
|
182
182
|
"crm": {
|
|
183
183
|
"env": "CRM_IMAGE_TAG",
|
|
184
|
-
"image": "
|
|
184
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
185
185
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
186
186
|
"deploymentScope": "customer"
|
|
187
187
|
},
|
|
188
188
|
"wiki": {
|
|
189
189
|
"env": "WIKI_IMAGE_TAG",
|
|
190
|
-
"image": "
|
|
190
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
191
191
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
192
192
|
"deploymentScope": "customer"
|
|
193
193
|
},
|
|
194
194
|
"exe-os": {
|
|
195
195
|
"env": "EXE_OS_IMAGE_TAG",
|
|
196
|
-
"image": "
|
|
196
|
+
"image": "update.askexe.com/askexe/exed:v0.9.3",
|
|
197
197
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
198
198
|
"deploymentScope": "customer"
|
|
199
199
|
},
|
|
200
200
|
"gateway": {
|
|
201
201
|
"env": "GATEWAY_IMAGE_TAG",
|
|
202
|
-
"image": "
|
|
202
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
203
203
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
204
204
|
"deploymentScope": "customer"
|
|
205
205
|
},
|
|
206
206
|
"monitorAgent": {
|
|
207
207
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
208
|
-
"image": "
|
|
208
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
209
209
|
"deploymentScope": "customer"
|
|
210
210
|
}
|
|
211
211
|
},
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
"repo": "AskExe/exe-os",
|
|
223
223
|
"npmPackage": "@askexenow/exe-os",
|
|
224
224
|
"npmVersion": "0.9.69",
|
|
225
|
-
"image": "
|
|
225
|
+
"image": "update.askexe.com/askexe/exed:v0.9.3",
|
|
226
226
|
"imageVersion": "0.9.3",
|
|
227
|
-
"note": "npm package version and customer stack image tag are separate version tracks; Hygo pulls the exed image through
|
|
227
|
+
"note": "npm package version and customer stack image tag are separate version tracks; Hygo pulls the exed image through update.askexe.com, which proxies the GHCR artifact server-side.",
|
|
228
228
|
"sourceRef": "v0.9.3"
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -246,31 +246,31 @@
|
|
|
246
246
|
"services": {
|
|
247
247
|
"crm": {
|
|
248
248
|
"env": "CRM_IMAGE_TAG",
|
|
249
|
-
"image": "
|
|
249
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
250
250
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
251
251
|
"deploymentScope": "customer"
|
|
252
252
|
},
|
|
253
253
|
"wiki": {
|
|
254
254
|
"env": "WIKI_IMAGE_TAG",
|
|
255
|
-
"image": "
|
|
255
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
256
256
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
257
257
|
"deploymentScope": "customer"
|
|
258
258
|
},
|
|
259
259
|
"exe-os": {
|
|
260
260
|
"env": "EXE_OS_IMAGE_TAG",
|
|
261
|
-
"image": "
|
|
261
|
+
"image": "update.askexe.com/askexe/exed:v0.9.4",
|
|
262
262
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
263
263
|
"deploymentScope": "customer"
|
|
264
264
|
},
|
|
265
265
|
"gateway": {
|
|
266
266
|
"env": "GATEWAY_IMAGE_TAG",
|
|
267
|
-
"image": "
|
|
267
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
268
268
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
269
269
|
"deploymentScope": "customer"
|
|
270
270
|
},
|
|
271
271
|
"monitorAgent": {
|
|
272
272
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
273
|
-
"image": "
|
|
273
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
274
274
|
"deploymentScope": "customer"
|
|
275
275
|
}
|
|
276
276
|
},
|
|
@@ -287,9 +287,9 @@
|
|
|
287
287
|
"repo": "AskExe/exe-os",
|
|
288
288
|
"npmPackage": "@askexenow/exe-os",
|
|
289
289
|
"npmVersion": "0.9.81",
|
|
290
|
-
"image": "
|
|
290
|
+
"image": "update.askexe.com/askexe/exed:v0.9.4",
|
|
291
291
|
"imageVersion": "0.9.4",
|
|
292
|
-
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through
|
|
292
|
+
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through update.askexe.com, which proxies the AskExe-owned GHCR artifact server-side.",
|
|
293
293
|
"sourceRef": "stack-v0.9.4"
|
|
294
294
|
}
|
|
295
295
|
}
|
|
@@ -311,31 +311,31 @@
|
|
|
311
311
|
"services": {
|
|
312
312
|
"crm": {
|
|
313
313
|
"env": "CRM_IMAGE_TAG",
|
|
314
|
-
"image": "
|
|
314
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
315
315
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
316
316
|
"deploymentScope": "customer"
|
|
317
317
|
},
|
|
318
318
|
"wiki": {
|
|
319
319
|
"env": "WIKI_IMAGE_TAG",
|
|
320
|
-
"image": "
|
|
320
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
321
321
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
322
322
|
"deploymentScope": "customer"
|
|
323
323
|
},
|
|
324
324
|
"exe-os": {
|
|
325
325
|
"env": "EXE_OS_IMAGE_TAG",
|
|
326
|
-
"image": "
|
|
326
|
+
"image": "update.askexe.com/askexe/exed:v0.9.5",
|
|
327
327
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
328
328
|
"deploymentScope": "customer"
|
|
329
329
|
},
|
|
330
330
|
"gateway": {
|
|
331
331
|
"env": "GATEWAY_IMAGE_TAG",
|
|
332
|
-
"image": "
|
|
332
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
333
333
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
334
334
|
"deploymentScope": "customer"
|
|
335
335
|
},
|
|
336
336
|
"monitorAgent": {
|
|
337
337
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
338
|
-
"image": "
|
|
338
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
339
339
|
"deploymentScope": "customer"
|
|
340
340
|
}
|
|
341
341
|
},
|
|
@@ -352,9 +352,9 @@
|
|
|
352
352
|
"repo": "AskExe/exe-os",
|
|
353
353
|
"npmPackage": "@askexenow/exe-os",
|
|
354
354
|
"npmVersion": "0.9.82",
|
|
355
|
-
"image": "
|
|
355
|
+
"image": "update.askexe.com/askexe/exed:v0.9.4",
|
|
356
356
|
"imageVersion": "0.9.5",
|
|
357
|
-
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through
|
|
357
|
+
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through update.askexe.com, which proxies the AskExe-owned GHCR artifact server-side.",
|
|
358
358
|
"sourceRef": "stack-v0.9.4",
|
|
359
359
|
"commit": "main@stack-v0.9.5"
|
|
360
360
|
}
|
|
@@ -379,31 +379,31 @@
|
|
|
379
379
|
"services": {
|
|
380
380
|
"crm": {
|
|
381
381
|
"env": "CRM_IMAGE_TAG",
|
|
382
|
-
"image": "
|
|
382
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
383
383
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
384
384
|
"deploymentScope": "customer"
|
|
385
385
|
},
|
|
386
386
|
"wiki": {
|
|
387
387
|
"env": "WIKI_IMAGE_TAG",
|
|
388
|
-
"image": "
|
|
388
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
389
389
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
390
390
|
"deploymentScope": "customer"
|
|
391
391
|
},
|
|
392
392
|
"exe-os": {
|
|
393
393
|
"env": "EXE_OS_IMAGE_TAG",
|
|
394
|
-
"image": "
|
|
394
|
+
"image": "update.askexe.com/askexe/exed:v0.9.6",
|
|
395
395
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
396
396
|
"deploymentScope": "customer"
|
|
397
397
|
},
|
|
398
398
|
"gateway": {
|
|
399
399
|
"env": "GATEWAY_IMAGE_TAG",
|
|
400
|
-
"image": "
|
|
400
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
401
401
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
402
402
|
"deploymentScope": "customer"
|
|
403
403
|
},
|
|
404
404
|
"monitorAgent": {
|
|
405
405
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
406
|
-
"image": "
|
|
406
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
407
407
|
"deploymentScope": "customer"
|
|
408
408
|
}
|
|
409
409
|
},
|
|
@@ -420,9 +420,9 @@
|
|
|
420
420
|
"repo": "AskExe/exe-os",
|
|
421
421
|
"npmPackage": "@askexenow/exe-os",
|
|
422
422
|
"npmVersion": "0.9.83",
|
|
423
|
-
"image": "
|
|
423
|
+
"image": "update.askexe.com/askexe/exed:v0.9.4",
|
|
424
424
|
"imageVersion": "0.9.6",
|
|
425
|
-
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through
|
|
425
|
+
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through update.askexe.com, which proxies the AskExe-owned GHCR artifact server-side.",
|
|
426
426
|
"sourceRef": "stack-v0.9.4",
|
|
427
427
|
"commit": "main@stack-v0.9.6"
|
|
428
428
|
}
|
|
@@ -447,31 +447,31 @@
|
|
|
447
447
|
"services": {
|
|
448
448
|
"crm": {
|
|
449
449
|
"env": "CRM_IMAGE_TAG",
|
|
450
|
-
"image": "
|
|
450
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
451
451
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
452
452
|
"deploymentScope": "customer"
|
|
453
453
|
},
|
|
454
454
|
"wiki": {
|
|
455
455
|
"env": "WIKI_IMAGE_TAG",
|
|
456
|
-
"image": "
|
|
456
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
457
457
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
458
458
|
"deploymentScope": "customer"
|
|
459
459
|
},
|
|
460
460
|
"exe-os": {
|
|
461
461
|
"env": "EXE_OS_IMAGE_TAG",
|
|
462
|
-
"image": "
|
|
462
|
+
"image": "update.askexe.com/askexe/exed:v0.9.7",
|
|
463
463
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
464
464
|
"deploymentScope": "customer"
|
|
465
465
|
},
|
|
466
466
|
"gateway": {
|
|
467
467
|
"env": "GATEWAY_IMAGE_TAG",
|
|
468
|
-
"image": "
|
|
468
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
469
469
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
470
470
|
"deploymentScope": "customer"
|
|
471
471
|
},
|
|
472
472
|
"monitorAgent": {
|
|
473
473
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
474
|
-
"image": "
|
|
474
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
475
475
|
"deploymentScope": "customer"
|
|
476
476
|
}
|
|
477
477
|
},
|
|
@@ -488,9 +488,9 @@
|
|
|
488
488
|
"repo": "AskExe/exe-os",
|
|
489
489
|
"npmPackage": "@askexenow/exe-os",
|
|
490
490
|
"npmVersion": "0.9.84",
|
|
491
|
-
"image": "
|
|
491
|
+
"image": "update.askexe.com/askexe/exed:v0.9.4",
|
|
492
492
|
"imageVersion": "0.9.7",
|
|
493
|
-
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through
|
|
493
|
+
"note": "Customer stack image tag is 0.9.4; bundled npm package is @askexenow/exe-os@0.9.81. Hygo pulls through update.askexe.com, which proxies the AskExe-owned GHCR artifact server-side.",
|
|
494
494
|
"sourceRef": "stack-v0.9.4",
|
|
495
495
|
"commit": "main@stack-v0.9.7"
|
|
496
496
|
}
|
|
@@ -506,32 +506,32 @@
|
|
|
506
506
|
"services": {
|
|
507
507
|
"crm": {
|
|
508
508
|
"env": "CRM_IMAGE_TAG",
|
|
509
|
-
"image": "
|
|
509
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
510
510
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
511
511
|
"deploymentScope": "customer"
|
|
512
512
|
},
|
|
513
513
|
"wiki": {
|
|
514
514
|
"env": "WIKI_IMAGE_TAG",
|
|
515
|
-
"image": "
|
|
515
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
516
516
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
517
517
|
"deploymentScope": "customer"
|
|
518
518
|
},
|
|
519
519
|
"exe-os": {
|
|
520
520
|
"env": "EXE_OS_IMAGE_TAG",
|
|
521
|
-
"image": "
|
|
521
|
+
"image": "update.askexe.com/askexe/exed:v0.9.8",
|
|
522
522
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
523
523
|
"deploymentScope": "customer",
|
|
524
524
|
"note": "npm package @askexenow/exe-os@0.9.89. Security hardening + 5 Hygo bug fixes + RSS memory fix."
|
|
525
525
|
},
|
|
526
526
|
"gateway": {
|
|
527
527
|
"env": "GATEWAY_IMAGE_TAG",
|
|
528
|
-
"image": "
|
|
528
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
529
529
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
530
530
|
"deploymentScope": "customer"
|
|
531
531
|
},
|
|
532
532
|
"monitorAgent": {
|
|
533
533
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
534
|
-
"image": "
|
|
534
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
535
535
|
"healthUrl": "http://127.0.0.1:45876/",
|
|
536
536
|
"deploymentScope": "customer"
|
|
537
537
|
}
|
|
@@ -545,32 +545,32 @@
|
|
|
545
545
|
"services": {
|
|
546
546
|
"crm": {
|
|
547
547
|
"env": "CRM_IMAGE_TAG",
|
|
548
|
-
"image": "
|
|
548
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.3",
|
|
549
549
|
"healthUrl": "http://127.0.0.1:3000/healthz",
|
|
550
550
|
"deploymentScope": "customer"
|
|
551
551
|
},
|
|
552
552
|
"wiki": {
|
|
553
553
|
"env": "WIKI_IMAGE_TAG",
|
|
554
|
-
"image": "
|
|
554
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.3",
|
|
555
555
|
"healthUrl": "http://127.0.0.1:3001/api/ping",
|
|
556
556
|
"deploymentScope": "customer"
|
|
557
557
|
},
|
|
558
558
|
"exe-os": {
|
|
559
559
|
"env": "EXE_OS_IMAGE_TAG",
|
|
560
|
-
"image": "
|
|
560
|
+
"image": "update.askexe.com/askexe/exed:v0.9.9",
|
|
561
561
|
"healthUrl": "http://127.0.0.1:8765/health",
|
|
562
562
|
"deploymentScope": "customer",
|
|
563
563
|
"note": "npm package @askexenow/exe-os@0.9.134. Session routing fix, DB safety suite, Codex MCP, 20 bug fixes."
|
|
564
564
|
},
|
|
565
565
|
"gateway": {
|
|
566
566
|
"env": "GATEWAY_IMAGE_TAG",
|
|
567
|
-
"image": "
|
|
567
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.3",
|
|
568
568
|
"healthUrl": "http://127.0.0.1:3100/health",
|
|
569
569
|
"deploymentScope": "customer"
|
|
570
570
|
},
|
|
571
571
|
"monitorAgent": {
|
|
572
572
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
573
|
-
"image": "
|
|
573
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.3",
|
|
574
574
|
"healthUrl": "http://127.0.0.1:45876/",
|
|
575
575
|
"deploymentScope": "customer"
|
|
576
576
|
}
|
|
@@ -584,32 +584,32 @@
|
|
|
584
584
|
"breakingChanges": [],
|
|
585
585
|
"services": {
|
|
586
586
|
"crm": {
|
|
587
|
-
"image": "
|
|
587
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.4",
|
|
588
588
|
"env": "CRM_IMAGE_TAG",
|
|
589
589
|
"composeService": "exe-crm"
|
|
590
590
|
},
|
|
591
591
|
"wiki": {
|
|
592
|
-
"image": "
|
|
592
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.5",
|
|
593
593
|
"env": "WIKI_IMAGE_TAG",
|
|
594
594
|
"composeService": "exe-wiki"
|
|
595
595
|
},
|
|
596
596
|
"exe-os": {
|
|
597
|
-
"image": "
|
|
597
|
+
"image": "update.askexe.com/askexe/exe-os:v0.9.157",
|
|
598
598
|
"env": "EXE_OS_IMAGE_TAG",
|
|
599
599
|
"composeService": "exe-os"
|
|
600
600
|
},
|
|
601
601
|
"gateway": {
|
|
602
|
-
"image": "
|
|
602
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.4",
|
|
603
603
|
"env": "GATEWAY_IMAGE_TAG",
|
|
604
604
|
"composeService": "exe-gateway"
|
|
605
605
|
},
|
|
606
606
|
"monitorAgent": {
|
|
607
|
-
"image": "
|
|
607
|
+
"image": "update.askexe.com/askexe/exe-monitor-agent:v0.9.4",
|
|
608
608
|
"env": "MONITOR_AGENT_IMAGE_TAG",
|
|
609
609
|
"composeService": "exe-monitor-agent"
|
|
610
610
|
},
|
|
611
611
|
"monitorHub": {
|
|
612
|
-
"image": "
|
|
612
|
+
"image": "update.askexe.com/askexe/exe-monitor-hub:v0.9.5",
|
|
613
613
|
"env": "MONITOR_HUB_IMAGE_TAG",
|
|
614
614
|
"composeService": "exe-monitor-hub"
|
|
615
615
|
}
|
|
@@ -623,22 +623,22 @@
|
|
|
623
623
|
"breakingChanges": [],
|
|
624
624
|
"services": {
|
|
625
625
|
"crm": {
|
|
626
|
-
"image": "update.askexe.com/askexe/exe-crm:v0.9.
|
|
626
|
+
"image": "update.askexe.com/askexe/exe-crm:v0.9.15",
|
|
627
627
|
"env": "CRM_IMAGE_TAG",
|
|
628
628
|
"composeService": "exe-crm"
|
|
629
629
|
},
|
|
630
630
|
"wiki": {
|
|
631
|
-
"image": "update.askexe.com/askexe/exe-wiki:v0.9.
|
|
631
|
+
"image": "update.askexe.com/askexe/exe-wiki:v0.9.11",
|
|
632
632
|
"env": "WIKI_IMAGE_TAG",
|
|
633
633
|
"composeService": "exe-wiki"
|
|
634
634
|
},
|
|
635
635
|
"exe-os": {
|
|
636
|
-
"image": "update.askexe.com/askexe/exe-os:v0.9.
|
|
636
|
+
"image": "update.askexe.com/askexe/exe-os:v0.9.159",
|
|
637
637
|
"env": "EXE_OS_IMAGE_TAG",
|
|
638
638
|
"composeService": "exe-os"
|
|
639
639
|
},
|
|
640
640
|
"gateway": {
|
|
641
|
-
"image": "update.askexe.com/askexe/exe-gateway:v0.9.
|
|
641
|
+
"image": "update.askexe.com/askexe/exe-gateway:v0.9.8",
|
|
642
642
|
"env": "GATEWAY_IMAGE_TAG",
|
|
643
643
|
"composeService": "exe-gateway"
|
|
644
644
|
},
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
"composeService": "exe-monitor-agent"
|
|
649
649
|
},
|
|
650
650
|
"monitorHub": {
|
|
651
|
-
"image": "update.askexe.com/askexe/exe-monitor-hub:v0.9.
|
|
651
|
+
"image": "update.askexe.com/askexe/exe-monitor-hub:v0.9.4",
|
|
652
652
|
"env": "MONITOR_HUB_IMAGE_TAG",
|
|
653
653
|
"composeService": "exe-monitor-hub"
|
|
654
654
|
}
|
|
@@ -22,8 +22,8 @@ Environment:
|
|
|
22
22
|
EXE_REGISTRY_PROXY_ALLOWED_NAMESPACE=askexe
|
|
23
23
|
|
|
24
24
|
Docker image shape for clients:
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
update.askexe.com/askexe/exe-os:v0.9.3
|
|
26
|
+
update.askexe.com/askexe/exe-crm:v0.9.3
|
|
27
27
|
`);
|
|
28
28
|
}
|
|
29
29
|
async function main(args = process.argv.slice(2)) {
|
package/dist/bin/stack-update.js
CHANGED
|
@@ -207,7 +207,7 @@ async function main(args) {
|
|
|
207
207
|
console.log("[health-gate] Starting rollback...");
|
|
208
208
|
restorePreDeployBackup();
|
|
209
209
|
try {
|
|
210
|
-
const { rollbackStackUpdate, defaultStackPaths } = await import("../stack-update-
|
|
210
|
+
const { rollbackStackUpdate, defaultStackPaths } = await import("../stack-update-C4BAPLXJ.js");
|
|
211
211
|
const paths = defaultStackPaths();
|
|
212
212
|
await rollbackStackUpdate({
|
|
213
213
|
manifestRef: paths.manifestRef,
|
|
@@ -495,6 +495,15 @@ function createSessionTTLRealDeps(getClient) {
|
|
|
495
495
|
listRegisteredSessions: () => listSessions(),
|
|
496
496
|
listTmuxSessions: () => listTmuxSessions(),
|
|
497
497
|
getSessionCreatedEpoch: (sessionName) => {
|
|
498
|
+
try {
|
|
499
|
+
const sessions = listSessions();
|
|
500
|
+
const entry = sessions.find((s) => s.windowName === sessionName);
|
|
501
|
+
if (entry?.registeredAt) {
|
|
502
|
+
const epoch = new Date(entry.registeredAt).getTime() / 1e3;
|
|
503
|
+
if (!isNaN(epoch)) return epoch;
|
|
504
|
+
}
|
|
505
|
+
} catch {
|
|
506
|
+
}
|
|
498
507
|
try {
|
|
499
508
|
const out = execSync(
|
|
500
509
|
`tmux display-message -t ${JSON.stringify(sessionName)} -p '#{session_created}' 2>/dev/null`,
|
|
@@ -1304,6 +1313,42 @@ function reapZombieAgentProcesses(deps) {
|
|
|
1304
1313
|
}
|
|
1305
1314
|
}
|
|
1306
1315
|
if (hasLiveSession) continue;
|
|
1316
|
+
const coordinatorSessions = [...liveSessions].filter(
|
|
1317
|
+
(s) => isCoordinatorName(s.replace(/^\w+-/, "")) || isExeSession(s)
|
|
1318
|
+
);
|
|
1319
|
+
if (coordinatorSessions.length > 0) {
|
|
1320
|
+
let belongsToCoordinator = false;
|
|
1321
|
+
for (const cs of coordinatorSessions) {
|
|
1322
|
+
try {
|
|
1323
|
+
const panePids = execSync(
|
|
1324
|
+
`tmux list-panes -t ${JSON.stringify(cs)} -F '#{pane_pid}' 2>/dev/null`,
|
|
1325
|
+
{ encoding: "utf8", timeout: 3e3 }
|
|
1326
|
+
).trim().split("\n").map(Number).filter(Boolean);
|
|
1327
|
+
for (const panePid of panePids) {
|
|
1328
|
+
let walk = pid;
|
|
1329
|
+
for (let d = 0; d < 10; d++) {
|
|
1330
|
+
if (walk === panePid) {
|
|
1331
|
+
belongsToCoordinator = true;
|
|
1332
|
+
break;
|
|
1333
|
+
}
|
|
1334
|
+
const p = procMap.get(walk);
|
|
1335
|
+
if (!p || p.ppid <= 1) break;
|
|
1336
|
+
walk = p.ppid;
|
|
1337
|
+
}
|
|
1338
|
+
if (belongsToCoordinator) break;
|
|
1339
|
+
}
|
|
1340
|
+
} catch {
|
|
1341
|
+
}
|
|
1342
|
+
if (belongsToCoordinator) break;
|
|
1343
|
+
}
|
|
1344
|
+
if (belongsToCoordinator) {
|
|
1345
|
+
process.stderr.write(
|
|
1346
|
+
`[zombie-agent-reaper] SKIPPING PID ${pid} \u2014 belongs to coordinator session (${info.args.slice(0, 60)})
|
|
1347
|
+
`
|
|
1348
|
+
);
|
|
1349
|
+
continue;
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1307
1352
|
const rssKb = getRssKb(pid);
|
|
1308
1353
|
const rssMb = rssKb ? Math.round(rssKb / 1024) : "?";
|
|
1309
1354
|
const desc = `PID ${pid} (age=${ageSecs}s, RSS=${rssMb}MB, ${info.args.slice(0, 80)})`;
|
|
@@ -140,22 +140,22 @@ function createStackUpdatePlan(manifest, envRaw, targetVersion) {
|
|
|
140
140
|
breakingChanges: release.breakingChanges ?? []
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
|
-
var ASKEXE_GHCR_IMAGE = /^(?:ghcr\.io\/askexe|
|
|
143
|
+
var ASKEXE_GHCR_IMAGE = /^(?:ghcr\.io\/askexe|update\.askexe\.com\/askexe)\/[a-z0-9._/-]+(?::[^:@$/{]+|@sha256:[a-f0-9]{64})$/i;
|
|
144
144
|
function validatePinnedGhcrImage(image, label) {
|
|
145
145
|
const trimmed = image.trim().replace(/^['"]|['"]$/g, "");
|
|
146
146
|
if (!trimmed) return `${label} is empty`;
|
|
147
147
|
if (trimmed.includes("${")) return null;
|
|
148
|
-
if (!trimmed.startsWith("ghcr.io/askexe/") && !trimmed.startsWith("
|
|
148
|
+
if (!trimmed.startsWith("ghcr.io/askexe/") && !trimmed.startsWith("update.askexe.com/askexe/")) return `${label} must use ghcr.io/askexe/* or update.askexe.com/askexe/*, got ${trimmed}`;
|
|
149
149
|
if (/:latest(?:$|[\s#])/.test(trimmed)) return `${label} must not use :latest (${trimmed})`;
|
|
150
|
-
if (!ASKEXE_GHCR_IMAGE.test(trimmed)) return `${label} must be pinned with an explicit tag or sha256 digest from ghcr.io/askexe or
|
|
150
|
+
if (!ASKEXE_GHCR_IMAGE.test(trimmed)) return `${label} must be pinned with an explicit tag or sha256 digest from ghcr.io/askexe or update.askexe.com/askexe, got ${trimmed}`;
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
153
153
|
function validateComposeImageLiteral(image, label) {
|
|
154
154
|
const trimmed = image.trim().replace(/^['"]|['"]$/g, "");
|
|
155
155
|
if (!trimmed) return `${label} is empty`;
|
|
156
|
-
if (trimmed.startsWith("ghcr.io/askexe/") || trimmed.startsWith("
|
|
156
|
+
if (trimmed.startsWith("ghcr.io/askexe/") || trimmed.startsWith("update.askexe.com/askexe/")) return validatePinnedGhcrImage(trimmed, label);
|
|
157
157
|
if (/^(postgres|pgvector\/pgvector|clickhouse\/clickhouse-server|redis|nginx|postgrest\/postgrest|supabase\/gotrue):[^:]+$/i.test(trimmed)) return null;
|
|
158
|
-
return `${label} uses unsupported non-AskExe image ${trimmed}; customer app images must come from pinned ghcr.io/askexe images`;
|
|
158
|
+
return `${label} uses unsupported non-AskExe image ${trimmed}; customer app images must come from pinned update.askexe.com/askexe or ghcr.io/askexe images`;
|
|
159
159
|
}
|
|
160
160
|
function collectProductionDeployGateIssues(plan, envRaw, composeRaw) {
|
|
161
161
|
const issues = [];
|
|
@@ -209,7 +209,7 @@ function assertProductionDeployGate(plan, envRaw, composeRaw, options = {}) {
|
|
|
209
209
|
}
|
|
210
210
|
const details = issues.map((issue) => `- [${issue.kind}] ${issue.message}`).join("\n");
|
|
211
211
|
throw new Error(
|
|
212
|
-
`Production deploy gate failed. Exe OS deploys must use pinned ghcr.io/askexe or
|
|
212
|
+
`Production deploy gate failed. Exe OS deploys must use pinned ghcr.io/askexe or update.askexe.com/askexe images and must not build from source on the VPS.
|
|
213
213
|
${details}
|
|
214
214
|
Emergency override requires --break-glass <reason> and writes an audit file.`
|
|
215
215
|
);
|
|
@@ -628,7 +628,7 @@ async function runStackUpdate(options) {
|
|
|
628
628
|
const password = rest.join(":");
|
|
629
629
|
if (username && password) {
|
|
630
630
|
const sampleImage = Object.values(plan.release.services)[0]?.image ?? "";
|
|
631
|
-
const registry = sampleImage.startsWith("update.askexe.com") ? "update.askexe.com" :
|
|
631
|
+
const registry = sampleImage.startsWith("update.askexe.com") ? "update.askexe.com" : "ghcr.io";
|
|
632
632
|
creds = { registry, username, password };
|
|
633
633
|
console.log(`[stack-update] Using manual registry credentials for ${registry}.`);
|
|
634
634
|
}
|
|
@@ -215,12 +215,6 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
215
215
|
`[session-end] WARNING: ${agent.agentId} ended with ${inProgress.length} in_progress task(s): ${titles}
|
|
216
216
|
`
|
|
217
217
|
);
|
|
218
|
-
let commits = [];
|
|
219
|
-
try {
|
|
220
|
-
const { getRecentCommits } = await import("../git-task-sweep-GPPNL2DK.js");
|
|
221
|
-
commits = getRecentCommits(30);
|
|
222
|
-
} catch {
|
|
223
|
-
}
|
|
224
218
|
const autoClosed = [];
|
|
225
219
|
const leftInProgress = [];
|
|
226
220
|
for (const row of inProgress) {
|