braian 0.0.4 → 0.0.7
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/README.md +31 -7
- package/bin/braian.mjs +339 -60
- package/bin/launch-target.mjs +15 -27
- package/bin/node-version.mjs +72 -0
- package/bin/run-state.mjs +203 -0
- package/dist/agent/graph-agent.service.js +43 -0
- package/dist/app.module.js +4 -0
- package/dist/auth/auth.controller.js +2 -2
- package/dist/auth/auth.guard.js +34 -5
- package/dist/auth/auth.module.js +13 -2
- package/dist/auth/auth.service.js +8 -2
- package/dist/auth/link-route-policies.js +267 -0
- package/dist/auth/link-route-policy.js +27 -0
- package/dist/auth/vault-access-denied.filter.js +30 -0
- package/dist/auth/vault-access.interceptor.js +45 -0
- package/dist/auth/vault-link-principal.js +15 -0
- package/dist/auth/vault-link-sessions.service.js +186 -0
- package/dist/bootstrap.js +9 -1
- package/dist/collab/collab.service.js +12 -2
- package/dist/desktop/exposure.js +7 -1
- package/dist/entity/entity.controller.js +9 -1
- package/dist/events/vault-events.service.js +17 -4
- package/dist/files/dto/vault-files.dto.js +113 -6
- package/dist/files/file-url-signer.js +37 -11
- package/dist/files/files-http-error.js +1 -1
- package/dist/files/vault-file-archive.service.js +19 -4
- package/dist/files/vault-file-content.controller.js +29 -1
- package/dist/files/vault-file-content.service.js +18 -2
- package/dist/http/api-controllers.js +12 -0
- package/dist/http/log-redaction.js +23 -0
- package/dist/http/published-page-address.js +58 -0
- package/dist/http/request-guards.js +51 -1
- package/dist/http/security-headers.js +2 -1
- package/dist/http/vault-http-error.js +4 -1
- package/dist/http/web-app-fallback.js +37 -0
- package/dist/journal/active-journal.dto.js +4 -3
- package/dist/logging/logging.middleware.js +3 -1
- package/dist/main.js +3 -0
- package/dist/mcp/mcp-path.js +12 -0
- package/dist/mcp/mcp-settings.controller.js +78 -0
- package/dist/mcp/mcp.controller.js +147 -0
- package/dist/mcp/mcp.dto.js +53 -0
- package/dist/mcp/mcp.module.js +20 -0
- package/dist/mcp/mcp.service.js +117 -0
- package/dist/navigation/navigation.service.js +16 -1
- package/dist/providers/claude-messages-model.js +2 -2
- package/dist/providers/model-provider.service.js +74 -11
- package/dist/providers/provider-catalog-storage.js +4 -3
- package/dist/providers/provider-model-catalog.js +46 -0
- package/dist/providers/provider.controller.js +83 -0
- package/dist/rss/rss-profiles.controller.js +167 -0
- package/dist/rss/rss-profiles.dto.js +512 -0
- package/dist/rss/rss-profiles.service.js +149 -0
- package/dist/rss/rss.module.js +5 -2
- package/dist/search/search-database.service.js +40 -24
- package/dist/search/search-embedding-settings.controller.js +82 -0
- package/dist/search/search-embedding.service.js +33 -28
- package/dist/search/search-index-health.js +1 -1
- package/dist/search/search-sync.service.js +8 -0
- package/dist/search/search.controller.js +34 -54
- package/dist/search/search.module.js +3 -3
- package/dist/sessions/agent-runs.controller.js +3 -3
- package/dist/sessions/dto/graph-session.dto.js +6 -5
- package/dist/sessions/sessions.service.js +33 -1
- package/dist/settings/settings.controller.js +11 -0
- package/dist/settings/settings.dto.js +29 -24
- package/dist/settings/settings.service.js +6 -0
- package/dist/shares/share-http-error.js +2 -2
- package/dist/shares/share.dto.js +74 -16
- package/dist/shares/shared-webpage-headers.js +45 -0
- package/dist/shares/shared-webpage.controller.js +179 -0
- package/dist/shares/shares.controller.js +3 -3
- package/dist/shares/shares.module.js +2 -1
- package/dist/shares/shares.service.js +11 -4
- package/dist/sqlite-files/vault-sqlite.service.js +1 -0
- package/dist/vault-access/vault-access.controller.js +73 -0
- package/dist/vault-access/vault-access.dto.js +28 -0
- package/dist/vault-access/vault-access.module.js +19 -0
- package/dist/vault-access/vault-access.service.js +49 -0
- package/dist/vaults/vault.controller.js +61 -0
- package/dist/vaults/vault.dto.js +188 -50
- package/dist/vaults/vaults.module.js +2 -1
- package/dist/vaults/vaults.service.js +58 -2
- package/dist/versioning/versioning.service.js +47 -8
- package/dist/workspace/workspace-config.js +3 -3
- package/node_modules/@braian/ai-providers/dist/index.js +13 -3
- package/node_modules/@braian/ai-providers/dist/jev-routing.js +41 -13
- package/node_modules/@braian/ai-providers/dist/openrouter-catalog.js +57 -0
- package/node_modules/@braian/ai-providers/dist/provider-catalog.js +47 -2
- package/node_modules/@braian/ai-providers/dist/providers-models.js +27 -7
- package/node_modules/@braian/graph-agent/assets/agent-instructions/default/26-schema.md +1 -1
- package/node_modules/@braian/graph-agent/dist/agent-features.js +1 -1
- package/node_modules/@braian/graph-agent/dist/agent-profiles/registry.js +9 -0
- package/node_modules/@braian/graph-agent/dist/agent-profiles/tool-catalog.js +4 -4
- package/node_modules/@braian/graph-agent/dist/agent-runs/run-registry.js +1 -1
- package/node_modules/@braian/graph-agent/dist/auth-registry.js +29 -0
- package/node_modules/@braian/graph-agent/dist/boards/boards-settings.js +20 -0
- package/node_modules/@braian/graph-agent/dist/boards/index.js +5 -0
- package/node_modules/@braian/graph-agent/dist/data-workspace.js +171 -14
- package/node_modules/@braian/graph-agent/dist/demo-vaults.js +348 -0
- package/node_modules/@braian/graph-agent/dist/feature-switch.js +6 -2
- package/node_modules/@braian/graph-agent/dist/files-settings.js +10 -2
- package/node_modules/@braian/graph-agent/dist/graph-agent.js +40 -7
- package/node_modules/@braian/graph-agent/dist/ide/ide-settings.js +58 -0
- package/node_modules/@braian/graph-agent/dist/ide/index.js +6 -0
- package/node_modules/@braian/graph-agent/dist/ide-layout.js +1 -1
- package/node_modules/@braian/graph-agent/dist/index.js +45 -6
- package/node_modules/@braian/graph-agent/dist/journal-reflection.js +2 -1
- package/node_modules/@braian/graph-agent/dist/locked-graph-store.js +11 -2
- package/node_modules/@braian/graph-agent/dist/mcp-tokens.js +62 -0
- package/node_modules/@braian/graph-agent/dist/mentioned-notes-input.js +1 -1
- package/node_modules/@braian/graph-agent/dist/navigation-settings.js +20 -14
- package/node_modules/@braian/graph-agent/dist/note-collab-policy.js +4 -1
- package/node_modules/@braian/graph-agent/dist/note-collab-projection.js +4 -3
- package/node_modules/@braian/graph-agent/dist/note-collab-registry.js +12 -9
- package/node_modules/@braian/graph-agent/dist/note-collab-session.js +2 -1
- package/node_modules/@braian/graph-agent/dist/note-editor/index.js +13 -0
- package/node_modules/@braian/graph-agent/dist/note-editor/note-editor-settings.js +98 -0
- package/node_modules/@braian/graph-agent/dist/note-key-settings.js +34 -2
- package/node_modules/@braian/graph-agent/dist/rss/index.js +45 -1
- package/node_modules/@braian/graph-agent/dist/rss/rss-feed-parse.js +18 -1
- package/node_modules/@braian/graph-agent/dist/rss/rss-profile-model.js +378 -0
- package/node_modules/@braian/graph-agent/dist/rss/rss-profile-store.js +179 -0
- package/node_modules/@braian/graph-agent/dist/rss/rss-profile-test.js +120 -0
- package/node_modules/@braian/graph-agent/dist/rss/rss-profile-use-cases.js +76 -0
- package/node_modules/@braian/graph-agent/dist/rss/rss-settings.js +15 -0
- package/node_modules/@braian/graph-agent/dist/screen-context-input.js +1 -1
- package/node_modules/@braian/graph-agent/dist/secret-masking.js +54 -15
- package/node_modules/@braian/graph-agent/dist/secret-vault.js +48 -3
- package/node_modules/@braian/graph-agent/dist/session-registry.js +3 -2
- package/node_modules/@braian/graph-agent/dist/settings-registry.js +21 -178
- package/node_modules/@braian/graph-agent/dist/settings-reset/index.js +9 -0
- package/node_modules/@braian/graph-agent/dist/settings-reset/settings-reset.js +85 -0
- package/node_modules/@braian/graph-agent/dist/share-edit-references.js +15 -14
- package/node_modules/@braian/graph-agent/dist/share-policy.js +86 -21
- package/node_modules/@braian/graph-agent/dist/share-registry.js +18 -11
- package/node_modules/@braian/graph-agent/dist/share-target-description.js +6 -0
- package/node_modules/@braian/graph-agent/dist/share-use-cases.js +99 -3
- package/node_modules/@braian/graph-agent/dist/share-webpage-links.js +40 -0
- package/node_modules/@braian/graph-agent/dist/shared-dashboard-view.js +2 -1
- package/node_modules/@braian/graph-agent/dist/spotlight-settings.js +2 -15
- package/node_modules/@braian/graph-agent/dist/standalone-pages.js +111 -0
- package/node_modules/@braian/graph-agent/dist/tools.js +4 -2
- package/node_modules/@braian/graph-agent/dist/types.js +7 -0
- package/node_modules/@braian/graph-agent/dist/vault-access/index.js +36 -0
- package/node_modules/@braian/graph-agent/dist/vault-access/vault-access-policy.js +127 -0
- package/node_modules/@braian/graph-agent/dist/vault-access/vault-access-scope.js +60 -0
- package/node_modules/@braian/graph-agent/dist/vault-access/vault-link-features.js +48 -0
- package/node_modules/@braian/graph-agent/dist/vault-access/vault-link-grant.js +47 -0
- package/node_modules/@braian/graph-agent/dist/vault-access/vault-settings-access.js +44 -0
- package/node_modules/@braian/graph-agent/dist/vault-changes.js +3 -0
- package/node_modules/@braian/graph-agent/dist/vault-files.js +73 -14
- package/node_modules/@braian/graph-agent/dist/vault-settings-operations.js +43 -12
- package/node_modules/@braian/graph-agent/dist/vault-settings-registry.js +111 -20
- package/node_modules/@braian/html-standalone/dist/css.js +44 -0
- package/node_modules/@braian/html-standalone/dist/data-uri.js +48 -0
- package/node_modules/@braian/html-standalone/dist/html.js +118 -0
- package/node_modules/@braian/html-standalone/dist/index.js +9 -0
- package/node_modules/@braian/html-standalone/dist/local-reference.js +64 -0
- package/node_modules/@braian/html-standalone/dist/standalone.js +143 -0
- package/node_modules/@braian/html-standalone/package.json +22 -0
- package/node_modules/@braian/sqlite-browser/dist/execute.js +47 -2
- package/node_modules/@braian/vault-fs-sdk/dist/fs-vault-strategy.js +23 -0
- package/node_modules/@braian/vault-fs-sdk/dist/index.js +5 -1
- package/node_modules/@braian/vault-fs-sdk/dist/vault-index.js +5 -0
- package/node_modules/@braian/voice-transcription/dist/transcribe.js +1 -1
- package/package.json +7 -2
- package/public/assets/{ArrowClockwise.es-DWqWLk15.js → ArrowClockwise.es-3-WDmIeI.js} +1 -1
- package/public/assets/{ArrowDown.es-COHGTGu_.js → ArrowDown.es--soRLxEp.js} +1 -1
- package/public/assets/{ArrowLeft.es-Dvz_4AVp.js → ArrowLeft.es-CbZG51Gr.js} +1 -1
- package/public/assets/{ArrowSquareOut.es-ssfQ7LE-.js → ArrowSquareOut.es-yh2fX_Cs.js} +1 -1
- package/public/assets/{ArrowUp.es-DflnZKsA.js → ArrowUp.es-CIIkDrf9.js} +1 -1
- package/public/assets/{ArrowsClockwise.es-DSXy5pW3.js → ArrowsClockwise.es-D0399ubU.js} +1 -1
- package/public/assets/{ArrowsIn.es-B4Aie-uw.js → ArrowsIn.es-B54L_O6A.js} +1 -1
- package/public/assets/Browser.es-BqZU_2qv.js +1 -0
- package/public/assets/Circle.es-j7f1_WI9.js +1 -0
- package/public/assets/{Clock.es-D6bs8ZLR.js → Clock.es-DkUjmG8U.js} +1 -1
- package/public/assets/{Copy.es-CglRiQSZ.js → Copy.es-DfOdr0jv.js} +1 -1
- package/public/assets/CopySimple.es-BBthx5Du.js +1 -0
- package/public/assets/CornersOut.es-Cd9DgMlt.js +1 -0
- package/public/assets/Crosshair.es-9qdLaRA1.js +1 -0
- package/public/assets/{Desktop.es-DVtEXtRb.js → Desktop.es-DSRSg0hy.js} +1 -1
- package/public/assets/{DotsSixVertical.es-B7kGbvvH.js → DotsSixVertical.es-Cg2wLxmG.js} +1 -1
- package/public/assets/{Eye.es-DKoV8w-8.js → Eye.es-CxGbwLRS.js} +1 -1
- package/public/assets/{EyeSlash.es-C_H7lJGL.js → EyeSlash.es-DfTto7s1.js} +1 -1
- package/public/assets/{File.es-47KQbmb4.js → File.es-D3fdUSmS.js} +1 -1
- package/public/assets/FloppyDisk.es-CVEXDdFf.js +1 -0
- package/public/assets/{Folder.es-DKrkcRQj.js → Folder.es-BUMi6qzZ.js} +1 -1
- package/public/assets/{FolderOpen.es-DaW9wv8-.js → FolderOpen.es-FcjULnXZ.js} +1 -1
- package/public/assets/{FolderPlus.es-D0scempH.js → FolderPlus.es-Deuvtys5.js} +1 -1
- package/public/assets/GearSix.es-CWRB8Up2.js +1 -0
- package/public/assets/List.es-C0rMRBfB.js +1 -0
- package/public/assets/{ListBullets.es-DGeupXZ3.js → ListBullets.es-B7JvZb2M.js} +1 -1
- package/public/assets/{LockSimple.es-DiQO6y_F.js → LockSimple.es-D5Ul9U6c.js} +1 -1
- package/public/assets/LockSimpleOpen.es-C2JGRKEE.js +1 -0
- package/public/assets/{MagnifyingGlass.es-CHks7m9E.js → MagnifyingGlass.es-BPnvTl_3.js} +1 -1
- package/public/assets/{Microphone.es-CQat-MJ8.js → Microphone.es-BXBLW9YD.js} +1 -1
- package/public/assets/{Play.es-h1Fhb5wo.js → Play.es-BT5cMJ7L.js} +1 -1
- package/public/assets/{Plus.es-B-svcAlu.js → Plus.es-aakfbgmy.js} +1 -1
- package/public/assets/{Prohibit.es-M5ljYyQ3.js → Prohibit.es-pwiGfWLj.js} +1 -1
- package/public/assets/{QrCode.es-CVlyfpjq.js → QrCode.es-DCPGPGYZ.js} +1 -1
- package/public/assets/ShareNetwork-CTDRol5F.css +1 -0
- package/public/assets/ShareNetwork.es-Do0IWaE9.js +3 -0
- package/public/assets/SidebarSimple.es-UdNMyfL-.js +1 -0
- package/public/assets/{SlidersHorizontal.es-DkPz8o7o.js → SlidersHorizontal.es-957OxRrd.js} +1 -1
- package/public/assets/{TextAa.es-CymAJ91v.js → TextAa.es-8d8-rRe1.js} +1 -1
- package/public/assets/{Trash.es-B7UVM9v_.js → Trash.es-chxTwNhO.js} +1 -1
- package/public/assets/WarningCircle.es-CF4lQ1bU.js +1 -0
- package/public/assets/advanced-security-B_SegWCz.js +1 -0
- package/public/assets/agent-profiles-settings-DZv5BUzj.js +1 -0
- package/public/assets/appearance-settings-module-DlOVkZXP.js +1 -0
- package/public/assets/{ar-SA-G6X2FPQ2-BPq1dwIU.js → ar-SA-G6X2FPQ2-DZP7qz6u.js} +1 -1
- package/public/assets/{attachment-embed-Bt5qCuKC.css → attachment-embed-CJkoG50a.css} +1 -1
- package/public/assets/attachment-embed-DVbcGTLJ.js +1 -0
- package/public/assets/attachments-settings-BuqoRFuK.js +1 -0
- package/public/assets/az-AZ-76LH7QW2-ByX_zd4F.js +1 -0
- package/public/assets/{bg-BG-XCXSNQG7-CpTkmSSX.js → bg-BG-XCXSNQG7-wxiUF1_6.js} +1 -1
- package/public/assets/blue-pgMgVzKw.css +1 -0
- package/public/assets/{bn-BD-2XOGV67Q-BDMEyCuA.js → bn-BD-2XOGV67Q-BBIhV1oq.js} +1 -1
- package/public/assets/{board-workspace-D9prroo0.css → board-workspace-CUeGZca9.css} +1 -1
- package/public/assets/board-workspace-pt2JAfWJ.js +1 -0
- package/public/assets/boards-settings-module-CaOcLdGN.js +1 -0
- package/public/assets/{boards-view-B1B8wHHn.js → boards-view-DEVAYmzH.js} +1 -1
- package/public/assets/{ca-ES-6MX7JW3Y-D0UEot-K.js → ca-ES-6MX7JW3Y-CKplVKfE.js} +1 -1
- package/public/assets/calendar-view-B-w_4BV-.js +1 -0
- package/public/assets/calendar-workspace-BiPYwfJr.js +1 -0
- package/public/assets/{calendars-settings-module-ActBZM9v.js → calendars-settings-module-DuwhjpAm.js} +1 -1
- package/public/assets/card-fields-BJ9YVWI0.css +1 -0
- package/public/assets/{card-fields-nzhTsBAW.js → card-fields-iDvc1GXx.js} +1 -1
- package/public/assets/{chat-composer-editor-CRtsZz3W.js → chat-composer-editor-CPfqqfXn.js} +1 -1
- package/public/assets/chat-message-list-Ds52ru39.js +1 -0
- package/public/assets/chunk-6U3AYISY-C6-Mtja1.js +12 -0
- package/public/assets/{chunk-EIO257PC-CGqfS2j0.js → chunk-EIO257PC-DvUJi4Nw.js} +1 -1
- package/public/assets/chunk-K2UTITRG-ZTIxemJp.js +41 -0
- package/public/assets/chunk-SRAX5OIU-wzfotNc-.js +1 -0
- package/public/assets/chunk-Z3N5DIM6-D9TMVU7m.js +1 -0
- package/public/assets/{code-editor-DnrGU9QQ.js → code-editor-BTcitmHE.js} +1 -1
- package/public/assets/code-editor-DIB7VOIc.css +1 -0
- package/public/assets/{color-picker-Cmg2HIDb.css → color-picker-BV0aOd4w.css} +1 -1
- package/public/assets/color-picker-WHiWktCJ.js +1 -0
- package/public/assets/{contents-view-C6RdJxE2.js → contents-view-DOVe1FVg.js} +1 -1
- package/public/assets/contents-view-XuasBH0m.css +1 -0
- package/public/assets/{conversation-debug-panel-DIjQShXO.js → conversation-debug-panel-C73_GL9P.js} +1 -1
- package/public/assets/{settings-view-6_hMxTXD.css → core-settings-module-DNS3W-dj.css} +1 -1
- package/public/assets/core-settings-module-_wQSD6hP.js +4 -0
- package/public/assets/create-note-popup-B-wM8Q5O.js +1 -0
- package/public/assets/{cs-CZ-2BRQDIVT-DvEBYfBD.js → cs-CZ-2BRQDIVT-CHlJO48i.js} +1 -1
- package/public/assets/{cypher-editor-Cdd9vqJj.js → cypher-editor-M9g--02t.js} +1 -1
- package/public/assets/{da-DK-5WZEPLOC-nBVf9B0e.js → da-DK-5WZEPLOC-B2KbOKlk.js} +1 -1
- package/public/assets/daily-notes-settings-CrgXHhLI.js +1 -0
- package/public/assets/{dashboard-grid-BvlcalWZ.js → dashboard-grid-BZ8kYdV4.js} +2 -2
- package/public/assets/dashboard-workspace-CIhpZ3rj.js +4 -0
- package/public/assets/dashboard-workspace-ChhR6uFw.css +1 -0
- package/public/assets/{dashboards-settings-module-CMkRnuLc.js → dashboards-settings-module-CUyrJjUX.js} +1 -1
- package/public/assets/dashboards-view-CkheD5RG.js +1 -0
- package/public/assets/{de-DE-XR44H4JA-wIoI5uHM.js → de-DE-XR44H4JA-CraH52sB.js} +1 -1
- package/public/assets/{desktop-server-settings-j8RrUDQh.js → desktop-server-settings-CDuPB2R6.js} +1 -1
- package/public/assets/discovery-create-popup-aCpL7caq.js +1 -0
- package/public/assets/discovery-import-popup-qmw9XOW8.js +1 -0
- package/public/assets/{discovery-settings-module-CSz3wdqd.js → discovery-settings-module-BiY4ib2N.js} +1 -1
- package/public/assets/discovery-view-CPYP4CTN.js +1 -0
- package/public/assets/discovery-workspace-COn6jS_C.js +2 -0
- package/public/assets/{dist-tLZONR8L.js → dist-BmY58onI.js} +1 -1
- package/public/assets/drag-preview-i140CAXv.js +1 -0
- package/public/assets/{drawing-note-BZkhWRBb.js → drawing-note-CZIRcZb4.js} +1 -1
- package/public/assets/{el-GR-BZB4AONW-BoxDB0UD.js → el-GR-BZB4AONW-hWxkjrdo.js} +1 -1
- package/public/assets/en-B4ZKOASM-CDD2_KUt.js +1 -0
- package/public/assets/{es-ES-U4NZUMDT-BTF8-J9f.js → es-ES-U4NZUMDT-D3W7yrM9.js} +1 -1
- package/public/assets/{esm-zhVSGSwY.js → esm-BwVJXUDM.js} +1 -1
- package/public/assets/{eu-ES-A7QVB2H4-PqSQa04Y.js → eu-ES-A7QVB2H4-C6t3pMxo.js} +1 -1
- package/public/assets/export-formats-BEyzF7fr.js +1 -0
- package/public/assets/{fa-IR-HGAKTJCU-B03HX6BC.js → fa-IR-HGAKTJCU-DJOOVnVh.js} +1 -1
- package/public/assets/{feature-switch-section-CDTUV6B-.js → feature-switch-section-DWkHmh9Q.js} +1 -1
- package/public/assets/{fi-FI-Z5N7JZ37-D5Rn9AGc.js → fi-FI-Z5N7JZ37-DEhnpOQb.js} +1 -1
- package/public/assets/file-editor-BMcxRFx_.css +1 -0
- package/public/assets/file-editor-WXaKLCia.js +3 -0
- package/public/assets/{file-language-C8bPT8Wh.js → file-language-BAXzYrUs.js} +1 -1
- package/public/assets/file-picker-Bo4sE6ud.css +1 -0
- package/public/assets/file-picker-DalNc5HP.js +1 -0
- package/public/assets/file-preview-B2sjiYV9.css +1 -0
- package/public/assets/file-preview-CBXgB9qm.js +1 -0
- package/public/assets/{file-preview-media-CNZHdx05.js → file-preview-media-D5_7dD-7.js} +1 -1
- package/public/assets/file-references-api-IoK82adM.js +1 -0
- package/public/assets/files-settings-module-DTmzlXAF.js +1 -0
- package/public/assets/files-view-D7awxVSV.js +3 -0
- package/public/assets/files-view-DyPI1vLx.css +1 -0
- package/public/assets/{format-panel-value-DYwL3ttM.js → format-panel-value-Qry4ewBT.js} +1 -1
- package/public/assets/format-rules-BFnbjJsr.js +1 -0
- package/public/assets/{fr-FR-RHASNOE6-BoIuGpVa.js → fr-FR-RHASNOE6-D9pFTuqa.js} +1 -1
- package/public/assets/{gl-ES-HMX3MZ6V-R9gfMkm_.js → gl-ES-HMX3MZ6V-CIK6mfAj.js} +1 -1
- package/public/assets/graph-explorer-DEddRhZU.js +329 -0
- package/public/assets/graph-settings-module-CdwcXpWv.js +1 -0
- package/public/assets/{he-IL-6SHJWFNN-DLh6r8yJ.js → he-IL-6SHJWFNN-sIPLWf4m.js} +1 -1
- package/public/assets/{hi-IN-IWLTKZ5I-DsP1yUVR.js → hi-IN-IWLTKZ5I-BUJucdSj.js} +1 -1
- package/public/assets/{hu-HU-A5ZG7DT2-ttWV7_mJ.js → hu-HU-A5ZG7DT2-B29-4soS.js} +1 -1
- package/public/assets/icons-BQSaMzmI.js +1 -0
- package/public/assets/{id-ID-SAP4L64H-DIFD1Rmb.js → id-ID-SAP4L64H-CyIfHt3t.js} +1 -1
- package/public/assets/ide-settings-module-DmJJdyaW.js +1 -0
- package/public/assets/ide-view-BhQVUYYS.js +1 -0
- package/public/assets/ide-view-Cou_U3E6.css +1 -0
- package/public/assets/image-GAAHSSAO-BxryKUrU.js +1 -0
- package/public/assets/imap-accounts-my6l8ble.js +1 -0
- package/public/assets/index-CfVw4gte.js +9 -0
- package/public/assets/index-CuWXx5Sr.css +1 -0
- package/public/assets/{it-IT-JPQ66NNP-D9CIdJgS.js → it-IT-JPQ66NNP-Dq23HshR.js} +1 -1
- package/public/assets/{ja-JP-DBVTYXUO-CYn7dH3E.js → ja-JP-DBVTYXUO-8NNxRVWb.js} +1 -1
- package/public/assets/journal-create-popup-DsFTus7q.js +1 -0
- package/public/assets/journal-day-route-BX4-KaSl.js +1 -0
- package/public/assets/journal-folder-field-hSCfQuop.js +1 -0
- package/public/assets/journal-page-CoLcbMGG.css +1 -0
- package/public/assets/journal-page-CuUs4DCL.js +2 -0
- package/public/assets/journal-settings-BeM9sz5z.js +1 -0
- package/public/assets/journal-typography-BB4TqmXu.js +1 -0
- package/public/assets/journal-writing-route-Ba7mqWJS.js +1 -0
- package/public/assets/journals-view-Cf89lTyQ.js +1 -0
- package/public/assets/kaa-6HZHGXH3-DWQlZzTI.js +1 -0
- package/public/assets/{kab-KAB-ZGHBKWFO-BnEoO3f6.js → kab-KAB-ZGHBKWFO-BCP7pvXg.js} +1 -1
- package/public/assets/kk-KZ-P5N5QNE5-xOkOQsTw.js +1 -0
- package/public/assets/{km-KH-HSX4SM5Z-DO6DHT6h.js → km-KH-HSX4SM5Z-D0xjNROe.js} +1 -1
- package/public/assets/{ko-KR-MTYHY66A-Ch6OwlXE.js → ko-KR-MTYHY66A-E5aEyLj-.js} +1 -1
- package/public/assets/{ku-TR-6OUDTVRD-C9KHFYbx.js → ku-TR-6OUDTVRD-CDQOo-yR.js} +1 -1
- package/public/assets/link-choices-CRTxLpuA.js +1 -0
- package/public/assets/link-entry-route-C1tWLndS.js +1 -0
- package/public/assets/link-file-browser-RuO2yY0g.js +1 -0
- package/public/assets/{link-kind-icon-r9mUfWOh.js → link-kind-icon-BgeZ5N-E.js} +1 -1
- package/public/assets/link-picker-CWK41zM0.js +2 -0
- package/public/assets/locked-shares-prompt-eH6sWg93.js +1 -0
- package/public/assets/{logging-settings-contribution-C55dtngt.js → logging-settings-contribution-Btq9ioZn.js} +1 -1
- package/public/assets/logic-CiFwn-O5.js +28 -0
- package/public/assets/long-press-C_vMz2E6.js +1 -0
- package/public/assets/{lt-LT-XHIRWOB4-CrK3hZ26.js → lt-LT-XHIRWOB4-CZPudjgc.js} +1 -1
- package/public/assets/{lv-LV-5QDEKY6T-BOA9oRt-.js → lv-LV-5QDEKY6T-BFIvtooB.js} +1 -1
- package/public/assets/markdown-message-BmuXZdEl.js +3 -0
- package/public/assets/markdown-message-CEFw-l9n.css +1 -0
- package/public/assets/markdown-task-toggle-BdNMBrC0.css +1 -0
- package/public/assets/markdown-task-toggle-j4VvSqsD.js +4 -0
- package/public/assets/{matrices-settings-module-DPI1_WsY.js → matrices-settings-module-CoOYPwEU.js} +1 -1
- package/public/assets/matrices-view-CcjCls3L.js +1 -0
- package/public/assets/matrix-workspace-98WdHTfO.js +1 -0
- package/public/assets/{maximize-2-C6N1RKlt.js → maximize-2-BOW9VTPW.js} +1 -1
- package/public/assets/mermaid-diagram-kld9fHwj.js +1 -0
- package/public/assets/{mobile-file-text-B4j-_eP4.js → mobile-file-text-BqyOwF0N.js} +1 -1
- package/public/assets/mobile-note-content-editor-BPxespTd.js +2 -0
- package/public/assets/{mobile-panel-layer-C2OowtdM.js → mobile-panel-layer-CA_yph77.js} +1 -1
- package/public/assets/model-provider-settings-contribution-CECr7FiG.js +1 -0
- package/public/assets/model-providers-Ptlz_trq.js +1 -0
- package/public/assets/move-destination-2AXvBdlJ.js +1 -0
- package/public/assets/move-entries-dialog-BEJJSv8J.js +1 -0
- package/public/assets/{mr-IN-CRQNXWMA-GWTqYMNI.js → mr-IN-CRQNXWMA-DmnSBhlL.js} +1 -1
- package/public/assets/my-MM-5M5IBNSE-DDu4zmzX.js +1 -0
- package/public/assets/{nb-NO-T6EIAALU-DyrWt8fZ.js → nb-NO-T6EIAALU-BLzt9sXj.js} +1 -1
- package/public/assets/{nl-NL-IS3SIHDZ-COWPkkr8.js → nl-NL-IS3SIHDZ-FtFhrALS.js} +1 -1
- package/public/assets/{nn-NO-6E72VCQL-8aH2uP9Y.js → nn-NO-6E72VCQL-B_SymEE5.js} +1 -1
- package/public/assets/note-body-focus-d1lrm6Vw.js +1 -0
- package/public/assets/note-collab-provider-B5sEpjH1.js +1 -0
- package/public/assets/note-collab-transport-HTl4Zdug.js +1 -0
- package/public/assets/note-create-settings-module-iEVdyRFV.js +1 -0
- package/public/assets/{note-documents-DCd2HaSQ.js → note-documents-BPTwtsVi.js} +2 -2
- package/public/assets/note-editor-container-Ct9S4xJq.css +1 -0
- package/public/assets/note-editor-container-DzXoYKkT.js +2 -0
- package/public/assets/note-editor-settings-module-BZalej3y.js +1 -0
- package/public/assets/note-excalidraw-editor-CYHK-nyq.js +118 -0
- package/public/assets/note-excalidraw-editor-DVHMAsgJ.css +1 -0
- package/public/assets/{note-export-api-2u0sbOpc.js → note-export-api-Cdb5DLzA.js} +1 -1
- package/public/assets/note-export-flow-CfLnfRzg.js +1 -0
- package/public/assets/{note-filter-rule-rows-BajgD2k3.js → note-filter-rule-rows-DmVis2Dw.js} +1 -1
- package/public/assets/note-folds-settings-module-DeVre4gm.js +1 -0
- package/public/assets/note-frontmatter-summary-DNdQjzv5.js +1 -0
- package/public/assets/note-history-retention-B5aE8fKh.js +1 -0
- package/public/assets/note-link-list-C2i2SrSh.css +1 -0
- package/public/assets/note-link-list-DD4FzeUb.js +2 -0
- package/public/assets/note-markdown-editor-BlWCUXb9.js +26 -0
- package/public/assets/note-markdown-editor-Dp1k8dWQ.css +1 -0
- package/public/assets/{note-outline-CNoqBtUP.js → note-outline-C-dPTJrB.js} +2 -2
- package/public/assets/note-outline-DTpLzjGU.css +1 -0
- package/public/assets/note-page-content-CZH9UDn0.js +2 -0
- package/public/assets/{note-page-editor-BgcMK_4q.css → note-page-editor-D7Wt_Giv.css} +1 -1
- package/public/assets/{note-page-editor-rhBoxKYB.js → note-page-editor-D8M6gjmG.js} +4 -4
- package/public/assets/note-path-breadcrumb-CLfo-0XG.js +1 -0
- package/public/assets/{note-path-breadcrumb-YC4bHnwX.css → note-path-breadcrumb-Drkebhvm.css} +1 -1
- package/public/assets/{note-picker-BD8rmAOq.js → note-picker-DIFcqGgZ.js} +1 -1
- package/public/assets/note-picker-KBB6aonj.css +1 -0
- package/public/assets/{note-picker-popover-DI9Wc706.js → note-picker-popover-CoT73GG-.js} +1 -1
- package/public/assets/note-shares-popup-CmUAI6V-.js +1 -0
- package/public/assets/note-side-panel-BFno3955.js +1 -0
- package/public/assets/note-side-panel-DLOy2dVw.css +1 -0
- package/public/assets/note-side-panel-host-iIfi_4c4.js +1 -0
- package/public/assets/note-source-editor-CVo_ZXww.js +1 -0
- package/public/assets/{note-type-grid-BFX3oTAC.js → note-type-grid-Bfdc8U-T.js} +2 -2
- package/public/assets/{note-type-grid-BM33ZYF-.css → note-type-grid-BzMZLAzW.css} +1 -1
- package/public/assets/{note-values-BqD4746M.js → note-values-C4A12_CE.js} +1 -1
- package/public/assets/notes-settings-module-DBSeNBYj.js +1 -0
- package/public/assets/notes-view-C_mX24NH.js +1 -0
- package/public/assets/notes-view-D212ymqf.css +1 -0
- package/public/assets/{oc-FR-POXYY2M6-C_R_VP74.js → oc-FR-POXYY2M6-DM9hsX9Q.js} +1 -1
- package/public/assets/{open-journal-writing-Bd-CppeX.js → open-journal-writing-Da9CBYtR.js} +1 -1
- package/public/assets/{pa-IN-N4M65BXN-B21EEaul.js → pa-IN-N4M65BXN-CJJQ9oPk.js} +1 -1
- package/public/assets/page-content-27iX_YpJ.js +1 -0
- package/public/assets/page-content-CdioJybS.css +1 -0
- package/public/assets/page-export-api-BqvyvK1O.js +1 -0
- package/public/assets/page-export-flow-HzZ0AmjW.js +1 -0
- package/public/assets/page-files-C30eoBCR.js +1 -0
- package/public/assets/page-note-7Oo1OmH0.js +1 -0
- package/public/assets/pane-layout-BaHTn1Oz.js +1 -0
- package/public/assets/{panel-columns-fields-DPjV39xn.js → panel-columns-fields-B9Biz8Xm.js} +1 -1
- package/public/assets/pdf-view-B5Y12R4H.js +1 -0
- package/public/assets/pdf-view-X71jeHKm.css +1 -0
- package/public/assets/{pencil-DQ9fAqT6.js → pencil-BQzjBcpa.js} +1 -1
- package/public/assets/percentages-BXMCSKIN-DRPvI3O-.js +1 -0
- package/public/assets/{phone-numbers-CHQaYRah.js → phone-numbers-lV_IC3Pq.js} +1 -1
- package/public/assets/{pl-PL-T2D74RX3-Bdo_j9QK.js → pl-PL-T2D74RX3-BLAcchR-.js} +1 -1
- package/public/assets/progress-bar-BxjnW3uQ.js +1 -0
- package/public/assets/provider-configuration-DBW3Pa0C.js +8 -0
- package/public/assets/provider-configuration-dpnYrEZm.css +1 -0
- package/public/assets/provider-use-select-C0EI8kSQ.js +1 -0
- package/public/assets/{pt-BR-5N22H2LF-C9DRQ7CW.js → pt-BR-5N22H2LF-BiLQ-V_W.js} +1 -1
- package/public/assets/{pt-PT-UZXXM6DQ-ColydZPV.js → pt-PT-UZXXM6DQ-DKEXacg3.js} +1 -1
- package/public/assets/qr-code-DgTUKCej.js +2 -0
- package/public/assets/{qr-code-svg-D0RAuUIk.js → qr-code-svg-DdWw4ovA.js} +1 -1
- package/public/assets/qr-defaults-settings-BbbzxV5k.js +1 -0
- package/public/assets/qr-settings-fields-C8GCAxa_.js +1 -0
- package/public/assets/qr-viewer-DTCnaLOP.js +1 -0
- package/public/assets/queryOptions-Dfvzj6n2.js +1 -0
- package/public/assets/{reader-clock-22DkpiWR.js → reader-clock-s4x6Qtz_.js} +1 -1
- package/public/assets/{recording-bar-DOm-SEGc.js → recording-bar-C5jkIsLX.js} +2 -2
- package/public/assets/{recording-setup-CV3LE2_1.js → recording-setup-fZ6fe1MX.js} +1 -1
- package/public/assets/{recordings-api-C-Bxpzgo.js → recordings-api-CxuXFNaM.js} +1 -1
- package/public/assets/resource-overview-card-CAxT9QxY.js +1 -0
- package/public/assets/{ro-RO-JPDTUUEW-iJAQDPe9.js → ro-RO-JPDTUUEW-DPtQ18Fr.js} +1 -1
- package/public/assets/rss-settings-module-Bg7BBsC4.js +1 -0
- package/public/assets/rss-view-DIPQBTLT.css +1 -0
- package/public/assets/rss-view-DeSvhXEa.js +3 -0
- package/public/assets/{ru-RU-B4JR7IUQ-CX_CWbT7.js → ru-RU-B4JR7IUQ-n-7DhzM7.js} +1 -1
- package/public/assets/{safe-block-copy-DygjvDD4.js → safe-block-copy-B7NrP_YX.js} +1 -1
- package/public/assets/{safe-block-qr-button-Cn9WpEkl.js → safe-block-qr-button-DomQCK7l.js} +1 -1
- package/public/assets/safe-block-reader-BGmIVIwN.js +1 -0
- package/public/assets/safe-folder-conversion-Re-4B3nf.js +1 -0
- package/public/assets/{safe-folders-DCf8IdrM.js → safe-folders-B4zJo8qB.js} +1 -1
- package/public/assets/{safe-move-leaving-tN-IMhDo.js → safe-move-leaving-D4dKIwTJ.js} +1 -1
- package/public/assets/{safe-note-locked-B_lt0XcX.js → safe-note-locked-BGUjggd4.js} +1 -1
- package/public/assets/safe-notes-settings-module-zJbcwdU7.js +1 -0
- package/public/assets/{markdown-task-toggle-CuRdtBn0.css → safe-text-B4Q6DSRg.css} +1 -1
- package/public/assets/safe-text-MPRw9KNQ.js +2 -0
- package/public/assets/search-settings-module-CMWbEyvZ.js +1 -0
- package/public/assets/{secret-form-DSD348Om.js → secret-form-DoNXw27T.js} +1 -1
- package/public/assets/secret-popup-Vn5Xkv4s.js +1 -0
- package/public/assets/section-navigation-1mCyY2Gm.js +1 -0
- package/public/assets/{security-settings-contribution-B_Syg5ab.js → security-settings-contribution-BrPrGp5q.js} +1 -1
- package/public/assets/settings-CxK-AM0A.js +1 -0
- package/public/assets/settings-actions-DnTiS3-h.js +1 -0
- package/public/assets/{settings-edit-dialog-B5emNjJi.js → settings-edit-dialog-CE5ZTszW.js} +1 -1
- package/public/assets/settings-panel-BF5baIMl.js +1 -0
- package/public/assets/settings-surface-CDwMuN24.js +3 -0
- package/public/assets/settings-surface-DzW4lcds.css +1 -0
- package/public/assets/{setup-prompt-6JRbE0oa.js → setup-prompt-Bmv_QxoH.js} +1 -1
- package/public/assets/{share-access-control-C5mpELVT.js → share-access-control-CB7J42Dn.js} +1 -1
- package/public/assets/shared-board-CLRkwNKE.js +1 -0
- package/public/assets/shared-board-lanes-OZo3pA9j.js +1 -0
- package/public/assets/{shared-calendar-view-DcCO3mNo.js → shared-calendar-view-BSmK0NDE.js} +1 -1
- package/public/assets/shared-note-route-CnykVAYu.css +1 -0
- package/public/assets/shared-note-route-DtZVqLMu.js +4 -0
- package/public/assets/shared-note-text-C6nccM7z.js +1 -0
- package/public/assets/{shares-settings-module-9oF4v70A.js → shares-settings-module-gI5s2PT6.js} +1 -1
- package/public/assets/si-LK-N5RQ5JYF-BpI-kBDz.js +1 -0
- package/public/assets/{sk-SK-C5VTKIMK-DrAaUVFC.js → sk-SK-C5VTKIMK-BRXRBgRU.js} +1 -1
- package/public/assets/{sl-SI-NN7IZMDC-WxYLW2Uj.js → sl-SI-NN7IZMDC-BXKt0fnN.js} +1 -1
- package/public/assets/{spaces-settings-module-Dh_QfANj.js → spaces-settings-module-BOkTwY_Z.js} +1 -1
- package/public/assets/spaces-view-K5_OKPoW.js +2 -0
- package/public/assets/sqlite-browser-BVA27ofB.css +1 -0
- package/public/assets/sqlite-browser-DCKBF2SI.js +2 -0
- package/public/assets/stack-widgets-CLUFu_vQ.js +1 -0
- package/public/assets/store-attachments-DQ63HVZo.js +1 -0
- package/public/assets/stored-color-picker-BLs1gClm.css +1 -0
- package/public/assets/stored-color-picker-CZ66rDog.js +1 -0
- package/public/assets/style-DPV_jdGg.css +1 -0
- package/public/assets/subset-shared.chunk-DYH4c2c2.js +1 -0
- package/public/assets/subset-worker.chunk-yCTTgC3G.js +1 -0
- package/public/assets/{sv-SE-XGPEYMSR-DOB2jm3x.js → sv-SE-XGPEYMSR-nBH8YjQ4.js} +1 -1
- package/public/assets/{ta-IN-2NMHFXQM-DfC3wGVU.js → ta-IN-2NMHFXQM-f0oprEqN.js} +1 -1
- package/public/assets/{text-diff-BzNG8nfy.js → text-diff-BMS8apwf.js} +1 -1
- package/public/assets/th-TH-HPSO5L25-CUOH0u8u.js +2 -0
- package/public/assets/{theme-colors-2LJ6VIeK.js → theme-colors-BcoD3SUn.js} +1 -1
- package/public/assets/{toolbar-items-DF7H0MSb.js → toolbar-items-DtGvJf3U.js} +1 -1
- package/public/assets/{topology-code-editor-B7zxDyT3.js → topology-code-editor-ClyHjN--.js} +1 -1
- package/public/assets/topology-designer-DmhzdlOY.js +1 -0
- package/public/assets/{topology-editor-DUaww3cM.css → topology-editor-CZnvLbBi.css} +1 -1
- package/public/assets/topology-editor-YK_2uGkR.js +8 -0
- package/public/assets/{topology-folder-migration-popup-Bj4nu8HE.js → topology-folder-migration-popup-AZFR8-44.js} +1 -1
- package/public/assets/{tr-TR-DEFEU3FU-DWO1lNTH.js → tr-TR-DEFEU3FU-CTsS8Qy-.js} +1 -1
- package/public/assets/transcription-settings-D7_ViMfp.js +4 -0
- package/public/assets/tree-header-CmCmDZKG.js +1 -0
- package/public/assets/tree-header-DlATpadF.css +1 -0
- package/public/assets/types-settings-module-L4wPTMty.js +1 -0
- package/public/assets/{uk-UA-QMV73CPH-ZHBKj9kv.js → uk-UA-QMV73CPH-BJo17WQM.js} +1 -1
- package/public/assets/{unlock-prompt-C1AEyIR_.js → unlock-prompt-BQVrb-4k.js} +1 -1
- package/public/assets/{use-candidate-notes-Du1V_uun.js → use-candidate-notes-YOxWyJCJ.js} +1 -1
- package/public/assets/{directory-picker-columns-BpDkvDO0.css → use-directory-columns-DILivjwk.css} +1 -1
- package/public/assets/use-directory-columns-DYequGsf.js +1 -0
- package/public/assets/use-directory-listing-Bj3F5kA3.js +1 -0
- package/public/assets/use-folding-enabled-N7w9iIqy.js +1 -0
- package/public/assets/use-heading-location-BZ9wUH2j.js +1 -0
- package/public/assets/{use-live-document-Ck_XPFVd.js → use-live-document-4fc8FCW3.js} +1 -1
- package/public/assets/use-mobile-layer-navigation-Il_7QdXn.js +1 -0
- package/public/assets/{use-note-attachments-SPgAe-M0.js → use-note-attachments-DAFyHvYo.js} +1 -1
- package/public/assets/{use-note-delete-Dvrzq6Pl.js → use-note-delete-JQISrVQ4.js} +1 -1
- package/public/assets/use-note-editor-session-BlLoBd41.js +1 -0
- package/public/assets/use-note-maximize-offer-DpU6Ms0_.js +1 -0
- package/public/assets/use-note-side-column-CFBvrpKH.css +1 -0
- package/public/assets/use-note-side-column-CVs74c26.js +1 -0
- package/public/assets/use-provider-dialogs-BRoAomhX.css +1 -0
- package/public/assets/use-provider-dialogs-HkxDcuJv.js +1 -0
- package/public/assets/{use-reflection-request-DV5-_c14.js → use-reflection-request-BuFnMuQC.js} +4 -4
- package/public/assets/use-safe-folder-moves-CjbmSWSM.js +1 -0
- package/public/assets/use-safe-folders-apply-D_7a5l_T.js +1 -0
- package/public/assets/{use-screen-source-BllYITR6.js → use-screen-source-BZ0GGtml.js} +1 -1
- package/public/assets/use-share-actions-DBYaF7Wp.css +1 -0
- package/public/assets/use-share-actions-Tfr6NI4j.js +1 -0
- package/public/assets/use-tab-style-B5YK0cIz.js +2 -0
- package/public/assets/use-tab-style-CRx5AnD1.css +1 -0
- package/public/assets/use-vault-file-link-BCQahdir.js +1 -0
- package/public/assets/{use-voice-questions-Bjgb45Dc.js → use-voice-questions-DmxYfc8M.js} +1 -1
- package/public/assets/vault-entries-api-CZHdxv7-.js +1 -0
- package/public/assets/vault-file-links-D1RzhVkx.js +1 -0
- package/public/assets/vault-folder-field-C5b24MNS.js +1 -0
- package/public/assets/vault-folder-field-X-B1weCe.css +1 -0
- package/public/assets/vault-links-popup-zkFCHyoP.js +1 -0
- package/public/assets/vault-manager-CZnYayEU.js +1 -0
- package/public/assets/{vault-settings-module-DMjLQmKz.js → vault-settings-module-CL2DHG69.js} +1 -1
- package/public/assets/vault-shares-popup-Cnew0vMQ.js +1 -0
- package/public/assets/vault-workspace-settings-module-D_n4aQfC.js +1 -0
- package/public/assets/{versioning-preferences-dvxhrMo9.js → versioning-preferences-BK-mZYhi.js} +1 -1
- package/public/assets/{versioning-settings-module-CnDDngKG.js → versioning-settings-module-lq4k7b3C.js} +1 -1
- package/public/assets/versioning-view-BdEZaF8n.js +2 -0
- package/public/assets/{vi-VN-M7AON7JQ-uUfHJEho.js → vi-VN-M7AON7JQ-DpgVSDWc.js} +1 -1
- package/public/assets/{video-recording-dialog-7IGrQMwx.js → video-recording-dialog-ByevPvCN.js} +1 -1
- package/public/assets/{video-recording-settings-D6YT_FW3.js → video-recording-settings-Ce2plgiG.js} +1 -1
- package/public/assets/widget-frame-DzlpiABF.js +1 -0
- package/public/assets/widget-layouts-DS7nWc80.js +1 -0
- package/public/assets/workspace-layout-3hjN1Wng.js +1 -0
- package/public/assets/{zh-CN-LNUGB5OW-COz3oRg3.js → zh-CN-LNUGB5OW-Cfb6--Ow.js} +1 -1
- package/public/assets/zh-HK-E62DVLB3-vaMRVwdL.js +1 -0
- package/public/assets/{zh-TW-RAJ6MFWO-AYdVqmV8.js → zh-TW-RAJ6MFWO-CNUUB_PG.js} +1 -1
- package/public/index.html +6 -6
- package/dist/search/embedding-connection-migration.js +0 -57
- package/node_modules/@braian/ai-providers/dist/legacy-embedding-migration.js +0 -21
- package/public/assets/FileText.es-4c63tWmA.js +0 -1
- package/public/assets/TerminalWindow.es-DwLjQ_88.js +0 -1
- package/public/assets/Warning.es-4HWtj9Nt.js +0 -1
- package/public/assets/agent-profiles-settings-I5Ux2GnH.js +0 -1
- package/public/assets/appearance-settings-module-CD3bJpfR.js +0 -1
- package/public/assets/attachment-embed-BkP-B_Pa.js +0 -1
- package/public/assets/attachments-settings-BeAekkzf.js +0 -1
- package/public/assets/az-AZ-76LH7QW2-nXEHcVXP.js +0 -1
- package/public/assets/blue-ezN0uv0j.css +0 -1
- package/public/assets/board-workspace-DPSlmJ8w.js +0 -1
- package/public/assets/boards-settings-module-CCN_ZNks.js +0 -1
- package/public/assets/calendar-view-BlTCcAzD.js +0 -1
- package/public/assets/calendar-workspace-6t1kuFgj.js +0 -1
- package/public/assets/card-fields-C1JCmDVz.css +0 -1
- package/public/assets/chat-message-list-ClUR56GV.js +0 -1
- package/public/assets/code-editor-wFimHbMT.css +0 -1
- package/public/assets/color-picker-ClAn42eA.js +0 -1
- package/public/assets/contents-view-EQyMaey-.css +0 -1
- package/public/assets/create-note-popup-CRi210cC.js +0 -1
- package/public/assets/daily-notes-settings-DG9RUcYk.js +0 -1
- package/public/assets/dashboard-workspace-CW4tbadO.css +0 -1
- package/public/assets/dashboard-workspace-D45MA_Wf.js +0 -4
- package/public/assets/dashboards-view-BB1CRB2G.js +0 -1
- package/public/assets/directory-picker-columns-BDdL8yxc.js +0 -1
- package/public/assets/discovery-create-popup-DpDB1MTg.js +0 -1
- package/public/assets/discovery-import-popup-BsyONSTT.js +0 -1
- package/public/assets/discovery-view-DOb6HJff.js +0 -1
- package/public/assets/discovery-workspace-Cyc70gQ1.js +0 -2
- package/public/assets/drag-preview-Cb6aidku.js +0 -1
- package/public/assets/en-B4ZKOASM-D3_h4H29.js +0 -1
- package/public/assets/file-editor-B-9eXvH3.css +0 -1
- package/public/assets/file-editor-DTm2a8_D.js +0 -3
- package/public/assets/file-preview-Bp9k2YvK.js +0 -1
- package/public/assets/file-preview-Dynm8laQ.css +0 -1
- package/public/assets/file-references-api-CSyFnFFm.js +0 -1
- package/public/assets/files-settings-module-D4HPlkbW.js +0 -1
- package/public/assets/files-view-BIDZtZgg.js +0 -3
- package/public/assets/files-view-Bo1uBB_W.css +0 -1
- package/public/assets/folder-picker-dialog-CxiRBtQb.css +0 -1
- package/public/assets/folder-picker-dialog-D57Q15N4.js +0 -1
- package/public/assets/format-rules-GzYB7Vvh.js +0 -1
- package/public/assets/graph-explorer-DtYVExeD.js +0 -329
- package/public/assets/graph-settings-module-D--vzqKr.js +0 -1
- package/public/assets/icons-CxH3_W-q.js +0 -1
- package/public/assets/ide-settings-module-Dsg4tJV6.js +0 -1
- package/public/assets/ide-view-DCvwb5Bx.js +0 -2
- package/public/assets/ide-view-isgMvraA.css +0 -1
- package/public/assets/image-GAAHSSAO-C38PUNrv.js +0 -1
- package/public/assets/imap-accounts-QVDGlYad.js +0 -1
- package/public/assets/index-B8xguO4f.css +0 -1
- package/public/assets/index-CCUyKE6q.js +0 -11
- package/public/assets/journal-create-popup-DnYgWgDU.js +0 -1
- package/public/assets/journal-day-route-DpsYGWU7.js +0 -1
- package/public/assets/journal-folder-field-B8yNmuTt.css +0 -1
- package/public/assets/journal-folder-field-DuvIgT6Y.js +0 -1
- package/public/assets/journal-page-BdQlNdyB.js +0 -2
- package/public/assets/journal-page-CAXrq4hj.css +0 -1
- package/public/assets/journal-settings-Dq-9Conv.js +0 -1
- package/public/assets/journal-typography-QR4z5v0X.js +0 -1
- package/public/assets/journal-writing-route-JP-jPBGZ.js +0 -1
- package/public/assets/journals-view-No5xQN8-.js +0 -1
- package/public/assets/kaa-6HZHGXH3-DmZqyxcr.js +0 -1
- package/public/assets/kk-KZ-P5N5QNE5-DcYcuRxx.js +0 -1
- package/public/assets/link-file-browser-BvVwFMvC.js +0 -1
- package/public/assets/link-picker-C90irWTA.js +0 -2
- package/public/assets/locked-shares-prompt-CA0MuZ_G.js +0 -1
- package/public/assets/logic-BNk_20eJ.js +0 -28
- package/public/assets/markdown-message-9f2rcF0-.js +0 -3
- package/public/assets/markdown-message-C2w22wrW.css +0 -1
- package/public/assets/markdown-task-toggle-DiIwYCgC.js +0 -5
- package/public/assets/matrices-view-CQlirOdv.js +0 -1
- package/public/assets/matrix-workspace-C3LhTNPX.js +0 -1
- package/public/assets/mermaid-diagram-CnzQOrTI.js +0 -1
- package/public/assets/mobile-note-content-editor-znLhIM9A.js +0 -2
- package/public/assets/model-provider-settings-contribution-DYmNbsgA.js +0 -1
- package/public/assets/model-providers-7VKk3K9H.js +0 -8
- package/public/assets/model-providers-DgRkVmP5.css +0 -1
- package/public/assets/my-MM-5M5IBNSE-DnqvLQeM.js +0 -1
- package/public/assets/note-body-focus-BKKGEgBj.js +0 -1
- package/public/assets/note-collab-provider-969Kgyu8.js +0 -1
- package/public/assets/note-collab-transport-CQDYt_Db.js +0 -1
- package/public/assets/note-create-settings-module-CV4dWr8t.js +0 -1
- package/public/assets/note-editor-container-8DkvXTPN.css +0 -1
- package/public/assets/note-editor-container-CTnEE-98.js +0 -2
- package/public/assets/note-editor-settings-module-CbPu_40k.js +0 -1
- package/public/assets/note-excalidraw-editor-CKSC5Oww.css +0 -1
- package/public/assets/note-excalidraw-editor-RjnG4My9.js +0 -168
- package/public/assets/note-export-flow-B3wRdMj0.js +0 -1
- package/public/assets/note-folds-settings-module-DZju6Mum.js +0 -1
- package/public/assets/note-frontmatter-summary-BSKg__aS.js +0 -1
- package/public/assets/note-link-list-DKU2PqtO.js +0 -1
- package/public/assets/note-link-list-hmCbBMA2.css +0 -1
- package/public/assets/note-markdown-editor-CXelEHqr.js +0 -26
- package/public/assets/note-markdown-editor-DlBj1yv3.css +0 -1
- package/public/assets/note-outline-CAyXKuOh.css +0 -1
- package/public/assets/note-page-content-DIqkiMvt.js +0 -2
- package/public/assets/note-path-breadcrumb-uTSXCQK4.js +0 -1
- package/public/assets/note-picker-BURTnmWF.css +0 -1
- package/public/assets/note-shares-popup-9sJOmL1-.js +0 -1
- package/public/assets/note-source-editor-DWyDYMCj.js +0 -1
- package/public/assets/notes-settings-module-C5IPmwKt.js +0 -1
- package/public/assets/page-content-C1jtzs7H.js +0 -1
- package/public/assets/page-content-lnIaLh4X.css +0 -1
- package/public/assets/page-files-BMj9IzfB.js +0 -1
- package/public/assets/page-note-Chw2UF0u.js +0 -1
- package/public/assets/pane-keys-CTLoUZZR.js +0 -1
- package/public/assets/pane-keys-DiGU3yVB.css +0 -1
- package/public/assets/pdf-view-BK5qKL4y.css +0 -1
- package/public/assets/pdf-view-Cm78nuSA.js +0 -1
- package/public/assets/percentages-BXMCSKIN-CUt8fyAS.js +0 -1
- package/public/assets/provider-use-select-DCSwSrlz.js +0 -1
- package/public/assets/qr-code-Bm7I0KYt.js +0 -2
- package/public/assets/qr-defaults-settings-2_Yt9x4N.js +0 -1
- package/public/assets/qr-settings-fields-DDO4XgMl.js +0 -1
- package/public/assets/qr-viewer-CvEfRC2r.js +0 -1
- package/public/assets/resource-overview-card-Co8aU6jw.js +0 -1
- package/public/assets/rss-preferences-Bx1Wa4ri.js +0 -1
- package/public/assets/rss-settings-module-BmDISWDk.js +0 -1
- package/public/assets/rss-view-5aqCVOCs.css +0 -1
- package/public/assets/rss-view-BCEFsYtS.js +0 -1
- package/public/assets/safe-block-reader-CNfzTExh.js +0 -1
- package/public/assets/safe-folder-conversion-BOLpnv8P.js +0 -1
- package/public/assets/safe-notes-settings-module-CMvkyfNG.js +0 -1
- package/public/assets/search-settings-module-DmczYjcQ.js +0 -1
- package/public/assets/secret-popup-y9W7WIrZ.js +0 -1
- package/public/assets/settings-ChT117Ke.js +0 -1
- package/public/assets/settings-panel-Cl5kUs9O.js +0 -1
- package/public/assets/settings-view-C_lfjngd.js +0 -3
- package/public/assets/share-label-BU3So3s7.js +0 -1
- package/public/assets/shared-board-lanes-UWl9klys.js +0 -1
- package/public/assets/shared-note-route-B5rcAeES.css +0 -1
- package/public/assets/shared-note-route-DaI6hm83.js +0 -4
- package/public/assets/shared-note-text-BdCw7a9a.js +0 -1
- package/public/assets/si-LK-N5RQ5JYF-DfLSaLm6.js +0 -1
- package/public/assets/spaces-view-Dw2uxDxU.js +0 -2
- package/public/assets/sqlite-browser-BKjuAUqe.css +0 -1
- package/public/assets/sqlite-browser-BfIrq_0x.js +0 -2
- package/public/assets/store-attachments-DNyH0asy.js +0 -1
- package/public/assets/stored-color-picker-BoVzUatG.css +0 -1
- package/public/assets/stored-color-picker-CYL7LYdQ.js +0 -1
- package/public/assets/style-DLioOiRN.css +0 -1
- package/public/assets/subset-shared.chunk-D1nlqSEH.js +0 -1
- package/public/assets/subset-worker.chunk-BrbK91mW.js +0 -1
- package/public/assets/th-TH-HPSO5L25-BsqplWuv.js +0 -2
- package/public/assets/topology-designer-CvJN6QTV.js +0 -1
- package/public/assets/topology-editor-RZ0_yLuO.js +0 -8
- package/public/assets/topology-settings-module-cWWujj9j.js +0 -1
- package/public/assets/transcription-settings-HrJHl14H.js +0 -4
- package/public/assets/use-directory-listing-BaYgcuHI.js +0 -1
- package/public/assets/use-folding-enabled-CyYip5Go.js +0 -1
- package/public/assets/use-mobile-layer-navigation-CBRepW9w.js +0 -1
- package/public/assets/use-note-editor-session-CRC-natg.js +0 -1
- package/public/assets/use-note-export-flow-0uAfXAwf.js +0 -2
- package/public/assets/use-safe-folder-moves-0nw2jjTX.js +0 -1
- package/public/assets/use-safe-folders-apply-C9pni8YW.js +0 -1
- package/public/assets/use-share-actions-RxO2M3y0.css +0 -1
- package/public/assets/use-share-actions-ujEMhCfl.js +0 -1
- package/public/assets/use-vault-file-link-C0ZO_VPm.js +0 -1
- package/public/assets/vault-entries-api-DVVjgeZh.js +0 -1
- package/public/assets/vault-manager-CMQaGDss.js +0 -1
- package/public/assets/vault-shares-popup-CCPGkRmF.js +0 -1
- package/public/assets/versioning-view-BsIFugt4.js +0 -2
- package/public/assets/widget-frame-CjlAZSUy.js +0 -1
- package/public/assets/zh-HK-E62DVLB3-C8ICkLhf.js +0 -1
- /package/public/assets/{blue-CDYoCZOg.js → blue-DQyE4k0K.js} +0 -0
- /package/public/assets/{use-safe-folders-apply-DGWTaX5A.css → progress-bar-DGWTaX5A.css} +0 -0
- /package/public/assets/{style-DA65Bz1d.js → style-CXzDJL_q.js} +0 -0
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ActivateRssProfileDto = exports.GenerateRssProfileDto = exports.RssProfileSampleDto = exports.TestRssProfileDto = exports.RssProfileSourceDto = exports.RssProfileTestDto = exports.RssTestRowDto = exports.RssTestSuggestedTagDto = exports.RssTestEvaluatorDto = exports.RssTestLikeDto = exports.RssTestPartDto = exports.RssProfileListDto = exports.RssProfileListItemDto = exports.RssFeedbackListDto = exports.RssTagCountDto = exports.RssFeedbackItemDto = exports.GenerateRssProfileModelDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
// The Preference profile routes' shapes: the rated entries, the profiles, and a generation's choices.
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const ai_providers_1 = require("@braian/ai-providers");
|
|
19
|
+
const graph_session_dto_1 = require("../sessions/dto/graph-session.dto");
|
|
20
|
+
class GenerateRssProfileModelDto {
|
|
21
|
+
providerId;
|
|
22
|
+
modelId;
|
|
23
|
+
reasoningEffort;
|
|
24
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
25
|
+
return { providerId: { required: true, type: () => String, minLength: 1 }, modelId: { required: true, type: () => String, minLength: 1 }, reasoningEffort: { required: false, enum: ["none", "minimal", "low", "medium", "high", "xhigh", "max"], enum: ai_providers_1.providerReasoningEfforts } };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.GenerateRssProfileModelDto = GenerateRssProfileModelDto;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, swagger_1.ApiProperty)(),
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
(0, class_validator_1.MinLength)(1),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], GenerateRssProfileModelDto.prototype, "providerId", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)(),
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, class_validator_1.MinLength)(1),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], GenerateRssProfileModelDto.prototype, "modelId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, swagger_1.ApiPropertyOptional)({ enum: ai_providers_1.providerReasoningEfforts }),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsIn)(ai_providers_1.providerReasoningEfforts),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], GenerateRssProfileModelDto.prototype, "reasoningEffort", void 0);
|
|
47
|
+
class RssFeedbackItemDto {
|
|
48
|
+
feedId;
|
|
49
|
+
feedName;
|
|
50
|
+
entryId;
|
|
51
|
+
title;
|
|
52
|
+
link;
|
|
53
|
+
published;
|
|
54
|
+
rating;
|
|
55
|
+
reason;
|
|
56
|
+
ratedAt;
|
|
57
|
+
summary;
|
|
58
|
+
categories;
|
|
59
|
+
tags;
|
|
60
|
+
starred;
|
|
61
|
+
note;
|
|
62
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
63
|
+
return { feedId: { required: true, type: () => String }, feedName: { required: true, type: () => String }, entryId: { required: true, type: () => String }, title: { required: true, type: () => String }, link: { required: false, type: () => String }, published: { required: false, type: () => String }, rating: { required: true, enum: ["like", "dislike"] }, reason: { required: false, type: () => String }, ratedAt: { required: true, type: () => String }, summary: { required: false, type: () => String }, categories: { required: false, type: () => [String] }, tags: { required: false, type: () => [String] }, starred: { required: false, type: () => Boolean }, note: { required: false, type: () => String } };
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.RssFeedbackItemDto = RssFeedbackItemDto;
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, swagger_1.ApiProperty)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], RssFeedbackItemDto.prototype, "feedId", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, swagger_1.ApiProperty)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], RssFeedbackItemDto.prototype, "feedName", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, swagger_1.ApiProperty)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], RssFeedbackItemDto.prototype, "entryId", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, swagger_1.ApiProperty)(),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], RssFeedbackItemDto.prototype, "title", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], RssFeedbackItemDto.prototype, "link", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], RssFeedbackItemDto.prototype, "published", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, swagger_1.ApiProperty)({ enum: ['like', 'dislike'] }),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], RssFeedbackItemDto.prototype, "rating", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, swagger_1.ApiPropertyOptional)({ description: 'Why the reader liked or disliked it, when they said.' }),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], RssFeedbackItemDto.prototype, "reason", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, swagger_1.ApiProperty)({ format: 'date-time' }),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], RssFeedbackItemDto.prototype, "ratedAt", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], RssFeedbackItemDto.prototype, "summary", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, swagger_1.ApiPropertyOptional)({ type: [String] }),
|
|
109
|
+
__metadata("design:type", Array)
|
|
110
|
+
], RssFeedbackItemDto.prototype, "categories", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, swagger_1.ApiPropertyOptional)({ type: [String] }),
|
|
113
|
+
__metadata("design:type", Array)
|
|
114
|
+
], RssFeedbackItemDto.prototype, "tags", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
117
|
+
__metadata("design:type", Boolean)
|
|
118
|
+
], RssFeedbackItemDto.prototype, "starred", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
121
|
+
__metadata("design:type", String)
|
|
122
|
+
], RssFeedbackItemDto.prototype, "note", void 0);
|
|
123
|
+
class RssTagCountDto {
|
|
124
|
+
tag;
|
|
125
|
+
count;
|
|
126
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
127
|
+
return { tag: { required: true, type: () => String }, count: { required: true, type: () => Number } };
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.RssTagCountDto = RssTagCountDto;
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, swagger_1.ApiProperty)(),
|
|
133
|
+
__metadata("design:type", String)
|
|
134
|
+
], RssTagCountDto.prototype, "tag", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, swagger_1.ApiProperty)(),
|
|
137
|
+
__metadata("design:type", Number)
|
|
138
|
+
], RssTagCountDto.prototype, "count", void 0);
|
|
139
|
+
class RssFeedbackListDto {
|
|
140
|
+
entries;
|
|
141
|
+
tags;
|
|
142
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
143
|
+
return { entries: { required: true, type: () => [require("./rss-profiles.dto").RssFeedbackItemDto] }, tags: { required: true, type: () => [require("./rss-profiles.dto").RssTagCountDto] } };
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.RssFeedbackListDto = RssFeedbackListDto;
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, swagger_1.ApiProperty)({ type: [RssFeedbackItemDto], description: 'Every rated entry, most recently rated first.' }),
|
|
149
|
+
__metadata("design:type", Array)
|
|
150
|
+
], RssFeedbackListDto.prototype, "entries", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, swagger_1.ApiProperty)({ type: [RssTagCountDto], description: 'The tags a generation learns, with how many entries carry each, most used first.' }),
|
|
153
|
+
__metadata("design:type", Array)
|
|
154
|
+
], RssFeedbackListDto.prototype, "tags", void 0);
|
|
155
|
+
class RssProfileListItemDto {
|
|
156
|
+
id;
|
|
157
|
+
createdAt;
|
|
158
|
+
providerId;
|
|
159
|
+
modelId;
|
|
160
|
+
basedOn;
|
|
161
|
+
summary;
|
|
162
|
+
score;
|
|
163
|
+
testedAt;
|
|
164
|
+
error;
|
|
165
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
166
|
+
return { id: { required: true, type: () => String }, createdAt: { required: false, type: () => String }, providerId: { required: false, type: () => String }, modelId: { required: false, type: () => String }, basedOn: { required: false, type: () => String }, summary: { required: false, type: () => String }, score: { required: false, type: () => Number }, testedAt: { required: false, type: () => String }, error: { required: false, type: () => String } };
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.RssProfileListItemDto = RssProfileListItemDto;
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, swagger_1.ApiProperty)({ example: '20261112140309', description: 'yyyymmddhhmmss in UTC, the file name under .brian/rss/profiles.' }),
|
|
172
|
+
__metadata("design:type", String)
|
|
173
|
+
], RssProfileListItemDto.prototype, "id", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, swagger_1.ApiPropertyOptional)({ format: 'date-time' }),
|
|
176
|
+
__metadata("design:type", String)
|
|
177
|
+
], RssProfileListItemDto.prototype, "createdAt", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
180
|
+
__metadata("design:type", String)
|
|
181
|
+
], RssProfileListItemDto.prototype, "providerId", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
184
|
+
__metadata("design:type", String)
|
|
185
|
+
], RssProfileListItemDto.prototype, "modelId", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, swagger_1.ApiPropertyOptional)({ example: 'the latest 50 rated: 22 liked, 9 disliked; 6 tags from 40 tagged entries' }),
|
|
188
|
+
__metadata("design:type", String)
|
|
189
|
+
], RssProfileListItemDto.prototype, "basedOn", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
192
|
+
__metadata("design:type", String)
|
|
193
|
+
], RssProfileListItemDto.prototype, "summary", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, swagger_1.ApiPropertyOptional)({ example: 0.78, description: 'The last test\'s score, 0 to 1.' }),
|
|
196
|
+
__metadata("design:type", Number)
|
|
197
|
+
], RssProfileListItemDto.prototype, "score", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, swagger_1.ApiPropertyOptional)({ format: 'date-time' }),
|
|
200
|
+
__metadata("design:type", String)
|
|
201
|
+
], RssProfileListItemDto.prototype, "testedAt", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, swagger_1.ApiPropertyOptional)({ description: 'Why the file no longer reads, in place of the rest.' }),
|
|
204
|
+
__metadata("design:type", String)
|
|
205
|
+
], RssProfileListItemDto.prototype, "error", void 0);
|
|
206
|
+
class RssProfileListDto {
|
|
207
|
+
profiles;
|
|
208
|
+
active;
|
|
209
|
+
model;
|
|
210
|
+
context;
|
|
211
|
+
evaluatorModel;
|
|
212
|
+
jev;
|
|
213
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
214
|
+
return { profiles: { required: true, type: () => [require("./rss-profiles.dto").RssProfileListItemDto] }, active: { required: false, type: () => String }, model: { required: false, type: () => require("../sessions/dto/graph-session.dto").GraphModelSelectionDto }, context: { required: false, type: () => String }, evaluatorModel: { required: false, type: () => require("../sessions/dto/graph-session.dto").GraphModelSelectionDto }, jev: { required: true, type: () => Boolean } };
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
exports.RssProfileListDto = RssProfileListDto;
|
|
218
|
+
__decorate([
|
|
219
|
+
(0, swagger_1.ApiProperty)({ type: [RssProfileListItemDto], description: 'Newest first.' }),
|
|
220
|
+
__metadata("design:type", Array)
|
|
221
|
+
], RssProfileListDto.prototype, "profiles", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, swagger_1.ApiPropertyOptional)({ description: 'The active profile\'s ID.' }),
|
|
224
|
+
__metadata("design:type", String)
|
|
225
|
+
], RssProfileListDto.prototype, "active", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, swagger_1.ApiPropertyOptional)({ type: graph_session_dto_1.GraphModelSelectionDto, description: 'The model the last generation used, offered again.' }),
|
|
228
|
+
__metadata("design:type", graph_session_dto_1.GraphModelSelectionDto)
|
|
229
|
+
], RssProfileListDto.prototype, "model", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
(0, swagger_1.ApiPropertyOptional)({ description: 'The reader\'s own words about themselves, carried into every profile.' }),
|
|
232
|
+
__metadata("design:type", String)
|
|
233
|
+
], RssProfileListDto.prototype, "context", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, swagger_1.ApiPropertyOptional)({ type: graph_session_dto_1.GraphModelSelectionDto, description: 'The chat model a test judges with when Jev is not connected, or fails.' }),
|
|
236
|
+
__metadata("design:type", graph_session_dto_1.GraphModelSelectionDto)
|
|
237
|
+
], RssProfileListDto.prototype, "evaluatorModel", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, swagger_1.ApiProperty)({ description: 'Whether Jev is connected with decision routing on: a test judges with it when it is.' }),
|
|
240
|
+
__metadata("design:type", Boolean)
|
|
241
|
+
], RssProfileListDto.prototype, "jev", void 0);
|
|
242
|
+
class RssTestPartDto {
|
|
243
|
+
score;
|
|
244
|
+
count;
|
|
245
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
246
|
+
return { score: { required: true, type: () => Number }, count: { required: true, type: () => Number } };
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.RssTestPartDto = RssTestPartDto;
|
|
250
|
+
__decorate([
|
|
251
|
+
(0, swagger_1.ApiProperty)(),
|
|
252
|
+
__metadata("design:type", Number)
|
|
253
|
+
], RssTestPartDto.prototype, "score", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, swagger_1.ApiProperty)(),
|
|
256
|
+
__metadata("design:type", Number)
|
|
257
|
+
], RssTestPartDto.prototype, "count", void 0);
|
|
258
|
+
class RssTestLikeDto extends RssTestPartDto {
|
|
259
|
+
unseen;
|
|
260
|
+
seen;
|
|
261
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
262
|
+
return { unseen: { required: false, type: () => require("./rss-profiles.dto").RssTestPartDto }, seen: { required: false, type: () => require("./rss-profiles.dto").RssTestPartDto } };
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
exports.RssTestLikeDto = RssTestLikeDto;
|
|
266
|
+
__decorate([
|
|
267
|
+
(0, swagger_1.ApiPropertyOptional)({ type: RssTestPartDto, description: 'On rated entries the profile had not learned from.' }),
|
|
268
|
+
__metadata("design:type", RssTestPartDto)
|
|
269
|
+
], RssTestLikeDto.prototype, "unseen", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
(0, swagger_1.ApiPropertyOptional)({ type: RssTestPartDto, description: 'On rated entries it learned from.' }),
|
|
272
|
+
__metadata("design:type", RssTestPartDto)
|
|
273
|
+
], RssTestLikeDto.prototype, "seen", void 0);
|
|
274
|
+
class RssTestEvaluatorDto {
|
|
275
|
+
kind;
|
|
276
|
+
modelId;
|
|
277
|
+
providerId;
|
|
278
|
+
note;
|
|
279
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
280
|
+
return { kind: { required: true, enum: ["model", "jev"] }, modelId: { required: true, type: () => String }, providerId: { required: false, type: () => String }, note: { required: false, type: () => String } };
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
exports.RssTestEvaluatorDto = RssTestEvaluatorDto;
|
|
284
|
+
__decorate([
|
|
285
|
+
(0, swagger_1.ApiProperty)({ enum: ['jev', 'model'] }),
|
|
286
|
+
__metadata("design:type", String)
|
|
287
|
+
], RssTestEvaluatorDto.prototype, "kind", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
(0, swagger_1.ApiProperty)(),
|
|
290
|
+
__metadata("design:type", String)
|
|
291
|
+
], RssTestEvaluatorDto.prototype, "modelId", void 0);
|
|
292
|
+
__decorate([
|
|
293
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
294
|
+
__metadata("design:type", String)
|
|
295
|
+
], RssTestEvaluatorDto.prototype, "providerId", void 0);
|
|
296
|
+
__decorate([
|
|
297
|
+
(0, swagger_1.ApiPropertyOptional)({ description: 'Why Jev did not judge, when it was tried.' }),
|
|
298
|
+
__metadata("design:type", String)
|
|
299
|
+
], RssTestEvaluatorDto.prototype, "note", void 0);
|
|
300
|
+
class RssTestSuggestedTagDto {
|
|
301
|
+
tag;
|
|
302
|
+
probability;
|
|
303
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
304
|
+
return { tag: { required: true, type: () => String }, probability: { required: true, type: () => Number } };
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
exports.RssTestSuggestedTagDto = RssTestSuggestedTagDto;
|
|
308
|
+
__decorate([
|
|
309
|
+
(0, swagger_1.ApiProperty)(),
|
|
310
|
+
__metadata("design:type", String)
|
|
311
|
+
], RssTestSuggestedTagDto.prototype, "tag", void 0);
|
|
312
|
+
__decorate([
|
|
313
|
+
(0, swagger_1.ApiProperty)(),
|
|
314
|
+
__metadata("design:type", Number)
|
|
315
|
+
], RssTestSuggestedTagDto.prototype, "probability", void 0);
|
|
316
|
+
class RssTestRowDto {
|
|
317
|
+
feedId;
|
|
318
|
+
entryId;
|
|
319
|
+
feedName;
|
|
320
|
+
title;
|
|
321
|
+
rating;
|
|
322
|
+
tags;
|
|
323
|
+
seen;
|
|
324
|
+
like;
|
|
325
|
+
error;
|
|
326
|
+
suggested;
|
|
327
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
328
|
+
return { feedId: { required: true, type: () => String }, entryId: { required: true, type: () => String }, feedName: { required: true, type: () => String }, title: { required: true, type: () => String }, rating: { required: false, enum: ["like", "dislike"] }, tags: { required: true, type: () => [String] }, seen: { required: true, type: () => Boolean }, like: { required: true, type: () => Number }, error: { required: false, type: () => Number }, suggested: { required: true, type: () => [require("./rss-profiles.dto").RssTestSuggestedTagDto] } };
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
exports.RssTestRowDto = RssTestRowDto;
|
|
332
|
+
__decorate([
|
|
333
|
+
(0, swagger_1.ApiProperty)(),
|
|
334
|
+
__metadata("design:type", String)
|
|
335
|
+
], RssTestRowDto.prototype, "feedId", void 0);
|
|
336
|
+
__decorate([
|
|
337
|
+
(0, swagger_1.ApiProperty)(),
|
|
338
|
+
__metadata("design:type", String)
|
|
339
|
+
], RssTestRowDto.prototype, "entryId", void 0);
|
|
340
|
+
__decorate([
|
|
341
|
+
(0, swagger_1.ApiProperty)(),
|
|
342
|
+
__metadata("design:type", String)
|
|
343
|
+
], RssTestRowDto.prototype, "feedName", void 0);
|
|
344
|
+
__decorate([
|
|
345
|
+
(0, swagger_1.ApiProperty)(),
|
|
346
|
+
__metadata("design:type", String)
|
|
347
|
+
], RssTestRowDto.prototype, "title", void 0);
|
|
348
|
+
__decorate([
|
|
349
|
+
(0, swagger_1.ApiPropertyOptional)({ enum: ['like', 'dislike'] }),
|
|
350
|
+
__metadata("design:type", String)
|
|
351
|
+
], RssTestRowDto.prototype, "rating", void 0);
|
|
352
|
+
__decorate([
|
|
353
|
+
(0, swagger_1.ApiProperty)({ type: [String], description: 'The reader\'s own tags on it, of those the profile knows.' }),
|
|
354
|
+
__metadata("design:type", Array)
|
|
355
|
+
], RssTestRowDto.prototype, "tags", void 0);
|
|
356
|
+
__decorate([
|
|
357
|
+
(0, swagger_1.ApiProperty)({ description: 'Whether the profile learned from this entry.' }),
|
|
358
|
+
__metadata("design:type", Boolean)
|
|
359
|
+
], RssTestRowDto.prototype, "seen", void 0);
|
|
360
|
+
__decorate([
|
|
361
|
+
(0, swagger_1.ApiProperty)({ description: 'The judge\'s like index, 0 to 1.' }),
|
|
362
|
+
__metadata("design:type", Number)
|
|
363
|
+
], RssTestRowDto.prototype, "like", void 0);
|
|
364
|
+
__decorate([
|
|
365
|
+
(0, swagger_1.ApiPropertyOptional)({ description: 'How far the like index is from the rating (like 1, dislike 0).' }),
|
|
366
|
+
__metadata("design:type", Number)
|
|
367
|
+
], RssTestRowDto.prototype, "error", void 0);
|
|
368
|
+
__decorate([
|
|
369
|
+
(0, swagger_1.ApiProperty)({ type: [RssTestSuggestedTagDto] }),
|
|
370
|
+
__metadata("design:type", Array)
|
|
371
|
+
], RssTestRowDto.prototype, "suggested", void 0);
|
|
372
|
+
class RssProfileTestDto {
|
|
373
|
+
testedAt;
|
|
374
|
+
evaluator;
|
|
375
|
+
score;
|
|
376
|
+
basis;
|
|
377
|
+
like;
|
|
378
|
+
tags;
|
|
379
|
+
rows;
|
|
380
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
381
|
+
return { testedAt: { required: true, type: () => String }, evaluator: { required: true, type: () => require("./rss-profiles.dto").RssTestEvaluatorDto }, score: { required: true, type: () => Number }, basis: { required: true, enum: ["all", "unseen"] }, like: { required: false, type: () => require("./rss-profiles.dto").RssTestLikeDto }, tags: { required: false, type: () => require("./rss-profiles.dto").RssTestPartDto }, rows: { required: true, type: () => [require("./rss-profiles.dto").RssTestRowDto] } };
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
exports.RssProfileTestDto = RssProfileTestDto;
|
|
385
|
+
__decorate([
|
|
386
|
+
(0, swagger_1.ApiProperty)({ format: 'date-time' }),
|
|
387
|
+
__metadata("design:type", String)
|
|
388
|
+
], RssProfileTestDto.prototype, "testedAt", void 0);
|
|
389
|
+
__decorate([
|
|
390
|
+
(0, swagger_1.ApiProperty)({ type: RssTestEvaluatorDto }),
|
|
391
|
+
__metadata("design:type", RssTestEvaluatorDto)
|
|
392
|
+
], RssProfileTestDto.prototype, "evaluator", void 0);
|
|
393
|
+
__decorate([
|
|
394
|
+
(0, swagger_1.ApiProperty)({ example: 0.78, description: '0 to 1: 0.5 is a judge that knows nothing, 1 one that answers as the reader did. The like score alone, or 70% like and 30% tags when tags are scored.' }),
|
|
395
|
+
__metadata("design:type", Number)
|
|
396
|
+
], RssProfileTestDto.prototype, "score", void 0);
|
|
397
|
+
__decorate([
|
|
398
|
+
(0, swagger_1.ApiProperty)({ enum: ['unseen', 'all'], description: 'Which rated entries the like score counts: only those the profile had not learned from when there are at least eight, else all.' }),
|
|
399
|
+
__metadata("design:type", String)
|
|
400
|
+
], RssProfileTestDto.prototype, "basis", void 0);
|
|
401
|
+
__decorate([
|
|
402
|
+
(0, swagger_1.ApiPropertyOptional)({ type: RssTestLikeDto }),
|
|
403
|
+
__metadata("design:type", RssTestLikeDto)
|
|
404
|
+
], RssProfileTestDto.prototype, "like", void 0);
|
|
405
|
+
__decorate([
|
|
406
|
+
(0, swagger_1.ApiPropertyOptional)({ type: RssTestPartDto, description: 'On entries the reader tagged: each known tag, asked and compared.' }),
|
|
407
|
+
__metadata("design:type", RssTestPartDto)
|
|
408
|
+
], RssProfileTestDto.prototype, "tags", void 0);
|
|
409
|
+
__decorate([
|
|
410
|
+
(0, swagger_1.ApiProperty)({ type: [RssTestRowDto], description: 'Every judged entry, the worst misses first.' }),
|
|
411
|
+
__metadata("design:type", Array)
|
|
412
|
+
], RssProfileTestDto.prototype, "rows", void 0);
|
|
413
|
+
class RssProfileSourceDto {
|
|
414
|
+
id;
|
|
415
|
+
source;
|
|
416
|
+
test;
|
|
417
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
418
|
+
return { id: { required: true, type: () => String }, source: { required: true, type: () => String }, test: { required: false, type: () => require("./rss-profiles.dto").RssProfileTestDto } };
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
exports.RssProfileSourceDto = RssProfileSourceDto;
|
|
422
|
+
__decorate([
|
|
423
|
+
(0, swagger_1.ApiProperty)(),
|
|
424
|
+
__metadata("design:type", String)
|
|
425
|
+
], RssProfileSourceDto.prototype, "id", void 0);
|
|
426
|
+
__decorate([
|
|
427
|
+
(0, swagger_1.ApiProperty)({ description: 'The profile file as written, YAML.' }),
|
|
428
|
+
__metadata("design:type", String)
|
|
429
|
+
], RssProfileSourceDto.prototype, "source", void 0);
|
|
430
|
+
__decorate([
|
|
431
|
+
(0, swagger_1.ApiPropertyOptional)({ type: RssProfileTestDto, description: 'Its last test, kept beside it.' }),
|
|
432
|
+
__metadata("design:type", RssProfileTestDto)
|
|
433
|
+
], RssProfileSourceDto.prototype, "test", void 0);
|
|
434
|
+
class TestRssProfileDto {
|
|
435
|
+
model;
|
|
436
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
437
|
+
return { model: { required: false, type: () => require("./rss-profiles.dto").GenerateRssProfileModelDto } };
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
exports.TestRssProfileDto = TestRssProfileDto;
|
|
441
|
+
__decorate([
|
|
442
|
+
(0, swagger_1.ApiPropertyOptional)({ type: () => GenerateRssProfileModelDto, description: 'The chat model that judges when Jev is not connected, or fails; remembered in the vault. Left out, the one last used.' }),
|
|
443
|
+
(0, class_validator_1.IsOptional)(),
|
|
444
|
+
(0, class_validator_1.ValidateNested)(),
|
|
445
|
+
(0, class_transformer_1.Type)(() => GenerateRssProfileModelDto),
|
|
446
|
+
__metadata("design:type", GenerateRssProfileModelDto)
|
|
447
|
+
], TestRssProfileDto.prototype, "model", void 0);
|
|
448
|
+
class RssProfileSampleDto {
|
|
449
|
+
mode;
|
|
450
|
+
count;
|
|
451
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
452
|
+
return { mode: { required: true, enum: ["latest", "random"], enum: ['latest', 'random'] }, count: { required: false, type: () => Number, minimum: 1, maximum: 500 } };
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
exports.RssProfileSampleDto = RssProfileSampleDto;
|
|
456
|
+
__decorate([
|
|
457
|
+
(0, swagger_1.ApiProperty)({ enum: ['latest', 'random'] }),
|
|
458
|
+
(0, class_validator_1.IsIn)(['latest', 'random']),
|
|
459
|
+
__metadata("design:type", String)
|
|
460
|
+
], RssProfileSampleDto.prototype, "mode", void 0);
|
|
461
|
+
__decorate([
|
|
462
|
+
(0, swagger_1.ApiPropertyOptional)({ example: 50, description: 'How many rated entries; left out is every one.' }),
|
|
463
|
+
(0, class_validator_1.IsOptional)(),
|
|
464
|
+
(0, class_validator_1.IsInt)(),
|
|
465
|
+
(0, class_validator_1.Min)(1),
|
|
466
|
+
(0, class_validator_1.Max)(500),
|
|
467
|
+
__metadata("design:type", Number)
|
|
468
|
+
], RssProfileSampleDto.prototype, "count", void 0);
|
|
469
|
+
class GenerateRssProfileDto {
|
|
470
|
+
model;
|
|
471
|
+
sample;
|
|
472
|
+
context;
|
|
473
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
474
|
+
return { model: { required: true, type: () => require("./rss-profiles.dto").GenerateRssProfileModelDto }, sample: { required: false, type: () => require("./rss-profiles.dto").RssProfileSampleDto }, context: { required: false, type: () => String, maxLength: 2000 } };
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
exports.GenerateRssProfileDto = GenerateRssProfileDto;
|
|
478
|
+
__decorate([
|
|
479
|
+
(0, swagger_1.ApiProperty)({ type: GenerateRssProfileModelDto, description: 'The chat model that distills the profile; remembered in the vault.' }),
|
|
480
|
+
(0, class_validator_1.IsDefined)(),
|
|
481
|
+
(0, class_validator_1.ValidateNested)(),
|
|
482
|
+
(0, class_transformer_1.Type)(() => GenerateRssProfileModelDto),
|
|
483
|
+
__metadata("design:type", GenerateRssProfileModelDto)
|
|
484
|
+
], GenerateRssProfileDto.prototype, "model", void 0);
|
|
485
|
+
__decorate([
|
|
486
|
+
(0, swagger_1.ApiPropertyOptional)({ type: RssProfileSampleDto, description: 'Which rated entries it reads; the latest 50 when left out.' }),
|
|
487
|
+
(0, class_validator_1.IsOptional)(),
|
|
488
|
+
(0, class_validator_1.ValidateNested)(),
|
|
489
|
+
(0, class_transformer_1.Type)(() => RssProfileSampleDto),
|
|
490
|
+
__metadata("design:type", RssProfileSampleDto)
|
|
491
|
+
], GenerateRssProfileDto.prototype, "sample", void 0);
|
|
492
|
+
__decorate([
|
|
493
|
+
(0, swagger_1.ApiPropertyOptional)({ example: 'I build developer tools on macOS with Claude Code; I live in Sweden.', description: 'The reader\'s own words about themselves (stack, role, place): saved for the next generation and copied into the profile; empty clears it, left out keeps the saved one.' }),
|
|
494
|
+
(0, class_validator_1.IsOptional)(),
|
|
495
|
+
(0, class_validator_1.IsString)(),
|
|
496
|
+
(0, class_validator_1.MaxLength)(2000),
|
|
497
|
+
__metadata("design:type", String)
|
|
498
|
+
], GenerateRssProfileDto.prototype, "context", void 0);
|
|
499
|
+
class ActivateRssProfileDto {
|
|
500
|
+
id;
|
|
501
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
502
|
+
return { id: { required: true, type: () => String, nullable: true, pattern: "^\\d{14}$" } };
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
exports.ActivateRssProfileDto = ActivateRssProfileDto;
|
|
506
|
+
__decorate([
|
|
507
|
+
(0, swagger_1.ApiProperty)({ type: String, nullable: true, description: 'The profile to make active; null leaves none active.' }),
|
|
508
|
+
(0, class_validator_1.ValidateIf)((_object, value) => value !== null),
|
|
509
|
+
(0, class_validator_1.IsString)(),
|
|
510
|
+
(0, class_validator_1.Matches)(/^\d{14}$/),
|
|
511
|
+
__metadata("design:type", Object)
|
|
512
|
+
], ActivateRssProfileDto.prototype, "id", void 0);
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RssProfilesService = void 0;
|
|
13
|
+
// The Preference profile routes' delegation to the vault's profiles, the one chat-model call a generation makes, and
|
|
14
|
+
// the judge a test runs: Jev when it is connected, otherwise (or when Jev fails) the chat model the person chose.
|
|
15
|
+
const common_1 = require("@nestjs/common");
|
|
16
|
+
const agents_1 = require("@openai/agents");
|
|
17
|
+
const ai_providers_1 = require("@braian/ai-providers");
|
|
18
|
+
const graph_agent_1 = require("@braian/graph-agent");
|
|
19
|
+
const model_provider_service_1 = require("../providers/model-provider.service");
|
|
20
|
+
const data_workspace_provider_1 = require("../workspace/data-workspace.provider");
|
|
21
|
+
/** A generation reads up to a few hundred entries and writes a long answer: it gets minutes, not seconds. */
|
|
22
|
+
const generationTimeoutMs = 300_000;
|
|
23
|
+
/** A test judges up to eighty entries: it gets the same. */
|
|
24
|
+
const testTimeoutMs = 300_000;
|
|
25
|
+
/** Requests in flight at once: a few, so a test is quick without tripping a provider's rate limit. */
|
|
26
|
+
const judgeConcurrency = 4;
|
|
27
|
+
let RssProfilesService = class RssProfilesService {
|
|
28
|
+
workspaceProvider;
|
|
29
|
+
providers;
|
|
30
|
+
constructor(workspaceProvider, providers) {
|
|
31
|
+
this.workspaceProvider = workspaceProvider;
|
|
32
|
+
this.providers = providers;
|
|
33
|
+
}
|
|
34
|
+
profiles(vaultId) { return this.workspaceProvider.get().rssProfiles(vaultId); }
|
|
35
|
+
/** The profiles, with whether Jev is connected: it is what a test judges with when it is. */
|
|
36
|
+
async list(vaultId) {
|
|
37
|
+
const [list, jev] = await Promise.all([(await this.profiles(vaultId)).list(), this.jev().catch(() => undefined)]);
|
|
38
|
+
return { ...list, jev: Boolean(jev) };
|
|
39
|
+
}
|
|
40
|
+
async lastTest(vaultId, id) { return (await this.profiles(vaultId)).lastTest(id); }
|
|
41
|
+
/** Tests the profile: Jev judges when connected; `model` (else the one a test or a generation last used) judges otherwise, or when Jev fails. */
|
|
42
|
+
async test(vaultId, id, model, signal) {
|
|
43
|
+
const profiles = await this.profiles(vaultId);
|
|
44
|
+
const settings = await profiles.list();
|
|
45
|
+
const fallback = model ?? settings.evaluatorModel ?? settings.model;
|
|
46
|
+
const deadline = AbortSignal.any([...(signal ? [signal] : []), AbortSignal.timeout(testTimeoutMs)]);
|
|
47
|
+
return profiles.test(id, this.judge(fallback, deadline), model);
|
|
48
|
+
}
|
|
49
|
+
async feedback(vaultId) { return (await this.profiles(vaultId)).evidence(); }
|
|
50
|
+
async source(vaultId, id) { return (await this.profiles(vaultId)).source(id); }
|
|
51
|
+
async remove(vaultId, id) { await (await this.profiles(vaultId)).remove(id); }
|
|
52
|
+
async activate(vaultId, id) { return (await this.profiles(vaultId)).activate(id); }
|
|
53
|
+
async generate(vaultId, input, signal) {
|
|
54
|
+
const deadline = AbortSignal.any([...(signal ? [signal] : []), AbortSignal.timeout(generationTimeoutMs)]);
|
|
55
|
+
return (await this.profiles(vaultId)).generate(input, this.complete, deadline);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* One turn through the chosen model with the profile schema as structured output, streamed since some transports
|
|
59
|
+
* accept nothing else, with tracing off. An endpoint that refuses structured output is asked once more without it;
|
|
60
|
+
* the prompt shows the same shape, and the answer's text is parsed instead.
|
|
61
|
+
*/
|
|
62
|
+
complete = async ({ model: selection, system, messages, schema, signal }) => {
|
|
63
|
+
const model = await this.providers.getModel(selection, 'rss-preference-profile');
|
|
64
|
+
const input = messages.map((text) => ({ type: 'message', role: 'user', content: [{ type: 'input_text', text }] }));
|
|
65
|
+
const run = async (structured) => {
|
|
66
|
+
const agent = new agents_1.Agent({ name: 'RSS preference profile', instructions: system, model, tools: [], ...(structured ? { outputType: { type: 'json_schema', name: schema.name, strict: true, schema: schema.schema } } : {}) });
|
|
67
|
+
const result = await new agents_1.Runner({ tracingDisabled: true }).run(agent, input, { stream: true, maxTurns: 1, ...(signal ? { signal } : {}) });
|
|
68
|
+
await result.completed;
|
|
69
|
+
if (result.error)
|
|
70
|
+
throw result.error;
|
|
71
|
+
return result.finalOutput;
|
|
72
|
+
};
|
|
73
|
+
const failed = (error) => {
|
|
74
|
+
const reason = signal?.aborted ? 'it took longer than five minutes' : error instanceof Error ? error.message : String(error);
|
|
75
|
+
throw new graph_agent_1.GraphAgentError('rss_profile_model_failed', `${selection.modelId} did not answer: ${reason}`, {}, error);
|
|
76
|
+
};
|
|
77
|
+
try {
|
|
78
|
+
return await run(true);
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
if (signal?.aborted)
|
|
82
|
+
return failed(error);
|
|
83
|
+
try {
|
|
84
|
+
return await run(false);
|
|
85
|
+
}
|
|
86
|
+
catch (retry) {
|
|
87
|
+
return failed(retry);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
/** The connected Jev connection with decision routing on, as agent routing finds it. */
|
|
92
|
+
async jev() {
|
|
93
|
+
const provider = (await this.providers.list()).find((candidate) => candidate.connected && candidate.connection?.adapter === 'jev' && candidate.connection.routing && (0, ai_providers_1.supportsUse)(candidate, 'routing'));
|
|
94
|
+
const routing = provider?.connection?.routing;
|
|
95
|
+
if (!provider?.connection || !routing)
|
|
96
|
+
return undefined;
|
|
97
|
+
const apiKey = await this.providers.connectionKey(provider.connection);
|
|
98
|
+
return apiKey ? { baseUrl: routing.baseUrl, model: routing.model, apiKey } : undefined;
|
|
99
|
+
}
|
|
100
|
+
judge(fallback, signal) {
|
|
101
|
+
return async (profile, articles) => {
|
|
102
|
+
const jev = await this.jev();
|
|
103
|
+
const byModel = async (note) => {
|
|
104
|
+
if (!fallback)
|
|
105
|
+
throw new graph_agent_1.GraphAgentError('rss_profile_no_evaluator', note ? `${note} Choose a chat model to judge instead.` : 'Connect Jev in Settings › AI Providers, or choose a chat model to judge.');
|
|
106
|
+
return { judgements: await this.judgeWithModel(fallback, profile, articles, signal), evaluator: { kind: 'model', providerId: fallback.providerId, modelId: fallback.modelId, ...(note ? { note } : {}) } };
|
|
107
|
+
};
|
|
108
|
+
if (!jev)
|
|
109
|
+
return byModel();
|
|
110
|
+
try {
|
|
111
|
+
const judgements = await inParallel(articles, judgeConcurrency, async (article) => {
|
|
112
|
+
const { state, questions } = (0, graph_agent_1.rssProfileJudgeRequest)(profile, article);
|
|
113
|
+
const { probabilities } = await (0, ai_providers_1.runJevYesNo)({ ...jev, state, questions, signal });
|
|
114
|
+
return { like: probabilities.like ?? 0.5, tags: Object.fromEntries((profile.tags ?? []).map(({ tag }) => [tag, probabilities[(0, graph_agent_1.rssTagQuestion)(tag)] ?? 0])) };
|
|
115
|
+
});
|
|
116
|
+
return { judgements, evaluator: { kind: 'jev', modelId: jev.model } };
|
|
117
|
+
}
|
|
118
|
+
catch (error) {
|
|
119
|
+
if (signal.aborted)
|
|
120
|
+
throw new graph_agent_1.GraphAgentError('rss_profile_model_failed', 'The test took longer than five minutes.', {}, error);
|
|
121
|
+
return byModel(`Jev failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
/** The chat model's judgement, a few articles per request, each request the profile and the questions as JSON. */
|
|
126
|
+
async judgeWithModel(model, profile, articles, signal) {
|
|
127
|
+
const batches = Array.from({ length: Math.ceil(articles.length / graph_agent_1.rssJudgeBatchSize) }, (_unused, index) => articles.slice(index * graph_agent_1.rssJudgeBatchSize, (index + 1) * graph_agent_1.rssJudgeBatchSize));
|
|
128
|
+
const judged = await inParallel(batches, judgeConcurrency, async (batch) => (0, graph_agent_1.readRssJudgeBatch)((0, graph_agent_1.extractJsonObject)(await this.complete({ model, system: graph_agent_1.rssJudgeSystemPrompt, messages: [(0, graph_agent_1.rssJudgeBatchMessage)(profile, batch)], schema: { name: 'rss_article_judgements', schema: graph_agent_1.rssJudgeOutputSchema }, signal })), batch.length));
|
|
129
|
+
return judged.flat();
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
exports.RssProfilesService = RssProfilesService;
|
|
133
|
+
exports.RssProfilesService = RssProfilesService = __decorate([
|
|
134
|
+
(0, common_1.Injectable)(),
|
|
135
|
+
__metadata("design:paramtypes", [data_workspace_provider_1.DataWorkspaceProvider, model_provider_service_1.ModelProviderService])
|
|
136
|
+
], RssProfilesService);
|
|
137
|
+
/** `run` over every item, at most `limit` at a time, the results in the items' order; the first failure rejects. */
|
|
138
|
+
async function inParallel(items, limit, run) {
|
|
139
|
+
const results = new Array(items.length);
|
|
140
|
+
let next = 0;
|
|
141
|
+
await Promise.all(Array.from({ length: Math.min(limit, items.length) }, async () => {
|
|
142
|
+
while (next < items.length) {
|
|
143
|
+
const index = next;
|
|
144
|
+
next += 1;
|
|
145
|
+
results[index] = await run(items[index]);
|
|
146
|
+
}
|
|
147
|
+
}));
|
|
148
|
+
return results;
|
|
149
|
+
}
|