@nervekit/desktop 0.42.0 → 0.43.0

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 (236) hide show
  1. package/THIRD-PARTY-LICENSES.txt +210 -16
  2. package/dist/builtin/configure-nerve/SKILL.md +19 -10
  3. package/dist/builtin/configure-nerve/reference/agent-preferences.md +9 -0
  4. package/dist/builtin/configure-nerve/reference/agent-profiles.md +2 -6
  5. package/dist/builtin/configure-nerve/reference/agents-md.md +1 -1
  6. package/dist/builtin/configure-nerve/reference/extensions/api/extension-api/artifacts.d.ts +10 -0
  7. package/dist/builtin/configure-nerve/reference/extensions/api/extension-api/text.d.ts +4 -0
  8. package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/collections/match-terms.d.ts +8 -0
  9. package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/callout/callout.svelte.d.ts +1 -1
  10. package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/display/status.d.ts +3 -0
  11. package/dist/builtin/configure-nerve/{guide/extensions.md → reference/extensions/build.md} +4 -4
  12. package/dist/builtin/configure-nerve/reference/extensions/manifest.md +1 -1
  13. package/dist/builtin/configure-nerve/reference/extensions/overview.md +2 -2
  14. package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/lib.mjs +2 -2
  15. package/dist/builtin/configure-nerve/reference/extensions/scripts/nerve-version.json +1 -0
  16. package/dist/builtin/configure-nerve/reference/extensions/sharing.md +2 -2
  17. package/dist/builtin/configure-nerve/reference/extensions/themes.md +1 -1
  18. package/dist/builtin/configure-nerve/reference/permissions.md +2 -2
  19. package/dist/builtin/configure-nerve/reference/prompt-suggestions.md +2 -2
  20. package/dist/builtin/configure-nerve/reference/skills.md +9 -9
  21. package/dist/{chunk-QFK2SWD2.js → chunk-34SYO66C.js} +11 -11
  22. package/dist/{chunk-6ZS7TA6E.js → chunk-35O66NLU.js} +2 -2
  23. package/dist/{chunk-7FSH3ABG.js → chunk-57A5HFXL.js} +4 -4
  24. package/dist/{chunk-EF7ZZKA3.js → chunk-5K7U6UXA.js} +3 -3
  25. package/dist/{chunk-WIQEPAUG.js → chunk-5S5O3V5G.js} +11 -10
  26. package/dist/{chunk-MTHLTFG4.js → chunk-5VLAJMQQ.js} +97 -105
  27. package/dist/{chunk-MI6L5CEA.js → chunk-5WMHGTVL.js} +2 -2
  28. package/dist/{chunk-NVVW3MWJ.js → chunk-6IJORN3N.js} +9 -9
  29. package/dist/{chunk-OMCM3MHS.js → chunk-7GSR2AW5.js} +10 -9
  30. package/dist/{chunk-WG62RHZ2.js → chunk-7MJT6LHU.js} +14 -4
  31. package/dist/{chunk-DDBE2VLT.js → chunk-A3OFIREH.js} +2 -2
  32. package/dist/{chunk-ZGWXLG5X.js → chunk-BNBEFI2M.js} +66 -76
  33. package/dist/{chunk-7RPHIJT3.js → chunk-C7L4BBGD.js} +4 -4
  34. package/dist/{chunk-2ICPO4UM.js → chunk-CZXRZEV4.js} +16 -14
  35. package/dist/{chunk-H5CAHDII.js → chunk-EBDLSTDH.js} +51414 -50054
  36. package/dist/{chunk-PVPJAGWR.js → chunk-EOZLBW5E.js} +2 -2
  37. package/dist/{chunk-U5KGV63C.js → chunk-EZJH7ED5.js} +1 -1
  38. package/dist/{chunk-RL52LSTV.js → chunk-F3X2KHP4.js} +1 -1
  39. package/dist/{chunk-Q3C7TQ2M.js → chunk-FNWUCFVO.js} +3 -3
  40. package/dist/chunk-FQVIQOV5.js +163 -0
  41. package/dist/{chunk-LP4APBBQ.js → chunk-FZ7U3GZI.js} +1 -1
  42. package/dist/{chunk-MBMZEIOG.js → chunk-G5SVCJCT.js} +38 -51
  43. package/dist/{chunk-62DQXVPO.js → chunk-HDTS5AS5.js} +26 -7
  44. package/dist/{chunk-376GN4PB.js → chunk-HKBJTS2Z.js} +173 -79
  45. package/dist/{chunk-WC5HHPPM.js → chunk-HRJJKZGM.js} +1 -1
  46. package/dist/chunk-I7OMW4RJ.js +87 -0
  47. package/dist/{chunk-TQURLRHD.js → chunk-IL67WXRA.js} +1 -1
  48. package/dist/{chunk-QDEH776O.js → chunk-KBBBQCYV.js} +179 -20
  49. package/dist/{chunk-KUFIFCB4.js → chunk-KDGUQYYY.js} +1 -1
  50. package/dist/{chunk-IRRR3PWN.js → chunk-KQD4DYEP.js} +68 -35
  51. package/dist/{chunk-JBEWFFOK.js → chunk-LIIGX2XX.js} +1 -1
  52. package/dist/{chunk-IVBMHEPK.js → chunk-LX33FMTS.js} +23 -36
  53. package/dist/{chunk-HPINJGBO.js → chunk-METH7J6V.js} +13 -12
  54. package/dist/{chunk-N6BUYKF3.js → chunk-MLE6MKPY.js} +7 -7
  55. package/dist/{chunk-3CZXUKLG.js → chunk-MRDORR5Z.js} +8 -1
  56. package/dist/{chunk-6IHXVT5H.js → chunk-NSISYP6D.js} +1 -1
  57. package/dist/{chunk-P72Y5ZBH.js → chunk-O2IYZBX6.js} +15 -26
  58. package/dist/{chunk-TSAUBRRU.js → chunk-P7GPT4XL.js} +1 -1
  59. package/dist/{chunk-F5XCJ6UV.js → chunk-PA37GH3T.js} +33 -58
  60. package/dist/{chunk-BACYVEE6.js → chunk-QC6DSC4D.js} +2 -2
  61. package/dist/{chunk-ZVH6EB7S.js → chunk-QKRWXA5W.js} +1 -1
  62. package/dist/{chunk-D6C32XHS.js → chunk-QQPLW3ZX.js} +17359 -12634
  63. package/dist/chunk-QQPLW3ZX.js.LEGAL.txt +59 -0
  64. package/dist/{chunk-N4OXAS3A.js → chunk-R22FWLXU.js} +1 -1
  65. package/dist/{chunk-7HGFEQSD.js → chunk-R7UJIPJA.js} +5 -5
  66. package/dist/{chunk-NW3DH7IK.js → chunk-RAHBWFWV.js} +8457 -2726
  67. package/dist/{chunk-O5JHHRFN.js → chunk-RMV6IZ2C.js} +32 -116
  68. package/dist/{chunk-Z6AY5VOZ.js → chunk-RQIN5JYO.js} +9 -6
  69. package/dist/{chunk-Q5E4ZL2R.js → chunk-S2UG5HD6.js} +1 -1
  70. package/dist/{chunk-U3TEC52G.js → chunk-S637DPAG.js} +1 -1
  71. package/dist/chunk-S6KM4DOB.js +37 -0
  72. package/dist/{chunk-MPDKZVHT.js → chunk-SVX46YXY.js} +1 -3
  73. package/dist/{chunk-XTUSLUQ7.js → chunk-TLDULBKV.js} +70 -24
  74. package/dist/{chunk-L5WGVYXM.js → chunk-UFE7IMKQ.js} +2 -2
  75. package/dist/{chunk-ZUWBEV2O.js → chunk-UQHUYEFW.js} +1 -1
  76. package/dist/{chunk-XM27UVWN.js → chunk-V7WOX4O7.js} +3 -3
  77. package/dist/{chunk-W7LEYYFH.js → chunk-WJAHXDL4.js} +41 -32
  78. package/dist/{chunk-6GUJQURI.js → chunk-WLTE6OJM.js} +2 -2
  79. package/dist/{chunk-BG2KGLIA.js → chunk-WMZAJ7XA.js} +2 -2
  80. package/dist/chunk-WOLKTL4F.js +32 -0
  81. package/dist/{chunk-DHIDYKXJ.js → chunk-XIVWNWL7.js} +1778 -1701
  82. package/dist/{chunk-EUT45AKW.js → chunk-YODV42KQ.js} +25 -32
  83. package/dist/{chunk-FCAIYPDJ.js → chunk-ZFFWWZIA.js} +2 -2
  84. package/dist/{chunk-O6FDXE54.js → chunk-ZVUAJ7UV.js} +25 -36
  85. package/dist/daemon.js +15 -15
  86. package/dist/ext-frame/base.css +1 -1
  87. package/dist/extension-assets/atlassian/docs/confluence-writing.md +5 -5
  88. package/dist/extension-assets/diagram/bundle.js +3 -0
  89. package/dist/git-isolated-reader-helper.js +1 -1
  90. package/dist/main.js +57 -128
  91. package/dist/quick-script-docs/runtime/artifacts.md +11 -0
  92. package/dist/quick-script-docs/runtime/documents.md +21 -12
  93. package/dist/quick-script-docs/runtime/editing.md +44 -0
  94. package/dist/quick-script-docs/runtime/images.md +1 -1
  95. package/dist/sandbox-libraries/credential-runtime.js +3 -0
  96. package/dist/sandbox-libraries/extension-runtime.js +3 -0
  97. package/dist/web/assets/{AsyncBashCenterHost-DldW4utc.js → AsyncBashCenterHost-Dcx6zVCo.js} +1 -1
  98. package/dist/web/assets/{ConversationListItem-CCaGnyA1.js → ConversationListItem-DALhochc.js} +3 -3
  99. package/dist/web/assets/{ConversationsWorkbenchPanel-DLM3saY5.js → ConversationsWorkbenchPanel-ChtoTW2H.js} +1 -1
  100. package/dist/web/assets/{DiscoverCenterHost-DVNL8uZQ.js → DiscoverCenterHost-Bju7ypB-.js} +1 -1
  101. package/dist/web/assets/{ExtensionPageCenterHost-CHKg6c3M.js → ExtensionPageCenterHost-BO-5q4j_.js} +1 -1
  102. package/dist/web/assets/FileCenterComposedHost-BxLlLMBI.js +1 -0
  103. package/dist/web/assets/{FilesWorkbenchPanel-BxjUf50f.js → FilesWorkbenchPanel-jyqwIQAe.js} +4 -4
  104. package/dist/web/assets/{GitDiffCenterHost-DmtKqHer.js → GitDiffCenterHost-D8i3Jq9A.js} +1 -1
  105. package/dist/web/assets/{GitWorkbenchPanel-BmyMyvL8.js → GitWorkbenchPanel-CtZPJKqJ.js} +1 -1
  106. package/dist/web/assets/{LaunchCenterHost-1xrIDf73.js → LaunchCenterHost-CSy1io6s.js} +1 -1
  107. package/dist/web/assets/{LaunchConfigurationNotice-BfRdIOv0.js → LaunchConfigurationNotice-DugBa05c.js} +1 -1
  108. package/dist/web/assets/{LaunchesWorkbenchPanel-BhCyWFHf.js → LaunchesWorkbenchPanel-CNqGG_AP.js} +1 -1
  109. package/dist/web/assets/{LogStream-CibF_jgC.js → LogStream-DfJ4LiCv.js} +1 -1
  110. package/dist/web/assets/{LogsCenterHost-CdqD6zH8.js → LogsCenterHost-xynA0TWK.js} +1 -1
  111. package/dist/web/assets/{MermaidCenterHost-BjwJLU-2.js → MermaidCenterHost-kAV1ocvE.js} +1 -1
  112. package/dist/web/assets/MobileFilesBody-CiwIT8Vf.js +1 -0
  113. package/dist/web/assets/MobileFilesHost-DvQOpQFH.js +1 -0
  114. package/dist/web/assets/MobileLaunchOutputHost-pFJgIV1_.js +1 -0
  115. package/dist/web/assets/MobileLaunchesHost-0VtdW0x8.js +2 -0
  116. package/dist/web/assets/{MobileNoteEditorHost-lfAeMVH9.js → MobileNoteEditorHost-DSuZ0mU5.js} +1 -1
  117. package/dist/web/assets/{MobileNotesHost-DOi0goPc.js → MobileNotesHost-Lg699XCv.js} +2 -2
  118. package/dist/web/assets/MobileSettingsHost-Bv1P74ck.js +2 -0
  119. package/dist/web/assets/{MobileSettingsPageHost-CtpUzfVG.js → MobileSettingsPageHost-DudFqhZC.js} +1 -1
  120. package/dist/web/assets/{NotesWorkbenchPanel-CsbMYHAw.js → NotesWorkbenchPanel-C8sctQWR.js} +1 -1
  121. package/dist/web/assets/{PullRequestCenterHost-B22Ua7bA.js → PullRequestCenterHost-BWJ-exw1.js} +1 -1
  122. package/dist/web/assets/{PullRequestsWorkbenchPanel-DOIHvZ6H.js → PullRequestsWorkbenchPanel-8Fb0-hW3.js} +1 -1
  123. package/dist/web/assets/SearchWorkbenchPanel-B35YmwtL.js +1 -0
  124. package/dist/web/assets/SettingsCenterHost-BuiirrId.js +1 -0
  125. package/dist/web/assets/SystemPromptCenterHost-BqKV92Ew.js +2 -0
  126. package/dist/web/assets/{ThemePreviewPicker-B_DTUsui.js → ThemePreviewPicker-C6J0H91i.js} +1 -1
  127. package/dist/web/assets/adapters-C5HB2cBr.js +1 -0
  128. package/dist/web/assets/agent-profiles.svelte-DjdXLJnE.js +1 -0
  129. package/dist/web/assets/appearance.svelte-fB4gKc-X.js +1 -0
  130. package/dist/web/assets/center-tabs.svelte-8YpJhA1o.js +2 -0
  131. package/dist/web/assets/{channel-CxF1CmEY.js → channel-3Wv484LF.js} +2 -2
  132. package/dist/web/assets/{client-CVZRorEj.js → client-CjIsgPXA.js} +1 -1
  133. package/dist/web/assets/code-BDTZAlQg.js +7 -0
  134. package/dist/web/assets/conversation-activity-CZJfUGoL.js +1 -0
  135. package/dist/web/assets/conversation-connection-Dm9Zr6Yb.js +1 -0
  136. package/dist/web/assets/discover-Cwv6pB0p.js +4 -0
  137. package/dist/web/assets/{dist-DZN4bTV3.js → dist-BB4fpXjy.js} +1 -1
  138. package/dist/web/assets/{dist-DkQMSgZ5.js → dist-BBlCv_-z.js} +1 -1
  139. package/dist/web/assets/{dist-HTsJAisd.js → dist-BENZZeCy.js} +1 -1
  140. package/dist/web/assets/{dist-BWsookwC.js → dist-BqcaQXZ-.js} +1 -1
  141. package/dist/web/assets/{dist-CDM0qUmO.js → dist-CIK1TmOX.js} +1 -1
  142. package/dist/web/assets/{dist-EmwCDpCc.js → dist-DUPZ8ZaX.js} +1 -1
  143. package/dist/web/assets/{dist-BVmTdBxj.js → dist-DoKRJEPu.js} +1 -1
  144. package/dist/web/assets/{easing-DfoPn4-z.js → easing-B6dSt4eu.js} +1 -1
  145. package/dist/web/assets/empty-CtUlV5QU.js +1 -0
  146. package/dist/web/assets/eraser-B8qFMviR.js +1 -0
  147. package/dist/web/assets/{extension-themes.svelte-BAce41Wm.js → extension-themes.svelte-D2TAUtUA.js} +2 -2
  148. package/dist/web/assets/{file-tabs.svelte-CaZRhyw0.js → file-tabs.svelte-DxL_vZZv.js} +2 -2
  149. package/dist/web/assets/{files-dFQS0tcX.css → files-N9JiAfxr.css} +1 -1
  150. package/dist/web/assets/files-vq7_WbHL.js +156 -0
  151. package/dist/web/assets/filesystem-DiVFVMn3.js +1 -0
  152. package/dist/web/assets/floating-toolbar-Cqtfs8M7.js +1 -0
  153. package/dist/web/assets/{git-store.svelte-DkeLA_WZ.js → git-store.svelte-D9S4P9gI.js} +1 -1
  154. package/dist/web/assets/{icon-action-efe9ZEWq.js → icon-action-C9h3TdBz.js} +1 -1
  155. package/dist/web/assets/index-B8XniJoh.js +165 -0
  156. package/dist/web/assets/index-DC_ohlBG.css +1 -0
  157. package/dist/web/assets/{launches-ZxeZFPI8.js → launches-CmB4KShL.js} +5 -5
  158. package/dist/web/assets/launches.api-C4z0obJK.js +1 -0
  159. package/dist/web/assets/{launches.svelte-QFDoCgug.js → launches.svelte-D2bNAphM.js} +2 -2
  160. package/dist/web/assets/{logs.api-gZ2mVC9q.js → logs.api-BtGxtYFi.js} +1 -1
  161. package/dist/web/assets/{maintenance-state.svelte-xMmmI9yr.js → maintenance-state.svelte-BusQWeCR.js} +2 -2
  162. package/dist/web/assets/menu-icons-DLuZ586C.js +1 -0
  163. package/dist/web/assets/{mermaid-ACpEwsfj.js → mermaid-DL5xfcqL.js} +1 -1
  164. package/dist/web/assets/mobile-launch-rows-DR6V5AUH.js +1 -0
  165. package/dist/web/assets/page-tabs.svelte-Cc5F8hMx.js +4 -0
  166. package/dist/web/assets/panel-BW0llJiU.js +1 -0
  167. package/dist/web/assets/popover-panel-SA7quIc1.js +4 -0
  168. package/dist/web/assets/{pr-view-loader.svelte-CZfxwzwL.js → pr-view-loader.svelte-eOmDNaGf.js} +1 -1
  169. package/dist/web/assets/progress-BZbo8ynI.js +1 -0
  170. package/dist/web/assets/{scratch-notes-state.svelte-rBeSOn4h.js → scratch-notes-state.svelte-B4NySamQ.js} +1 -1
  171. package/dist/web/assets/{scratch-notes.api-Co80EGtL.js → scratch-notes.api-BMBs2yoU.js} +1 -1
  172. package/dist/web/assets/settings-Cu_0wNkX.js +1 -0
  173. package/dist/web/assets/settings-DTw27q0i.js +1 -0
  174. package/dist/web/assets/settings-scope-Bz4U5ImL.js +35 -0
  175. package/dist/web/assets/shell-BiZy0tcZ.js +1 -0
  176. package/dist/web/assets/{shell-layout.svelte-D5u4i1UJ.js → shell-layout.svelte-Dyx_fbRn.js} +2 -2
  177. package/dist/web/assets/{lock-open-BBTCOUg5.js → tag-Bp1l7psd.js} +1 -1
  178. package/dist/web/assets/time-egBWJGDu.js +1 -0
  179. package/dist/web/assets/views-DIrSFdZB.js +2 -0
  180. package/dist/web/assets/{workbench-connection-Gsy9bIuP.js → workbench-connection-BpvUZMVX.js} +1 -1
  181. package/dist/web/assets/workspace-actions.svelte-DE0mQsY6.js +1 -0
  182. package/dist/web/assets/{workspace-selectors.svelte-D-EQR_-Z.js → workspace-selectors.svelte-B90FdGfV.js} +2 -2
  183. package/dist/web/assets/{workspace-CUoFFOwJ.js → workspace-uXAUsF3x.js} +1 -1
  184. package/dist/web/index.html +47 -47
  185. package/dist/web/sw.js +1 -1
  186. package/dist/worker.js +14 -14
  187. package/package.json +7 -7
  188. package/dist/builtin/configure-nerve/guide/collaboration.md +0 -15
  189. package/dist/builtin/configure-nerve/scripts/nerve-version.json +0 -1
  190. package/dist/chunk-D6C32XHS.js.LEGAL.txt +0 -25
  191. package/dist/chunk-RJR7DJJK.js +0 -32
  192. package/dist/chunk-UVRULOOP.js +0 -35
  193. package/dist/quick-script-docs/runtime/files.md +0 -11
  194. package/dist/web/assets/FileCenterComposedHost-kxFWeFmP.js +0 -1
  195. package/dist/web/assets/MobileFilesBody-4bLT2m0j.js +0 -1
  196. package/dist/web/assets/MobileFilesHost-X_0r4Z16.js +0 -1
  197. package/dist/web/assets/MobileLaunchOutputHost-BEchaBtD.js +0 -1
  198. package/dist/web/assets/MobileLaunchesHost-S7Z3DySI.js +0 -2
  199. package/dist/web/assets/MobileSettingsHost-94-sABuO.js +0 -2
  200. package/dist/web/assets/SearchWorkbenchPanel-CKccBrNr.js +0 -1
  201. package/dist/web/assets/SettingsCenterHost-BM-xIy5S.js +0 -1
  202. package/dist/web/assets/SystemPromptCenterHost-VL4DXNId.js +0 -1
  203. package/dist/web/assets/adapters-CbIIxNp9.js +0 -1
  204. package/dist/web/assets/agent-profiles.svelte-8LAIYKmb.js +0 -1
  205. package/dist/web/assets/appearance.svelte-CLR_fMAx.js +0 -1
  206. package/dist/web/assets/center-tabs.svelte-BCriw5Eu.js +0 -1
  207. package/dist/web/assets/code-H_8FkG35.js +0 -7
  208. package/dist/web/assets/conversation-activity-Dl7udunb.js +0 -1
  209. package/dist/web/assets/conversation-connection-B226pY9T.js +0 -1
  210. package/dist/web/assets/discover-DTlfL84I.js +0 -4
  211. package/dist/web/assets/empty-B8eEKvqc.js +0 -1
  212. package/dist/web/assets/file-code-CMYYNL9l.js +0 -1
  213. package/dist/web/assets/files-eAvb-uRC.js +0 -48
  214. package/dist/web/assets/filesystem-CmkTuQNl.js +0 -1
  215. package/dist/web/assets/floating-toolbar-BwJ2tdsN.js +0 -1
  216. package/dist/web/assets/index-CH1Mvlxk.css +0 -1
  217. package/dist/web/assets/index-DNfABG4x.js +0 -172
  218. package/dist/web/assets/launches.api-BEsX6AKZ.js +0 -1
  219. package/dist/web/assets/menu-icons-C24r3TCF.js +0 -1
  220. package/dist/web/assets/mobile-launch-rows-Ci7ldwx6.js +0 -1
  221. package/dist/web/assets/page-tabs.svelte-VZp38ac7.js +0 -4
  222. package/dist/web/assets/panel-DEG1zXHj.js +0 -1
  223. package/dist/web/assets/popover-panel-B1cUdhY5.js +0 -5
  224. package/dist/web/assets/progress-D2Cb6vK_.js +0 -1
  225. package/dist/web/assets/settings-B_ed0eye.js +0 -1
  226. package/dist/web/assets/settings-Dzj6Az_d.js +0 -1
  227. package/dist/web/assets/settings-scope-BjQBgG9v.js +0 -33
  228. package/dist/web/assets/shell-CbR1KanT.js +0 -1
  229. package/dist/web/assets/time-DqcZ_PFK.js +0 -1
  230. package/dist/web/assets/views-D4ociG21.js +0 -2
  231. package/dist/web/assets/workspace-actions.svelte-BMp3D2e1.js +0 -1
  232. /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/create-extension.mjs +0 -0
  233. /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/install-extension.mjs +0 -0
  234. /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/upgrade-extension.mjs +0 -0
  235. /package/dist/builtin/configure-nerve/{reference/writing-for-agents.md → writing-for-agents.md} +0 -0
  236. /package/dist/{chunk-H5CAHDII.js.LEGAL.txt → chunk-EBDLSTDH.js.LEGAL.txt} +0 -0
@@ -1019,6 +1019,211 @@ Apache License
1019
1019
  ========================================================================
1020
1020
  (no license file shipped; declared license: "Apache-2.0")
1021
1021
 
1022
+ ========================================================================
1023
+ @aws-sdk/credential-provider-node@3.972.82
1024
+ ========================================================================
1025
+ Apache License
1026
+ Version 2.0, January 2004
1027
+ http://www.apache.org/licenses/
1028
+
1029
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1030
+
1031
+ 1. Definitions.
1032
+
1033
+ "License" shall mean the terms and conditions for use, reproduction,
1034
+ and distribution as defined by Sections 1 through 9 of this document.
1035
+
1036
+ "Licensor" shall mean the copyright owner or entity authorized by
1037
+ the copyright owner that is granting the License.
1038
+
1039
+ "Legal Entity" shall mean the union of the acting entity and all
1040
+ other entities that control, are controlled by, or are under common
1041
+ control with that entity. For the purposes of this definition,
1042
+ "control" means (i) the power, direct or indirect, to cause the
1043
+ direction or management of such entity, whether by contract or
1044
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1045
+ outstanding shares, or (iii) beneficial ownership of such entity.
1046
+
1047
+ "You" (or "Your") shall mean an individual or Legal Entity
1048
+ exercising permissions granted by this License.
1049
+
1050
+ "Source" form shall mean the preferred form for making modifications,
1051
+ including but not limited to software source code, documentation
1052
+ source, and configuration files.
1053
+
1054
+ "Object" form shall mean any form resulting from mechanical
1055
+ transformation or translation of a Source form, including but
1056
+ not limited to compiled object code, generated documentation,
1057
+ and conversions to other media types.
1058
+
1059
+ "Work" shall mean the work of authorship, whether in Source or
1060
+ Object form, made available under the License, as indicated by a
1061
+ copyright notice that is included in or attached to the work
1062
+ (an example is provided in the Appendix below).
1063
+
1064
+ "Derivative Works" shall mean any work, whether in Source or Object
1065
+ form, that is based on (or derived from) the Work and for which the
1066
+ editorial revisions, annotations, elaborations, or other modifications
1067
+ represent, as a whole, an original work of authorship. For the purposes
1068
+ of this License, Derivative Works shall not include works that remain
1069
+ separable from, or merely link (or bind by name) to the interfaces of,
1070
+ the Work and Derivative Works thereof.
1071
+
1072
+ "Contribution" shall mean any work of authorship, including
1073
+ the original version of the Work and any modifications or additions
1074
+ to that Work or Derivative Works thereof, that is intentionally
1075
+ submitted to Licensor for inclusion in the Work by the copyright owner
1076
+ or by an individual or Legal Entity authorized to submit on behalf of
1077
+ the copyright owner. For the purposes of this definition, "submitted"
1078
+ means any form of electronic, verbal, or written communication sent
1079
+ to the Licensor or its representatives, including but not limited to
1080
+ communication on electronic mailing lists, source code control systems,
1081
+ and issue tracking systems that are managed by, or on behalf of, the
1082
+ Licensor for the purpose of discussing and improving the Work, but
1083
+ excluding communication that is conspicuously marked or otherwise
1084
+ designated in writing by the copyright owner as "Not a Contribution."
1085
+
1086
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1087
+ on behalf of whom a Contribution has been received by Licensor and
1088
+ subsequently incorporated within the Work.
1089
+
1090
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1091
+ this License, each Contributor hereby grants to You a perpetual,
1092
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1093
+ copyright license to reproduce, prepare Derivative Works of,
1094
+ publicly display, publicly perform, sublicense, and distribute the
1095
+ Work and such Derivative Works in Source or Object form.
1096
+
1097
+ 3. Grant of Patent License. Subject to the terms and conditions of
1098
+ this License, each Contributor hereby grants to You a perpetual,
1099
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1100
+ (except as stated in this section) patent license to make, have made,
1101
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1102
+ where such license applies only to those patent claims licensable
1103
+ by such Contributor that are necessarily infringed by their
1104
+ Contribution(s) alone or by combination of their Contribution(s)
1105
+ with the Work to which such Contribution(s) was submitted. If You
1106
+ institute patent litigation against any entity (including a
1107
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1108
+ or a Contribution incorporated within the Work constitutes direct
1109
+ or contributory patent infringement, then any patent licenses
1110
+ granted to You under this License for that Work shall terminate
1111
+ as of the date such litigation is filed.
1112
+
1113
+ 4. Redistribution. You may reproduce and distribute copies of the
1114
+ Work or Derivative Works thereof in any medium, with or without
1115
+ modifications, and in Source or Object form, provided that You
1116
+ meet the following conditions:
1117
+
1118
+ (a) You must give any other recipients of the Work or
1119
+ Derivative Works a copy of this License; and
1120
+
1121
+ (b) You must cause any modified files to carry prominent notices
1122
+ stating that You changed the files; and
1123
+
1124
+ (c) You must retain, in the Source form of any Derivative Works
1125
+ that You distribute, all copyright, patent, trademark, and
1126
+ attribution notices from the Source form of the Work,
1127
+ excluding those notices that do not pertain to any part of
1128
+ the Derivative Works; and
1129
+
1130
+ (d) If the Work includes a "NOTICE" text file as part of its
1131
+ distribution, then any Derivative Works that You distribute must
1132
+ include a readable copy of the attribution notices contained
1133
+ within such NOTICE file, excluding those notices that do not
1134
+ pertain to any part of the Derivative Works, in at least one
1135
+ of the following places: within a NOTICE text file distributed
1136
+ as part of the Derivative Works; within the Source form or
1137
+ documentation, if provided along with the Derivative Works; or,
1138
+ within a display generated by the Derivative Works, if and
1139
+ wherever such third-party notices normally appear. The contents
1140
+ of the NOTICE file are for informational purposes only and
1141
+ do not modify the License. You may add Your own attribution
1142
+ notices within Derivative Works that You distribute, alongside
1143
+ or as an addendum to the NOTICE text from the Work, provided
1144
+ that such additional attribution notices cannot be construed
1145
+ as modifying the License.
1146
+
1147
+ You may add Your own copyright statement to Your modifications and
1148
+ may provide additional or different license terms and conditions
1149
+ for use, reproduction, or distribution of Your modifications, or
1150
+ for any such Derivative Works as a whole, provided Your use,
1151
+ reproduction, and distribution of the Work otherwise complies with
1152
+ the conditions stated in this License.
1153
+
1154
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1155
+ any Contribution intentionally submitted for inclusion in the Work
1156
+ by You to the Licensor shall be under the terms and conditions of
1157
+ this License, without any additional terms or conditions.
1158
+ Notwithstanding the above, nothing herein shall supersede or modify
1159
+ the terms of any separate license agreement you may have executed
1160
+ with Licensor regarding such Contributions.
1161
+
1162
+ 6. Trademarks. This License does not grant permission to use the trade
1163
+ names, trademarks, service marks, or product names of the Licensor,
1164
+ except as required for reasonable and customary use in describing the
1165
+ origin of the Work and reproducing the content of the NOTICE file.
1166
+
1167
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1168
+ agreed to in writing, Licensor provides the Work (and each
1169
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1170
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1171
+ implied, including, without limitation, any warranties or conditions
1172
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1173
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1174
+ appropriateness of using or redistributing the Work and assume any
1175
+ risks associated with Your exercise of permissions under this License.
1176
+
1177
+ 8. Limitation of Liability. In no event and under no legal theory,
1178
+ whether in tort (including negligence), contract, or otherwise,
1179
+ unless required by applicable law (such as deliberate and grossly
1180
+ negligent acts) or agreed to in writing, shall any Contributor be
1181
+ liable to You for damages, including any direct, indirect, special,
1182
+ incidental, or consequential damages of any character arising as a
1183
+ result of this License or out of the use or inability to use the
1184
+ Work (including but not limited to damages for loss of goodwill,
1185
+ work stoppage, computer failure or malfunction, or any and all
1186
+ other commercial damages or losses), even if such Contributor
1187
+ has been advised of the possibility of such damages.
1188
+
1189
+ 9. Accepting Warranty or Additional Liability. While redistributing
1190
+ the Work or Derivative Works thereof, You may choose to offer,
1191
+ and charge a fee for, acceptance of support, warranty, indemnity,
1192
+ or other liability obligations and/or rights consistent with this
1193
+ License. However, in accepting such obligations, You may act only
1194
+ on Your own behalf and on Your sole responsibility, not on behalf
1195
+ of any other Contributor, and only if You agree to indemnify,
1196
+ defend, and hold each Contributor harmless for any liability
1197
+ incurred by, or claims asserted against, such Contributor by reason
1198
+ of your accepting any such warranty or additional liability.
1199
+
1200
+ END OF TERMS AND CONDITIONS
1201
+
1202
+ APPENDIX: How to apply the Apache License to your work.
1203
+
1204
+ To apply the Apache License to your work, attach the following
1205
+ boilerplate notice, with the fields enclosed by brackets "{}"
1206
+ replaced with your own identifying information. (Don't include
1207
+ the brackets!) The text should be enclosed in the appropriate
1208
+ comment syntax for the file format. We also recommend that a
1209
+ file or class name and description of purpose be included on the
1210
+ same "printed page" as the copyright notice for easier
1211
+ identification within third-party archives.
1212
+
1213
+ Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1214
+
1215
+ Licensed under the Apache License, Version 2.0 (the "License");
1216
+ you may not use this file except in compliance with the License.
1217
+ You may obtain a copy of the License at
1218
+
1219
+ http://www.apache.org/licenses/LICENSE-2.0
1220
+
1221
+ Unless required by applicable law or agreed to in writing, software
1222
+ distributed under the License is distributed on an "AS IS" BASIS,
1223
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1224
+ See the License for the specific language governing permissions and
1225
+ limitations under the License.
1226
+
1022
1227
  ========================================================================
1023
1228
  @aws-sdk/credential-provider-node@3.972.83
1024
1229
  ========================================================================
@@ -3280,7 +3485,7 @@ Apache License
3280
3485
  limitations under the License.
3281
3486
 
3282
3487
  ========================================================================
3283
- @earendil-works/pi-ai@1.5.2
3488
+ @earendil-works/pi-ai@1.6.1
3284
3489
  ========================================================================
3285
3490
  (no license file shipped; declared license: "MIT")
3286
3491
 
@@ -3290,17 +3495,17 @@ Apache License
3290
3495
  (no license file shipped; declared license: "MIT")
3291
3496
 
3292
3497
  ========================================================================
3293
- @earendil-works/pi-schema@1.5.2
3498
+ @earendil-works/pi-schema@1.6.1
3294
3499
  ========================================================================
3295
3500
  (no license file shipped; declared license: "MIT")
3296
3501
 
3297
3502
  ========================================================================
3298
- @earendil-works/pi-telemetry@1.5.2
3503
+ @earendil-works/pi-telemetry@1.6.1
3299
3504
  ========================================================================
3300
3505
  (no license file shipped; declared license: "MIT")
3301
3506
 
3302
3507
  ========================================================================
3303
- @google/genai@2.21.0
3508
+ @google/genai@3.6.1
3304
3509
  ========================================================================
3305
3510
  Apache License
3306
3511
  Version 2.0, January 2004
@@ -6048,17 +6253,6 @@ OTHER DEALINGS IN THE SOFTWARE.
6048
6253
 
6049
6254
  For more information, please refer to <http://unlicense.org>
6050
6255
 
6051
- ========================================================================
6052
- fdir@6.5.0
6053
- ========================================================================
6054
- Copyright 2023 Abdullah Atta
6055
-
6056
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6057
-
6058
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6059
-
6060
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6061
-
6062
6256
  ========================================================================
6063
6257
  fetch-blob@3.2.0
6064
6258
  ========================================================================
@@ -7288,7 +7482,7 @@ THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRE
7288
7482
  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7289
7483
 
7290
7484
  ========================================================================
7291
- openai@7.19.0
7485
+ openai@7.59.0
7292
7486
  ========================================================================
7293
7487
  Apache License
7294
7488
  Version 2.0, January 2004
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: configure-nerve
3
- description: Use when the user wants to set up or understand Nerve itself (project instructions, skills, prompt suggestions, extensions, MCP servers, launches, agent profiles and teammates, permissions), including complaints like "it keeps asking before running tests". Not for project code.
3
+ description: Use when creating, editing or explaining Nerve configuration files (skills, AGENTS.md, prompt suggestions, agent profiles, launches, MCP servers, permission rules, extensions), whatever their content is about, or when the user wants to change how the agent behaves in Nerve. Not for the project's application source code.
4
4
  ---
5
5
 
6
6
  # Configure Nerve
@@ -10,10 +10,18 @@ You shape Nerve to the user's work by editing its configuration. Paths in this s
10
10
  ## How to work
11
11
 
12
12
  - **One mechanism clearly fits and few details are missing** ("add a launch for `pnpm dev`", "allow `pnpm test` under Supervise"): do it, then report what you wrote and where. Ask only what the request leaves open and the project cannot tell you.
13
- - **A new extension** is always a design to agree first, even when the request names it ("build an extension for X"): follow `guide/extensions.md`, step 2.
14
- - **The mechanism itself is open** ("it keeps forgetting our conventions", "I want a reviewer"): pick candidates from the table below, read `guide/collaboration.md`, and settle it with the user before building.
13
+ - **A new extension** is always a design to agree first, even when the request names it ("build an extension for X"): follow `reference/extensions/build.md`, step 2.
14
+ - **The mechanism itself is open** ("it keeps forgetting our conventions", "I want a reviewer"): pick candidates from the table below and settle it with the user before building ("Settling an open request").
15
15
  - **Question** ("what is configured?", "why was that prompted?"): answer from the calls under "The loop". Offer a change only when it would help.
16
16
 
17
+ ## Settling an open request
18
+
19
+ - Learn the goal before the mechanism: what the user does, how often, and what must never happen without them. Ask one or two focused questions at a time with `ask_user`, with options when the choices are clear.
20
+ - Read the current configuration first (`configuration.describe()`, `configuration.list()`), so proposals build on what exists.
21
+ - Offer two or three options with their trade-offs in plain words, and recommend one. Name the Nerve concept each uses (profile, rule set, launch), so the user learns the vocabulary. Propose a combination when it fits better.
22
+ - Name consequences that are easy to miss: project files are shared through the repository, what the user must approve in Settings, and what stays unchanged (running sub-agents keep their configuration).
23
+ - Once the user has chosen, follow the "Procedure" at the top of the thing's reference, then "The loop".
24
+
17
25
  ## Which mechanism
18
26
 
19
27
  Candidates are listed cheapest first. Take the first that solves the problem.
@@ -40,13 +48,13 @@ Candidates are listed cheapest first. Take the first that solves the problem.
40
48
  | Agent profiles | `<home>/agent/agent-profiles/<name>.json` | `<project>/.nerve/agent-profiles/<name>.json` (user approves) | user for a personal one | `reference/agent-profiles.md` |
41
49
  | Permission rule sets | `<home>/config/rule-sets/<id>.json` | none | user | `reference/permissions.md` |
42
50
  | Permission overlays | `<home>/config/permissions.json` | `<project>/.nerve/config/permissions.json` (user approves) | user for a personal rule | `reference/permissions.md` |
43
- | Agent preferences | `<home>/config/agent.json` | `<project>/.nerve/config/agent.json` (user approves) | edit only on an exact request | `reference/agent-profiles.md` |
44
- | Extensions | `<home>/agent/extensions/<id>/` | `<project>/.nerve/extensions/<id>/` (user consents) | ask; recommend user for a personal one | `guide/extensions.md` |
51
+ | Agent preferences | `<home>/config/agent.json` | `<project>/.nerve/config/agent.json` (user approves) | edit only on an exact request | `reference/agent-preferences.md` |
52
+ | Extensions | `<home>/agent/extensions/<id>/` | `<project>/.nerve/extensions/<id>/` (user consents) | ask; recommend user for a personal one | `reference/extensions/build.md` |
45
53
  | MCP servers | `<home>/config/mcp.json` (user approves) | `<project>/.nerve/config/mcp.json` (user approves) | user for a personal one, project for a team one | `reference/mcp.md` |
46
54
 
47
55
  Choose project scope for what the team should share, and name in your hand-over the approval the user must give. Choose user scope for what is personal: it works without approval (MCP servers excepted: the user approves every entry).
48
56
 
49
- For text an agent will read (a skill, `AGENTS.md`, profile instructions, an extension's summaries, doc comments, tool descriptions and errors), follow `reference/writing-for-agents.md`.
57
+ For text an agent will read (a skill, `AGENTS.md`, profile instructions, an extension's summaries, doc comments, tool descriptions and errors), follow `writing-for-agents.md`.
50
58
 
51
59
  Model providers, accounts and credentials, extension settings, conversation defaults and appearance are the user's in Settings. Point them to the page instead of editing those files. A conversation's own files under `<home>/data/conversations/` are managed by Nerve; do not edit them.
52
60
 
@@ -54,8 +62,9 @@ Model providers, accounts and credentials, extension settings, conversation defa
54
62
 
55
63
  - Same name: project wins over user, user over built-in. A project profile or skill replaces the lower one whole; nothing is merged.
56
64
  - Agent preferences: built-in, then user, then project, then the conversation's own choices; a later layer overrides single fields. A profile's requirements win over all of them.
57
- - Project files that can run code or widen what agents may do are used only after the user approves their exact content: `agent.json` in Settings → General, project column, permission overlays in Settings → Permission rules, agent profiles in Settings → Agents or Sub-Agents; skills in Settings → Skills, project column; a suggestion's `enable-js` in Settings → Suggestions; extensions in Settings → Extensions.
58
- - Any edit to an approved file, including yours, asks again. You cannot approve, consent or add credentials.
65
+ - Nothing you write is used until the user approves its exact content, in the user's files and the project's alike: `agent.json` in Settings → General; permission overlays and rule sets in Settings → Permissions; agent profiles in Settings → Agents or Sub-agents; skills in Settings → Skills; prompt suggestion files in Settings → Suggestions; extensions in Settings → Extensions; MCP entries in Settings → MCP servers. Only what the user changes in Nerve's own Settings stays approved.
66
+ - Any edit outside Settings, including yours, asks again. You cannot approve, consent or add credentials.
67
+ - While a changed user permission file or `agent.json` waits, the version the user last approved stays in effect. Until the user approves, a new rule set, profile, skill or suggestion is not selectable, offered or shown.
59
68
 
60
69
  ## The loop
61
70
 
@@ -65,7 +74,7 @@ Nerve does not watch files. In `quick_script`:
65
74
  2. **Write.** Read an existing file in full first and keep what you did not mean to change. Before editing a file under `<home>` (usually not in git), copy it next to itself as `<name>.bak` and name the copy in your reply. Before a permission change, say in one sentence what will be allowed, prompted or denied afterwards, unless the user dictated the rule.
66
75
  3. **Check**, after the write has finished (not in the same batch of calls). `configuration.check("project")` or `("user")` validates the files on disk and changes nothing. It reports every problem in the scope: fix the ones in files you wrote until none has an `error`; mention the others to the user and leave them alone.
67
76
  4. **Reload.** `configuration.reload(scope)` activates the files.
68
- 5. **Hand over.** Report what you wrote with paths, and exactly what `configuration.list({ state: "needs_review" })` shows, with where the user approves each.
77
+ 5. **Hand over.** Report what you wrote with paths, and exactly what `configuration.list({ state: "needs_review" })` shows, with where the user approves each. A reload activates nothing the user has not approved: say what waits and where, and that it does nothing until then, whatever the scope.
69
78
 
70
79
  ```ts
71
80
  const written = "/abs/path/of/the/file/you/wrote";
@@ -89,6 +98,6 @@ What a returned resource means:
89
98
 
90
99
  Leave no `error` behind when you end your turn. After a restart there is no loaded version to fall back to, and an invalid permission file or preferences that select a missing rule set then block every tool call.
91
100
 
92
- Kinds that need more than the loop: launches are written, started and checked with `launches.*` (`reference/launches.md`); extensions are built and checked with `nerve-ext` (`guide/extensions.md`).
101
+ Kinds that need more than the loop: launches are written, started and checked with `launches.*` (`reference/launches.md`); extensions are built and checked with `nerve-ext` (`reference/extensions/build.md`).
93
102
 
94
103
  `reference/schemas/*.schema.json` are generated from this Nerve version. Open one only for a diagnostic you cannot resolve from its message.
@@ -0,0 +1,9 @@
1
+ # Agent preferences (`agent.json`)
2
+
3
+ `<home>/config/agent.json` and `<project>/.nerve/config/agent.json` hold the default model, thinking level, rule set selection and tool and skill toggles. The user changes them in Settings; edit them only when the user asks for exactly that change. How the layers combine: `SKILL.md`, "Precedence and approval".
4
+
5
+ The fields are the settings object of agent profiles (`reference/agent-profiles.md`, "Settings object"), wrapped as `{ "schemaVersion": 1, "revision": <n>, "overrides": { ... } }`. Skill toggles: `reference/skills.md`, "On and off"; MCP server toggles: `reference/mcp.md`.
6
+
7
+ - Keep `revision` as it is.
8
+ - The project file also carries a top-level `"version": 2`; keep it.
9
+ - `permissionRuleSetId` must name a rule set that exists, or the file is refused.
@@ -12,7 +12,7 @@ A profile packages how an agent works: instructions plus settings for model, thi
12
12
  2. Choose settings: permission rule set first (`configuration.list({ kind: "rule-set" })`), then model (`configuration.describe()` lists `availableModels`) and thinking if the user has a preference, then tools and skills. Recommend by default; require only what the purpose depends on. If no rule set gives the needed behavior, create one first (`reference/permissions.md`).
13
13
  3. Write the file: user scope for a personal profile, project scope for a team one.
14
14
  4. `configuration.check`, then `configuration.reload`.
15
- 5. Tell the user how to use it: a lead profile from the composer's profile picker or `/profile <name>`; a sub-agent profile is offered to the lead when delegation is on. A project profile first needs approval in Settings → Agents or Sub-Agents. A profile already in use needs **Apply updated profile**.
15
+ 5. Tell the user how to use it: a lead profile from the composer's profile picker or `/profile <name>`; a sub-agent profile is offered to the lead when delegation is on. A project profile first needs approval in Settings → Agents or Sub-agents. A profile already in use needs **Apply updated profile**.
16
16
 
17
17
  ## Common requests
18
18
 
@@ -28,7 +28,7 @@ A user or project file with the same name replaces a built-in completely. To adj
28
28
 
29
29
  ## File
30
30
 
31
- User: `<home>/agent/agent-profiles/<name>.json`. Project: `<project>/.nerve/agent-profiles/<name>.json` (the user approves it in Settings → Agents or Sub-Agents). The file name is the profile `name` plus `.json`.
31
+ User: `<home>/agent/agent-profiles/<name>.json`. Project: `<project>/.nerve/agent-profiles/<name>.json`. Both wait for the user's approval in Settings → Agents or Sub-agents; until then the profile cannot be selected and `subagent_prompt` to it fails. Name the profile and the page when you hand over. A rule set it requires must be approved too. The file name is the profile `name` plus `.json`.
32
32
 
33
33
  Project files carry an extra top-level `"version": 3`. In a user file, drop that line from the example below.
34
34
 
@@ -104,7 +104,3 @@ Rules every sub-agent follows regardless of its profile:
104
104
  ## Applying changes
105
105
 
106
106
  A conversation that already uses a profile keeps a snapshot of it. After editing a profile, the user applies the new version with **Apply updated profile** (or switches to the profile again). New conversations and new sub-agents use the current file after `configuration.reload`.
107
-
108
- ## Agent preferences (`agent.json`)
109
-
110
- `<home>/config/agent.json` and `<project>/.nerve/config/agent.json` hold the default model, thinking level, rule set selection and tool and skill toggles. The user changes them in Settings; edit them only when the user asks for exactly that change. The fields are the settings object above, wrapped as `{ "schemaVersion": 1, "revision": <n>, "overrides": { ... } }`. Keep `revision` as it is; the project file also carries a top-level `"version": 2`, keep it. `permissionRuleSetId` must name a rule set that exists, or the file is refused.
@@ -6,7 +6,7 @@
6
6
 
7
7
  1. Read the existing `AGENTS.md` files on the path from the project root to where the convention applies.
8
8
  2. Decide the folder: the project root for a rule of the whole repository, a subfolder for a rule of that part only.
9
- 3. Add the rule where a reader would look for it; keep the file short. State what to do and, when it is not obvious, why (`reference/writing-for-agents.md`).
9
+ 3. Add the rule where a reader would look for it; keep the file short. State what to do and, when it is not obvious, why (`writing-for-agents.md`).
10
10
  4. Tell the user what you added. It applies from the next agent run; no check or reload is needed.
11
11
 
12
12
  ## What is read
@@ -0,0 +1,10 @@
1
+ /** Artifact handles are `artifact:<name>`; anything else is a workspace path. */
2
+ export declare const ARTIFACT_PREFIX = "artifact:";
3
+ /** Largest file that streams between disk and the network (attachment uploads/downloads, raw downloads); never held in memory or the sandbox. */
4
+ export declare const MAX_STREAMED_FILE_BYTES: number;
5
+ export declare function assertArtifactName(name: unknown): string;
6
+ /** `name` or `artifact:name` (a handle from another call) to the bare, validated name. */
7
+ export declare function artifactNameOf(nameOrHandle: unknown): string;
8
+ /** Media type from the file extension (case-insensitive), `application/octet-stream` when unknown. */
9
+ export declare function mediaTypeFor(filename: string): string;
10
+ //# sourceMappingURL=artifacts.d.ts.map
@@ -0,0 +1,4 @@
1
+ /** Up to five candidates close to `input` (substring or small edit distance), best first. */
2
+ export declare function closeMatches(input: string, candidates: readonly string[], limit?: number): string[];
3
+ export declare function editDistance(a: string, b: string): number;
4
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1,8 @@
1
+ /** The whitespace-separated, lower-cased terms of a search query. */
2
+ export declare function searchTerms(query: string): string[];
3
+ /**
4
+ * The one search-box rule: every whitespace-separated term of `query` must
5
+ * appear, case-insensitively, in at least one of `fields` (terms do not span
6
+ * fields). A blank query matches everything; missing fields are skipped.
7
+ */
8
+ export declare function matchesTerms(query: string, ...fields: readonly (string | null | undefined)[]): boolean;
@@ -1,5 +1,5 @@
1
1
  import type { Component, Snippet } from "svelte";
2
- import type { StatusTone } from "../../../display/status.js";
2
+ import { type StatusTone } from "../../../display/status.js";
3
3
  type $$ComponentProps = {
4
4
  /** Colour and role (default `neutral`): `neutral`, `brand`, `info`, `success`, `warning`, `destructive`. `destructive` is announced as an alert. */
5
5
  tone?: StatusTone;
@@ -1,4 +1,7 @@
1
1
  export type StatusTone = "neutral" | "brand" | "info" | "success" | "warning" | "destructive";
2
+ /** Text colour for a tone: icons, glyphs and short status labels. `neutral`
3
+ * reads as secondary text and `brand` as the primary colour. */
4
+ export declare const toneTextClass: Readonly<Record<StatusTone, string>>;
2
5
  export declare function statusTone(status: string | undefined): StatusTone;
3
6
  export declare function agentRunningTone(agentProfile: string | undefined): StatusTone;
4
7
  export declare function agentActivityTone(status: string | undefined, active?: boolean, agentProfile?: string): StatusTone;
@@ -4,7 +4,7 @@ An extension is a folder with a built `dist/`. Nerve loads it only after the use
4
4
 
5
5
  ## 1. Prerequisites
6
6
 
7
- Node.js 24 or newer and npm (or pnpm). `scripts/create-extension.mjs` checks them and prints how to install what is missing; relay that to the user instead of installing system software yourself.
7
+ Node.js 24 or newer and npm (or pnpm). `reference/extensions/scripts/create-extension.mjs` checks them and prints how to install what is missing; relay that to the user instead of installing system software yourself.
8
8
 
9
9
  ## 2. Agree the design with the user
10
10
 
@@ -23,7 +23,7 @@ Then choose without asking:
23
23
  ## 3. Scaffold
24
24
 
25
25
  ```sh
26
- node scripts/create-extension.mjs <id> --kind <kind>[,<kind>] --scope <user|project> [--project <dir>]
26
+ node reference/extensions/scripts/create-extension.mjs <id> --kind <kind>[,<kind>] --scope <user|project> [--project <dir>]
27
27
  ```
28
28
 
29
29
  The script writes the project, installs dependencies without running install scripts (`--ignore-scripts`) and runs `nerve-ext check`. Each kind adds a working sample to replace, with tests beside it:
@@ -81,7 +81,7 @@ Edit the sources in its folder (not `dist/`), then run steps 5 to 7. Work in pla
81
81
  Find the extensions with `configuration.list({ kind: "extension" })` (`path` is the folder; `state: "incompatible"` needs an upgrade). An extension built with an SDK older than this Nerve's `oldestCompatibleSdkVersion`, or newer than this Nerve, is `incompatible` ("Built with SDK …") and does not load. Upgrade one then or when the user asks. Folders under the Nerve home are outside the project, so run commands there with `cd <folder> && …` in the command and leave the shell tool's `cwd` unset:
82
82
 
83
83
  ```sh
84
- node scripts/upgrade-extension.mjs <extension-folder>
84
+ node reference/extensions/scripts/upgrade-extension.mjs <extension-folder>
85
85
  ```
86
86
 
87
87
  It moves `@nervekit/extension-sdk` to this Nerve's version, prints the `UPGRADING.md` sections between the old and new versions (none when nothing broke), and runs `check`, which rebuilds `dist/`. Apply each printed change, run `check` until green, reload, and read the status.
@@ -95,7 +95,7 @@ It moves `@nervekit/extension-sdk` to this Nerve's version, prints the `UPGRADIN
95
95
  A folder that arrived from a teammate, a repository or the user shows `not-built` (no `dist/`). Its `package.json` can pull in any package. Before installing:
96
96
 
97
97
  ```sh
98
- node scripts/install-extension.mjs <extension-folder> --list
98
+ node reference/extensions/scripts/install-extension.mjs <extension-folder> --list
99
99
  ```
100
100
 
101
101
  Show the user the dependency list it prints and wait for their go-ahead. Then run the same command without `--list`: it installs with the folder's lockfile and without install scripts, and runs `nerve-ext check`. A dependency's code still runs during the build and the tests.
@@ -31,7 +31,7 @@ Text a model reads is checked when the folder loads; an extension over a limit i
31
31
  | A direct tool `description` | 800 |
32
32
  | An error message and its fix, at run time | 600 (cut) |
33
33
 
34
- Namespace ids must not equal a runtime namespace (`files`, `image`, `web`, `extensions`, `configuration`, `libraries`), `sdk`, `host` or a global (`console`, `JSON`, ...). Account kinds, namespace ids and tool names are unique across all extensions. Each UI kind holds at most 16 contributions.
34
+ Namespace ids must not equal a runtime namespace (`files`, `artifacts`, `image`, `web`, `extensions`, `configuration`, `launches`, `mcp`, `libraries`), `sdk`, `host` or a global (`console`, `JSON`, ...). Account kinds, namespace ids and tool names are unique across all extensions. Each UI kind holds at most 16 contributions.
35
35
 
36
36
  ## Precedence and states
37
37
 
@@ -4,7 +4,7 @@ A map of what an extension can do and which file explains each part. Read it onc
4
4
 
5
5
  ## What the user gets
6
6
 
7
- Choose one or more parts with the user (`guide/extensions.md`, step 2). They map to `--kind` of the scaffold.
7
+ Choose one or more parts with the user (`reference/extensions/build.md`, step 2). They map to `--kind` of the scaffold.
8
8
 
9
9
  | Part | The user sees | Fits | Kind | Read |
10
10
  | ---------------- | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | ------------- | ----------------------------------------------------------------------------- |
@@ -72,4 +72,4 @@ Test helpers come from `@nervekit/extension-sdk/testing`:
72
72
  | Definition decisions, icons, agent-facing text limits, states | `reference/extensions/manifest.md` |
73
73
  | What the user reviews before allowing it, least privilege | `reference/extensions/security.md` |
74
74
  | User or project scope, sharing, updates | `reference/extensions/sharing.md` |
75
- | Writing namespace summaries, method doc comments, tool descriptions and errors | `reference/writing-for-agents.md` |
75
+ | Writing namespace summaries, method doc comments, tool descriptions and errors | `writing-for-agents.md` |
@@ -8,7 +8,7 @@
8
8
  // (@nervekit/extension-api, @nervekit/ui-kit) are not published, also set
9
9
  // NERVE_EXTENSION_NPM_OVERRIDES to a JSON object (package -> spec); it is written to the
10
10
  // project's package.json "overrides".
11
- // 2. scripts/nerve-version.json ({ "version": "x.y.z" }), written next to this file when the
11
+ // 2. reference/extensions/scripts/nerve-version.json ({ "version": "x.y.z" }), written next to this file when the
12
12
  // skill is copied into dist (scripts/build/copy-skills-assets.ts), so installed Nerve
13
13
  // builds and the desktop bundle carry the version they were built from.
14
14
  // 3. The version of the Nerve source checkout containing this file (the root package.json).
@@ -44,7 +44,7 @@ export function nerveVersion(scriptDir) {
44
44
  dir = parent;
45
45
  }
46
46
  throw new UserError(
47
- "Cannot tell which Nerve version this skill belongs to (scripts/nerve-version.json is missing). Reinstall Nerve, or set NERVE_EXTENSION_SDK_SPEC.",
47
+ "Cannot tell which Nerve version this skill belongs to (reference/extensions/scripts/nerve-version.json is missing). Reinstall Nerve, or set NERVE_EXTENSION_SDK_SPEC.",
48
48
  );
49
49
  }
50
50
 
@@ -15,7 +15,7 @@ If both have the same id, the project one wins and the user one shows as `shadow
15
15
 
16
16
  1. Create it with `--scope project`, or move the folder to `<project>/.nerve/extensions/<id>/`.
17
17
  2. Commit the sources and the lockfile; the scaffold's `.gitignore` keeps `dist/` and `node_modules/` out of git. Nerve never builds or installs by itself.
18
- 3. A teammate who pulls it sees `not-built`. They ask the agent to build it: it follows "A folder you did not scaffold in this conversation" in `guide/extensions.md` (list the dependencies, wait, then `scripts/install-extension.mjs`).
18
+ 3. A teammate who pulls it sees `not-built`. They ask the agent to build it: it follows "A folder you did not scaffold in this conversation" in `reference/extensions/build.md` (list the dependencies, wait, then `reference/extensions/scripts/install-extension.mjs`).
19
19
  4. They review and allow it themselves in Settings → Extensions. A project extension asks again after any change to its files.
20
20
 
21
21
  ## Share with a person
@@ -24,4 +24,4 @@ Send the sources without `node_modules/` and `dist/`. The receiver copies the fo
24
24
 
25
25
  ## Updates
26
26
 
27
- Rebuild with `nerve-ext check`, bump `version` in `package.json` for releases, and reload. An extension built with an SDK newer than this Nerve, or older than its `oldestCompatibleSdkVersion`, is `incompatible` in `extensions.status` and does not load; run `scripts/upgrade-extension.mjs`, which upgrades the SDK and rebuilds.
27
+ Rebuild with `nerve-ext check`, bump `version` in `package.json` for releases, and reload. An extension built with an SDK newer than this Nerve, or older than its `oldestCompatibleSdkVersion`, is `incompatible` in `extensions.status` and does not load; run `reference/extensions/scripts/upgrade-extension.mjs`, which upgrades the SDK and rebuilds.
@@ -1,6 +1,6 @@
1
1
  # Themes
2
2
 
3
- A theme extension has `ui.themes: [{ id, label, file: "src/themes/<id>.json" }]` and no backend. Themes are data: a JSON file with exactly the tokens below, never CSS. Only **user** extensions contribute themes (a theme is app-wide); a project extension's themes are ignored with a warning. The user picks it in Settings → Workbench → Appearance once the extension is allowed.
3
+ A theme extension has `ui.themes: [{ id, label, file: "src/themes/<id>.json" }]` and no backend. Themes are data: a JSON file with exactly the tokens below, never CSS. Only **user** extensions contribute themes (a theme is app-wide); a project extension's themes are ignored with a warning. The user picks it in Settings → Appearance once the extension is allowed.
4
4
 
5
5
  ```json
6
6
  {
@@ -12,7 +12,7 @@ Policy decides which calls run; it is not an operating-system sandbox. A shell c
12
12
 
13
13
  1. `configuration.describe()`: the rule set this conversation uses (`ruleSet.id`) and what selected it. Overlay rules apply only under the rule set they name. `configuration.explain` the call: if it is already allowed under the rule set in use, say so and ask which rule set the user means before writing anything. Otherwise write for the rule set in use, and ask whether the rule should also apply under others.
14
14
  2. Identify the exact calls: tool, command, path, URL or operation. For a prompt the user saw, `configuration.explain({ tool, args })` names the rule that decided.
15
- 3. Pick the mechanism below and the scope: user overlay for a personal rule (works at once), project overlay for a team rule (the user approves it).
15
+ 3. Pick the mechanism below and the scope: user overlay for a personal rule, project overlay for a team rule. Both wait for the user's approval in Settings → Permissions; until then the version the user last approved stays in effect (after a restart without one, calls under that rule set are blocked). A new rule set is not selectable until approved.
16
16
  4. Write the narrowest rule. Take tool names and groups from `configuration.tools.list()`; they are case-sensitive. Matchers: `reference/permission-matchers.md`.
17
17
  5. `configuration.check`, `configuration.reload`, then `configuration.explain` with the call again to confirm the new decision.
18
18
 
@@ -88,7 +88,7 @@ The filter (`when`), value and target matchers and globs are in `reference/permi
88
88
 
89
89
  ## Rule set file
90
90
 
91
- `<home>/config/rule-sets/<id>.json`; keep the file name equal to `id`. User scope only.
91
+ `<home>/config/rule-sets/<id>.json`; keep the file name equal to `id`. User scope only. The user approves each rule set file in Settings → Permissions; until then it is not selectable, and a profile that requires it is unavailable.
92
92
 
93
93
  ```json
94
94
  {
@@ -8,7 +8,7 @@ A prompt suggestion is a chip above the composer that inserts or sends a saved p
8
8
  2. Choose the scope: `<project>/.nerve/suggestions/<name>.md` for the repository, `<home>/agent/suggestions/<name>.md` for every project.
9
9
  3. `configuration.list({ kind: "prompt-suggestion" })`: a project file with the name of a user or built-in one replaces it.
10
10
  4. Write the file. Prefer `when` conditions; add `enable-js` only when they cannot express the condition, because it needs the user's approval.
11
- 5. `configuration.check(scope)`. Hand over: the chip appears when its condition holds; a suggestion with `enable-js` first needs approval in Settings → Suggestions.
11
+ 5. `configuration.check(scope)`. Hand over: the suggestion file waits for the user's approval in Settings → Suggestions, whatever the scope, and appears only after it, when its condition holds.
12
12
 
13
13
  ## File
14
14
 
@@ -54,4 +54,4 @@ enable-js: |
54
54
 
55
55
  Define `function enable(context)` and return `true` to show the chip. It runs synchronously with no access to files, network or modules. `context` has `timestamp`, `platform`, `project` (`id`, `name`, `dir`), `git` (`repos[]` with `relativePath`, `currentBranch`, `dirty`, `changeCount`, `ahead`, `behind`, `hasUpstream`, `hasRemote`, `baseBranch`, `onBaseBranch`, `mergedToBase`, `pullRequest`; `github` with `available`, `authenticated`) and `conversation` (`id`, `title`, `status`, `permissionRuleSetId`, `reasoningLevel`; absent outside a conversation).
56
56
 
57
- The predicate is code, so it runs only after the user approves it in Settings → Suggestions, and any edit of it asks again. `configuration.check` shows the suggestion as `needs_review` until then. You cannot approve it.
57
+ The user approves the whole suggestion file, so the predicate runs only after they have, and any edit of the file asks again. `configuration.check` shows the suggestion as `needs_review` until then. You cannot approve it.