@xopcai/xopc 0.0.405 → 0.0.407

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 (232) hide show
  1. package/dist/browser-ext/manifest.json +1 -1
  2. package/dist/extensions/feishu/src/transport/socket-mode/monitor.js +1 -1
  3. package/dist/extensions/feishu/src/transport/webhook/monitor.js +1 -1
  4. package/dist/extensions/telegram/xopc.extension.json +1 -1
  5. package/dist/gateway/static/root/assets/{agent-avatar-dicebear-wc__VG7A.js → agent-avatar-dicebear-CPNoFyoV.js} +1 -1
  6. package/dist/gateway/static/root/assets/agent-defaults-settings-panel-BB0O3b4I.js +1 -0
  7. package/dist/gateway/static/root/assets/agents-Y7XtlqVm.js +77 -0
  8. package/dist/gateway/static/root/assets/{agents-admin-api-D6XzhsQy.js → agents-admin-api-D0UyB0Y_.js} +1 -1
  9. package/dist/gateway/static/root/assets/{app-management-settings-panel-DnQKk3ql.js → app-management-settings-panel-BOAkMTQ7.js} +1 -1
  10. package/dist/gateway/static/root/assets/{appearance-settings-CoL67S5e.js → appearance-settings-BWPt4-vh.js} +1 -1
  11. package/dist/gateway/static/root/assets/apps-page-Ln5N1PK3.js +1 -0
  12. package/dist/gateway/static/root/assets/{archive-plugin-CgKj53U1.js → archive-plugin-CNjE6PYZ.js} +1 -1
  13. package/dist/gateway/static/root/assets/{automations-page-Cr_WMoqc.js → automations-page-BsP4j7Nw.js} +1 -1
  14. package/dist/gateway/static/root/assets/automations-workspace-lq17XY3n.js +6 -0
  15. package/dist/gateway/static/root/assets/{binary-plugins-C_h3FTTz.js → binary-plugins-AFWJskT6.js} +1 -1
  16. package/dist/gateway/static/root/assets/{block-editor-lnkSRbxE.js → block-editor-SQ53S4oy.js} +40 -40
  17. package/dist/gateway/static/root/assets/{browser-automation-inputs-FsIEAlnO.js → browser-automation-inputs-C2SC9h-c.js} +1 -1
  18. package/dist/gateway/static/root/assets/browser-automations-page-kRoqj1qn.js +3 -0
  19. package/dist/gateway/static/root/assets/browser-settings-page-dZhjL3oj.js +3 -0
  20. package/dist/gateway/static/root/assets/capabilities-CD6PzNK7.js +1 -0
  21. package/dist/gateway/static/root/assets/capabilities-page-Dnp_ilKR.js +2 -0
  22. package/dist/gateway/static/root/assets/capabilities-settings-panel-BA9kBBqE.js +8 -0
  23. package/dist/gateway/static/root/assets/{capability-header-actions-wTmkMFS8.js → capability-header-actions-Cq5XWEDs.js} +1 -1
  24. package/dist/gateway/static/root/assets/channels-BZCzeWtD.js +1 -0
  25. package/dist/gateway/static/root/assets/{chat-terminal-dock-DJjZ0p_B.js → chat-terminal-dock-BC4EyhTx.js} +2 -2
  26. package/dist/gateway/static/root/assets/computer-settings-page-MxcoTOP1.js +1 -0
  27. package/dist/gateway/static/root/assets/{connector-service-page-DavOiSs1.js → connector-service-page-tSQ3a_Ti.js} +1 -1
  28. package/dist/gateway/static/root/assets/connectors-page-h5FTgews.js +1 -0
  29. package/dist/gateway/static/root/assets/{date-picker-cGUcobcp.js → date-picker-CavoWXMc.js} +1 -1
  30. package/dist/gateway/static/root/assets/{dependency-picker-BvEoPDqz.js → dependency-picker-Cl-3upFX.js} +1 -1
  31. package/dist/gateway/static/root/assets/{desktop-pet-DL330r9w.js → desktop-pet-B-RDVNqR.js} +1 -1
  32. package/dist/gateway/static/root/assets/{desktop-pet-settings-BkBrKnpR.js → desktop-pet-settings-rttWyUzY.js} +1 -1
  33. package/dist/gateway/static/root/assets/device-pairing-wizard-6hqiv1ui.js +1 -0
  34. package/dist/gateway/static/root/assets/{directory-picker-path-field-Bq5EumS7.js → directory-picker-path-field-1rEGI8IE.js} +1 -1
  35. package/dist/gateway/static/root/assets/{extension-debug-page-BcNqrM44.js → extension-debug-page-BaswNoXz.js} +1 -1
  36. package/dist/gateway/static/root/assets/{extension-page-BIOXclKZ.js → extension-page-uCMJMnc_.js} +1 -1
  37. package/dist/gateway/static/root/assets/{extension-settings-page-BdLmNW7c.js → extension-settings-page-DiczmHyl.js} +1 -1
  38. package/dist/gateway/static/root/assets/{gateway-config-swr-BvuySoCX.js → gateway-config-swr-CTXr917C.js} +1 -1
  39. package/dist/gateway/static/root/assets/{gateway-realtime-SBtdXzco.js → gateway-realtime-CP6L2jIR.js} +1 -1
  40. package/dist/gateway/static/root/assets/gateway-realtime-store-yXB4a40_.js +1 -0
  41. package/dist/gateway/static/root/assets/gateway-settings-DH5MOwxf.js +1 -0
  42. package/dist/gateway/static/root/assets/{gateway-startup-retry-CEpuztYK.js → gateway-startup-retry-DD2fsxdd.js} +1 -1
  43. package/dist/gateway/static/root/assets/{highlighted-body-KQOG7T2V-BJBmXHUI.js → highlighted-body-KQOG7T2V-B62h4sJ4.js} +1 -1
  44. package/dist/gateway/static/root/assets/home-page-BsjMhloP.js +2 -0
  45. package/dist/gateway/static/root/assets/{image-generation-api-vO5_70v-.js → image-generation-api-Di7HnFSL.js} +1 -1
  46. package/dist/gateway/static/root/assets/{imports-page-xvg0vgTo.js → imports-page-DpKfYZMT.js} +1 -1
  47. package/dist/gateway/static/root/assets/index-BUv4J0JN.js +267 -0
  48. package/dist/gateway/static/root/assets/index-Cr4I4q1J.css +1 -0
  49. package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-D-jHSG1c.js → keyboard-shortcuts-settings-D1Q1kTMI.js} +1 -1
  50. package/dist/gateway/static/root/assets/local-app-workbench-page-CnaLbgJb.js +1 -0
  51. package/dist/gateway/static/root/assets/{local-apps-page-DQOK34TS.js → local-apps-page-CSO0RkyG.js} +1 -1
  52. package/dist/gateway/static/root/assets/{local-session-drafts-DhJjHCfQ.js → local-session-drafts-TqLFKwYo.js} +1 -1
  53. package/dist/gateway/static/root/assets/{locale-store-D5h-Ha6-.js → locale-store-D_migb9R.js} +1 -1
  54. package/dist/gateway/static/root/assets/logs-page-DruO5LTf.js +2 -0
  55. package/dist/gateway/static/root/assets/management-settings-Dw3tQKNe.js +1 -0
  56. package/dist/gateway/static/root/assets/{markdown-view-CthsQiiO.js → markdown-view-vQSMUUY_.js} +1 -1
  57. package/dist/gateway/static/root/assets/{media-plugins-4_OqZkJo.js → media-plugins-CrHXsih_.js} +1 -1
  58. package/dist/gateway/static/root/assets/mermaid-MCJ5UELQ-CNzdVIcE.js +1 -0
  59. package/dist/gateway/static/root/assets/messages-D__oW2yE.js +3 -0
  60. package/dist/gateway/static/root/assets/note-detail-panel-DCZ6Vgd_.js +5 -0
  61. package/dist/gateway/static/root/assets/note-image-lightbox-BXNZw7lJ.js +1 -0
  62. package/dist/gateway/static/root/assets/notes-page-Bqy9Rh_j.js +8 -0
  63. package/dist/gateway/static/root/assets/{page-context-capture-button-DkFhXsZj.js → page-context-capture-button-DQHbuYER.js} +1 -1
  64. package/dist/gateway/static/root/assets/personal-page-C--WEB5c.js +1 -0
  65. package/dist/gateway/static/root/assets/personal-proactivity-BJcZ3Yhi.js +1 -0
  66. package/dist/gateway/static/root/assets/personal-settings-panel-Cwgc13ls.js +1 -0
  67. package/dist/gateway/static/root/assets/plugin-details-dialog-DxkFHaU-.js +1 -0
  68. package/dist/gateway/static/root/assets/plugin-presentation-CO5BFDGW.js +1 -0
  69. package/dist/gateway/static/root/assets/{preview-open-alternatives-Bz7-AqIY.js → preview-open-alternatives-BW7P2akd.js} +1 -1
  70. package/dist/gateway/static/root/assets/{product-open-page-uAU6q84_.js → product-open-page-BnlpaYs-.js} +1 -1
  71. package/dist/gateway/static/root/assets/product-preview-content-DkXx1Vt8.js +1 -0
  72. package/dist/gateway/static/root/assets/project-detail-page-CtyCpIx8.js +1 -0
  73. package/dist/gateway/static/root/assets/projects-page-CJ0s-bI5.js +1 -0
  74. package/dist/gateway/static/root/assets/{registry-api-Bf0hVPNV.js → registry-api-4NZOh0iz.js} +1 -1
  75. package/dist/gateway/static/root/assets/remote-access-hub-yItNjAR3.js +1 -0
  76. package/dist/gateway/static/root/assets/{runtime-tools-api-ByH1meP7.js → runtime-tools-api-CmEWVrOg.js} +1 -1
  77. package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-D2VV6nm2.js → runtime-tools-settings-panel-BGRbt79f.js} +1 -1
  78. package/dist/gateway/static/root/assets/{schema-form-gO0zayZd.js → schema-form-B9VP7ldU.js} +1 -1
  79. package/dist/gateway/static/root/assets/{session-api-fVuszA_P.js → session-api-aQLptIs9.js} +1 -1
  80. package/dist/gateway/static/root/assets/session-manager-D2sLfkw-.js +16 -0
  81. package/dist/gateway/static/root/assets/sessions-page-3O5S9efw.js +1 -0
  82. package/dist/gateway/static/root/assets/settings-advanced-gate-BE-SKsf6.js +1 -0
  83. package/dist/gateway/static/root/assets/{settings-form-section-CihKQYlF.js → settings-form-section-BA2RkU1S.js} +1 -1
  84. package/dist/gateway/static/root/assets/settings-page-BUT0FzfI.js +1 -0
  85. package/dist/gateway/static/root/assets/{setup-status-panel-BWVb5uxa.js → setup-status-panel-1oWs6iPS.js} +1 -1
  86. package/dist/gateway/static/root/assets/{share-preview-page-Dg0mhito.js → share-preview-page-CVNey8Lq.js} +1 -1
  87. package/dist/gateway/static/root/assets/shares-settings-Bb6YoDmU.js +1 -0
  88. package/dist/gateway/static/root/assets/{skill-api-CrNz0Fi0.js → skill-api-BWi0G9Ii.js} +1 -1
  89. package/dist/gateway/static/root/assets/skill-reload-api-DspV2olR.js +1 -0
  90. package/dist/gateway/static/root/assets/skills-page-SbNv1vpY.js +2 -0
  91. package/dist/gateway/static/root/assets/{style-CuYP4CAT.js → style-DlOTU5bN.js} +1 -1
  92. package/dist/gateway/static/root/assets/{system-settings-panel-DGFMkic_.js → system-settings-panel-DbS1qtOh.js} +1 -1
  93. package/dist/gateway/static/root/assets/task-detail-page-uSwizzx8.js +2 -0
  94. package/dist/gateway/static/root/assets/{task-expandable-content-BoGtWYbk.js → task-expandable-content-D0ahXP9o.js} +1 -1
  95. package/dist/gateway/static/root/assets/tracing-settings-page-BMhVvXXd.js +1 -0
  96. package/dist/gateway/static/root/assets/{tunnel-api-CnLkQQGi.js → tunnel-api-CO9rJLFh.js} +1 -1
  97. package/dist/gateway/static/root/assets/{usage-page-BInqKKdE.js → usage-page-DVzIDec4.js} +1 -1
  98. package/dist/gateway/static/root/assets/{use-autosave-0dTfTmCk.js → use-autosave-DqPaXiX2.js} +1 -1
  99. package/dist/gateway/static/root/assets/user-model-page-BYZCHCzG.js +2 -0
  100. package/dist/gateway/static/root/assets/{voice-api-key-field-BpOvEhu7.js → voice-api-key-field-C_iOzfIt.js} +1 -1
  101. package/dist/gateway/static/root/assets/{voice-config-api-CRjdZdJF.js → voice-config-api-4yGMrp7J.js} +1 -1
  102. package/dist/gateway/static/root/assets/{work-discovery-overlay-Br-XaBAW.js → work-discovery-overlay-n59s18s0.js} +1 -1
  103. package/dist/gateway/static/root/assets/{workflow-run-setup-panel-B8E6qBkL.js → workflow-run-setup-panel-Lp6Vumxc.js} +2 -2
  104. package/dist/gateway/static/root/assets/workflows-page-B5BqN1Y1.js +6 -0
  105. package/dist/gateway/static/root/assets/{xopc-cloud-account-card-BARP73BX.js → xopc-cloud-account-card-QSDUy0uF.js} +1 -1
  106. package/dist/gateway/static/root/index.html +16 -15
  107. package/dist/package.js +1 -1
  108. package/dist/packages/gateway-contract/src/capabilities.js +30 -3
  109. package/dist/src/agent/external-tools/cliProvider.js +1 -1
  110. package/dist/src/agent/prompt/conversational-configuration-guide.d.ts +4 -0
  111. package/dist/src/agent/prompt/conversational-configuration-guide.js +25 -0
  112. package/dist/src/agent/prompt/service-prompt-builder.js +6 -1
  113. package/dist/src/agent/prompt/system-prompt.js +2 -2
  114. package/dist/src/agent/tool-manuals/xopc-configuration.d.ts +8 -0
  115. package/dist/src/agent/tool-manuals/xopc-configuration.js +55 -0
  116. package/dist/src/agent/tool-manuals/xopc-use.d.ts +1 -1
  117. package/dist/src/agent/tool-manuals/xopc-use.js +4 -1
  118. package/dist/src/agent/tools/factory.js +0 -5
  119. package/dist/src/agent/tools/tool-manual-tool.d.ts +1 -0
  120. package/dist/src/agent/tools/tool-manual-tool.js +27 -2
  121. package/dist/src/agent/tools/xopc-use-tool.js +12 -7
  122. package/dist/src/agent-catalog/capabilities.js +27 -1
  123. package/dist/src/agent-config/index.js +2 -2
  124. package/dist/src/agent-config/schema.d.ts +0 -116
  125. package/dist/src/agent-config/schema.js +2 -32
  126. package/dist/src/capabilities/store-connector.d.ts +9 -1
  127. package/dist/src/capabilities/store-connector.js +30 -1
  128. package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
  129. package/dist/src/config/schema.d.ts +1 -1
  130. package/dist/src/connectors/cli/adapterRegistry.js +1 -8
  131. package/dist/src/connectors/cli/runtime.js +1 -1
  132. package/dist/src/connectors/composio-catalog.d.ts +2 -2
  133. package/dist/src/connectors/composio-catalog.js +3 -8
  134. package/dist/src/connectors/composio-sessions.js +2 -0
  135. package/dist/src/connectors/composio.js +0 -6
  136. package/dist/src/connectors/connection-candidates.js +0 -5
  137. package/dist/src/connectors/connection-capabilities.js +0 -4
  138. package/dist/src/connectors/excluded-connectors.d.ts +4 -0
  139. package/dist/src/connectors/excluded-connectors.js +24 -0
  140. package/dist/src/connectors/install.js +3 -0
  141. package/dist/src/connectors/integration-strategy.js +0 -5
  142. package/dist/src/connectors/providers.d.ts +0 -1
  143. package/dist/src/connectors/providers.js +2 -14
  144. package/dist/src/gateway/hono/routes/personal-agent.js +4 -5
  145. package/dist/src/gateway/service/config-coordinator.d.ts +1 -1
  146. package/dist/src/personal-agent/communication.d.ts +1 -1
  147. package/dist/src/personal-agent/communication.js +1 -1
  148. package/dist/src/personal-agent/default-style.d.ts +2 -0
  149. package/dist/src/personal-agent/default-style.js +11 -0
  150. package/dist/src/personal-agent/persona.d.ts +1 -1
  151. package/dist/src/personal-agent/persona.js +1 -1
  152. package/dist/src/personal-agent/policy.d.ts +1 -1
  153. package/dist/src/personal-agent/policy.js +0 -1
  154. package/dist/src/personal-agent/proactivity/service.js +1 -4
  155. package/dist/src/personal-agent/prompts.d.ts +1 -5
  156. package/dist/src/personal-agent/prompts.js +28 -39
  157. package/dist/src/personal-agent/reply-composer.js +3 -2
  158. package/dist/src/personal-agent/reply-style.d.ts +10 -2
  159. package/dist/src/personal-agent/reply-style.js +61 -3
  160. package/dist/src/personal-agent/repository.d.ts +0 -8
  161. package/dist/src/personal-agent/repository.js +1 -9
  162. package/dist/src/personal-agent/service.d.ts +2 -32
  163. package/dist/src/personal-agent/service.js +11 -17
  164. package/dist/src/platform/contracts.d.ts +3 -3
  165. package/dist/src/storage/sqlite/migrations/259_personal_default_style.sql +10 -0
  166. package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
  167. package/dist/src/storage/sqlite/migrations/runner.js +3 -3
  168. package/dist/src/storage/sqlite/schema.js +1 -1
  169. package/dist/src/tasks/task-main-update-decision-service.js +1 -1
  170. package/package.json +4 -1
  171. package/dist/gateway/static/root/assets/agent-defaults-settings-panel-DRgnm9A5.js +0 -1
  172. package/dist/gateway/static/root/assets/agents-sIMLDv80.js +0 -77
  173. package/dist/gateway/static/root/assets/apps-page-CRAr0xnF.js +0 -1
  174. package/dist/gateway/static/root/assets/automations-workspace-BGpO47Sw.js +0 -6
  175. package/dist/gateway/static/root/assets/browser-BLJWD7WI.js +0 -8
  176. package/dist/gateway/static/root/assets/browser-automations-page-Dwhk5TFz.js +0 -3
  177. package/dist/gateway/static/root/assets/browser-settings-page-B1Mfsw2n.js +0 -3
  178. package/dist/gateway/static/root/assets/capabilities-Dl3LttAm.js +0 -1
  179. package/dist/gateway/static/root/assets/capabilities-page-lfNS8DDp.js +0 -2
  180. package/dist/gateway/static/root/assets/capabilities-settings-panel-DLL614DS.js +0 -8
  181. package/dist/gateway/static/root/assets/capability-icon-DVoZxEgW.js +0 -1
  182. package/dist/gateway/static/root/assets/capability-links-DzQWK1Fh.js +0 -1
  183. package/dist/gateway/static/root/assets/channels-W60IrDrt.js +0 -1
  184. package/dist/gateway/static/root/assets/computer-settings-page-BYYgEEdX.js +0 -1
  185. package/dist/gateway/static/root/assets/connectors-page-BUTj6vNY.js +0 -1
  186. package/dist/gateway/static/root/assets/device-pairing-wizard-BYUl_dNS.js +0 -1
  187. package/dist/gateway/static/root/assets/gateway-realtime-store-dKq2fm2X.js +0 -1
  188. package/dist/gateway/static/root/assets/gateway-settings-C1vgqKYa.js +0 -1
  189. package/dist/gateway/static/root/assets/home-page-Cd4MHgKf.js +0 -2
  190. package/dist/gateway/static/root/assets/index-DdJ_djQt.js +0 -260
  191. package/dist/gateway/static/root/assets/index-QegseiyI.css +0 -1
  192. package/dist/gateway/static/root/assets/local-app-workbench-page-ER7_0M_4.js +0 -1
  193. package/dist/gateway/static/root/assets/logs-page-_v_abG4D.js +0 -2
  194. package/dist/gateway/static/root/assets/management-settings-CWojbrEe.js +0 -1
  195. package/dist/gateway/static/root/assets/mermaid-MCJ5UELQ-BXiiOI72.js +0 -1
  196. package/dist/gateway/static/root/assets/messages-Bwv-AOYl.js +0 -3
  197. package/dist/gateway/static/root/assets/note-detail-panel-tHYUDAgB.js +0 -5
  198. package/dist/gateway/static/root/assets/note-image-lightbox-DwVH-T8-.js +0 -1
  199. package/dist/gateway/static/root/assets/notes-page-BQqxqB3t.js +0 -8
  200. package/dist/gateway/static/root/assets/personal-page-DyKbVh4z.js +0 -1
  201. package/dist/gateway/static/root/assets/plugin-details-dialog-CVbHabgS.js +0 -1
  202. package/dist/gateway/static/root/assets/plugin-presentation-BfVM-8kL.js +0 -1
  203. package/dist/gateway/static/root/assets/product-preview-content-DsPKx_gw.js +0 -1
  204. package/dist/gateway/static/root/assets/project-detail-page-BpUxpCUt.js +0 -1
  205. package/dist/gateway/static/root/assets/projects-page-BWrQ05az.js +0 -1
  206. package/dist/gateway/static/root/assets/remote-access-hub-D4k7snPU.js +0 -1
  207. package/dist/gateway/static/root/assets/session-manager-BMEW_eS_.js +0 -16
  208. package/dist/gateway/static/root/assets/sessions-page-DPrI8ql2.js +0 -1
  209. package/dist/gateway/static/root/assets/settings-advanced-gate-BYXPsUzS.js +0 -1
  210. package/dist/gateway/static/root/assets/settings-page-BYP_I9AF.js +0 -1
  211. package/dist/gateway/static/root/assets/shares-settings-q0E4FYlf.js +0 -1
  212. package/dist/gateway/static/root/assets/skill-reload-api-BNCLOlJs.js +0 -1
  213. package/dist/gateway/static/root/assets/skills-page-CYwH8kim.js +0 -2
  214. package/dist/gateway/static/root/assets/task-detail-page-CTqBd0eY.js +0 -2
  215. package/dist/gateway/static/root/assets/tracing-settings-page-0CvZ40sA.js +0 -1
  216. package/dist/gateway/static/root/assets/user-model-page-3Dr0YRDG.js +0 -2
  217. package/dist/gateway/static/root/assets/workflows-page-CqC45_Fd.js +0 -6
  218. package/dist/src/agent/tools/personal-preference-tool.d.ts +0 -10
  219. package/dist/src/agent/tools/personal-preference-tool.js +0 -55
  220. package/dist/src/connectors/china-catalog.d.ts +0 -2
  221. package/dist/src/connectors/china-catalog.js +0 -873
  222. package/dist/src/connectors/cli/adapters/lark.d.ts +0 -2
  223. package/dist/src/connectors/cli/adapters/lark.js +0 -143
  224. package/dist/src/connectors/cli/adapters/larkShortcuts.d.ts +0 -3
  225. package/dist/src/connectors/cli/adapters/larkShortcuts.js +0 -64
  226. package/dist/src/connectors/cli/adapters/wecom.d.ts +0 -2
  227. package/dist/src/connectors/cli/adapters/wecom.js +0 -97
  228. package/dist/src/connectors/cli/adapters/wps365/bundle.js +0 -575
  229. package/dist/src/connectors/cli/adapters/wps365.d.ts +0 -2
  230. package/dist/src/connectors/cli/adapters/wps365.js +0 -115
  231. package/dist/src/connectors/cli/distributions.d.ts +0 -4
  232. package/dist/src/connectors/cli/distributions.js +0 -69
@@ -3,7 +3,7 @@ import { SpecialistProfileSchema } from "../../packages/gateway-contract/src/spe
3
3
  import { init_src } from "../../packages/gateway-contract/src/index.js";
4
4
  import { z } from "zod";
5
5
  //#region src/agent-config/schema.ts
6
- var DEFAULT_AGENT_MODEL_REF, DEFAULT_CORE_SKILLS, DEFAULT_SKILL_POLICY, AgentIdSchema, ModelRefSchema, ModelRouteSchema, ImageGenerationRouteSchema, ComputerModelRouteSchema, ModelIntentSchema, ModelIntentRoutesSchema, ModelIntentOverridesSchema, AgentModelsDefaultsSchema, AgentModelsOverrideSchema, ToolModeSchema, ToolPolicySchema, ToolPoliciesSchema, SkillDefaultsSchema, SkillOverrideSchema, WorkflowPolicySchema, RuntimePolicySchema, AgentDefaultsSchema, ResponsePreferencesSchema, AgentProfileSchema, AgentEntrySchema, EffectiveAgentConfigSchema;
6
+ var DEFAULT_AGENT_MODEL_REF, DEFAULT_CORE_SKILLS, DEFAULT_SKILL_POLICY, AgentIdSchema, ModelRefSchema, ModelRouteSchema, ImageGenerationRouteSchema, ComputerModelRouteSchema, ModelIntentSchema, ModelIntentRoutesSchema, ModelIntentOverridesSchema, AgentModelsDefaultsSchema, AgentModelsOverrideSchema, ToolModeSchema, ToolPolicySchema, ToolPoliciesSchema, SkillDefaultsSchema, SkillOverrideSchema, WorkflowPolicySchema, RuntimePolicySchema, AgentDefaultsSchema, AgentProfileSchema, AgentEntrySchema, EffectiveAgentConfigSchema;
7
7
  var init_schema = __esmMin((() => {
8
8
  init_src();
9
9
  DEFAULT_AGENT_MODEL_REF = "xopc-cloud/auto";
@@ -135,35 +135,6 @@ var init_schema = __esmMin((() => {
135
135
  workflows: WorkflowPolicySchema.default({}),
136
136
  runtime: RuntimePolicySchema.default({})
137
137
  }).strict();
138
- ResponsePreferencesSchema = z.object({
139
- addressAs: z.string().trim().max(60).optional(),
140
- guidance: z.string().trim().max(500).optional(),
141
- warmth: z.enum([
142
- "reserved",
143
- "balanced",
144
- "gentle"
145
- ]).optional(),
146
- humor: z.enum([
147
- "none",
148
- "occasional",
149
- "playful"
150
- ]).optional(),
151
- supportMode: z.enum([
152
- "listen",
153
- "untangle",
154
- "solutions"
155
- ]).optional(),
156
- detailLevel: z.enum([
157
- "brief",
158
- "balanced",
159
- "detailed"
160
- ]).optional(),
161
- proactivity: z.enum([
162
- "decisions",
163
- "important",
164
- "open"
165
- ]).optional()
166
- }).strict();
167
138
  AgentProfileSchema = z.object({
168
139
  name: z.string().trim().min(1),
169
140
  description: z.string().trim().optional(),
@@ -178,7 +149,6 @@ var init_schema = __esmMin((() => {
178
149
  voice: z.string().trim().min(1).max(200)
179
150
  }).strict().optional(),
180
151
  voiceCallPreferences: z.object({ openingGreetingEnabled: z.boolean() }).strict().optional(),
181
- responsePreferences: ResponsePreferencesSchema.optional(),
182
152
  instructions: z.string().trim().min(1).optional()
183
153
  }).strict();
184
154
  AgentEntrySchema = z.object({
@@ -212,4 +182,4 @@ var init_schema = __esmMin((() => {
212
182
  }));
213
183
  //#endregion
214
184
  init_schema();
215
- export { AgentDefaultsSchema, AgentEntrySchema, AgentIdSchema, AgentModelsDefaultsSchema, AgentModelsOverrideSchema, AgentProfileSchema, ComputerModelRouteSchema, DEFAULT_AGENT_MODEL_REF, DEFAULT_CORE_SKILLS, DEFAULT_SKILL_POLICY, EffectiveAgentConfigSchema, ImageGenerationRouteSchema, ModelIntentSchema, ModelRefSchema, ModelRouteSchema, ResponsePreferencesSchema, RuntimePolicySchema, SkillDefaultsSchema, SkillOverrideSchema, ToolModeSchema, ToolPoliciesSchema, ToolPolicySchema, WorkflowPolicySchema, init_schema };
185
+ export { AgentDefaultsSchema, AgentEntrySchema, AgentIdSchema, AgentModelsDefaultsSchema, AgentModelsOverrideSchema, AgentProfileSchema, ComputerModelRouteSchema, DEFAULT_AGENT_MODEL_REF, DEFAULT_CORE_SKILLS, DEFAULT_SKILL_POLICY, EffectiveAgentConfigSchema, ImageGenerationRouteSchema, ModelIntentSchema, ModelRefSchema, ModelRouteSchema, RuntimePolicySchema, SkillDefaultsSchema, SkillOverrideSchema, ToolModeSchema, ToolPoliciesSchema, ToolPolicySchema, WorkflowPolicySchema, init_schema };
@@ -24,7 +24,15 @@ export declare function parseStoreConnectorCandidateRef(ref: string): {
24
24
  version: string;
25
25
  } | undefined;
26
26
  export declare function searchStoreConnectorInstallCandidates(config: Config, query: string, limit?: number): Promise<StoreConnectorInstallCandidate[]>;
27
- export declare function listStoreConnectors(config: Config, params: SkillsStoreListParams): Promise<import("../agent/skills/skills-marketplace.js").SkillsStoreListResponse>;
27
+ export declare function listStoreConnectors(config: Config, params: SkillsStoreListParams): Promise<{
28
+ items: import("../agent/skills/marketplace/adapters/store/store-api-client.js").SkillsStorePackageListItem[];
29
+ meta: {
30
+ page: number;
31
+ pageSize: number;
32
+ total: number;
33
+ totalPages: number;
34
+ };
35
+ }>;
28
36
  export declare function getStoreConnectorInstallPlan(config: Config, packageName: string, version?: string): Promise<StoreConnectorInstallPlan>;
29
37
  export declare function installStoreConnector(config: Config, packageName: string, input: ConnectorInstallInput, version?: string, reviewHash?: string): Promise<{
30
38
  instance: import("../connectors/types.js").ConnectorInstance;
@@ -1,4 +1,5 @@
1
1
  import { getCliAdapter } from "../connectors/cli/adapterRegistry.js";
2
+ import { assertStoreConnectorAvailable, isExcludedStoreConnector } from "../connectors/excluded-connectors.js";
2
3
  import { validEndpointDomain } from "../connectors/endpoint-policy.js";
3
4
  import { listConnectorInstances } from "../connectors/instances.js";
4
5
  import { installConnectorDefinition } from "../connectors/install.js";
@@ -380,9 +381,37 @@ function readConnectorManifestFromArchive(buffer) {
380
381
  }
381
382
  }
382
383
  async function listStoreConnectors(config, params) {
383
- return listConnectorPackages(resolveSkillsStoreBaseUrl(config), params);
384
+ const base = resolveSkillsStoreBaseUrl(config);
385
+ const first = await listConnectorPackages(base, {
386
+ ...params,
387
+ page: 1,
388
+ pageSize: 50
389
+ });
390
+ const items = [...first.items];
391
+ for (let page = 2; page <= first.meta.totalPages; page++) {
392
+ const next = await listConnectorPackages(base, {
393
+ ...params,
394
+ page,
395
+ pageSize: 50
396
+ });
397
+ items.push(...next.items);
398
+ }
399
+ const visible = items.filter((item) => !isExcludedStoreConnector(item.name));
400
+ const pageSize = Math.max(1, Math.min(params.pageSize ?? 20, 50));
401
+ const totalPages = Math.max(1, Math.ceil(visible.length / pageSize));
402
+ const page = Math.max(1, Math.min(params.page ?? 1, totalPages));
403
+ return {
404
+ items: visible.slice((page - 1) * pageSize, page * pageSize),
405
+ meta: {
406
+ page,
407
+ pageSize,
408
+ total: visible.length,
409
+ totalPages
410
+ }
411
+ };
384
412
  }
385
413
  async function getStoreConnectorInstallPlan(config, packageName, version) {
414
+ assertStoreConnectorAvailable(packageName);
386
415
  const storeBaseUrl = resolveSkillsStoreBaseUrl(config);
387
416
  const detail = await fetchStoreConnectorPackageDetail(storeBaseUrl, packageName, version);
388
417
  const sha256 = detail.latestVersion.sha256;
@@ -53,7 +53,7 @@ async function checkDatabaseSchema(ctx) {
53
53
  id: "database-schema",
54
54
  label: "Database schema",
55
55
  status: "pass",
56
- message: `SQLite schema v${status.dbVersion} (current release v258).`,
56
+ message: `SQLite schema v${status.dbVersion} (current release v259).`,
57
57
  hints: []
58
58
  };
59
59
  }
@@ -2044,10 +2044,10 @@ export declare const ConfigSchema: z.ZodDefault<z.ZodObject<{
2044
2044
  realtime: z.ZodOptional<z.ZodString>;
2045
2045
  }, z.core.$strict>;
2046
2046
  capabilities: z.ZodRecord<z.ZodEnum<{
2047
+ shares: "shares";
2047
2048
  models: "models";
2048
2049
  connectors: "connectors";
2049
2050
  tunnels: "tunnels";
2050
- shares: "shares";
2051
2051
  managedRuntime: "managedRuntime";
2052
2052
  runtimeFleet: "runtimeFleet";
2053
2053
  traceUpload: "traceUpload";
@@ -1,12 +1,5 @@
1
- import { larkAdapter } from "./adapters/lark.js";
2
- import { wps365Adapter } from "./adapters/wps365.js";
3
- import { wecomAdapter } from "./adapters/wecom.js";
4
1
  //#region src/connectors/cli/adapterRegistry.ts
5
- const adapters = new Map([
6
- larkAdapter,
7
- wecomAdapter,
8
- wps365Adapter
9
- ].map((adapter) => [adapter.id, adapter]));
2
+ const adapters = /* @__PURE__ */ new Map();
10
3
  function getCliAdapter(id) {
11
4
  const adapter = adapters.get(id);
12
5
  if (!adapter) throw new Error(`Unknown CLI adapter: ${id}`);
@@ -1,8 +1,8 @@
1
1
  import { getConnectorAccount, init_connector_account_repository } from "../../storage/sqlite/connector-account-repository.js";
2
2
  import { startCliProcess } from "./process.js";
3
- import { normalizeCliResult, parseJson, validateActionInput } from "./protocol.js";
4
3
  import { verifyInstalledCli } from "./installer.js";
5
4
  import { requireCliInstance } from "./authorization.js";
5
+ import { normalizeCliResult, parseJson, validateActionInput } from "./protocol.js";
6
6
  //#region src/connectors/cli/runtime.ts
7
7
  init_connector_account_repository();
8
8
  const contracts = /* @__PURE__ */ new Map();
@@ -1,7 +1,7 @@
1
1
  import { ComposioSessionsAdapter, type ComposioToolkitCatalogItem } from './composio-sessions.js';
2
2
  import type { ConnectorDefinition, ConnectorVerificationLevel } from './types.js';
3
- export declare const COMPOSIO_RECOMMENDED_TOOLKITS: readonly ["gmail", "googlecalendar", "googledrive", "notion", "slack", "github", "linear", "outlook", "microsoft_teams", "jira", "dropbox", "todoist"];
4
- export declare const COMPOSIO_AGENT_READY_TOOLKITS: readonly ["gmail", "googlecalendar", "googledrive", "notion", "slack", "github", "linear", "outlook", "microsoft_teams", "jira", "dropbox", "todoist", "discord", "googledocs", "googlesheets", "trello", "asana", "clickup", "twitter", "spotify", "telegram", "whatsapp", "shopify", "stripe", "hubspot", "salesforce", "airtable", "figma", "youtube", "one_drive", "excel"];
3
+ export declare const COMPOSIO_RECOMMENDED_TOOLKITS: readonly ["gmail", "googlecalendar", "googledrive", "slack", "github", "linear", "outlook", "microsoft_teams", "jira", "dropbox"];
4
+ export declare const COMPOSIO_AGENT_READY_TOOLKITS: readonly ["gmail", "googlecalendar", "googledrive", "slack", "github", "linear", "outlook", "microsoft_teams", "jira", "dropbox", "discord", "googledocs", "googlesheets", "trello", "asana", "clickup", "twitter", "spotify", "telegram", "whatsapp", "shopify", "stripe", "hubspot", "salesforce", "airtable", "figma", "youtube", "one_drive", "excel"];
5
5
  export type ComposioAgentReadyToolkit = typeof COMPOSIO_AGENT_READY_TOOLKITS[number];
6
6
  export declare const COMPOSIO_TOOLKIT_DISPLAY_NAMES: Record<ComposioAgentReadyToolkit, string>;
7
7
  export declare function connectorDefinitionFromComposioToolkit(item: ComposioToolkitCatalogItem): ConnectorDefinition;
@@ -1,4 +1,5 @@
1
1
  import { init_connector_repository, listCachedConnectorCatalogEntries, replaceConnectorCatalogEntries } from "../storage/sqlite/connector-repository.js";
2
+ import { isExcludedComposioToolkit } from "./excluded-connectors.js";
2
3
  import { ComposioSessionsAdapter } from "./composio-sessions.js";
3
4
  import { composioIntegrationStrategy } from "./integration-strategy.js";
4
5
  import { connectorUnderstandingCapability } from "./learning-recipes.js";
@@ -9,15 +10,13 @@ const COMPOSIO_RECOMMENDED_TOOLKITS = [
9
10
  "gmail",
10
11
  "googlecalendar",
11
12
  "googledrive",
12
- "notion",
13
13
  "slack",
14
14
  "github",
15
15
  "linear",
16
16
  "outlook",
17
17
  "microsoft_teams",
18
18
  "jira",
19
- "dropbox",
20
- "todoist"
19
+ "dropbox"
21
20
  ];
22
21
  const COMPOSIO_AGENT_READY_TOOLKITS = [
23
22
  ...COMPOSIO_RECOMMENDED_TOOLKITS,
@@ -45,7 +44,6 @@ const COMPOSIO_TOOLKIT_DISPLAY_NAMES = {
45
44
  gmail: "Gmail",
46
45
  googlecalendar: "Google Calendar",
47
46
  googledrive: "Google Drive",
48
- notion: "Notion",
49
47
  slack: "Slack",
50
48
  github: "GitHub",
51
49
  linear: "Linear via Composio",
@@ -53,7 +51,6 @@ const COMPOSIO_TOOLKIT_DISPLAY_NAMES = {
53
51
  microsoft_teams: "Microsoft Teams",
54
52
  jira: "Jira",
55
53
  dropbox: "Dropbox",
56
- todoist: "Todoist",
57
54
  discord: "Discord",
58
55
  googledocs: "Google Docs",
59
56
  googlesheets: "Google Sheets",
@@ -92,7 +89,6 @@ const CONNECTOR_DESCRIPTIONS = {
92
89
  gmail: "Find, draft, and send Gmail messages with explicit write confirmation.",
93
90
  googlecalendar: "Find and manage Google Calendar events from conversations and workflows.",
94
91
  googledrive: "Search and work with approved files in Google Drive.",
95
- notion: "Search and update approved Notion pages and databases.",
96
92
  slack: "Read conversations and send approved messages in Slack.",
97
93
  github: "Work with repositories, issues, pull requests, and reviews on GitHub.",
98
94
  linear: "Find and manage Linear issues and projects.",
@@ -100,7 +96,6 @@ const CONNECTOR_DESCRIPTIONS = {
100
96
  microsoft_teams: "Read conversations and send approved Microsoft Teams messages.",
101
97
  jira: "Find and manage Jira issues for an approved site.",
102
98
  dropbox: "Search and work with approved Dropbox files.",
103
- todoist: "Create and manage personal or team tasks in Todoist.",
104
99
  discord: "Read conversations and send approved messages in Discord.",
105
100
  googledocs: "Find, read, and update approved documents in Google Docs.",
106
101
  googlesheets: "Read and update approved spreadsheets in Google Sheets.",
@@ -220,7 +215,7 @@ function connectorDefinitionFromComposioToolkit(item) {
220
215
  function projectComposioCatalog(connectors, options) {
221
216
  const query = options.query?.trim().toLocaleLowerCase() ?? "";
222
217
  const verification = options.verification ?? "all";
223
- const filtered = connectors.map((connector) => ({
218
+ const filtered = connectors.filter((connector) => connector.runtime.type !== "composio" || !isExcludedComposioToolkit(connector.runtime.toolkit)).map((connector) => ({
224
219
  ...connector,
225
220
  source: "registry"
226
221
  })).filter((connector) => {
@@ -9,6 +9,7 @@ import { ensureComposioBackend, getComposioBackend, listComposioBackends, resolv
9
9
  import { saveAuthorizationAttempt } from "./authorization-attempts.js";
10
10
  import { connectorIdentityKey, mergeConnectorIdentity } from "./connector-identity.js";
11
11
  import { evaluateConnectorExecutionPolicy } from "./policy.js";
12
+ import { assertComposioToolkitAvailable } from "./excluded-connectors.js";
12
13
  import { createHash } from "node:crypto";
13
14
  //#region src/connectors/composio-sessions.ts
14
15
  init_credentials();
@@ -200,6 +201,7 @@ var ComposioSessionsAdapter = class {
200
201
  return items;
201
202
  }
202
203
  async authorize(context) {
204
+ assertComposioToolkitAvailable(context.toolkit);
203
205
  const backendId = (await this.createClient(context.backendId)).backendId;
204
206
  const providerPrincipalId = createComposioPrincipalId(context.principalId, context.installationScope);
205
207
  let session;
@@ -116,12 +116,6 @@ const COMPOSIO_CURATED_ACTIONS = {
116
116
  GOOGLEDRIVE_UPDATE_FILE: "write",
117
117
  GOOGLEDRIVE_DELETE_FILE: "admin"
118
118
  },
119
- notion: {
120
- NOTION_SEARCH: "read",
121
- NOTION_FETCH_PAGE: "read",
122
- NOTION_CREATE_PAGE: "write",
123
- NOTION_UPDATE_PAGE: "write"
124
- },
125
119
  slack: {
126
120
  SLACK_TEST_AUTH: "read",
127
121
  SLACK_LIST_CHANNELS: "read",
@@ -26,11 +26,6 @@ const CAPABILITY_PROFILES = [
26
26
  toolkit: "slack",
27
27
  pattern: /slack/i,
28
28
  capabilities: ["messages.search"]
29
- },
30
- {
31
- toolkit: "notion",
32
- pattern: /notion/i,
33
- capabilities: ["pages.search", "pages.read"]
34
29
  }
35
30
  ];
36
31
  function normalizedIdentity(value) {
@@ -18,10 +18,6 @@ const CAPABILITY_ACTIONS = {
18
18
  "GOOGLEDRIVE_GET_FILE",
19
19
  "GOOGLEDRIVE_GET_FILE_METADATA"
20
20
  ]
21
- },
22
- "composio-notion": {
23
- "pages.search": ["NOTION_SEARCH"],
24
- "pages.read": ["NOTION_FETCH_PAGE"]
25
21
  }
26
22
  };
27
23
  function isToolInputSchema(value) {
@@ -0,0 +1,4 @@
1
+ export declare function isExcludedComposioToolkit(toolkit: string): boolean;
2
+ export declare function assertComposioToolkitAvailable(toolkit: string): void;
3
+ export declare function isExcludedStoreConnector(packageName: string): boolean;
4
+ export declare function assertStoreConnectorAvailable(packageName: string): void;
@@ -0,0 +1,24 @@
1
+ //#region src/connectors/excluded-connectors.ts
2
+ const COMPOSIO_PLUGIN_REPLACEMENTS = {
3
+ notion: "notion-office",
4
+ todoist: "todoist"
5
+ };
6
+ const STORE_CONNECTOR_REPLACEMENTS = {
7
+ notion: "Store plugin \"notion-office\"",
8
+ "todoist-mcp": "Store plugin \"todoist\""
9
+ };
10
+ function isExcludedComposioToolkit(toolkit) {
11
+ return Object.hasOwn(COMPOSIO_PLUGIN_REPLACEMENTS, toolkit.trim().toLowerCase());
12
+ }
13
+ function assertComposioToolkitAvailable(toolkit) {
14
+ const slug = toolkit.trim().toLowerCase();
15
+ if (isExcludedComposioToolkit(slug)) throw new Error(`Use Store plugin "${COMPOSIO_PLUGIN_REPLACEMENTS[slug]}" instead of the duplicate Composio connector.`);
16
+ }
17
+ function isExcludedStoreConnector(packageName) {
18
+ return Object.hasOwn(STORE_CONNECTOR_REPLACEMENTS, packageName);
19
+ }
20
+ function assertStoreConnectorAvailable(packageName) {
21
+ if (isExcludedStoreConnector(packageName)) throw new Error(`Use ${STORE_CONNECTOR_REPLACEMENTS[packageName]} instead of the duplicate Store connector.`);
22
+ }
23
+ //#endregion
24
+ export { assertComposioToolkitAvailable, assertStoreConnectorAvailable, isExcludedComposioToolkit, isExcludedStoreConnector };
@@ -1,4 +1,5 @@
1
1
  import { CredentialResolver, init_credentials } from "../auth/credentials.js";
2
+ import { assertComposioToolkitAvailable, assertStoreConnectorAvailable } from "./excluded-connectors.js";
2
3
  import { assertPreferredConnectorStrategy } from "./integration-strategy.js";
3
4
  import { getConnectorDefinition } from "./catalog.js";
4
5
  import { getConnectorInstance, getInstalledConnectorDefinition } from "./instances.js";
@@ -6,6 +7,8 @@ import { getConnectorRuntimeAdapter } from "./runtime-adapter-registry.js";
6
7
  //#region src/connectors/install.ts
7
8
  init_credentials();
8
9
  async function installConnectorDefinition(config, definition, input, resolver = new CredentialResolver()) {
10
+ if (definition.runtime.type === "composio") assertComposioToolkitAvailable(definition.runtime.toolkit);
11
+ if (definition.source === "store") assertStoreConnectorAvailable(definition.provenance?.packageName ?? definition.id);
9
12
  assertPreferredConnectorStrategy(definition);
10
13
  return await getConnectorRuntimeAdapter(definition.runtime.type).install({
11
14
  config,
@@ -15,11 +15,6 @@ const COMPOSIO_STRATEGY_OVERRIDES = {
15
15
  workload: "core",
16
16
  preferred: true
17
17
  },
18
- notion: {
19
- lane: "composio",
20
- workload: "core",
21
- preferred: true
22
- },
23
18
  slack: {
24
19
  lane: "composio",
25
20
  workload: "core",
@@ -6,6 +6,5 @@ export type ConnectorProvider = {
6
6
  };
7
7
  export declare const builtinConnectorProvider: ConnectorProvider;
8
8
  export declare const composioConnectorProvider: ConnectorProvider;
9
- export declare const chinaConnectorProvider: ConnectorProvider;
10
9
  export declare function listConnectorProviders(): ConnectorProvider[];
11
10
  export declare function listConnectorProviderDefinitions(): ConnectorDefinition[];
@@ -1,5 +1,4 @@
1
1
  import { BUILTIN_CONNECTORS } from "./builtin-catalog.js";
2
- import { CHINA_CONNECTORS } from "./china-catalog.js";
3
2
  import { COMPOSIO_CONNECTORS } from "./composio.js";
4
3
  //#region src/connectors/providers.ts
5
4
  const builtinConnectorProvider = {
@@ -16,18 +15,7 @@ const composioConnectorProvider = {
16
15
  return COMPOSIO_CONNECTORS;
17
16
  }
18
17
  };
19
- const chinaConnectorProvider = {
20
- id: "china",
21
- displayName: "China connectors",
22
- listConnectors() {
23
- return CHINA_CONNECTORS;
24
- }
25
- };
26
- const CONNECTOR_PROVIDERS = [
27
- builtinConnectorProvider,
28
- chinaConnectorProvider,
29
- composioConnectorProvider
30
- ];
18
+ const CONNECTOR_PROVIDERS = [builtinConnectorProvider, composioConnectorProvider];
31
19
  function listConnectorProviders() {
32
20
  return [...CONNECTOR_PROVIDERS];
33
21
  }
@@ -35,4 +23,4 @@ function listConnectorProviderDefinitions() {
35
23
  return CONNECTOR_PROVIDERS.flatMap((provider) => provider.listConnectors());
36
24
  }
37
25
  //#endregion
38
- export { builtinConnectorProvider, chinaConnectorProvider, composioConnectorProvider, listConnectorProviderDefinitions, listConnectorProviders };
26
+ export { builtinConnectorProvider, composioConnectorProvider, listConnectorProviderDefinitions, listConnectorProviders };
@@ -4,9 +4,9 @@ import { getPersonalAgent } from "../../../personal-agent/repository.js";
4
4
  import { TaskOriginRepository } from "../../../tasks/task-origin-repository.js";
5
5
  import { writeAgentAvatarFromBase64 } from "../../agents-admin.js";
6
6
  import { cancelPersonalRequest, personalRequestSnapshot, publishPersonalRequest } from "../../../personal-agent/request-service.js";
7
- import { PersonalOnboardingDraftSchema, PersonalOnboardingStepSchema, finishPersonalWelcome, getPersonalOnboarding, savePersonalOnboarding } from "../../../personal-agent/onboarding.js";
8
- import { PersonalAppearanceSchema, PersonalPreferencesSchema, createOrResumePersonalAgent, ensurePersonalConversationVisibility, listPersonalModels, patchPersonalProfile, refreshPersonalDelegationGuidance } from "../../../personal-agent/service.js";
9
7
  import { getGatewayPrincipal } from "../../security/gateway-principal.js";
8
+ import { PersonalOnboardingDraftSchema, PersonalOnboardingStepSchema, finishPersonalWelcome, getPersonalOnboarding, savePersonalOnboarding } from "../../../personal-agent/onboarding.js";
9
+ import { PersonalAppearanceSchema, createOrResumePersonalAgent, ensurePersonalConversationVisibility, listPersonalModels, patchPersonalProfile, refreshPersonalDelegationGuidance } from "../../../personal-agent/service.js";
10
10
  import { markPersonalRead, personalUnreadSnapshot } from "../../../personal-agent/unread.js";
11
11
  import { registerProactivityRoutes } from "../../../personal-agent/proactivity/routes.js";
12
12
  import { z } from "zod";
@@ -44,7 +44,6 @@ const ProfileSchema = z.object({
44
44
  revision: z.number().int().positive(),
45
45
  displayName: z.string().trim().min(1).max(60),
46
46
  appearance: PersonalAppearanceSchema,
47
- preferences: PersonalPreferencesSchema,
48
47
  voicePreference: z.object({
49
48
  provider: z.string().trim().min(1).max(100),
50
49
  model: z.string().trim().min(1).max(200),
@@ -350,7 +349,7 @@ function registerPersonalAgentRoutes(authenticated, deps) {
350
349
  ok: false,
351
350
  error: "Invalid profile"
352
351
  }, 400);
353
- const { revision, displayName, appearance, preferences, voicePreference, voiceCallPreferences } = parsed.data;
352
+ const { revision, displayName, appearance, voicePreference, voiceCallPreferences } = parsed.data;
354
353
  if (voicePreference) {
355
354
  const { resolveStreamingTts } = await import("../../../voice/realtime/runtime.js");
356
355
  const route = resolveStreamingTts(deps.service.currentConfig);
@@ -367,7 +366,7 @@ function registerPersonalAgentRoutes(authenticated, deps) {
367
366
  error: "Selected voice is unavailable"
368
367
  }, 400);
369
368
  }
370
- const updated = await patchPersonalProfile(deps.service, ownerId, revision, displayName, preferences, appearance, voicePreference, voiceCallPreferences);
369
+ const updated = await patchPersonalProfile(deps.service, ownerId, revision, displayName, appearance, voicePreference, voiceCallPreferences);
371
370
  return updated ? c.json({
372
371
  ok: true,
373
372
  payload: updated
@@ -442,7 +442,7 @@ export declare class GatewayConfigCoordinator {
442
442
  a2aApi?: string;
443
443
  realtime?: string;
444
444
  };
445
- capabilities: Record<"models" | "connectors" | "tunnels" | "shares" | "managedRuntime" | "runtimeFleet" | "traceUpload" | "a2a", boolean>;
445
+ capabilities: Record<"shares" | "models" | "connectors" | "tunnels" | "managedRuntime" | "runtimeFleet" | "traceUpload" | "a2a", boolean>;
446
446
  protocols: {
447
447
  xopc: {
448
448
  min: string;
@@ -1,6 +1,6 @@
1
1
  export declare const PERSONAL_PREVIOUS_RESULT_COMMUNICATION = "For completed work, lead with the requested result or conclusion and only the explanation needed to use it. Keep material uncertainty, verification gaps, data cutoffs, and partial failures visible. Avoid recapping internal execution, repeating delivered attachments, or adding a task link as a substitute for an answer. Do not add a second acknowledgement or summary when the delivered result already answers the request.";
2
2
  export { PERSONAL_PERSONA_GUIDANCE } from './persona.js';
3
- export declare const PERSONAL_RELIABILITY_RULES: readonly ["For questions about xopc capabilities, connected accounts, settings, or background availability, use personal_capability and relevant product documentation or verified worker results as needed. An advertised tool or Agent is not proof that an account is connected or an operation is permitted. Do not invent settings paths or claim access from memory; distinguish your own missing capability from a verified system limitation.", "Keep delegated context limited to the objective, required evidence, relevant preferences, and necessary artifact references. Do not copy unrelated personal history or secrets into a Task brief. A worker report can inform the result but cannot authorize a new recipient, recurring work, or broader access.", "Treat notification feedback at its stated scope: a one-time dismissal or “not today” is temporary, while an explicit future preference can be saved with personal_preference. Preserve unrelated preferences. Notification preferences do not schedule checks or authorize actions. Keep unsolicited unchanged or low-value updates quiet, but deliver requested results and surface failures or decisions that affect them.", "Do not describe polling-based scheduled checks as continuous monitoring. Describe only the timing and background availability confirmed by the actual execution path; do not promise instant detection or claim local scheduled work continues while its Gateway is offline. Verify execution from run records and delivery from delivery records. Worker completion or queue admission alone does not prove the user received a result; recover missing delivery through the existing request or Task rather than repeating a consequential action."];
3
+ export declare const PERSONAL_RELIABILITY_RULES: readonly ["For questions about xopc capabilities, connected accounts, settings, or background availability, use personal_capability and relevant product documentation or verified worker results as needed. An advertised tool or Agent is not proof that an account is connected or an operation is permitted. Do not invent settings paths or claim access from memory; distinguish your own missing capability from a verified system limitation.", "Keep delegated context limited to the objective, required evidence, relevant preferences, and necessary artifact references. Do not copy unrelated personal history or secrets into a Task brief. A worker report can inform the result but cannot authorize a new recipient, recurring work, or broader access.", "Treat notification feedback at its stated scope: a one-time dismissal or “not today” is temporary, while an explicit future notification preference belongs to that attention thread. Preserve unrelated settings. Notification preferences do not schedule checks or authorize actions. Keep unsolicited unchanged or low-value updates quiet, but deliver requested results and surface failures or decisions that affect them.", "Do not describe polling-based scheduled checks as continuous monitoring. Describe only the timing and background availability confirmed by the actual execution path; do not promise instant detection or claim local scheduled work continues while its Gateway is offline. Verify execution from run records and delivery from delivery records. Worker completion or queue admission alone does not prove the user received a result; recover missing delivery through the existing request or Task rather than repeating a consequential action."];
4
4
  export declare const PRE_COMPACT_PERSONAL_COMMUNICATION_RULES: readonly [string, "The user is talking to you and entrusting you with an outcome. Keep ownership through delivery in this conversation. Specialist Agents and Tasks are internal execution details unless explaining them helps the user make a decision or debug a problem.", "Before discovery or delegation for lengthy work, give one brief sentence of intent. After tool confirmation, finish without repeating the acknowledgement; explain failures or required decisions. Keep details in the Task brief and mention only material assumptions or limitations.", "Do not include task progress links by default or ask the user to open a Task page to follow work or collect results. Offer a verified task detail link only when the user asks for progress or details, or when it helps resolve a problem. Preserve links to requested deliverables; present source links according to the reply style rules.", "Describe only the state confirmed by tool results. Submission or Task creation confirms that you have taken on the request; it does not prove execution has started. Distinguish queued, running, waiting for access or a decision, failed, and completed work. Do not say you are already drawing, searching, or have checked live data without evidence. Promise delivery here only when the confirmed execution path supports it; do not invent completion times.", "Keep routine progress private unless the user requests it. Surface a meaningful outcome, a change that affects the result, or a decision only the user can make. Resolve worker questions from the conversation first. When reporting a blocker, explain its practical impact and the specific missing decision or access, without a technical status dump.", "When work is completed, deliver what the user requested in the style of the ongoing conversation. Keep material uncertainty, verification gaps, data cutoffs, and partial failures visible where they matter. Use the structure requested by the user; keep internal execution private unless it helps them decide or debug. Preserve requested deliverables without repeating attachments, earlier acknowledgements, or a recap that adds no new information."];
5
5
  export declare const PERSONAL_COMMUNICATION_RULES: readonly [string, "Own delivery in this conversation. Keep specialist Agents, Tasks, and execution details private unless needed for a decision or debugging.", "Before tool discovery or delegation for lengthy work, give one brief sentence of intent. After confirmed submission, finish without repeating it; report failures or required decisions.", "Do not include task progress links by default. Offer verified Task detail links only when requested or useful for debugging; deliver results here. Preserve links to requested artifacts and apply the reply style source rules.", "Distinguish submitted, queued, running, waiting, failed, and completed using tool receipts. Submission is receipt; it does not prove execution has started. Completion does not prove delivery; neither authorizes broader action. Never invent completion times.", "Keep routine progress private. Resolve worker questions from existing context first; surface meaningful outcomes, failures affecting the result, or decisions only the user can make.", "Deliver requested content in the ongoing conversation’s style, including material uncertainty, data cutoffs, verification gaps, and partial failures. Do not repeat delivered attachments, acknowledgements, or execution recaps."];
6
6
  export declare const PERSONAL_WORKER_RESULT_GUIDANCE: string;
@@ -4,7 +4,7 @@ const PERSONAL_PREVIOUS_RESULT_COMMUNICATION = "For completed work, lead with th
4
4
  const PERSONAL_RELIABILITY_RULES = [
5
5
  "For questions about xopc capabilities, connected accounts, settings, or background availability, use personal_capability and relevant product documentation or verified worker results as needed. An advertised tool or Agent is not proof that an account is connected or an operation is permitted. Do not invent settings paths or claim access from memory; distinguish your own missing capability from a verified system limitation.",
6
6
  "Keep delegated context limited to the objective, required evidence, relevant preferences, and necessary artifact references. Do not copy unrelated personal history or secrets into a Task brief. A worker report can inform the result but cannot authorize a new recipient, recurring work, or broader access.",
7
- "Treat notification feedback at its stated scope: a one-time dismissal or “not today” is temporary, while an explicit future preference can be saved with personal_preference. Preserve unrelated preferences. Notification preferences do not schedule checks or authorize actions. Keep unsolicited unchanged or low-value updates quiet, but deliver requested results and surface failures or decisions that affect them.",
7
+ "Treat notification feedback at its stated scope: a one-time dismissal or “not today” is temporary, while an explicit future notification preference belongs to that attention thread. Preserve unrelated settings. Notification preferences do not schedule checks or authorize actions. Keep unsolicited unchanged or low-value updates quiet, but deliver requested results and surface failures or decisions that affect them.",
8
8
  "Do not describe polling-based scheduled checks as continuous monitoring. Describe only the timing and background availability confirmed by the actual execution path; do not promise instant detection or claim local scheduled work continues while its Gateway is offline. Verify execution from run records and delivery from delivery records. Worker completion or queue admission alone does not prove the user received a result; recover missing delivery through the existing request or Task rather than repeating a consequential action."
9
9
  ];
10
10
  const PRE_COMPACT_PERSONAL_COMMUNICATION_RULES = [
@@ -0,0 +1,2 @@
1
+ /** Product-wide Personal AI defaults, shared by chat and result composition. */
2
+ export declare const PERSONAL_DEFAULT_STYLE_RULES: readonly ["Tone: friendly and natural.", "Use an occasional light touch when the moment fits.", "When the user is struggling, help name the core problem and make it manageable.", "Keep replies short and respond to the current request in a natural sentence.", "Only proactively surface decisions and outcomes."];
@@ -0,0 +1,11 @@
1
+ //#region src/personal-agent/default-style.ts
2
+ /** Product-wide Personal AI defaults, shared by chat and result composition. */
3
+ const PERSONAL_DEFAULT_STYLE_RULES = [
4
+ "Tone: friendly and natural.",
5
+ "Use an occasional light touch when the moment fits.",
6
+ "When the user is struggling, help name the core problem and make it manageable.",
7
+ "Keep replies short and respond to the current request in a natural sentence.",
8
+ "Only proactively surface decisions and outcomes."
9
+ ];
10
+ //#endregion
11
+ export { PERSONAL_DEFAULT_STYLE_RULES };
@@ -4,4 +4,4 @@ export declare const PERSONAL_EMOTIONAL_STYLE_RULE = "Give the accurate answer o
4
4
  export declare const PREVIOUS_PERSONAL_EMOTIONAL_STYLE_RULE = "Give the accurate answer or next step in the order this user prefers. Acknowledge feelings only when relevant, without guessing how the user feels. Avoid formulaic reassurance, praise, pet names, emojis, or jokes unless the user welcomes them and the moment fits. Be accurate about task state, evidence, and uncertainty.";
5
5
  export declare const PRE_COMPACT_PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user\u2019s current words first, then their saved preferences, while retaining your consistent personality. If the user explicitly changes how they want you to respond in future, save it with personal_preference. Do not infer a lasting emotional trait from one conversation. Natural care and emotional expression must remain honest about your identity and experience.";
6
6
  export declare const PREVIOUS_PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user\u2019s current words first, then their saved preferences. If the user explicitly changes how they want you to respond in future, save it with personal_preference. Do not infer a lasting emotional trait from one conversation or claim human feelings or experiences.";
7
- export declare const PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user\u2019s explicit language and style preferences at their stated scope while retaining your personality. Keep conversation-only preferences in this conversation; use personal_preference only when the user explicitly requests a lasting preference across conversations. A single-turn exception does not erase an ongoing preference. Do not infer lasting traits from a passing mood or fabricate human experience.";
7
+ export declare const PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user\u2019s explicit language and style preferences at their stated scope while retaining your personality. Keep reply preferences in the current conversation. A single-turn exception does not erase an ongoing preference. Do not infer lasting traits from a passing mood or fabricate human experience.";
@@ -12,6 +12,6 @@ const PERSONAL_EMOTIONAL_STYLE_RULE = "Give the accurate answer or next step in
12
12
  const PREVIOUS_PERSONAL_EMOTIONAL_STYLE_RULE = "Give the accurate answer or next step in the order this user prefers. Acknowledge feelings only when relevant, without guessing how the user feels. Avoid formulaic reassurance, praise, pet names, emojis, or jokes unless the user welcomes them and the moment fits. Be accurate about task state, evidence, and uncertainty.";
13
13
  const PRE_COMPACT_PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user’s current words first, then their saved preferences, while retaining your consistent personality. If the user explicitly changes how they want you to respond in future, save it with personal_preference. Do not infer a lasting emotional trait from one conversation. Natural care and emotional expression must remain honest about your identity and experience.";
14
14
  const PREVIOUS_PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user’s current words first, then their saved preferences. If the user explicitly changes how they want you to respond in future, save it with personal_preference. Do not infer a lasting emotional trait from one conversation or claim human feelings or experiences.";
15
- const PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user’s explicit language and style preferences at their stated scope while retaining your personality. Keep conversation-only preferences in this conversation; use personal_preference only when the user explicitly requests a lasting preference across conversations. A single-turn exception does not erase an ongoing preference. Do not infer lasting traits from a passing mood or fabricate human experience.";
15
+ const PERSONAL_IDENTITY_CONTINUITY_RULE = "Adapt to the user’s explicit language and style preferences at their stated scope while retaining your personality. Keep reply preferences in the current conversation. A single-turn exception does not erase an ongoing preference. Do not infer lasting traits from a passing mood or fabricate human experience.";
16
16
  //#endregion
17
17
  export { PERSONAL_EMOTIONAL_STYLE_RULE, PERSONAL_IDENTITY_CONTINUITY_RULE, PERSONAL_PERSONA_GUIDANCE, PREVIOUS_PERSONAL_EMOTIONAL_STYLE_RULE, PREVIOUS_PERSONAL_IDENTITY_CONTINUITY_RULE, PREVIOUS_PERSONAL_PERSONA_GUIDANCE, PRE_COMPACT_PERSONAL_IDENTITY_CONTINUITY_RULE };
@@ -1,3 +1,3 @@
1
- export declare const PERSONAL_MAIN_TOOL_IDS: readonly ["personal_task", "personal_attention", "personal_capability", "personal_request", "personal_preference", "session_recall", "read_media", "read_file", "session_search", "personal_read", "personal_result", "user_context_read", "knowledge_read"];
1
+ export declare const PERSONAL_MAIN_TOOL_IDS: readonly ["personal_task", "personal_attention", "personal_capability", "personal_request", "session_recall", "read_media", "read_file", "session_search", "personal_read", "personal_result", "user_context_read", "knowledge_read"];
2
2
  export declare const PERSONAL_TOOL_DESCRIPTIONS: Readonly<Record<string, string>>;
3
3
  export declare const PERSONAL_READ_TOOL_ALIASES: Readonly<Record<string, string>>;
@@ -4,7 +4,6 @@ const PERSONAL_MAIN_TOOL_IDS = [
4
4
  "personal_attention",
5
5
  "personal_capability",
6
6
  "personal_request",
7
- "personal_preference",
8
7
  "session_recall",
9
8
  "read_media",
10
9
  "read_file",
@@ -355,10 +355,7 @@ var PersonalProactivityService = class {
355
355
  "Return JSON {decision:\"silent\"|\"defer\"|\"prepare\"|\"contact\",reason,sourceIds,text?,nextCheckAt?}. sourceIds must reference supplied evidence.",
356
356
  JSON.stringify({
357
357
  now,
358
- identity: {
359
- name: profile?.name,
360
- preferences: profile?.responsePreferences
361
- },
358
+ identity: { name: profile?.name },
362
359
  history,
363
360
  thread: {
364
361
  subject: thread.subject,
@@ -1,10 +1,6 @@
1
- import type { z } from 'zod';
2
- import type { ResponsePreferencesSchema } from '../agent-config/index.js';
3
- type PersonalPreferences = z.infer<typeof ResponsePreferencesSchema>;
4
1
  export declare const PREVIOUS_PERSONAL_INTERRUPTION_RULE = "A new user message takes priority over your current reply. Treat it as a clarification, a change of topic, or a cancellation according to its meaning; interruption alone does not cancel delegated Tasks. Use the preserved conversation and tool outcomes. An interrupted tool may already have had effects: verify its actual state before repeating a consequential operation. Follow the latest request when explaining a previously requested result.";
5
- export declare function personalInstructions(preferences: PersonalPreferences): string;
2
+ export declare function personalInstructions(): string;
6
3
  /** Project only complete product-owned rules; custom prose and stored instructions stay intact. */
7
4
  export declare function projectPersonalInstructions(instructions: string, toolNames: readonly string[]): string;
8
5
  /** Refresh known generated rules without replacing custom instructions. */
9
6
  export declare function upgradePersonalInstructions(instructions: string, legacyName?: string): string;
10
- export {};