pi-roundtable-web 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.22.0] - 2026-10-21
9
+
10
+ - Release in lockstep with pi-roundtable 0.22.0. The core peer range moves to `>=0.22.0 <0.23.0`. The skills page shows skills from npm packages, with the package as their source.
11
+
12
+ ## [0.21.0] - 2026-10-20
13
+
14
+ - Release in lockstep with pi-roundtable 0.21.0. The core peer range moves to `>=0.21.0 <0.22.0`.
15
+
8
16
  ## [0.20.0] - 2026-10-18
9
17
 
10
18
  - Release in lockstep with pi-roundtable 0.20.0. The core peer range moves to `>=0.20.0 <0.21.0`.
@@ -33,4 +33,4 @@ Error generating stack: `+l.message+`
33
33
  `))+1))}let a="#".repeat(i),u=n.enter("headingAtx"),o=n.enter("phrasing");r.move(a+" ");let s=n.containerPhrasing(t,{before:"# ",after:`
34
34
  `,...r.current()}),c=s.charCodeAt(0);if(c===9||c===32)s=Ex(c)+s.slice(1);if(s=s?a+" "+s:a,n.options.closeAtx)s+=" "+a;return o(),u(),s}Sh.peek=UA;function Sh(t){return t.value||""}function UA(){return"<"}Eh.peek=BA;function Eh(t,e,n,l){let i=Ur(n),r=i==='"'?"Quote":"Apostrophe",a=n.enter("image"),u=n.enter("label"),o=n.createTracker(l),s=o.move("![");if(s+=o.move(n.safe(t.alt,{before:s,after:"]",...o.current()})),s+=o.move("]("),u(),!t.url&&t.title||/[\0- \u007F]/.test(t.url))u=n.enter("destinationLiteral"),s+=o.move("<"),s+=o.move(n.safe(t.url,{before:s,after:">",...o.current()})),s+=o.move(">");else u=n.enter("destinationRaw"),s+=o.move(n.safe(t.url,{before:s,after:t.title?" ":")",...o.current()}));if(u(),t.title)u=n.enter(`title${r}`),s+=o.move(" "+i),s+=o.move(n.safe(t.title,{before:s,after:i,...o.current()})),s+=o.move(i),u();return s+=o.move(")"),a(),s}function BA(){return"!"}Th.peek=HA;function Th(t,e,n,l){let i=t.referenceType,r=n.enter("imageReference"),a=n.enter("label"),u=n.createTracker(l),o=u.move("!["),s=n.safe(t.alt,{before:o,after:"]",...u.current()});o+=u.move(s+"]["),a();let c=n.stack;n.stack=c.filter(function(m){return m!=="phrasing"}),a=n.enter("reference");let f=n.safe(n.associationId(t),{before:o,after:"]",...u.current()});if(a(),n.stack=c,r(),i==="full"||!s||s!==f)o+=u.move(f+"]");else if(i==="shortcut")o=o.slice(0,-1);else o+=u.move("]");return o}function HA(){return"!"}kh.peek=qA;function kh(t,e,n){let l=t.value||"",i="`",r=-1;while(new RegExp("(^|[^`])"+i+"([^`]|$)").test(l))i+="`";if(/[^\n\r ]/.test(l)&&(/^[\n\r ]/.test(l)&&/[\n\r ]$/.test(l)||/^`|`$/.test(l)))l=" "+l+" ";while(++r<n.unsafe.length){let a=n.unsafe[r],u=n.compilePattern(a);if(!a.atBreak)continue;let o;while(o=u.exec(l)){let s=o.index;if(l.charCodeAt(s)===10&&l.charCodeAt(s-1)===13)s--;l=l.slice(0,s)+" "+l.slice(o.index+1)}}return i+l+i}function qA(){return"`"}function wh(t,e){let n=yi(t);return Boolean(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][+\-.a-z]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}Ch.peek=VA;function Ch(t,e,n,l){let i=Ur(n),r=i==='"'?"Quote":"Apostrophe",a=n.createTracker(l);if(wh(t,n)){let c=n.stack;n.stack=c.filter(function(p){return p!=="phrasing"});let f=n.enter("autolink"),m=a.move("<");return m+=a.move(n.containerPhrasing(t,{before:m,after:">",...a.current()})),m+=a.move(">"),f(),n.stack=c,m}let u=n.enter("link"),o=n.enter("label"),s=a.move("[");if(s+=a.move(n.containerPhrasing(t,{before:s,after:"](",...a.current()})),s+=a.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url))o=n.enter("destinationLiteral"),s+=a.move("<"),s+=a.move(n.safe(t.url,{before:s,after:">",...a.current()})),s+=a.move(">");else o=n.enter("destinationRaw"),s+=a.move(n.safe(t.url,{before:s,after:t.title?" ":")",...a.current()}));if(o(),t.title)o=n.enter(`title${r}`),s+=a.move(" "+i),s+=a.move(n.safe(t.title,{before:s,after:i,...a.current()})),s+=a.move(i),o();return s+=a.move(")"),u(),s}function VA(t,e,n){return wh(t,n)?"<":"["}Ah.peek=jA;function Ah(t,e,n,l){let i=t.referenceType,r=n.enter("linkReference"),a=n.enter("label"),u=n.createTracker(l),o=u.move("["),s=n.containerPhrasing(t,{before:o,after:"]",...u.current()});o+=u.move(s+"]["),a();let c=n.stack;n.stack=c.filter(function(m){return m!=="phrasing"}),a=n.enter("reference");let f=n.safe(n.associationId(t),{before:o,after:"]",...u.current()});if(a(),n.stack=c,r(),i==="full"||!s||s!==f)o+=u.move(f+"]");else if(i==="shortcut")o=o.slice(0,-1);else o+=u.move("]");return o}function jA(){return"["}function Br(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function wx(t){let e=Br(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Cx(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function Pc(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function Ax(t,e,n,l){let i=n.enter("list"),r=n.bulletCurrent,a=t.ordered?Cx(n):Br(n),u=t.ordered?a==="."?")":".":wx(n),o=e&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!t.ordered){let c=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0)o=!0;if(Pc(n)===a&&c){let f=-1;while(++f<t.children.length){let m=t.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){o=!0;break}}}}if(o)a=u;n.bulletCurrent=a;let s=n.containerFlow(t,l);return n.bulletLastUsed=a,n.bulletCurrent=r,i(),s}function zx(t){let e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function Nx(t,e,n,l){let i=zx(n),r=n.bulletCurrent||Br(n);if(e&&e.type==="list"&&e.ordered)r=(typeof e.start==="number"&&e.start>-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+r;let a=r.length+1;if(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))a=Math.ceil(a/4)*4;let u=n.createTracker(l);u.move(r+" ".repeat(a-r.length)),u.shift(a);let o=n.enter("listItem"),s=n.indentLines(n.containerFlow(t,u.current()),c);return o(),s;function c(f,m,p){if(m)return(p?"":" ".repeat(a))+f;return(p?r:r+" ".repeat(a-r.length))+f}}function Ox(t,e,n,l){let i=n.enter("paragraph"),r=n.enter("phrasing"),a=n.containerPhrasing(t,l);return r(),i(),a}var zh=_l(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function _x(t,e,n,l){if(!t.children.some(function(u){return zh(u)}))return n.containerFlow(t,l);let r=n.enter("phrasing"),a=n.containerPhrasing(t,l);return r(),a}function Dx(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}Wc.attention=YA;Wc.peek=GA;function Wc(t,e,n,l){let i=n.enter("phrasing"),r=n.containerPhrasing({type:"root",children:[t]},l);return i(),r}function YA(t,e){return{construct:"strong",markers:Dx(e)==="*"?["*","_"]:["_","*"],sizes:[2]}}function GA(t,e,n){return n.options.strong||"*"}function Mx(t,e,n,l){return n.safe(t.value,l)}function Rx(t){let e=t.options.ruleRepetition||3;if(e<3)throw Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function Lx(t,e,n){let l=(Pc(n)+(n.options.ruleSpaces?" ":"")).repeat(Rx(n));return n.options.ruleSpaces?l.slice(0,-1):l}var yu={blockquote:px,break:xh,code:bx,definition:xx,emphasis:Jc,hardBreak:xh,heading:kx,html:Sh,image:Eh,imageReference:Th,inlineCode:kh,link:Ch,linkReference:Ah,list:Ax,listItem:Nx,paragraph:Ox,root:_x,strong:Wc,text:Mx,thematicBreak:Lx};function Oh(){return{enter:{table:XA,tableData:Ux,tableHeader:Ux,tableRow:ZA},exit:{codeText:IA,table:QA,tableData:Nh,tableHeader:Nh,tableRow:Nh}}}function XA(t){let e=t._align;yt(e,"expected `_align` on table"),this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function QA(t){this.exit(t),this.data.inTable=void 0}function ZA(t){this.enter({type:"tableRow",children:[]},t)}function Nh(t){this.exit(t)}function Ux(t){this.enter({type:"tableCell",children:[]},t)}function IA(t){let e=this.resume();if(this.data.inTable)e=e.replace(/\\([\\|])/g,KA);let n=this.stack[this.stack.length-1];yt(n.type==="inlineCode"),n.value=e,this.exit(t)}function KA(t,e){return e==="|"?e:t}function _h(t){let e=t||{},{tableCellPadding:n,tablePipeAlign:l,stringLength:i}=e,r=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
35
35
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:o,tableRow:u}};function a(p,g,S,A){return s(c(p,S,A),p.align)}function u(p,g,S,A){let h=f(p,S,A),d=s([h]);return d.slice(0,d.indexOf(`
36
- `))}function o(p,g,S,A){let h=S.enter("tableCell"),d=S.enter("phrasing"),y=S.containerPhrasing(p,{...A,before:r,after:r});return d(),h(),y}function s(p,g){return mx(p,{align:g,alignDelimiters:l,padding:n,stringLength:i})}function c(p,g,S){let A=p.children,h=-1,d=[],y=g.enter("table");while(++h<A.length)d[h]=f(A[h],g,S);return y(),d}function f(p,g,S){let A=p.children,h=-1,d=[],y=g.enter("tableRow");while(++h<A.length)d[h]=o(A[h],p,g,S);return y(),d}function m(p,g,S){let A=yu.inlineCode(p,g,S);if(S.stack.includes("tableCell"))A=A.replace(/\|/g,"\\$&");return A}}function Dh(){return{exit:{taskListCheckValueChecked:Bx,taskListCheckValueUnchecked:Bx,paragraph:FA}}}function Mh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:JA}}}function Bx(t){let e=this.stack[this.stack.length-2];yt(e.type==="listItem"),e.checked=t.type==="taskListCheckValueChecked"}function FA(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked==="boolean"){let n=this.stack[this.stack.length-1];yt(n.type==="paragraph");let l=n.children[0];if(l&&l.type==="text"){let i=e.children,r=-1,a;while(++r<i.length){let u=i[r];if(u.type==="paragraph"){a=u;break}}if(a===n){if(l.value=l.value.slice(1),l.value.length===0)n.children.shift();else if(n.position&&l.position&&typeof l.position.start.offset==="number")l.position.start.column++,l.position.start.offset++,n.position.start=Object.assign({},l.position.start)}}}this.exit(t)}function JA(t,e,n,l){let i=t.children[0],r=typeof t.checked==="boolean"&&i&&i.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",u=n.createTracker(l);if(r)u.move(a);let o=yu.listItem(t,e,n,{...l,...u.current()});if(r)o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s);return o;function s(c){return c+a}}function Rh(){return[ph(),dh(),yh(),Oh(),Dh()]}function Lh(t){return{extensions:[hh(),gh(t),vh(),_h(t),Mh()]}}var PA={tokenize:nz,partial:!0},Hx={tokenize:lz,partial:!0},qx={tokenize:iz,partial:!0},Vx={tokenize:rz,partial:!0},WA={tokenize:az,partial:!0},jx={name:"wwwAutolink",tokenize:tz,previous:Gx},Yx={name:"protocolAutolink",tokenize:ez,previous:Xx},Zn={name:"emailAutolink",tokenize:$A,previous:Qx},En={};function Bh(){return{text:En}}var Ai=48;while(Ai<123)if(En[Ai]=Zn,Ai++,Ai===58)Ai=65;else if(Ai===91)Ai=97;En[43]=Zn;En[45]=Zn;En[46]=Zn;En[95]=Zn;En[72]=[Zn,Yx];En[104]=[Zn,Yx];En[87]=[Zn,jx];En[119]=[Zn,jx];function $A(t,e,n){let l=this,i,r;return a;function a(f){if(!Uh(f)||!Qx.call(l,l.previous)||Hh(l.events))return n(f);return t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),u(f)}function u(f){if(Uh(f))return t.consume(f),u;if(f===64)return t.consume(f),o;return n(f)}function o(f){if(f===46)return t.check(WA,c,s)(f);if(f===45||f===95||At(f))return r=!0,t.consume(f),o;return c(f)}function s(f){return t.consume(f),i=!0,o}function c(f){if(r&&i&&Ut(l.previous))return t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f);return n(f)}}function tz(t,e,n){let l=this;return i;function i(a){if(a!==87&&a!==119||!Gx.call(l,l.previous)||Hh(l.events))return n(a);return t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(PA,t.attempt(Hx,t.attempt(qx,r),n),n)(a)}function r(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function ez(t,e,n){let l=this,i="",r=!1;return a;function a(f){if((f===72||f===104)&&Xx.call(l,l.previous)&&!Hh(l.events))return t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),t.consume(f),u;return n(f)}function u(f){if(Ut(f)&&i.length<5)return i+=String.fromCodePoint(f),t.consume(f),u;if(f===58){let m=i.toLowerCase();if(m==="http"||m==="https")return t.consume(f),o}return n(f)}function o(f){if(f===47){if(t.consume(f),r)return s;return r=!0,o}return n(f)}function s(f){return f===null||vi(f)||Z(f)||xn(f)||bi(f)?n(f):t.attempt(Hx,t.attempt(qx,c),n)(f)}function c(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function nz(t,e,n){let l=0;return i;function i(a){if((a===87||a===119)&&l<3)return l++,t.consume(a),i;if(a===46&&l===3)return t.consume(a),r;return n(a)}function r(a){return a===null?n(a):e(a)}}function lz(t,e,n){let l,i,r;return a;function a(s){if(s===46||s===95)return t.check(Vx,o,u)(s);if(s===null||Z(s)||xn(s)||s!==45&&bi(s))return o(s);return r=!0,t.consume(s),a}function u(s){if(s===95)l=!0;else i=l,l=void 0;return t.consume(s),a}function o(s){if(i||l||!r)return n(s);return e(s)}}function iz(t,e){let n=0,l=0;return i;function i(a){if(a===40)return n++,t.consume(a),i;if(a===41&&l<n)return r(a);if(a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126)return t.check(Vx,e,r)(a);if(a===null||Z(a)||xn(a))return e(a);return t.consume(a),i}function r(a){if(a===41)l++;return t.consume(a),i}}function rz(t,e,n){return l;function l(u){if(u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126)return t.consume(u),l;if(u===38)return t.consume(u),r;if(u===93)return t.consume(u),i;if(u===60||u===null||Z(u)||xn(u))return e(u);return n(u)}function i(u){if(u===null||u===40||u===91||Z(u)||xn(u))return e(u);return l(u)}function r(u){return Ut(u)?a(u):n(u)}function a(u){if(u===59)return t.consume(u),l;if(Ut(u))return t.consume(u),a;return n(u)}}function az(t,e,n){return l;function l(r){return t.consume(r),i}function i(r){return At(r)?n(r):e(r)}}function Gx(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Z(t)}function Xx(t){return!Ut(t)}function Qx(t){return!(t===47||Uh(t))}function Uh(t){return t===43||t===45||t===46||t===95||At(t)}function Hh(t){let e=t.length,n=!1;while(e--){let l=t[e][1];if((l.type==="labelLink"||l.type==="labelImage")&&!l._balanced){n=!0;break}if(l._gfmAutolinkLiteralWalkedInto){n=!1;break}}if(t.length>0&&!n)t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0;return n}var uz={tokenize:hz,partial:!0};function qh(){return{document:{[91]:{name:"gfmFootnoteDefinition",tokenize:fz,continuation:{tokenize:mz},exit:pz}},text:{[91]:{name:"gfmFootnoteCall",tokenize:sz},[93]:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:oz,resolveTo:cz}}}}function oz(t,e,n){let l=this,i=l.events.length,r=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),a;while(i--){let o=l.events[i][1];if(o.type==="labelImage"){a=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!a||!a._balanced)return n(o);let s=ee(l.sliceSerialize({start:a.end,end:l.now()}));if(s.codePointAt(0)!==94||!r.includes(s.slice(1)))return n(o);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),e(o)}}function cz(t,e){let n=t.length,l;while(n--)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){l=t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},t[t.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[t[n+1],t[n+2],["enter",i,e],t[n+3],t[n+4],["enter",r,e],["exit",r,e],["enter",a,e],["enter",u,e],["exit",u,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(n,t.length-n+1,...o),t}function sz(t,e,n){let l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),r=0,a;return u;function u(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),o}function o(f){if(f!==94)return n(f);return t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",s}function s(f){if(r>999||f===93&&!a||f===null||f===91||Z(f))return n(f);if(f===93){t.exit("chunkString");let m=t.exit("gfmFootnoteCallString");if(!i.includes(ee(l.sliceSerialize(m))))return n(f);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e}if(!Z(f))a=!0;return r++,t.consume(f),f===92?c:s}function c(f){if(f===91||f===92||f===93)return t.consume(f),r++,s;return s(f)}}function fz(t,e,n){let l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),r,a=0,u;return o;function o(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(g){if(g===94)return t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",c;return n(g)}function c(g){if(a>999||g===93&&!u||g===null||g===91||Z(g))return n(g);if(g===93){t.exit("chunkString");let S=t.exit("gfmFootnoteDefinitionLabelString");return r=ee(l.sliceSerialize(S)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),m}if(!Z(g))u=!0;return a++,t.consume(g),g===92?f:c}function f(g){if(g===91||g===92||g===93)return t.consume(g),a++,c;return c(g)}function m(g){if(g===58){if(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),!i.includes(r))i.push(r);return q(t,p,"gfmFootnoteDefinitionWhitespace")}return n(g)}function p(g){return e(g)}}function mz(t,e,n){return t.check(Sn,e,t.attempt(uz,e,n))}function pz(t){t.exit("gfmFootnoteDefinition")}function hz(t,e,n){let l=this;return q(t,i,"gfmFootnoteDefinitionIndent",5);function i(r){let a=l.events[l.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(r):n(r)}}function Vh(t){let n=(t||{}).singleTilde,l={name:"strikethrough",tokenize:r,resolveAll:i};if(n===null||n===void 0)n=!0;return{text:{[126]:l},insideSpan:{null:[l]},attentionMarkers:{null:[126]}};function i(a,u){let o=-1;while(++o<a.length)if(a[o][0]==="enter"&&a[o][1].type==="strikethroughSequenceTemporary"&&a[o][1]._close){let s=o;while(s--)if(a[s][0]==="exit"&&a[s][1].type==="strikethroughSequenceTemporary"&&a[s][1]._open&&a[o][1].end.offset-a[o][1].start.offset===a[s][1].end.offset-a[s][1].start.offset){a[o][1].type="strikethroughSequence",a[s][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},a[s][1].start),end:Object.assign({},a[o][1].end)},f={type:"strikethroughText",start:Object.assign({},a[s][1].end),end:Object.assign({},a[o][1].start)},m=[["enter",c,u],["enter",a[s][1],u],["exit",a[s][1],u],["enter",f,u]],p=u.parser.constructs.insideSpan.null;if(p)jt(m,m.length,0,Nl(p,a.slice(s+1,o),u));jt(m,m.length,0,[["exit",f,u],["enter",a[o][1],u],["exit",a[o][1],u],["exit",c,u]]),jt(a,s-1,o-s+3,m),o=s+m.length-2;break}}o=-1;while(++o<a.length)if(a[o][1].type==="strikethroughSequenceTemporary")a[o][1].type="data";return a}function r(a,u,o){let s=this.previous,c=this.events,f=0;return m;function m(g){if(s===126&&c[c.length-1][1].type!=="characterEscape")return o(g);return a.enter("strikethroughSequenceTemporary"),p(g)}function p(g){let S=Or(s);if(g===126){if(f>1)return o(g);return a.consume(g),f++,p}if(f<2&&!n)return o(g);let A=a.exit("strikethroughSequenceTemporary"),h=Or(g);return A._open=!h||h===2&&Boolean(S),A._close=!S||S===2&&Boolean(h),u(g)}}}class jh{constructor(){this.map=[],this.index=new Map}add(t,e,n){dz(this,t,e,n)}consume(t){if(this.map.sort(function(i,r){return i[0]-r[0]}),this.map.length===0)return;let e=this.map.length,n=[];while(e>0)e-=1,n.push(t.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),t.length=this.map[e][0];n.push(t.slice()),t.length=0;let l=n.pop();while(l){for(let i of l)t.push(i);l=n.pop()}this.map.length=0,this.index.clear()}}function dz(t,e,n,l){if(n===0&&l.length===0)return;let i=t.index.get(e);if(i){i[1]+=n,i[2].push(...l);return}let r=[e,n,l];t.map.push(r),t.index.set(e,r)}function Zx(t,e){let n=!1,l=[];while(e<t.length){let i=t[e];if(n){if(i[0]==="enter"){if(i[1].type==="tableContent")l.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none")}else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let r=l.length-1;l[r]=l[r]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else if(i[0]==="enter"&&i[1].type==="tableDelimiterRow")n=!0;e+=1}return l}function Yh(){return{flow:{null:{name:"table",tokenize:gz,resolveAll:yz}}}}function gz(t,e,n){let l=this,i=0,r=0,a;return u;function u(T){let nt=l.events.length-1;while(nt>-1){let{type:I}=l.events[nt][1];if(I==="lineEnding"||I==="linePrefix")nt--;else break}let tt=nt>-1?l.events[nt][1].type:null,U=tt==="tableHead"||tt==="tableRow"?w:o;if(U===w&&l.parser.lazy[l.now().line])return n(T);return U(T)}function o(T){return t.enter("tableHead"),t.enter("tableRow"),s(T)}function s(T){if(T===124)return c(T);return a=!0,r+=1,c(T)}function c(T){if(T===null)return n(T);if(L(T)){if(r>1)return r=0,l.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(T),t.exit("lineEnding"),p;return n(T)}if(B(T))return q(t,c,"whitespace")(T);if(r+=1,a)a=!1,i+=1;if(T===124)return t.enter("tableCellDivider"),t.consume(T),t.exit("tableCellDivider"),a=!0,c;return t.enter("data"),f(T)}function f(T){if(T===null||T===124||Z(T))return t.exit("data"),c(T);return t.consume(T),T===92?m:f}function m(T){if(T===92||T===124)return t.consume(T),f;return f(T)}function p(T){if(l.interrupt=!1,l.parser.lazy[l.now().line])return n(T);if(t.enter("tableDelimiterRow"),a=!1,B(T))return q(t,g,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T);return g(T)}function g(T){if(T===45||T===58)return A(T);if(T===124)return a=!0,t.enter("tableCellDivider"),t.consume(T),t.exit("tableCellDivider"),S;return C(T)}function S(T){if(B(T))return q(t,A,"whitespace")(T);return A(T)}function A(T){if(T===58)return r+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(T),t.exit("tableDelimiterMarker"),h;if(T===45)return r+=1,h(T);if(T===null||L(T))return E(T);return C(T)}function h(T){if(T===45)return t.enter("tableDelimiterFiller"),d(T);return C(T)}function d(T){if(T===45)return t.consume(T),d;if(T===58)return a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(T),t.exit("tableDelimiterMarker"),y;return t.exit("tableDelimiterFiller"),y(T)}function y(T){if(B(T))return q(t,E,"whitespace")(T);return E(T)}function E(T){if(T===124)return g(T);if(T===null||L(T)){if(!a||i!==r)return C(T);return t.exit("tableDelimiterRow"),t.exit("tableHead"),e(T)}return C(T)}function C(T){return n(T)}function w(T){return t.enter("tableRow"),_(T)}function _(T){if(T===124)return t.enter("tableCellDivider"),t.consume(T),t.exit("tableCellDivider"),_;if(T===null||L(T))return t.exit("tableRow"),e(T);if(B(T))return q(t,_,"whitespace")(T);return t.enter("data"),M(T)}function M(T){if(T===null||T===124||Z(T))return t.exit("data"),_(T);return t.consume(T),T===92?H:M}function H(T){if(T===92||T===124)return t.consume(T),M;return M(T)}}function yz(t,e){let n=-1,l=!0,i=0,r=[0,0,0,0],a=[0,0,0,0],u=!1,o=0,s,c,f,m=new jh;while(++n<t.length){let p=t[n],g=p[1];if(p[0]==="enter"){if(g.type==="tableHead"){if(u=!1,o!==0)Ix(m,e,o,s,c),c=void 0,o=0;s={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",s,e]])}else if(g.type==="tableRow"||g.type==="tableDelimiterRow"){if(l=!0,f=void 0,r=[0,0,0,0],a=[0,n+1,0,0],u)u=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,e]]);i=g.type==="tableDelimiterRow"?2:c?3:1}else if(i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")){if(l=!1,a[2]===0){if(r[1]!==0)a[0]=a[1],f=$c(m,e,r,i,void 0,f),r=[0,0,0,0];a[2]=n}}else if(g.type==="tableCellDivider")if(l)l=!1;else{if(r[1]!==0)a[0]=a[1],f=$c(m,e,r,i,void 0,f);r=a,a=[r[1],n,0,0]}}else if(g.type==="tableHead")u=!0,o=n;else if(g.type==="tableRow"||g.type==="tableDelimiterRow"){if(o=n,r[1]!==0)a[0]=a[1],f=$c(m,e,r,i,n,f);else if(a[1]!==0)f=$c(m,e,a,i,n,f);i=0}else if(i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller"))a[3]=n}if(o!==0)Ix(m,e,o,s,c);m.consume(e.events),n=-1;while(++n<e.events.length){let p=e.events[n];if(p[0]==="enter"&&p[1].type==="table")p[1]._align=Zx(e.events,n)}return t}function $c(t,e,n,l,i,r){let a=l===1?"tableHeader":l===2?"tableDelimiter":"tableData",u="tableContent";if(n[0]!==0)r.end=Object.assign({},Hr(e.events,n[0])),t.add(n[0],0,[["exit",r,e]]);let o=Hr(e.events,n[1]);if(r={type:a,start:Object.assign({},o),end:Object.assign({},o)},t.add(n[1],0,[["enter",r,e]]),n[2]!==0){let s=Hr(e.events,n[2]),c=Hr(e.events,n[3]),f={type:"tableContent",start:Object.assign({},s),end:Object.assign({},c)};if(t.add(n[2],0,[["enter",f,e]]),l!==2){let m=e.events[n[2]],p=e.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){let g=n[2]+1,S=n[3]-n[2]-1;t.add(g,S,[])}}t.add(n[3]+1,0,[["exit",f,e]])}if(i!==void 0)r.end=Object.assign({},Hr(e.events,i)),t.add(i,0,[["exit",r,e]]),r=void 0;return r}function Ix(t,e,n,l,i){let r=[],a=Hr(e.events,n);if(i)i.end=Object.assign({},a),r.push(["exit",i,e]);l.end=Object.assign({},a),r.push(["exit",l,e]),t.add(n+1,0,r)}function Hr(t,e){let n=t[e],l=n[0]==="enter"?"start":"end";return n[1][l]}var vz={name:"tasklistCheck",tokenize:bz};function Gh(){return{text:{[91]:vz}}}function bz(t,e,n){let l=this;return i;function i(o){if(l.previous!==null||!l._gfmTasklistFirstContentOfListItem)return n(o);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),r}function r(o){if(Z(o))return t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),a;if(o===88||o===120)return t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),a;return n(o)}function a(o){if(o===93)return t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),u;return n(o)}function u(o){if(L(o))return e(o);if(B(o))return t.check({tokenize:xz},e,n)(o);return n(o)}}function xz(t,e,n){return q(t,l,"whitespace");function l(i){return i===null?n(i):e(i)}}function Kx(t){return kc([Bh(),qh(),Vh(t),Yh(),Gh()])}var Sz={};function ts(t){let e=this,n=t||Sz,l=e.data(),i=l.micromarkExtensions||(l.micromarkExtensions=[]),r=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),a=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);i.push(Kx(n)),r.push(Rh()),a.push(Lh(n))}function Fx({source:t}){return b(ah,{remarkPlugins:[ts],components:{a:({href:e,children:n})=>e&&/^https?:\/\//.test(e)?b("a",{href:e,target:"_blank",rel:"noreferrer",children:n}):b("span",{children:n}),img:({alt:e})=>b("span",{children:e})},children:t})}function Jx(){let{data:t,error:e}=Ge(()=>wt.skills(),"skills");return O("section",{className:"stack",children:[b("h2",{children:k("Skills")}),b("p",{className:"hint",children:k("Registered skills and their carriers; ask an agent on Discord to edit their contents.")}),e?b(kt,{message:e}):null,!t&&!e?b(ue,{}):null,t?.length===0?b(te,{children:k("No skills.")}):null,t?.map((n)=>b(Ez,{skill:n},n.name))]})}function Ez({skill:t}){let[e,n]=J(!1),[l,i]=J(),[r,a]=J(),u=t.source.kind==="builtin"?k("Built-in"):t.source.kind==="written"?k("Assistant-written"):`${t.source.repo}:${t.source.path}`;return O("article",{className:"card",children:[O("div",{className:"card-head",children:[b("strong",{children:t.name}),b(xt,{children:u}),t.missing?b(xt,{tone:"warn",children:k("File missing")}):b("button",{type:"button",className:"secondary",onClick:()=>{if(n(!0),!l)a(void 0),wt.skill(t.name).then(i).catch((o)=>a(Ye(o)))},children:"SKILL.md"})]}),b("p",{children:t.missing??t.description}),O("p",{className:"hint",children:[k("Carriers"),":"," ",t.source.kind==="builtin"?k("All agents"):t.carriers.join(", ")||k("None")]}),t.groups.length?O("p",{className:"hint",children:[k("Groups"),": ",t.groups.join(", ")]}):null,b(hi,{open:e,title:t.name,onClose:()=>n(!1),children:r?b(kt,{message:r}):!l?b(ue,{}):O("div",{className:"skill-document",children:[b("dl",{className:"facts",children:l.metadata.map((o)=>O(is,{children:[b("dt",{children:o.key}),b("dd",{className:"text",children:o.value})]},o.key))}),b(Fx,{source:l.body})]})})]})}function Px({conversationKey:t}){let[e,n]=J(),l=Ll(!1),{data:i,error:r}=Ge(()=>wt.transcript(t,e),`${t}|${e??""}`);Pt(()=>{if(i&&!l.current)l.current=!0,window.scrollTo(0,document.body.scrollHeight)},[i]);let a=O("a",{className:"back",href:Xn("conversations"),children:["← ",k("Conversations")]});if(!i)return O(Oe,{children:[a,r?b(kt,{message:r}):b(ue,{})]});let{conversation:u}=i,o=u.kind==="outside"?k("Outside agent · {id}",{id:u.id.slice(0,8)}):dc(u);return O(Oe,{children:[a,O("section",{className:"stack",children:[O("div",{className:"card-head",children:[b("h2",{children:o}),u.busy>0?b(xt,{tone:"busy",children:k("running")}):null]}),i.archives.length>0?O("label",{className:"inline",children:[k("Showing")," ",O("select",{value:e??"",onChange:(s)=>{l.current=!1,n(s.target.value||void 0)},children:[b("option",{value:"",children:k("Current conversation")}),i.archives.map((s)=>b("option",{value:s,children:k("Archived {name}",{name:s})},s))]})]}):null,r?b(kt,{message:r}):null,i.truncated?b("p",{className:"hint",children:k("This conversation is longer than the console reads; the oldest entries are not shown.")}):null,i.entries.length===0?b(te,{children:k("Nothing to show.")}):null,b("ol",{className:"transcript",children:i.entries.map((s,c)=>b(Tz,{entry:s},c))})]})]})}function Tz({entry:t}){let{timeZone:e}=oe(),n=t.at?kl(t.at,e):"";if(t.role==="tool")return b("li",{className:"entry entry-tool",children:O("details",{children:[O("summary",{children:[t.failed?k("Tool failed"):k("Tool result"),t.tool?` · ${t.tool}`:""]}),b("pre",{children:t.text||k("(empty)")})]})});return O("li",{className:`entry entry-${t.role}`,children:[O("div",{className:"entry-head",children:[b("span",{className:"role",children:k(kz[t.role])}),b("span",{className:"meta",children:n})]}),t.text?b("p",{className:"text",children:t.text}):null,t.calls?.map((l,i)=>O("code",{className:"call",children:[l.name," ",l.preview]},i))]})}var kz={user:"User",assistant:"Assistant",tool:"Tool",compaction:"Summary of earlier conversation"};var wz={overview:"Overview",conversations:"Conversations",notes:"Notes",skills:"Skills",connectors:"Connectors"};function Wx(){let[t,e]=J(),[n,l]=J();if(Pt(()=>{wt.config().then((i)=>{F1(i),ev(i.mountPath),document.documentElement.lang=i.locale??"en",e(i),document.title=i.title}).catch((i)=>l(Ye(i)))},[]),!t)return b("div",{className:"shell",children:n?b(kt,{message:n}):b(ue,{})});return b(cp.Provider,{value:t,children:b(Cz,{config:t})})}function Cz({config:t}){let e=$1(),n=nv(),l=t.panes[0]??"conversations",i=t.panes.find((r)=>r===n.pane)??l;return b(sp.Provider,{value:e,children:O("div",{className:"shell",children:[O("header",{className:"bar",children:[O("div",{className:"bar-start",children:[b("h1",{children:t.title}),b("nav",{"aria-label":k("Panes"),children:t.panes.map((r)=>b("a",{href:Xn(r),"aria-current":r===i?"page":void 0,children:k(wz[r])},r))})]}),b("span",{className:e.connected?"live live-on":"live",title:e.connected?k("Receiving live updates"):k("Reconnecting"),children:e.connected?k("Live"):k("Reconnecting…")})]}),O("main",{children:[i==="overview"&&b(ov,{}),i==="conversations"&&(n.key?b(Px,{conversationKey:n.key},n.key):b(rv,{})),i==="notes"&&b(av,{}),i==="skills"&&b(Jx,{}),i==="connectors"&&b(lv,{})]})]})})}var $x=document.getElementById("root");if(!$x)throw Error("the page has no #root");up($x).render(b(rs,{children:b(Wx,{})}));
36
+ `))}function o(p,g,S,A){let h=S.enter("tableCell"),d=S.enter("phrasing"),y=S.containerPhrasing(p,{...A,before:r,after:r});return d(),h(),y}function s(p,g){return mx(p,{align:g,alignDelimiters:l,padding:n,stringLength:i})}function c(p,g,S){let A=p.children,h=-1,d=[],y=g.enter("table");while(++h<A.length)d[h]=f(A[h],g,S);return y(),d}function f(p,g,S){let A=p.children,h=-1,d=[],y=g.enter("tableRow");while(++h<A.length)d[h]=o(A[h],p,g,S);return y(),d}function m(p,g,S){let A=yu.inlineCode(p,g,S);if(S.stack.includes("tableCell"))A=A.replace(/\|/g,"\\$&");return A}}function Dh(){return{exit:{taskListCheckValueChecked:Bx,taskListCheckValueUnchecked:Bx,paragraph:FA}}}function Mh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:JA}}}function Bx(t){let e=this.stack[this.stack.length-2];yt(e.type==="listItem"),e.checked=t.type==="taskListCheckValueChecked"}function FA(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked==="boolean"){let n=this.stack[this.stack.length-1];yt(n.type==="paragraph");let l=n.children[0];if(l&&l.type==="text"){let i=e.children,r=-1,a;while(++r<i.length){let u=i[r];if(u.type==="paragraph"){a=u;break}}if(a===n){if(l.value=l.value.slice(1),l.value.length===0)n.children.shift();else if(n.position&&l.position&&typeof l.position.start.offset==="number")l.position.start.column++,l.position.start.offset++,n.position.start=Object.assign({},l.position.start)}}}this.exit(t)}function JA(t,e,n,l){let i=t.children[0],r=typeof t.checked==="boolean"&&i&&i.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",u=n.createTracker(l);if(r)u.move(a);let o=yu.listItem(t,e,n,{...l,...u.current()});if(r)o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s);return o;function s(c){return c+a}}function Rh(){return[ph(),dh(),yh(),Oh(),Dh()]}function Lh(t){return{extensions:[hh(),gh(t),vh(),_h(t),Mh()]}}var PA={tokenize:nz,partial:!0},Hx={tokenize:lz,partial:!0},qx={tokenize:iz,partial:!0},Vx={tokenize:rz,partial:!0},WA={tokenize:az,partial:!0},jx={name:"wwwAutolink",tokenize:tz,previous:Gx},Yx={name:"protocolAutolink",tokenize:ez,previous:Xx},Zn={name:"emailAutolink",tokenize:$A,previous:Qx},En={};function Bh(){return{text:En}}var Ai=48;while(Ai<123)if(En[Ai]=Zn,Ai++,Ai===58)Ai=65;else if(Ai===91)Ai=97;En[43]=Zn;En[45]=Zn;En[46]=Zn;En[95]=Zn;En[72]=[Zn,Yx];En[104]=[Zn,Yx];En[87]=[Zn,jx];En[119]=[Zn,jx];function $A(t,e,n){let l=this,i,r;return a;function a(f){if(!Uh(f)||!Qx.call(l,l.previous)||Hh(l.events))return n(f);return t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),u(f)}function u(f){if(Uh(f))return t.consume(f),u;if(f===64)return t.consume(f),o;return n(f)}function o(f){if(f===46)return t.check(WA,c,s)(f);if(f===45||f===95||At(f))return r=!0,t.consume(f),o;return c(f)}function s(f){return t.consume(f),i=!0,o}function c(f){if(r&&i&&Ut(l.previous))return t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(f);return n(f)}}function tz(t,e,n){let l=this;return i;function i(a){if(a!==87&&a!==119||!Gx.call(l,l.previous)||Hh(l.events))return n(a);return t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(PA,t.attempt(Hx,t.attempt(qx,r),n),n)(a)}function r(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function ez(t,e,n){let l=this,i="",r=!1;return a;function a(f){if((f===72||f===104)&&Xx.call(l,l.previous)&&!Hh(l.events))return t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),t.consume(f),u;return n(f)}function u(f){if(Ut(f)&&i.length<5)return i+=String.fromCodePoint(f),t.consume(f),u;if(f===58){let m=i.toLowerCase();if(m==="http"||m==="https")return t.consume(f),o}return n(f)}function o(f){if(f===47){if(t.consume(f),r)return s;return r=!0,o}return n(f)}function s(f){return f===null||vi(f)||Z(f)||xn(f)||bi(f)?n(f):t.attempt(Hx,t.attempt(qx,c),n)(f)}function c(f){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(f)}}function nz(t,e,n){let l=0;return i;function i(a){if((a===87||a===119)&&l<3)return l++,t.consume(a),i;if(a===46&&l===3)return t.consume(a),r;return n(a)}function r(a){return a===null?n(a):e(a)}}function lz(t,e,n){let l,i,r;return a;function a(s){if(s===46||s===95)return t.check(Vx,o,u)(s);if(s===null||Z(s)||xn(s)||s!==45&&bi(s))return o(s);return r=!0,t.consume(s),a}function u(s){if(s===95)l=!0;else i=l,l=void 0;return t.consume(s),a}function o(s){if(i||l||!r)return n(s);return e(s)}}function iz(t,e){let n=0,l=0;return i;function i(a){if(a===40)return n++,t.consume(a),i;if(a===41&&l<n)return r(a);if(a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126)return t.check(Vx,e,r)(a);if(a===null||Z(a)||xn(a))return e(a);return t.consume(a),i}function r(a){if(a===41)l++;return t.consume(a),i}}function rz(t,e,n){return l;function l(u){if(u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126)return t.consume(u),l;if(u===38)return t.consume(u),r;if(u===93)return t.consume(u),i;if(u===60||u===null||Z(u)||xn(u))return e(u);return n(u)}function i(u){if(u===null||u===40||u===91||Z(u)||xn(u))return e(u);return l(u)}function r(u){return Ut(u)?a(u):n(u)}function a(u){if(u===59)return t.consume(u),l;if(Ut(u))return t.consume(u),a;return n(u)}}function az(t,e,n){return l;function l(r){return t.consume(r),i}function i(r){return At(r)?n(r):e(r)}}function Gx(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Z(t)}function Xx(t){return!Ut(t)}function Qx(t){return!(t===47||Uh(t))}function Uh(t){return t===43||t===45||t===46||t===95||At(t)}function Hh(t){let e=t.length,n=!1;while(e--){let l=t[e][1];if((l.type==="labelLink"||l.type==="labelImage")&&!l._balanced){n=!0;break}if(l._gfmAutolinkLiteralWalkedInto){n=!1;break}}if(t.length>0&&!n)t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0;return n}var uz={tokenize:hz,partial:!0};function qh(){return{document:{[91]:{name:"gfmFootnoteDefinition",tokenize:fz,continuation:{tokenize:mz},exit:pz}},text:{[91]:{name:"gfmFootnoteCall",tokenize:sz},[93]:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:oz,resolveTo:cz}}}}function oz(t,e,n){let l=this,i=l.events.length,r=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),a;while(i--){let o=l.events[i][1];if(o.type==="labelImage"){a=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!a||!a._balanced)return n(o);let s=ee(l.sliceSerialize({start:a.end,end:l.now()}));if(s.codePointAt(0)!==94||!r.includes(s.slice(1)))return n(o);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),e(o)}}function cz(t,e){let n=t.length,l;while(n--)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){l=t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},t[t.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[t[n+1],t[n+2],["enter",i,e],t[n+3],t[n+4],["enter",r,e],["exit",r,e],["enter",a,e],["enter",u,e],["exit",u,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(n,t.length-n+1,...o),t}function sz(t,e,n){let l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),r=0,a;return u;function u(f){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),o}function o(f){if(f!==94)return n(f);return t.enter("gfmFootnoteCallMarker"),t.consume(f),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",s}function s(f){if(r>999||f===93&&!a||f===null||f===91||Z(f))return n(f);if(f===93){t.exit("chunkString");let m=t.exit("gfmFootnoteCallString");if(!i.includes(ee(l.sliceSerialize(m))))return n(f);return t.enter("gfmFootnoteCallLabelMarker"),t.consume(f),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e}if(!Z(f))a=!0;return r++,t.consume(f),f===92?c:s}function c(f){if(f===91||f===92||f===93)return t.consume(f),r++,s;return s(f)}}function fz(t,e,n){let l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),r,a=0,u;return o;function o(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(g){if(g===94)return t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",c;return n(g)}function c(g){if(a>999||g===93&&!u||g===null||g===91||Z(g))return n(g);if(g===93){t.exit("chunkString");let S=t.exit("gfmFootnoteDefinitionLabelString");return r=ee(l.sliceSerialize(S)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),m}if(!Z(g))u=!0;return a++,t.consume(g),g===92?f:c}function f(g){if(g===91||g===92||g===93)return t.consume(g),a++,c;return c(g)}function m(g){if(g===58){if(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),!i.includes(r))i.push(r);return q(t,p,"gfmFootnoteDefinitionWhitespace")}return n(g)}function p(g){return e(g)}}function mz(t,e,n){return t.check(Sn,e,t.attempt(uz,e,n))}function pz(t){t.exit("gfmFootnoteDefinition")}function hz(t,e,n){let l=this;return q(t,i,"gfmFootnoteDefinitionIndent",5);function i(r){let a=l.events[l.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(r):n(r)}}function Vh(t){let n=(t||{}).singleTilde,l={name:"strikethrough",tokenize:r,resolveAll:i};if(n===null||n===void 0)n=!0;return{text:{[126]:l},insideSpan:{null:[l]},attentionMarkers:{null:[126]}};function i(a,u){let o=-1;while(++o<a.length)if(a[o][0]==="enter"&&a[o][1].type==="strikethroughSequenceTemporary"&&a[o][1]._close){let s=o;while(s--)if(a[s][0]==="exit"&&a[s][1].type==="strikethroughSequenceTemporary"&&a[s][1]._open&&a[o][1].end.offset-a[o][1].start.offset===a[s][1].end.offset-a[s][1].start.offset){a[o][1].type="strikethroughSequence",a[s][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},a[s][1].start),end:Object.assign({},a[o][1].end)},f={type:"strikethroughText",start:Object.assign({},a[s][1].end),end:Object.assign({},a[o][1].start)},m=[["enter",c,u],["enter",a[s][1],u],["exit",a[s][1],u],["enter",f,u]],p=u.parser.constructs.insideSpan.null;if(p)jt(m,m.length,0,Nl(p,a.slice(s+1,o),u));jt(m,m.length,0,[["exit",f,u],["enter",a[o][1],u],["exit",a[o][1],u],["exit",c,u]]),jt(a,s-1,o-s+3,m),o=s+m.length-2;break}}o=-1;while(++o<a.length)if(a[o][1].type==="strikethroughSequenceTemporary")a[o][1].type="data";return a}function r(a,u,o){let s=this.previous,c=this.events,f=0;return m;function m(g){if(s===126&&c[c.length-1][1].type!=="characterEscape")return o(g);return a.enter("strikethroughSequenceTemporary"),p(g)}function p(g){let S=Or(s);if(g===126){if(f>1)return o(g);return a.consume(g),f++,p}if(f<2&&!n)return o(g);let A=a.exit("strikethroughSequenceTemporary"),h=Or(g);return A._open=!h||h===2&&Boolean(S),A._close=!S||S===2&&Boolean(h),u(g)}}}class jh{constructor(){this.map=[],this.index=new Map}add(t,e,n){dz(this,t,e,n)}consume(t){if(this.map.sort(function(i,r){return i[0]-r[0]}),this.map.length===0)return;let e=this.map.length,n=[];while(e>0)e-=1,n.push(t.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),t.length=this.map[e][0];n.push(t.slice()),t.length=0;let l=n.pop();while(l){for(let i of l)t.push(i);l=n.pop()}this.map.length=0,this.index.clear()}}function dz(t,e,n,l){if(n===0&&l.length===0)return;let i=t.index.get(e);if(i){i[1]+=n,i[2].push(...l);return}let r=[e,n,l];t.map.push(r),t.index.set(e,r)}function Zx(t,e){let n=!1,l=[];while(e<t.length){let i=t[e];if(n){if(i[0]==="enter"){if(i[1].type==="tableContent")l.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none")}else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let r=l.length-1;l[r]=l[r]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else if(i[0]==="enter"&&i[1].type==="tableDelimiterRow")n=!0;e+=1}return l}function Yh(){return{flow:{null:{name:"table",tokenize:gz,resolveAll:yz}}}}function gz(t,e,n){let l=this,i=0,r=0,a;return u;function u(T){let nt=l.events.length-1;while(nt>-1){let{type:I}=l.events[nt][1];if(I==="lineEnding"||I==="linePrefix")nt--;else break}let tt=nt>-1?l.events[nt][1].type:null,U=tt==="tableHead"||tt==="tableRow"?w:o;if(U===w&&l.parser.lazy[l.now().line])return n(T);return U(T)}function o(T){return t.enter("tableHead"),t.enter("tableRow"),s(T)}function s(T){if(T===124)return c(T);return a=!0,r+=1,c(T)}function c(T){if(T===null)return n(T);if(L(T)){if(r>1)return r=0,l.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(T),t.exit("lineEnding"),p;return n(T)}if(B(T))return q(t,c,"whitespace")(T);if(r+=1,a)a=!1,i+=1;if(T===124)return t.enter("tableCellDivider"),t.consume(T),t.exit("tableCellDivider"),a=!0,c;return t.enter("data"),f(T)}function f(T){if(T===null||T===124||Z(T))return t.exit("data"),c(T);return t.consume(T),T===92?m:f}function m(T){if(T===92||T===124)return t.consume(T),f;return f(T)}function p(T){if(l.interrupt=!1,l.parser.lazy[l.now().line])return n(T);if(t.enter("tableDelimiterRow"),a=!1,B(T))return q(t,g,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T);return g(T)}function g(T){if(T===45||T===58)return A(T);if(T===124)return a=!0,t.enter("tableCellDivider"),t.consume(T),t.exit("tableCellDivider"),S;return C(T)}function S(T){if(B(T))return q(t,A,"whitespace")(T);return A(T)}function A(T){if(T===58)return r+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(T),t.exit("tableDelimiterMarker"),h;if(T===45)return r+=1,h(T);if(T===null||L(T))return E(T);return C(T)}function h(T){if(T===45)return t.enter("tableDelimiterFiller"),d(T);return C(T)}function d(T){if(T===45)return t.consume(T),d;if(T===58)return a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(T),t.exit("tableDelimiterMarker"),y;return t.exit("tableDelimiterFiller"),y(T)}function y(T){if(B(T))return q(t,E,"whitespace")(T);return E(T)}function E(T){if(T===124)return g(T);if(T===null||L(T)){if(!a||i!==r)return C(T);return t.exit("tableDelimiterRow"),t.exit("tableHead"),e(T)}return C(T)}function C(T){return n(T)}function w(T){return t.enter("tableRow"),_(T)}function _(T){if(T===124)return t.enter("tableCellDivider"),t.consume(T),t.exit("tableCellDivider"),_;if(T===null||L(T))return t.exit("tableRow"),e(T);if(B(T))return q(t,_,"whitespace")(T);return t.enter("data"),M(T)}function M(T){if(T===null||T===124||Z(T))return t.exit("data"),_(T);return t.consume(T),T===92?H:M}function H(T){if(T===92||T===124)return t.consume(T),M;return M(T)}}function yz(t,e){let n=-1,l=!0,i=0,r=[0,0,0,0],a=[0,0,0,0],u=!1,o=0,s,c,f,m=new jh;while(++n<t.length){let p=t[n],g=p[1];if(p[0]==="enter"){if(g.type==="tableHead"){if(u=!1,o!==0)Ix(m,e,o,s,c),c=void 0,o=0;s={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",s,e]])}else if(g.type==="tableRow"||g.type==="tableDelimiterRow"){if(l=!0,f=void 0,r=[0,0,0,0],a=[0,n+1,0,0],u)u=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,e]]);i=g.type==="tableDelimiterRow"?2:c?3:1}else if(i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")){if(l=!1,a[2]===0){if(r[1]!==0)a[0]=a[1],f=$c(m,e,r,i,void 0,f),r=[0,0,0,0];a[2]=n}}else if(g.type==="tableCellDivider")if(l)l=!1;else{if(r[1]!==0)a[0]=a[1],f=$c(m,e,r,i,void 0,f);r=a,a=[r[1],n,0,0]}}else if(g.type==="tableHead")u=!0,o=n;else if(g.type==="tableRow"||g.type==="tableDelimiterRow"){if(o=n,r[1]!==0)a[0]=a[1],f=$c(m,e,r,i,n,f);else if(a[1]!==0)f=$c(m,e,a,i,n,f);i=0}else if(i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller"))a[3]=n}if(o!==0)Ix(m,e,o,s,c);m.consume(e.events),n=-1;while(++n<e.events.length){let p=e.events[n];if(p[0]==="enter"&&p[1].type==="table")p[1]._align=Zx(e.events,n)}return t}function $c(t,e,n,l,i,r){let a=l===1?"tableHeader":l===2?"tableDelimiter":"tableData",u="tableContent";if(n[0]!==0)r.end=Object.assign({},Hr(e.events,n[0])),t.add(n[0],0,[["exit",r,e]]);let o=Hr(e.events,n[1]);if(r={type:a,start:Object.assign({},o),end:Object.assign({},o)},t.add(n[1],0,[["enter",r,e]]),n[2]!==0){let s=Hr(e.events,n[2]),c=Hr(e.events,n[3]),f={type:"tableContent",start:Object.assign({},s),end:Object.assign({},c)};if(t.add(n[2],0,[["enter",f,e]]),l!==2){let m=e.events[n[2]],p=e.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){let g=n[2]+1,S=n[3]-n[2]-1;t.add(g,S,[])}}t.add(n[3]+1,0,[["exit",f,e]])}if(i!==void 0)r.end=Object.assign({},Hr(e.events,i)),t.add(i,0,[["exit",r,e]]),r=void 0;return r}function Ix(t,e,n,l,i){let r=[],a=Hr(e.events,n);if(i)i.end=Object.assign({},a),r.push(["exit",i,e]);l.end=Object.assign({},a),r.push(["exit",l,e]),t.add(n+1,0,r)}function Hr(t,e){let n=t[e],l=n[0]==="enter"?"start":"end";return n[1][l]}var vz={name:"tasklistCheck",tokenize:bz};function Gh(){return{text:{[91]:vz}}}function bz(t,e,n){let l=this;return i;function i(o){if(l.previous!==null||!l._gfmTasklistFirstContentOfListItem)return n(o);return t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),r}function r(o){if(Z(o))return t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),a;if(o===88||o===120)return t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),a;return n(o)}function a(o){if(o===93)return t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),u;return n(o)}function u(o){if(L(o))return e(o);if(B(o))return t.check({tokenize:xz},e,n)(o);return n(o)}}function xz(t,e,n){return q(t,l,"whitespace");function l(i){return i===null?n(i):e(i)}}function Kx(t){return kc([Bh(),qh(),Vh(t),Yh(),Gh()])}var Sz={};function ts(t){let e=this,n=t||Sz,l=e.data(),i=l.micromarkExtensions||(l.micromarkExtensions=[]),r=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),a=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);i.push(Kx(n)),r.push(Rh()),a.push(Lh(n))}function Fx({source:t}){return b(ah,{remarkPlugins:[ts],components:{a:({href:e,children:n})=>e&&/^https?:\/\//.test(e)?b("a",{href:e,target:"_blank",rel:"noreferrer",children:n}):b("span",{children:n}),img:({alt:e})=>b("span",{children:e})},children:t})}function Jx(){let{data:t,error:e}=Ge(()=>wt.skills(),"skills");return O("section",{className:"stack",children:[b("h2",{children:k("Skills")}),b("p",{className:"hint",children:k("Registered skills and their carriers; ask an agent on Discord to edit their contents.")}),e?b(kt,{message:e}):null,!t&&!e?b(ue,{}):null,t?.length===0?b(te,{children:k("No skills.")}):null,t?.map((n)=>b(Ez,{skill:n},n.name))]})}function Ez({skill:t}){let[e,n]=J(!1),[l,i]=J(),[r,a]=J(),u=t.source.kind==="builtin"?k("Built-in"):t.source.kind==="written"?k("Assistant-written"):t.source.kind==="package"?t.source.package:`${t.source.repo}:${t.source.path}`;return O("article",{className:"card",children:[O("div",{className:"card-head",children:[b("strong",{children:t.name}),b(xt,{children:u}),t.missing?b(xt,{tone:"warn",children:k("File missing")}):b("button",{type:"button",className:"secondary",onClick:()=>{if(n(!0),!l)a(void 0),wt.skill(t.name).then(i).catch((o)=>a(Ye(o)))},children:"SKILL.md"})]}),b("p",{children:t.missing??t.description}),O("p",{className:"hint",children:[k("Carriers"),":"," ",t.source.kind==="builtin"?k("All agents"):t.carriers.join(", ")||k("None")]}),t.groups.length?O("p",{className:"hint",children:[k("Groups"),": ",t.groups.join(", ")]}):null,b(hi,{open:e,title:t.name,onClose:()=>n(!1),children:r?b(kt,{message:r}):!l?b(ue,{}):O("div",{className:"skill-document",children:[b("dl",{className:"facts",children:l.metadata.map((o)=>O(is,{children:[b("dt",{children:o.key}),b("dd",{className:"text",children:o.value})]},o.key))}),b(Fx,{source:l.body})]})})]})}function Px({conversationKey:t}){let[e,n]=J(),l=Ll(!1),{data:i,error:r}=Ge(()=>wt.transcript(t,e),`${t}|${e??""}`);Pt(()=>{if(i&&!l.current)l.current=!0,window.scrollTo(0,document.body.scrollHeight)},[i]);let a=O("a",{className:"back",href:Xn("conversations"),children:["← ",k("Conversations")]});if(!i)return O(Oe,{children:[a,r?b(kt,{message:r}):b(ue,{})]});let{conversation:u}=i,o=u.kind==="outside"?k("Outside agent · {id}",{id:u.id.slice(0,8)}):dc(u);return O(Oe,{children:[a,O("section",{className:"stack",children:[O("div",{className:"card-head",children:[b("h2",{children:o}),u.busy>0?b(xt,{tone:"busy",children:k("running")}):null]}),i.archives.length>0?O("label",{className:"inline",children:[k("Showing")," ",O("select",{value:e??"",onChange:(s)=>{l.current=!1,n(s.target.value||void 0)},children:[b("option",{value:"",children:k("Current conversation")}),i.archives.map((s)=>b("option",{value:s,children:k("Archived {name}",{name:s})},s))]})]}):null,r?b(kt,{message:r}):null,i.truncated?b("p",{className:"hint",children:k("This conversation is longer than the console reads; the oldest entries are not shown.")}):null,i.entries.length===0?b(te,{children:k("Nothing to show.")}):null,b("ol",{className:"transcript",children:i.entries.map((s,c)=>b(Tz,{entry:s},c))})]})]})}function Tz({entry:t}){let{timeZone:e}=oe(),n=t.at?kl(t.at,e):"";if(t.role==="tool")return b("li",{className:"entry entry-tool",children:O("details",{children:[O("summary",{children:[t.failed?k("Tool failed"):k("Tool result"),t.tool?` · ${t.tool}`:""]}),b("pre",{children:t.text||k("(empty)")})]})});return O("li",{className:`entry entry-${t.role}`,children:[O("div",{className:"entry-head",children:[b("span",{className:"role",children:k(kz[t.role])}),b("span",{className:"meta",children:n})]}),t.text?b("p",{className:"text",children:t.text}):null,t.calls?.map((l,i)=>O("code",{className:"call",children:[l.name," ",l.preview]},i))]})}var kz={user:"User",assistant:"Assistant",tool:"Tool",compaction:"Summary of earlier conversation"};var wz={overview:"Overview",conversations:"Conversations",notes:"Notes",skills:"Skills",connectors:"Connectors"};function Wx(){let[t,e]=J(),[n,l]=J();if(Pt(()=>{wt.config().then((i)=>{F1(i),ev(i.mountPath),document.documentElement.lang=i.locale??"en",e(i),document.title=i.title}).catch((i)=>l(Ye(i)))},[]),!t)return b("div",{className:"shell",children:n?b(kt,{message:n}):b(ue,{})});return b(cp.Provider,{value:t,children:b(Cz,{config:t})})}function Cz({config:t}){let e=$1(),n=nv(),l=t.panes[0]??"conversations",i=t.panes.find((r)=>r===n.pane)??l;return b(sp.Provider,{value:e,children:O("div",{className:"shell",children:[O("header",{className:"bar",children:[O("div",{className:"bar-start",children:[b("h1",{children:t.title}),b("nav",{"aria-label":k("Panes"),children:t.panes.map((r)=>b("a",{href:Xn(r),"aria-current":r===i?"page":void 0,children:k(wz[r])},r))})]}),b("span",{className:e.connected?"live live-on":"live",title:e.connected?k("Receiving live updates"):k("Reconnecting"),children:e.connected?k("Live"):k("Reconnecting…")})]}),O("main",{children:[i==="overview"&&b(ov,{}),i==="conversations"&&(n.key?b(Px,{conversationKey:n.key},n.key):b(rv,{})),i==="notes"&&b(av,{}),i==="skills"&&b(Jx,{}),i==="connectors"&&b(lv,{})]})]})})}var $x=document.getElementById("root");if(!$x)throw Error("the page has no #root");up($x).render(b(rs,{children:b(Wx,{})}));
package/dist/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>Console</title>
7
7
 
8
- <link rel="stylesheet" crossorigin href="./chunk-e8z9q554.css"><script type="module" crossorigin src="./chunk-0vqnvf92.js"></script></head>
8
+ <link rel="stylesheet" crossorigin href="./chunk-e8z9q554.css"><script type="module" crossorigin src="./chunk-54530a8n.js"></script></head>
9
9
  <body>
10
10
  <div id="root"></div>
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-roundtable-web",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "A web console for the owners of a pi-roundtable host: conversations, transcripts, and memory notes, with live updates",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,14 +40,14 @@
40
40
  "jose": "6.2.12"
41
41
  },
42
42
  "peerDependencies": {
43
- "pi-roundtable": ">=0.20.0 <0.21.0"
43
+ "pi-roundtable": ">=0.22.0 <0.23.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@biomejs/biome": "2.5.15",
47
47
  "@types/bun": "1.4.3",
48
48
  "@types/react": "19.3.0",
49
49
  "@types/react-dom": "19.3.0",
50
- "pi-roundtable": "0.20.0",
50
+ "pi-roundtable": "0.22.0",
51
51
  "react": "19.3.0",
52
52
  "react-dom": "19.3.0",
53
53
  "react-markdown": "10.1.0",
package/src/api-types.ts CHANGED
@@ -194,7 +194,8 @@ export interface SkillView {
194
194
  source:
195
195
  | { kind: "builtin" }
196
196
  | { kind: "linked"; repo: string; path: string }
197
- | { kind: "written" };
197
+ | { kind: "written" }
198
+ | { kind: "package"; package: string };
198
199
  description?: string;
199
200
  missing?: string;
200
201
  groups: string[];