@ejklock/herdr-workspaces 0.0.0-stage → 0.1.15
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/LICENSE +21 -0
- package/README.md +158 -2
- package/bin/herdr-workspaces.js +11 -0
- package/bin/install +175 -0
- package/layouts/Workspaces.json +206 -0
- package/mods/workspaces/agents.js +516 -0
- package/mods/workspaces/archive.svg +3 -0
- package/mods/workspaces/branch.svg +1 -0
- package/mods/workspaces/check.svg +3 -0
- package/mods/workspaces/chevron-down.svg +14 -0
- package/mods/workspaces/chevron-left.svg +3 -0
- package/mods/workspaces/chevron-right.svg +14 -0
- package/mods/workspaces/chrome.js +104 -0
- package/mods/workspaces/circle-check.svg +15 -0
- package/mods/workspaces/clock.svg +4 -0
- package/mods/workspaces/dialog.js +163 -0
- package/mods/workspaces/file-text.svg +7 -0
- package/mods/workspaces/files.svg +3 -0
- package/mods/workspaces/folder-plus.svg +5 -0
- package/mods/workspaces/folder.svg +14 -0
- package/mods/workspaces/git-branch.svg +16 -0
- package/mods/workspaces/git-compare.svg +3 -0
- package/mods/workspaces/group-dialog.js +92 -0
- package/mods/workspaces/layers.svg +16 -0
- package/mods/workspaces/lib.js +710 -0
- package/mods/workspaces/main.js +41 -0
- package/mods/workspaces/menu-items.js +127 -0
- package/mods/workspaces/menu.js +221 -0
- package/mods/workspaces/minus.svg +14 -0
- package/mods/workspaces/mod.json +8 -0
- package/mods/workspaces/monitor.svg +1 -0
- package/mods/workspaces/panel-left.svg +15 -0
- package/mods/workspaces/panel-right.svg +4 -0
- package/mods/workspaces/pin-off.svg +6 -0
- package/mods/workspaces/pin.svg +4 -0
- package/mods/workspaces/plus.svg +15 -0
- package/mods/workspaces/preview.svg +44 -0
- package/mods/workspaces/search.svg +1 -0
- package/mods/workspaces/server.svg +1 -0
- package/mods/workspaces/settings.svg +15 -0
- package/mods/workspaces/sidebar.svg +1 -0
- package/mods/workspaces/spaces.js +548 -0
- package/mods/workspaces/spinner.svg +4 -0
- package/mods/workspaces/square-pen.svg +15 -0
- package/mods/workspaces/square.svg +14 -0
- package/mods/workspaces/status.js +20 -0
- package/mods/workspaces/switcher.js +100 -0
- package/mods/workspaces/terminal.svg +4 -0
- package/mods/workspaces/window.js +99 -0
- package/mods/workspaces/window.svg +5 -0
- package/mods/workspaces/x.svg +15 -0
- package/package.json +54 -4
- package/plugins/editor/bin/install-files +122 -0
- package/plugins/editor/mods/editor/editor/document.js +201 -0
- package/plugins/editor/mods/editor/editor/language.js +31 -0
- package/plugins/editor/mods/editor/editor/main.js +248 -0
- package/plugins/editor/mods/editor/editor/preview.js +47 -0
- package/plugins/editor/mods/editor/editor/routing.js +52 -0
- package/plugins/editor/mods/editor/format/formatters.js +205 -0
- package/plugins/editor/mods/editor/format/index.js +1 -0
- package/plugins/editor/mods/editor/main.js +1 -0
- package/plugins/editor/mods/editor/mod.json +1 -0
- package/plugins/editor/mods/editor-changes/kernel/exec.js +1 -0
- package/plugins/editor/mods/editor-changes/kernel/git.js +21 -0
- package/plugins/editor/mods/editor-changes/list/branches.js +169 -0
- package/plugins/editor/mods/editor-changes/list/confirm.js +137 -0
- package/plugins/editor/mods/editor-changes/list/graph.js +100 -0
- package/plugins/editor/mods/editor-changes/list/main.js +1148 -0
- package/plugins/editor/mods/editor-changes/list/menus.js +106 -0
- package/plugins/editor/mods/editor-changes/list/ops.js +348 -0
- package/plugins/editor/mods/editor-changes/list/progress.js +38 -0
- package/plugins/editor/mods/editor-changes/list/split.js +19 -0
- package/plugins/editor/mods/editor-changes/list/stashes.js +42 -0
- package/plugins/editor/mods/editor-changes/list/status.js +51 -0
- package/plugins/editor/mods/editor-changes/list/sync.js +17 -0
- package/plugins/editor/mods/editor-changes/list/target.js +110 -0
- package/plugins/editor/mods/editor-changes/list/worktrees.js +63 -0
- package/plugins/editor/mods/editor-changes/main.js +1 -0
- package/plugins/editor/mods/editor-changes/mod.json +1 -0
- package/plugins/editor/mods/editor-changes/vendor/vscode-scm-history.js +147 -0
- package/plugins/editor/mods/editor-diff/changes/diff.js +145 -0
- package/plugins/editor/mods/editor-diff/changes/nav.js +86 -0
- package/plugins/editor/mods/editor-diff/changes/pane.js +322 -0
- package/plugins/editor/mods/editor-diff/changes/rows.js +133 -0
- package/plugins/editor/mods/editor-diff/changes/syntax.js +126 -0
- package/plugins/editor/mods/editor-diff/changes/tints.js +34 -0
- package/plugins/editor/mods/editor-diff/changes/words.js +114 -0
- package/plugins/editor/mods/editor-diff/main.js +1 -0
- package/plugins/editor/mods/editor-diff/mod.json +1 -0
- package/plugins/editor/mods/editor-diff/vendor/LICENSE-highlight.js.txt +29 -0
- package/plugins/editor/mods/editor-diff/vendor/highlight.js +13575 -0
- package/plugins/editor/mods/editor-files/LICENSE-herdr-file-icons.txt +201 -0
- package/plugins/editor/mods/editor-files/chevron-down.svg +14 -0
- package/plugins/editor/mods/editor-files/chevron-right.svg +14 -0
- package/plugins/editor/mods/editor-files/files/icon-table.js +2 -0
- package/plugins/editor/mods/editor-files/files/icons.js +27 -0
- package/plugins/editor/mods/editor-files/files/main.js +212 -0
- package/plugins/editor/mods/editor-files/files/tree.js +54 -0
- package/plugins/editor/mods/editor-files/icons/3d.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/LICENSE-material-icon-theme.txt +8 -0
- package/plugins/editor/mods/editor-files/icons/abap.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/abc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/actionscript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ada.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-illustrator.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-illustrator_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-photoshop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-photoshop_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-swc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adonis.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl-include.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl-ptm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl-tlpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/agent.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/amplify.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/android.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-component.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-directive.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-guard.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-interceptor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-pipe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-resolver.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-service.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/antlr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/apiblueprint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/apollo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/applescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/apps-script.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/appveyor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/appwrite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/architecture.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/arduino.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/asciidoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/assembly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/astro-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/astro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/astyle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/audio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/aurelia.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/authors.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/auto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/auto_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/autohotkey.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/autoit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/azure-pipelines.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/azure.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/babel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ballerina.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-settings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-settings_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-strings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-strings_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bazel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bbx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/beancount.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bench-js.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bench-jsx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bench-ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bibliography.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bibtex-style.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bicep.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/biome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bitbucket.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bithound.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blender.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blink.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blink_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blitz.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bower.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/brainfuck.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/browserlist.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/browserlist_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bruno.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/buck.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bucklescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/buildkite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bun.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bun_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/c.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/c3.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cabal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/caddy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cadence.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cairo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/capacitor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/capnp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cbx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cds.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/certificate.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/changelog.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chess.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chess_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chromatic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chrome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/circleci.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/circleci_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/citation.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/clangd.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/claude.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cline.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/clojure.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cloudfoundry.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cmake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cobol.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coconut.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/code-climate.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/code-climate_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/codecov.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/codeowners.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coderabbit-ai.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coffee.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coldfusion.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coloredpetrinets.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/command.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/commitizen.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/commitlint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/concourse.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/conduct.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/console.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/container.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/contentlayer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/context.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/contributing.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/controller.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/copilot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/copilot_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/craco.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/credits.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/crystal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/crystal_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/csharp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/css-map.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/css.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cucumber.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cuda.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cursor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cursor_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cypress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/d.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dart.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dart_generated.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/database.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/deepsource.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/denizenscript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/deno.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/deno_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dependabot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dependencies-update.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dhall.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/diff.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dinophp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/disc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/django.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dll.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/docker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/doctex-installer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/document.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dotjs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drawio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drizzle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drone.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drone_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dtx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/duc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dune.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/edge.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/editorconfig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ejs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/elixir.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/elm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/email.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ember.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/epub.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/erlang.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/esbuild.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/eslint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/excalidraw.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/exe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/expo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/expo_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fastlane.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/favicon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/figma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/file.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/firebase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/flash.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/flow.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-admin-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-admin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-android-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-android.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-angular-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-angular.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-animation-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-animation.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ansible-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ansible.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-api-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-api.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-apollo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-apollo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-app-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-app.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-appwrite-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-appwrite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-archive-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-archive.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-assembly-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-assembly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-astro-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-astro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-atom-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-atom.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-attachment-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-attachment.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-audio-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-audio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aurelia-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aurelia.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aws-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aws.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-azure-pipelines-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-azure-pipelines.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-backup-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-backup.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-base-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-base.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-batch-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-batch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-benchmark-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-benchmark.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bibliography-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bibliography.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bicep-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bicep.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-blender-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-blender.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bloc-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bloc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bluetooth-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bluetooth.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bower-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bower.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-buildkite-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-buildkite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cart-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cart.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-changesets-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-changesets.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ci-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ci.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-circleci-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-circleci.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-class-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-class.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-claude-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-claude.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-client-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-client.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cline-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cline.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloud-functions-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloud-functions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloudflare-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloudflare.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cluster-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cluster.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cobol-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cobol.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-command-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-command.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-components-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-components.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-config-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-connection-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-connection.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-console-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-console.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-constant-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-constant.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-container-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-container.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-content-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-content.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-context-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-context.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-contract-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-contract.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-controller-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-controller.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-core-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-core.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-coverage-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-coverage.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-css-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-css.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cue-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor-open_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-custom-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-custom.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cypress-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cypress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dal-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dart-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dart.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-database-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-database.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-debug-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-debug.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-decorators-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-decorators.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-delta-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-delta.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-deprecated-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-deprecated.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-desktop-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-desktop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-development-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-development.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-directive-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-directive.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dist-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dist.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docker-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docs-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-download-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-download.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-drizzle-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-drizzle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dump-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dump.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eas-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eas.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-element-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-element.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-enum-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-enum.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-environment-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-environment.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-error-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-error.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eslint-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eslint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-event-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-event.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-examples-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-examples.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-expo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-expo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-export-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-export.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-fastlane-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-fastlane.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-favicon-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-favicon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-features-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-features.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-filter-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-filter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firebase-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firebase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firestore-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firestore.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flow-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flow.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flutter-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flutter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-font-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-font.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-forgejo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-forgejo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-form-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-form.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-functions-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-functions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gamemaker-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gamemaker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gemini-ai-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gemini-ai.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-generator-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-generator.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gh-workflows-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gh-workflows.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-git-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-git.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea-workflows-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea-workflows.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-github-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-github.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitlab-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitlab.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-global-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-global.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-go-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-go.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-godot-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-godot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gradle-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gradle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-graphql-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-graphql.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-guard-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-guard.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gulp-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gulp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helm-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helper-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helper.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-home-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-home.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-hook-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-hook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-husky-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-husky.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-i18n-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-i18n.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-images-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-images.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-import-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-import.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-include-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-include.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-input-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-input.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-instructions-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-instructions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij-open_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interceptor-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interceptor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interface-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interface.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ios-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ios.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-java-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-java.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-javascript-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-javascript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja-open_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-job-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-job.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-json-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-json.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jupyter-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jupyter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-keys-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-keys.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kotlin-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kotlin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kubernetes-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kubernetes.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kusto-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kusto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-layout-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-layout.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lefthook-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lefthook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-less-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-less.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lib-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lib.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-license-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-license.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-link-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-link.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-linux-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-linux.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-liquibase-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-liquibase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-log-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-log.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lottie-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lottie.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lua-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lua.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-luau-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-luau.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-macos-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-macos.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mail-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mail.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mappings-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mappings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-markdown-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-markdown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mercurial-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mercurial.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-messages-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-messages.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-meta-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-meta.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-metro-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-metro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-middleware-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-middleware.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-migrations-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-migrations.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mjml-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mjml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mobile-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mobile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mock-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mock.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mojo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mojo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-molecule-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-molecule.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-moon-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-moon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-netlify-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-netlify.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-next-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-next.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nginx-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nginx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-node-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-node.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nuxt-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nuxt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-obsidian-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-obsidian.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-opencode-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-opencode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-organism-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-organism.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-other-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-other.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-packages-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-packages.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdf-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdf.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdm-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-php-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-php.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-phpmailer-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-phpmailer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pipe-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pipe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plastic-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plastic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plugin-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plugin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-policy-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-policy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-postman-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-postman.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-powershell-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-powershell.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prisma-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prisma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-private-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-private.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-project-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-project.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prompts-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prompts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-proto-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-proto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-public-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-public.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-python-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-python.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pytorch-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pytorch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-quasar-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-quasar.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-queue-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-queue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-r-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-r.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-redis-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-redis.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-repository-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-repository.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resolver-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resolver.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resource-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resource.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-review-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-review.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-robot-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-robot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-routes-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-routes.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rules-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rules.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rust-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rust.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-salt-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-salt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sandbox-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sandbox.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sass-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sass.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scala-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scons-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scons.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scrap-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scrap.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scripts-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scripts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-secure-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-secure.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-seeders-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-seeders.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-server-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-server.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-serverless-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-serverless.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shader-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shader.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shared-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shared.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-simulations-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-simulations.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-skills-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-skills.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snapcraft-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snapcraft.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snippet-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snippet.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src-tauri-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src-tauri.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stack-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stencil-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stencil.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-store-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-store.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-storybook-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-storybook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stylus-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stylus.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sublime-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sublime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-supabase-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-supabase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svelte-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svelte.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svg-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svg.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-syntax-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-syntax.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-target-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-target.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-taskfile-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-taskfile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tasks-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tasks.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-television-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-television.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-temp-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-temp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-template-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-template.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-terraform-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-terraform.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-test-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-test.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-theme-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-theme.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-toc-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-toc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tools-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tools.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trash-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trash.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trigger-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trigger.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-turborepo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-turborepo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-typescript-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-typescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ui-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ui.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-unity-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-unity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-update-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-update.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-upload-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-upload.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-utils-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-utils.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vercel-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vercel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-verdaccio-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-verdaccio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-video-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-video.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-views-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-views.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vm-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vscode-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vscode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vue-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vuepress-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vuepress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wakatime-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wakatime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-webpack-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-webpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-windows-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-windows.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wordpress-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wordpress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-yarn-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-yarn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zeabur-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zeabur.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zed-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zed.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/font.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/forth.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fortran.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/foxpro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/freemarker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fsharp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fusebox.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gamemaker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/garden.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gatsby.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gcp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gemfile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gemini-ai.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gemini.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/git.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/github-sponsors.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gitlab.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gitpod.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gleam.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gnuplot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/go-mod.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/go.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/godot-assets.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/godot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/google.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gradle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/grafana-alloy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/grain.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/graphcool.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/graphql.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gridsome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/groovy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/grunt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gulp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/h.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hadolint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/haml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/handlebars.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/happo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hardhat.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/harmonix.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/haskell.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/haxe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hcl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hcl_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/helm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/heroku.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hex.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hip.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/histoire.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hjson.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/horusec.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hosts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hosts_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/html.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/http.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/huff.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/huff_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hurl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/husky.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/i18n.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/idris.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ifanr-cloud.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/image.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/imba.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/installation.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/instructions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ionic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/istanbul.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jar.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/java.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/javaclass.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/javascript-map.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/javascript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jenkins.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jest.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jinja.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jinja_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jsconfig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/json.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/json_schema.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jsr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jsr_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/julia.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jupyter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/just.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/karma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kcl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/key.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/keystatic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kivy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/knip.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kotlin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kubernetes.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kusto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/label.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/laravel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/latexmk.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lbx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lean.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lefthook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lerna.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/less.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/liara.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lib.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/license.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lighthouse.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lilypond.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lintstaged.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/liquid.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lisp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/livescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lock.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/log.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lolcode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lottie.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lua.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/luau.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lynx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lyric.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/macaulay2.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/makefile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdoc-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdownlint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markojs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mathematica.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/maven.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mdsvex.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mdx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mercurial.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/merlin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mermaid.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/meson.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/metro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/minecraft-fabric.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/minecraft.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mist.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mjml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mocha.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/modernizr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mojo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/moon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/moonscript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mrpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mxml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nano-staged.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nano-staged_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ndst.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nest.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/netlify.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/netlify_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/next.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/next_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nextflow.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nginx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nim.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nix.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nodejs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nodemon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/npm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nuget.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nunjucks.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nuxt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/objective-c.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/objective-cpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ocaml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/odin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/onnx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opa.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opam.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/openapi.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/openapi_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opencode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opencode_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opentofu.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opentofu_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/otne.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/oxc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/packship.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/palette.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/panda.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/parcel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pascal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pawn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/payload.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/payload_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pdf.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pdm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/peg.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/percy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/perl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/php-cs-fixer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/php.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/phpstan.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/phpunit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pinejs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pipeline.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pkl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/plastic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/playwright.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/plop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pm2-ecosystem.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pnpm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pnpm_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/poetry.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/postcss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/posthtml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/powerpoint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/powershell.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pre-commit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prettier.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prisma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/processing.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prolog.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prompt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/proto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/protractor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pug.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/puppet.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/puppeteer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/purescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/python-misc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/python.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pytorch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/qsharp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/quarto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/quasar.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/quokka.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/r.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/racket.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/raml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/razor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rbxmk.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/react.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/react_ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/readme.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/reason.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/red.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/regedit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/remark.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/remix.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/remix_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/renovate.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/replit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rescript-interface.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/restql.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/riot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/roadmap.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/roblox.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/robot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/robots.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rocket.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rolldown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rollup.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/routing.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rspec.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rstack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rubocop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rubocop_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ruby.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ruff.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rust.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/salt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/san.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sas.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sass.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sbt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scheme.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scons.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scons_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/screwdriver.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/search.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/semantic-release.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/semantic-release_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/semgrep.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sentry.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sequelize.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/serverless.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/settings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/shader.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/shellcheck.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/shellcheck_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/simulink.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/siyuan.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sketch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/skill.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/slim.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/slint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/slug.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/smarty.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snakemake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snapcraft.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snowpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snowpack_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snyk.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/solidity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sonarcloud.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/spwn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stackblitz.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stan.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/steadybit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stencil.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stitches.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stitches_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/storybook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stryker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sty.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylable.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylelint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylelint_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylus.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sublime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/subtitles.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/supabase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svelte.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svelte_js.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svelte_ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svg.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svgo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svgr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/swagger.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sway.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/swc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/swift.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/syncpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/table.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tailwindcss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tape.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/taskfile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tauri.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/taze.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tcl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/teal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/templ.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/template.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/terraform.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/test-js.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/test-jsx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/test-ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tex.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/textlint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tilt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tldraw.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tldraw_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tobi.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tobimake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/todo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toml_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/travis.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tree.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/trigger.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsconfig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsdoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsdown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsil.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tune.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/turborepo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/turborepo_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/twig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/twine.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typedoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typescript-def.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typst.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uiua.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/umi.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uml_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/unity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/unlicense.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/unocss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/url.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uv.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vagrant.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vanilla-extract.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/varnish.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vedic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/velite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/velocity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vercel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vercel_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verdaccio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verified.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verilog.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verse.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verse_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vfl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/video.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vim.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/virtual.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/visualstudio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vitest.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vlang.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vscode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vue-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wakatime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wakatime_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wallaby.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wally.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/warp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/warp_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/watchman.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/webassembly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/webhint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/webpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wepy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/werf.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/windicss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wolframlanguage.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/word.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wrangler.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wxt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/xaml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/xmake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/xml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/yaml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/yang.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/yarn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zeabur.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zeabur_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zip.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zizmor.svg +1 -0
- package/plugins/editor/mods/editor-files/main.js +1 -0
- package/plugins/editor/mods/editor-files/mod.json +1 -0
|
@@ -0,0 +1,710 @@
|
|
|
1
|
+
// Workspace store logic shared by the mods. Pure: no import from "herdr", so it runs under Node.
|
|
2
|
+
// A store is { version: 1, workspaces: [{ id, name, icon, color, machine? }], assign: { [spaceId]: workspaceId } }.
|
|
3
|
+
// `machine` names the herdr-core machine a workspace owns; no two workspaces name the same one.
|
|
4
|
+
// Groups add `groups: [{ id, name, workspace? }]` in display order (no `workspace` means Default) and
|
|
5
|
+
// `grouped: { [spaceId]: groupId }`; both keys are absent while empty.
|
|
6
|
+
|
|
7
|
+
/** Icon names are the shipped mods/workspace-chrome/<name>.svg files; "layers" stands for Default. */
|
|
8
|
+
export const WORKSPACE_ICONS = ["folder", "server", "monitor", "terminal", "git-branch", "archive", "clock", "file-text", "files", "circle-check"];
|
|
9
|
+
export const DEFAULT_ICON = "layers";
|
|
10
|
+
|
|
11
|
+
/** Color names are theme names; each shows as the same strong hue as the spaces mod's avatars. */
|
|
12
|
+
export const WORKSPACE_COLORS = { ansi6: "#22a99a", ansi3: "#e3814f", ansi4: "#5b8def", ansi5: "#8b7cf6", ansi2: "#3fae6a", ansi1: "#d9649a" };
|
|
13
|
+
|
|
14
|
+
const FALLBACK_WORKSPACE_ICON = WORKSPACE_ICONS[0];
|
|
15
|
+
const DEFAULT_COLOR = "ansi6";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The app home whose workspace store this window uses: `workspaces.home` from the window's shared state
|
|
19
|
+
* when it is an absolute path, else the window's own app home. Trailing slashes are dropped.
|
|
20
|
+
*/
|
|
21
|
+
export function storeHome(sharedHome, appHome) {
|
|
22
|
+
if (typeof sharedHome !== "string" || !sharedHome.startsWith("/")) return appHome;
|
|
23
|
+
const home = sharedHome.replace(/\/+$/, "");
|
|
24
|
+
return home === "" ? appHome : home;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Where the store lives under an app home, and the folder to watch. */
|
|
28
|
+
export function storePaths(appHome) {
|
|
29
|
+
const dir = `${appHome}/workspaces`;
|
|
30
|
+
return { dir, file: `${dir}/workspaces.json` };
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const emptyStore = () => ({ version: 1, workspaces: [], assign: {} });
|
|
34
|
+
const isText = (value) => typeof value === "string" && value.length > 0;
|
|
35
|
+
const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
36
|
+
const sameName = (a, b) => a.trim().toLowerCase() === b.trim().toLowerCase();
|
|
37
|
+
|
|
38
|
+
/** The workspace with `machine` set when it is a text no earlier workspace (in `cores`) already owns. */
|
|
39
|
+
function claimMachine(workspace, machine, cores) {
|
|
40
|
+
if (!isText(machine) || cores.has(machine)) return workspace;
|
|
41
|
+
cores.add(machine);
|
|
42
|
+
return { ...workspace, machine };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function parseWorkspaces(list) {
|
|
46
|
+
const seen = new Set();
|
|
47
|
+
const cores = new Set();
|
|
48
|
+
const kept = [];
|
|
49
|
+
for (const entry of Array.isArray(list) ? list : []) {
|
|
50
|
+
if (!isRecord(entry) || !isText(entry.id) || !isText(entry.name) || seen.has(entry.id)) continue;
|
|
51
|
+
seen.add(entry.id);
|
|
52
|
+
const workspace = {
|
|
53
|
+
id: entry.id,
|
|
54
|
+
name: entry.name,
|
|
55
|
+
icon: isText(entry.icon) ? entry.icon : FALLBACK_WORKSPACE_ICON,
|
|
56
|
+
color: isText(entry.color) ? entry.color : DEFAULT_COLOR,
|
|
57
|
+
};
|
|
58
|
+
kept.push(claimMachine(workspace, entry.machine, cores));
|
|
59
|
+
}
|
|
60
|
+
return kept;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function parseAssign(assign, workspaces) {
|
|
64
|
+
const known = new Set(workspaces.map((w) => w.id));
|
|
65
|
+
const kept = {};
|
|
66
|
+
for (const [spaceId, workspaceId] of Object.entries(isRecord(assign) ? assign : {})) {
|
|
67
|
+
if (known.has(workspaceId)) kept[spaceId] = workspaceId;
|
|
68
|
+
}
|
|
69
|
+
return kept;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
const groupsOf = (store) => store.groups ?? [];
|
|
73
|
+
const membersOf = (store) => store.grouped ?? {};
|
|
74
|
+
|
|
75
|
+
/** The store with these groups and members; the keys are left out when empty, so a store with no groups is as it was before groups. */
|
|
76
|
+
const withGroups = ({ groups: _groups, grouped: _grouped, ...rest }, groups, grouped) => ({
|
|
77
|
+
...rest,
|
|
78
|
+
...(groups.length > 0 ? { groups } : {}),
|
|
79
|
+
...(Object.keys(grouped).length > 0 ? { grouped } : {}),
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
/** The store without the groups in `gone` and their members. */
|
|
83
|
+
function dropGroups(store, gone) {
|
|
84
|
+
const members = Object.entries(membersOf(store)).filter(([, groupId]) => !gone.has(groupId));
|
|
85
|
+
return withGroups(store, groupsOf(store).filter((g) => !gone.has(g.id)), Object.fromEntries(members));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/** Groups with a text id and name that no earlier group uses; one naming a workspace must name one the store holds. */
|
|
89
|
+
function parseGroups(list, workspaces) {
|
|
90
|
+
const known = new Set(workspaces.map((w) => w.id));
|
|
91
|
+
const seen = new Set();
|
|
92
|
+
const kept = [];
|
|
93
|
+
for (const entry of Array.isArray(list) ? list : []) {
|
|
94
|
+
if (!isRecord(entry) || !isText(entry.id) || !isText(entry.name) || seen.has(entry.id)) continue;
|
|
95
|
+
if (entry.workspace !== undefined && !known.has(entry.workspace)) continue;
|
|
96
|
+
seen.add(entry.id);
|
|
97
|
+
kept.push({ id: entry.id, name: entry.name, ...(entry.workspace === undefined ? {} : { workspace: entry.workspace }) });
|
|
98
|
+
}
|
|
99
|
+
return kept;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function parseGrouped(grouped, groups) {
|
|
103
|
+
const known = new Set(groups.map((g) => g.id));
|
|
104
|
+
return Object.fromEntries(Object.entries(isRecord(grouped) ? grouped : {}).filter(([, groupId]) => known.has(groupId)));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** Reads the file's text. Bad input never throws: it gives an empty store and the reason. */
|
|
108
|
+
export function parseStore(text) {
|
|
109
|
+
if (typeof text !== "string" || text.trim() === "") return { store: emptyStore(), error: undefined };
|
|
110
|
+
let data;
|
|
111
|
+
try {
|
|
112
|
+
data = JSON.parse(text);
|
|
113
|
+
} catch (e) {
|
|
114
|
+
return { store: emptyStore(), error: `Invalid JSON: ${e.message}` };
|
|
115
|
+
}
|
|
116
|
+
if (!isRecord(data) || data.version !== 1) {
|
|
117
|
+
return { store: emptyStore(), error: `Unsupported store version: ${isRecord(data) ? data.version : "none"}` };
|
|
118
|
+
}
|
|
119
|
+
const workspaces = parseWorkspaces(data.workspaces);
|
|
120
|
+
const groups = parseGroups(data.groups, workspaces);
|
|
121
|
+
const store = withGroups({ version: 1, workspaces, assign: parseAssign(data.assign, workspaces) }, groups, parseGrouped(data.grouped, groups));
|
|
122
|
+
return { store, error: undefined };
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** A store from a value held in the app's shared state: cleaned like file text, empty for anything but an object. */
|
|
126
|
+
export function storeFromShared(value) {
|
|
127
|
+
return parseStore(isRecord(value) ? JSON.stringify(value) : undefined).store;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const WRITE_ATTEMPTS = 3;
|
|
131
|
+
|
|
132
|
+
/** Reads and parses the store file through the given `read(path)` (null or undefined when absent). */
|
|
133
|
+
export async function loadStore(read, path) {
|
|
134
|
+
return parseStore((await read(path)) ?? undefined);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Applies `change(store)` (gives { store } or { error }) to the file and writes it back only if
|
|
139
|
+
* nobody changed it meanwhile; a lost race is retried on the fresh content. Gives { store } or { error }.
|
|
140
|
+
* `io` carries the app's `read(path)` and `write(path, text, expected)`.
|
|
141
|
+
*/
|
|
142
|
+
export async function updateStore(io, path, change) {
|
|
143
|
+
let failure = "The workspaces file kept changing; try again.";
|
|
144
|
+
for (let attempt = 0; attempt < WRITE_ATTEMPTS; attempt += 1) {
|
|
145
|
+
let text;
|
|
146
|
+
try {
|
|
147
|
+
text = (await io.read(path)) ?? null;
|
|
148
|
+
} catch (e) {
|
|
149
|
+
return { error: `The workspaces file could not be read: ${e.message ?? e}` };
|
|
150
|
+
}
|
|
151
|
+
const changed = change(parseStore(text ?? undefined).store);
|
|
152
|
+
if (changed.error) return { error: changed.error };
|
|
153
|
+
try {
|
|
154
|
+
await io.write(path, serializeStore(changed.store), text);
|
|
155
|
+
return { store: changed.store };
|
|
156
|
+
} catch (e) {
|
|
157
|
+
failure = `${failure} (${e.message ?? e})`;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return { error: failure };
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function serializeStore(store) {
|
|
164
|
+
return `${JSON.stringify(store, null, 2)}\n`;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** The trimmed name, or the reason it is refused. `ownId` lets a workspace keep its own name. */
|
|
168
|
+
function checkName(store, name, ownId) {
|
|
169
|
+
const trimmed = name.trim();
|
|
170
|
+
if (trimmed === "") return { error: "Enter a name." };
|
|
171
|
+
if (store.workspaces.some((w) => w.id !== ownId && sameName(w.name, trimmed))) {
|
|
172
|
+
return { error: `A workspace named "${trimmed}" already exists.` };
|
|
173
|
+
}
|
|
174
|
+
return { name: trimmed };
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** An id for a new workspace: the name as a dashed slug, numbered when the store already holds it. */
|
|
178
|
+
export function newWorkspaceId(store, name) {
|
|
179
|
+
const slug = name.trim().toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "workspace";
|
|
180
|
+
const taken = new Set(store.workspaces.map((w) => w.id));
|
|
181
|
+
let id = slug;
|
|
182
|
+
for (let n = 2; taken.has(id); n += 1) id = `${slug}-${n}`;
|
|
183
|
+
return id;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** `{}` for no core, `{ machine }` for a free core, else the reason it is refused. Machine names are case-sensitive, like hc's. */
|
|
187
|
+
function checkMachine(store, machine, ownId) {
|
|
188
|
+
if (machine === undefined) return {};
|
|
189
|
+
if (!isText(machine)) return { error: "A core must be a machine name." };
|
|
190
|
+
const owner = store.workspaces.find((w) => w.id !== ownId && w.machine === machine);
|
|
191
|
+
if (owner) return { error: `The core "${machine}" already belongs to ${owner.name}.` };
|
|
192
|
+
return { machine };
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
const withoutMachine = ({ machine: _machine, ...rest }) => rest;
|
|
196
|
+
|
|
197
|
+
/** Adds a workspace under the given id; `machine` binds its core. Gives { store } or { error }. */
|
|
198
|
+
export function createWorkspace(store, { name, icon, color, machine }, id) {
|
|
199
|
+
const checked = checkName(store, name, undefined);
|
|
200
|
+
if (checked.error) return { error: checked.error };
|
|
201
|
+
const core = checkMachine(store, machine, undefined);
|
|
202
|
+
if (core.error) return { error: core.error };
|
|
203
|
+
return { store: { ...store, workspaces: [...store.workspaces, { id, name: checked.name, icon, color, ...core }] } };
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Changes a workspace's name, icon and color. A `machine` key binds its core; the key present with
|
|
208
|
+
* no value unbinds it (assignments stay); the key absent leaves the core as it is. Gives { store } or { error }.
|
|
209
|
+
*/
|
|
210
|
+
export function renameWorkspace(store, id, fields) {
|
|
211
|
+
const checked = checkName(store, fields.name, id);
|
|
212
|
+
if (checked.error) return { error: checked.error };
|
|
213
|
+
const core = "machine" in fields ? checkMachine(store, fields.machine, id) : undefined;
|
|
214
|
+
if (core?.error) return { error: core.error };
|
|
215
|
+
const edit = (w) => ({ ...(core ? withoutMachine(w) : w), name: checked.name, icon: fields.icon, color: fields.color, ...core });
|
|
216
|
+
return { store: { ...store, workspaces: store.workspaces.map((w) => (w.id === id ? edit(w) : w)) } };
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** Removes a workspace with its assignments, its groups and their members. */
|
|
220
|
+
export function deleteWorkspace(store, id) {
|
|
221
|
+
const assign = Object.fromEntries(Object.entries(store.assign).filter(([, workspaceId]) => workspaceId !== id));
|
|
222
|
+
const gone = new Set(groupsOf(store).filter((g) => g.workspace === id).map((g) => g.id));
|
|
223
|
+
return dropGroups({ ...store, workspaces: store.workspaces.filter((w) => w.id !== id), assign }, gone);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/** Puts a space in a workspace; an absent workspace id takes it out. An unknown workspace changes nothing. */
|
|
227
|
+
export function assignSpace(store, spaceId, workspaceId) {
|
|
228
|
+
const { [spaceId]: _removed, ...rest } = store.assign;
|
|
229
|
+
if (workspaceId === undefined) return { ...store, assign: rest };
|
|
230
|
+
if (!store.workspaces.some((w) => w.id === workspaceId)) return store;
|
|
231
|
+
return { ...store, assign: { ...rest, [spaceId]: workspaceId } };
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/** The active workspace, or undefined for Default, including an id the store no longer holds. */
|
|
235
|
+
export function activeWorkspace(store, activeId) {
|
|
236
|
+
return store.workspaces.find((w) => w.id === activeId);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
const isLocal = (space) => (space.machine ?? null) === null;
|
|
240
|
+
const coreNames = (store) => new Set(store.workspaces.map((w) => w.machine).filter(Boolean));
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The spaces the sidebar lists. A workspace lists every space of its core, plus the spaces of other
|
|
244
|
+
* machines (ones no workspace names) assigned to it; Default lists only the local core's spaces.
|
|
245
|
+
*/
|
|
246
|
+
export function visibleSpaces(store, activeId, spaces) {
|
|
247
|
+
const active = activeWorkspace(store, activeId);
|
|
248
|
+
if (!active) return spaces.filter(isLocal);
|
|
249
|
+
const cores = coreNames(store);
|
|
250
|
+
return spaces.filter((s) => {
|
|
251
|
+
if (active.machine && s.machine === active.machine) return true;
|
|
252
|
+
return !isLocal(s) && !cores.has(s.machine) && store.assign[s.id] === active.id;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/** The agents of the spaces `visibleSpaces` lists; an agent whose space is not among `spaces` is dropped. */
|
|
257
|
+
export function visibleAgents(store, activeId, agents, spaces) {
|
|
258
|
+
const shown = new Set(visibleSpaces(store, activeId, spaces).map((s) => s.id));
|
|
259
|
+
return agents.filter((a) => shown.has(a.space));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/** The machine an address belongs to: the part before "/", or null for this computer. */
|
|
263
|
+
export const machineOf = (address) => (address.includes("/") ? address.slice(0, address.indexOf("/")) : null);
|
|
264
|
+
const ownId = (machine, label) => (machine === null ? label : `${machine}/${label}`);
|
|
265
|
+
const spaceLabel = (terminal) => {
|
|
266
|
+
const label = terminal.labels?.["herdr.space"];
|
|
267
|
+
return typeof label === "string" ? label : undefined;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/** Whether no listed space holds the terminal: it has no space label, or one naming no space of its own machine, which is stale once that machine's layout is ready. */
|
|
271
|
+
function isUnheld(terminal, spaces, machines) {
|
|
272
|
+
const machine = machineOf(terminal.address);
|
|
273
|
+
const label = spaceLabel(terminal);
|
|
274
|
+
if (label === undefined) return true;
|
|
275
|
+
const ids = spaces.map((s) => s.id);
|
|
276
|
+
if (ids.includes(ownId(machine, label))) return false;
|
|
277
|
+
return machines.some((m) => (m.name ?? null) === machine && m.layout === "ready");
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* The live terminals no space holds, in `terminals` order: Default covers every core, a workspace its own
|
|
282
|
+
* core only (none when it names no core). A label naming no listed space counts only once its machine's layout is ready.
|
|
283
|
+
*/
|
|
284
|
+
export function unplacedTerminals(store, activeId, terminals, spaces, machines) {
|
|
285
|
+
const active = activeWorkspace(store, activeId);
|
|
286
|
+
return terminals.filter((t) => {
|
|
287
|
+
if (t.state !== "live") return false;
|
|
288
|
+
if (active && (!active.machine || machineOf(t.address) !== active.machine)) return false;
|
|
289
|
+
return isUnheld(t, spaces, machines);
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/** The `hc` arguments that place a terminal in a space by label, or undefined when the space is on another machine. */
|
|
294
|
+
export function placeLabelArgs(terminal, space) {
|
|
295
|
+
const machine = machineOf(terminal.address);
|
|
296
|
+
if ((space.machine ?? null) !== machine) return undefined;
|
|
297
|
+
const prefix = machine === null ? "" : `${machine}/`;
|
|
298
|
+
return ["label", terminal.address, `herdr.space=${space.id.slice(prefix.length)}`];
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** The shown space a terminal can be added to: undefined when none is shown or it is on another machine. */
|
|
302
|
+
export function addTarget(terminal, spaces) {
|
|
303
|
+
const shown = spaces.find((s) => s.active);
|
|
304
|
+
return shown && placeLabelArgs(terminal, shown) ? shown : undefined;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/** The `hc` arguments that remove a terminal's space label. */
|
|
308
|
+
export function unplaceLabelArgs(terminal) {
|
|
309
|
+
return ["label", terminal.address, "herdr.space="];
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** The machine headers the sidebar draws: other machines that hold a listed space, sorted; never a core. */
|
|
313
|
+
export function sidebarMachines(store, visible) {
|
|
314
|
+
const cores = coreNames(store);
|
|
315
|
+
const names = visible.map((s) => s.machine ?? null).filter((m) => m !== null && !cores.has(m));
|
|
316
|
+
return [...new Set(names)].sort();
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/** The machine a new space is made on: the active workspace's core; undefined (the local core) otherwise. */
|
|
320
|
+
export function newSpaceMachine(store, activeId) {
|
|
321
|
+
return activeWorkspace(store, activeId)?.machine;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/** The `space.new` arguments for a new space: `{ machine }` when the active workspace names a core, else `{}`. */
|
|
325
|
+
export function newSpaceArgs(store, activeId) {
|
|
326
|
+
const machine = newSpaceMachine(store, activeId);
|
|
327
|
+
return machine ? { machine } : {};
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* What a new space does: `{ edit: workspace }` when the active workspace names no core (a space made
|
|
332
|
+
* on the local core would be listed only under Default), else `{ create: args }` for `space.new`.
|
|
333
|
+
*/
|
|
334
|
+
export function newSpaceStep(store, activeId) {
|
|
335
|
+
if (showsCoreRow(store, activeId)) return { edit: activeWorkspace(store, activeId) };
|
|
336
|
+
return { create: newSpaceArgs(store, activeId) };
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Whether the core a new space would be made on is this computer: Default, or a workspace whose core `machines`
|
|
341
|
+
* (the parsed `hc machine ls` list) shows reached by `sh -c`. False for any other target, an unlisted core,
|
|
342
|
+
* a workspace with no core, and while `machines` is not a loaded list.
|
|
343
|
+
*/
|
|
344
|
+
export function newSpaceIsLocal(store, activeId, machines) {
|
|
345
|
+
const step = newSpaceStep(store, activeId);
|
|
346
|
+
if (step.edit) return false;
|
|
347
|
+
const name = step.create.machine;
|
|
348
|
+
if (!name) return true;
|
|
349
|
+
return Array.isArray(machines) && machines.some((m) => m?.name === name && m.target === "sh -c");
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/** The height of the "+" menu's popup for `rows` items: the menu draws each row 31px tall inside 5px of padding on each side. */
|
|
353
|
+
export function newSpacePopupHeight(rows) {
|
|
354
|
+
return 10 + 31 * rows;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// The confirm button text of the folder picker opened for a new space.
|
|
358
|
+
export const FOLDER_PICKER_BUTTON = "Create space";
|
|
359
|
+
|
|
360
|
+
/** The shared key the "New space from folder…" menu item writes (`{ seq }`), so the Spaces block, which outlives the popup, opens the folder picker. */
|
|
361
|
+
export const FOLDER_SPACE_REQUEST_KEY = "workspaces.folder-space-request";
|
|
362
|
+
|
|
363
|
+
/** What the sidebar's list shows: "loading" while the core is still being read and nothing is listed, "empty" once it is read and nothing is listed, else "rows". */
|
|
364
|
+
export function spaceListState(coreLoading, rowCount) {
|
|
365
|
+
if (rowCount > 0) return "rows";
|
|
366
|
+
return coreLoading ? "loading" : "empty";
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The store to make a new space from: the one already followed when it holds workspaces, else what
|
|
371
|
+
* the file holds, so a space made before the first read still lands on the active workspace's core.
|
|
372
|
+
*/
|
|
373
|
+
export async function settledStore(store, read, path) {
|
|
374
|
+
if (store.workspaces.length > 0) return store;
|
|
375
|
+
return (await loadStore(read, path)).store;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
const isAttached = (m) => isRecord(m) && isText(m.name) && !m.temporary;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* The cores the dialog offers, from the `machines` of `hc machine ls --json`: attached machines of any
|
|
382
|
+
* target, SSH ones included, that no other workspace names (the edited one, `ownId`, keeps its own),
|
|
383
|
+
* sorted by name, each with its connection state ("unknown" when the list gives no text one). The edited workspace's
|
|
384
|
+
* own core comes first as "not attached" when the list does not offer it, so the binding stays visible.
|
|
385
|
+
* Anything malformed gives an empty list.
|
|
386
|
+
*/
|
|
387
|
+
export function dialogCores(store, machines, ownId) {
|
|
388
|
+
const taken = new Set(store.workspaces.filter((w) => w.id !== ownId).map((w) => w.machine));
|
|
389
|
+
const cores = (Array.isArray(machines) ? machines : [])
|
|
390
|
+
.filter((m) => isAttached(m) && !taken.has(m.name))
|
|
391
|
+
.map((m) => ({ name: m.name, state: isText(m.state) ? m.state : "unknown" }))
|
|
392
|
+
.sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0));
|
|
393
|
+
const own = store.workspaces.find((w) => w.id === ownId)?.machine;
|
|
394
|
+
if (!own || cores.some((c) => c.name === own)) return cores;
|
|
395
|
+
return [{ name: own, state: "not attached" }, ...cores];
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/** True for a space on another machine: not this computer and named by no workspace. */
|
|
399
|
+
export function canMoveSpace(store, space) {
|
|
400
|
+
return space !== undefined && !isLocal(space) && !coreNames(store).has(space.machine);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/** True when the sidebar should ask the active workspace to choose its core: it exists and names none. */
|
|
404
|
+
export function showsCoreRow(store, activeId) {
|
|
405
|
+
const active = activeWorkspace(store, activeId);
|
|
406
|
+
return active !== undefined && !active.machine;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/** The shared key a freshly opened workspace window sets so its sidebar focuses the first listed space once. */
|
|
410
|
+
export const FOCUS_KEY = "workspaces.focus-first";
|
|
411
|
+
|
|
412
|
+
const WINDOWS_FOLDER = ".config/herdr-app-windows";
|
|
413
|
+
// An underscore is outside the `[a-z0-9-]` workspace ids, so Default's folder never collides with a workspace's.
|
|
414
|
+
const DEFAULT_WINDOW_FOLDER = "_default";
|
|
415
|
+
const WORKSPACE_ID = /^[a-z0-9-]+$/;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* The app home of the Herdr window that shows one workspace: one folder per workspace under the user's home,
|
|
419
|
+
* reused. An absent id (Default) has its own folder. An id that is not a lowercase slug gives undefined.
|
|
420
|
+
*/
|
|
421
|
+
export function windowHome(userHome, id) {
|
|
422
|
+
const folder = id === undefined || id === null ? DEFAULT_WINDOW_FOLDER : typeof id === "string" && WORKSPACE_ID.test(id) ? id : undefined;
|
|
423
|
+
if (folder === undefined) return undefined;
|
|
424
|
+
return `${userHome.replace(/\/+$/, "")}/${WINDOWS_FOLDER}/${folder}`;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
const WELCOMED_KEY = "frame.welcomed";
|
|
428
|
+
|
|
429
|
+
/** A copy of the JSON object in `text`; text that is absent, unreadable or not an object gives an empty one. */
|
|
430
|
+
function parseRecord(text) {
|
|
431
|
+
try {
|
|
432
|
+
const data = JSON.parse(text ?? "");
|
|
433
|
+
return isRecord(data) ? { ...data } : {};
|
|
434
|
+
} catch {
|
|
435
|
+
return {};
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* The shared state of a workspace window: the text of its existing shared.json with `layout`, the active
|
|
441
|
+
* workspace (null for Default), the main home that holds the store and the one-shot focus flag set.
|
|
442
|
+
* Every other key is kept; text that is absent or not a JSON object counts as no keys. The one key taken from
|
|
443
|
+
* the main home's shared.json text (`mainText`) is `frame.welcomed`, when it holds a value, so a window opens
|
|
444
|
+
* without the welcome the owner already finished.
|
|
445
|
+
*/
|
|
446
|
+
export function windowShared(text, id, mainHome, mainText) {
|
|
447
|
+
const kept = parseRecord(text);
|
|
448
|
+
const welcomed = parseRecord(mainText)[WELCOMED_KEY];
|
|
449
|
+
if (welcomed !== undefined && welcomed !== null) kept[WELCOMED_KEY] = welcomed;
|
|
450
|
+
return { ...kept, layout: "Workspaces", "workspaces.active": id ?? null, "workspaces.home": mainHome, [FOCUS_KEY]: true };
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
const WINDOW_SOURCES = [
|
|
454
|
+
{ path: "mods/workspaces", dir: true },
|
|
455
|
+
{ path: "mods/editor", dir: true, optional: true },
|
|
456
|
+
{ path: "mods/editor-files", dir: true, optional: true },
|
|
457
|
+
{ path: "mods/editor-changes", dir: true, optional: true },
|
|
458
|
+
{ path: "mods/editor-diff", dir: true, optional: true },
|
|
459
|
+
{ path: "mods/auto-tabs", dir: true, optional: true },
|
|
460
|
+
{ path: "layouts/Workspaces.json", dir: false },
|
|
461
|
+
{ path: "layouts/.state", dir: true, optional: true },
|
|
462
|
+
{ path: "keys.json", dir: false, optional: true },
|
|
463
|
+
{ path: "settings.json", dir: false, optional: true },
|
|
464
|
+
{ path: "themes", dir: true, optional: true },
|
|
465
|
+
];
|
|
466
|
+
|
|
467
|
+
/** The optional sources of the main home the open plan mirrors when they exist, as paths relative to it. */
|
|
468
|
+
export const OPTIONAL_WINDOW_SOURCES = WINDOW_SOURCES.filter((s) => s.optional).map((s) => s.path);
|
|
469
|
+
|
|
470
|
+
/** The folder names the editor mods had before they were renamed; a window home may still hold copies. */
|
|
471
|
+
const EARLIER_MODS = ["my-files", "my-changes", "my-diff"];
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* What opening a workspace in a new Herdr window does, in order: check the window is not already running,
|
|
475
|
+
* make its folders, remove the earlier editor mod folders, remove the layout file an earlier version named in lower case (the volume ignores case, so
|
|
476
|
+
* copying over it would keep the old spelling in the folder), mirror each source of the main home that `present` lists (the optional ones that exist),
|
|
477
|
+
* write its shared state, launch it. Writes only under the window's home. Gives undefined when the id has no
|
|
478
|
+
* window home or the window home is this window's own (`appHome`). `mainHome` is where the store lives.
|
|
479
|
+
*/
|
|
480
|
+
export function openPlan({ userHome, mainHome, id, appHome, present }) {
|
|
481
|
+
const home = windowHome(userHome, id);
|
|
482
|
+
if (home === undefined || home === appHome) return undefined;
|
|
483
|
+
const mirrors = WINDOW_SOURCES.filter((s) => !s.optional || present.includes(s.path))
|
|
484
|
+
.map((s) => ({ kind: "mirror", from: `${mainHome}/${s.path}`, to: `${home}/${s.path}`, dir: s.dir }));
|
|
485
|
+
return [
|
|
486
|
+
{ kind: "running", socket: `${home}/herdr-app.sock` },
|
|
487
|
+
{ kind: "folders", paths: [home, `${home}/mods`, `${home}/layouts`] },
|
|
488
|
+
{ kind: "removeFolders", paths: EARLIER_MODS.map((name) => `${home}/mods/${name}`) },
|
|
489
|
+
{ kind: "remove", path: `${home}/layouts/workspaces.json` },
|
|
490
|
+
...mirrors,
|
|
491
|
+
{ kind: "shared", path: `${home}/shared.json`, id, mainHome },
|
|
492
|
+
{ kind: "launch", command: "/usr/bin/open", args: ["-n", "-b", "dev.herdr.app", "--env", `HERDR_APP_HOME=${home}`] },
|
|
493
|
+
];
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/** The groups of the active workspace, or of Default, in creation order; an id the store no longer holds counts as Default. */
|
|
497
|
+
export function workspaceGroups(store, activeId) {
|
|
498
|
+
const key = activeWorkspace(store, activeId)?.id;
|
|
499
|
+
return groupsOf(store).filter((g) => g.workspace === key);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/** The group a space is listed in, or undefined: an entry whose group belongs to another workspace is ignored, never removed. */
|
|
503
|
+
export function spaceGroup(store, activeId, spaceId) {
|
|
504
|
+
const id = membersOf(store)[spaceId];
|
|
505
|
+
return workspaceGroups(store, activeId).some((g) => g.id === id) ? id : undefined;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* The sidebar's sections for the listed `rows` ({ w: space, tree }, in Herdr's order): first the rows in no group,
|
|
510
|
+
* then one section per group of the active workspace in group order, an empty group included.
|
|
511
|
+
* A worktree row (`tree` set) goes with the main checkout above it.
|
|
512
|
+
*/
|
|
513
|
+
export function sidebarSections(store, activeId, rows) {
|
|
514
|
+
const groups = workspaceGroups(store, activeId);
|
|
515
|
+
const loose = { group: undefined, rows: [] };
|
|
516
|
+
const sections = [loose, ...groups.map((group) => ({ group, rows: [] }))];
|
|
517
|
+
const byGroup = new Map(sections.map((s) => [s.group?.id, s]));
|
|
518
|
+
let current = loose;
|
|
519
|
+
for (const row of rows) {
|
|
520
|
+
if (!row.tree) current = byGroup.get(spaceGroup(store, activeId, row.w.id)) ?? loose;
|
|
521
|
+
current.rows.push(row);
|
|
522
|
+
}
|
|
523
|
+
return sections;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Orders the listed spaces `list` ({ w: space, i, g: git or null }) for the sidebar: each linked worktree goes under the
|
|
528
|
+
* main checkout of its repo (under the first main one when a repo has several), marked with its tree glyph. Every row
|
|
529
|
+
* gets `groupSpace`, the id of the space whose group entry it acts on: its main checkout for a nested worktree, itself otherwise.
|
|
530
|
+
*/
|
|
531
|
+
export function arrangeRows(list) {
|
|
532
|
+
const mains = new Map();
|
|
533
|
+
for (const r of list) if (r.g && !r.g.linked && !mains.has(r.g.repo)) mains.set(r.g.repo, r.w.id);
|
|
534
|
+
const nested = (r) => r.g?.linked && mains.has(r.g.repo);
|
|
535
|
+
const out = [];
|
|
536
|
+
for (const r of list) {
|
|
537
|
+
if (nested(r)) continue;
|
|
538
|
+
out.push({ ...r, tree: null, groupSpace: r.w.id });
|
|
539
|
+
if (!r.g || r.g.linked || mains.get(r.g.repo) !== r.w.id) continue;
|
|
540
|
+
const kids = list.filter((k) => nested(k) && k.g.repo === r.g.repo);
|
|
541
|
+
kids.forEach((k, n) => out.push({ ...k, tree: n === kids.length - 1 ? "└─" : "├─", groupSpace: r.w.id }));
|
|
542
|
+
}
|
|
543
|
+
return out;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/** The id of the first space the sidebar draws for `rows` (from `arrangeRows`): the rows in no group, then each group; in a section the local rows precede the other machines'. */
|
|
547
|
+
export function firstListedSpace(store, activeId, rows) {
|
|
548
|
+
for (const { rows: section } of sidebarSections(store, activeId, rows)) {
|
|
549
|
+
const machines = sidebarMachines(store, section.map((r) => r.w));
|
|
550
|
+
const first = section.find((r) => !machines.includes(r.w.machine)) ?? section.find((r) => r.w.machine === machines[0]);
|
|
551
|
+
if (first) return first.w.id;
|
|
552
|
+
}
|
|
553
|
+
return undefined;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/** Starts an open of the window home `key` in the set of homes being opened; false (nothing changed) when that home is already being opened. */
|
|
557
|
+
export function beginOpen(opening, key) {
|
|
558
|
+
if (opening.has(key)) return false;
|
|
559
|
+
opening.add(key);
|
|
560
|
+
return true;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/** Frees the window home `key` once its open has ended, whether it succeeded or failed. */
|
|
564
|
+
export function endOpen(opening, key) {
|
|
565
|
+
opening.delete(key);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* One read of the store file through `read(path)`. Settles to the store to show and whether the file counts as read:
|
|
570
|
+
* a file found (valid or not) or absent counts; a read that rejects keeps `previous` and does not count.
|
|
571
|
+
*/
|
|
572
|
+
export async function readStoreOnce(read, path, previous) {
|
|
573
|
+
try {
|
|
574
|
+
return { store: (await loadStore(read, path)).store, read: true };
|
|
575
|
+
} catch {
|
|
576
|
+
return { store: previous, read: false };
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/** Makes the store folder through the app's `exec` (a window's own file API cannot write in another home). Gives {} or { error } naming mkdir and why. */
|
|
581
|
+
export async function ensureStoreDir(exec, dir) {
|
|
582
|
+
const result = await exec("/bin/mkdir", ["-p", dir]);
|
|
583
|
+
if (result.code === 0) return {};
|
|
584
|
+
return { error: `mkdir ${dir} failed: ${String(result.stderr ?? "").trim() || `exit code ${result.code}`}` };
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/** How long a new window's home stays held for its socket to answer, and the pause between two probes. */
|
|
588
|
+
export const OPEN_DEADLINE_MS = 15000;
|
|
589
|
+
export const OPEN_PROBE_INTERVAL_MS = 1000;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Runs an open of the window home `key` and holds the home in `opening` until the new window answers on its socket
|
|
593
|
+
* or the deadline passes. `start()` runs the steps and gives { error } (a failure, home freed at once), { launched: true }
|
|
594
|
+
* (the window was started; wait for it) or {} (nothing was started). Gives { refused: true } when the home is already held.
|
|
595
|
+
* `probe()` tells whether the socket answers; `sleep(ms)` and `now()` are the clock.
|
|
596
|
+
*/
|
|
597
|
+
export async function runOpen({ opening, key, start, probe, sleep, now }) {
|
|
598
|
+
if (key !== undefined && !beginOpen(opening, key)) return { refused: true };
|
|
599
|
+
try {
|
|
600
|
+
const started = await start();
|
|
601
|
+
if (started.error !== undefined) return { error: started.error };
|
|
602
|
+
if (!started.launched) return {};
|
|
603
|
+
const since = now();
|
|
604
|
+
while (!(await probe()) && now() - since < OPEN_DEADLINE_MS) await sleep(OPEN_PROBE_INTERVAL_MS);
|
|
605
|
+
return {};
|
|
606
|
+
} finally {
|
|
607
|
+
if (key !== undefined) endOpen(opening, key);
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Whether a window opened with the focus flag may select its first space: the flag is set and the store has been
|
|
613
|
+
* read from disk; a workspace window also needs `active`, the workspace found in that store.
|
|
614
|
+
*/
|
|
615
|
+
export function focusReady({ flag, storeRead, id, active }) {
|
|
616
|
+
return Boolean(flag) && storeRead === true && (id === undefined || Boolean(active));
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/** The fold key of a machine header in a section: `groupId` is undefined for the rows in no group. */
|
|
620
|
+
export const machineFoldKey = (groupId, machine) => `${groupId ?? ""}/${machine}`;
|
|
621
|
+
|
|
622
|
+
/** True when the section a space is listed in holds its machine's header folded, so its row is hidden (`folded` is the set of fold keys). */
|
|
623
|
+
export function foldedAway(store, activeId, folded, space) {
|
|
624
|
+
return folded.has(machineFoldKey(spaceGroup(store, activeId, space.id), space.machine));
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/** An id for a new group: the name as a dashed slug, numbered when the store already holds it. */
|
|
628
|
+
export function newGroupId(store, name) {
|
|
629
|
+
const slug = name.trim().toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "group";
|
|
630
|
+
const taken = new Set(groupsOf(store).map((g) => g.id));
|
|
631
|
+
let id = slug;
|
|
632
|
+
for (let n = 2; taken.has(id); n += 1) id = `${slug}-${n}`;
|
|
633
|
+
return id;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/** The trimmed name, or the reason it is refused; names are unique among the groups of one workspace (`workspaceId` undefined is Default). */
|
|
637
|
+
function checkGroupName(store, workspaceId, name, ownId) {
|
|
638
|
+
const trimmed = name.trim();
|
|
639
|
+
if (trimmed === "") return { error: "Enter a name." };
|
|
640
|
+
if (groupsOf(store).some((g) => g.id !== ownId && g.workspace === workspaceId && sameName(g.name, trimmed))) {
|
|
641
|
+
return { error: `A group named "${trimmed}" already exists.` };
|
|
642
|
+
}
|
|
643
|
+
return { name: trimmed };
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/** Adds a group under `id` at the end of a workspace's groups (`workspaceId` undefined is Default). Gives { store } or { error }. */
|
|
647
|
+
export function createGroup(store, workspaceId, name, id) {
|
|
648
|
+
if (workspaceId !== undefined && !store.workspaces.some((w) => w.id === workspaceId)) return { error: "This workspace no longer exists." };
|
|
649
|
+
const checked = checkGroupName(store, workspaceId, name, undefined);
|
|
650
|
+
if (checked.error) return { error: checked.error };
|
|
651
|
+
const group = { id, name: checked.name, ...(workspaceId === undefined ? {} : { workspace: workspaceId }) };
|
|
652
|
+
return { store: withGroups(store, [...groupsOf(store), group], membersOf(store)) };
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/** Renames a group; it may keep its own name in another case. Gives { store } or { error }. */
|
|
656
|
+
export function renameGroup(store, id, name) {
|
|
657
|
+
const group = groupsOf(store).find((g) => g.id === id);
|
|
658
|
+
if (!group) return { error: "This group no longer exists." };
|
|
659
|
+
const checked = checkGroupName(store, group.workspace, name, id);
|
|
660
|
+
if (checked.error) return { error: checked.error };
|
|
661
|
+
return { store: withGroups(store, groupsOf(store).map((g) => (g.id === id ? { ...g, name: checked.name } : g)), membersOf(store)) };
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/** Removes a group and its members' entries: its spaces are listed in no group. */
|
|
665
|
+
export function deleteGroup(store, id) {
|
|
666
|
+
return { store: dropGroups(store, new Set([id])) };
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Puts a space in a group of the active workspace, or in none when `groupId` is undefined. The space must be one
|
|
671
|
+
* `spaces` lists in that workspace and the group must belong to it, else { error } and nothing changes. Gives { store } or { error }.
|
|
672
|
+
*/
|
|
673
|
+
export function moveToGroup(store, activeId, spaces, spaceId, groupId) {
|
|
674
|
+
const { [spaceId]: _removed, ...rest } = membersOf(store);
|
|
675
|
+
if (groupId === undefined) {
|
|
676
|
+
const held = groupsOf(store).find((g) => g.id === membersOf(store)[spaceId]);
|
|
677
|
+
if (held && held.workspace !== activeWorkspace(store, activeId)?.id) return { store };
|
|
678
|
+
return { store: withGroups(store, groupsOf(store), rest) };
|
|
679
|
+
}
|
|
680
|
+
const group = groupsOf(store).find((g) => g.id === groupId);
|
|
681
|
+
if (!group) return { error: "This group no longer exists." };
|
|
682
|
+
if (group.workspace !== activeWorkspace(store, activeId)?.id) return { error: "That group belongs to another workspace." };
|
|
683
|
+
if (!visibleSpaces(store, activeId, spaces).some((s) => s.id === spaceId)) return { error: "That space is not listed in this workspace." };
|
|
684
|
+
return { store: withGroups(store, groupsOf(store), { ...rest, [spaceId]: groupId }) };
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/** The views stacked in the left sidebar, in the order the rail lists them; icons are the shipped mods/workspaces/<icon>.svg files. */
|
|
688
|
+
export const SIDEBAR_VIEWS = [
|
|
689
|
+
{ id: "sidebar-spaces", label: "Spaces", icon: "layers" },
|
|
690
|
+
{ id: "files", label: "Files", icon: "files" },
|
|
691
|
+
{ id: "changes", label: "Changes", icon: "git-compare" },
|
|
692
|
+
];
|
|
693
|
+
|
|
694
|
+
/** The view after `active`, wrapping at the end; an unknown or missing id gives the first. */
|
|
695
|
+
export function nextSidebarView(active) {
|
|
696
|
+
const index = SIDEBAR_VIEWS.findIndex((view) => view.id === active);
|
|
697
|
+
return SIDEBAR_VIEWS[(index + 1) % SIDEBAR_VIEWS.length].id;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
/** Whether the shared tab-panels list still shows the tab bar's Files and Changes buttons, so the header must empty it. */
|
|
701
|
+
export const tabPanelsNeedReset = (value) => !(Array.isArray(value) && value.length === 0);
|
|
702
|
+
|
|
703
|
+
/** Whether a shared request (`{ seq }`, such as "open in new window" with its `id`, `null` for Default, or "new space from folder") came after the one its handler already handled. */
|
|
704
|
+
export const isNewWindowRequest = (value, handledSeq) => Number.isFinite(value?.seq) && value.seq > handledSeq;
|
|
705
|
+
|
|
706
|
+
/** The seq for the next shared request (such as "open in new window"): one above the stored request's, 1 when none is stored. Counting up, not a timestamp, keeps it above what a header already handled even if the clock is set back. */
|
|
707
|
+
export const nextWindowRequestSeq = (stored) => (Number.isFinite(stored?.seq) ? stored.seq + 1 : 1);
|
|
708
|
+
|
|
709
|
+
/** Switcher popup height: 5 px padding twice, the 9 px separator, a row per workspace plus Default, "New workspace…" and "Open in new window", within what a window can show. */
|
|
710
|
+
export const switcherPopupHeight = (workspaces, rowHeight = 32) => Math.min(480, 10 + 9 + (workspaces + 3) * rowHeight);
|