nova-personal-agent-server 0.4.1 → 1.0.2

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.
Files changed (327) hide show
  1. package/LICENSE +674 -201
  2. package/README.md +10 -0
  3. package/bin/nova-space-host.mjs +4 -0
  4. package/node_modules/@nova-personal-agent/relay/dist/src/cli.js +71 -0
  5. package/node_modules/@nova-personal-agent/relay/dist/src/client.js +340 -0
  6. package/node_modules/@nova-personal-agent/relay/dist/src/crypto.js +167 -0
  7. package/node_modules/@nova-personal-agent/relay/dist/src/live.js +169 -0
  8. package/node_modules/@nova-personal-agent/relay/dist/src/mailbox.js +217 -0
  9. package/node_modules/@nova-personal-agent/relay/dist/src/media.js +320 -0
  10. package/node_modules/@nova-personal-agent/relay/dist/src/pairing.js +13 -0
  11. package/node_modules/@nova-personal-agent/relay/dist/src/protocol.js +50 -0
  12. package/node_modules/@nova-personal-agent/relay/dist/src/security.js +305 -0
  13. package/node_modules/@nova-personal-agent/relay/dist/src/server.js +477 -0
  14. package/node_modules/@nova-personal-agent/relay/dist/src/source-address.js +58 -0
  15. package/node_modules/@nova-personal-agent/relay/package.json +1 -0
  16. package/package.json +11 -4
  17. package/runtime/dist/src/cascaded-text-provider.js +8 -3
  18. package/runtime/dist/src/composition/assembly.js +133 -35
  19. package/runtime/dist/src/composition/cascaded-realtime-assembly.js +114 -59
  20. package/runtime/dist/src/composition/production-composition.js +57 -21
  21. package/runtime/dist/src/composition/realtime-assembly.js +160 -52
  22. package/runtime/dist/src/composition/soul-context.js +22 -0
  23. package/runtime/dist/src/config/capability-registry.js +48 -3
  24. package/runtime/dist/src/config/cascaded-realtime-config.js +23 -10
  25. package/runtime/dist/src/config/config.js +541 -128
  26. package/runtime/dist/src/config/credential-rotation.js +26 -0
  27. package/runtime/dist/src/config/data-root.js +764 -0
  28. package/runtime/dist/src/config/diagnostics.js +3 -1
  29. package/runtime/dist/src/config/environment-contract.js +190 -188
  30. package/runtime/dist/src/config/model-routes.js +140 -0
  31. package/runtime/dist/src/config/voice-credentials.js +55 -0
  32. package/runtime/dist/src/connectors/composio/index.js +9 -0
  33. package/runtime/dist/src/connectors/feishu/index.js +258 -44
  34. package/runtime/dist/src/connectors/macos/mail.js +7 -3
  35. package/runtime/dist/src/connectors/macos/reader.js +3 -1
  36. package/runtime/dist/src/conversation-voice-provider.js +5 -2
  37. package/runtime/dist/src/core/causal-runtime.js +38 -3
  38. package/runtime/dist/src/core/context-view.js +7 -0
  39. package/runtime/dist/src/core/guards.js +32 -0
  40. package/runtime/dist/src/core/runtime.js +3 -0
  41. package/runtime/dist/src/core/schedule-tools.js +2 -2
  42. package/runtime/dist/src/core/source-processing-instructions.js +2 -2
  43. package/runtime/dist/src/core/source-processing-tools.js +3 -1
  44. package/runtime/dist/src/core/tool-schema.js +42 -7
  45. package/runtime/dist/src/desktop/desktop-camera.js +3 -5
  46. package/runtime/dist/src/desktop/desktop-control.js +41 -8
  47. package/runtime/dist/src/desktop/desktop-session.js +90 -19
  48. package/runtime/dist/src/desktop/desktop-wire.js +5 -7
  49. package/runtime/dist/src/desktop/startup-error.js +18 -16
  50. package/runtime/dist/src/desktop/workbench-acceptance.js +52 -14
  51. package/runtime/dist/src/desktop-entry.js +6 -2
  52. package/runtime/dist/src/desktop.js +5 -1
  53. package/runtime/dist/src/device/attempt.js +65 -0
  54. package/runtime/dist/src/device/authority.js +159 -0
  55. package/runtime/dist/src/device/gateway.js +87 -0
  56. package/runtime/dist/src/device/ledger.js +91 -0
  57. package/runtime/dist/src/device/ownership.js +92 -0
  58. package/runtime/dist/src/device/port.js +2 -0
  59. package/runtime/dist/src/device/schedule-ownership.js +103 -0
  60. package/runtime/dist/src/executors/acp/transport.js +2 -0
  61. package/runtime/dist/src/executors/browser.js +4 -3
  62. package/runtime/dist/src/executors/codex/adapter-project.js +58 -12
  63. package/runtime/dist/src/executors/codex/app-server-schema.js +12 -21
  64. package/runtime/dist/src/executors/codex/app-server-transport.js +32 -18
  65. package/runtime/dist/src/executors/codex/common.js +1 -1
  66. package/runtime/dist/src/executors/codex/contract.js +12 -16
  67. package/runtime/dist/src/executors/codex/credential-snapshot.js +1 -9
  68. package/runtime/dist/src/executors/codex/factory.js +54 -32
  69. package/runtime/dist/src/executors/codex/host-config.js +69 -20
  70. package/runtime/dist/src/executors/codex/launch-profile.js +3 -2
  71. package/runtime/dist/src/executors/codex/local-provider-credential.js +39 -0
  72. package/runtime/dist/src/executors/codex/process-owner.js +4 -6
  73. package/runtime/dist/src/executors/codex/production-host.js +33 -34
  74. package/runtime/dist/src/executors/codex/protocol.js +9 -14
  75. package/runtime/dist/src/executors/codex/session-title.js +6 -8
  76. package/runtime/dist/src/executors/codex/spawn-env.js +27 -6
  77. package/runtime/dist/src/executors/codex/turn-projection.js +12 -17
  78. package/runtime/dist/src/executors/codex/windows-guardian.js +4 -6
  79. package/runtime/dist/src/executors/coding/intake.js +12 -7
  80. package/runtime/dist/src/executors/computer-backend.js +18 -10
  81. package/runtime/dist/src/executors/computer-config.js +32 -0
  82. package/runtime/dist/src/executors/computer-device.js +68 -16
  83. package/runtime/dist/src/executors/computer-worker.js +18 -6
  84. package/runtime/dist/src/executors/computer.js +29 -56
  85. package/runtime/dist/src/executors/device-lock.js +14 -5
  86. package/runtime/dist/src/executors/gui-execution.js +2 -0
  87. package/runtime/dist/src/executors/index.js +0 -1
  88. package/runtime/dist/src/executors/mobile.js +9 -8
  89. package/runtime/dist/src/executors/native-process.js +4 -0
  90. package/runtime/dist/src/executors/search.js +3 -5
  91. package/runtime/dist/src/executors/task-resources.js +21 -0
  92. package/runtime/dist/src/executors/watcher.js +2 -4
  93. package/runtime/dist/src/experience/host.js +179 -0
  94. package/runtime/dist/src/index.js +2 -0
  95. package/runtime/dist/src/knowledge/assembly.js +3 -4
  96. package/runtime/dist/src/knowledge/embeddings.js +50 -34
  97. package/runtime/dist/src/knowledge/service.js +1 -0
  98. package/runtime/dist/src/knowledge/store-client.js +1 -6
  99. package/runtime/dist/src/knowledge/store-worker.js +1 -3
  100. package/runtime/dist/src/mem0/resource.js +25 -0
  101. package/runtime/dist/src/mem0/store-worker.js +234 -21
  102. package/runtime/dist/src/memory/consumer.js +31 -0
  103. package/runtime/dist/src/memory/engine-worker.js +210 -0
  104. package/runtime/dist/src/memory/entry.js +8 -1
  105. package/runtime/dist/src/memory/explicit-memory.js +20 -0
  106. package/runtime/dist/src/memory/factory.js +30 -15
  107. package/runtime/dist/src/memory/grounded-voicemem.js +10 -0
  108. package/runtime/dist/src/memory/ledger-recall-engine.js +86 -0
  109. package/runtime/dist/src/memory/prerecall-port.js +27 -0
  110. package/runtime/dist/src/memory/prerecall.js +1 -1
  111. package/runtime/dist/src/memory/production-engine.js +151 -0
  112. package/runtime/dist/src/memory/provenance.js +1 -0
  113. package/runtime/dist/src/memory/remote-personal-memory.js +3 -1
  114. package/runtime/dist/src/memory/retrieval.js +107 -22
  115. package/runtime/dist/src/memory/sensitivity.js +6 -2
  116. package/runtime/dist/src/memory/source-retrieval.js +11 -0
  117. package/runtime/dist/src/memory/tool-capabilities.js +46 -0
  118. package/runtime/dist/src/memory/voicemem-sdk/LICENSE +202 -0
  119. package/runtime/dist/src/memory/voicemem-sdk/NOTICE.md +97 -0
  120. package/runtime/dist/src/memory/voicemem-sdk/PATCH-NOTICE.md +23 -0
  121. package/runtime/dist/src/memory/voicemem-sdk/archive.js +12 -0
  122. package/runtime/dist/src/memory/voicemem-sdk/audio.js +111 -0
  123. package/runtime/dist/src/memory/voicemem-sdk/barge-in.js +59 -0
  124. package/runtime/dist/src/memory/voicemem-sdk/checkpoint.js +56 -0
  125. package/runtime/dist/src/memory/voicemem-sdk/cleanup.js +139 -0
  126. package/runtime/dist/src/memory/voicemem-sdk/dashscope-asr.js +254 -0
  127. package/runtime/dist/src/memory/voicemem-sdk/dashscope-tts.js +247 -0
  128. package/runtime/dist/src/memory/voicemem-sdk/evaluation.js +330 -0
  129. package/runtime/dist/src/memory/voicemem-sdk/extraction.js +220 -0
  130. package/runtime/dist/src/memory/voicemem-sdk/finetune-data.js +115 -0
  131. package/runtime/dist/src/memory/voicemem-sdk/finetune.js +170 -0
  132. package/runtime/dist/src/memory/voicemem-sdk/grounded-reply-preferences.js +81 -0
  133. package/runtime/dist/src/memory/voicemem-sdk/index.js +22 -0
  134. package/runtime/dist/src/memory/voicemem-sdk/local-embedding.js +164 -0
  135. package/runtime/dist/src/memory/voicemem-sdk/local-runtime.js +53 -0
  136. package/runtime/dist/src/memory/voicemem-sdk/local-speaker.js +240 -0
  137. package/runtime/dist/src/memory/voicemem-sdk/memory.js +767 -0
  138. package/runtime/dist/src/memory/voicemem-sdk/model-json.js +14 -0
  139. package/runtime/dist/src/memory/voicemem-sdk/personamem.js +209 -0
  140. package/runtime/dist/src/memory/voicemem-sdk/prompts/addenda.js +215 -0
  141. package/runtime/dist/src/memory/voicemem-sdk/prompts/additive-extraction.js +478 -0
  142. package/runtime/dist/src/memory/voicemem-sdk/prompts/index.js +32 -0
  143. package/runtime/dist/src/memory/voicemem-sdk/prompts/update-memory.js +152 -0
  144. package/runtime/dist/src/memory/voicemem-sdk/providers.js +325 -0
  145. package/runtime/dist/src/memory/voicemem-sdk/ranking.js +65 -0
  146. package/runtime/dist/src/memory/voicemem-sdk/reaction.js +33 -0
  147. package/runtime/dist/src/memory/voicemem-sdk/realtime.js +215 -0
  148. package/runtime/dist/src/memory/voicemem-sdk/reply.js +68 -0
  149. package/runtime/dist/src/memory/voicemem-sdk/routing.js +209 -0
  150. package/runtime/dist/src/memory/voicemem-sdk/slots.js +61 -0
  151. package/runtime/dist/src/memory/voicemem-sdk/speaker-bindings.js +120 -0
  152. package/runtime/dist/src/memory/voicemem-sdk/speaker-profiles.js +327 -0
  153. package/runtime/dist/src/memory/voicemem-sdk/store.js +577 -0
  154. package/runtime/dist/src/memory/voicemem-sdk/stream.js +317 -0
  155. package/runtime/dist/src/memory/voicemem-sdk/subgraph.js +113 -0
  156. package/runtime/dist/src/memory/voicemem-sdk/summaries.js +56 -0
  157. package/runtime/dist/src/memory/voicemem-sdk/time.js +157 -0
  158. package/runtime/dist/src/memory/voicemem-sdk/types.js +2 -0
  159. package/runtime/dist/src/memory-ledger/store-client.js +235 -37
  160. package/runtime/dist/src/memory-ledger/store-worker.js +8 -5
  161. package/runtime/dist/src/memory-ledger/store.js +91 -1
  162. package/runtime/dist/src/memory-substrate/consolidation.js +23 -7
  163. package/runtime/dist/src/memory-substrate/diary.js +27 -0
  164. package/runtime/dist/src/memory-substrate/engine-outbox.js +107 -0
  165. package/runtime/dist/src/memory-substrate/explicit-memory.js +112 -0
  166. package/runtime/dist/src/memory-substrate/fact-fidelity.js +68 -0
  167. package/runtime/dist/src/memory-substrate/feishu-consent.js +41 -0
  168. package/runtime/dist/src/memory-substrate/file-authority.js +29 -6
  169. package/runtime/dist/src/memory-substrate/life-operations.js +35 -9
  170. package/runtime/dist/src/memory-substrate/markdown-repository.js +271 -65
  171. package/runtime/dist/src/memory-substrate/memory-documents.js +96 -0
  172. package/runtime/dist/src/memory-substrate/migration.js +2 -0
  173. package/runtime/dist/src/memory-substrate/purge.js +12 -2
  174. package/runtime/dist/src/memory-substrate/resource.js +514 -129
  175. package/runtime/dist/src/memory-substrate/retrieval.js +8 -5
  176. package/runtime/dist/src/memory-substrate/source-operations.js +9 -1
  177. package/runtime/dist/src/memory-substrate/source-processing.js +436 -40
  178. package/runtime/dist/src/memory-substrate/source-retrieval.js +28 -0
  179. package/runtime/dist/src/memory-substrate/source-state.js +8 -0
  180. package/runtime/dist/src/memory-substrate/space-source-input.js +90 -0
  181. package/runtime/dist/src/memory-substrate/store.js +125 -23
  182. package/runtime/dist/src/model/goal-checkin-writer.js +72 -0
  183. package/runtime/dist/src/model/goal-writer.js +80 -0
  184. package/runtime/dist/src/model/jev-client.js +24 -13
  185. package/runtime/dist/src/model/model-adapters.js +2 -3
  186. package/runtime/dist/src/model/model-catalog.js +80 -0
  187. package/runtime/dist/src/model/model-gateway.js +47 -18
  188. package/runtime/dist/src/model/model-purpose.js +3 -4
  189. package/runtime/dist/src/model/personal-writer.js +536 -44
  190. package/runtime/dist/src/model/proactivity.js +50 -6
  191. package/runtime/dist/src/model/responses-model-gateway.js +59 -0
  192. package/runtime/dist/src/model/task-verifier.js +3 -3
  193. package/runtime/dist/src/model/timeline-anchors.js +77 -0
  194. package/runtime/dist/src/model/timeline-perspective.js +13 -0
  195. package/runtime/dist/src/model/timeline-selection.js +182 -0
  196. package/runtime/dist/src/model/understanding-writer.js +27 -0
  197. package/runtime/dist/src/model/vision-capability.js +3 -1
  198. package/runtime/dist/src/model/workbench-writer.js +96 -0
  199. package/runtime/dist/src/news/feeds.js +6 -10
  200. package/runtime/dist/src/news/interests.js +23 -0
  201. package/runtime/dist/src/news/service.js +87 -31
  202. package/runtime/dist/src/news/sources.json +116 -0
  203. package/runtime/dist/src/notifications/adapters/space-relay.js +4 -0
  204. package/runtime/dist/src/notifications/content.js +41 -0
  205. package/runtime/dist/src/notifications/contracts.js +4 -2
  206. package/runtime/dist/src/notifications/feed.js +6 -2
  207. package/runtime/dist/src/notifications/service.js +27 -14
  208. package/runtime/dist/src/notifications/store.js +3 -1
  209. package/runtime/dist/src/personal-agent/app-context.js +39 -4
  210. package/runtime/dist/src/personal-agent/chat-failure.js +37 -0
  211. package/runtime/dist/src/personal-agent/computer-use/contract.js +42 -0
  212. package/runtime/dist/src/personal-agent/computer-use/session.js +280 -0
  213. package/runtime/dist/src/personal-agent/computer-use/skill.js +18 -0
  214. package/runtime/dist/src/personal-agent/computer-use/tools.js +15 -0
  215. package/runtime/dist/src/personal-agent/context-candidates.js +9 -13
  216. package/runtime/dist/src/personal-agent/context-dependencies.js +28 -0
  217. package/runtime/dist/src/personal-agent/contracts.js +24 -4
  218. package/runtime/dist/src/personal-agent/conversation-runtime.js +440 -42
  219. package/runtime/dist/src/personal-agent/conversation-tool-bridge.js +97 -0
  220. package/runtime/dist/src/personal-agent/conversation-tool-policy.js +22 -0
  221. package/runtime/dist/src/personal-agent/conversations.js +71 -15
  222. package/runtime/dist/src/personal-agent/daily-brief.js +5 -0
  223. package/runtime/dist/src/personal-agent/daily-workbench.js +558 -0
  224. package/runtime/dist/src/personal-agent/discovery-window.js +36 -0
  225. package/runtime/dist/src/personal-agent/goal-checkin.js +53 -0
  226. package/runtime/dist/src/personal-agent/host.js +2379 -223
  227. package/runtime/dist/src/personal-agent/identity-context.js +33 -0
  228. package/runtime/dist/src/personal-agent/life.js +129 -11
  229. package/runtime/dist/src/personal-agent/local-shell.js +181 -0
  230. package/runtime/dist/src/personal-agent/local-tools.js +234 -0
  231. package/runtime/dist/src/personal-agent/preferred-name-sync.js +35 -0
  232. package/runtime/dist/src/personal-agent/profile-warmup.js +100 -39
  233. package/runtime/dist/src/personal-agent/project-digests.js +7 -3
  234. package/runtime/dist/src/personal-agent/project-history.js +36 -0
  235. package/runtime/dist/src/personal-agent/reading-copies.js +183 -0
  236. package/runtime/dist/src/personal-agent/scheduled-tasks.js +50 -13
  237. package/runtime/dist/src/personal-agent/scheduled-tool-runtime.js +26 -10
  238. package/runtime/dist/src/personal-agent/source-processing-agent.js +239 -17
  239. package/runtime/dist/src/personal-agent/sources.js +9 -1
  240. package/runtime/dist/src/personal-agent/store.js +124 -14
  241. package/runtime/dist/src/personal-agent/task-loop.js +3 -0
  242. package/runtime/dist/src/personal-agent/tasks.js +16 -4
  243. package/runtime/dist/src/personal-agent/timeline-brief.js +462 -0
  244. package/runtime/dist/src/personal-agent/timeline-cache.js +191 -0
  245. package/runtime/dist/src/personal-agent/timeline-cluster.js +30 -0
  246. package/runtime/dist/src/personal-agent/timeline-inputs.js +47 -0
  247. package/runtime/dist/src/personal-agent/timeline-time.js +60 -0
  248. package/runtime/dist/src/personal-agent/understanding-products.js +49 -0
  249. package/runtime/dist/src/personal-agent/understanding.js +7 -22
  250. package/runtime/dist/src/personal-agent/workbench-context.js +17 -21
  251. package/runtime/dist/src/personal-agent/workbench-copy.js +124 -0
  252. package/runtime/dist/src/personal-agent/workbench-evidence.js +77 -0
  253. package/runtime/dist/src/personal-agent/workbench-instructions.js +21 -0
  254. package/runtime/dist/src/personal-agent/workbench-runtime.js +1006 -0
  255. package/runtime/dist/src/personal-agent/workbench-shell-class.js +304 -0
  256. package/runtime/dist/src/personal-agent/workbench-store.js +292 -0
  257. package/runtime/dist/src/personal-agent/workbench-temporal.js +66 -0
  258. package/runtime/dist/src/projects/project-native-resource.js +10 -8
  259. package/runtime/dist/src/projects/project-store.js +36 -4
  260. package/runtime/dist/src/realtime/bridge.js +77 -8
  261. package/runtime/dist/src/realtime/capabilities.js +19 -0
  262. package/runtime/dist/src/realtime/cascaded/adapter.js +180 -40
  263. package/runtime/dist/src/realtime/cascaded/ark-llm.js +150 -24
  264. package/runtime/dist/src/realtime/cascaded/chat-completions-llm.js +243 -83
  265. package/runtime/dist/src/realtime/cascaded/llm-stream-limits.js +18 -0
  266. package/runtime/dist/src/realtime/cascaded/llm.js +96 -0
  267. package/runtime/dist/src/realtime/cascaded/openai-compatible-speech.js +251 -0
  268. package/runtime/dist/src/realtime/cascaded/provider.js +8 -0
  269. package/runtime/dist/src/realtime/evidence.js +1 -1
  270. package/runtime/dist/src/realtime/frontend-instructions.js +76 -55
  271. package/runtime/dist/src/realtime/gemini.js +14 -3
  272. package/runtime/dist/src/realtime/host-delivery.js +37 -4
  273. package/runtime/dist/src/realtime/protocol.js +18 -3
  274. package/runtime/dist/src/realtime/provider-projection.js +4 -1
  275. package/runtime/dist/src/realtime/provider-session.js +73 -16
  276. package/runtime/dist/src/realtime/qwen-transport.js +35 -4
  277. package/runtime/dist/src/realtime/qwen.js +144 -9
  278. package/runtime/dist/src/realtime/service-state.js +0 -1
  279. package/runtime/dist/src/realtime/service.js +93 -7
  280. package/runtime/dist/src/realtime/session.js +39 -32
  281. package/runtime/dist/src/realtime/sglang-native.js +214 -0
  282. package/runtime/dist/src/realtime/system-prompts.en.js +14 -2
  283. package/runtime/dist/src/realtime/telemetry.js +6 -3
  284. package/runtime/dist/src/realtime/tool-continuations.js +84 -7
  285. package/runtime/dist/src/realtime/transport.js +17 -0
  286. package/runtime/dist/src/realtime/usage.js +33 -17
  287. package/runtime/dist/src/realtime/volcengine/ark.js +40 -15
  288. package/runtime/dist/src/realtime/volcengine/asr.js +2 -1
  289. package/runtime/dist/src/realtime/volcengine/silence-endpointing.js +1 -7
  290. package/runtime/dist/src/realtime/volcengine/tts.js +2 -1
  291. package/runtime/dist/src/server/aoq-chat-server.js +1 -1
  292. package/runtime/dist/src/server/client-server.js +21 -0
  293. package/runtime/dist/src/server-entry.js +3 -0
  294. package/runtime/dist/src/space-host/admin-socket.js +115 -0
  295. package/runtime/dist/src/space-host/audio-owner.js +44 -0
  296. package/runtime/dist/src/space-host/cli.js +195 -0
  297. package/runtime/dist/src/space-host/config.js +247 -0
  298. package/runtime/dist/src/space-host/context-input.js +12 -0
  299. package/runtime/dist/src/space-host/contracts.js +10 -0
  300. package/runtime/dist/src/space-host/host-admin.js +114 -0
  301. package/runtime/dist/src/space-host/key-delivery.js +28 -0
  302. package/runtime/dist/src/space-host/mobile-tools.js +9 -0
  303. package/runtime/dist/src/space-host/model-settings.js +213 -0
  304. package/runtime/dist/src/space-host/projection.js +37 -0
  305. package/runtime/dist/src/space-host/push.js +137 -0
  306. package/runtime/dist/src/space-host/relay-transport.js +55 -0
  307. package/runtime/dist/src/space-host/service.js +841 -0
  308. package/runtime/dist/src/space-host/voice-crypto.js +240 -0
  309. package/runtime/dist/src/space-host/voice.js +600 -0
  310. package/runtime/dist/src/space-host/windows-secret-key.js +82 -0
  311. package/runtime/dist/src/storage/private-database.js +7 -10
  312. package/runtime/dist/src/text/unicode-normalize.js +5 -1
  313. package/runtime/dist/src/understanding/candidates.js +8 -10
  314. package/runtime/dist/src/understanding/fixture.js +1 -1
  315. package/runtime/dist/src/understanding/pipeline.js +4 -4
  316. package/runtime/dist/src/usage/context.js +23 -0
  317. package/runtime/dist/src/usage/index.js +4 -0
  318. package/runtime/dist/src/usage/ledger-worker.js +90 -0
  319. package/runtime/dist/src/usage/ledger.js +74 -0
  320. package/runtime/dist/src/usage/model-call.js +63 -0
  321. package/runtime/dist/src/usage/pricing.js +68 -0
  322. package/runtime/dist/src/usage/summary.js +69 -0
  323. package/runtime/dist/src/voicemem/store-client.js +104 -21
  324. package/runtime/dist/src/voicemem/store-worker.js +5 -8
  325. package/runtime/dist/src/voicemem/versioned-memory.js +1 -1
  326. package/src/command.mjs +8 -1
  327. package/runtime/dist/src/executors/autoglm.js +0 -376
@@ -1,197 +1,199 @@
1
1
  const rows = [
2
- ['SELF_HOSTED_ASR_URL', 'core', false, true, 'never', null, 'Self-hosted asr url; dedicated credential only.', '自托管 ASR_URL,仅使用专用凭据。'],
3
- ['SELF_HOSTED_LLM_BASE_URL', 'core', false, true, 'never', null, 'Self-hosted llm base url; dedicated credential only.', '自托管 LLM_BASE_URL,仅使用专用凭据。'],
4
- ['SELF_HOSTED_TTS_URL', 'core', false, true, 'never', null, 'Self-hosted tts url; dedicated credential only.', '自托管 TTS_URL,仅使用专用凭据。'],
5
- ['SELF_HOSTED_ASR_API_KEY', 'core', true, true, 'never', null, 'Self-hosted asr api key; dedicated credential only.', '自托管 ASR_API_KEY,仅使用专用凭据。'],
6
- ['SELF_HOSTED_LLM_API_KEY', 'core', true, true, 'never', null, 'Self-hosted llm api key; dedicated credential only.', '自托管 LLM_API_KEY,仅使用专用凭据。'],
7
- ['SELF_HOSTED_TTS_API_KEY', 'core', true, true, 'never', null, 'Self-hosted tts api key; dedicated credential only.', '自托管 TTS_API_KEY,仅使用专用凭据。'],
8
- ['NOVA_WORKBENCH_ACCEPTANCE_REPORT', 'host_private', false, false, 'never', null, 'Workbench acceptance report path.', 'Workbench acceptance report path.'],
9
- ['NOVA_WORKBENCH_ACCEPTANCE_MANIFEST', 'host_private', false, false, 'never', null, 'Workbench acceptance manifest path.', 'Workbench acceptance manifest path.'],
10
- ['XDG_CONFIG_HOME', 'host_private', false, false, 'never', null, 'Host configuration directory.', 'Host configuration directory.'],
11
- ['GIT_CONFIG_GLOBAL', 'host_private', false, false, 'never', null, 'Host Git configuration file.', 'Host Git configuration file.'],
12
- ['OPENROUTER_API_KEY', 'core', true, true, 'never', null, 'OpenRouter credential for Jev.', 'OpenRouter credential for Jev.'],
13
- ['COMPOSIO_API_KEY', 'core', true, true, 'never', null, 'Composio application connection credential.', 'Composio application connection credential.'],
14
- ['MEMORY_LEDGER_PATH', 'core', false, true, 'never', '~/.nova-audio-agent/workspace-graph.sqlite', 'Canonical memory ledger SQLite path; retains the v0.3 storage location.', '统一记忆账本 SQLite 路径,兼容 v0.3 已有存储位置。'],
15
- ['WORKSPACE_GRAPH_PATH', 'host_private', false, false, 'never', null, 'Legacy alias for the memory ledger path.', '记忆账本路径的历史兼容别名。'],
16
- ['AOQ_API_HOST', 'host_private', false, false, 'never', null, 'AOQ API host used by the remote server.', '远程服务使用的北京 AOQ API 主机。'],
17
- ['SERVER_MEDIA_MODE', 'host_private', false, false, 'never', null, 'Remote media mode: relay, aoq_chat or aoq_runtime.', '远程媒体模式:relay、aoq_chat 或 aoq_runtime。'],
18
- ['BACKEND', 'host_private', false, false, 'never', 'node', 'Node-only desktop backend guard.', '仅 Node 的桌面后端守卫。'],
19
- ['MODEL_BASE_URL', 'core', false, true, 'never', 'DashScope compatible endpoint', 'FastBrain compatible API endpoint.', 'FastBrain 兼容 API 地址。'],
20
- ['MODEL_API_KEY', 'core', true, true, 'never', null, 'Optional generic support-model API credential override.', '可选的通用辅助模型 API 凭据覆盖。'],
21
- ['FAST_MODEL', 'core', false, true, 'never', 'qwen3-vl-plus', 'FastBrain model.', 'FastBrain 模型。'],
22
- ['WATCH_MODEL', 'core', false, true, 'never', 'fast model', 'Watch model override.', 'Watch 模型覆盖。'],
23
- ['SUPPORT_MODEL', 'core', false, true, 'never', 'qwen-plus', 'Shared support LLM for proactive communication, intake, task verification and personal content.', '主动沟通、任务接入、任务验收和个人内容共用的辅助 LLM。'],
24
- ['COMPRESSOR_MODEL', 'core', false, true, 'never', 'qwen-flash', 'Memory compressor model.', '记忆压缩模型。'],
25
- ['PIPELINE_MODE', 'core', false, true, 'never', 'integrated', 'Product pipeline shape: integrated or cascaded.', '产品管线形态:集成或级联。'],
26
- ['NEWS_LANGUAGE', 'core', false, true, 'never', 'en', 'Native RSS language: zh-CN or en. Desktop supplies OS language independently of UI preference; applied at runtime start.', '原生 RSS 语言:zh-CN 或 en;桌面传入系统语言,独立于界面偏好,运行时启动时生效。'],
27
- ['PROMPT_LANGUAGE', 'core', false, true, 'never', 'zh-CN', 'AI system prompt language: zh-CN or en; desktop supplies its saved preference.', 'AI system prompt 语言:zh-CN 或 en;桌面端会提供其保存的偏好。'],
28
- ['CONVERSATION_VISION_ENABLED', 'camera', false, true, 'never', 'false', 'Attach a default-camera frame to user turns on verified cascaded VLMs.', '为已确认支持图片的级联模型附加默认摄像头画面。'],
29
- ['MONITOR_CAMERA_DEVICE_ID', 'camera', false, true, 'never', null, 'Exact monitor camera device ID; empty uses the default device.', '监控摄像头设备 ID;空值使用默认设备。'],
30
- ['CAMERA_MODULE_ENABLED', 'camera', false, true, 'never', 'true', 'Enable independent Vision monitoring.', '启用独立视觉监控。'],
31
- ['INTEGRATED_PROVIDER', 'core', false, true, 'never', 'qwen', 'Integrated realtime provider.', '集成实时提供方。'],
32
- ['CASCADE_ENDPOINTING_PROVIDER', 'core', false, true, 'never', 'auto', 'Cascaded endpointing provider.', '级联端点检测提供方。'],
33
- ['CASCADE_ASR_PROVIDER', 'core', false, true, 'never', 'volcengine', 'Cascaded ASR provider.', '级联 ASR 提供方。'],
34
- ['CASCADE_LLM_PROVIDER', 'core', false, true, 'never', 'deepseek', 'Cascaded LLM provider.', '级联 LLM 提供方。'],
35
- ['CASCADE_LLM_MODEL', 'core', false, true, 'never', 'provider default', 'Cascaded LLM model override.', '级联 LLM 模型覆盖。'],
36
- ['CASCADE_TTS_PROVIDER', 'core', false, true, 'never', 'volcengine', 'Cascaded TTS provider.', '级联 TTS 提供方。'],
37
- ['EXECUTOR', 'core', false, true, 'never', null, 'Optional single executor selector; unset selects none.', '可选的单执行器选择器;未设置时不选择执行器。'],
38
- ['EXECUTORS', 'core', false, true, 'never', null, 'Optional ordered executor list; unset selects none.', '可选的有序执行器列表;未设置时不选择执行器。'],
39
- ['CODING_PROGRESS_NARRATION', 'core', false, true, 'never', 'smart', 'Coding progress narration.', '编程进度播报模式。'],
40
- ['PROACTIVITY_PRESET', 'core', false, true, 'never', 'balanced', 'Proactivity preset.', '主动性预设。'],
41
- ['SUGGESTION_COOLDOWN', 'core', false, true, 'never', 'preset', 'Suggestion cooldown override in seconds.', '建议冷却秒数覆盖。'],
42
- ['FRESH_WINDOW', 'core', false, true, 'never', 'preset', 'Fresh-context window override in seconds.', '新鲜上下文窗口秒数覆盖。'],
43
- ['CODEX_APPROVAL_MODE', 'codex', false, true, 'never', 'ask', 'Coding approval mode for Codex and ACP backends; Pi refuses ask.', '编程审批模式,适用于 Codex 与 ACP 执行器;Pi 不接受询问模式。'],
44
- ['CLARIFICATION_DEPTH', 'core', false, true, 'never', 'balanced', 'Maximum clarification depth for intake.', '意图理解的最大澄清深度。'],
45
- ['PLAN_READBACK', 'core', false, true, 'never', 'summary', 'Plan readback mode.', '规划回读模式。'],
46
- ['GENERATE_PLAN', 'core', false, true, 'never', 'true', 'Generate a plan before execution.', '执行前生成计划。'],
47
- ['PLANNER_MODEL', 'core', false, true, 'never', null, 'Optional planner model override.', '可选的规划模型覆盖。'],
48
- ['PROGRESS_BUBBLES', 'core', false, true, 'never', 'milestones', 'Progress bubble display mode.', '进度气泡显示模式。'],
49
- ['CAPABILITIES_CONFIG', 'core', false, true, 'never', '~/.nova-audio-agent/capabilities.json', 'Capabilities registry path.', '能力注册表路径。'],
50
- ['SEARCH_PROVIDER', 'search', false, true, 'never', 'tavily', 'CLI or CI search provider override.', 'CLI 或 CI 搜索提供方覆盖。'],
51
- ['SEARCH_MCP_URL', 'search', false, true, 'never', null, 'Web search MCP endpoint override; unset uses the verified Bailian preset when MCP is selected.', '网页搜索 MCP 地址覆盖;选择 MCP 且未设置时使用已核对的百炼预设。'],
52
- ['SEARCH_MCP_TOOL', 'search', false, true, 'never', 'web_search', 'Web search MCP tool override (generic default web_search; Bailian preset search_pro).', '网页搜索 MCP 工具覆盖(通用默认 web_search;百炼预设 search_pro)。'],
53
- ['MEMORY_PRERECALL_ENABLED', 'core', false, true, 'never', 'false', 'Optionally prefetch context for text replies; voice uses profile and summary.', '文本回复可选预检索;语音默认使用个人资料与摘要。'],
54
- ['MEMORY_CONSOLIDATION_ENABLED', 'core', false, true, 'never', 'true', 'Generate derived memory summaries daily.', '每日生成派生记忆摘要。'],
55
- ['MEMORY_CONSOLIDATION_HOUR', 'core', false, true, 'never', '0', 'Local hour for daily memory consolidation (0-23).', '每日记忆整理时间(0-23 时)。'],
56
- ['MEMORY_CONSOLIDATION_TIMEZONE', 'core', false, true, 'never', 'UTC', 'IANA timezone for daily memory consolidation.', '每日记忆整理采用的 IANA 时区。'],
57
- ['KNOWLEDGE_PATH', 'core', false, true, 'never', '~/.nova-audio-agent/knowledge.sqlite', 'Knowledge SQLite database path.', '知识库 SQLite 数据库路径。'],
58
- ['EMBEDDING_PROVIDER', 'core', false, true, 'never', 'dashscope', 'Knowledge embedding provider.', '知识库 embedding 提供方。'],
59
- ['EMBEDDING_MODEL', 'core', false, true, 'never', 'text-embedding-v4', 'Knowledge embedding model.', '知识库 embedding 模型。'],
60
- ['MEMORY_BACKEND', 'core', false, false, 'never', null, 'Removed; rejected in favor of MEMORY_CONNECTION.', '已移除;使用时会报错,请改用 MEMORY_CONNECTION。'],
61
- ['MEMORY_CONNECTION', 'core', false, true, 'never', 'local', 'Memory connection: disabled, local, or remote.', '记忆连接:disabled、local 或 remote。'],
62
- ['MEMORY_PROVIDER', 'core', false, true, 'never', null, 'Local engine: voicemem (default; unified ledger) or explicit mem0. Remote engines are service-owned.', '本地引擎:voicemem(默认,统一账本)或显式选择 mem0。远程引擎由服务端选择。'],
63
- ['BLACKBOARD_PATH', 'core', false, true, 'never', '~/.nova-audio-agent/blackboard.sqlite', 'Conversation recovery database path.', '会话恢复数据库路径。'],
64
- ['BLACKBOARD_OWNER_ID', 'core', false, true, 'never', 'local', 'Stable conversation recovery owner.', '稳定的会话恢复所有者。'],
65
- ['MEMORY_URL', 'core', false, true, 'when_selected', null, 'HTTP memory service origin; HTTPS or numeric loopback HTTP.', 'HTTP 记忆服务地址;仅 HTTPS 或数字回环 HTTP。'],
66
- ['MEMORY_TOKEN', 'core', true, true, 'when_selected', null, 'Host-issued identity-bound memory bearer token.', '宿主提供的身份绑定记忆令牌。'],
67
- ['MEMORY_PATH', 'core', false, true, 'never', '~/.nova-audio-agent/memory.sqlite', 'Personal memory database path.', '个人记忆数据库路径。'],
68
- ['MEMORY_USER_ID', 'core', false, true, 'never', 'local', 'Stable personal memory user identity.', '稳定的个人记忆用户身份。'],
69
- ['DASHSCOPE_API_KEY', 'qwen', true, true, 'when_selected', null, 'Qwen realtime credential.', 'Qwen 实时凭据。'],
70
- ['QWEN_REALTIME_URL', 'qwen', false, true, 'never', 'DashScope realtime endpoint', 'Qwen secure realtime endpoint.', 'Qwen 安全实时地址。'],
71
- ['QWEN_REALTIME_MODEL', 'qwen', false, true, 'never', 'qwen-audio-3.0-realtime-plus', 'Qwen realtime model.', 'Qwen 实时模型。'],
72
- ['QWEN_REALTIME_VOICE', 'qwen', false, true, 'never', 'longanqian', 'Qwen realtime voice.', 'Qwen 实时音色。'],
73
- ['OPENAI_API_KEY', 'openai', true, true, 'when_selected', null, 'OpenAI API credential.', 'OpenAI API 凭据。'],
74
- ['OPENAI_REALTIME_URL', 'openai', false, true, 'never', 'wss://api.openai.com/v1/realtime', 'OpenAI secure realtime endpoint.', 'OpenAI 安全实时地址。'],
75
- ['OPENAI_REALTIME_MODEL', 'openai', false, true, 'never', 'gpt-realtime-2.1-mini', 'OpenAI realtime model.', 'OpenAI 实时模型。'],
76
- ['OPENAI_REALTIME_VOICE', 'openai', false, true, 'never', 'marin', 'OpenAI realtime voice.', 'OpenAI 实时音色。'],
77
- ['GEMINI_API_KEY', 'gemini', true, true, 'when_selected', null, 'Gemini API credential.', 'Gemini API 凭据。'],
78
- ['GEMINI_ASR_MODEL', 'gemini', false, true, 'never', 'gemini-3.5-flash', 'Gemini transcription model.', 'Gemini 转录模型。'],
79
- ['GEMINI_TTS_MODEL', 'gemini', false, true, 'never', 'gemini-3.8-flash-tts', 'Gemini speech generation model.', 'Gemini 语音生成模型。'],
80
- ['GEMINI_TTS_VOICE', 'gemini', false, true, 'never', 'Kore', 'Gemini speech generation voice.', 'Gemini 语音生成音色。'],
81
- ['GEMINI_REALTIME_URL', 'gemini', false, true, 'never', 'wss://generativelanguage.googleapis.com/ws/google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent', 'Gemini secure realtime endpoint.', 'Gemini 安全实时地址。'],
82
- ['GEMINI_REALTIME_MODEL', 'gemini', false, true, 'never', 'gemini-3.8-live', 'Gemini realtime model.', 'Gemini 实时模型。'],
83
- ['GEMINI_REALTIME_VOICE', 'gemini', false, true, 'never', 'Kore', 'Gemini realtime voice.', 'Gemini 实时音色。'],
84
- ['STEPFUN_API_KEY', 'stepfun', true, true, 'when_selected', null, 'StepFun realtime credential.', 'StepFun 实时凭据。'],
85
- ['STEPFUN_REALTIME_URL', 'stepfun', false, true, 'never', 'wss://api.stepfun.com/v1/realtime', 'StepFun secure realtime endpoint.', 'StepFun 安全实时地址。'],
86
- ['STEPFUN_REALTIME_MODEL', 'stepfun', false, true, 'never', 'stepaudio-3-realtime-preview', 'StepFun realtime model.', 'StepFun 实时模型。'],
87
- ['STEPFUN_REALTIME_VOICE', 'stepfun', false, true, 'never', '', 'StepFun realtime voice; empty uses the service default.', 'StepFun 实时音色;留空使用服务默认音色。'],
88
- ['QWEN_CONTROLLED_GUARD_RECONNECT', 'qwen', false, true, 'never', 'false', 'Allow controlled Guard reconnect.', '允许受控 Guard 重连。'],
89
- ['QWEN_GUARD_HISTORY_RECOVERY', 'qwen', false, true, 'never', 'none', 'Guard history recovery mode.', 'Guard 历史恢复模式。'],
90
- ['QWEN_GUARD_HISTORY_PAIRS', 'qwen', false, true, 'never', '4', 'Guard history pair count.', 'Guard 历史对话对数。'],
91
- ['DEEPSEEK_API_KEY', 'deepseek', true, true, 'when_selected', null, 'Official DeepSeek cascaded LLM credential.', 'DeepSeek 官方级联 LLM 凭据。'],
92
- ['ARK_API_KEY', 'ark', true, true, 'when_selected', null, 'Ark cascaded LLM credential.', '方舟级联 LLM 凭据。'],
93
- ['DOUBAO_ASR_API_KEY', 'volcengine', true, true, 'never', 'Doubao big-model key', 'Volcengine ASR credential override.', '火山 ASR 凭据覆盖。'],
94
- ['DOUBAO_BIGMODEL_API_KEY', 'volcengine', true, true, 'when_selected', null, 'Volcengine TTS and ASR fallback credential.', '火山 TTS 及 ASR 回退凭据。'],
95
- ['VOLCENGINE_ARK_BASE_URL', 'ark', false, true, 'never', 'Volcengine Ark endpoint', 'Ark secure endpoint.', '方舟安全地址。'],
96
- ['DOUBAO_ASR_ENDPOINT', 'volcengine', false, true, 'never', 'Doubao ASR endpoint', 'Doubao ASR secure endpoint.', '豆包 ASR 安全地址。'],
97
- ['DOUBAO_ASR_RESOURCE_ID', 'volcengine', false, true, 'never', 'volc.seedasr.sauc.duration', 'Doubao ASR resource ID.', '豆包 ASR 资源 ID。'],
98
- ['DOUBAO_ASR_VOICEPRINT_ENABLED', 'volcengine', false, true, 'never', 'false', 'Verify the registered speaker before accepting ASR text.', '只接收已注册说话人的 ASR 文本。'],
99
- ['DOUBAO_ASR_VOICEPRINT_ID', 'volcengine', false, true, 'never', '', 'Registered voiceprint UUID.', '已注册声纹 UUID。'],
100
- ['DOUBAO_ASR_VOICEPRINT_HEALTH_URL', 'volcengine', false, true, 'never', '', 'Disable verification when this HTTPS health endpoint is unavailable.', '健康检查失败时停用声纹验证的 HTTPS 地址。'],
101
- ['DOUBAO_ASR_VOICEPRINT_NAME', 'volcengine', false, true, 'never', '', 'Exact registered SpeakerName.', '注册时的完整 SpeakerName。'],
102
- ['DOUBAO_ASR_CHUNK_MS', 'volcengine', false, true, 'never', '200', 'ASR input chunk duration.', 'ASR 输入分块时长。'],
103
- ['DOUBAO_TTS_ENDPOINT', 'volcengine', false, true, 'never', 'Doubao TTS endpoint', 'Doubao TTS secure endpoint.', '豆包 TTS 安全地址。'],
104
- ['DOUBAO_TTS_RESOURCE_ID', 'volcengine', false, true, 'never', 'seed-tts-2.0', 'Doubao TTS resource ID.', '豆包 TTS 资源 ID。'],
105
- ['DOUBAO_TTS_VOICE', 'volcengine', false, true, 'never', 'zh_female_vv_uranus_bigtts', 'Doubao TTS voice.', '豆包 TTS 音色。'],
106
- ['DOUBAO_TTS_OUTPUT_SAMPLE_RATE', 'volcengine', false, true, 'never', '24000', 'Doubao TTS output sample rate.', '豆包 TTS 输出采样率。'],
107
- ['VOLCENGINE_VAD_THRESHOLD', 'volcengine', false, true, 'never', '0.5', 'VAD speech threshold.', 'VAD 语音阈值。'],
108
- ['VOLCENGINE_VAD_PRE_ROLL_MS', 'volcengine', false, true, 'never', '260', 'VAD pre-roll duration.', 'VAD 预滚时长。'],
109
- ['VOLCENGINE_VAD_MIN_SPEECH_MS', 'volcengine', false, true, 'never', '250', 'VAD minimum speech duration.', 'VAD 最短语音时长。'],
110
- ['VOLCENGINE_VAD_SILENCE_END_MS', 'volcengine', false, true, 'never', '300', 'VAD silence endpoint duration.', 'VAD 静音断句时长。'],
111
- ['VOLCENGINE_VAD_SPEECH_PAD_MS', 'volcengine', false, true, 'never', '30', 'VAD speech padding.', 'VAD 语音补边。'],
112
- ['VOLCENGINE_VAD_MAX_UTTERANCE_MS', 'volcengine', false, true, 'never', '60000', 'VAD maximum utterance duration.', 'VAD 最长话语时长。'],
113
- ['CODEX_WORKSPACE', 'codex', false, true, 'when_selected', null, 'Host-approved Codex workspace.', '主机批准的 Codex 工作区。'],
114
- ['CODEX_BIN', 'codex', false, true, 'never', 'codex', 'Host-approved Codex app-server binary.', '主机批准的 Codex app-server 可执行文件。'],
115
- ['CODEX_PREFIX_ARGS', 'codex', false, false, 'never', '[]', 'Host-approved direct argv prefix for an official Codex launcher.', '宿主批准的官方 Codex 启动器直接 argv 前缀。'],
116
- ['FEISHU_CLI_PATH', 'host_private', false, false, 'never', 'lark-cli', 'Host-configured Feishu CLI executable, version 1.0.69 or newer.', '宿主配置的飞书 CLI 路径,版本至少 1.0.69。'],
117
- ['CODEX_RESOURCES_PATH', 'codex', false, false, 'never', 'codex', 'Host-owned native resource root.', '宿主持有的原生资源根目录。'],
118
- ['CODEX_API_KEY', 'codex', true, true, 'never', 'Codex login', 'Optional Codex credential override.', '可选 Codex 凭据覆盖。'],
119
- ['CODEX_PREWARM', 'codex', false, true, 'never', 'true', 'Prewarm Codex app-server.', '预热 Codex app-server。'],
120
- ['CODEX_MANAGED_ROOT', 'codex', false, true, 'never', '~/.nova-audio-agent/workspaces', 'Managed project root.', '托管项目根目录。'],
121
- ['CODEX_PROJECT_STATE_ROOT', 'codex', false, true, 'never', '~/.nova-audio-agent', 'Project state root.', '项目状态根目录。'],
122
- ['CODEX_WORKING_INTERVAL', 'codex', false, true, 'never', '30', 'Codex progress interval in seconds.', 'Codex 进度间隔秒数。'],
123
- ['TAVILY_API_KEY', 'search', true, true, 'when_selected', null, 'Tavily search credential.', 'Tavily 搜索凭据。'],
124
- ['DESKTOP_VIDEO_FILE', 'camera', false, true, 'never', null, 'Absolute deterministic desktop video input.', '桌面确定性视频输入的绝对路径。'],
125
- ['REALTIME_TELEMETRY', 'telemetry', false, true, 'never', '~/.nova-audio-agent/realtime-telemetry.jsonl', 'Source-runtime telemetry output path; set an empty value to disable.', '源码运行时遥测输出路径;设置为空值可禁用。'],
126
- ['NOVA_ORB_OPAQUE', 'core', false, true, 'never', '0', 'Use an opaque desktop orb window.', '使用不透明桌面悬浮球窗口。'],
127
- ['SERVER_PORT', 'host_private', false, false, 'when_selected', null, 'Fixed loopback remote server port.', '远程服务固定本地端口。'],
128
- ['SERVER_TOKEN_FILE', 'host_private', true, false, 'when_selected', null, 'Absolute path to the private remote credential file.', '远程服务私有凭据文件的绝对路径。'],
129
- ['DESKTOP_TOKEN', 'host_private', true, false, 'when_selected', null, 'Desktop transport handshake token.', '桌面传输握手令牌。'],
130
- ['DESKTOP_READY_ENDPOINT', 'host_private', false, false, 'when_selected', null, 'Desktop readiness endpoint.', '桌面就绪端点。'],
131
- ['DESKTOP_READY_FD', 'host_private', false, false, 'never', null, 'Legacy desktop readiness descriptor.', '旧桌面就绪描述符。'],
132
- ['DEV_BACKEND_ENTRY', 'host_private', false, false, 'never', null, 'Unpackaged desktop backend entry override.', '未打包桌面的开发后端入口覆盖。'],
133
- ['DEV_START_MUTED', 'host_private', false, false, 'never', null, 'Start the unpackaged desktop with microphone muted.', '未打包桌面以闭麦状态启动。'],
134
- ['RELEASE_CAMERA_SMOKE', 'host_private', false, false, 'never', null, 'Packaged release camera capability sentinel.', '安装包发布相机能力哨兵。'],
135
- ['RELEASE_SMOKE', 'host_private', false, false, 'never', null, 'Authenticated packaged lifecycle smoke mode.', '安装包认证生命周期冒烟模式。'],
136
- ['DEVELOPER_DIR', 'host_private', false, false, 'never', null, 'Host Xcode developer directory used when binding an iOS Simulator.', '绑定 iOS 模拟器时使用的宿主 Xcode 开发者目录。'],
137
- ['CODEX_HOME', 'host_private', false, false, 'never', null, 'Host Codex credential home.', '主机 Codex 凭据目录。'],
138
- ['HOME', 'host_private', false, false, 'never', null, 'Host home directory.', '主机用户目录。'],
139
- ['BROWSER_ENGINE', 'browser', false, true, 'never', 'chromium', 'Managed engine: chromium, firefox or webkit.', '专用引擎:chromium、firefox 或 webkit。'],
140
- ['BROWSER_URL', 'browser', false, true, 'when_selected', null, 'Explicit starting URL; HTTPS or localhost HTTP.', '明确的起始 URL;HTTPS 或本机 HTTP。'],
141
- ['BROWSER_HEADLESS', 'browser', false, true, 'never', 'true', 'Run the dedicated browser without occupying the foreground.', '专用浏览器是否在后台运行。'],
142
- ['BROWSER_BASE_URL', 'browser', false, true, 'when_selected', null, 'Screenshot model endpoint.', '截图模型地址。'],
143
- ['BROWSER_MODEL', 'browser', false, true, 'when_selected', null, 'Screenshot model identifier.', '截图模型名称。'],
144
- ['BROWSER_MODEL_FAMILY', 'browser', false, true, 'when_selected', null, 'Verified screenshot model family.', '已核实的截图模型系列。'],
145
- ['BROWSER_API_KEY', 'browser', true, true, 'when_selected', null, 'Screenshot model credential.', '截图模型凭据。'],
146
- ['BROWSER_MAX_STEPS', 'browser', false, true, 'never', '30', 'Supervised browser action limit (1-100).', '受监督浏览器动作上限(1-100)。'],
147
- ['BROWSER_TIMEOUT_SECONDS', 'browser', false, true, 'never', '600', 'Browser task deadline (1-1800 seconds).', '浏览器任务时限(1-1800 秒)。'],
148
- ['BROWSER_SETTLE_MS', 'browser', false, true, 'never', '1000', 'Wait before observation and after actions.', '观察前和动作后稳定等待。'],
149
- ['COMPUTER_DISPLAY_ID', 'computer', false, true, 'when_selected', null, 'Exact local display ID (Mac index or Windows DISPLAY name); display mode requires one display. Background Safari uses 0.', '明确的本机显示器 ID(Mac 索引或 Windows DISPLAY 名);全屏模式仅支持单显示器,后台 Safari 模式使用 0。'],
150
- ['COMPUTER_MAC_WINDOW_PID', 'computer', false, true, 'never', null, 'Opt-in background Safari process ID; requires COMPUTER_MAC_WINDOW_ID and macOS 14+.', '后台 Safari 进程 ID;须同时配置窗口 ID,要求 macOS 14+。'],
151
- ['COMPUTER_MAC_WINDOW_ID', 'computer', false, true, 'never', null, 'Exact Safari native window ID; must remain the Safari key window. No foreground fallback.', 'Safari 原生窗口 ID;须保持为 Safari 键窗口,不自动切换前台。'],
152
- ['COMPUTER_BASE_URL', 'computer', false, true, 'when_selected', null, 'GUI model endpoint receiving desktop screenshots.', '接收桌面截图的 GUI 模型地址。'],
153
- ['COMPUTER_MODEL', 'computer', false, true, 'when_selected', null, 'Desktop GUI model identifier.', '桌面 GUI 模型名称。'],
154
- ['COMPUTER_MODEL_FAMILY', 'computer', false, true, 'when_selected', null, 'Verified SDK GUI model family: auto-glm, auto-glm-multilingual or qwen3-vl.', '已核实的 GUI 模型系列:auto-glm、auto-glm-multilingual 或 qwen3-vl。'],
155
- ['COMPUTER_API_KEY', 'computer', true, true, 'when_selected', null, 'Desktop GUI model credential.', '桌面 GUI 模型凭据。'],
156
- ['COMPUTER_MAX_STEPS', 'computer', false, true, 'never', '30', 'Supervised desktop action limit (1-100).', '受监督桌面动作上限(1-100)。'],
157
- ['COMPUTER_TIMEOUT_SECONDS', 'computer', false, true, 'never', '600', 'Desktop task deadline (1-1800 seconds).', '桌面任务时限(1-1800 秒)。'],
158
- ['COMPUTER_CLICK_HOLD_MS', 'computer', false, true, 'never', '100', 'Mouse click hold duration (10-1000 milliseconds).', '鼠标点击按住时长(10-1000 毫秒)。'],
159
- ['COMPUTER_SETTLE_MS', 'computer', false, true, 'never', '4000', 'Wait before observation and after actions (0-30000 milliseconds).', '观察前和动作后稳定等待(0-30000 毫秒)。'],
160
- ['MOBILE_ENGINE', 'mobile', false, true, 'never', 'midscene', 'Phone execution engine; currently midscene only.', '手机执行引擎;当前仅支持 midscene。'],
161
- ['MOBILE_DEVICE_TYPE', 'mobile', false, true, 'never', 'ios-simulator', 'Phone platform: android, ios or ios-simulator; native execution supports Android ADB and iOS Simulator.', '手机平台:android、ios 或 ios-simulator;原生执行支持 Android ADB 和 iOS 模拟器。'],
162
- ['MOBILE_DEVICE_ID', 'mobile', false, true, 'when_selected', null, 'Exact iOS device or Simulator UDID, or Android ADB serial.', '明确的 iOS 设备或模拟器 UDID,或 Android ADB 序列号。'],
163
- ['MOBILE_WDA_URL', 'mobile', false, true, 'never', 'http://127.0.0.1:8100', 'WebDriverAgent endpoint for the configured iOS device.', '配置的 iOS 设备 WebDriverAgent 地址。'],
164
- ['MOBILE_BASE_URL', 'mobile', false, true, 'when_selected', null, 'Phone model endpoint receiving screenshots.', '接收手机截图的模型服务地址。'],
165
- ['MOBILE_MODEL', 'mobile', false, true, 'when_selected', null, 'Phone model identifier.', '手机操作模型名称。'],
166
- ['MOBILE_MODEL_FAMILY', 'mobile', false, true, 'when_selected', null, 'Explicit model family used by the phone execution engine.', '手机执行引擎使用的明确模型系列。'],
167
- ['MOBILE_API_KEY', 'mobile', true, true, 'when_selected', null, 'Phone model credential.', '手机操作模型凭据。'],
168
- ['MOBILE_MAX_STEPS', 'mobile', false, true, 'never', '30', 'Supervised phone task step limit (1-100).', '受监督手机任务步骤上限(1-100)。'],
169
- ['MOBILE_TIMEOUT_SECONDS', 'mobile', false, true, 'never', '600', 'Phone task deadline (1-1800 seconds).', '手机任务截止时间(1-1800 秒)。'],
170
- ['MOBILE_SETTLE_MS', 'mobile', false, true, 'never', '4000', 'Screen settling delay before the first observation and after actions (0-30000 milliseconds).', '首次观察前及动作后等待画面稳定的时间(0-30000 毫秒)。'],
171
- ['AUTOGLM_PYTHON', 'autoglm', false, true, 'when_selected', null, 'Absolute AutoGLM Python executable.', 'AutoGLM Python 可执行文件绝对路径。'],
172
- ['AUTOGLM_SOURCE_PATH', 'autoglm', false, true, 'when_selected', null, 'Pinned Open-AutoGLM checkout.', '固定版本 Open-AutoGLM 目录。'],
173
- ['AUTOGLM_DEVICE_ID', 'autoglm', false, true, 'when_selected', null, 'Exact iOS UDID or Android ADB serial.', '明确的 iOS UDID 或 Android ADB 序列号。'],
174
- ['AUTOGLM_DEVICE_TYPE', 'autoglm', false, true, 'never', 'ios', 'Phone platform: ios, ios-simulator or android.', '手机平台:ios、ios-simulator 或 android。'],
175
- ['AUTOGLM_WDA_URL', 'autoglm', false, true, 'never', 'http://127.0.0.1:8100', 'WebDriverAgent endpoint for the configured iOS device.', '配置的 iOS 设备 WebDriverAgent 地址。'],
176
- ['AUTOGLM_BASE_URL', 'autoglm', false, true, 'when_selected', null, 'Phone model endpoint receiving screenshots.', '接收手机截图的模型服务地址。'],
177
- ['AUTOGLM_MODEL', 'autoglm', false, true, 'when_selected', null, 'Phone model identifier.', '手机操作模型名称。'],
178
- ['AUTOGLM_API_KEY', 'autoglm', true, true, 'when_selected', null, 'Phone model credential.', '手机操作模型凭据。'],
179
- ['AUTOGLM_MAX_STEPS', 'autoglm', false, true, 'never', '30', 'Supervised phone task step limit (1-100).', '受监督手机任务步骤上限(1-100)。'],
180
- ['AUTOGLM_TIMEOUT_SECONDS', 'autoglm', false, true, 'never', '600', 'Phone task deadline (1-1800 seconds).', '手机任务截止时间(1-1800 秒)。'],
181
- ['CODING_BACKEND', 'core', false, true, 'never', 'codex', 'Backend for new coding sessions: codex, opencode, codebuddy, pi or deepseek. Existing sessions keep theirs.', '新编程会话使用的执行器:codex、opencode、codebuddy、pi 或 deepseek;已有会话保持原执行器。'],
182
- ['CODING_PROFILES', 'host_private', false, false, 'never', null, 'Desktop-supplied registry of immutable ACP configuration-source profiles.', '桌面端提供的不可变 ACP 配置来源档案。'],
183
- ['OPENCODE_ACP_BIN', 'core', false, true, 'never', 'opencode on PATH', 'Absolute path to the OpenCode executable used for ACP.', '用于 ACP 的 OpenCode 可执行文件绝对路径。'],
184
- ['CODEBUDDY_ACP_BIN', 'core', false, true, 'never', 'codebuddy on PATH', 'Absolute path to the CodeBuddy executable used for ACP.', '用于 ACP 的 CodeBuddy 可执行文件绝对路径。'],
185
- ['PI_ACP_BIN', 'core', false, true, 'never', 'pi-acp on PATH', 'Absolute path to the pi-acp adapter executable.', 'pi-acp 适配器可执行文件绝对路径。'],
186
- ['DEEPSEEK_ACP_BIN', 'core', false, true, 'never', 'dsh on PATH', 'Absolute path to the DeepSeek Harness (dsh) executable used for ACP.', '用于 ACP 的 DeepSeek Harness(dsh)可执行文件绝对路径。'],
187
- ['CODING_MODULE_ENABLED', 'codex', false, true, 'never', 'true', 'Enable the coding module; the desktop turns it off when no Codex CLI is available.', '启用编程模块;桌面端在找不到 Codex CLI 时自动关闭。'],
2
+ ['NOVACORE_EXPERIENCE_DIR', 'host_private', false, false, null, 'Private experience asset directory for an unpackaged desktop run.', '未打包桌面运行使用的私有体验资源目录。'],
3
+ ['NOVA_SPACE_HOST_CONFIG', 'core', false, true, null, 'Absolute path to a private Host Space configuration; runtime data stays on this Host.', 'Host Space 私密配置的绝对路径;runtime 与数据保留在本机 Host。'],
4
+ ['MINICPM_REALTIME_API_KEY', 'host_private', true, false, null, 'Desktop MiniCPM serving credential.', '桌面 MiniCPM 服务凭据。'],
5
+ ['PERSONAPLEX_REALTIME_API_KEY', 'host_private', true, false, null, 'Desktop PersonaPlex serving credential.', '桌面 PersonaPlex 服务凭据。'],
6
+ ['NATIVE_REALTIME_URL', 'host_private', false, false, 'ws://127.0.0.1:8000/v1/realtime', 'Research SGLang native duplex endpoint.', '预研 SGLang 原生双工端点。'],
7
+ ['NATIVE_REALTIME_API_KEY', 'host_private', true, false, null, 'Dedicated native serving credential.', '原生语音服务独立凭据。'],
8
+ ['NATIVE_REALTIME_VOICE', 'host_private', false, false, '', 'PersonaPlex server voice name.', 'PersonaPlex 服务音色名。'],
9
+ ['NOVA_LOCAL_TOOL_APPROVAL', 'core', false, true, 'ask', 'Local Build file writes, edits and shell approval: ask or never; independent of executor approval.', '本地 Build 写入、编辑和命令审批:ask 或 never;独立于执行器审批。'],
10
+ ['NOVA_BUILD_REASONING', 'host_private', false, false, '0', 'Private host switch enabling provider reasoning capture for Build and Plan; thoughts stay in the local workbench checkpoint.', '宿主私有开关:为 Build 与 Plan 开启模型思考捕获;思考仅保存在本机工作台检查点。'],
11
+ ['COMPATIBLE_ASR_OMIT_RESPONSE_FORMAT', 'core', false, true, 'false', 'Omit response_format for ASR services returning JSON without this field.', '为不支持 response_format 参数的 ASR 服务省略该字段。'],
12
+ ["OPENAI_COMPATIBLE_BASE_URL", "core", false, true, "https://api.openai.com/v1", "OpenAI-compatible LLM API base URL.", "通用 OpenAI LLM API 基础地址。"],
13
+ ["OPENAI_COMPATIBLE_API_KEY", "core", true, true, null, "Dedicated OpenAI-compatible LLM credential.", "通用 OpenAI LLM 专用密钥。"],
14
+ ["OPENAI_COMPATIBLE_PROTOCOL", "core", false, true, "chat-completions", "Explicit LLM protocol: chat-completions or responses.", "LLM 协议:chat-completions 或 responses。"],
15
+ ["COMPATIBLE_ASR_BASE_URL", "core", false, true, "https://api.openai.com/v1", "OpenAI-compatible ASR base URL.", "通用 ASR API 基础地址。"],
16
+ ["COMPATIBLE_ASR_API_KEY", "core", true, true, null, "Dedicated compatible ASR credential.", "通用 ASR 专用密钥。"],
17
+ ["COMPATIBLE_ASR_MODEL", "core", false, true, "whisper-1", "Compatible ASR model.", "通用 ASR 模型。"],
18
+ ["COMPATIBLE_TTS_BASE_URL", "core", false, true, "https://api.openai.com/v1", "OpenAI-compatible TTS base URL.", "通用 TTS API 基础地址。"],
19
+ ["COMPATIBLE_TTS_API_KEY", "core", true, true, null, "Dedicated compatible TTS credential.", "通用 TTS 专用密钥。"],
20
+ ["COMPATIBLE_TTS_MODEL", "core", false, true, "tts-1", "Compatible TTS model.", "通用 TTS 模型。"],
21
+ ["COMPATIBLE_TTS_VOICE", "core", false, true, "alloy", "Compatible TTS voice.", "通用 TTS 音色。"],
22
+ ["COMPATIBLE_TTS_SEND_SAMPLE_RATE", "core", false, true, "false", "Send sample_rate=24000 for compatible TTS services requiring it.", "为需要指定采样率的 TTS 服务发送 sample_rate=24000。"],
23
+ ['SELF_HOSTED_ASR_URL', 'core', false, true, null, 'Self-hosted asr url; dedicated credential only.', '自托管 ASR_URL,仅使用专用凭据。'],
24
+ ['SELF_HOSTED_LLM_BASE_URL', 'core', false, true, null, 'Self-hosted llm base url; dedicated credential only.', '自托管 LLM_BASE_URL,仅使用专用凭据。'],
25
+ ['SELF_HOSTED_TTS_URL', 'core', false, true, null, 'Self-hosted tts url; dedicated credential only.', '自托管 TTS_URL,仅使用专用凭据。'],
26
+ ['SELF_HOSTED_ASR_API_KEY', 'core', true, true, null, 'Self-hosted asr api key; dedicated credential only.', '自托管 ASR_API_KEY,仅使用专用凭据。'],
27
+ ['SELF_HOSTED_LLM_API_KEY', 'core', true, true, null, 'Self-hosted llm api key; dedicated credential only.', '自托管 LLM_API_KEY,仅使用专用凭据。'],
28
+ ['SELF_HOSTED_TTS_API_KEY', 'core', true, true, null, 'Self-hosted tts api key; dedicated credential only.', '自托管 TTS_API_KEY,仅使用专用凭据。'],
29
+ ['NOVA_WORKBENCH_ACCEPTANCE_REPORT', 'host_private', false, false, null, 'Workbench acceptance report path.', 'Workbench acceptance report path.'],
30
+ ['NOVA_WORKBENCH_ACCEPTANCE_MANIFEST', 'host_private', false, false, null, 'Workbench acceptance manifest path.', 'Workbench acceptance manifest path.'],
31
+ ['NOVA_CONTEXT_HUB_CREDENTIALS', 'host_private', false, false, null, 'Private Context Hub credential file path.', '私有 Context Hub 凭据文件路径。'],
32
+ ['XDG_CONFIG_HOME', 'host_private', false, false, null, 'Host configuration directory.', 'Host configuration directory.'],
33
+ ['GIT_CONFIG_GLOBAL', 'host_private', false, false, null, 'Host Git configuration file.', 'Host Git configuration file.'],
34
+ ['OPENROUTER_API_KEY', 'core', true, true, null, 'OpenRouter credential for Jev.', 'OpenRouter credential for Jev.'],
35
+ ['COMPOSIO_API_KEY', 'core', true, true, null, 'Composio application connection credential.', 'Composio application connection credential.'],
36
+ ['MEMORY_LEDGER_PATH', 'core', false, true, '~/.nova-personal-agent/workspace-graph.sqlite', 'Canonical memory ledger SQLite path; follows the legacy ~/.nova-audio-agent root until it is migrated.', '统一记忆账本 SQLite 路径;旧 ~/.nova-audio-agent 目录迁移完成前沿用旧位置。'],
37
+ ['AOQ_API_HOST', 'host_private', false, false, null, 'AOQ API host used by the remote server.', '远程服务使用的北京 AOQ API 主机。'],
38
+ ['SERVER_MEDIA_MODE', 'host_private', false, false, null, 'Remote media mode: relay, aoq_chat or aoq_runtime.', '远程媒体模式:relay、aoq_chat 或 aoq_runtime。'],
39
+ ['BACKEND', 'host_private', false, false, 'node', 'Node-only desktop backend guard.', '仅 Node 的桌面后端守卫。'],
40
+ ['DASHSCOPE_MODEL_BASE_URL', 'qwen', false, true, 'https://dashscope.aliyuncs.com/compatible-mode/v1', 'Qwen text and vision model endpoint; independent of realtime audio, ASR, TTS, search and embedding.', 'Qwen 文本与视觉模型地址;独立于实时音频、ASR、TTS、搜索和嵌入。'],
41
+ ['DEEPSEEK_MODEL_BASE_URL', 'deepseek', false, true, 'https://api.deepseek.com', 'DeepSeek text and vision model endpoint.', 'DeepSeek 文本与视觉模型地址。'],
42
+ ['OPENAI_MODEL_BASE_URL', 'openai', false, true, 'https://api.openai.com/v1', 'OpenAI text model endpoint; the realtime endpoint stays OPENAI_REALTIME_URL.', 'OpenAI 文本模型地址;实时端点仍使用 OPENAI_REALTIME_URL。'],
43
+ ['GEMINI_MODEL_BASE_URL', 'gemini', false, true, 'https://generativelanguage.googleapis.com/v1beta/openai', 'Gemini text model endpoint; the realtime endpoint stays GEMINI_REALTIME_URL.', 'Gemini 文本模型地址;实时端点仍使用 GEMINI_REALTIME_URL。'],
44
+ ['STEPFUN_MODEL_BASE_URL', 'stepfun', false, true, 'https://api.stepfun.com/v1', 'StepFun text and vision model endpoint; the realtime endpoint stays STEPFUN_REALTIME_URL.', 'StepFun 文本与视觉模型地址;实时端点仍使用 STEPFUN_REALTIME_URL。'],
45
+ ['EMBEDDING_BASE_URL', 'core', false, true, 'https://dashscope.aliyuncs.com/compatible-mode/v1', 'Embedding API endpoint, independent of text models.', '独立于文本模型的嵌入 API 地址。'],
46
+ ['EMBEDDING_API_KEY', 'core', true, true, null, 'Embedding credential; defaults to DASHSCOPE_API_KEY on DashScope only.', '嵌入凭据,仅 DashScope 地址默认使用 DASHSCOPE_API_KEY。'],
47
+ ['FAST_MODEL', 'core', false, true, 'provider default', 'FastBrain model.', 'FastBrain 模型。'],
48
+ ['WATCH_MODEL', 'core', false, true, 'fast model', 'Watch model override.', 'Watch 模型覆盖。'],
49
+ ['MODEL_ROUTES', 'host_private', false, false, null, 'Desktop-supplied per-lane model routing document: conversationText, support, fast, compressor, watch and embedding; an absent lane keeps the runtime default.', '桌面端提供的分通道模型路由文档:conversationText、support、fast、compressor、watch 与 embedding;缺少的通道沿用运行时默认值。'],
50
+ ['SUPPORT_MODEL', 'core', false, true, 'provider default', 'Shared support LLM for proactive communication, intake, task verification and personal content.', '主动沟通、任务接入、任务验收和个人内容共用的辅助 LLM。'],
51
+ ['PIPELINE_MODE', 'core', false, true, 'integrated', 'Product pipeline shape: integrated or cascaded.', '产品管线形态:集成或级联。'],
52
+ ['NEWS_LANGUAGE', 'core', false, true, 'en', 'Native RSS language: zh-CN or en. Desktop supplies OS language independently of UI preference; applied at runtime start.', '原生 RSS 语言:zh-CN 或 en;桌面传入系统语言,独立于界面偏好,运行时启动时生效。'],
53
+ ['PROMPT_LANGUAGE', 'core', false, true, 'zh-CN', 'AI system prompt language: zh-CN or en; desktop supplies its saved preference.', 'AI system prompt 语言:zh-CN 或 en;桌面端会提供其保存的偏好。'],
54
+ ['MONITOR_CAMERA_DEVICE_ID', 'camera', false, true, null, 'Exact monitor camera device ID; empty uses the default device.', '监控摄像头设备 ID;空值使用默认设备。'],
55
+ ['CAMERA_MODULE_ENABLED', 'camera', false, true, 'true', 'Enable independent Vision monitoring.', '启用独立视觉监控。'],
56
+ ['PROFILE_PARTICIPANT_MESSAGES', 'core', false, true, 'false', 'Let the profile also read other people\'s messages in the chats you connected; they are sent to the model provider. The desktop privacy setting supplies it.', '让个人画像同时读取你已连接会话里他人的发言,这些内容会发送给模型服务商。桌面端的隐私设置会提供该值。'],
57
+ ['INTEGRATED_PROVIDER', 'core', false, true, 'qwen', 'Integrated realtime provider.', '集成实时提供方。'],
58
+ ['CASCADE_ENDPOINTING_PROVIDER', 'core', false, true, 'auto', 'Cascaded endpointing provider.', '级联端点检测提供方。'],
59
+ ['CASCADE_ASR_PROVIDER', 'core', false, true, 'volcengine', 'Cascaded ASR provider.', '级联 ASR 提供方。'],
60
+ ['CASCADE_LLM_PROVIDER', 'core', false, true, 'deepseek', 'Cascaded LLM provider.', '级联 LLM 提供方。'],
61
+ ['CASCADE_LLM_MODEL', 'core', false, true, 'provider default', 'Cascaded LLM model override.', '级联 LLM 模型覆盖。'],
62
+ ['CASCADE_TTS_PROVIDER', 'core', false, true, 'volcengine', 'Cascaded TTS provider.', '级联 TTS 提供方。'],
63
+ ['EXECUTOR', 'core', false, true, null, 'Optional single executor selector; unset selects none.', '可选的单执行器选择器;未设置时不选择执行器。'],
64
+ ['EXECUTORS', 'core', false, true, null, 'Optional ordered executor list; unset selects none.', '可选的有序执行器列表;未设置时不选择执行器。'],
65
+ ['CODING_PROGRESS_NARRATION', 'core', false, true, 'smart', 'Coding progress narration.', '编程进度播报模式。'],
66
+ ['PROACTIVITY_PRESET', 'core', false, true, 'balanced', 'Proactivity preset.', '主动性预设。'],
67
+ ['SUGGESTION_COOLDOWN', 'core', false, true, 'preset', 'Suggestion cooldown override in seconds.', '建议冷却秒数覆盖。'],
68
+ ['FRESH_WINDOW', 'core', false, true, 'preset', 'Fresh-context window override in seconds.', '新鲜上下文窗口秒数覆盖。'],
69
+ ['CODEX_APPROVAL_MODE', 'codex', false, true, 'ask', 'Coding approval mode for Codex and ACP backends; Pi refuses ask.', '编程审批模式,适用于 Codex 与 ACP 执行器;Pi 不接受询问模式。'],
70
+ ['CLARIFICATION_DEPTH', 'core', false, true, 'balanced', 'Maximum clarification depth for intake.', '意图理解的最大澄清深度。'],
71
+ ['PLAN_READBACK', 'core', false, true, 'summary', 'Plan readback mode.', '规划回读模式。'],
72
+ ['GENERATE_PLAN', 'core', false, true, 'true', 'Generate a plan before execution.', '执行前生成计划。'],
73
+ ['PROGRESS_BUBBLES', 'core', false, true, 'milestones', 'Progress bubble display mode.', '进度气泡显示模式。'],
74
+ ['CAPABILITIES_CONFIG', 'core', false, true, '~/.nova-personal-agent/capabilities.json', 'Capabilities registry path.', '能力注册表路径。'],
75
+ ['SEARCH_PROVIDER', 'search', false, true, 'tavily', 'CLI or CI search provider override.', 'CLI 或 CI 搜索提供方覆盖。'],
76
+ ['SEARCH_MCP_URL', 'search', false, true, null, 'Web search MCP endpoint override; unset uses the verified Bailian preset when MCP is selected.', '网页搜索 MCP 地址覆盖;选择 MCP 且未设置时使用已核对的百炼预设。'],
77
+ ['SEARCH_MCP_TOOL', 'search', false, true, 'web_search', 'Web search MCP tool override (generic default web_search; Bailian preset search_pro).', '网页搜索 MCP 工具覆盖(通用默认 web_search;百炼预设 search_pro)。'],
78
+ ['MEMORY_PRERECALL_ENABLED', 'core', false, true, 'false', 'Optionally prefetch context for text replies; voice uses profile and summary.', '文本回复可选预检索;语音默认使用个人资料与摘要。'],
79
+ ['MEMORY_CONSOLIDATION_ENABLED', 'core', false, true, 'true', 'Generate derived memory summaries daily.', '每日生成派生记忆摘要。'],
80
+ ['MEMORY_CONSOLIDATION_HOUR', 'core', false, true, '0', 'Local hour for daily memory consolidation (0-23).', '每日记忆整理时间(0-23 时)。'],
81
+ ['MEMORY_CONSOLIDATION_TIMEZONE', 'core', false, true, 'UTC', 'IANA timezone for daily memory consolidation.', '每日记忆整理采用的 IANA 时区。'],
82
+ ['KNOWLEDGE_PATH', 'core', false, true, '~/.nova-personal-agent/knowledge.sqlite', 'Knowledge SQLite database path.', '知识库 SQLite 数据库路径。'],
83
+ ['EMBEDDING_PROVIDER', 'core', false, true, 'dashscope', 'Knowledge embedding provider.', '知识库 embedding 提供方。'],
84
+ ['EMBEDDING_MODEL', 'core', false, true, 'text-embedding-v4', 'Knowledge embedding model.', '知识库 embedding 模型。'],
85
+ ['MEMORY_CONNECTION', 'core', false, true, 'local', 'Memory connection: disabled, local, or remote.', '记忆连接:disabled、local 或 remote。'],
86
+ ['MEMORY_PROVIDER', 'core', false, true, null, 'Deprecated local provider: voicemem keeps ledger migration; mem0 keeps standalone mode. Conflicts with new memory variables.', '已弃用本地提供方:voicemem 保留账本迁移;mem0 保留独立模式。不能与新记忆变量共用。'],
87
+ ['MEMORY_RECALL_ENGINE', 'core', false, true, 'ledger', 'Expert local recall engine: ledger, voicemem or mem0; ledger remains authority. No UI picker.', '高级本地召回引擎:ledger、voicemem 或 mem0;账本仍是权威。无界面选择器。'],
88
+ ['MEMORY_EXTRACTORS', 'core', false, true, 'ledger', 'Comma-separated ledger or ledger,voicemem. VoiceMem adds temporary response-style context, not facts. Cannot combine with MEMORY_PROVIDER.', '提取器 ledger 或 ledger,voicemem;VoiceMem 仅增加短期回复风格背景,不写事实。不能与 MEMORY_PROVIDER 共用。'],
89
+ ['BLACKBOARD_PATH', 'core', false, true, '~/.nova-personal-agent/blackboard.sqlite', 'Conversation recovery database path.', '会话恢复数据库路径。'],
90
+ ['BLACKBOARD_OWNER_ID', 'core', false, true, 'local', 'Stable conversation recovery owner.', '稳定的会话恢复所有者。'],
91
+ ['MEMORY_URL', 'core', false, true, null, 'HTTP memory service origin; HTTPS or numeric loopback HTTP.', 'HTTP 记忆服务地址;仅 HTTPS 或数字回环 HTTP。'],
92
+ ['MEMORY_TOKEN', 'core', true, true, null, 'Host-issued identity-bound memory bearer token.', '宿主提供的身份绑定记忆令牌。'],
93
+ ['MEMORY_PATH', 'core', false, true, '~/.nova-personal-agent/memory.sqlite', 'Personal memory database path.', '个人记忆数据库路径。'],
94
+ ['MEMORY_USER_ID', 'core', false, true, 'local', 'Stable personal memory user identity.', '稳定的个人记忆用户身份。'],
95
+ ['DASHSCOPE_API_KEY', 'qwen', true, true, null, 'Qwen realtime credential.', 'Qwen 实时凭据。'],
96
+ ['QWEN_REALTIME_URL', 'qwen', false, true, 'DashScope realtime endpoint', 'Qwen secure realtime endpoint.', 'Qwen 安全实时地址。'],
97
+ ['QWEN_REALTIME_MODEL', 'qwen', false, true, 'qwen-audio-3.0-realtime-plus', 'Qwen realtime model.', 'Qwen 实时模型。'],
98
+ ['QWEN_REALTIME_VOICE', 'qwen', false, true, 'longanqian', 'Qwen realtime voice.', 'Qwen 实时音色。'],
99
+ ['OPENAI_API_KEY', 'openai', true, true, null, 'OpenAI API credential.', 'OpenAI API 凭据。'],
100
+ ['OPENAI_REALTIME_URL', 'openai', false, true, 'wss://api.openai.com/v1/realtime', 'OpenAI secure realtime endpoint.', 'OpenAI 安全实时地址。'],
101
+ ['OPENAI_REALTIME_MODEL', 'openai', false, true, 'gpt-realtime-2.1-mini', 'OpenAI realtime model.', 'OpenAI 实时模型。'],
102
+ ['OPENAI_REALTIME_VOICE', 'openai', false, true, 'marin', 'OpenAI realtime voice.', 'OpenAI 实时音色。'],
103
+ ['GEMINI_API_KEY', 'gemini', true, true, null, 'Gemini API credential.', 'Gemini API 凭据。'],
104
+ ['GEMINI_ASR_MODEL', 'gemini', false, true, 'gemini-3.5-flash', 'Gemini transcription model.', 'Gemini 转录模型。'],
105
+ ['GEMINI_TTS_MODEL', 'gemini', false, true, 'gemini-3.8-flash-tts', 'Gemini speech generation model.', 'Gemini 语音生成模型。'],
106
+ ['GEMINI_TTS_VOICE', 'gemini', false, true, 'Kore', 'Gemini speech generation voice.', 'Gemini 语音生成音色。'],
107
+ ['GEMINI_REALTIME_URL', 'gemini', false, true, 'wss://generativelanguage.googleapis.com/ws/google.ai.generativelanguage.v1beta.GenerativeService.BidiGenerateContent', 'Gemini secure realtime endpoint.', 'Gemini 安全实时地址。'],
108
+ ['GEMINI_REALTIME_MODEL', 'gemini', false, true, 'gemini-3.8-live', 'Gemini realtime model.', 'Gemini 实时模型。'],
109
+ ['GEMINI_REALTIME_VOICE', 'gemini', false, true, 'Kore', 'Gemini realtime voice.', 'Gemini 实时音色。'],
110
+ ['STEPFUN_API_KEY', 'stepfun', true, true, null, 'StepFun realtime credential.', 'StepFun 实时凭据。'],
111
+ ['STEPFUN_REALTIME_URL', 'stepfun', false, true, 'wss://api.stepfun.com/v1/realtime', 'StepFun secure realtime endpoint.', 'StepFun 安全实时地址。'],
112
+ ['STEPFUN_REALTIME_MODEL', 'stepfun', false, true, 'stepaudio-3-realtime-preview', 'StepFun realtime model.', 'StepFun 实时模型。'],
113
+ ['STEPFUN_REALTIME_VOICE', 'stepfun', false, true, '', 'StepFun realtime voice; empty uses the service default.', 'StepFun 实时音色;留空使用服务默认音色。'],
114
+ ['QWEN_CONTROLLED_GUARD_RECONNECT', 'qwen', false, true, 'false', 'Allow controlled Guard reconnect.', '允许受控 Guard 重连。'],
115
+ ['QWEN_GUARD_HISTORY_RECOVERY', 'qwen', false, true, 'none', 'Guard history recovery mode.', 'Guard 历史恢复模式。'],
116
+ ['QWEN_GUARD_HISTORY_PAIRS', 'qwen', false, true, '4', 'Guard history pair count.', 'Guard 历史对话对数。'],
117
+ ['DEEPSEEK_API_KEY', 'deepseek', true, true, null, 'Official DeepSeek cascaded LLM credential.', 'DeepSeek 官方级联 LLM 凭据。'],
118
+ ['ARK_API_KEY', 'ark', true, true, null, 'Ark cascaded LLM credential.', '方舟级联 LLM 凭据。'],
119
+ ['DOUBAO_BIGMODEL_API_KEY', 'volcengine', true, true, null, 'Volcengine TTS and ASR fallback credential.', '火山 TTS 及 ASR 回退凭据。'],
120
+ ['VOLCENGINE_ARK_BASE_URL', 'ark', false, true, 'Volcengine Ark endpoint', 'Ark model endpoint; the dedicated name replaces a generic ARK_MODEL_BASE_URL alias.', '方舟模型地址;本身即为专属配置,不另设通用 ARK_MODEL_BASE_URL 别名。'],
121
+ ['DOUBAO_ASR_ENDPOINT', 'volcengine', false, true, 'Doubao ASR endpoint', 'Doubao ASR secure endpoint.', '豆包 ASR 安全地址。'],
122
+ ['DOUBAO_ASR_RESOURCE_ID', 'volcengine', false, true, 'volc.seedasr.sauc.duration', 'Doubao ASR resource ID.', '豆包 ASR 资源 ID。'],
123
+ ['DOUBAO_ASR_VOICEPRINT_ENABLED', 'volcengine', false, true, 'false', 'Verify the registered speaker before accepting ASR text.', '只接收已注册说话人的 ASR 文本。'],
124
+ ['DOUBAO_ASR_VOICEPRINT_ID', 'volcengine', false, true, '', 'Registered voiceprint UUID.', '已注册声纹 UUID。'],
125
+ ['DOUBAO_ASR_VOICEPRINT_HEALTH_URL', 'volcengine', false, true, '', 'Disable verification when this HTTPS health endpoint is unavailable.', '健康检查失败时停用声纹验证的 HTTPS 地址。'],
126
+ ['DOUBAO_ASR_VOICEPRINT_NAME', 'volcengine', false, true, '', 'Exact registered SpeakerName.', '注册时的完整 SpeakerName。'],
127
+ ['DOUBAO_ASR_CHUNK_MS', 'volcengine', false, true, '200', 'ASR input chunk duration.', 'ASR 输入分块时长。'],
128
+ ['DOUBAO_TTS_ENDPOINT', 'volcengine', false, true, 'Doubao TTS endpoint', 'Doubao TTS secure endpoint.', '豆包 TTS 安全地址。'],
129
+ ['DOUBAO_TTS_RESOURCE_ID', 'volcengine', false, true, 'seed-tts-2.0', 'Doubao TTS resource ID.', '豆包 TTS 资源 ID。'],
130
+ ['DOUBAO_TTS_VOICE', 'volcengine', false, true, 'zh_female_vv_uranus_bigtts', 'Doubao TTS voice.', '豆包 TTS 音色。'],
131
+ ['DOUBAO_TTS_OUTPUT_SAMPLE_RATE', 'volcengine', false, true, '24000', 'Doubao TTS output sample rate.', '豆包 TTS 输出采样率。'],
132
+ ['VOLCENGINE_VAD_THRESHOLD', 'volcengine', false, true, '0.5', 'VAD speech threshold.', 'VAD 语音阈值。'],
133
+ ['VOLCENGINE_VAD_PRE_ROLL_MS', 'volcengine', false, true, '260', 'VAD pre-roll duration.', 'VAD 预滚时长。'],
134
+ ['VOLCENGINE_VAD_MIN_SPEECH_MS', 'volcengine', false, true, '250', 'VAD minimum speech duration.', 'VAD 最短语音时长。'],
135
+ ['VOLCENGINE_VAD_SILENCE_END_MS', 'volcengine', false, true, '300', 'VAD silence endpoint duration.', 'VAD 静音断句时长。'],
136
+ ['VOLCENGINE_VAD_SPEECH_PAD_MS', 'volcengine', false, true, '30', 'VAD speech padding.', 'VAD 语音补边。'],
137
+ ['VOLCENGINE_VAD_MAX_UTTERANCE_MS', 'volcengine', false, true, '60000', 'VAD maximum utterance duration.', 'VAD 最长话语时长。'],
138
+ ['CODEX_WORKSPACE', 'codex', false, true, null, 'Host-approved Codex workspace.', '主机批准的 Codex 工作区。'],
139
+ ['CODEX_BIN', 'codex', false, true, 'codex', 'Host-approved Codex app-server binary.', '主机批准的 Codex app-server 可执行文件。'],
140
+ ['CODEX_PREFIX_ARGS', 'codex', false, false, '[]', 'Host-approved direct argv prefix for an official Codex launcher.', '宿主批准的官方 Codex 启动器直接 argv 前缀。'],
141
+ ['FEISHU_CLI_PATH', 'host_private', false, false, 'lark-cli', 'Host-configured Feishu CLI executable, version 1.0.69 or newer.', '宿主配置的飞书 CLI 路径,版本至少 1.0.69。'],
142
+ ['CODEX_RESOURCES_PATH', 'codex', false, false, 'codex', 'Host-owned native resource root.', '宿主持有的原生资源根目录。'],
143
+ ['CODEX_API_KEY', 'codex', true, true, 'Codex login', 'Optional Codex credential override.', '可选 Codex 凭据覆盖。'],
144
+ ['CODEX_PREWARM', 'codex', false, true, 'true', 'Prewarm Codex app-server.', '预热 Codex app-server。'],
145
+ ['CODEX_MANAGED_ROOT', 'codex', false, true, '~/.nova-personal-agent/workspaces', 'Managed project root.', '托管项目根目录。'],
146
+ ['CODEX_PROJECT_STATE_ROOT', 'codex', false, true, '~/.nova-personal-agent', 'Project state root.', '项目状态根目录。'],
147
+ ['CODEX_WORKING_INTERVAL', 'codex', false, true, '30', 'Codex progress interval in seconds.', 'Codex 进度间隔秒数。'],
148
+ ['TAVILY_API_KEY', 'search', true, true, null, 'Tavily search credential.', 'Tavily 搜索凭据。'],
149
+ ['DESKTOP_VIDEO_FILE', 'camera', false, true, null, 'Absolute deterministic desktop video input.', '桌面确定性视频输入的绝对路径。'],
150
+ ['REALTIME_TELEMETRY', 'telemetry', false, true, '~/.nova-personal-agent/realtime-telemetry.jsonl', 'Source-runtime telemetry output path; set an empty value to disable.', '源码运行时遥测输出路径;设置为空值可禁用。'],
151
+ ['NOVA_ORB_OPAQUE', 'core', false, true, '0', 'Use an opaque desktop orb window.', '使用不透明桌面悬浮球窗口。'],
152
+ ['SERVER_PORT', 'host_private', false, false, null, 'Fixed loopback remote server port.', '远程服务固定本地端口。'],
153
+ ['SERVER_TOKEN_FILE', 'host_private', true, false, null, 'Absolute path to the private remote credential file.', '远程服务私有凭据文件的绝对路径。'],
154
+ ['DESKTOP_TOKEN', 'host_private', true, false, null, 'Desktop transport handshake token.', '桌面传输握手令牌。'],
155
+ ['NOVA_HUB_URL', 'host_private', false, false, null, 'HTTPS origin of the sync Hub used by the hub command-line client.', 'Hub 命令行客户端使用的同步 Hub HTTPS 地址。'],
156
+ ['NOVA_HUB_TOKEN', 'host_private', true, false, null, 'Device token for the sync Hub command-line client.', 'Hub 命令行客户端使用的设备令牌。'],
157
+ ['DESKTOP_READY_ENDPOINT', 'host_private', false, false, null, 'Desktop readiness endpoint.', '桌面就绪端点。'],
158
+ ['NOVA_DESKTOP_RENDERER_OUTPUT_ROOT', 'host_private', false, false, null, 'Isolated renderer build output directory for an unpackaged desktop source run.', '未打包桌面源码运行使用的隔离渲染器构建输出目录。'],
159
+ ['DEV_BACKEND_ENTRY', 'host_private', false, false, null, 'Unpackaged desktop backend entry override.', '未打包桌面的开发后端入口覆盖。'],
160
+ ['DEV_START_MUTED', 'host_private', false, false, null, 'Start the unpackaged desktop with microphone muted.', '未打包桌面以闭麦状态启动。'],
161
+ ['RELEASE_CAMERA_SMOKE', 'host_private', false, false, null, 'Packaged release camera capability sentinel.', '安装包发布相机能力哨兵。'],
162
+ ['RELEASE_SMOKE', 'host_private', false, false, null, 'Authenticated packaged lifecycle smoke mode.', '安装包认证生命周期冒烟模式。'],
163
+ ['DEVELOPER_DIR', 'host_private', false, false, null, 'Host Xcode developer directory used when binding an iOS Simulator.', '绑定 iOS 模拟器时使用的宿主 Xcode 开发者目录。'],
164
+ ['CODEX_HOME', 'host_private', false, false, null, 'Host Codex credential home.', '主机 Codex 凭据目录。'],
165
+ ['HOME', 'host_private', false, false, null, 'Host home directory.', '主机用户目录。'],
166
+ ['BROWSER_ENGINE', 'browser', false, true, 'chromium', 'Managed engine: chromium, firefox or webkit.', '专用引擎:chromium、firefox 或 webkit。'],
167
+ ['BROWSER_URL', 'browser', false, true, null, 'Explicit starting URL; HTTPS or localhost HTTP.', '明确的起始 URL;HTTPS 或本机 HTTP。'],
168
+ ['BROWSER_HEADLESS', 'browser', false, true, 'true', 'Run the dedicated browser without occupying the foreground.', '专用浏览器是否在后台运行。'],
169
+ ['EXECUTOR_BASE_URL', 'executors', false, true, null, 'Screenshot model endpoint shared by the browser, computer and mobile executors.', '浏览器、电脑和手机执行器共用的截图模型地址。'],
170
+ ['EXECUTOR_MODEL', 'executors', false, true, null, 'Screenshot model identifier shared by the browser, computer and mobile executors.', '浏览器、电脑和手机执行器共用的截图模型名称。'],
171
+ ['EXECUTOR_MODEL_FAMILY', 'executors', false, true, null, 'Verified GUI model family: auto-glm, auto-glm-multilingual or qwen3-vl.', '已核实的 GUI 模型系列:auto-glm、auto-glm-multilingual 或 qwen3-vl。'],
172
+ ['EXECUTOR_API_KEY', 'executors', true, true, null, 'Screenshot model credential shared by the browser, computer and mobile executors.', '浏览器、电脑和手机执行器共用的截图模型凭据。'],
173
+ ['EXECUTOR_MAX_STEPS', 'executors', false, true, null, 'Action limit override (1-100); unset keeps each executor default (30).', '动作上限覆盖值(1-100);未设置时各执行器使用自身默认值(30)。'],
174
+ ['EXECUTOR_TIMEOUT_SECONDS', 'executors', false, true, null, 'Task deadline override (1-1800 seconds); unset keeps each executor default (600).', '任务时限覆盖值(1-1800 秒);未设置时各执行器使用自身默认值(600)。'],
175
+ ['EXECUTOR_SETTLE_MS', 'executors', false, true, null, 'Settling wait override (0-30000 milliseconds); unset keeps each executor default (browser 1000, computer and mobile 4000).', '画面稳定等待覆盖值(0-30000 毫秒);未设置时各执行器使用自身默认值(浏览器 1000,电脑和手机 4000)。'],
176
+ ['COMPUTER_DISPLAY_ID', 'computer', false, true, 'primary', 'Optional local display ID; defaults to the primary display. Whole-screen control requires one display.', '可选的本机显示器 ID,默认主屏幕;全屏模式仅支持单显示器。'],
177
+ ['COMPUTER_MAC_WINDOW_PID', 'computer', false, true, null, 'Opt-in background Safari process ID; requires COMPUTER_MAC_WINDOW_ID and macOS 14+.', '后台 Safari 进程 ID;须同时配置窗口 ID,要求 macOS 14+。'],
178
+ ['COMPUTER_MAC_WINDOW_ID', 'computer', false, true, null, 'Exact Safari native window ID; must remain the Safari key window. No foreground fallback.', 'Safari 原生窗口 ID;须保持为 Safari 键窗口,不自动切换前台。'],
179
+ ['COMPUTER_CLICK_HOLD_MS', 'computer', false, true, '100', 'Mouse click hold duration (10-1000 milliseconds).', '鼠标点击按住时长(10-1000 毫秒)。'],
180
+ ['MOBILE_ENGINE', 'mobile', false, true, 'midscene', 'Phone execution engine; currently midscene only.', '手机执行引擎;当前仅支持 midscene。'],
181
+ ['MOBILE_DEVICE_TYPE', 'mobile', false, true, 'ios-simulator', 'Phone platform: android, ios or ios-simulator; native execution supports Android ADB and iOS Simulator.', '手机平台:android、ios 或 ios-simulator;原生执行支持 Android ADB 和 iOS 模拟器。'],
182
+ ['MOBILE_DEVICE_ID', 'mobile', false, true, null, 'Exact iOS device or Simulator UDID, or Android ADB serial.', '明确的 iOS 设备或模拟器 UDID,或 Android ADB 序列号。'],
183
+ ['MOBILE_WDA_URL', 'mobile', false, true, 'http://127.0.0.1:8100', 'WebDriverAgent endpoint for the configured iOS device.', '配置的 iOS 设备 WebDriverAgent 地址。'],
184
+ ['CODING_BACKEND', 'core', false, true, 'codex', 'Backend for new coding sessions: codex, opencode, codebuddy, pi or deepseek. Existing sessions keep theirs.', '新编程会话使用的执行器:codex、opencode、codebuddy、pi 或 deepseek;已有会话保持原执行器。'],
185
+ ['CODING_PROFILES', 'host_private', false, false, null, 'Desktop-supplied registry of immutable ACP configuration-source profiles.', '桌面端提供的不可变 ACP 配置来源档案。'],
186
+ ['OPENCODE_ACP_BIN', 'core', false, true, 'opencode on PATH', 'Absolute path to the OpenCode executable used for ACP.', '用于 ACP 的 OpenCode 可执行文件绝对路径。'],
187
+ ['CODEBUDDY_ACP_BIN', 'core', false, true, 'codebuddy on PATH', 'Absolute path to the CodeBuddy executable used for ACP.', '用于 ACP 的 CodeBuddy 可执行文件绝对路径。'],
188
+ ['PI_ACP_BIN', 'core', false, true, 'pi-acp on PATH', 'Absolute path to the pi-acp adapter executable.', 'pi-acp 适配器可执行文件绝对路径。'],
189
+ ['DEEPSEEK_ACP_BIN', 'core', false, true, 'dsh on PATH', 'Absolute path to the DeepSeek Harness (dsh) executable used for ACP.', '用于 ACP 的 DeepSeek Harness(dsh)可执行文件绝对路径。'],
190
+ ['CODING_MODULE_ENABLED', 'codex', false, true, 'true', 'Enable the coding module; the desktop turns it off when no Codex CLI is available.', '启用编程模块;桌面端在找不到 Codex CLI 时自动关闭。'],
188
191
  ];
189
- export const environmentContract = Object.freeze(rows.map(([name, owner, secret, publicValue, required, defaultLabel, descriptionEn, descriptionZh]) => Object.freeze({
192
+ export const environmentContract = Object.freeze(rows.map(([name, owner, secret, publicValue, defaultLabel, descriptionEn, descriptionZh]) => Object.freeze({
190
193
  name,
191
194
  owner,
192
195
  secret,
193
196
  public: publicValue,
194
- required,
195
197
  defaultLabel,
196
198
  descriptionEn,
197
199
  descriptionZh,