| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- {
- "version": "1.1.0",
- "runtime": {
- "image": "fmode/agent-node:0.21.3",
- "memoryLimit": "1536m",
- "nanoCpus": 1500000000,
- "pidsLimit": 512,
- "restartPolicy": "unless-stopped",
- "mount": {
- "hostPattern": "/opt/fmode-containers/<agentId>/data",
- "containerPath": "/opt/data"
- },
- "entrypoint": "/opt/data/.fmode-media-patch/entry.sh",
- "command": [
- "gateway",
- "run"
- ],
- "hermesHome": "/opt/data",
- "timezone": "Asia/Shanghai"
- },
- "matrix": {
- "homeserver": "https://matrix.fmode.cn",
- "reactions": true,
- "requireMention": false,
- "maxMediaBytes": 838860800,
- "e2eeMode": "off",
- "threadProgressEvents": true
- },
- "reporting": {
- "heartbeatSeconds": 3600,
- "jitterMaxSeconds": 900,
- "appOfflineSeconds": 4800,
- "sessionIdleTtlSeconds": 600,
- "sessionFields": [
- "sessionKey",
- "userId",
- "status",
- "task",
- "stage",
- "action",
- "progress",
- "turnStartAt",
- "updatedAt",
- "ttlMs"
- ]
- },
- "directories": {
- "writableRuntimeParents": [
- "/opt/data/cache",
- "/opt/data/sessions",
- "/opt/data/work"
- ],
- "taskWork": "/opt/data/work/tasks/<taskId>",
- "incomingFiles": "/opt/data/work/uploads",
- "deliverableStaging": "/opt/data/work/deliverables",
- "regenerableCache": "/opt/data/cache/regenerable",
- "platformSkills": "/opt/data/skills/platform",
- "customSkills": "/opt/data/skills/custom",
- "protectedState": [
- "/opt/data/cache/deliverable-hook",
- "/opt/data/sessions",
- "/opt/data/state.db",
- "/opt/data/.env",
- "/opt/data/plugins",
- "/opt/data/scripts"
- ]
- },
- "cleanup": {
- "intervalMinutes": 30,
- "inactiveSeconds": 3600,
- "uploadedFileGraceSeconds": 3600,
- "diskPressurePercent": 80,
- "diskPressureExpandsScope": false,
- "requiresCloudAck": true,
- "requiresAppRegistration": true,
- "contentDigest": "sha256",
- "requiresNoActiveSessionReference": true
- },
- "channels": {
- "envFile": "/opt/fmode-containers/<agentId>/container.env",
- "required": [
- "matrix"
- ],
- "optional": [
- "wecom"
- ],
- "wecomEnv": [
- "WECOM_ENABLED",
- "WECOM_BOT_ID",
- "WECOM_SECRET",
- "WECOM_WEBSOCKET_URL",
- "WECOM_ALLOW_ALL_USERS"
- ],
- "runtimeSource": "onboarding-bundle"
- }
- }
|