openmates 0.15.0-alpha.36 → 0.15.0-alpha.37
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.
|
@@ -1739,13 +1739,6 @@ var OpenMatesWsClient = class {
|
|
|
1739
1739
|
});
|
|
1740
1740
|
return;
|
|
1741
1741
|
}
|
|
1742
|
-
if (options?.recoveryTurnId && recoveryJobId && aiResponseDone && !postProcessingDone) {
|
|
1743
|
-
if (postProcessingTimer) {
|
|
1744
|
-
clearTimeout(postProcessingTimer);
|
|
1745
|
-
postProcessingTimer = null;
|
|
1746
|
-
}
|
|
1747
|
-
postProcessingDone = true;
|
|
1748
|
-
}
|
|
1749
1742
|
if (!aiResponseDone || !postProcessingDone) return;
|
|
1750
1743
|
if (options?.recoveryTurnId && !recoveryJobId) return;
|
|
1751
1744
|
if (pendingSubChatHandlers.size > 0) return;
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openmates",
|
|
3
|
-
"version": "0.15.0-alpha.
|
|
3
|
+
"version": "0.15.0-alpha.37",
|
|
4
4
|
"description": "OpenMates CLI and SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,11 +30,13 @@
|
|
|
30
30
|
"test:unit:workflows": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/workflows.test.ts",
|
|
31
31
|
"test:unit:sdk-workflows": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/sdk-workflows.test.ts",
|
|
32
32
|
"test:unit:remote-access": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/remoteSources.test.ts tests/remoteAccess.test.ts",
|
|
33
|
+
"test:unit:teams": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/teams-permissions.test.ts",
|
|
33
34
|
"test:unit:proton-bridge-connector": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/protonBridgeConnector.test.ts",
|
|
34
35
|
"test:unit:proton-bridge-connector-integration": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/protonBridgeConnector.integration.test.ts",
|
|
35
36
|
"test:unit:sdk-projects": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/sdk-projects.test.ts",
|
|
36
37
|
"test:unit:billing": "node --test tests/billing.test.ts",
|
|
37
38
|
"test:unit:account-delete": "node --test tests/account-delete.test.ts",
|
|
39
|
+
"test:unit:ideabucket": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/ideabucket.test.ts",
|
|
38
40
|
"test:unit:cli": "node --test tests/cli.test.ts",
|
|
39
41
|
"test:t-cli-recovery": "node --test --experimental-strip-types --loader ./tests/loader.mjs --test-name-pattern recovery tests/client.test.ts",
|
|
40
42
|
"test:t-cli-update-required": "npm run build && node --test --test-name-pattern update-required tests/cli.test.ts",
|
|
@@ -43,7 +45,7 @@
|
|
|
43
45
|
"test:unit:tui": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/tui.test.ts tests/tuiExampleContinuation.test.ts tests/tuiWorkflowInteraction.test.ts",
|
|
44
46
|
"test:unit:connected-account-import": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/connectedAccountImport.test.ts",
|
|
45
47
|
"test:unit:benchmark": "node --test --experimental-strip-types --loader ./tests/loader.mjs src/__tests__/benchmark.test.ts",
|
|
46
|
-
"test": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/crypto.test.ts tests/storage.test.ts tests/keychain.test.ts tests/mentions.test.ts tests/outputRedactor.test.ts tests/fileEmbed.test.ts tests/embedCreator.test.ts tests/shareEncryption.test.ts tests/server.test.ts tests/ws.test.ts tests/urlEmbed.test.ts tests/tui.test.ts tests/tuiExampleContinuation.test.ts tests/tuiWorkflowInteraction.test.ts tests/workflows.test.ts tests/sdk-workflows.test.ts tests/draft-sync.test.ts tests/sdk-draft-sync.test.ts src/__tests__/benchmark.test.ts && node --test --experimental-strip-types --loader ./tests/loader.mjs tests/embedRenderers.test.ts tests/connectedAccountImport.test.ts && node --test tests/cli.test.ts tests/billing.test.ts tests/account-delete.test.ts tests/signup.test.ts tests/security-setup.test.ts tests/e2e-provisioning.test.ts"
|
|
48
|
+
"test": "node --test --experimental-strip-types --loader ./tests/loader.mjs tests/crypto.test.ts tests/storage.test.ts tests/keychain.test.ts tests/mentions.test.ts tests/outputRedactor.test.ts tests/fileEmbed.test.ts tests/embedCreator.test.ts tests/shareEncryption.test.ts tests/server.test.ts tests/ws.test.ts tests/urlEmbed.test.ts tests/tui.test.ts tests/tuiExampleContinuation.test.ts tests/tuiWorkflowInteraction.test.ts tests/workflows.test.ts tests/sdk-workflows.test.ts tests/draft-sync.test.ts tests/sdk-draft-sync.test.ts tests/ideabucket.test.ts tests/teams-permissions.test.ts src/__tests__/benchmark.test.ts && node --test --experimental-strip-types --loader ./tests/loader.mjs tests/embedRenderers.test.ts tests/connectedAccountImport.test.ts && node --test tests/cli.test.ts tests/billing.test.ts tests/account-delete.test.ts tests/signup.test.ts tests/security-setup.test.ts tests/e2e-provisioning.test.ts"
|
|
47
49
|
},
|
|
48
50
|
"keywords": [
|
|
49
51
|
"openmates",
|
|
@@ -185,25 +185,27 @@ services:
|
|
|
185
185
|
restart: on-failure
|
|
186
186
|
|
|
187
187
|
task-worker:
|
|
188
|
-
|
|
188
|
+
<<: *openmates-worker-base
|
|
189
189
|
container_name: task-worker
|
|
190
|
-
restart: unless-stopped
|
|
191
190
|
mem_limit: ${TASK_WORKER_MEMORY_LIMIT:-3g}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
191
|
+
environment:
|
|
192
|
+
<<: *openmates-worker-env
|
|
193
|
+
CELERY_QUEUES: email,user_init,persistence,health_check,server_stats,demo,reminder,push
|
|
194
|
+
CELERY_AUTOSCALE_MAX: ${TASK_WORKER_CONCURRENCY:-${CELERY_AUTOSCALE_MAX:-3}}
|
|
195
|
+
CELERY_AUTOSCALE_MIN: ${CELERY_AUTOSCALE_MIN:-1}
|
|
196
|
+
CELERY_METRICS_PORT: "9101"
|
|
197
|
+
command: >
|
|
198
|
+
sh -c "chown -R celeryuser:celeryuser /vault-data && gosu celeryuser python -m celery -A backend.core.api.app.tasks.celery_config worker --loglevel=info --queues=email,user_init,persistence,health_check,server_stats,demo,reminder,push --concurrency=$${CELERY_AUTOSCALE_MAX} --max-tasks-per-child=50 --max-memory-per-child=600000 --prefetch-multiplier=1"
|
|
196
199
|
|
|
197
200
|
task-scheduler:
|
|
198
|
-
|
|
201
|
+
<<: *openmates-worker-base
|
|
199
202
|
container_name: task-scheduler
|
|
200
|
-
restart: unless-stopped
|
|
201
|
-
env_file: ../../.env
|
|
202
203
|
command: python -m celery -A backend.core.api.app.tasks.celery_config beat --loglevel=info --schedule=/celerybeat-data/celerybeat-schedule
|
|
203
204
|
volumes:
|
|
205
|
+
- ../../config:/app_config
|
|
206
|
+
- vault-setup-data:/vault-data
|
|
207
|
+
- api-logs:/app/logs
|
|
204
208
|
- celerybeat-schedule-data:/celerybeat-data
|
|
205
|
-
networks: [openmates]
|
|
206
|
-
depends_on: [api]
|
|
207
209
|
|
|
208
210
|
app-ai-worker:
|
|
209
211
|
<<: *openmates-worker-base
|