@nervekit/desktop 0.42.0 → 0.43.1
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.
- package/THIRD-PARTY-LICENSES.txt +210 -16
- package/dist/builtin/configure-nerve/SKILL.md +19 -10
- package/dist/builtin/configure-nerve/reference/agent-preferences.md +9 -0
- package/dist/builtin/configure-nerve/reference/agent-profiles.md +2 -6
- package/dist/builtin/configure-nerve/reference/agents-md.md +1 -1
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-api/artifacts.d.ts +10 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-api/text.d.ts +4 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/components.d.ts +2 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/collections/match-terms.d.ts +8 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/callout/callout.svelte.d.ts +1 -1
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/index.d.ts +3 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/log-source.d.ts +43 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/log-view.svelte.d.ts +22 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/log-window.d.ts +77 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/components/composites/log-view/terminal-text.svelte.d.ts +6 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/display/status.d.ts +3 -0
- package/dist/builtin/configure-nerve/reference/extensions/api/extension-sdk/components/ui-kit/terminal/ansi.d.ts +4 -0
- package/dist/builtin/configure-nerve/{guide/extensions.md → reference/extensions/build.md} +4 -4
- package/dist/builtin/configure-nerve/reference/extensions/components.md +2 -1
- package/dist/builtin/configure-nerve/reference/extensions/manifest.md +1 -1
- package/dist/builtin/configure-nerve/reference/extensions/overview.md +2 -2
- package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/lib.mjs +2 -2
- package/dist/builtin/configure-nerve/reference/extensions/scripts/nerve-version.json +1 -0
- package/dist/builtin/configure-nerve/reference/extensions/sharing.md +2 -2
- package/dist/builtin/configure-nerve/reference/extensions/themes.md +1 -1
- package/dist/builtin/configure-nerve/reference/permissions.md +2 -2
- package/dist/builtin/configure-nerve/reference/prompt-suggestions.md +2 -2
- package/dist/builtin/configure-nerve/reference/skills.md +9 -9
- package/dist/{chunk-QFK2SWD2.js → chunk-34SYO66C.js} +11 -11
- package/dist/{chunk-6ZS7TA6E.js → chunk-35O66NLU.js} +2 -2
- package/dist/{chunk-DHIDYKXJ.js → chunk-3LWB5SGT.js} +1781 -1719
- package/dist/{chunk-7FSH3ABG.js → chunk-57A5HFXL.js} +4 -4
- package/dist/{chunk-EF7ZZKA3.js → chunk-5K7U6UXA.js} +3 -3
- package/dist/{chunk-WIQEPAUG.js → chunk-5S5O3V5G.js} +11 -10
- package/dist/{chunk-MTHLTFG4.js → chunk-5VLAJMQQ.js} +97 -105
- package/dist/{chunk-MI6L5CEA.js → chunk-5WMHGTVL.js} +2 -2
- package/dist/{chunk-NVVW3MWJ.js → chunk-6IJORN3N.js} +9 -9
- package/dist/{chunk-OMCM3MHS.js → chunk-7GSR2AW5.js} +10 -9
- package/dist/{chunk-WG62RHZ2.js → chunk-7MJT6LHU.js} +14 -4
- package/dist/{chunk-DDBE2VLT.js → chunk-A3OFIREH.js} +2 -2
- package/dist/{chunk-ZGWXLG5X.js → chunk-BNBEFI2M.js} +66 -76
- package/dist/{chunk-7RPHIJT3.js → chunk-C7L4BBGD.js} +4 -4
- package/dist/{chunk-2ICPO4UM.js → chunk-CZXRZEV4.js} +16 -14
- package/dist/{chunk-PVPJAGWR.js → chunk-EOZLBW5E.js} +2 -2
- package/dist/{chunk-U5KGV63C.js → chunk-EZJH7ED5.js} +1 -1
- package/dist/{chunk-RL52LSTV.js → chunk-F3X2KHP4.js} +1 -1
- package/dist/{chunk-Q3C7TQ2M.js → chunk-FNWUCFVO.js} +3 -3
- package/dist/chunk-FQVIQOV5.js +163 -0
- package/dist/{chunk-LP4APBBQ.js → chunk-FZ7U3GZI.js} +1 -1
- package/dist/{chunk-MBMZEIOG.js → chunk-G5SVCJCT.js} +38 -51
- package/dist/{chunk-62DQXVPO.js → chunk-HDTS5AS5.js} +26 -7
- package/dist/{chunk-WC5HHPPM.js → chunk-HRJJKZGM.js} +1 -1
- package/dist/chunk-I7OMW4RJ.js +87 -0
- package/dist/{chunk-TQURLRHD.js → chunk-IL67WXRA.js} +1 -1
- package/dist/{chunk-QDEH776O.js → chunk-KBBBQCYV.js} +179 -20
- package/dist/{chunk-KUFIFCB4.js → chunk-KDGUQYYY.js} +1 -1
- package/dist/{chunk-IRRR3PWN.js → chunk-KQD4DYEP.js} +68 -35
- package/dist/{chunk-JBEWFFOK.js → chunk-LIIGX2XX.js} +1 -1
- package/dist/{chunk-IVBMHEPK.js → chunk-LX33FMTS.js} +23 -36
- package/dist/{chunk-HPINJGBO.js → chunk-METH7J6V.js} +13 -12
- package/dist/{chunk-N6BUYKF3.js → chunk-MLE6MKPY.js} +7 -7
- package/dist/{chunk-3CZXUKLG.js → chunk-MRDORR5Z.js} +8 -1
- package/dist/{chunk-6IHXVT5H.js → chunk-NSISYP6D.js} +1 -1
- package/dist/{chunk-P72Y5ZBH.js → chunk-O2IYZBX6.js} +15 -26
- package/dist/{chunk-TSAUBRRU.js → chunk-P7GPT4XL.js} +1 -1
- package/dist/{chunk-F5XCJ6UV.js → chunk-PA37GH3T.js} +33 -58
- package/dist/{chunk-BACYVEE6.js → chunk-QC6DSC4D.js} +2 -2
- package/dist/{chunk-ZVH6EB7S.js → chunk-QKRWXA5W.js} +1 -1
- package/dist/{chunk-D6C32XHS.js → chunk-QQPLW3ZX.js} +17359 -12634
- package/dist/chunk-QQPLW3ZX.js.LEGAL.txt +59 -0
- package/dist/{chunk-N4OXAS3A.js → chunk-R22FWLXU.js} +1 -1
- package/dist/{chunk-7HGFEQSD.js → chunk-R7UJIPJA.js} +5 -5
- package/dist/{chunk-NW3DH7IK.js → chunk-RAHBWFWV.js} +8457 -2726
- package/dist/{chunk-O5JHHRFN.js → chunk-RMV6IZ2C.js} +32 -116
- package/dist/{chunk-Z6AY5VOZ.js → chunk-RQIN5JYO.js} +9 -6
- package/dist/{chunk-Q5E4ZL2R.js → chunk-S2UG5HD6.js} +1 -1
- package/dist/{chunk-U3TEC52G.js → chunk-S637DPAG.js} +1 -1
- package/dist/chunk-S6KM4DOB.js +37 -0
- package/dist/{chunk-MPDKZVHT.js → chunk-SVX46YXY.js} +1 -3
- package/dist/{chunk-XTUSLUQ7.js → chunk-TLDULBKV.js} +70 -24
- package/dist/{chunk-L5WGVYXM.js → chunk-UFE7IMKQ.js} +2 -2
- package/dist/{chunk-ZUWBEV2O.js → chunk-UQHUYEFW.js} +1 -1
- package/dist/{chunk-XM27UVWN.js → chunk-V7WOX4O7.js} +3 -3
- package/dist/{chunk-W7LEYYFH.js → chunk-WJAHXDL4.js} +41 -32
- package/dist/{chunk-6GUJQURI.js → chunk-WLTE6OJM.js} +2 -2
- package/dist/{chunk-BG2KGLIA.js → chunk-WMZAJ7XA.js} +2 -2
- package/dist/chunk-WOLKTL4F.js +32 -0
- package/dist/{chunk-H5CAHDII.js → chunk-WQHOXPLV.js} +51929 -50256
- package/dist/{chunk-EUT45AKW.js → chunk-YODV42KQ.js} +25 -32
- package/dist/{chunk-FCAIYPDJ.js → chunk-ZFFWWZIA.js} +2 -2
- package/dist/{chunk-376GN4PB.js → chunk-ZTG7VIGB.js} +173 -79
- package/dist/{chunk-O6FDXE54.js → chunk-ZVUAJ7UV.js} +25 -36
- package/dist/daemon.js +15 -15
- package/dist/ext-frame/base.css +1 -1
- package/dist/extension-assets/atlassian/docs/confluence-writing.md +5 -5
- package/dist/extension-assets/diagram/bundle.js +3 -0
- package/dist/git-isolated-reader-helper.js +1 -1
- package/dist/main.js +57 -128
- package/dist/quick-script-docs/runtime/artifacts.md +11 -0
- package/dist/quick-script-docs/runtime/documents.md +21 -12
- package/dist/quick-script-docs/runtime/editing.md +44 -0
- package/dist/quick-script-docs/runtime/images.md +1 -1
- package/dist/sandbox-libraries/credential-runtime.js +3 -0
- package/dist/sandbox-libraries/extension-runtime.js +3 -0
- package/dist/web/assets/AsyncBashCenterHost-BlxXoXd6.js +2 -0
- package/dist/web/assets/{ConversationListItem-CCaGnyA1.js → ConversationListItem-DfSMoYfe.js} +3 -3
- package/dist/web/assets/{ConversationsWorkbenchPanel-DLM3saY5.js → ConversationsWorkbenchPanel-BOIMwRZx.js} +1 -1
- package/dist/web/assets/{DiscoverCenterHost-DVNL8uZQ.js → DiscoverCenterHost-Bi6audxE.js} +1 -1
- package/dist/web/assets/{ExtensionPageCenterHost-CHKg6c3M.js → ExtensionPageCenterHost-DEg-LHcU.js} +1 -1
- package/dist/web/assets/FileCenterComposedHost-CPwzMZI9.js +1 -0
- package/dist/web/assets/FilesWorkbenchPanel-DnKQd6QC.js +12 -0
- package/dist/web/assets/{GitDiffCenterHost-DmtKqHer.js → GitDiffCenterHost-DtsFPa1z.js} +1 -1
- package/dist/web/assets/{GitWorkbenchPanel-BmyMyvL8.js → GitWorkbenchPanel-BfJKdIkE.js} +1 -1
- package/dist/web/assets/LaunchCenterHost-C5Bd9ELF.js +1 -0
- package/dist/web/assets/LaunchConfigurationNotice-Dp3rBKil.js +1 -0
- package/dist/web/assets/LaunchOutputPane-BuCSQcxg.js +2 -0
- package/dist/web/assets/LaunchesWorkbenchPanel-CMd3Xcbp.js +1 -0
- package/dist/web/assets/{LogsCenterHost-CdqD6zH8.js → LogsCenterHost-Be6EbsrZ.js} +1 -1
- package/dist/web/assets/{MermaidCenterHost-BjwJLU-2.js → MermaidCenterHost-BdQ8CGeb.js} +1 -1
- package/dist/web/assets/MobileFilesBody-C1q-YRaD.js +1 -0
- package/dist/web/assets/MobileFilesHost-DK769osZ.js +1 -0
- package/dist/web/assets/MobileLaunchOutputHost-BLDX3-Tn.js +1 -0
- package/dist/web/assets/MobileLaunchesHost-Dv2gfOEY.js +2 -0
- package/dist/web/assets/{MobileNoteEditorHost-lfAeMVH9.js → MobileNoteEditorHost-ZRzzwCYD.js} +1 -1
- package/dist/web/assets/{MobileNotesHost-DOi0goPc.js → MobileNotesHost-COOtVfAp.js} +2 -2
- package/dist/web/assets/MobileSettingsHost-BU2lCcG2.js +2 -0
- package/dist/web/assets/{MobileSettingsPageHost-CtpUzfVG.js → MobileSettingsPageHost-BC5LOq7Y.js} +1 -1
- package/dist/web/assets/{NotesWorkbenchPanel-CsbMYHAw.js → NotesWorkbenchPanel-BiTDbfjj.js} +1 -1
- package/dist/web/assets/{PullRequestCenterHost-B22Ua7bA.js → PullRequestCenterHost-DV3V3yxm.js} +1 -1
- package/dist/web/assets/{PullRequestsWorkbenchPanel-DOIHvZ6H.js → PullRequestsWorkbenchPanel-Dpvt9W-q.js} +1 -1
- package/dist/web/assets/SearchWorkbenchPanel-Bfj8fwPg.js +1 -0
- package/dist/web/assets/SettingsCenterHost-sHWZehrB.js +1 -0
- package/dist/web/assets/SystemPromptCenterHost-CA9i8UbB.js +2 -0
- package/dist/web/assets/{ThemePreviewPicker-B_DTUsui.js → ThemePreviewPicker-PySjP6aS.js} +1 -1
- package/dist/web/assets/adapters-fVomUv3-.js +1 -0
- package/dist/web/assets/agent-profiles.svelte-CenutfXA.js +1 -0
- package/dist/web/assets/appearance.svelte-BKxiMJ3c.js +1 -0
- package/dist/web/assets/center-tabs.svelte-i0d5hUO3.js +2 -0
- package/dist/web/assets/{channel-CxF1CmEY.js → channel-DB8mSlhP.js} +2 -2
- package/dist/web/assets/{client-CVZRorEj.js → client-DHxa8CWS.js} +1 -1
- package/dist/web/assets/code-CsVM8hq8.js +7 -0
- package/dist/web/assets/conversation-activity-CZJfUGoL.js +1 -0
- package/dist/web/assets/conversation-connection-CaV3KY7Z.js +1 -0
- package/dist/web/assets/discover-Do0oQbdF.js +4 -0
- package/dist/web/assets/{dist-HTsJAisd.js → dist-B887qHIr.js} +1 -1
- package/dist/web/assets/{dist-CDM0qUmO.js → dist-Bg8Vm0DE.js} +1 -1
- package/dist/web/assets/{dist-BVmTdBxj.js → dist-C2z70795.js} +1 -1
- package/dist/web/assets/{dist-EmwCDpCc.js → dist-CcBabmlO.js} +1 -1
- package/dist/web/assets/{dist-DkQMSgZ5.js → dist-HSfz5y1D.js} +1 -1
- package/dist/web/assets/{dist-DZN4bTV3.js → dist-HUxdivoH.js} +1 -1
- package/dist/web/assets/{dist-BWsookwC.js → dist-wvfFRict.js} +1 -1
- package/dist/web/assets/{easing-DfoPn4-z.js → easing-B6dSt4eu.js} +1 -1
- package/dist/web/assets/empty-CtUlV5QU.js +1 -0
- package/dist/web/assets/eraser-B8qFMviR.js +1 -0
- package/dist/web/assets/{extension-themes.svelte-BAce41Wm.js → extension-themes.svelte-nXDPOl_E.js} +2 -2
- package/dist/web/assets/{file-tabs.svelte-CaZRhyw0.js → file-tabs.svelte-BxCAtif2.js} +2 -2
- package/dist/web/assets/files-DcUCbPX1.js +156 -0
- package/dist/web/assets/{files-dFQS0tcX.css → files-N9JiAfxr.css} +1 -1
- package/dist/web/assets/filesystem-9b72Tdkw.js +1 -0
- package/dist/web/assets/floating-toolbar-Cqtfs8M7.js +1 -0
- package/dist/web/assets/{git-store.svelte-DkeLA_WZ.js → git-store.svelte-DIVFeLGG.js} +1 -1
- package/dist/web/assets/{icon-action-efe9ZEWq.js → icon-action-C9h3TdBz.js} +1 -1
- package/dist/web/assets/index-6mIS-NWJ.js +165 -0
- package/dist/web/assets/index-D2aeJHnc.css +1 -0
- package/dist/web/assets/launches-Dafgn_my.js +5 -0
- package/dist/web/assets/launches.api-ZZ-IwIQ_.js +1 -0
- package/dist/web/assets/log-view-Dqspnrs0.js +1 -0
- package/dist/web/assets/{logs.api-gZ2mVC9q.js → logs.api-BxN21LL0.js} +1 -1
- package/dist/web/assets/{maintenance-state.svelte-xMmmI9yr.js → maintenance-state.svelte-BAKtNG-i.js} +2 -2
- package/dist/web/assets/menu-icons-tnCN992t.js +1 -0
- package/dist/web/assets/{mermaid-ACpEwsfj.js → mermaid-DL5xfcqL.js} +1 -1
- package/dist/web/assets/mobile-launch-rows-DR6V5AUH.js +1 -0
- package/dist/web/assets/page-tabs.svelte-wduGZwmi.js +4 -0
- package/dist/web/assets/panel-BW0llJiU.js +1 -0
- package/dist/web/assets/popover-panel-DO5nPkvA.js +4 -0
- package/dist/web/assets/pr-view-loader.svelte-RSHgeFYM.js +1 -0
- package/dist/web/assets/progress-CRuzrJQt.js +1 -0
- package/dist/web/assets/{scratch-notes-state.svelte-rBeSOn4h.js → scratch-notes-state.svelte-BcqgnE6z.js} +1 -1
- package/dist/web/assets/{scratch-notes.api-Co80EGtL.js → scratch-notes.api-D9wtv1Mn.js} +1 -1
- package/dist/web/assets/settings-CKsESd2i.js +1 -0
- package/dist/web/assets/settings-Crny2xGb.js +1 -0
- package/dist/web/assets/settings-scope-BiY5kIdC.js +35 -0
- package/dist/web/assets/shell-BiZy0tcZ.js +1 -0
- package/dist/web/assets/shell-layout.svelte-9B3T60gv.js +2 -0
- package/dist/web/assets/{lock-open-BBTCOUg5.js → tag-Bp1l7psd.js} +1 -1
- package/dist/web/assets/time-egBWJGDu.js +1 -0
- package/dist/web/assets/views-Bl6CiPE0.js +2 -0
- package/dist/web/assets/{workbench-connection-Gsy9bIuP.js → workbench-connection-CyMud_mZ.js} +1 -1
- package/dist/web/assets/{workspace-CUoFFOwJ.js → workspace-V-yCOfn1.js} +1 -1
- package/dist/web/assets/workspace-actions.svelte-D8-Agx2d.js +1 -0
- package/dist/web/assets/{workspace-selectors.svelte-D-EQR_-Z.js → workspace-selectors.svelte-DQ1mQdvX.js} +2 -2
- package/dist/web/index.html +47 -48
- package/dist/web/sw.js +1 -1
- package/dist/worker.js +14 -14
- package/package.json +7 -7
- package/dist/builtin/configure-nerve/guide/collaboration.md +0 -15
- package/dist/builtin/configure-nerve/scripts/nerve-version.json +0 -1
- package/dist/chunk-D6C32XHS.js.LEGAL.txt +0 -25
- package/dist/chunk-RJR7DJJK.js +0 -32
- package/dist/chunk-UVRULOOP.js +0 -35
- package/dist/quick-script-docs/runtime/files.md +0 -11
- package/dist/web/assets/AsyncBashCenterHost-DldW4utc.js +0 -2
- package/dist/web/assets/FileCenterComposedHost-kxFWeFmP.js +0 -1
- package/dist/web/assets/FilesWorkbenchPanel-BxjUf50f.js +0 -12
- package/dist/web/assets/LaunchCenterHost-1xrIDf73.js +0 -1
- package/dist/web/assets/LaunchConfigurationNotice-BfRdIOv0.js +0 -1
- package/dist/web/assets/LaunchesWorkbenchPanel-BhCyWFHf.js +0 -1
- package/dist/web/assets/LogStream-C70iQmUI.css +0 -1
- package/dist/web/assets/LogStream-CibF_jgC.js +0 -1
- package/dist/web/assets/MobileFilesBody-4bLT2m0j.js +0 -1
- package/dist/web/assets/MobileFilesHost-X_0r4Z16.js +0 -1
- package/dist/web/assets/MobileLaunchOutputHost-BEchaBtD.js +0 -1
- package/dist/web/assets/MobileLaunchesHost-S7Z3DySI.js +0 -2
- package/dist/web/assets/MobileSettingsHost-94-sABuO.js +0 -2
- package/dist/web/assets/SearchWorkbenchPanel-CKccBrNr.js +0 -1
- package/dist/web/assets/SettingsCenterHost-BM-xIy5S.js +0 -1
- package/dist/web/assets/SystemPromptCenterHost-VL4DXNId.js +0 -1
- package/dist/web/assets/adapters-CbIIxNp9.js +0 -1
- package/dist/web/assets/agent-profiles.svelte-8LAIYKmb.js +0 -1
- package/dist/web/assets/appearance.svelte-CLR_fMAx.js +0 -1
- package/dist/web/assets/center-tabs.svelte-BCriw5Eu.js +0 -1
- package/dist/web/assets/code-H_8FkG35.js +0 -7
- package/dist/web/assets/conversation-activity-Dl7udunb.js +0 -1
- package/dist/web/assets/conversation-connection-B226pY9T.js +0 -1
- package/dist/web/assets/discover-DTlfL84I.js +0 -4
- package/dist/web/assets/empty-B8eEKvqc.js +0 -1
- package/dist/web/assets/file-code-CMYYNL9l.js +0 -1
- package/dist/web/assets/files-eAvb-uRC.js +0 -48
- package/dist/web/assets/filesystem-CmkTuQNl.js +0 -1
- package/dist/web/assets/floating-toolbar-BwJ2tdsN.js +0 -1
- package/dist/web/assets/index-CH1Mvlxk.css +0 -1
- package/dist/web/assets/index-DNfABG4x.js +0 -172
- package/dist/web/assets/launches-ZxeZFPI8.js +0 -5
- package/dist/web/assets/launches.api-BEsX6AKZ.js +0 -1
- package/dist/web/assets/launches.svelte-QFDoCgug.js +0 -2
- package/dist/web/assets/menu-icons-C24r3TCF.js +0 -1
- package/dist/web/assets/mobile-launch-rows-Ci7ldwx6.js +0 -1
- package/dist/web/assets/page-tabs.svelte-VZp38ac7.js +0 -4
- package/dist/web/assets/panel-DEG1zXHj.js +0 -1
- package/dist/web/assets/popover-panel-B1cUdhY5.js +0 -5
- package/dist/web/assets/pr-view-loader.svelte-CZfxwzwL.js +0 -1
- package/dist/web/assets/progress-D2Cb6vK_.js +0 -1
- package/dist/web/assets/settings-B_ed0eye.js +0 -1
- package/dist/web/assets/settings-Dzj6Az_d.js +0 -1
- package/dist/web/assets/settings-scope-BjQBgG9v.js +0 -33
- package/dist/web/assets/shell-CbR1KanT.js +0 -1
- package/dist/web/assets/shell-layout.svelte-D5u4i1UJ.js +0 -2
- package/dist/web/assets/time-DqcZ_PFK.js +0 -1
- package/dist/web/assets/views-D4ociG21.js +0 -2
- package/dist/web/assets/workspace-actions.svelte-BMp3D2e1.js +0 -1
- /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/create-extension.mjs +0 -0
- /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/install-extension.mjs +0 -0
- /package/dist/builtin/configure-nerve/{scripts → reference/extensions/scripts}/upgrade-extension.mjs +0 -0
- /package/dist/builtin/configure-nerve/{reference/writing-for-agents.md → writing-for-agents.md} +0 -0
- /package/dist/{chunk-H5CAHDII.js.LEGAL.txt → chunk-WQHOXPLV.js.LEGAL.txt} +0 -0
package/THIRD-PARTY-LICENSES.txt
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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@
|
|
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.
|
|
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
|
|
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 `
|
|
14
|
-
- **The mechanism itself is open** ("it keeps forgetting our conventions", "I want a reviewer"): pick candidates from the table below
|
|
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-
|
|
44
|
-
| Extensions | `<home>/agent/extensions/<id>/` | `<project>/.nerve/extensions/<id>/` (user consents) | ask; recommend user for a personal one | `
|
|
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 `
|
|
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
|
-
-
|
|
58
|
-
- Any edit
|
|
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` (`
|
|
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-
|
|
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
|
|
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 (`
|
|
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
|
|
@@ -45,3 +45,5 @@ export { PanelSplit, emptyPanelSplitLayout, } from "./ui-kit/components/composit
|
|
|
45
45
|
export { PageView, PageHeader, PageSection, FieldRow, ToggleRow, PageList, PageItem, PageEmptyState, PageStatGrid, } from "./ui-kit/components/composites/page/index.js";
|
|
46
46
|
export { FloatingLayer, FloatingToolbar, FloatingToolbarGroup, FloatingToolbarButton, FloatingToolbarText, FloatingPanel, FloatingNotice, } from "./ui-kit/components/composites/floating-toolbar/index.js";
|
|
47
47
|
export { default as FloatingToolbarMenu } from "./floating-toolbar-menu.svelte";
|
|
48
|
+
export { LogView, createLogWindow, } from "./ui-kit/components/composites/log-view/index.js";
|
|
49
|
+
export type { LogAfterPage, LogLine, LogPage, LogSource, LogWindow, LogWindowClock, LogWindowOptions, LogWindowSnapshot, } from "./ui-kit/components/composites/log-view/index.js";
|
|
@@ -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
|
|
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;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default, default as LogView } from "./log-view.svelte";
|
|
2
|
+
export type { LogAfterPage, LogLine, LogPage, LogSource, } from "./log-source.js";
|
|
3
|
+
export { createLogWindow, type LogWindow, type LogWindowClock, type LogWindowOptions, type LogWindowSnapshot, } from "./log-window.js";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/** One output line. `key` is unique and stable while the source exists. */
|
|
2
|
+
export type LogLine = {
|
|
3
|
+
key: string;
|
|
4
|
+
text: string;
|
|
5
|
+
ts?: string;
|
|
6
|
+
stream?: "stdout" | "stderr";
|
|
7
|
+
level?: "info" | "warn" | "error";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* A page of consecutive lines, oldest first. Cursors are opaque to the window:
|
|
11
|
+
* sequence numbers, byte offsets or provider tokens all fit.
|
|
12
|
+
*/
|
|
13
|
+
export type LogPage = {
|
|
14
|
+
lines: readonly LogLine[];
|
|
15
|
+
/** Cursor for the lines before this page's first line; `null`: none. */
|
|
16
|
+
before: string | null;
|
|
17
|
+
/** Cursor for the lines after this page's last line. */
|
|
18
|
+
after: string;
|
|
19
|
+
/** Older output existed but was discarded. */
|
|
20
|
+
truncated?: boolean;
|
|
21
|
+
};
|
|
22
|
+
/** A page of `after`. */
|
|
23
|
+
export type LogAfterPage = LogPage & {
|
|
24
|
+
/** More lines are already available after `after`; fetch them now. */
|
|
25
|
+
more: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A line-oriented log the window pages through. Each method returns at most
|
|
29
|
+
* `limit` lines. A source may return a line again with the same key and new
|
|
30
|
+
* text (an unterminated last line that grew); the window replaces it.
|
|
31
|
+
*/
|
|
32
|
+
export interface LogSource {
|
|
33
|
+
/** The newest lines. */
|
|
34
|
+
tail(limit: number): Promise<LogPage>;
|
|
35
|
+
/** Lines immediately before `cursor`, newest last. */
|
|
36
|
+
before(cursor: string, limit: number): Promise<LogPage>;
|
|
37
|
+
/** Lines from `cursor` on. */
|
|
38
|
+
after(cursor: string, limit: number): Promise<LogAfterPage>;
|
|
39
|
+
/** Push hint that new lines exist. Without it the window polls. */
|
|
40
|
+
subscribe?(notify: () => void): () => void;
|
|
41
|
+
/** Whether the source can still grow (a running process). */
|
|
42
|
+
live(): boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
import type { LogWindow } from "./log-window.js";
|
|
3
|
+
type Props = {
|
|
4
|
+
/** The window to show, from `createLogWindow(source)`. The caller disposes it. */
|
|
5
|
+
logs: LogWindow;
|
|
6
|
+
/** Identity of the log; scopes the persisted row-height cache. */
|
|
7
|
+
scopeKey: string;
|
|
8
|
+
/** Accessible name of the log region. */
|
|
9
|
+
ariaLabel: string;
|
|
10
|
+
/** Shown above the first line once the start of the output is loaded. */
|
|
11
|
+
command?: string;
|
|
12
|
+
/** Shown when the log has no lines. Defaults to "No output yet.". */
|
|
13
|
+
emptyLabel?: string;
|
|
14
|
+
/** Keeps the window live; false pauses push and polling (hidden pane). */
|
|
15
|
+
active?: boolean;
|
|
16
|
+
/** Floating controls (a `FloatingToolbar`) in the top-end corner. */
|
|
17
|
+
topEnd?: Snippet;
|
|
18
|
+
};
|
|
19
|
+
/** Terminal-style view of a `LogWindow`: virtualized wrapping lines with ANSI colours, anchored to the end. It follows new output only while scrolled to the end, loads earlier output near the top and offers jump to latest. While mounted, active and the page is visible it keeps the window live (push or polling). */
|
|
20
|
+
declare const LogView: import("svelte").Component<Props, {}, "">;
|
|
21
|
+
type LogView = ReturnType<typeof LogView>;
|
|
22
|
+
export default LogView;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { LogLine, LogSource } from "./log-source.js";
|
|
2
|
+
/** What a view renders; replaced (never mutated) on every change. */
|
|
3
|
+
export type LogWindowSnapshot = {
|
|
4
|
+
/** Loaded lines, oldest first. */
|
|
5
|
+
readonly lines: readonly LogLine[];
|
|
6
|
+
/** A tail has been loaded at least once. */
|
|
7
|
+
readonly loaded: boolean;
|
|
8
|
+
/** The tail is being (re)loaded. */
|
|
9
|
+
readonly loading: boolean;
|
|
10
|
+
/** Older lines can be paged in. */
|
|
11
|
+
readonly hasMoreBefore: boolean;
|
|
12
|
+
/** Older output was discarded by the source and cannot be loaded. */
|
|
13
|
+
readonly truncated: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The window holds the newest lines and keeps appending new ones. Paging
|
|
16
|
+
* back past the line cap gives up the newest lines and stops following
|
|
17
|
+
* until `jumpToLatest`.
|
|
18
|
+
*/
|
|
19
|
+
readonly following: boolean;
|
|
20
|
+
readonly loadingEarlier: boolean;
|
|
21
|
+
/** Loading older lines failed; `loadEarlier` retries. */
|
|
22
|
+
readonly earlierError?: string;
|
|
23
|
+
/** Loading the tail or newer lines failed; `jumpToLatest` retries. */
|
|
24
|
+
readonly error?: string;
|
|
25
|
+
};
|
|
26
|
+
/** Timer functions of the window's polling; replaced by fake timers in tests. */
|
|
27
|
+
export type LogWindowClock = {
|
|
28
|
+
setTimeout(callback: () => void, delayMs: number): unknown;
|
|
29
|
+
clearTimeout(handle: unknown): void;
|
|
30
|
+
};
|
|
31
|
+
/** Tuning of a window; every field has a default. */
|
|
32
|
+
export type LogWindowOptions = {
|
|
33
|
+
/** Lines per request. Defaults to 500. */
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
/** Upper bound of loaded lines. Defaults to 5000. */
|
|
36
|
+
maxLines?: number;
|
|
37
|
+
/** Poll interval for live sources without `subscribe`. Defaults to 1000. */
|
|
38
|
+
pollMs?: number;
|
|
39
|
+
/** Polls back off up to this interval while nothing arrives. Defaults to 8 × `pollMs`. */
|
|
40
|
+
maxPollMs?: number;
|
|
41
|
+
clock?: LogWindowClock;
|
|
42
|
+
};
|
|
43
|
+
/** The state and actions behind a `LogView`; create it with `createLogWindow`. */
|
|
44
|
+
export interface LogWindow {
|
|
45
|
+
readonly snapshot: LogWindowSnapshot;
|
|
46
|
+
subscribe(listener: (snapshot: LogWindowSnapshot) => void): () => void;
|
|
47
|
+
/**
|
|
48
|
+
* Whether a view shows the window. The first activation loads the tail;
|
|
49
|
+
* later ones catch up. Push subscriptions and polling run only while active.
|
|
50
|
+
*/
|
|
51
|
+
setActive(active: boolean): void;
|
|
52
|
+
/**
|
|
53
|
+
* The reader scrolled away from the end. While held, new lines are appended
|
|
54
|
+
* only while they fit under the cap, so the lines being read are never
|
|
55
|
+
* trimmed; releasing catches up, or reloads the tail if lines were held back.
|
|
56
|
+
*/
|
|
57
|
+
hold(held: boolean): void;
|
|
58
|
+
/** Pages in older lines. Never rejects; failures land in `earlierError`. */
|
|
59
|
+
loadEarlier(): Promise<void>;
|
|
60
|
+
/** Catches up while following; otherwise (or after an error) reloads the tail. */
|
|
61
|
+
jumpToLatest(): Promise<void>;
|
|
62
|
+
/** Reloads the tail and follows it. */
|
|
63
|
+
reload(): Promise<void>;
|
|
64
|
+
/** Requests a catch-up with newer lines (coalesced). */
|
|
65
|
+
refresh(): void;
|
|
66
|
+
dispose(): void;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Headless window over a {@link LogSource}: initial tail, earlier pages,
|
|
70
|
+
* coalesced catch-up loops, dedupe by key and a line cap.
|
|
71
|
+
*
|
|
72
|
+
* Lines are kept in segments, one per page, each remembering the cursor before
|
|
73
|
+
* its first line, so trimming whole segments always leaves a cursor to page
|
|
74
|
+
* back from. Every reload starts a new generation; responses of older
|
|
75
|
+
* generations are dropped.
|
|
76
|
+
*/
|
|
77
|
+
export declare function createLogWindow(source: LogSource, options?: LogWindowOptions): LogWindow;
|
|
@@ -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;
|