@skill-map/cli 0.68.0 → 0.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/cli/tutorial/sm-tutorial/SKILL.md +14 -15
  2. package/dist/cli/tutorial/sm-tutorial/fixtures-data/manifest.json +0 -3
  3. package/dist/cli/tutorial/sm-tutorial/references/_core.md +1 -1
  4. package/dist/cli/tutorial/sm-tutorial/references/_manifest.json +30 -56
  5. package/dist/cli/tutorial/sm-tutorial/references/_manifest.yml +11 -35
  6. package/dist/cli/tutorial/sm-tutorial/references/fixtures.md +6 -7
  7. package/dist/cli/tutorial/sm-tutorial/references/part-authoring.md +2 -2
  8. package/dist/cli/tutorial/sm-tutorial/references/part-basic-daily.md +25 -51
  9. package/dist/cli/tutorial/sm-tutorial/references/part-basic-fundamentals.md +20 -19
  10. package/dist/cli/tutorial/sm-tutorial/references/part-basic-kickoff.md +150 -5
  11. package/dist/cli/tutorial/sm-tutorial/references/part-cli.md +1 -1
  12. package/dist/cli/tutorial/sm-tutorial/references/part-daily-loop.md +41 -73
  13. package/dist/cli/tutorial/sm-tutorial/references/part-fundamentals.md +25 -29
  14. package/dist/cli/tutorial/sm-tutorial/references/part-plugins.md +1 -1
  15. package/dist/cli/tutorial/sm-tutorial/references/part-project-kickoff.md +170 -13
  16. package/dist/cli/tutorial/sm-tutorial/references/part-settings.md +2 -2
  17. package/dist/cli/tutorial/sm-tutorial/scripts/state.js +4 -4
  18. package/dist/cli.js +12 -11
  19. package/dist/index.js +3 -3
  20. package/dist/kernel/index.js +3 -3
  21. package/dist/ui/{chunk-4F53HBGG.js → chunk-22EQLC23.js} +1 -1
  22. package/dist/ui/chunk-TLMV4LOQ.js +3 -0
  23. package/dist/ui/index.html +1 -1
  24. package/dist/ui/{main-ZYRIR6DB.js → main-R7BIU4HU.js} +3 -3
  25. package/package.json +2 -2
  26. package/dist/cli/tutorial/sm-tutorial/references/part-basic-connect.md +0 -166
  27. package/dist/cli/tutorial/sm-tutorial/references/part-connect-harness.md +0 -175
  28. package/dist/ui/chunk-BJUBDHJR.js +0 -3
  29. /package/dist/ui/{chunk-3GDWM5VM.js → chunk-K3ZRQNN5.js} +0 -0
@@ -0,0 +1,3 @@
1
+ import{a as rt,b as at,c as lt,d as ct,e as de,f as ge,g as Ee,h as Te,i as pt}from"./chunk-3U4QZKU2.js";import{b as ht,c as w,d as _t}from"./chunk-PU5OP5RN.js";import{c as H,d as W,j as ut,k as Oe,l as Ie}from"./chunk-KMHXNOFZ.js";import"./chunk-Z7SOKILO.js";import{a as dt,b as gt}from"./chunk-QVG7J2MP.js";import{b as Pe,c as Me}from"./chunk-CG25RHMO.js";import{a as pe,b as me,c as mt}from"./chunk-GUPPOK7U.js";import{a as tt,b as nt,c as it,d as ot,u as _e,v as st}from"./chunk-BSIR3ADF.js";import{Q as re,X as et,ca as we,ea as ae,fa as le,ga as ce,na as Ce,oa as Se}from"./chunk-JKPG5PO7.js";import{r as Ze}from"./chunk-7WMT2LX4.js";import"./chunk-TQBXK5JN.js";import{$ as ve,$b as c,Ab as $,Bb as B,Cb as qe,Ga as We,Ha as oe,Ib as F,Ja as s,Jb as Re,K as Ue,Kb as x,Mb as d,P as C,U as He,Ub as Xe,V as P,Vb as Ye,W as M,Xb as ke,Yb as X,Za as V,ac as p,bc as m,cb as Z,cc as D,ga as _,ja as L,kc as ye,nb as v,qb as u,rb as h,sb as xe,tb as ee,tc as se,ub as T,vb as O,wb as f,wc as b,xb as a,xc as Qe,yb as r,yc as U,zb as y,zc as Je}from"./chunk-EJVWTBMV.js";import{a as z,b as Q}from"./chunk-ZRJ5ZCFR.js";function ln(t,o){if(t&1&&(a(0,"p",6),c(1),r()),t&2){let e=d();s(),D(" ",e.texts.aboutErrorPrefix," ",e.loadError()," ")}}var ft=(()=>{class t{dataSource=C(H);updateCheck=C(ht);theme=C(Oe);visible=U.required();texts=w;health=_(null);loadError=_(null);markSrc=b(()=>this.theme.resolved()==="dark"?"skill-map-mark-light.svg":"skill-map-mark-dark.svg");cliVersion=b(()=>this.updateCheck.current()??this.health()?.implVersion??this.texts.aboutUnknown);specVersion=b(()=>this.health()?.specVersion??this.texts.aboutLoading);schemaVersion=b(()=>this.health()?.schemaVersion??this.texts.aboutLoading);cwd=b(()=>this.health()?.cwd??this.texts.aboutLoading);dbDisplay=b(()=>{let e=this.health();return e?this.texts.aboutDbValue(e.db,cn(e.dbPath,e.cwd)):this.texts.aboutLoading});constructor(){L(()=>{this.visible()&&this.health()===null&&this.load()})}async load(){this.loadError.set(null);try{let e=await this.dataSource.health();this.health.set(e)}catch(e){let n=e instanceof W||e instanceof Error?e.message:String(e);this.loadError.set(n)}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-about"]],inputs:{visible:[1,"visible"]},decls:57,vars:25,consts:[["aria-labelledby","settings-about-heading","data-testid","settings-about",1,"settings-about"],[1,"settings-about__header"],["width","64","height","64","alt","","aria-hidden","true","data-testid","settings-about-logo",1,"settings-about__logo",3,"ngSrc"],[1,"settings-about__heading-text"],["id","settings-about-heading",1,"settings-about__title"],[1,"settings-about__intro"],["data-testid","settings-about-error",1,"settings-about__error"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-star",1,"settings-about__star",3,"href"],["aria-hidden","true",1,"fa-solid","fa-star","settings-about__star-icon"],[1,"settings-about__star-text"],[1,"settings-about__star-heading"],[1,"settings-about__star-body"],[1,"settings-about__star-cta"],["aria-hidden","true",1,"fa-solid","fa-star"],[1,"settings-about__list"],[1,"settings-about__row"],[1,"settings-about__label"],[1,"settings-about__value"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-website",1,"settings-about__link",3,"href"],["target","_blank","rel","noopener noreferrer","data-testid","settings-about-github",1,"settings-about__link",3,"href"],["data-testid","settings-about-cli",1,"settings-about__value"],["data-testid","settings-about-spec",1,"settings-about__value"],["data-testid","settings-about-schema",1,"settings-about__value"],["data-testid","settings-about-cwd",1,"settings-about__value"],["data-testid","settings-about-db",1,"settings-about__value"]],template:function(n,i){n&1&&(a(0,"section",0)(1,"header",1),y(2,"img",2),a(3,"div",3)(4,"h2",4),c(5),r(),a(6,"p",5),c(7),r()()(),u(8,ln,2,2,"p",6),a(9,"a",7),y(10,"i",8),a(11,"span",9)(12,"span",10),c(13),r(),a(14,"span",11),c(15),r()(),a(16,"span",12),y(17,"i",13),c(18),r()(),a(19,"dl",14)(20,"div",15)(21,"dt",16),c(22),r(),a(23,"dd",17)(24,"a",18),c(25),r()()(),a(26,"div",15)(27,"dt",16),c(28),r(),a(29,"dd",17)(30,"a",19),c(31),r()()(),a(32,"div",15)(33,"dt",16),c(34),r(),a(35,"dd",20),c(36),r()(),a(37,"div",15)(38,"dt",16),c(39),r(),a(40,"dd",21),c(41),r()(),a(42,"div",15)(43,"dt",16),c(44),r(),a(45,"dd",22),c(46),r()(),a(47,"div",15)(48,"dt",16),c(49),r(),a(50,"dd",23),c(51),r()(),a(52,"div",15)(53,"dt",16),c(54),r(),a(55,"dd",24),c(56),r()()()()),n&2&&(s(2),f("ngSrc",i.markSrc()),s(3),m(" ",i.texts.aboutHeading," "),s(2),p(i.texts.aboutIntro),s(),h(i.loadError()?8:-1),s(),f("href",i.texts.aboutGithubUrl,oe),v("aria-label",i.texts.aboutStarA11y),s(4),p(i.texts.aboutStarHeading),s(2),p(i.texts.aboutStarBody),s(3),m(" ",i.texts.aboutStarCta," "),s(4),p(i.texts.aboutWebsiteLabel),s(2),f("href",i.texts.aboutWebsiteUrl,oe),s(),p(i.texts.aboutWebsiteUrl),s(3),p(i.texts.aboutGithubLabel),s(2),f("href",i.texts.aboutGithubUrl,oe),s(),p(i.texts.aboutGithubUrl),s(3),p(i.texts.aboutCliLabel),s(2),m(" ",i.cliVersion()," "),s(3),p(i.texts.aboutSpecLabel),s(2),m(" ",i.specVersion()," "),s(3),p(i.texts.aboutSchemaLabel),s(2),m(" ",i.schemaVersion()," "),s(3),p(i.texts.aboutFolderLabel),s(2),m(" ",i.cwd()," "),s(3),p(i.texts.aboutDbLabel),s(2),m(" ",i.dbDisplay()," "))},dependencies:[Ze],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-about[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.settings-about__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}.settings-about__logo[_ngcontent-%COMP%]{width:64px;height:64px;flex-shrink:0}.settings-about__heading-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;min-width:0}.settings-about__title[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:600;margin:0}.settings-about__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-about__error[_ngcontent-%COMP%]{margin:0;padding:.5rem .75rem;border-radius:var(--p-border-radius);background:var(--p-message-error-background);color:var(--p-message-error-color);font-size:.875rem}.settings-about__list[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.settings-about__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:180px 1fr;align-items:baseline;gap:.75rem;padding:.5rem .75rem;border-radius:var(--p-border-radius)}.settings-about__row[_ngcontent-%COMP%]:nth-child(odd){background:var(--p-content-hover-background)}.settings-about__label[_ngcontent-%COMP%]{margin:0;font-size:.875rem;color:var(--p-text-muted-color)}.settings-about__value[_ngcontent-%COMP%]{margin:0;font-family:var(--sm-font-mono);font-size:.875rem;word-break:break-all}.settings-about__link[_ngcontent-%COMP%]{color:var(--p-primary-color);text-decoration:none}.settings-about__link[_ngcontent-%COMP%]:hover, .settings-about__link[_ngcontent-%COMP%]:focus-visible{text-decoration:underline}.settings-about__star[_ngcontent-%COMP%]{--star-accent: #f4b400;display:flex;align-items:center;gap:.875rem;padding:.875rem 1rem;border-radius:var(--p-border-radius);border:1px solid color-mix(in oklab,var(--star-accent) 45%,transparent);background:color-mix(in oklab,var(--star-accent) 12%,transparent);color:var(--p-text-color);text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.settings-about__star[_ngcontent-%COMP%]:hover, .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 22%,transparent);border-color:color-mix(in oklab,var(--star-accent) 70%,transparent);transform:translateY(-1px);outline:none}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 18%,transparent);border-color:color-mix(in oklab,var(--star-accent) 55%,transparent)}.app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:hover, .app-dark[_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible, .app-dark [_nghost-%COMP%] .settings-about__star[_ngcontent-%COMP%]:focus-visible{background:color-mix(in oklab,var(--star-accent) 30%,transparent);border-color:var(--star-accent)}.settings-about__star-icon[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--star-accent);flex-shrink:0}.settings-about__star-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-about__star-heading[_ngcontent-%COMP%]{font-weight:600;font-size:.95rem}.settings-about__star-body[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--p-text-muted-color);line-height:1.4}.settings-about__star-cta[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border-radius:var(--sm-radius-pill);background:var(--star-accent);color:#1a1a1a;font-weight:600;font-size:.8125rem;white-space:nowrap;flex-shrink:0}.settings-about__star[_ngcontent-%COMP%]:hover .settings-about__star-cta[_ngcontent-%COMP%], .settings-about__star[_ngcontent-%COMP%]:focus-visible .settings-about__star-cta[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--star-accent) 88%,white)}"],changeDetection:0})}return t})();function cn(t,o){if(!t||!o)return t;let e=o.replace(/[/\\]+$/,"");return t.startsWith(e)?t.slice(e.length).replace(/^[/\\]+/,""):t}var ue=(()=>{class t{dataSource=C(H);scanTrigger=C(_t);owners=_(new Set);applyingSig=_(!1);applying=this.applyingSig.asReadonly();applyErrorSig=_(null);applyError=this.applyErrorSig.asReadonly();dirtyCount=b(()=>{let e=0;for(let n of this.owners())e+=n.dirtyIds().size;return e});restartRecommended=b(()=>{for(let e of this.owners())if(e.restartRecommended?.()===!0)return!0;return!1});register(e){if(this.owners().has(e))return;let n=new Set(this.owners());n.add(e),this.owners.set(n)}deregister(e){if(!this.owners().has(e))return;let n=new Set(this.owners());n.delete(e),this.owners.set(n)}async applyChanges(){if(this.applyingSig())return{ok:!1};let e=this.collectAllChanges();if(e.length===0)return{ok:!1};this.applyingSig.set(!0),this.applyErrorSig.set(null);let n=null;try{n=await this.dataSource.applyPluginChanges(e)}catch(i){return this.applyErrorSig.set(dn(i)),this.applyingSig.set(!1),{ok:!1}}this.applyingSig.set(!1);for(let i of this.owners())i.reseed(n.items);return this.scanTrigger.run(),{ok:!0}}discardChanges(){for(let e of this.owners())e.discardChanges();this.applyErrorSig.set(null)}collectAllChanges(){let e=[];for(let n of this.owners())e.push(...n.collectChanges());return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Ue({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function dn(t){return t instanceof W||t instanceof Error?t.message:String(t)}var bt={schemaVersion:1,entries:[{version:"0.68.1",date:"2026-06-27",kind:"user-facing",highlights:[{body:"The `sm tutorial` picker now lists each agent by name (Claude, OpenAI Codex, Google's Antigravity) instead of its install folder. The guided tutorial is tighter: building and connecting your project's harness is now one continuous part, with clearer copy throughout.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.68.0",date:"2026-06-26",kind:"user-facing",highlights:[{body:"**Project plugins no longer run until you trust them.** Plugins committed in a repo's `.skill-map/plugins/` are now listed but not executed by `sm scan` / `sm serve` until you run `sm plugins enable <id>`, so cloning and scanning a repo no longer auto-runs its plugins.",packages:["@skill-map/cli"]},{body:"**Safer restores, stricter limits.** `sm db restore` now refuses a backup that isn't a real database, or one written by a newer `sm`, before touching your data. And `--max-scan` / `--max-nodes` reject values like `1e3` instead of silently treating them as 1000.",packages:["@skill-map/cli"]},{body:"**Provider kinds get their own colour.** Node kinds added by providers (for example Antigravity workflows) now show their declared colour in the graph and the kind filter, icon included, instead of falling back to grey.",packages:["@skill-map/cli"]},{body:"`sm tutorial` now runs end to end beyond Claude: a basic skills-and-references book on the open Agent Skills standard (agent-skills / Antigravity) and a rich book for OpenAI Codex, each matching how scans resolve your project.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.67.0",date:"2026-06-26",kind:"user-facing",highlights:[{body:"**Antigravity is on by default now.** A project with a `.agent/workflows/` folder auto-detects the Antigravity lens; those files show up as workflows (not plain Markdown), and a `/name` reference links to the matching workflow or skill.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.66.0",date:"2026-06-25",kind:"user-facing",highlights:[{body:'The provider lens picker is simpler: one open "Agent Skills" lens (the default when no vendor like Claude or Codex is detected) replaces the old separate "Markdown" and "Open Skills" entries. Plain `.md` files are still mapped, same as before.',packages:["@skill-map/cli","@skill-map/spec"]},{body:"OpenAI Codex projects now show their Agent Skills (`.agents/skills/<name>/SKILL.md`) on the map as skill nodes next to the Codex agents, and a slash invocation from an agent to a skill is drawn as a link.",packages:["@skill-map/cli","@skill-map/spec"]},{body:`The provider lens names now read consistently: "Anthropic's Claude", "OpenAI's Codex", "Google's Antigravity", and "Standard: Agent skills". The change shows up in the lens dropdown, the topbar lens chip, and the per-node provider chips.`,packages:["@skill-map/cli","@skill-map/spec"]},{body:"The inspector's Body section now has a Raw / Rendered toggle: flip between the formatted Markdown and a read-only, syntax-highlighted source view (with line numbers) of a node's body, without leaving the panel.",packages:["@skill-map/cli"]},{body:"Codex agents (`.codex/agents/*.toml`) now open in the inspector with a proper metadata section and a readable, Markdown-rendered body, instead of a wall of raw TOML.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"OpenAI Codex is now a built-in provider. Open a project with a `.codex/` folder and skill-map maps your Codex sub-agents plus the links inside their developer instructions, the same way it does for Claude. Pick it anytime from the provider lens.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Frontmatter checks now follow each vendor's rules.** Plain Markdown files and Claude skills/commands without a `name` or `description` are no longer flagged, and Codex/Claude model fields accept current values like `xhigh` reasoning effort and the `fable` model alias.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"The OpenAI Codex provider id is now `codex` (was `openai`). If you set it by hand, use `codex` in `sm config set activeProvider` or `sm plugins enable`. The name shown in the app is unchanged.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.65.0",date:"2026-06-25",kind:"user-facing",highlights:[{body:"With the Open Skills lens active, a skill you authored that shares a name with a built-in command (like `help` or `config`) now gets a warning, and skill names or descriptions that break the open-standard format (bad characters, too long) are flagged too.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.64.1",date:"2026-06-25",kind:"internal",highlights:[]},{version:"0.64.0",date:"2026-06-25",kind:"user-facing",highlights:[{body:"Run `sm` in an empty folder and it now asks how you want to start: a guided tutorial, or a ready-made example project to explore. Pick one and it sets it up for you.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"New `sm example` command: run it in an empty folder to drop a small ready-made project, then `sm scan` and `sm serve` to explore it as a live graph. The fastest way to try skill-map without setting up your own files first.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.63.0",date:"2026-06-24",kind:"user-facing",highlights:[{body:"A repo with no `.claude/`, `.codex/`, or `.agents/` now opens in the Markdown view instead of mixing every platform together, with no warning. Pick Markdown anytime from Settings to see your files as plain markdown. The empty `(none)` option is gone.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'The lens dropdown no longer shows "(coming soon)" rows. Not-ready providers (OpenAI Codex, Antigravity, Open Skills) are hidden until you enable them with `sm plugins enable <id>`; `sm tutorial --experimental` offers them as tutorial destinations.',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.62.2",date:"2026-06-23",kind:"user-facing",highlights:[{body:"The graph map again draws `invokes` and `mentions` arrows (a command running a skill, an agent referenced by name), not just plain file references. A recent change had hidden every resolved trigger edge from the map.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.62.1",date:"2026-06-23",kind:"user-facing",highlights:[{body:"**`sm tutorial` cleanup.** The Extend track now runs the right commands end to end (the plugin-authoring walkthrough no longer dead-ends on a broken command or a dropped chip), drops two redundant chapters, and matches what `sm` actually prints today.",packages:["@skill-map/cli"]}]},{version:"0.62.0",date:"2026-06-23",kind:"user-facing",highlights:[{body:"The files rail again flags out-of-date nodes with the clock icon, so you can see at a glance which files have drifted since their last review.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Faster live updates.** Saving a file while `sm serve` or `sm watch` is running now refreshes the map almost instantly, because only the file you changed is re-read instead of the whole project being re-scanned on every save.",packages:["@skill-map/cli"]},{body:"Large repos now scan and validate references across the whole tree; check folders (with per-folder issue counts) to choose what the map shows. Map palettes count what is shown; a Reset filters button clears it all; the refresh button spins while any scan runs.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Scanning `.md` files that contain HTML no longer creates phantom links or false broken-reference warnings from links that were commented out or tucked inside HTML attributes.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.61.5",date:"2026-06-21",kind:"user-facing",highlights:[{body:`The inspector now shows a "TAGS:" label on the tag row, so nodes with no tags read clearly instead of showing a lone edit pencil. The interactive tutorial's daily-loop part also got several narration and flow improvements.`,packages:["@skill-map/cli"]}]},{version:"0.61.4",date:"2026-06-21",kind:"user-facing",highlights:[{body:'Running `sm tutorial` now sets up the tutorial for Claude. Other assistants (Codex, Antigravity, Open Skills) show as "coming soon" in the prompt and cannot be selected yet.',packages:["@skill-map/cli"]}]},{version:"0.61.3",date:"2026-06-21",kind:"user-facing",highlights:[{body:'Only the Claude provider is selectable for now. Codex, Antigravity and Open Skills appear greyed out as "coming soon" in the provider lens, and projects auto-detect Claude without a lens prompt.',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.61.2",date:"2026-06-21",kind:"user-facing",highlights:[{body:'The interactive tutorial now focuses on Claude only. Other assistants (Codex, Antigravity, agent-skills) show as "coming soon" instead of being offered as setup options.',packages:["@skill-map/cli"]}]},{version:"0.61.1",date:"2026-06-19",kind:"internal",highlights:[]},{version:"0.61.0",date:"2026-06-18",kind:"user-facing",highlights:[{body:"`sm version` no longer shows a separate `kernel` line, it always matched `sm` exactly. The matrix now lists sm, spec, runtime, and db-schema.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.60.4",date:"2026-06-18",kind:"internal",highlights:[]},{version:"0.60.3",date:"2026-06-18",kind:"user-facing",highlights:[{body:"Typing in the workspace search now filters the map too, not just the files list, so a query focuses the whole workspace. Want the map to keep its full layout? Turn off the search-to-map toggle next to the search box.",packages:["@skill-map/cli"]}]},{version:"0.60.2",date:"2026-06-17",kind:"internal",highlights:[]},{version:"0.60.1",date:"2026-06-17",kind:"user-facing",highlights:[{body:"Clicking a tag on a card now filters the map without jumping the view around, it stays where you are. And the Re-arrange and Fit buttons glide the map into place instead of snapping, so it is easier to follow where things moved.",packages:["@skill-map/cli"]}]},{version:"0.60.0",date:"2026-06-17",kind:"user-facing",highlights:[{body:"Shared projects can now turn off sidecar writers: a new Project setting stops actions from creating or editing the `.sm` files next to your notes. It is saved in the committed settings.json so it applies to the whole team and cannot be overridden locally.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm check --analyzers core/<id>` now matches issues, not only the bare `<id>` form.",packages:["@skill-map/cli"]},{body:"Edit a node's tags right where they are shown: click the pencil in the inspector's tag row to add or remove them inline, with one-click chips for tags already used in your graph (you can still type new ones). The separate Edit tags button is gone.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Editing a node's tags now drops blank and duplicate entries and trims whitespace, instead of saving them as-is.",packages:["@skill-map/cli"]},{body:"The experimental / deprecated badge on a node's card now shows again.",packages:["@skill-map/cli"]}]},{version:"0.59.0",date:"2026-06-16",kind:"user-facing",highlights:[{body:'The Bump button and the sidecar drift ("stale") finding are off by default now. Staleness still shows on the node\'s status; re-enable with `sm plugins enable core/node-bump core/annotation-stale` or the Settings toggles.',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.58.0",date:"2026-06-16",kind:"user-facing",highlights:[{body:"The Set stability button no longer shows when its action is turned off (it used to leave a dead button), and experimental files no longer add an info row to Findings; the experimental badge still shows on the card.",packages:["@skill-map/cli"]},{body:'The Supersede inspector button, the "superseded by" banner, and supersede links on the map are gone. The `supersedes` and `supersededBy` keys in `.sm` sidecars are no longer recognized, remove them from any sidecar that still declares them.',packages:["@skill-map/cli","@skill-map/spec","@skill-map/web"]},{body:"You can now set stability, edit tags, or bump any node straight from the inspector, even ones without a `.sm` yet. The action creates the sidecar for you, with the usual write consent.",packages:["@skill-map/cli"]}]},{version:"0.57.0",date:"2026-06-15",kind:"user-facing",highlights:[{body:"**Finding messages now read the same way everywhere.** Each one shows the offending subject on its own line, then `L<line>: what; why`, with the fix hint shown separately instead of appended. Output in `sm check` and the Inspector is more consistent and easier to scan.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'**Finding messages read more consistently.** Reserved-name findings no longer say "Name collision" (now "Reserved name"), and orphan-job-file findings name the file they point at, like the other findings.',packages:["@skill-map/cli"]},{body:"**Link confidence now starts at 1.0 and each rule subtracts a fixed amount.** A clean link reads 1.0, a reserved one 0.1, a broken one 0.5. Turning a rule off leaves its links at full confidence. The internal score-resolution scorer was retired.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Broken-reference findings now suggest how to fix them.** Each one points at correcting the path or name, removing the link, or adding the file's folder under Folders for link validation in Settings, so links to files outside the project still validate.",packages:["@skill-map/cli"]},{body:'**Redundant-link findings read clearer.** The message no longer assumes the links are "references" (they may be a mix of kinds), and the fix hint now reads as optional: consolidate the links, or keep the overlap on purpose.',packages:["@skill-map/cli"]},{body:"The orphan-job-file check is gone from scans for now; it will come back with a smarter, probabilistic model. You can still remove leftover job files with `sm job prune --orphan-files`.",packages:["@skill-map/cli"]},{body:"**The `link-conflict` rule is now `link-kind-conflict`.** If you enabled or disabled it via `sm plugins`, re-apply the toggle under the new id; the old id is no longer recognized. The warning it raises is unchanged.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**`signal-collision` is now `extractor-collision`** and reads clearer: it points at the body line, names the two extractors that overlapped, and suggests how to resolve it (rephrase one token, accept the winner, or flip the tiebreak).",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**`trigger-collision` is now `name-collision`** and fires only when two files declare the same resolvable name (a command and an agent both named `deploy`, say), across any name-resolvable kind. Plain notes, addressed by path, never collide.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"A file with invalid frontmatter now shows one warning instead of two. The schema check stops repeating what the per-kind validator already reported, so the issue list and the per-node warning count read cleaner.",packages:["@skill-map/cli"]},{body:"**Plugin authors can ship a `score`-phase analyzer that adds or subtracts link confidence.** Declare `phase: 'score'` and call `ctx.adjustConfidence(link, op)` to compose on top of the kernel's own scoring; every adjustment is recorded in `scan_link_scores` for auditing.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**The live view stops hammering the server on a dropped connection.** Idle tabs stay connected instead of silently dropping, and a connection that cannot recover now shows a clear 'connection lost' notice instead of retrying scans forever in the background.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**No more request storm when the dev server restarts.** The UI waits for the connection to stabilise before re-fetching, instead of hammering the API every time a restarting server flaps the socket.",packages:["@skill-map/cli"]}]},{version:"0.56.0",date:"2026-06-14",kind:"user-facing",highlights:[{body:"**Skills that shadow a built-in slash command are now flagged.** A skill named like a built-in (e.g. `/help`) is reported as a name collision, the same as a command was, and the collision warnings are reworded to read more plainly.",packages:["@skill-map/cli"]},{body:"Plugin extensions can expose options: edit them per plugin in Settings (one global Apply) or via `sm plugins config <plugin>/<ext>` (saved in `.skill-map/settings.json`; secrets stay local, never committed). Run `sm scan` to apply. New decimal `number` option type.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Fewer false broken-reference errors.** A `@name` or `/name` that points at a same-named file no longer reports as broken, even when that file has no `name:` in its frontmatter; the reference resolves like the runtime follows it.",packages:["@skill-map/cli"]}]},{version:"0.55.0",date:"2026-06-13",kind:"user-facing",highlights:[{body:"No change to how the inspector behaves: the Supersede, Edit tags, and Bump buttons look and work exactly as before, they are just now produced by the action they trigger rather than a separate analyzer.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Backticked filenames now become links even without a folder: writing `` `algo4.md` `` inside code formatting (not just `` `docs/algo4.md` ``) draws an arrow to that file in the graph, matching how an agent actually follows the reference.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Broken links in the graph now appear fainter than working ones: a markdown link, `@file`, or `/command` pointing at something that does not exist renders at low opacity, so dangling references stand out at a glance instead of looking like solid edges.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Deprecated plugin extensions now start **disabled**, like experimental ones: they show an off toggle (with the deprecated badge) in Settings and `sm plugins list`, and don't run until you enable them. Enabling one keeps it working while you migrate off it.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Experimental plugin extensions now start **disabled**: an off toggle (with the experimental badge) in Settings and `sm plugins list`, not running until you enable them. The MCP tools extractor and the Supersede button are experimental, so both are off until you turn them on.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Extractor descriptions in `sm plugins list` and Settings now include a usage example.",packages:["@skill-map/cli"]},{body:"The files table has a new **Modified** column showing when each file was last edited (for example `2026-06-13`). Click the header to sort newest or oldest first, and hover a cell to see the exact date and time.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'The supersession info finding ("this node is superseded by X") no longer shows by default: `core/node-superseded` is now experimental, so the whole supersession family (declare button + this finding) is off until you enable it in Settings or with `sm plugins enable`.',packages:["@skill-map/cli"]},{body:"**Plugin commands split by altitude.** `sm plugins list <id>` now shows a whole plugin's extensions (kinds, versions, status); `sm plugins show` is for a single `<plugin>/<ext>` extension. The plain `sm plugins list` stays a clean index, one row per plugin.",packages:["@skill-map/cli","@skill-map/spec"]},{body:`The interactive tutorial's second half is now a single "daily loop": you add a page with your agent, improve it, and publish, running the harness for real. The portfolio it builds ships with a clean, personalized site you can serve and deploy.`,packages:["@skill-map/cli"]}]},{version:"0.54.0",date:"2026-06-12",kind:"user-facing",highlights:[{body:"Findings are shorter and clearer: the file or trigger involved leads on its own line, duplicates collapse to `Duplicate reference (2): \\`refs/x.md\\` (124, 145)`, broken references name the line they sit on, and messages no longer repeat the node's own path.",packages:["@skill-map/cli"]},{body:"**Plugin maturity at a glance.** Extensions can now carry an experimental, beta, or deprecated badge next to their name in the Settings plugins panel and in `sm plugins list`, so you can tell which parts of a plugin are still settling before relying on them.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"The map's palette adds a toggle (marked with a backtick glyph) that shows or hides a separate kind of reference arrow, each with its own colour per theme, so those links no longer mix in with your regular link arrows.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Linking to the same file twice from one node is now an info note instead of a warning, so the warning count on a card reflects only issues worth fixing.",packages:["@skill-map/cli"]},{body:"Searching no longer rips nodes out of the map: by default the query narrows only the files list while the map keeps its layout. A new toggle next to the search box brings back the old filter-everything behavior, and your choice is remembered.",packages:["@skill-map/cli"]}]},{version:"0.53.6",date:"2026-06-09",kind:"user-facing",highlights:[{body:"`sm --help` now opens with a pointer to `sm tutorial`, the guided hands-on walkthrough. The tutorial reads cleaner too: the maintain part is renamed, chapters are numbered (5.1, 5.2\u2026), and the annotations lesson no longer repeats across parts.",packages:["@skill-map/cli"]}]},{version:"0.53.5",date:"2026-06-09",kind:"internal",highlights:[]},{version:"0.53.4",date:"2026-06-08",kind:"user-facing",highlights:[{body:"The built-in tutorial's CLI deep-dive now rebuilds its own demo fixture when you enter it, so it works correctly even after you have run the project campaign, and it always appears in the menu instead of staying hidden until the prologue is done.",packages:["@skill-map/cli"]},{body:"The files panel's collapse button is now a chevron instead of an `\u2715`, so it clearly hides the panel rather than clearing the search. The built-in tutorial fixes a stray self-link in its command examples and reminds you to open a third terminal during the maintenance part.",packages:["@skill-map/cli"]}]},{version:"0.53.3",date:"2026-06-08",kind:"user-facing",highlights:[{body:`Three new Neon graph themes (red/green/blue) with a glow effect in the map's theme picker. Toolbar tooltips are shorter and "edge style" is now "connector style". The built-in tutorial adds a third part and a reworked ending.`,packages:["@skill-map/cli"]}]},{version:"0.53.2",date:"2026-06-08",kind:"user-facing",highlights:[{body:'Opening a project with one node no longer zooms in too far: the map fits content at natural size (you can still wheel-zoom in). The "Re-arrange layout" tooltip is shorter.',packages:["@skill-map/cli"]}]},{version:"0.53.1",date:"2026-06-08",kind:"user-facing",highlights:[{body:'When you upgrade and re-scan, the cache-rebuild prompt is short and reassuring, and once you confirm it no longer prints a redundant "rebuilt" notice. Automatic rebuilds (for example with `--yes`) still show a one-line confirmation.',packages:["@skill-map/cli"]},{body:"New maps now lay out left-to-right by default (with the Balanced algorithm), so the skill dependency chain reads along the natural left-to-right axis. You can switch back to top-to-bottom from the graph toolbar or Settings.",packages:["@skill-map/cli"]},{body:"The interactive tutorial now opens on a numbered menu to pick where to start, and walks each step with a single confirmation instead of several. Its references to the live UI match what is on screen.",packages:["@skill-map/cli"]}]},{version:"0.53.0",date:"2026-06-07",kind:"user-facing",highlights:[{body:"The inspector now offers Supersede, Set stability and Edit tags buttons; each opens a small form pre-filled with the node's current value.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'Writing a `.sm` sidecar now asks for consent every time, with an "always allow" checkbox that remembers your choice for the project.',packages:["@skill-map/cli","@skill-map/spec"]},{body:"In the inspector, the extra panels and buttons a plugin adds now group into one collapsed section per plugin, and every action button a plugin contributes is shown.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm plugins doctor` now reports plugin display errors from your last scan (and exits non-zero if any), and the Settings plugins panel shows a per-plugin warning badge, so when a plugin's chips fail to appear you can see why.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Clearer plugin errors: a misconfigured plugin now gives a short message that spells out the plugin and all its extensions were skipped, and the warning no longer appears twice when the server starts.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"The interactive tutorial (`sm tutorial`) now walks a full campaign: you build a real static portfolio site and the `.claude/` harness that maintains it, from `sm init` to the live site, picking parts from the in-skill menu.",packages:["@skill-map/cli"]},{body:"In the interactive tutorial you can now jump straight into any part of the portfolio campaign from the menu (say the maintenance or MCP part). If you skipped the earlier parts, the tutorial sets the project up for you so you can start right there.",packages:["@skill-map/cli"]},{body:"`sm tutorial master` is gone. Run `sm tutorial`: the advanced parts (plugins, settings, view-slots) and the CLI in depth are now chapters you pick from a menu inside the tutorial, after the live-UI prologue.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.52.0",date:"2026-06-05",kind:"user-facing",highlights:[{body:"Disabling a provider plugin now removes it as a choice in **Settings \u2192 Project \u2192 Active provider**. The provider stays listed but greyed out and labelled `(disabled)`, so you can no longer switch the lens to a provider whose extractors would not run.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Bumping a node now records **who** bumped it: the audit `by` fields show your Git author name (`git config user.name`) instead of `cli` / `ui`, when the project is a Git repo. It falls back to `cli` / `ui` outside a Git repo or when no `user.name` is configured.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'**Inspector polish.** The body now renders rich markdown with code syntax highlighting and updates live after a re-scan. Node tags moved to a clickable row in the header, and "isolate" on the map now shows a node plus its direct neighbors.',packages:["@skill-map/cli"]},{body:"`sm check` now **fails** (non-zero exit) when a `.sm` sidecar is malformed or breaks schema validation. These were previously reported as warnings and did not affect the exit code. Fix or remove the offending sidecar to make the check pass.",packages:["@skill-map/cli"]}]},{version:"0.51.0",date:"2026-06-04",kind:"user-facing",highlights:[{body:"`sm serve` now refuses a non-loopback `--host` (for example `0.0.0.0`): the local server has no auth and is loopback-only, so bind it to `127.0.0.1` or `::1`. Multi-host serve reopens after v0.6.0.",packages:["@skill-map/cli"]}]},{version:"0.50.1",date:"2026-06-04",kind:"user-facing",highlights:[{body:"The redundant-reference finding now reads with shorter, more direct wording so the duplicated target and where it appears are easier to scan at a glance.",packages:["@skill-map/cli"]},{body:`The map palettes now count only the nodes you've curated visible. Selecting a hidden file no longer jumps the camera to empty space, and "Re-arrange layout" only asks to confirm when you have moved nodes yourself.`,packages:["@skill-map/cli"]}]},{version:"0.50.0",date:"2026-06-02",kind:"user-facing",highlights:[{body:`The Files and Map tabs are gone: skill-map opens on one screen, file tree left, graph right. Tick files or folders (or the 0/1/2 depth buttons) to pick what the map shows; the tree's map icon isolates a node's whole chain. "Re-arrange layout" tidies just what's visible.`,packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.49.0",date:"2026-06-02",kind:"user-facing",highlights:[{body:"**New workspace view**: the file list, graph, and inspector now share one screen. Drag the divider to resize the file rail, click a file to focus its node on the map, and use the tree checkboxes to choose which nodes the map shows (`Show all` clears the selection).",packages:["@skill-map/cli"]}]},{version:"0.48.0",date:"2026-05-31",kind:"user-facing",highlights:[{body:"**Card footer icon order restored.** The status icons in the bottom-right of each card are back to their previous order: lifecycle/stability first, then the stale indicator, then warnings and errors on the far right.",packages:["@skill-map/cli"]},{body:"`sm plugins create` now takes the extension kind as a required first argument: `sm plugins create <kind> <plugin-id>` (kinds: provider, extractor, analyzer, action, formatter, hook). Previously it only scaffolded extractors.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"After `sm tutorial`, start the tutorial by typing `run the tutorial` (or `ejecuta el tutorial`), matching the website.",packages:["@skill-map/cli"]}]},{version:"0.47.1",date:"2026-05-31",kind:"internal",highlights:[]},{version:"0.47.0",date:"2026-05-31",kind:"user-facing",highlights:[{body:"skill-map now notices when your local DB schema is out of date (not just an older version): `sm scan` and `sm serve` offer to rebuild the cache, and read commands warn instead of failing with a confusing database error.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Settings \u2192 Plugins now has a unified filter bar (All, then Built-in / Project, then the kinds), so you can quickly isolate your project's own plugins and extensions from the built-ins.",packages:["@skill-map/cli"]},{body:"**Pick your tokenizer.** `tokenizer` in settings.json now selects the encoder for token counts: `cl100k_base` (default, GPT-4) or `o200k_base` (GPT-4o). Any other value is ignored with a warning. Changing it recomputes counts on the next scan.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'When the dev server stops, the UI now shows a "connection lost" banner with a Reconnect button instead of failing silently, and it refreshes automatically once the connection is back.',packages:["@skill-map/cli"]}]},{version:"0.46.0",date:"2026-05-31",kind:"user-facing",highlights:[{body:"`sm scan` no longer glues the `Auto-detected activeProvider` notice onto the results line. The auto-detect message now prints on its own line, right above the scan summary.",packages:["@skill-map/cli"]},{body:"`sm plugins --help` (and `db`, `config`, `job`, and the other command groups) now print a tidy overview with a one-line description and a list of their subcommands, matching the look of `sm scan --help`, instead of a terse internal list.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Config cleanup.** Several settings.json keys that never did anything (`i18n`, `providers`, `history`, `autoMigrate`, `scan.followSymlinks`, per-plugin `config` / `extensions`) were removed. If still present they are now ignored and reported with a warning on load.",packages:["@skill-map/cli","@skill-map/spec"]},{body:'`sm plugins list` / `show` and the Settings \u2192 Plugins UI now consistently say "plugin" instead of "bundle". The only place "bundle" remains is the name for toggling a whole plugin (all its extensions) at once.',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.45.1",date:"2026-05-30",kind:"internal",highlights:[]},{version:"0.45.0",date:"2026-05-30",kind:"user-facing",highlights:[{body:"`sm tutorial` can now target other agents: `--for agent-skills` (open-standard layout, used by Antigravity and OpenAI Codex) or `--for claude` (default). It now requires an empty directory: run it in a fresh folder, or pass `--force` to seed into the current one.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.44.0",date:"2026-05-30",kind:"user-facing",highlights:[{body:"Under the Antigravity lens, `sm scan` now warns when a `.agents/skills` skill shadows a built-in `agy` slash command (e.g. a skill named `goal` collides with `/goal`), so you can rename it before the runtime silently ignores the file.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"skill-map can now report crashes anonymously to help fix bugs, and it is OFF by default. Turn it on or off in Settings, or set `SKILL_MAP_TELEMETRY=0` to force it off. File contents, paths, and your settings are never sent.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"skill-map can now share anonymous usage (which commands and views you use) to guide development, OFF by default. Toggle CLI usage, UI usage, and error reports independently in Settings, or set `SKILL_MAP_TELEMETRY=0` to force all off. Files and paths are never sent.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.43.0",date:"2026-05-29",kind:"user-facing",highlights:[{body:"The skill-map website and in-app links (Settings, About and the demo banner) now point to **skill-map.ai** (previously skill-map.dev). Spec schema URLs are now `https://skill-map.ai/spec/v0/...`.",packages:["@skill-map/cli","@skill-map/spec","@skill-map/web"]},{body:"Claude skills and commands now show their `disallowed-tools` in the inspector. Tags come only from `.sm` sidecars now: the `sm list --tag-source` flag is removed and cards show a single tag style. Agent Skills `license` / `compatibility` / `metadata` fields are recognized.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"After updating skill-map, the next `sm scan` rebuilds the local database when it was created by an older version (your `.sm` sidecar files are never touched). On a terminal it asks first; pass `--yes` to skip the prompt.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.42.0",date:"2026-05-28",kind:"user-facing",highlights:[{body:"The lens picker in **Settings \u2192 Project** now lists exactly the providers installed in your project. The phantom **Gemini** and **Cursor** options are gone, and **OpenAI Codex** / **Antigravity** now show their correct name and colour on node cards.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.41.0",date:"2026-05-27",kind:"user-facing",highlights:[{body:"New `--max-nodes <N>` on `sm scan` / `sm watch` / `sm serve` caps how many files the walker accepts (default 256, bidirectional). Past the limit, a persistent banner links to **Settings \u2192 Project** to trim `.skillmapignore`.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm -version` and `sm -help` now suggest `--version` / `--help` consistently, even from a directory with no skill-map project.",packages:["@skill-map/cli"]}]},{version:"0.40.1",date:"2026-05-26",kind:"user-facing",highlights:[{body:"Update chip copies the install command on click. Settings copy polished across General + Project. Path is now the second column in the list view. Filtered-empty views unified across List + Graph with a Reset button. Matrix theme retints dropdowns and toggle buttons.",packages:["@skill-map/cli"]}]},{version:"0.40.0",date:"2026-05-26",kind:"user-facing",highlights:[{body:"**Changelog tab is now bounded.** The Settings \u2192 Changelog tab shows the most recent 10 releases and links out to the full changelog on GitHub for older entries.",packages:["@skill-map/cli"]},{body:"Plugins no longer have a bundle-level switch; each extension toggles on its own. `sm plugins disable <bundle>` cascades across the bundle's extensions (multi-extension bundles need `--yes`). The kind filter narrows extensions inside matched bundles instead of leaking siblings.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Cleaner Plugins view.** Built-in plugins no longer show a separate version chip on each of their parts in Settings \u2192 Plugins and `sm plugins show` (they all share the CLI version), so the panel reads cleaner. Your own plugins still show their version.",packages:["@skill-map/cli"]},{body:'`sm scan` summary now splits findings per severity (`N errors \xB7 M warnings \xB7 K info`), colored and collapsed when zero. The graph view gains a third palette to filter cards with errors / warnings; the perf-HUD says "links" instead of "edges".',packages:["@skill-map/cli"]},{body:"**List view** is live. Click **List** in the topbar for a sortable, filterable table of every node (Kind, Name, Tags, Path, Tokens, Stability, Stale, Issues). Click a row to inspect on the graph. Graph card chips now share the same icons as the list.",packages:["@skill-map/cli"]},{body:'Graph cards drop the corner badge for routine warnings; count + tooltip stay on the footer chip. Broken refs now escalate `sm scan` to exit 1 (were exit 0). `sm init` prints the "no provider markers" advisory as a two-line yellow `\u26A0` block.',packages:["@skill-map/cli","@skill-map/spec"]},{body:'`sm check --analyzers <id>` now errors with the valid id list when mistyped, instead of silently saying "No issues." `/invoke` and `@mention` links from any markdown body now contribute to the target\'s `IN`. `sm plugins doctor` summary spells out its bundle + extension split.',packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.39.0",date:"2026-05-25",kind:"user-facing",highlights:[{body:"The check rule `core/field-unknown` is renamed to `core/annotation-field-unknown`. If you reference it by id in `settings.json` or `sm check --analyzers <id>`, update it to the new name.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Several built-in rules were renamed for consistency (for example `core/broken-ref` is now `core/reference-broken`). If you reference them by id in `settings.json` or `sm check --analyzers <id>`, update to the new names.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"When a scan adds or removes nodes, the graph view animates the camera to frame the new layout, refreshes auto positions so nodes never land on top of each other, and keeps your manually-dragged pins where you put them.",packages:["@skill-map/cli"]},{body:"`sm` log lines now lead with a coloured glyph per level (`\u26A0 WARN`, `\u2715 ERROR`, `\u2139 INFO`) so advisories stand out from the rest of the output.",packages:["@skill-map/cli"]},{body:"In Settings, expanding a bundle plugin (claude, antigravity, openai, agent-skills) now shows the correct per-extension state and the toggles persist, the next scan honours them. `sm plugins list` reflects effective state too.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Plugins always list `core` first in the CLI and Settings; the project path stays visible in the topbar (truncated with `\u2026` on the left so the project name is what you see); and the UI reconnects on its own when `sm serve` restarts.",packages:["@skill-map/cli"]},{body:'`sm list` IN counts and the inspector\'s "Linked nodes \u2192 INCOMING" now include every `@mention` and `/invoke`, not just markdown links. `sm plugins doctor` no longer raises a spurious `claude/agent` warning on a clean install.',packages:["@skill-map/cli"]}]},{version:"0.38.0",date:"2026-05-24",kind:"user-facing",highlights:[{body:"`sm <verb> --json` now also suppresses info banners on stderr, keeping both streams clean for piping into `jq`.",packages:["@skill-map/cli"]}]},{version:"0.37.0",date:"2026-05-23",kind:"user-facing",highlights:[{body:"`sm scan` now warns once when provider markers on disk drifted since `activeProvider` was set (e.g. you added `.codex/` after picking the `claude` lens). Run `sm config set activeProvider <id>` to switch the lens, or ignore the warn and keep going, it never blocks the scan.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Clearer CLI errors.** Errors from `sm serve`, `bump`, `db`, `plugins`, `refresh`, `list`, `watch`, `graph`, `hooks`, and `sidecar` now print a `\u2715` headline plus a dim hint on the next line. Fixes a `sm refresh` persist-failure that rendered `{{glyph}}` literally.",packages:["@skill-map/cli"]},{body:"`sm` now detects when the local `.skill-map/` DB was written by an incompatible CLI version: newer minor or different major refuses to open with a clear hint; older same-major prints a one-shot warning and continues. Defensive parse errors include the same hint.",packages:["@skill-map/cli"]},{body:'`sm init --force` now also resets the DB (was overwriting only the config files). Solves the "Failed to read scan rows" crash on the first auto-scan when re-initialising a project that already had a DB from an older CLI version.',packages:["@skill-map/cli"]},{body:"**Two scan bugs fixed.** Resolved `/slash` and `@mention` links now count as fully resolved instead of weaker than they should be, and a `[label](path)` shown inside backticks or a code block is no longer wrongly flagged as a broken reference.",packages:["@skill-map/cli"]},{body:"Cross-provider files (e.g. a `.codex/agents/*.toml` while the lens is `claude`) are no longer claimed by the foreign provider. They surface as plain markdown / unclassified instead, matching how the agent itself would see them at runtime.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"Card chips for incoming / outgoing links no longer count self-loops, so a node that links back to itself stops showing inflated 1 in / 1 out. The `core/self-loop` analyzer still surfaces the self-reference as a warning, only the misleading count goes away.",packages:["@skill-map/cli"]},{body:"**CLI + inspector polish.** `sm init` now prompts for the active lens when markers compete; `sm config set activeProvider` rejects unknown ids upfront; error blocks across the CLI gain a `\u2715` glyph + hint; the inspector hides self-loops and paints kinds in their canonical colour.",packages:["@skill-map/cli"]},{body:'**Inspector overhaul.** Links show numeric confidence, a Findings list, per-row issue chips, and per-site "Occurs at" lines. New "External references" section. Self-loops hidden by default. Two new analyzers flag redundant multi-form references and self-loops.',packages:["@skill-map/cli","@skill-map/spec"]},{body:"`sm scan` now warns when two kinds of link are detected on the same piece of text. The map keeps one, and the issue panel explains which detection was dropped and why, so an overlapping link no longer disappears silently.",packages:["@skill-map/cli","@skill-map/spec"]}]},{version:"0.36.0",date:"2026-05-22",kind:"user-facing",highlights:[{body:"**Gemini CLI support retired.** Antigravity CLI projects (Google's May 2026 replacement) scan via the open-standard `.agents/skills/` paths under the existing `agent-skills` lens. Run `sm config set activeProvider antigravity` to flag a project as Antigravity-flavoured.",packages:["@skill-map/cli","@skill-map/spec"]},{body:"**Files whose name shadows a built-in are flagged.** A file like `.claude/commands/help.md` now emits a `warn` (Claude's runtime ignores it for its own `/help`), and incoming `/help` edges resolve to it at confidence `0.1` instead of `1.0`.",packages:["@skill-map/cli","@skill-map/spec"]}]}]};var vt=bt;var pn=(t,o)=>o.version;function mn(t,o){if(t&1&&($(0,"p",3),c(1),B()),t&2){let e=d();s(),m(" ",e.texts.changelogEmpty," ")}}function un(t,o){if(t&1&&($(0,"p",12),c(1),B()),t&2){let e=d(3);s(),m(" ",e.texts.changelogInternalRelease," ")}}function hn(t,o){if(t&1&&($(0,"li",17),c(1),B()),t&2){let e=o.$implicit;s(),p(e)}}function _n(t,o){if(t&1&&($(0,"ul",16),T(1,hn,2,1,"li",17,ee),B()),t&2){let e=d().$implicit,n=d(4);v("aria-label",n.texts.changelogAffectedPackages),s(),O(e.packages)}}function fn(t,o){if(t&1&&($(0,"li",14),qe(1,"div",15),u(2,_n,3,1,"ul",16),B()),t&2){let e=o.$implicit;s(),Re("innerHTML",e.bodyHtml,We),s(),h(e.packages.length?2:-1)}}function bn(t,o){if(t&1&&($(0,"ul",13),T(1,fn,3,2,"li",14,xe),B()),t&2){let e=d().$implicit;s(),O(e.highlights)}}function vn(t,o){if(t&1&&($(0,"li",8)(1,"header",9)(2,"span",10),c(3),B(),$(4,"span",11),c(5),B()(),u(6,un,2,1,"p",12)(7,bn,3,0,"ul",13),B()),t&2){let e=o.$implicit;X("settings-changelog__entry--internal",e.kind==="internal"),v("data-testid","settings-changelog-entry-"+e.version),s(3),m("v",e.version),s(2),p(e.date),s(),h(e.kind==="internal"?6:7)}}function xn(t,o){if(t&1&&($(0,"ol",4),T(1,vn,8,6,"li",7,pn),B()),t&2){let e=d();s(),O(e.entries())}}var kn=10,xt=(()=>{class t{markdown=C(pt);texts=w;entries=_([]);hasEntries=b(()=>this.entries().length>0);ngOnInit(){this.renderAll()}async renderAll(){let e=[],n=vt.entries.slice(0,kn);for(let i of n){let l=[];for(let g of i.highlights)l.push({bodyHtml:await this.markdown.render(g.body),packages:g.packages});e.push({version:i.version,date:this.formatDate(i.date),kind:i.kind,highlights:l})}this.entries.set(e)}formatDate(e){let n=new Date(e+"T00:00:00Z");return Number.isNaN(n.getTime())?e:new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}).format(n)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-changelog"]],decls:11,vars:7,consts:[["data-testid","settings-changelog",1,"settings-changelog"],["id","settings-changelog-heading",1,"settings-changelog__title"],[1,"settings-changelog__intro"],["data-testid","settings-changelog-empty",1,"settings-changelog__empty"],["role","list",1,"settings-changelog__list"],["data-testid","settings-changelog-footer",1,"settings-changelog__footer"],["target","_blank","rel","noopener noreferrer",1,"settings-changelog__footer-link",3,"href"],[1,"settings-changelog__entry",3,"settings-changelog__entry--internal"],[1,"settings-changelog__entry"],[1,"settings-changelog__entry-header"],[1,"settings-changelog__version"],[1,"settings-changelog__date"],[1,"settings-changelog__internal-body"],["role","list",1,"settings-changelog__highlights"],[1,"settings-changelog__highlight"],[1,"settings-changelog__highlight-body",3,"innerHTML"],["role","list",1,"settings-changelog__packages"],[1,"settings-changelog__package"]],template:function(n,i){n&1&&($(0,"section",0)(1,"h2",1),c(2),B(),$(3,"p",2),c(4),B(),u(5,mn,2,1,"p",3)(6,xn,3,0,"ol",4),$(7,"p",5),c(8),$(9,"a",6),c(10),B()()()),n&2&&(v("aria-labelledby","settings-changelog-heading"),s(2),m(" ",i.texts.changelogHeading," "),s(2),p(i.texts.changelogIntro),s(),h(i.hasEntries()?6:5),s(3),m(" ",i.texts.changelogFooterText," "),s(),Re("href",i.texts.changelogFooterUrl,oe),s(),m(" ",i.texts.changelogFooterLinkLabel," "))},styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-changelog__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-changelog__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}.settings-changelog__empty[_ngcontent-%COMP%]{margin:1.5rem 0 0;font-size:.9rem;color:var(--sm-text-muted);font-style:italic}.settings-changelog__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.25rem}.settings-changelog__entry[_ngcontent-%COMP%]{border-left:2px solid var(--p-primary-color);padding:.25rem 0 .25rem .85rem}.settings-changelog__entry--internal[_ngcontent-%COMP%]{border-left-color:var(--sm-border)}.settings-changelog__entry-header[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.6rem;margin-bottom:.45rem}.settings-changelog__version[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.95rem;font-weight:600;color:var(--p-text-color)}.settings-changelog__date[_ngcontent-%COMP%]{font-size:.78rem;color:var(--sm-text-muted)}.settings-changelog__internal-body[_ngcontent-%COMP%]{margin:0;font-size:.85rem;color:var(--sm-text-muted);font-style:italic}.settings-changelog__highlights[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem}.settings-changelog__highlight[_ngcontent-%COMP%]{font-size:.88rem;line-height:1.5;color:var(--p-text-color)}.settings-changelog__highlight-body[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .settings-changelog__highlight-body p{margin:0}[_nghost-%COMP%] .settings-changelog__highlight-body p+p{margin-top:.45rem}[_nghost-%COMP%] .settings-changelog__highlight-body code{font-family:var(--sm-font-mono);font-size:.82rem;padding:.05rem .3rem;border-radius:var(--sm-radius-sm);background:var(--sm-bg-hover);color:var(--p-text-color)}[_nghost-%COMP%] .settings-changelog__highlight-body a{color:var(--p-primary-color);text-decoration:underline}[_nghost-%COMP%] .settings-changelog__highlight-body strong{font-weight:600}.settings-changelog__packages[_ngcontent-%COMP%]{list-style:none;margin:.4rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}.settings-changelog__package[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.7rem;padding:.1rem .4rem;border-radius:var(--sm-radius-sm);background:var(--sm-bg-hover);color:var(--sm-text-muted);border:1px solid var(--sm-border);line-height:1.4}.settings-changelog__footer[_ngcontent-%COMP%]{margin:1.75rem 0 0;padding-top:1rem;border-top:1px solid var(--sm-border);font-size:.82rem;color:var(--sm-text-muted);text-align:center}.settings-changelog__footer-link[_ngcontent-%COMP%]{margin-left:.3rem;color:var(--p-primary-color);text-decoration:none;font-weight:500}.settings-changelog__footer-link[_ngcontent-%COMP%]:hover{text-decoration:underline}"],changeDetection:0})}return t})();var yn=(t,o)=>o.key;function wn(t,o){if(t&1&&(a(0,"p-message",3),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.general.loadErrorPrefix," ",o," ")}}function Cn(t,o){if(t&1&&(a(0,"p-message",4),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.general.saveErrorPrefix," ",o," ")}}function Sn(t,o){t&1&&(a(0,"div",15),c(1),r()),t&2&&(s(),p(o))}function Pn(t,o){if(t&1){let e=F();a(0,"li",6)(1,"div",8)(2,"div",9),c(3),r(),a(4,"div",10),c(5),r(),u(6,Sn,2,1,"div",15),r(),a(7,"p-toggleswitch",16),x("ngModelChange",function(i){let l=P(e).$implicit,g=d();return M(g.onToggle(l,i))}),r()()}if(t&2){let e,n=o.$implicit,i=d();v("data-testid","settings-general-row-"+n.key),s(3),p(i.toggleLabel(n.key)),s(2),m(" ",i.toggleDescription(n.key)," "),s(),h((e=i.toggleHint(n.key))?6:-1,e),s(),f("ngModel",i.valueOf(n))("disabled",i.loading()||i.isPending(n.key)||i.preferences()===null),v("data-testid","settings-general-toggle-"+n.key)}}function Mn(t,o){if(t&1&&(a(0,"span",17),c(1),r()),t&2){let e=o.$implicit;s(),m(" ",e.label," ")}}var En=[{key:"updateCheck.enabled",read:t=>t.updateCheck.enabled,patch:t=>({updateCheck:{enabled:t}})},{key:"telemetry",read:t=>t.telemetry.errorsEnabled&&t.telemetry.usageCliEnabled&&t.telemetry.usageUiEnabled,patch:t=>({telemetry:{errorsEnabled:t,usageCliEnabled:t,usageUiEnabled:t}})}],je="none";function Tn(t){return t===null?je:t}function On(t){return t===je?null:t}var St=(()=>{class t{dataSource=C(H);themeService=C(Oe);visible=U.required();texts=w;toggles=En;extraThemeOptions=[{value:je,label:w.general.extraTheme.options.none.label,description:w.general.extraTheme.options.none.description},...ut.map(e=>({value:e.id,label:e.label,description:e.description}))];extraThemeWire=b(()=>Tn(this.themeService.extraTheme()));loading=_(!1);loadError=_(null);saveError=_(null);preferences=_(null);pending=_(new Set);constructor(){L(()=>{this.visible()&&this.refresh()})}toggleLabel(e){return w.general.toggles[e].label}toggleDescription(e){return w.general.toggles[e].description}toggleHint(e){let n=w.general.toggles[e];return"hint"in n?n.hint:null}valueOf(e){let n=this.preferences();return n?e.read(n):!1}isPending(e){return this.pending().has(e)}onToggle(e,n){this.runToggle(e,n)}onExtraThemeChange(e){this.themeService.setExtraTheme(On(e??je))}async refresh(){this.loading.set(!0),this.loadError.set(null),this.saveError.set(null);try{let e=await this.dataSource.getPreferences();this.preferences.set(e)}catch(e){this.loadError.set(kt(e)),this.preferences.set(null)}finally{this.loading.set(!1)}}async runToggle(e,n){if(this.pending().has(e.key))return;let i=new Set(this.pending());i.add(e.key),this.pending.set(i),this.saveError.set(null);try{let l=await this.dataSource.setPreferences(e.patch(n));this.preferences.set(l)}catch(l){this.saveError.set(kt(l))}finally{let l=new Set(this.pending());l.delete(e.key),this.pending.set(l)}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-general"]],inputs:{visible:[1,"visible"]},decls:22,vars:12,consts:[["data-testid","settings-general",1,"settings-general"],["id","settings-general-heading",1,"settings-general__title"],[1,"settings-general__intro"],["severity","error","data-testid","settings-general-load-error",3,"closable"],["severity","error","data-testid","settings-general-save-error",3,"closable"],["role","list",1,"settings-general__list"],[1,"settings-general__row"],["data-testid","settings-general-row-extra-theme",1,"settings-general__row"],[1,"settings-general__row-text"],[1,"settings-general__row-label"],[1,"settings-general__row-description"],["optionLabel","label","optionValue","value","data-testid","settings-general-extra-theme",3,"ngModelChange","options","ngModel","allowEmpty"],["pTemplate","item"],["data-testid","settings-general-storage-hint",1,"settings-general__storage-hint"],[1,"settings-general__storage-hint-path"],[1,"settings-general__row-hint"],[3,"ngModelChange","ngModel","disabled"],["data-testid","settings-general-extra-theme-option"]],template:function(n,i){if(n&1&&(a(0,"section",0)(1,"h2",1),c(2),r(),a(3,"p",2),c(4),r(),u(5,wn,2,3,"p-message",3),u(6,Cn,2,3,"p-message",4),a(7,"ul",5),T(8,Pn,8,7,"li",6,yn),a(10,"li",7)(11,"div",8)(12,"div",9),c(13),r(),a(14,"div",10),c(15),r()(),a(16,"p-selectbutton",11),x("ngModelChange",function(g){return i.onExtraThemeChange(g)}),Z(17,Mn,2,1,"ng-template",12),r()()(),a(18,"p",13),c(19),a(20,"code",14),c(21),r()()()),n&2){let l,g;v("aria-labelledby","settings-general-heading"),s(2),m(" ",i.texts.general.heading," "),s(2),p(i.texts.general.intro),s(),h((l=i.loadError())?5:-1,l),s(),h((g=i.saveError())?6:-1,g),s(2),O(i.toggles),s(5),m(" ",i.texts.general.extraTheme.label," "),s(2),m(" ",i.texts.general.extraTheme.description," "),s(),f("options",i.extraThemeOptions)("ngModel",i.extraThemeWire())("allowEmpty",!1),s(3),m(" ",i.texts.general.storageHintLabel," "),s(2),p(i.texts.general.storageHintPath)}},dependencies:[ce,ae,le,ge,de,et,ct,lt,me,pe],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-general__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-general__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}.settings-general__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1rem}.settings-general__row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid var(--p-content-border-color);border-radius:var(--sm-radius-lg);background:var(--p-content-background)}.settings-general__row-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;flex:1 1 auto;min-width:0}.settings-general__row[_ngcontent-%COMP%] p-toggleswitch[_ngcontent-%COMP%]{flex-shrink:0}.settings-general__row-label[_ngcontent-%COMP%]{font-size:.9rem;font-weight:600;color:var(--p-text-color)}.settings-general__row-description[_ngcontent-%COMP%]{font-size:.8rem;color:var(--sm-text-muted);line-height:1.45}.settings-general__row-hint[_ngcontent-%COMP%]{margin-top:.2rem;font-size:.75rem;font-style:italic;color:var(--sm-text-muted)}.settings-general__storage-hint[_ngcontent-%COMP%]{margin:2rem 0 0;font-size:.75rem;line-height:1.5;color:var(--sm-text-muted);opacity:.65}.settings-general__storage-hint-path[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.72rem;padding:.05rem .3rem;border-radius:var(--sm-radius-md);background:var(--p-content-background);border:1px solid var(--p-content-border-color)}"],changeDetection:0})}return t})();function kt(t){return t instanceof W||t instanceof Error?t.message:String(t)}var Fe={provider:"#7C3AED",extractor:"#A78BFA",analyzer:"#5FD17C",action:"#00C853",formatter:"#5BC0EB",hook:"#FFB627"};function Pt(t){let o=t.toLowerCase();return Fe[o]??"currentColor"}var Et=["all",...Object.keys(Fe)],Tt=Object.keys(Fe),Ot=["all","built-in","project"],It=["built-in","project"],De=["core","claude","antigravity","codex","agent-skills"];function q(t,o){return`${t}/${o}`}function jt(t){let o=new Map;for(let e of t)if(!he(e.status)&&e.extensions)for(let n of e.extensions)o.set(q(e.id,n.id),n.enabled);return o}function Ft(t){let o={};for(let e of t.settings??[])o[e.id]=In(e,t.settingValues?.[e.id]);return o}function In(t,o){return t.type==="secret"?"":o!==void 0?Mt(t,o):t.default!==void 0?Mt(t,t.default):jn(t)}function jn(t){switch(t.type){case"boolean-flag":return!1;case"string-list":case"enum-multipick":return[];case"key-value-list":return[];case"path-glob":return t.multiple?[]:"";case"integer":case"number":return"";default:return""}}function Mt(t,o){switch(t.type){case"boolean-flag":return o===!0;case"integer":case"number":return typeof o=="number"&&Number.isFinite(o)?o:"";case"string-list":case"enum-multipick":return Array.isArray(o)?o.filter(e=>typeof e=="string"):[];case"path-glob":return t.multiple?Array.isArray(o)?o.filter(e=>typeof e=="string"):[]:typeof o=="string"?o:"";case"key-value-list":return Array.isArray(o)?o.filter(e=>typeof e=="object"&&e!==null&&"key"in e&&"value"in e).map(e=>({key:String(e.key??""),value:String(e.value??"")})):[];default:return typeof o=="string"?o:""}}function ze(t,o,e){if(!t||t.length===0||!e)return null;let n={};for(let i of t){let l=i.id,g=e[l];if(i.type==="secret"){typeof g=="string"&&g.length>0&&(n[l]=g);continue}if((i.type==="integer"||i.type==="number")&&g==="")continue;let k=o?.[l];At(k,g)||(n[l]=g)}return Object.keys(n).length>0?n:null}function Dt(t,o,e){return ze(t,o,e)!==null}function At(t,o){if(t===o)return!0;if(Array.isArray(t)&&Array.isArray(o))return t.length!==o.length?!1:t.every((e,n)=>At(e,o[n]));if(typeof t=="object"&&t!==null&&typeof o=="object"&&o!==null&&"key"in t&&"value"in t&&"key"in o&&"value"in o){let e=t,n=o;return e.key===n.key&&e.value===n.value}return!1}function Ve(t){let o=t.target;return!o||typeof o.closest!="function"?!1:o.closest('label, button, input, [role="switch"], p-toggleswitch')!==null}function Nt(t,o){if(Fn(t,o))return[t];if(!t.extensions)return[];let e=t.extensions.filter(n=>Dn(n,o));return e.length===0?[]:[Q(z({},t),{extensions:e})]}function Lt(t,o){if(!t.extensions)return[];let e=t.extensions.filter(n=>n.kind.toLowerCase()===o);return e.length===0?[]:[Q(z({},t),{extensions:e})]}function Rt(t,o){return o==="all"?[t]:t.source===o?[t]:[]}function zt(t){if(t.locked)return[];if(!t.extensions)return[t];let o=t.extensions.filter(e=>!e.locked);return o.length===0?[]:[Q(z({},t),{extensions:o})]}function Vt(t,o){let e=t.extensions?.find(n=>n.kind==="provider");if(e){let n=o(e.id);if(n)return n}return t.id}function Ae(t){return t.slice().sort((e,n)=>{let i=De.indexOf(e.id),l=De.indexOf(n.id),g=i>=0?i:De.length,k=l>=0?l:De.length;return g!==k?g-k:e.id.localeCompare(n.id)}).map(e=>{if(!e.extensions)return e;let n=e.extensions.slice().sort((i,l)=>i.id.localeCompare(l.id));return Q(z({},e),{extensions:n})})}function Fn(t,o){return!!(t.id.toLowerCase().includes(o)||t.description&&t.description.toLowerCase().includes(o))}function Dn(t,o){return!!(t.id.toLowerCase().includes(o)||t.description&&t.description.toLowerCase().includes(o))}function he(t){return t==="incompatible-spec"||t==="invalid-manifest"||t==="load-error"||t==="id-collision"}function $t(t){return t instanceof W||t instanceof Error?t.message:String(t)}function Bt(t,o){return he(t.status)?o.statusFailure[t.status]??t.status:t.status==="enabled"?o.enabledLabel:o.disabledLabel}function Gt(t,o){switch(t){case"built-in":return o.sourceBuiltIn;case"project":return o.sourceProject}}var $e="sm.settings.plugins.collapsed",Be="sm.settings.plugins.kind-filter",Ge="sm.settings.plugins.source-filter";function Kt(){let t=null;try{t=localStorage.getItem($e)}catch{return new Set}if(!t)return new Set;let o;try{o=JSON.parse(t)}catch{return new Set}if(!Array.isArray(o))return new Set;let e=new Set;for(let n of o)typeof n=="string"&&n.length>0&&e.add(n);return e}function Ut(t){try{if(t.size===0){localStorage.removeItem($e);return}localStorage.setItem($e,JSON.stringify([...t]))}catch{}}function Ht(){let t=null;try{t=localStorage.getItem(Be)}catch{return"all"}return t&&Et.includes(t)?t:"all"}function Wt(t){try{if(t==="all"){localStorage.removeItem(Be);return}localStorage.setItem(Be,t)}catch{}}function qt(){let t=null;try{t=localStorage.getItem(Ge)}catch{return"all"}return t&&Ot.includes(t)?t:"all"}function Xt(t){try{if(t==="all"){localStorage.removeItem(Ge);return}localStorage.setItem(Ge,t)}catch{}}function Ke(){He(Ke);let t=_(Kt());L(()=>Ut(t()));let o=n=>{let i=new Set(t());i.has(n)?i.delete(n):i.add(n),t.set(i)},e=n=>!t().has(n);return{collapsed:t.asReadonly(),toggleExpanded:o,isExpanded:e}}function Yt(t){let o=_(""),e=b(()=>o().trim().length>0),n=_(Ht()),i=b(()=>n()!=="all"),l=_(qt()),g=b(()=>l()!=="all"),k=b(()=>n()==="all"&&l()==="all");L(()=>Wt(n())),L(()=>Xt(l()));let K=b(()=>Ae(t.plugins().flatMap(zt))),te=b(()=>{let A=o().trim().toLowerCase(),Le=l(),S=n(),E=K();return Le!=="all"&&(E=E.flatMap(R=>Rt(R,Le))),S!=="all"&&(E=E.flatMap(R=>Lt(R,S))),A.length>0&&(E=E.flatMap(R=>Nt(R,A))),E});return{searchText:o,searchActive:e,kindFilter:n,setKindFilter:A=>{n.set(A)},toggleKindFilter:A=>{n.set(n()===A?"all":A)},isKindFilterActive:A=>n()===A,kindFilterActive:i,kindFilterChips:Tt,sourceFilter:l,setSourceFilter:A=>{l.set(A)},toggleSourceFilter:A=>{l.set(l()===A?"all":A)},isSourceFilterActive:A=>l()===A,sourceFilterActive:g,sourceFilterChips:It,allFilterActive:k,resetFilters:()=>{n.set("all"),l.set("all")},visiblePlugins:K,filteredPlugins:te}}function Qt(t){let o=_(!1),e=_(null),n=_(null),i=_([]),l=_(new Map),g=_(new Map),k=b(()=>{let S=l(),E=g(),R=new Set;for(let[Y,be]of E)S.get(Y)!==be&&R.add(Y);return R}),K=b(()=>k().size>0),te=b(()=>i().some(S=>he(S.status))),I=b(()=>{let S=g();for(let E of i()){if(E.startsAsDisabled!==!0)continue;let R=E.extensions??[];for(let Y of R)if(S.get(q(E.id,Y.id))===!0)return!0}return!1}),N=S=>g().get(S)??!1,G=S=>k().has(S),j=S=>{i.set([...S]);let E=jt(S);l.set(E),g.set(new Map(E))};return{plugins:i,loading:o,loadError:e,toggleError:n,hasFailureRows:te,originalState:l,pendingState:g,dirtyIds:k,hasPendingChanges:K,restartRecommended:I,pendingEnabled:N,isDirty:G,refresh:async()=>{o.set(!0),e.set(null),n.set(null);try{let S=await t.dataSource.listPlugins();j(S.items)}catch(S){e.set($t(S)),i.set([]),l.set(new Map),g.set(new Map)}finally{o.set(!1)}},onExtensionToggle:(S,E,R)=>{let Y=q(S,E.id),be=new Map(g());be.set(Y,R),g.set(be)},collectChanges:()=>{let S=k();if(S.size===0)return[];let E=g(),R=[];for(let Y of S)R.push({id:Y,enabled:E.get(Y)??!1});return R},reseed:S=>{j(S),n.set(null)},discardChanges:()=>{g.set(new Map(l())),n.set(null)}}}var Jt=(t,o)=>o.id;function Nn(t,o){if(t&1&&c(0),t&2){let e=d();m(" ",e.texts.pluginsKindFilterAll," ")}}function Ln(t,o){if(t&1&&c(0),t&2){let e=d().$implicit,n=d(2);m(" ",n.sourceLabel(e)," ")}}function Rn(t,o){if(t&1){let e=F();a(0,"p-togglebutton",18),x("ngModelChange",function(){let i=P(e).$implicit,l=d(2);return M(l.toggleSourceFilter(i))}),Z(1,Ln,1,1,"ng-template",null,0,se),r()}if(t&2){let e=o.$implicit,n=d(2);f("ngModel",n.isSourceFilterActive(e))("ariaLabel",n.texts.pluginsSourceFilterOptionA11y(e,!n.isSourceFilterActive(e))),v("data-testid","settings-plugins-source-chip-"+e)}}function zn(t,o){if(t&1&&(a(0,"span",16),c(1,"|"),r(),T(2,Rn,3,3,"p-togglebutton",17,ee),a(4,"span",16),c(5,"|"),r()),t&2){let e=d();s(2),O(e.sourceFilterChips)}}function Vn(t,o){if(t&1&&c(0),t&2){let e=d().$implicit;m(" ",e," ")}}function $n(t,o){if(t&1){let e=F();a(0,"p-togglebutton",19),x("ngModelChange",function(){let i=P(e).$implicit,l=d();return M(l.toggleKindFilter(i))}),Z(1,Vn,1,1,"ng-template",null,0,se),r()}if(t&2){let e=o.$implicit,n=d();ke("--kind-color",n.kindTint(e)),f("ngModel",n.isKindFilterActive(e))("ariaLabel",n.texts.pluginsKindFilterOptionA11y(e,!n.isKindFilterActive(e))),v("data-testid","settings-plugins-kind-chip-"+e)}}function Bn(t,o){if(t&1&&(a(0,"p",13),y(1,"i",20),c(2),r()),t&2){let e=d();s(2),m(" ",e.texts.loading," ")}}function Gn(t,o){if(t&1&&(a(0,"p-message",14),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.errorPrefix," ",e.loadError()," ")}}function Kn(t,o){if(t&1&&(a(0,"p",15),c(1),r()),t&2){let e=d();s(),m(" ",e.texts.empty," ")}}function Un(t,o){if(t&1){let e=F();a(0,"p-message",24),x("onClose",function(){P(e);let i=d(2);return M(i.toggleError.set(null))}),c(1),r()}if(t&2){let e=d(2);f("closable",!0),s(),D(" ",e.texts.toggleErrorPrefix," ",e.toggleError()," ")}}function Hn(t,o){if(t&1&&(a(0,"p",25),y(1,"i",27),c(2),r()),t&2){let e=d(3);s(2),m(" ",e.texts.pluginsSearchEmpty(e.searchText())," ")}}function Wn(t,o){if(t&1&&(a(0,"p",26),y(1,"i",28),c(2),r()),t&2){let e=d(3);s(2),m(" ",e.texts.pluginsProjectEmpty," ")}}function qn(t,o){if(t&1&&u(0,Hn,3,1,"p",25)(1,Wn,3,1,"p",26),t&2){let e=d(2);h(e.searchActive()?0:e.sourceFilter()==="project"&&!e.kindFilterActive()?1:-1)}}function Xn(t,o){if(t&1){let e=F();a(0,"button",47),x("click",function(i){P(e);let l=d().$implicit;return d(2).toggleExpanded(l.id),M(i.stopPropagation())}),y(1,"i",48),r()}if(t&2){let e=d().$implicit,n=d(2);v("aria-expanded",n.isExpanded(e.id))("aria-label",n.isExpanded(e.id)?n.texts.collapseLabel:n.texts.expandLabel)("data-testid","settings-plugin-expand-"+e.id),s(),X("fa-chevron-down",n.isExpanded(e.id))("fa-chevron-right",!n.isExpanded(e.id))}}function Yn(t,o){t&1&&y(0,"span",32)}function Qn(t,o){if(t&1&&(a(0,"span",36),c(1),r()),t&2){let e=d().$implicit;s(),p(e.id)}}function Jn(t,o){if(t&1&&(a(0,"span",38),c(1),r()),t&2){let e=d().$implicit;s(),m("v",e.version)}}function Zn(t,o){if(t&1&&(a(0,"span",39),y(1,"i",49),c(2),r()),t&2){let e=d().$implicit,n=d(2);f("title",e.reason??""),v("data-testid","settings-row-status-"+e.id),s(2),m(" ",n.statusLabel(e)," ")}}function ei(t,o){if(t&1&&(a(0,"span",40),y(1,"i",50),c(2),r()),t&2){let e=d().$implicit,n=d(2);f("title",n.texts.lockedTooltip),v("data-testid","settings-row-locked-"+e.id),s(2),m(" ",n.texts.lockedLabel," ")}}function ti(t,o){if(t&1&&(a(0,"span",41),y(1,"i",51),c(2),r()),t&2){let e=d().$implicit,n=d(2);f("title",n.texts.runtimeErrors.badgeTooltip),v("data-testid","settings-row-runtime-errors-"+e.id),s(2),m(" ",n.texts.runtimeErrors.badge(n.runtimeErrorCount(e))," ")}}function ni(t,o){if(t&1&&(a(0,"p",42),c(1),r()),t&2){let e=d().$implicit;s(),p(e.description)}}function ii(t,o){if(t&1&&(a(0,"span",43),c(1),r()),t&2){let e=d().$implicit;s(),p(e.reason)}}function oi(t,o){if(t&1&&(a(0,"p",44),y(1,"i",51),c(2),r()),t&2){let e=d().$implicit,n=d(2);v("data-testid","settings-row-starts-disabled-"+e.id),s(2),m(" ",n.texts.startsAsDisabledRowHint," ")}}function si(t,o){if(t&1&&(a(0,"span",57)(1,"span",58),c(2),r(),a(3,"span",59),c(4),r()()),t&2){let e=d().$implicit,n=d(5);s(2),p(n.texts.runtimeErrors.slotPrefix),s(2),p(e.slot)}}function ri(t,o){if(t&1&&(a(0,"span",57)(1,"span",58),c(2),r(),a(3,"span",59),c(4),r()()),t&2){let e=d().$implicit,n=d(5);s(2),p(n.texts.runtimeErrors.contributionPrefix),s(2),p(e.contributionId)}}function ai(t,o){if(t&1&&(a(0,"li",54)(1,"p",55),c(2),r(),a(3,"div",56)(4,"span",57)(5,"span",58),c(6),r(),a(7,"span",59),c(8),r()(),u(9,si,5,2,"span",57),u(10,ri,5,2,"span",57),r()()),t&2){let e=o.$implicit,n=d(5);s(2),p(e.message),s(4),p(n.texts.runtimeErrors.extensionPrefix),s(2),p(e.extensionId),s(),h(e.slot?9:-1),s(),h(e.contributionId?10:-1)}}function li(t,o){if(t&1&&(a(0,"ul",53),T(1,ai,11,5,"li",54,xe),r()),t&2){let e=d(2).$implicit;v("data-testid","settings-runtime-errors-"+e.id),s(),O(e.runtimeContributionErrors)}}function ci(t,o){if(t&1){let e=F();a(0,"div",45)(1,"button",52),x("click",function(i){P(e);let l=d().$implicit;return d(2).toggleRuntimeErrors(l.id),M(i.stopPropagation())}),y(2,"i",48),c(3),r(),u(4,li,3,1,"ul",53),r()}if(t&2){let e=d().$implicit,n=d(2);s(),v("aria-expanded",n.isRuntimeErrorsExpanded(e.id))("aria-label",n.texts.runtimeErrors.a11y.toggle(e.id,n.runtimeErrorCount(e)))("data-testid","settings-runtime-errors-toggle-"+e.id),s(),X("fa-chevron-down",n.isRuntimeErrorsExpanded(e.id))("fa-chevron-right",!n.isRuntimeErrorsExpanded(e.id)),s(),m(" ",n.isRuntimeErrorsExpanded(e.id)?n.texts.runtimeErrors.collapseLabel:n.texts.runtimeErrors.expandLabel," "),s(),h(n.isRuntimeErrorsExpanded(e.id)?4:-1)}}function di(t,o){if(t&1&&(a(0,"span",73),c(1),r()),t&2){let e=d().$implicit,n=d(2).$implicit,i=d(2);ke("--stability-color",i.stabilityTint(e.stability)),f("title",i.texts.stability.tooltip),v("data-testid","settings-extrow-stability-"+n.id+"-"+e.id),s(),p(o)}}function gi(t,o){if(t&1&&(a(0,"span",69),c(1),r()),t&2){let e=d().$implicit;s(),m("v",e.version)}}function pi(t,o){if(t&1&&(a(0,"span",40),y(1,"i",50),c(2),r()),t&2){let e=d().$implicit,n=d(2).$implicit,i=d(2);f("title",i.texts.lockedTooltip),v("data-testid","settings-extrow-locked-"+n.id+"-"+e.id),s(2),m(" ",i.texts.lockedLabel," ")}}function mi(t,o){if(t&1&&(a(0,"p",70),c(1),r()),t&2){let e=d().$implicit;s(),p(e.description)}}function ui(t,o){if(t&1){let e=F();a(0,"li",61)(1,"div",62),x("click",function(i){let l=P(e).$implicit,g=d(2).$implicit,k=d(2);return M(k.onSubrowClick(g.id,l,i))})("keydown.enter",function(i){let l=P(e).$implicit,g=d(2).$implicit,k=d(2);return M(k.onSubrowClick(g.id,l,i))})("keydown.space",function(i){let l=P(e).$implicit,g=d(2).$implicit,k=d(2);return i.preventDefault(),M(k.onSubrowClick(g.id,l,i))}),a(2,"div",63)(3,"div",64),y(4,"span",65),a(5,"span",66),c(6),r(),a(7,"span",67),c(8),r(),u(9,di,2,5,"span",68),u(10,gi,2,1,"span",69),u(11,pi,3,3,"span",40),r(),u(12,mi,2,1,"p",70),r(),a(13,"div",71)(14,"p-toggleswitch",72),x("ngModelChange",function(i){let l=P(e).$implicit,g=d(2).$implicit,k=d(2);return M(k.onExtensionToggle(g.id,l,i))}),r()()()()}if(t&2){let e,n=o.$implicit,i=d(2).$implicit,l=d(2);X("is-clickable",l.extensionToggleInteractive(n))("is-dirty",l.isDirty(l.qualifiedExt(i.id,n.id))),v("data-testid","settings-extrow-"+i.id+"-"+n.id),s(),v("aria-label",l.texts.a11y.extensionRow(l.qualifiedExt(i.id,n.id))),s(3),X("settings-plugins__dirty-dot--visible",l.isDirty(l.qualifiedExt(i.id,n.id))),v("data-testid","settings-extrow-dirty-"+i.id+"-"+n.id),s(2),p(n.id),s(),ke("--kind-color",l.kindTint(n.kind)),s(),p(n.kind),s(),h((e=l.stabilityLabel(n.stability))?9:-1,e),s(),h(i.source==="project"?10:-1),s(),h(n.locked?11:-1),s(),h(n.description?12:-1),s(2),f("ngModel",l.pendingEnabled(l.qualifiedExt(i.id,n.id)))("disabled",!!n.locked)("ariaLabel",l.texts.a11y.extensionToggle(l.qualifiedExt(i.id,n.id),!l.pendingEnabled(l.qualifiedExt(i.id,n.id)))),v("data-testid","settings-ext-toggle-"+i.id+"-"+n.id)}}function hi(t,o){if(t&1&&(a(0,"ul",46),T(1,ui,15,21,"li",60,Jt),r()),t&2){let e=d().$implicit;v("data-testid","settings-extensions-"+e.id),s(),O(e.extensions)}}function _i(t,o){if(t&1){let e=F();a(0,"li",29)(1,"div",30),x("click",function(i){let l=P(e).$implicit,g=d(2);return M(g.onRowClick(l,i))})("keydown.enter",function(i){let l=P(e).$implicit,g=d(2);return M(g.onRowClick(l,i))})("keydown.space",function(i){let l=P(e).$implicit,g=d(2);return i.preventDefault(),M(g.onRowClick(l,i))}),u(2,Xn,2,7,"button",31)(3,Yn,1,0,"span",32),a(4,"div",33)(5,"div",34)(6,"span",35),c(7),r(),u(8,Qn,2,1,"span",36),a(9,"span",37),c(10),r(),u(11,Jn,2,1,"span",38),u(12,Zn,3,3,"span",39),u(13,ei,3,3,"span",40),u(14,ti,3,3,"span",41),r(),u(15,ni,2,1,"p",42),u(16,ii,2,1,"span",43),u(17,oi,3,2,"p",44),u(18,ci,5,9,"div",45),r()(),u(19,hi,3,1,"ul",46),r()}if(t&2){let e=o.$implicit,n=d(2);X("is-clickable",n.rowIsClickable(e))("is-failed",n.isFailed(e)),v("data-testid","settings-row-"+e.id),s(),v("aria-label",n.texts.a11y.pluginRow(e.id)),s(),h(n.canExpandExtensions(e)?2:3),s(5),p(n.displayName(e)),s(),h(n.displayName(e)!==e.id?8:-1),s(2),p(n.sourceLabel(e.source)),s(),h(e.source==="project"&&e.version?11:-1),s(),h(n.isFailed(e)?12:-1),s(),h(e.locked?13:-1),s(),h(n.hasRuntimeErrors(e)?14:-1),s(),h(e.description?15:-1),s(),h(e.reason?16:-1),s(),h(n.showStartsAsDisabledHint(e)?17:-1),s(),h(n.hasRuntimeErrors(e)?18:-1),s(),h(n.canExpandExtensions(e)&&n.isExpanded(e.id)?19:-1)}}function fi(t,o){if(t&1&&(u(0,Un,2,3,"p-message",21),u(1,qn,2,1),a(2,"ul",22),T(3,_i,20,19,"li",23,Jt),r()),t&2){let e=d();h(e.toggleError()?0:-1),s(),h(e.filteredPlugins().length===0?1:-1),s(2),O(e.filteredPlugins())}}var Zt=(()=>{class t{dataSource=C(H);buffer=C(ue);destroyRef=C(ve);providerRegistry=C(Ie);visible=U.required();texts=w;pluginState=Qt({dataSource:this.dataSource});plugins=this.pluginState.plugins;loading=this.pluginState.loading;loadError=this.pluginState.loadError;toggleError=this.pluginState.toggleError;hasFailureRows=this.pluginState.hasFailureRows;originalState=this.pluginState.originalState;pendingState=this.pluginState.pendingState;dirtyIds=this.pluginState.dirtyIds;hasPendingChanges=this.pluginState.hasPendingChanges;restartRecommended=this.pluginState.restartRecommended;pluginCollapse=Ke();collapsed=this.pluginCollapse.collapsed;runtimeErrorsExpanded=_(new Set);pluginFilter=Yt({plugins:this.plugins});searchText=this.pluginFilter.searchText;searchActive=this.pluginFilter.searchActive;kindFilter=this.pluginFilter.kindFilter;kindFilterActive=this.pluginFilter.kindFilterActive;kindFilterChips=this.pluginFilter.kindFilterChips;sourceFilter=this.pluginFilter.sourceFilter;sourceFilterActive=this.pluginFilter.sourceFilterActive;sourceFilterChips=this.pluginFilter.sourceFilterChips;allFilterActive=this.pluginFilter.allFilterActive;visiblePlugins=this.pluginFilter.visiblePlugins;filteredPlugins=this.pluginFilter.filteredPlugins;hasProjectPlugins=b(()=>this.plugins().some(e=>e.source==="project"));constructor(){L(()=>{this.visible()&&this.pluginState.refresh()});let e={dirtyIds:this.pluginState.dirtyIds,collectChanges:()=>this.pluginState.collectChanges(),reseed:n=>this.pluginState.reseed(n),discardChanges:()=>this.pluginState.discardChanges(),restartRecommended:this.pluginState.restartRecommended};this.buffer.register(e),this.destroyRef.onDestroy(()=>this.buffer.deregister(e))}toggleKindFilter(e){this.pluginFilter.toggleKindFilter(e)}isKindFilterActive(e){return this.pluginFilter.isKindFilterActive(e)}toggleSourceFilter(e){this.pluginFilter.toggleSourceFilter(e)}isSourceFilterActive(e){return this.pluginFilter.isSourceFilterActive(e)}resetFilters(){this.pluginFilter.resetFilters()}toggleExpanded(e){this.pluginCollapse.toggleExpanded(e)}isExpanded(e){return this.pluginCollapse.isExpanded(e)}pendingEnabled(e){return this.pluginState.pendingEnabled(e)}isDirty(e){return this.pluginState.isDirty(e)}showStartsAsDisabledHint(e){return!e.startsAsDisabled||!e.extensions?!1:e.extensions.some(n=>this.pendingEnabled(q(e.id,n.id)))}onExtensionToggle(e,n,i){this.pluginState.onExtensionToggle(e,n,i)}canExpandExtensions(e){return(e.extensions?.length??0)>0}extensionToggleInteractive(e){return!e.locked}rowIsClickable(e){return this.canExpandExtensions(e)}onRowClick(e,n){Ve(n)||this.canExpandExtensions(e)&&this.toggleExpanded(e.id)}onSubrowClick(e,n,i){if(Ve(i)||!this.extensionToggleInteractive(n))return;let l=q(e,n.id);this.onExtensionToggle(e,n,!this.pendingEnabled(l))}statusLabel(e){return Bt(e,this.texts)}isFailed(e){return he(e.status)}runtimeErrorCount(e){return e.runtimeContributionErrors?.length??0}hasRuntimeErrors(e){return this.runtimeErrorCount(e)>0}isRuntimeErrorsExpanded(e){return this.runtimeErrorsExpanded().has(e)}toggleRuntimeErrors(e){let n=new Set(this.runtimeErrorsExpanded());n.has(e)?n.delete(e):n.add(e),this.runtimeErrorsExpanded.set(n)}sourceLabel(e){return Gt(e,this.texts)}displayName(e){return Vt(e,n=>{let i=this.providerRegistry.lookup(n);return i?.isLens?i.label:null})}qualifiedExt(e,n){return q(e,n)}kindTint(e){return Pt(e)}stabilityLabel(e){return!e||e==="stable"?null:this.texts.stability[e]??null}stabilityTint(e){return e==="deprecated"?"var(--sm-severity-error)":e==="experimental"?"var(--sm-severity-warn)":"var(--sm-severity-info)"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-plugins"]],inputs:{visible:[1,"visible"]},decls:22,vars:10,consts:[["content",""],["aria-labelledby","settings-plugins-heading",1,"settings-plugins"],[1,"settings-plugins__top"],[1,"settings-plugins__header"],["id","settings-plugins-heading",1,"settings-plugins__title"],[1,"settings-plugins__intro"],["iconPosition","left",1,"settings-plugins__search"],["styleClass","fa-solid fa-magnifying-glass"],["pInputText","","type","text","data-testid","settings-plugins-search",3,"ngModelChange","placeholder","ngModel"],["role","group","data-testid","settings-plugins-filter",1,"settings-plugins__filter"],["styleClass","settings-plugins__source-chip is-all","data-testid","settings-plugins-filter-all",3,"ngModelChange","ngModel","ariaLabel"],["styleClass","settings-plugins__kind-chip",3,"ngModel","--kind-color","ariaLabel"],[1,"settings-plugins__scroll"],["data-testid","settings-loading",1,"settings-plugins__hint"],["severity","error","data-testid","settings-error",3,"closable"],["data-testid","settings-empty",1,"settings-plugins__hint"],["aria-hidden","true",1,"settings-plugins__filter-divider"],["styleClass","settings-plugins__source-chip",3,"ngModel","ariaLabel"],["styleClass","settings-plugins__source-chip",3,"ngModelChange","ngModel","ariaLabel"],["styleClass","settings-plugins__kind-chip",3,"ngModelChange","ngModel","ariaLabel"],["aria-hidden","true",1,"fa-solid","fa-spinner","fa-spin"],["severity","error","data-testid","settings-toggle-error",3,"closable"],["role","list",1,"settings-plugins__list"],[1,"settings-plugins__row",3,"is-clickable","is-failed"],["severity","error","data-testid","settings-toggle-error",3,"onClose","closable"],["data-testid","settings-search-empty",1,"settings-plugins__hint"],["data-testid","settings-project-empty",1,"settings-plugins__hint"],["aria-hidden","true",1,"fa-solid","fa-magnifying-glass"],["aria-hidden","true",1,"fa-solid","fa-folder-open"],[1,"settings-plugins__row"],["role","button","tabindex","0",1,"settings-plugins__row-main",3,"click","keydown.enter","keydown.space"],["type","button",1,"settings-plugins__expand"],["aria-hidden","true",1,"settings-plugins__expand-spacer"],[1,"settings-plugins__row-text"],[1,"settings-plugins__row-headline"],[1,"settings-plugins__row-name"],[1,"settings-plugins__row-id"],[1,"settings-plugins__row-source"],[1,"settings-plugins__row-version"],[1,"settings-plugins__row-status","settings-plugins__row-status--failed",3,"title"],[1,"settings-plugins__row-locked",3,"title"],[1,"settings-plugins__row-runtime-errors",3,"title"],[1,"settings-plugins__row-description"],[1,"settings-plugins__row-reason"],[1,"settings-plugins__row-hint"],[1,"settings-plugins__runtime"],["role","list",1,"settings-plugins__sublist"],["type","button",1,"settings-plugins__expand",3,"click"],["aria-hidden","true",1,"fa-solid"],["aria-hidden","true",1,"fa-solid","fa-circle-xmark"],["aria-hidden","true",1,"fa-solid","fa-lock"],["aria-hidden","true",1,"fa-solid","fa-triangle-exclamation"],["type","button",1,"settings-plugins__runtime-toggle",3,"click"],["role","list",1,"settings-plugins__runtime-list"],[1,"settings-plugins__runtime-item"],[1,"settings-plugins__runtime-message"],[1,"settings-plugins__runtime-meta"],[1,"settings-plugins__runtime-meta-item"],[1,"settings-plugins__runtime-meta-label"],[1,"settings-plugins__runtime-meta-value"],[1,"settings-plugins__subrow",3,"is-clickable","is-dirty"],[1,"settings-plugins__subrow"],["role","button","tabindex","0",1,"settings-plugins__subrow-main",3,"click","keydown.enter","keydown.space"],[1,"settings-plugins__subrow-text"],[1,"settings-plugins__subrow-headline"],["aria-hidden","true",1,"settings-plugins__dirty-dot"],[1,"settings-plugins__subrow-id"],[1,"settings-plugins__subrow-kind"],[1,"settings-plugins__subrow-stability",3,"--stability-color","title"],[1,"settings-plugins__subrow-version"],[1,"settings-plugins__subrow-description"],[1,"settings-plugins__subrow-controls"],[3,"ngModelChange","ngModel","disabled","ariaLabel"],[1,"settings-plugins__subrow-stability",3,"title"]],template:function(n,i){n&1&&(a(0,"section",1)(1,"div",2)(2,"header",3)(3,"h2",4),c(4),r(),a(5,"p",5),c(6),r()(),a(7,"p-iconfield",6),y(8,"p-inputicon",7),a(9,"input",8),x("ngModelChange",function(g){return i.searchText.set(g)}),r()(),a(10,"div",9)(11,"p-togglebutton",10),x("ngModelChange",function(){return i.resetFilters()}),Z(12,Nn,1,1,"ng-template",null,0,se),r(),u(14,zn,6,0),T(15,$n,3,5,"p-togglebutton",11,ee),r()(),a(17,"div",12),u(18,Bn,3,1,"p",13)(19,Gn,2,3,"p-message",14)(20,Kn,2,1,"p",15)(21,fi,5,2),r()()),n&2&&(s(4),m(" ",i.texts.pluginsHeading," "),s(2),p(i.texts.pluginsIntro),s(3),f("placeholder",i.texts.pluginsSearchPlaceholder)("ngModel",i.searchText()),v("aria-label",i.texts.pluginsSearchA11y),s(),v("aria-label",i.texts.pluginsFilterA11y),s(),f("ngModel",i.allFilterActive())("ariaLabel",i.texts.pluginsFilterAllA11y),s(3),h(i.hasProjectPlugins()?14:-1),s(),O(i.kindFilterChips),s(3),h(i.loading()?18:i.loadError()?19:i.plugins().length===0?20:21))},dependencies:[ce,we,ae,le,nt,tt,ot,it,Se,Ce,ge,de,at,rt,me,pe],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:hidden;--kind-color: var(--p-text-color)}.settings-plugins[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-height:0}.settings-plugins__top[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;flex-direction:column;gap:.75rem;padding:1.25rem 1.5rem .75rem;border-bottom:1px solid var(--sm-border)}.settings-plugins__scroll[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:.75rem 1.5rem 1.25rem;display:flex;flex-direction:column;gap:.75rem;min-height:0}.settings-plugins__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.settings-plugins__title[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:600;margin:0}.settings-plugins__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-plugins__search[_ngcontent-%COMP%]{display:block;width:100%}.settings-plugins__search[_ngcontent-%COMP%] :where(input[_ngcontent-%COMP%]){width:100%}.settings-plugins__filter[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem}.settings-plugins__kind-chip[_ngcontent-%COMP%], .settings-plugins__source-chip[_ngcontent-%COMP%]{--p-togglebutton-padding: .25rem .625rem;--p-togglebutton-content-padding: 0;--p-togglebutton-content-checked-background: transparent;--p-togglebutton-content-checked-shadow: none;--p-togglebutton-border-radius: var(--sm-radius-pill);--p-togglebutton-background: color-mix(in oklab, var(--chip-accent) 8%, transparent);--p-togglebutton-hover-background: color-mix(in oklab, var(--chip-accent) 18%, transparent);--p-togglebutton-checked-background: color-mix(in oklab, var(--chip-accent) 80%, transparent);--p-togglebutton-border-color: color-mix(in oklab, var(--chip-accent) 35%, transparent);--p-togglebutton-hover-border-color: color-mix(in oklab, var(--chip-accent) 55%, transparent);--p-togglebutton-checked-border-color: var(--chip-accent);--p-togglebutton-color: color-mix(in oklab, var(--chip-accent) 70%, var(--p-text-color));--p-togglebutton-hover-color: color-mix(in oklab, var(--chip-accent) 70%, var(--p-text-color));--p-togglebutton-checked-color: var(--p-surface-50);font-size:.75rem;font-weight:500;letter-spacing:.02em;text-transform:lowercase}.settings-plugins__kind-chip[_ngcontent-%COMP%]{--chip-accent: var(--kind-color)}.settings-plugins__source-chip[_ngcontent-%COMP%]{--chip-accent: var(--p-primary-color)}.settings-plugins__source-chip.is-all[_ngcontent-%COMP%]{--chip-accent: var(--p-text-muted-color)}.settings-plugins__filter-divider[_ngcontent-%COMP%]{align-self:center;color:var(--p-text-muted-color);-webkit-user-select:none;user-select:none}.app-dark[_nghost-%COMP%] .settings-plugins__kind-chip[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__kind-chip[_ngcontent-%COMP%], .app-dark[_nghost-%COMP%] .settings-plugins__source-chip[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__source-chip[_ngcontent-%COMP%]{--p-togglebutton-background: color-mix(in oklab, var(--chip-accent) 14%, transparent);--p-togglebutton-hover-background: color-mix(in oklab, var(--chip-accent) 26%, transparent);--p-togglebutton-checked-background: color-mix(in oklab, var(--chip-accent) 70%, transparent);--p-togglebutton-border-color: color-mix(in oklab, var(--chip-accent) 50%, transparent);--p-togglebutton-hover-border-color: color-mix(in oklab, var(--chip-accent) 70%, transparent);--p-togglebutton-color: color-mix(in oklab, var(--chip-accent) 80%, var(--p-text-color));--p-togglebutton-hover-color: color-mix(in oklab, var(--chip-accent) 80%, var(--p-text-color));--p-togglebutton-checked-color: var(--p-surface-900)}.settings-plugins__hint[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;margin:0;padding:1rem 0;color:var(--p-text-muted-color);font-size:.875rem}.settings-plugins__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}.settings-plugins__row[_ngcontent-%COMP%]{border:1px solid var(--p-content-border-color);border-radius:var(--p-border-radius);background:var(--p-content-background);padding:.75rem .875rem;display:flex;flex-direction:column;gap:.5rem}.settings-plugins__row.is-clickable[_ngcontent-%COMP%]{cursor:pointer;transition:background .12s ease}.settings-plugins__row.is-clickable[_ngcontent-%COMP%]:hover{background:var(--p-content-hover-background)}.settings-plugins__row.is-failed[_ngcontent-%COMP%]{border-color:var(--p-message-error-border-color);background:var(--p-message-error-background)}.settings-plugins__row.is-extension-plugin[_ngcontent-%COMP%]{background:var(--p-content-background)}.settings-plugins__row-main[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.settings-plugins__expand[_ngcontent-%COMP%], .settings-plugins__expand-spacer[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.settings-plugins__expand[_ngcontent-%COMP%]{border:none;background:transparent;cursor:pointer;color:var(--p-text-muted-color);border-radius:var(--p-border-radius)}.settings-plugins__expand[_ngcontent-%COMP%]:hover{color:var(--p-text-color);background:var(--p-content-hover-background)}.settings-plugins__row-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-plugins__row-headline[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem .75rem;position:relative}.settings-plugins__row-name[_ngcontent-%COMP%]{font-weight:600}.settings-plugins__row-id[_ngcontent-%COMP%], .settings-plugins__row-source[_ngcontent-%COMP%], .settings-plugins__row-version[_ngcontent-%COMP%], .settings-plugins__subrow-kind[_ngcontent-%COMP%], .settings-plugins__subrow-version[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-size:.7rem;font-weight:500;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap}.settings-plugins__row-id[_ngcontent-%COMP%], .settings-plugins__row-version[_ngcontent-%COMP%], .settings-plugins__subrow-version[_ngcontent-%COMP%]{font-family:var(--sm-font-mono)}.settings-plugins__row-id[_ngcontent-%COMP%], .settings-plugins__row-source[_ngcontent-%COMP%], .settings-plugins__row-version[_ngcontent-%COMP%], .settings-plugins__subrow-version[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--p-text-color) 8%,transparent);border:1px solid color-mix(in oklab,var(--p-text-color) 18%,transparent);color:var(--p-text-color)}.app-dark[_nghost-%COMP%] .settings-plugins__row-id[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-id[_ngcontent-%COMP%], .app-dark[_nghost-%COMP%] .settings-plugins__row-source[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-source[_ngcontent-%COMP%], .app-dark[_nghost-%COMP%] .settings-plugins__row-version[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-version[_ngcontent-%COMP%], .app-dark[_nghost-%COMP%] .settings-plugins__subrow-version[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__subrow-version[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--p-text-color) 14%,transparent);border-color:color-mix(in oklab,var(--p-text-color) 28%,transparent)}.settings-plugins__subrow-kind[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--kind-color) 14%,transparent);border:1px solid color-mix(in oklab,var(--kind-color) 38%,transparent);color:color-mix(in oklab,var(--kind-color) 70%,var(--p-surface-900))}.app-dark[_nghost-%COMP%] .settings-plugins__subrow-kind[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__subrow-kind[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--kind-color) 22%,transparent);border-color:color-mix(in oklab,var(--kind-color) 55%,transparent);color:color-mix(in oklab,var(--kind-color) 80%,var(--p-surface-50))}.settings-plugins__subrow-stability[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-size:.7rem;font-weight:500;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap;background:color-mix(in oklab,var(--stability-color) 14%,transparent);border:1px solid color-mix(in oklab,var(--stability-color) 38%,transparent);color:color-mix(in oklab,var(--stability-color) 70%,var(--p-surface-900))}.app-dark[_nghost-%COMP%] .settings-plugins__subrow-stability[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__subrow-stability[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--stability-color) 22%,transparent);border-color:color-mix(in oklab,var(--stability-color) 55%,transparent);color:color-mix(in oklab,var(--stability-color) 80%,var(--p-surface-50))}.settings-plugins__row-status[_ngcontent-%COMP%]{font-weight:500}.settings-plugins__row-status--failed[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;font-size:.7rem;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap;color:var(--p-message-error-color);background:color-mix(in oklab,var(--p-message-error-color) 14%,transparent)}.settings-plugins__row.is-failed[_ngcontent-%COMP%] .settings-plugins__row-name[_ngcontent-%COMP%], .settings-plugins__row.is-failed[_ngcontent-%COMP%] .settings-plugins__row-id[_ngcontent-%COMP%], .settings-plugins__row.is-failed[_ngcontent-%COMP%] .settings-plugins__row-description[_ngcontent-%COMP%]{opacity:.6}.settings-plugins__row-locked[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;font-size:.7rem;font-weight:500;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap;background:color-mix(in oklab,var(--p-message-warn-color) 14%,transparent);border:1px solid color-mix(in oklab,var(--p-message-warn-color) 35%,transparent);color:color-mix(in oklab,var(--p-message-warn-color) 70%,var(--p-surface-900))}.settings-plugins__row-locked[_ngcontent-%COMP%] > .pi[_ngcontent-%COMP%]{font-size:.7rem}.app-dark[_nghost-%COMP%] .settings-plugins__row-locked[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-locked[_ngcontent-%COMP%]{background:color-mix(in oklab,var(--p-message-warn-color) 22%,transparent);border-color:color-mix(in oklab,var(--p-message-warn-color) 55%,transparent);color:color-mix(in oklab,var(--p-message-warn-color) 85%,var(--p-surface-50))}.settings-plugins__row-runtime-errors[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem;font-size:.7rem;font-weight:500;letter-spacing:.02em;padding:.125rem .5rem;border-radius:var(--sm-radius-pill);white-space:nowrap;color:color-mix(in oklab,var(--p-message-warn-color) 70%,var(--p-surface-900));background:color-mix(in oklab,var(--p-message-warn-color) 14%,transparent);border:1px solid color-mix(in oklab,var(--p-message-warn-color) 35%,transparent)}.app-dark[_nghost-%COMP%] .settings-plugins__row-runtime-errors[_ngcontent-%COMP%], .app-dark [_nghost-%COMP%] .settings-plugins__row-runtime-errors[_ngcontent-%COMP%]{color:color-mix(in oklab,var(--p-message-warn-color) 85%,var(--p-surface-50));background:color-mix(in oklab,var(--p-message-warn-color) 22%,transparent);border-color:color-mix(in oklab,var(--p-message-warn-color) 55%,transparent)}.settings-plugins__row-description[_ngcontent-%COMP%]{margin:.25rem 0 0;font-size:.8125rem;line-height:1.4;color:var(--p-text-muted-color)}.settings-plugins__row-reason[_ngcontent-%COMP%]{font-size:.8125rem;color:var(--p-message-error-color);font-family:var(--sm-font-mono);margin-top:.25rem}.settings-plugins__sublist[_ngcontent-%COMP%]{list-style:none;margin:0;padding:.5rem 0 0 1.75rem;display:flex;flex-direction:column;gap:.25rem;border-top:1px dashed var(--p-content-border-color)}.settings-plugins__subrow[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;padding:.375rem .5rem;border-radius:var(--p-border-radius)}.settings-plugins__subrow-main[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.settings-plugins__subrow.is-clickable[_ngcontent-%COMP%] .settings-plugins__subrow-main[_ngcontent-%COMP%]{cursor:pointer;transition:background .12s ease;border-radius:var(--p-border-radius)}.settings-plugins__subrow.is-clickable[_ngcontent-%COMP%]:hover .settings-plugins__subrow-main[_ngcontent-%COMP%]{background:var(--p-content-hover-background)}.settings-plugins__subrow-controls[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;flex-shrink:0}.settings-plugins__subrow-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;flex:1;min-width:0}.settings-plugins__subrow-headline[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem .75rem;position:relative}.settings-plugins__subrow-id[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.875rem}.settings-plugins__subrow-description[_ngcontent-%COMP%]{margin:.25rem 0 0;font-size:.75rem;line-height:1.4;color:var(--p-text-muted-color)}.settings-plugins__dirty-dot[_ngcontent-%COMP%]{position:absolute;left:-.75rem;top:50%;transform:translateY(-50%);width:.5rem;height:.5rem;border-radius:50%;background:var(--p-warn-color);visibility:hidden}.settings-plugins__dirty-dot--visible[_ngcontent-%COMP%]{visibility:visible}.settings-plugins__row-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;margin:.25rem 0 0;font-size:.75rem;line-height:1.4;color:var(--p-warn-color)}.settings-plugins__row-hint[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-top:.125rem}.settings-plugins__runtime[_ngcontent-%COMP%]{margin-top:.375rem;display:flex;flex-direction:column;gap:.375rem}.settings-plugins__runtime-toggle[_ngcontent-%COMP%]{align-self:flex-start;display:inline-flex;align-items:center;gap:.375rem;border:none;background:transparent;padding:0;cursor:pointer;font-size:.75rem;font-weight:500;letter-spacing:.02em;color:color-mix(in oklab,var(--p-message-warn-color) 70%,var(--p-text-color))}.settings-plugins__runtime-toggle[_ngcontent-%COMP%]:hover{color:var(--p-message-warn-color)}.settings-plugins__runtime-toggle[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.7rem}.settings-plugins__runtime-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;border-left:2px solid color-mix(in oklab,var(--p-message-warn-color) 35%,transparent);padding-left:.625rem}.settings-plugins__runtime-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.settings-plugins__runtime-message[_ngcontent-%COMP%]{margin:0;font-size:.8125rem;line-height:1.4;color:var(--p-text-color)}.settings-plugins__runtime-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.25rem .75rem}.settings-plugins__runtime-meta-item[_ngcontent-%COMP%]{display:inline-flex;align-items:baseline;gap:.25rem;font-size:.7rem}.settings-plugins__runtime-meta-label[_ngcontent-%COMP%]{color:var(--p-text-muted-color);text-transform:uppercase;letter-spacing:.04em}.settings-plugins__runtime-meta-value[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);color:var(--p-text-muted-color)}"],changeDetection:0})}return t})();function nn(t){let o=_(en(t)),e=_(tn(t)),n=_(Ne(e())),i=b(()=>{let I=new Set,N=e(),G=n();for(let{key:j,declarations:J}of o())Dt(J,N.get(j),G.get(j))&&I.add(j);return I});return{settingsExtensions:o,dirtyIds:i,settingValue:(I,N)=>n().get(I)?.[N]??"",onSettingChange:(I,N,G)=>{let j=Ne(n()),J=z({},j.get(I)??{});J[N]=G,j.set(I,J),n.set(j)},collectChanges:()=>{let I=e(),N=n(),G=[];for(let{key:j,declarations:J}of o()){let fe=ze(J,I.get(j),N.get(j));fe!==null&&G.push({id:j,settings:fe})}return G},reseedFrom:I=>{o.set(en(I));let N=tn(I);e.set(N),n.set(Ne(N))},discardChanges:()=>{n.set(Ne(e()))}}}function en(t){let o=[];for(let e of t.extensions??[])e.enabled&&e.settings&&e.settings.length>0&&o.push({key:q(t.id,e.id),ext:e,declarations:e.settings});return o}function tn(t){let o=new Map;for(let e of t.extensions??[])!e.enabled||!e.settings||e.settings.length===0||o.set(q(t.id,e.id),Ft(e));return o}function Ne(t){let o=new Map;for(let[e,n]of t)o.set(e,z({},n));return o}function on(t){return t.status!=="enabled"?!1:(t.extensions??[]).some(o=>o.enabled&&(o.settings?.length??0)>0)}var bi=(t,o)=>o.key,vi=(t,o)=>o.id;function xi(t,o){t&1&&(a(0,"p",10),c(1),r()),t&2&&(s(),p(o))}function ki(t,o){if(t&1){let e=F();a(0,"div",8)(1,"sm-input-type-control",9),x("valueChange",function(i){let l=P(e).$implicit,g=d().$implicit,k=d();return M(k.onSettingChange(g.key,l.id,i))}),r(),u(2,xi,2,1,"p",10),r()}if(t&2){let e,n=o.$implicit,i=d().$implicit,l=d();v("data-testid","settings-plugin-section-setting-"+i.key+"-"+n.id),s(),f("descriptor",l.settingDescriptor(i.ext,n))("value",l.settingValue(i.key,n.id)),s(),h((e=l.settingDescription(n))?2:-1,e)}}function yi(t,o){if(t&1&&(a(0,"div",5)(1,"h3",6),c(2),r(),a(3,"div",7),T(4,ki,3,4,"div",8,vi),r()()),t&2){let e=o.$implicit,n=d();v("data-testid","settings-plugin-section-ext-"+e.key),s(2),p(e.ext.id),s(),v("aria-label",n.texts.pluginSection.formA11y(e.key)),s(),O(e.declarations)}}var sn=(()=>{class t{buffer=C(ue);destroyRef=C(ve);plugin=U.required();texts=w;handleRef=null;ngOnInit(){let e=nn(this.plugin());this.handleRef=e;let n={dirtyIds:e.dirtyIds,collectChanges:()=>e.collectChanges(),reseed:i=>this.reseed(i),discardChanges:()=>e.discardChanges()};this.buffer.register(n),this.destroyRef.onDestroy(()=>this.buffer.deregister(n))}get handle(){return this.handleRef}settingsExtensions=b(()=>this.handle.settingsExtensions());pluginId(){return this.plugin().id}settingValue(e,n){return this.handle.settingValue(e,n)}onSettingChange(e,n,i){this.handle.onSettingChange(e,n,i)}settingDescription(e){return e.description}settingDescriptor(e,n){let i={inputType:n.type,label:n.label};return"options"in n&&(i.options=n.options),"min"in n&&n.min!==void 0&&(i.min=n.min),"max"in n&&n.max!==void 0&&(i.max=n.max),"step"in n&&n.step!==void 0&&(i.step=n.step),"multiple"in n&&n.multiple!==void 0&&(i.multiple=n.multiple),"flags"in n&&n.flags!==void 0&&(i.flags=n.flags),"keyLabel"in n&&n.keyLabel!==void 0&&(i.keyLabel=n.keyLabel),"valueLabel"in n&&n.valueLabel!==void 0&&(i.valueLabel=n.valueLabel),n.type==="secret"&&(i.secretIsSet=e.secretSettingsSet?.includes(n.id)??!1),i}reseed(e){let n=e.find(i=>i.id===this.plugin().id);n&&this.handle.reseedFrom(n)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-plugin-section"]],inputs:{plugin:[1,"plugin"]},decls:9,vars:4,consts:[[1,"settings-plugin-section"],[1,"settings-plugin-section__header"],["data-testid","settings-plugin-section-title",1,"settings-plugin-section__title"],[1,"settings-plugin-section__intro"],[1,"settings-plugin-section__extensions"],[1,"settings-plugin-section__extension"],[1,"settings-plugin-section__subtitle"],["role","group",1,"settings-plugin-section__form"],[1,"settings-plugin-section__setting"],["size","small",3,"valueChange","descriptor","value"],[1,"settings-plugin-section__setting-description"]],template:function(n,i){n&1&&(a(0,"section",0)(1,"header",1)(2,"h2",2),c(3),r(),a(4,"p",3),c(5),r()(),a(6,"div",4),T(7,yi,6,3,"div",5,bi),r()()),n&2&&(v("aria-label",i.texts.pluginSection.sectionA11y(i.pluginId()))("data-testid","settings-plugin-section-"+i.pluginId()),s(3),m(" ",i.pluginId()," "),s(2),p(i.texts.pluginSection.intro),s(2),O(i.settingsExtensions()))},dependencies:[mt],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-plugin-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.25rem}.settings-plugin-section__header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.settings-plugin-section__title[_ngcontent-%COMP%]{margin:0;font-size:1.15rem;font-weight:600;font-family:var(--sm-font-mono);word-break:break-all}.settings-plugin-section__intro[_ngcontent-%COMP%]{margin:0;color:var(--p-text-muted-color);font-size:.875rem}.settings-plugin-section__extensions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.settings-plugin-section__extension[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.settings-plugin-section__subtitle[_ngcontent-%COMP%]{margin:0;font-size:.95rem;font-weight:600;font-family:var(--sm-font-mono);color:var(--p-text-color);padding-bottom:.375rem;border-bottom:1px solid var(--p-content-border-color);word-break:break-all}.settings-plugin-section__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.875rem;border-left:2px solid var(--p-content-border-color);padding-left:.875rem;margin-left:.125rem}.settings-plugin-section__setting[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.settings-plugin-section__setting-description[_ngcontent-%COMP%]{margin:0;font-size:.75rem;line-height:1.4;color:var(--p-text-muted-color)}"],changeDetection:0})}return t})();function Si(t,o){if(t&1&&(a(0,"p-message",4),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.project.loadErrorPrefix," ",o," ")}}function Pi(t,o){if(t&1&&(a(0,"p-message",5),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.project.saveErrorPrefix," ",o," ")}}function Mi(t,o){t&1&&(a(0,"p-message",6),c(1),r()),t&2&&(f("closable",!1),s(),m(" ",o," "))}function Ei(t,o){if(t&1&&(a(0,"span",12),c(1),r()),t&2){let e=d();s(),p(e.texts.project.activeProviderSourceAutodetect)}}function Ti(t,o){if(t&1&&(a(0,"span",12),c(1),r()),t&2){let e=d();s(),p(e.texts.project.activeProviderSourceDefault)}}function Oi(t,o){if(t&1&&(a(0,"span",12),c(1),r()),t&2){let e=d(),n=d();s(),D(" ",n.texts.project.activeProviderDetectedPrefix," ",e," ")}}function Ii(t,o){t&1&&u(0,Oi,2,2,"span",12),t&2&&h(o.length>0?0:-1)}function ji(t,o){if(t&1&&(a(0,"p-message",17),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.project.loadErrorPrefix," ",o," ")}}function Fi(t,o){if(t&1&&(a(0,"p-message",18),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.project.saveErrorPrefix," ",o," ")}}function Di(t,o){if(t&1){let e=F();a(0,"li",21)(1,"span",29),c(2),r(),a(3,"p-button",30),x("onClick",function(){let i=P(e).$implicit,l=d();return M(l.onReferencePathRemove(i))}),r()()}if(t&2){let e=o.$implicit,n=d();s(2),p(e),s(),f("label",n.texts.project.removePathLabel)("outlined",!0)("disabled",n.isPending("scan.referencePaths")),v("data-testid","settings-project-reference-paths-remove")}}function Ai(t,o){if(t&1&&(a(0,"p-message",24),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.project.loadErrorPrefix," ",o," ")}}function Ni(t,o){if(t&1&&(a(0,"p-message",25),c(1),r()),t&2){let e=d();f("closable",!1),s(),D(" ",e.texts.project.saveErrorPrefix," ",o," ")}}function Li(t,o){if(t&1){let e=F();a(0,"li",21)(1,"span",29),c(2),r(),a(3,"p-button",30),x("onClick",function(){let i=P(e).$implicit,l=d();return M(l.onIgnorePatternRemove(i))}),r()()}if(t&2){let e=o.$implicit,n=d();s(2),p(e),s(),f("label",n.texts.project.removeIgnorePatternLabel)("outlined",!0)("disabled",n.isPending("ignore.patterns")),v("data-testid","settings-project-ignore-patterns-remove")}}var Ri=/[\n\r\x00-\x1F\x7F]/,rn=(()=>{class t{dataSource=C(H);confirmation=C(re);providerRegistry=C(Ie);visible=U.required();providerSelect=Je(_e);texts=w;loading=_(!1);loadError=_(null);saveError=_(null);preferences=_(null);pending=_(new Set);newReferencePath=_("");referencePaths=b(()=>this.preferences()?.scan.referencePaths??[]);allowSidecarWriters=b(()=>this.preferences()?.allowSidecarWriters??!0);ignoreLoadError=_(null);ignoreSaveError=_(null);ignoreEnvelope=_(null);newIgnorePattern=_("");ignorePatterns=b(()=>this.ignoreEnvelope()?.patterns??[]);activeProviderEnvelope=_(null);activeProviderLoadError=_(null);activeProviderSaveError=_(null);activeProviderSwitchAnnouncement=_(null);providerOptions=b(()=>{let e=this.activeProviderEnvelope(),n=e?new Set(e.selectable):null;return this.providerRegistry.providers().filter(l=>l.isLens).map(l=>{let g=n!==null&&!n.has(l.id),k=g?`${l.label} ${w.project.activeProviderDisabledSuffix}`:l.label;return{id:l.id,label:k,disabled:g}}).sort((l,g)=>Number(l.disabled)-Number(g.disabled))});activeProviderValue=b(()=>this.activeProviderEnvelope()?.activeProvider??"");activeProviderDetectedLabel=b(()=>(this.activeProviderEnvelope()?.detected??[]).join(", "));activeProviderSource=b(()=>this.activeProviderEnvelope()?.source??"default");constructor(){L(()=>{this.visible()&&(this.refresh(),this.refreshIgnore(),this.refreshActiveProvider())}),L(()=>{this.visible()||this.providerSelect()?.hide()})}isPending(e){return this.pending().has(e)}onReferencePathAdd(){let e=this.newReferencePath().trim();if(e.length===0)return;if(e.includes(",")){this.saveError.set(this.texts.project.commaForbidden);return}let n=[...this.referencePaths(),e];this.runPatch("scan.referencePaths",{scan:{referencePaths:n}}).then(i=>{i&&this.newReferencePath.set("")})}onReferencePathRemove(e){let n=this.referencePaths().filter(i=>i!==e);this.runPatch("scan.referencePaths",{scan:{referencePaths:[...n]}})}onSidecarWritersToggle(e){this.runPatch("allowSidecarWriters",{allowSidecarWriters:e})}onIgnorePatternAdd(){let e=this.newIgnorePattern().trim();if(e.length===0){this.ignoreSaveError.set(this.texts.project.ignorePatternEmpty);return}if(Ri.test(e)){this.ignoreSaveError.set(this.texts.project.ignorePatternHasControlChar);return}let n=this.ignorePatterns();if(n.includes(e)){this.ignoreSaveError.set(this.texts.project.ignorePatternDuplicate);return}let i=[...n,e];this.runIgnorePatch({patterns:i}).then(l=>{l&&this.newIgnorePattern.set("")})}onIgnorePatternRemove(e){let n=this.ignorePatterns().filter(i=>i!==e);this.runIgnorePatch({patterns:[...n]})}onActiveProviderChange(e){e!==this.activeProviderValue()&&this.confirmActiveProviderSwitch(e,async()=>{await this.runActiveProviderSwitch(e)})}async refresh(){this.loading.set(!0),this.loadError.set(null),this.saveError.set(null);try{let e=await this.dataSource.getProjectPreferences();this.preferences.set(e)}catch(e){this.loadError.set(ie(e)),this.preferences.set(null)}finally{this.loading.set(!1)}}async refreshIgnore(){this.ignoreLoadError.set(null),this.ignoreSaveError.set(null);try{let e=await this.dataSource.getProjectIgnore();this.ignoreEnvelope.set(e)}catch(e){this.ignoreLoadError.set(ie(e)),this.ignoreEnvelope.set(null)}}async refreshActiveProvider(){this.activeProviderLoadError.set(null),this.activeProviderSaveError.set(null);try{let e=await this.dataSource.getActiveProvider();this.activeProviderEnvelope.set(e)}catch(e){this.activeProviderLoadError.set(ie(e)),this.activeProviderEnvelope.set(null)}}async runActiveProviderSwitch(e){this.activeProviderSaveError.set(null),this.activeProviderSwitchAnnouncement.set(null);try{let n=await this.dataSource.setActiveProvider(e);this.activeProviderEnvelope.set({activeProvider:n.activeProvider,detected:n.detected,source:n.source,selectable:n.selectable});let i=n.switch.dropped;if(i===null)this.activeProviderSwitchAnnouncement.set(this.texts.project.activeProviderSwitchedNoDb);else{let l=this.texts.project;this.activeProviderSwitchAnnouncement.set(`${l.activeProviderSwitchedPrefix} ${i.tableCount} ${l.activeProviderSwitchedSuffix}`)}}catch(n){this.activeProviderSaveError.set(ie(n))}}confirmActiveProviderSwitch(e,n){this.confirmation.confirm({header:this.texts.project.activeProviderConfirmHeader,message:this.texts.project.activeProviderConfirmIntro,acceptLabel:this.texts.project.activeProviderConfirmAccept,rejectLabel:this.texts.project.activeProviderConfirmReject,acceptButtonProps:{severity:"primary"},rejectButtonProps:{severity:"secondary"},accept:()=>{n()},reject:()=>{let i=this.activeProviderEnvelope();i&&this.activeProviderEnvelope.set(z({},i))}})}async runPatch(e,n){if(this.pending().has(e))return!1;let i=new Set(this.pending());i.add(e),this.pending.set(i),this.saveError.set(null);let l=!1;try{let g=await this.dataSource.setProjectPreferences(n);this.preferences.set(g),l=!0}catch(g){if(g instanceof W&&g.code==="confirm-required"){let k=g.paths??[];this.confirmDialog(k,async()=>{try{let K=await this.dataSource.setProjectPreferences(Q(z({},n),{confirm:!0}));this.preferences.set(K),this.newReferencePath.set("")}catch(K){this.saveError.set(ie(K))}})}else this.saveError.set(ie(g))}finally{let g=new Set(this.pending());g.delete(e),this.pending.set(g)}return l}async runIgnorePatch(e){let n="ignore.patterns";if(this.pending().has(n))return!1;let i=new Set(this.pending());i.add(n),this.pending.set(i),this.ignoreSaveError.set(null);let l=!1;try{let g=await this.dataSource.setProjectIgnore(e);this.ignoreEnvelope.set(g),l=!0}catch(g){this.ignoreSaveError.set(ie(g))}finally{let g=new Set(this.pending());g.delete(n),this.pending.set(g)}return l}confirmDialog(e,n){this.confirmation.confirm({header:w.project.confirmDialogHeader,message:w.project.confirmDialogIntro+`
2
+ `+e.map(i=>`\u2022 ${i}`).join(`
3
+ `),acceptLabel:w.project.confirmDialogAccept,rejectLabel:w.project.confirmDialogReject,acceptButtonProps:{severity:"primary"},rejectButtonProps:{severity:"secondary"},accept:()=>{n()}})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-project"]],viewQuery:function(n,i){n&1&&Xe(i.providerSelect,_e,5),n&2&&Ye()},inputs:{visible:[1,"visible"]},features:[ye([re])],decls:65,vars:42,consts:[["data-testid","settings-project",1,"settings-project"],["id","settings-project-heading",1,"settings-project__title"],[1,"settings-project__intro"],[1,"settings-project__intro-path"],["severity","error","data-testid","settings-project-active-provider-load-error",3,"closable"],["severity","error","data-testid","settings-project-active-provider-save-error",3,"closable"],["severity","info","data-testid","settings-project-active-provider-switch-announce",3,"closable"],["data-testid","settings-project-active-provider-row",1,"settings-project__list-row"],[1,"settings-project__row-text"],[1,"settings-project__row-label"],[1,"settings-project__row-description"],[1,"settings-project__row-meta"],[1,"settings-project__meta-line"],[1,"settings-project__add-row"],["optionLabel","label","optionValue","id","optionDisabled","disabled","appendTo","body","data-testid","settings-project-active-provider-select",1,"settings-project__provider-select",3,"ngModelChange","options","ngModel"],["data-testid","settings-project-sidecar-writers-row",1,"settings-project__row"],["data-testid","settings-project-sidecar-writers-toggle",3,"ngModelChange","ngModel","disabled"],["severity","error","data-testid","settings-project-load-error",3,"closable"],["severity","error","data-testid","settings-project-save-error",3,"closable"],["data-testid","settings-project-reference-paths-row",1,"settings-project__list-row"],["role","list",1,"settings-project__path-list"],[1,"settings-project__path-item"],["type","text","pInputText","","data-testid","settings-project-reference-paths-input",3,"ngModelChange","keydown.enter","ngModel","placeholder","disabled"],["severity","primary","size","small","data-testid","settings-project-reference-paths-add",3,"onClick","label","disabled"],["severity","error","data-testid","settings-project-ignore-load-error",3,"closable"],["severity","error","data-testid","settings-project-ignore-save-error",3,"closable"],["data-testid","settings-project-ignore-patterns-row",1,"settings-project__list-row"],["type","text","pInputText","","data-testid","settings-project-ignore-patterns-input",3,"ngModelChange","keydown.enter","ngModel","placeholder","disabled"],["severity","primary","size","small","data-testid","settings-project-ignore-patterns-add",3,"onClick","label","disabled"],[1,"settings-project__path-text"],["severity","secondary","size","small",3,"onClick","label","outlined","disabled"]],template:function(n,i){if(n&1&&(a(0,"section",0)(1,"h2",1),c(2),r(),a(3,"p",2),c(4),a(5,"code",3),c(6),r(),c(7),r(),u(8,Si,2,3,"p-message",4),u(9,Pi,2,3,"p-message",5),u(10,Mi,2,2,"p-message",6),a(11,"div",7)(12,"div",8)(13,"div",9),c(14),r(),a(15,"div",10),c(16),r(),a(17,"div",11),u(18,Ei,2,1,"span",12)(19,Ti,2,1,"span",12),u(20,Ii,1,1),r()(),a(21,"div",13)(22,"p-select",14),x("ngModelChange",function(g){return i.onActiveProviderChange(g)}),r()()(),a(23,"div",15)(24,"div",8)(25,"div",9),c(26),r(),a(27,"div",10),c(28),r()(),a(29,"p-toggleswitch",16),x("ngModelChange",function(g){return i.onSidecarWritersToggle(g)}),r()(),u(30,ji,2,3,"p-message",17),u(31,Fi,2,3,"p-message",18),a(32,"div",19)(33,"div",8)(34,"div",9),c(35),r(),a(36,"div",10),c(37),r()(),a(38,"ul",20),T(39,Di,4,5,"li",21,ee),r(),a(41,"div",13)(42,"input",22),x("ngModelChange",function(g){return i.newReferencePath.set(g)})("keydown.enter",function(){return i.onReferencePathAdd()}),r(),a(43,"p-button",23),x("onClick",function(){return i.onReferencePathAdd()}),r()()(),u(44,Ai,2,3,"p-message",24),u(45,Ni,2,3,"p-message",25),a(46,"div",26)(47,"div",8)(48,"div",9),c(49),r(),a(50,"div",10),c(51),a(52,"code",3),c(53),r(),c(54),a(55,"code",3),c(56),r(),c(57),r()(),a(58,"ul",20),T(59,Li,4,5,"li",21,ee),r(),a(61,"div",13)(62,"input",27),x("ngModelChange",function(g){return i.newIgnorePattern.set(g)})("keydown.enter",function(){return i.onIgnorePatternAdd()}),r(),a(63,"p-button",28),x("onClick",function(){return i.onIgnorePatternAdd()}),r()()(),y(64,"p-confirmdialog"),r()),n&2){let l,g,k,K,te,I,N,G,j;v("aria-labelledby","settings-project-heading"),s(2),m(" ",i.texts.project.heading," "),s(2),m(" ",i.texts.project.introPrefix," "),s(2),p(i.texts.project.introPath),s(),m("",i.texts.project.introSuffix," "),s(),h((l=i.activeProviderLoadError())?8:-1,l),s(),h((g=i.activeProviderSaveError())?9:-1,g),s(),h((k=i.activeProviderSwitchAnnouncement())?10:-1,k),s(4),p(i.texts.project.activeProviderLabel),s(2),m(" ",i.texts.project.activeProviderDescription," "),s(2),h((K=i.activeProviderSource())==="autodetect"?18:K==="default"?19:-1),s(2),h((te=i.activeProviderDetectedLabel())?20:-1,te),s(2),f("options",i.providerOptions())("ngModel",i.activeProviderValue()),s(4),p(i.texts.project.sidecarWritersLabel),s(2),m(" ",i.texts.project.sidecarWritersDescription," "),s(),f("ngModel",i.allowSidecarWriters())("disabled",i.loading()||i.isPending("allowSidecarWriters")||i.preferences()===null),s(),h((I=i.loadError())?30:-1,I),s(),h((N=i.saveError())?31:-1,N),s(4),p(i.texts.project.referencePathsLabel),s(2),m(" ",i.texts.project.referencePathsDescription," "),s(2),O(i.referencePaths()),s(3),f("ngModel",i.newReferencePath())("placeholder",i.texts.project.referencePathsPlaceholder)("disabled",i.isPending("scan.referencePaths")),v("aria-label",i.texts.project.referencePathsInputAriaLabel),s(),f("label",i.texts.project.addPathLabel)("disabled",i.isPending("scan.referencePaths")||i.newReferencePath().trim().length===0),s(),h((G=i.ignoreLoadError())?44:-1,G),s(),h((j=i.ignoreSaveError())?45:-1,j),s(4),p(i.texts.project.ignorePatternsLabel),s(2),m(" ",i.texts.project.ignorePatternsDescriptionPrefix," "),s(2),p(i.texts.project.ignorePatternsDescriptionFile),s(),m(" ",i.texts.project.ignorePatternsDescriptionMiddle," "),s(2),p(i.texts.project.ignorePatternsDescriptionGitignore),s(),m(" ",i.texts.project.ignorePatternsDescriptionSuffix," "),s(2),O(i.ignorePatterns()),s(3),f("ngModel",i.newIgnorePattern())("placeholder",i.texts.project.ignorePatternsPlaceholder)("disabled",i.isPending("ignore.patterns")),v("aria-label",i.texts.project.ignorePatternsInputAriaLabel),s(),f("label",i.texts.project.addIgnorePatternLabel)("disabled",i.isPending("ignore.patterns")||i.newIgnorePattern().trim().length===0)}},dependencies:[ce,we,ae,le,Me,Pe,Te,Ee,Se,Ce,ge,de,st,_e,me,pe],styles:["[_nghost-%COMP%]{display:block;height:100%;overflow-y:auto;padding:1.25rem 1.5rem}.settings-project__title[_ngcontent-%COMP%]{margin:0 0 .25rem;font-size:1.05rem;font-weight:600;color:var(--p-text-color)}.settings-project__intro[_ngcontent-%COMP%]{margin:0 0 1.25rem;font-size:.85rem;color:var(--sm-text-muted);line-height:1.5}.settings-project__intro-path[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.8rem;padding:.05rem .3rem;border-radius:var(--sm-radius-md);background:var(--p-content-background);border:1px solid var(--p-content-border-color)}[_nghost-%COMP%] p-message[_ngcontent-%COMP%]{display:block;margin-bottom:1rem}.settings-project__row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border:1px solid var(--p-content-border-color);border-radius:var(--sm-radius-lg);background:var(--p-content-background);margin-bottom:1rem}.settings-project__row[_ngcontent-%COMP%] > p-toggleswitch[_ngcontent-%COMP%]{flex:0 0 auto;align-self:center}.settings-project__list-row[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;padding:.85rem 1rem;border:1px solid var(--p-content-border-color);border-radius:var(--sm-radius-lg);background:var(--p-content-background);margin-bottom:1rem}.settings-project__row-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;flex:1 1 auto;min-width:0}.settings-project__row-label[_ngcontent-%COMP%]{font-size:.9rem;font-weight:600;color:var(--p-text-color)}.settings-project__row-description[_ngcontent-%COMP%]{font-size:.8rem;color:var(--sm-text-muted);line-height:1.45}.settings-project__path-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.settings-project__path-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem .6rem;border-radius:var(--sm-radius-md);background:var(--p-content-hover-background)}.settings-project__path-text[_ngcontent-%COMP%]{font-family:var(--sm-font-mono);font-size:.8rem;word-break:break-all;flex:1 1 auto}.settings-project__add-row[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.settings-project__add-row[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1 1 auto;font-family:var(--sm-font-mono);font-size:.8rem}.settings-project__row-meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.15rem;font-size:.75rem;color:var(--p-text-muted-color)}.settings-project__meta-line[_ngcontent-%COMP%]{line-height:1.3}.settings-project__provider-select[_ngcontent-%COMP%]{flex:1 1 auto}.settings-project__provider-select[_ngcontent-%COMP%] .p-select[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}return t})();function ie(t){return t instanceof W||t instanceof Error?t.message:String(t)}var zi=(t,o)=>o.id;function Vi(t,o){t&1&&y(0,"li",7)}function $i(t,o){if(t&1){let e=F();u(0,Vi,1,0,"li",7),a(1,"li")(2,"button",8),x("click",function(){let i=P(e).$implicit,l=d();return M(l.selectSection(i.id))}),a(3,"span",9),c(4),r()()()}if(t&2){let e=o.$implicit,n=d();h(e.dividerBefore?0:-1),s(2),X("is-active",n.activeSection()===e.id),v("aria-current",n.activeSection()===e.id?"page":null)("data-testid","settings-nav-"+e.id),s(2),p(e.label)}}function Bi(t,o){if(t&1&&y(0,"sm-settings-plugins",6),t&2){let e=d();f("visible",e.pluginsVisible())}}function Gi(t,o){if(t&1&&y(0,"sm-settings-general",6),t&2){let e=d();f("visible",e.generalVisible())}}function Ki(t,o){if(t&1&&y(0,"sm-settings-project",6),t&2){let e=d();f("visible",e.projectVisible())}}function Ui(t,o){if(t&1&&y(0,"sm-settings-about",6),t&2){let e=d();f("visible",e.aboutVisible())}}function Hi(t,o){t&1&&y(0,"sm-settings-changelog")}function Wi(t,o){t&1&&y(0,"sm-settings-plugin-section",10),t&2&&f("plugin",o)}function qi(t,o){if(t&1&&u(0,Wi,1,1,"sm-settings-plugin-section",10),t&2){let e,n=d();h((e=n.activePluginItem())?0:-1,e)}}function Xi(t,o){if(t&1&&(a(0,"em",14),c(1),r()),t&2){let e=d(3);s(),m(" ",e.texts.startsAsDisabledFooterHint," ")}}function Yi(t,o){if(t&1&&(a(0,"span",15),c(1),r()),t&2){let e=d(3);s(),D(" ",e.texts.applyErrorPrefix," ",o," ")}}function Qi(t,o){if(t&1){let e=F();a(0,"div",11)(1,"div",12)(2,"span",13),c(3),r(),u(4,Xi,2,1,"em",14),u(5,Yi,2,2,"span",15),r(),a(6,"p-button",16),x("onClick",function(){P(e);let i=d(2);return M(i.discardChanges())}),r(),a(7,"p-button",17),x("onClick",function(){P(e);let i=d(2);return M(i.applyAndClose())}),r()()}if(t&2){let e,n=d(2);s(3),m(" ",n.texts.unsavedChangesMessage(n.buffer.dirtyCount())," "),s(),h(n.buffer.restartRecommended()?4:-1),s(),h((e=n.buffer.applyError())?5:-1,e),s(),f("text",!0)("label",n.texts.discardChanges)("ariaLabel",n.texts.discardA11y)("disabled",n.buffer.applying()),s(),f("label",n.texts.applyAndClose)("ariaLabel",n.texts.applyA11y)("disabled",n.buffer.applying())("loading",n.buffer.applying())}}function Ji(t,o){if(t&1&&u(0,Qi,8,11,"div",11),t&2){let e=d();h(e.buffer.dirtyCount()>0?0:-1)}}var Zi=[{id:"general",label:w.sections.general},{id:"project",label:w.sections.project},{id:"plugins",label:w.sections.plugins},{id:"changelog",label:w.sections.changelog},{id:"about",label:w.sections.about}];function eo(t){return`plugin:${t}`}var xr=(()=>{class t{visible=U.required();visibleChange=Qe();confirmation=C(re);dataSource=C(H);buffer=C(ue);texts=w;activeSection=_("plugins");settingsPlugins=_([]);sections=b(()=>{let e=this.settingsPlugins().map((i,l)=>({id:eo(i.id),label:this.texts.pluginSection.navLabel(i.id),dividerBefore:l===0})),n=[];for(let i of Zi)i.id==="changelog"&&e.length>0?n.push(Q(z({},i),{dividerBefore:!0})):n.push(z({},i)),i.id==="plugins"&&n.push(...e);return n});activePluginItem=b(()=>{let e=this.activeSection();if(!e.startsWith("plugin:"))return null;let n=e.slice(7);return this.settingsPlugins().find(i=>i.id===n)??null});pluginsVisible=b(()=>this.visible()&&this.activeSection()==="plugins");generalVisible=b(()=>this.visible()&&this.activeSection()==="general");projectVisible=b(()=>this.visible()&&this.activeSection()==="project");aboutVisible=b(()=>this.visible()&&this.activeSection()==="about");constructor(){L(()=>{this.visible()&&this.loadSettingsPlugins()})}async loadSettingsPlugins(){try{let n=(await this.dataSource.listPlugins()).items.filter(on);this.settingsPlugins.set(Ae(n))}catch{this.settingsPlugins.set([])}}onVisibleChange(e){if(e){this.visibleChange.emit(!0);return}let n=this.buffer.dirtyCount();if(n===0){this.visibleChange.emit(!1);return}this.confirmation.confirm({header:this.texts.confirmCloseTitle,message:this.texts.confirmCloseBody(n),acceptLabel:this.texts.applyAndClose,rejectLabel:this.texts.discardChanges,acceptButtonProps:{severity:"primary"},rejectButtonProps:{severity:"secondary"},accept:()=>{this.applyAndClose()},reject:()=>{this.buffer.discardChanges(),this.visibleChange.emit(!1)}})}selectSection(e){this.activeSection.set(e)}async applyAndClose(){(await this.buffer.applyChanges()).ok&&this.visibleChange.emit(!1)}discardChanges(){this.buffer.discardChanges()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=V({type:t,selectors:[["sm-settings-modal"]],inputs:{visible:[1,"visible"]},outputs:{visibleChange:"visibleChange"},features:[ye([re])],decls:16,vars:10,consts:[["footer",""],["styleClass","settings-modal__dialog","contentStyleClass","settings-modal__content","data-testid","settings-modal",3,"visibleChange","visible","modal","draggable","resizable","closable","closeOnEscape","dismissableMask","header"],[1,"settings-modal__layout"],["data-testid","settings-modal-sidebar",1,"settings-modal__sidebar"],["role","list",1,"settings-modal__sidebar-list"],["data-testid","settings-modal-main",1,"settings-modal__main"],[3,"visible"],["aria-hidden","true",1,"settings-modal__divider"],["type","button",1,"settings-modal__sidebar-item",3,"click"],[1,"settings-modal__sidebar-label"],[3,"plugin"],["data-testid","settings-modal-footer",1,"settings-modal__footer"],[1,"settings-modal__footer-status"],["data-testid","settings-modal-unsaved",1,"settings-modal__footer-message"],["data-testid","settings-modal-restart-hint",1,"settings-modal__footer-hint"],["data-testid","settings-modal-apply-error",1,"settings-modal__footer-error"],["severity","secondary","size","small","data-testid","settings-modal-discard",3,"onClick","text","label","ariaLabel","disabled"],["size","small","data-testid","settings-modal-apply",3,"onClick","label","ariaLabel","disabled","loading"]],template:function(n,i){if(n&1&&(a(0,"p-dialog",1),x("visibleChange",function(g){return i.onVisibleChange(g)}),a(1,"div",2)(2,"nav",3)(3,"ul",4),T(4,$i,5,6,null,null,zi),r()(),a(6,"div",5),u(7,Bi,1,1,"sm-settings-plugins",6)(8,Gi,1,1,"sm-settings-general",6)(9,Ki,1,1,"sm-settings-project",6)(10,Ui,1,1,"sm-settings-about",6)(11,Hi,1,0,"sm-settings-changelog")(12,qi,1,1),r()(),y(13,"p-confirmdialog"),Z(14,Ji,1,1,"ng-template",null,0,se),r()),n&2){let l;f("visible",i.visible())("modal",!0)("draggable",!1)("resizable",!1)("closable",!0)("closeOnEscape",!0)("dismissableMask",!0)("header",i.texts.modalTitle),s(2),v("aria-label",i.texts.modalTitle),s(2),O(i.sections()),s(3),h((l=i.activeSection())==="plugins"?7:l==="general"?8:l==="project"?9:l==="about"?10:l==="changelog"?11:12)}},dependencies:[Me,Pe,Te,Ee,gt,dt,ft,xt,St,Zt,sn,rn],styles:["[_nghost-%COMP%]{display:contents;--p-message-error-color: #fca5a5;--p-message-error-background: color-mix(in srgb, #ef4444 14%, transparent);--p-message-error-border-color: color-mix(in srgb, #ef4444 45%, transparent)}[_nghost-%COMP%] .settings-modal__dialog{width:1024px;height:720px;max-width:92vw;max-height:90vh}[_nghost-%COMP%] .settings-modal__content{padding:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.settings-modal__layout[_ngcontent-%COMP%]{flex:1;display:grid;grid-template-columns:200px 1fr;min-height:0}.settings-modal__sidebar[_ngcontent-%COMP%]{border-right:1px solid var(--p-content-border-color);background:var(--p-content-background);padding:.5rem;overflow-y:auto;min-height:0}.settings-modal__sidebar-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.125rem}.settings-modal__divider[_ngcontent-%COMP%]{height:1px;margin:.375rem .25rem;background:var(--p-content-border-color)}.settings-modal__sidebar-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.5rem .75rem;border:none;border-radius:var(--p-border-radius);background:transparent;color:var(--p-text-color);font:inherit;text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease}.settings-modal__sidebar-item[_ngcontent-%COMP%]:hover{background:var(--p-content-hover-background)}.settings-modal__sidebar-item.is-active[_ngcontent-%COMP%]{background:var(--p-highlight-background);color:var(--p-highlight-color)}.settings-modal__sidebar-label[_ngcontent-%COMP%]{flex:1;font-size:.9rem;font-weight:500;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-modal__main[_ngcontent-%COMP%]{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}.settings-modal__main[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1;min-height:0}.settings-modal__footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:.5rem;width:100%}.settings-modal__footer-status[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem;margin-right:auto;min-width:0}.settings-modal__footer-message[_ngcontent-%COMP%]{font-size:.8125rem;line-height:1.3;color:color-mix(in oklab,var(--p-message-warn-color) 80%,var(--p-text-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-modal__footer-hint[_ngcontent-%COMP%]{font-style:italic;font-size:.75rem;line-height:1.4;color:var(--p-warn-color)}.settings-modal__footer-error[_ngcontent-%COMP%]{font-size:.75rem;line-height:1.4;color:var(--p-message-error-color)}[_nghost-%COMP%] .settings-modal__dialog .p-inputtext, [_nghost-%COMP%] .settings-modal__dialog .p-button, [_nghost-%COMP%] .settings-modal__dialog .p-togglebutton, [_nghost-%COMP%] .settings-modal__dialog .p-select, [_nghost-%COMP%] .settings-modal__dialog .p-select-label, [_nghost-%COMP%] .settings-modal__dialog .p-multiselect, [_nghost-%COMP%] .settings-modal__dialog .p-multiselect-label, [_nghost-%COMP%] .settings-modal__dialog .p-autocomplete, [_nghost-%COMP%] .settings-modal__dialog .p-password input{font-size:.8rem}[_nghost-%COMP%] .settings-modal__dialog .p-dialog-footer{display:flex!important;align-items:center!important;padding-block:.625rem!important}"],changeDetection:0})}return t})();export{xr as SettingsModal};
@@ -36,5 +36,5 @@
36
36
  <style>:root{--ff-white:#ffffff;--ff-black:#000000;--ff-gray-0:#ffffff;--ff-gray-25:#fcfcfc;--ff-gray-50:#f8f8f7;--ff-gray-75:#f2f2f0;--ff-gray-100:#e9e9e6;--ff-gray-150:#dcdcd7;--ff-gray-200:#c9c9c1;--ff-gray-300:#afafa5;--ff-gray-400:#8d8d81;--ff-gray-500:#69695f;--ff-gray-600:#505048;--ff-gray-700:#3c3c36;--ff-gray-800:#272722;--ff-gray-900:#1b1b18;--ff-gray-950:#141412;--ff-gray-1000:#0f0f0d;--ff-alpha-black-04:rgba(15, 15, 13, .04);--ff-alpha-black-06:rgba(15, 15, 13, .06);--ff-alpha-black-08:rgba(15, 15, 13, .08);--ff-alpha-black-10:rgba(15, 15, 13, .1);--ff-alpha-black-12:rgba(15, 15, 13, .12);--ff-alpha-black-15:rgba(15, 15, 13, .15);--ff-alpha-black-20:rgba(15, 15, 13, .2);--ff-alpha-black-30:rgba(15, 15, 13, .3);--ff-alpha-black-40:rgba(15, 15, 13, .4);--ff-alpha-black-60:rgba(15, 15, 13, .6);--ff-alpha-white-04:rgba(255, 255, 255, .04);--ff-alpha-white-06:rgba(255, 255, 255, .06);--ff-alpha-white-08:rgba(255, 255, 255, .08);--ff-alpha-white-10:rgba(255, 255, 255, .1);--ff-alpha-white-12:rgba(255, 255, 255, .12);--ff-alpha-white-15:rgba(255, 255, 255, .15);--ff-alpha-white-20:rgba(255, 255, 255, .2);--ff-alpha-white-30:rgba(255, 255, 255, .3);--ff-alpha-white-40:rgba(255, 255, 255, .4);--ff-alpha-white-60:rgba(255, 255, 255, .6);--ff-blue-100:#e8f2ff;--ff-blue-200:#bad8ff;--ff-blue-300:#7db7ff;--ff-blue-400:#4176ff;--ff-blue-500:#2759db;--ff-blue-600:#1b3f9e;--ff-green-100:#e7f7ef;--ff-green-300:#71c795;--ff-green-400:#2b9b5f;--ff-green-500:#1e7748;--ff-yellow-100:#fff5de;--ff-yellow-300:#e1b354;--ff-yellow-400:#bb8121;--ff-yellow-500:#916112;--ff-red-100:#feeceb;--ff-red-300:#e48d85;--ff-red-400:#c55245;--ff-red-500:#9e3a2f;--ff-radius-4:4px;--ff-radius-6:6px;--ff-radius-pill:999px;--ff-font-family-sans:"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--ff-font-family-mono:ui-monospace, "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;--ff-font-size-xs:12px;--ff-font-size-sm:14px;--ff-font-size-md:16px;--ff-font-size-lg:18px;--ff-shadow-1:0 1px 2px rgba(15, 15, 13, .05), 0 8px 20px rgba(15, 15, 13, .04);--ff-shadow-2:0 10px 28px rgba(15, 15, 13, .08), 0 3px 10px rgba(15, 15, 13, .05);--ff-shadow-3:0 18px 48px rgba(15, 15, 13, .12), 0 6px 16px rgba(15, 15, 13, .08)}:root{--ff-color-surface-page:var(--ff-gray-25);--ff-color-surface-canvas:var(--ff-gray-25);--ff-color-surface-card:var(--ff-white);--ff-color-surface-group:rgba(65, 118, 255, .14);--ff-color-surface-group-active:rgba(65, 118, 255, .2);--ff-color-surface-muted:var(--ff-gray-50);--ff-color-surface-soft:var(--ff-gray-75);--ff-color-surface-accent-soft:rgba(65, 118, 255, .1);--ff-color-border-default:var(--ff-alpha-black-12);--ff-color-border-subtle:var(--ff-alpha-black-08);--ff-color-border-strong:var(--ff-alpha-black-20);--ff-color-border-accent:var(--ff-blue-500);--ff-color-text-primary:var(--ff-gray-800);--ff-color-text-secondary:var(--ff-gray-500);--ff-color-text-tertiary:var(--ff-gray-400);--ff-color-text-inverse:var(--ff-white);--ff-color-accent:var(--ff-blue-500);--ff-color-accent-strong:var(--ff-blue-600);--ff-color-success:var(--ff-green-400);--ff-color-warning:var(--ff-yellow-400);--ff-color-danger:var(--ff-red-400);--ff-color-disabled-surface:var(--ff-gray-100);--ff-color-disabled-border:var(--ff-alpha-black-10);--ff-color-disabled-text:var(--ff-gray-300);--ff-color-selection-fill:rgba(65, 118, 255, .12);--ff-color-selection-stroke:rgba(65, 118, 255, .28);--ff-color-grid:var(--ff-alpha-black-08);--ff-color-grid-strong:var(--ff-alpha-black-15);--ff-color-connector-connected:var(--ff-blue-500);--ff-color-connection:var(--ff-gray-600);--ff-color-connection-muted:var(--ff-gray-300);--ff-color-connection-hover:var(--ff-alpha-black-12);--ff-color-grouping-drop-target-border:var(--ff-gray-800);--ff-color-grouping-drop-target-border-active:var(--ff-gray-800);--ff-color-waypoint-fill:var(--ff-white);--ff-color-waypoint-stroke:var(--ff-blue-500);--ff-color-waypoint-candidate-fill:var(--ff-white);--ff-color-waypoint-candidate-stroke:var(--ff-green-400);--ff-color-minimap-surface:var(--ff-white);--ff-color-minimap-node:var(--ff-gray-700);--ff-color-minimap-view:rgba(65, 118, 255, .14);--ff-color-magnetic-line:var(--ff-blue-500);--ff-color-magnetic-rect-fill:rgba(65, 118, 255, .08);--ff-color-magnetic-rect-border:rgba(65, 118, 255, .24);--ff-radius-node:var(--ff-radius-4);--ff-radius-group:var(--ff-radius-4);--ff-radius-control:var(--ff-radius-4);--ff-radius-socket-square:var(--ff-radius-6);--ff-radius-pill:var(--ff-radius-pill);--ff-font-sans:var(--ff-font-family-sans);--ff-font-mono:var(--ff-font-family-mono);--ff-font-size-body:var(--ff-font-size-sm);--ff-font-size-label:var(--ff-font-size-xs);--ff-shadow-surface:var(--ff-shadow-1);--ff-shadow-floating:var(--ff-shadow-2)}:root{--ff-flow-background-color:var(--ff-color-surface-page);--ff-flow-text-color:var(--ff-color-text-primary);--ff-flow-font-family:var(--ff-font-sans);--ff-flow-font-size:var(--ff-font-size-body);--ff-canvas-background-color:var(--ff-color-surface-canvas);--ff-node-background-color:var(--ff-color-surface-card);--ff-node-background-color-inverse:var(--ff-color-text-primary);--ff-node-border-color:var(--ff-color-border-default);--ff-node-border-color-selected:var(--ff-color-border-accent);--ff-node-color:var(--ff-color-text-primary);--ff-node-border-radius:var(--ff-radius-node);--ff-node-shadow:var(--ff-shadow-surface);--ff-node-shadow-selected:var(--ff-shadow-floating);--ff-node-width:120px;--ff-node-min-height:56px;--ff-node-padding:24px;--ff-group-background-color:var(--ff-color-surface-group);--ff-group-background-color-active:var(--ff-color-surface-group-active);--ff-group-border-color:var(--ff-color-border-subtle);--ff-group-border-color-selected:var(--ff-color-border-accent);--ff-group-border-color-active:var(--ff-color-border-accent);--ff-group-color:var(--ff-color-text-secondary);--ff-group-border-radius:var(--ff-radius-group);--ff-group-min-width:180px;--ff-group-min-height:120px;--ff-group-padding:24px;--ff-grouping-drop-target-border-color:var(--ff-color-grouping-drop-target-border);--ff-grouping-drop-target-border-style:dashed;--ff-grouping-drop-target-border-width:1px;--ff-grouping-drop-target-border-color-active:var( --ff-color-grouping-drop-target-border-active );--ff-grouping-drop-target-border-style-active:dashed;--ff-grouping-drop-target-border-width-active:2px;--ff-resize-handle-size:8px;--ff-resize-handle-fill:var(--ff-color-accent);--ff-resize-handle-stroke:var(--ff-color-surface-card);--ff-resize-handle-ring:var(--ff-color-accent);--ff-resize-handle-radius:1px;--ff-resize-handle-fill-active:var(--ff-color-surface-card);--ff-rotate-handle-size:16px;--ff-rotate-handle-offset:40px;--ff-rotate-handle-background-color:var(--ff-color-surface-card);--ff-rotate-handle-border-color:var(--ff-color-border-strong);--ff-rotate-handle-guide-color:var(--ff-color-border-strong);--ff-connector-background-color:var(--ff-color-surface-card);--ff-connector-border-color:var(--ff-color-text-secondary);--ff-connector-connected-color:var(--ff-color-connector-connected);--ff-connector-accent-color:var(--ff-color-accent);--ff-connector-disabled-color:var(--ff-color-disabled-surface);--ff-connector-disabled-border-color:var(--ff-color-disabled-border);--ff-connector-size:14px;--ff-connector-border-width:2px;--ff-connector-input-radius:var(--ff-radius-4);--ff-connector-node-ring-color:var(--ff-canvas-background-color);--ff-outlet-background-color:var(--ff-color-surface-muted);--ff-outlet-border-color:var(--ff-color-border-default);--ff-outlet-color:var(--ff-color-accent);--ff-outlet-disabled-background-color:var(--ff-color-disabled-surface);--ff-outlet-disabled-border-color:var(--ff-color-disabled-border);--ff-outlet-disabled-color:var(--ff-color-disabled-text);--ff-outlet-border-radius:var(--ff-radius-pill);--ff-outlet-padding-y:6px;--ff-outlet-padding-x:12px;--ff-connection-color:var(--ff-color-connection);--ff-snap-connection-color:var(--ff-color-connection-muted);--ff-connection-hover-color:var(--ff-color-connection-hover);--ff-connection-selected-color:var(--ff-color-accent);--ff-connection-label-color:var(--ff-color-text-secondary);--ff-connection-content-color:var(--ff-node-color);--ff-connection-content-background-color:var(--ff-node-background-color);--ff-connection-content-border-color:var(--ff-node-border-color);--ff-connection-content-border-color-selected:var(--ff-connection-selected-color);--ff-connection-content-border-radius:var(--ff-node-border-radius);--ff-connection-content-font-size:13px;--ff-connection-content-padding-y:2px;--ff-connection-content-padding-x:8px;--ff-connection-width:2px;--ff-connection-hit-width:14px;--ff-connection-drag-handle-fill:var(--ff-color-surface-card);--ff-connection-drag-handle-stroke:var(--ff-color-accent);--ff-marker-color:var(--ff-connection-color);--ff-waypoint-fill:var(--ff-color-waypoint-fill);--ff-waypoint-stroke:var(--ff-color-waypoint-stroke);--ff-waypoint-candidate-fill:var(--ff-color-waypoint-candidate-fill);--ff-waypoint-candidate-stroke:var(--ff-color-waypoint-candidate-stroke);--ff-background-line-color:var(--ff-color-grid);--ff-background-dot-color:var(--ff-color-grid-strong);--ff-selection-area-color:var(--ff-color-selection-fill);--ff-selection-area-border-color:var(--ff-color-selection-stroke);--ff-minimap-background-color:var(--ff-color-minimap-surface);--ff-minimap-border-color:var(--ff-color-border-default);--ff-minimap-node-color:var(--ff-color-minimap-node);--ff-minimap-node-selected-color:var(--ff-color-accent);--ff-minimap-view-color:var(--ff-color-minimap-view);--ff-minimap-view-border-color:var(--ff-color-selection-stroke);--ff-minimap-border-radius:var(--ff-radius-node);--ff-minimap-shadow:var(--ff-shadow-floating);--ff-magnetic-line-color:var(--ff-color-magnetic-line);--ff-magnetic-rect-fill:var(--ff-color-magnetic-rect-fill);--ff-magnetic-rect-border-color:var(--ff-color-magnetic-rect-border);--ff-external-item-background-color:var(--ff-color-surface-card);--ff-external-item-border-color:var(--ff-color-border-default);--ff-external-item-color:var(--ff-color-text-primary);--ff-external-item-disabled-color:var(--ff-color-disabled-text);--ff-external-item-disabled-background-color:var(--ff-color-disabled-surface);--ff-external-item-border-radius:var(--ff-radius-node);--ff-external-item-shadow:var(--ff-shadow-surface);--ff-external-item-preview-shadow:var(--ff-shadow-floating);--ff-external-item-placeholder-background-color:var(--ff-color-surface-soft);--ff-external-item-placeholder-border-color:var(--ff-color-border-subtle)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}:root{--fa-family-brands:"Font Awesome 7 Brands";--fa-font-brands:normal 400 1em/1 var(--fa-family-brands)}:root{--fa-font-regular:normal 400 1em/1 var(--fa-family-classic)}:root{--fa-family-classic:"Font Awesome 7 Free";--fa-font-solid:normal 900 1em/1 var(--fa-family-classic);--fa-style-family-classic:var(--fa-family-classic)}:root{--sm-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--sm-font-display-brand:"Geist", system-ui, sans-serif;--sm-radius-sm:3px;--sm-radius-md:4px;--sm-radius-lg:.5rem;--sm-radius-xl:.65rem;--sm-radius-pill:999px;--sm-violet-50:#F5F3FF;--sm-violet-100:#EDE9FE;--sm-violet-200:#DDD6FE;--sm-violet-300:#C4B5FD;--sm-violet-400:#A78BFA;--sm-violet-500:#8B5CF6;--sm-violet-600:#7C3AED;--sm-violet-700:#6D28D9;--sm-violet-800:#4C1D95;--sm-violet-900:#2E1065}html,body{margin:0;padding:0;height:100dvh;overflow:hidden;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--sm-bg-page);color:var(--p-text-color)}*,*:before,*:after{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--p-text-color) 30%,transparent) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background-color:color-mix(in srgb,var(--p-text-color) 25%,transparent);border-radius:var(--sm-radius-pill);border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--p-text-color) 45%,transparent)}:root{--sm-bg-page:#f8fafc;--sm-bg-content:#ffffff;--sm-bg-hover:#f1f5f9;--sm-border:#e2e8f0;--sm-nav-active-bg:#eff6ff;--sm-edge-invokes:#b8843a;--sm-edge-invokes-active:#f59e0b;--sm-edge-references:#7daa90;--sm-edge-references-active:#10b981;--sm-edge-points:#8f7cb8;--sm-edge-points-active:#7c3aed;--sm-edge-mentions:#6fa2c0;--sm-edge-mentions-active:#0ea5e9;--sm-edge-neutral:#6b7280;--sm-link-in-bg:#e0e7ff;--sm-link-in-fg:#3730a3;--sm-link-out-bg:#fef3c7;--sm-link-out-fg:#92400e;--sm-severity-info:#1e3a8a;--sm-severity-success:#065f46;--sm-severity-warn:#ca8a04;--sm-severity-error:#991b1b;--sm-severity-info-bg:rgba(219, 234, 254, .35);--sm-severity-success-bg:rgba(209, 250, 229, .35);--sm-severity-warn-bg:rgba(254, 243, 199, .35);--sm-severity-error-bg:rgba(254, 226, 226, .35);--sm-stat-tokens-bg:rgba(59, 130, 246, .14);--sm-stat-bytes-bg:rgba(245, 158, 11, .16);--sm-hl-comment:#6e7781;--sm-hl-keyword:#cf222e;--sm-hl-string:#0a3069;--sm-hl-number:#0550ae;--sm-hl-title:#8250df;--sm-hl-attr:#0550ae;--sm-hl-built-in:#953800;--sm-hl-meta:#6e7781;--sm-hl-addition:#116329;--sm-hl-deletion:#82071e;--sm-accent-fg:#ffffff;--sm-shadow-topbar:0 1px 2px rgba(0, 0, 0, .03);--sm-shadow-eventlog:0 -4px 16px rgba(0, 0, 0, .08);--sm-shadow-floating:0 4px 14px rgba(0, 0, 0, .08);--sm-shadow-card:0 1px 2px rgba(0, 0, 0, .05);--sm-shadow-card-hover:0 3px 12px rgba(0, 0, 0, .12);--sm-shadow-panel:0 4px 24px rgba(0, 0, 0, .12)}</style><link rel="stylesheet" href="styles-VEGETYWD.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-VEGETYWD.css"></noscript></head>
37
37
  <body>
38
38
  <sm-root></sm-root>
39
- <link rel="modulepreload" href="chunk-3GDWM5VM.js"><link rel="modulepreload" href="chunk-KHDWXSGR.js"><link rel="modulepreload" href="chunk-PU5OP5RN.js"><link rel="modulepreload" href="chunk-KMHXNOFZ.js"><link rel="modulepreload" href="chunk-Z7SOKILO.js"><link rel="modulepreload" href="chunk-CG25RHMO.js"><link rel="modulepreload" href="chunk-JKPG5PO7.js"><link rel="modulepreload" href="chunk-7WMT2LX4.js"><link rel="modulepreload" href="chunk-TQBXK5JN.js"><link rel="modulepreload" href="chunk-EJVWTBMV.js"><script src="main-ZYRIR6DB.js" type="module"></script></body>
39
+ <link rel="modulepreload" href="chunk-K3ZRQNN5.js"><link rel="modulepreload" href="chunk-KHDWXSGR.js"><link rel="modulepreload" href="chunk-PU5OP5RN.js"><link rel="modulepreload" href="chunk-KMHXNOFZ.js"><link rel="modulepreload" href="chunk-Z7SOKILO.js"><link rel="modulepreload" href="chunk-CG25RHMO.js"><link rel="modulepreload" href="chunk-JKPG5PO7.js"><link rel="modulepreload" href="chunk-7WMT2LX4.js"><link rel="modulepreload" href="chunk-TQBXK5JN.js"><link rel="modulepreload" href="chunk-EJVWTBMV.js"><script src="main-R7BIU4HU.js" type="module"></script></body>
40
40
  </html>