@ai-matrx/coding-sessions 0.1.165 → 0.2.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.
@@ -65,7 +65,7 @@ Error generating stack: `+e.message+`
65
65
  dark:[&:-webkit-autofill]:shadow-[0_0_0_1000px_hsl(var(--card))_inset] dark:[&:-webkit-autofill]:[-webkit-text-fill-color:hsl(var(--foreground))]
66
66
  [&:-webkit-autofill:hover]:shadow-[0_0_0_1000px_hsl(var(--card))_inset] [&:-webkit-autofill:focus]:shadow-[0_0_0_1000px_hsl(var(--card))_inset]`;switch(e){case`destructive`:return`${t} bg-destructive text-destructive-foreground`;case`outline`:return`${t} border-2`;case`secondary`:return`${t} bg-secondary text-secondary-foreground`;case`ghost`:return`${t} bg-transparent shadow-none`;case`link`:return`${t} bg-transparent underline-offset-4 hover:underline`;case`primary`:return`${t} bg-primary text-primary-foreground`;default:return t}},gw=_.forwardRef(({className:e,type:t,variant:n=`default`,...r},i)=>(0,j.jsx)(`input`,{type:t,className:X(hw(n),e),ref:i,...r}));gw.displayName=`Input`;var _w=_.forwardRef(({onEnter:e,...t},n)=>{let r=t=>{t.key===`Enter`&&e&&(t.preventDefault(),e())};return(0,j.jsx)(gw,{...t,ref:n,onKeyDown:e=>{r(e),t.onKeyDown&&t.onKeyDown(e)}})});_w.displayName=`EnterInput`;var vw=_.forwardRef(({className:e,type:t,variant:n=`default`,...r},i)=>(0,j.jsx)(`input`,{type:t,className:X(`flex h-9 w-full rounded-md ${aS} px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,e),ref:i,...r}));vw.displayName=`BasicInput`;var yw=_.forwardRef(({prefix:e,className:t,wrapperClassName:n,...r},i)=>(0,j.jsxs)(`div`,{className:X(`relative`,n),children:[e&&(0,j.jsx)(`div`,{className:`absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground`,children:e}),(0,j.jsx)(gw,{ref:i,className:X(e&&`pl-10`,t),...r})]}));yw.displayName=`InputWithPrefix`;var bw=/(?:^|\s)(h-full|h-dvh|flex-1|grow)(?:\s|$)/,xw=/(?:^|\s)(w-full|w-screen)(?:\s|$)/;function Sw(e){if(!e)return;let t=[];return bw.test(e)&&t.push(`h-full min-h-0`),xw.test(e)&&t.push(`w-full`),t.length?t.join(` `):void 0}var Cw=`flex h-auto w-full rounded-md ${aS} px-3 py-2 text-sm text-foreground shadow-textarea transition duration-400 placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-[2px] focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`,ww=`flex w-full rounded-md ${aS} px-3 py-2 text-sm text-foreground shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50`;function Tw(e,t,n=!1,r,i){_.useEffect(()=>{if(!n||!e.current)return;let t=e.current;t.style.height=`auto`;let a=t.scrollHeight;r&&(a=Math.max(a,r)),i&&a>=i?(t.style.height=`${i}px`,t.style.overflowY=`auto`):(t.style.height=`${a}px`,t.style.overflowY=`hidden`)},[t,n,r,i,e])}function Ew(e){let t=_.useRef(null);return{ref:t,callback:_.useCallback(n=>{t.current=n,typeof e==`function`?e(n):e&&(e.current=n)},[e])}}function Dw(e,t){if(e!==void 0||t!==void 0)return{minHeight:e?`${e}px`:void 0,maxHeight:t?`${t}px`:void 0}}var Ow=_.forwardRef(({className:e,autoGrow:t,minHeight:n,maxHeight:r,wrapperClassName:i,...a},o)=>{let{ref:s,callback:c}=Ew(o),l=Sw(e),u=!!(i||l);Tw(s,a.value,t,n,r);let d=(0,j.jsx)(`textarea`,{ref:c,"data-slot":`textarea`,className:X(Cw,t&&`resize-none`,l,e),style:Dw(n,r),...a});return u?(0,j.jsx)(`div`,{className:X(l,i),children:d}):d});Ow.displayName=`Textarea`;var kw=_.forwardRef(({className:e,autoGrow:t,minHeight:n,maxHeight:r,...i},a)=>{let{ref:o,callback:s}=Ew(a);return Tw(o,i.value,t,n,r),(0,j.jsx)(`textarea`,{ref:s,"data-slot":`textarea`,className:X(ww,`h-auto min-h-[60px]`,t&&`resize-none`,e),style:Dw(n,r),...i})});kw.displayName=`BasicTextarea`;var Aw=_.forwardRef(({prefix:e,className:t,wrapperClassName:n,autoGrow:r,minHeight:i,maxHeight:a,...o},s)=>{let{ref:c,callback:l}=Ew(s);return Tw(c,o.value,r,i,a),(0,j.jsxs)(`div`,{className:X(`relative`,Sw(t),n),children:[e?(0,j.jsx)(`div`,{className:`pointer-events-none absolute left-3 top-3 z-10 text-muted-foreground`,children:e}):null,(0,j.jsx)(`textarea`,{ref:l,"data-slot":`textarea`,className:X(ww,`resize-y`,e&&`pl-10`,r&&`resize-none`,t),style:Dw(i,a),...o})]})});Aw.displayName=`TextareaWithPrefix`;var jw={"input-streaming":`Preparing`,"input-available":`Running`,"approval-requested":`Needs your approval`,"output-available":`Done`,"output-error":`Failed`,"output-denied":`Declined`};function Mw(e){if(e===void 0)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e,null,2)}catch{return String(e)}}function Nw(e){let{part:t,defaultExpanded:n,body:r}=e,[i,a]=(0,_.useState)(n),{toolLabel:o}=xi(),s=t.progress[t.progress.length-1],c=Mw(t.input),l=Mw(t.output),u=jw[t.state],d=s!==void 0&&s.message!==``&&s.message.trim().toLowerCase()!==u.toLowerCase()?s.message:null,f=c!==``||l!==``||t.errorText!==null||t.progress.length>0;return(0,j.jsxs)(`div`,{className:`mx-chat-tool`,"data-state":t.state,"data-tool":t.toolName,...e.rendererTag===void 0?{}:{"data-mx-chat-tool-renderer":e.rendererTag},children:[(0,j.jsxs)(`button`,{type:`button`,className:`mx-chat-tool__header mx-chat-focusable`,"aria-expanded":i,onClick:()=>a(e=>!e),children:[(0,j.jsx)(`span`,{"data-open":i,className:`mx-chat-chevron-wrap`,children:(0,j.jsx)(Ei,{})}),(0,j.jsx)(`span`,{className:`mx-chat-tool__name`,children:o(t.toolName)}),d===null?null:(0,j.jsx)(`span`,{className:`mx-chat-tool__beat`,children:d}),(0,j.jsx)(`span`,{className:`mx-chat-tool__state`,children:u})]}),i?r===void 0?(0,j.jsxs)(`div`,{className:`mx-chat-tool__body`,children:[c===``?null:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`span`,{className:`mx-chat-tool__label`,children:`What it was asked`}),(0,j.jsx)(`pre`,{className:`mx-chat-tool__payload`,children:c})]}),t.progress.length>0?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`span`,{className:`mx-chat-tool__label`,children:`Progress`}),(0,j.jsx)(`ul`,{className:`mx-chat-tool__progress`,children:t.progress.map((e,t)=>(0,j.jsxs)(`li`,{children:[(0,j.jsx)(`span`,{"data-tool-beat":e.toolName,children:e.toolName}),e.message===``?null:` — ${e.message}`,e.percent===null?null:` (${Math.round(e.percent)}%)`]},`${e.toolName}-${t}`))})]}):null,t.errorText===null?null:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`span`,{className:`mx-chat-tool__label`,children:`What went wrong`}),(0,j.jsx)(`p`,{className:`mx-chat-failure__sentence`,children:t.errorText})]}),l===``?null:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`span`,{className:`mx-chat-tool__label`,children:`What it returned`}),(0,j.jsx)(`pre`,{className:`mx-chat-tool__payload`,children:l})]}),f?null:(0,j.jsx)(`span`,{className:`mx-chat-standin`,children:t.state===`input-streaming`?`This tool has not said what it is doing yet.`:`This tool ran without reporting any details.`})]}):r:null]})}function Pw(e){return(0,j.jsx)(j.Fragment,{children:e.renderContent({kind:`markdown`,text:e.part.text,streaming:e.streaming,role:e.role,messageId:e.messageId})})}function Fw(e){let{part:t,defaultOpen:n}=e,[r,i]=(0,_.useState)(n),a=t.state===`streaming`;return(0,j.jsxs)(`div`,{className:`mx-chat-reasoning`,"data-streaming":a,children:[(0,j.jsxs)(`button`,{type:`button`,className:`mx-chat-quiet-button mx-chat-focusable`,"aria-expanded":r,onClick:()=>i(e=>!e),children:[(0,j.jsx)(`span`,{"data-open":r,className:`mx-chat-chevron-wrap`,children:(0,j.jsx)(Ei,{})}),a?`Thinking…`:`Thought process`]}),r?(0,j.jsx)(`div`,{className:`mx-chat-reasoning__body`,"data-mx-chat-reasoning":`body`,children:t.text}):null]})}function Iw(e){let{part:t}=e;return(0,j.jsxs)(`div`,{className:`mx-chat-notice`,"data-level":t.level,role:`note`,children:[(0,j.jsx)(`span`,{children:t.userMessage}),t.remedy===null?null:(0,j.jsx)(`span`,{className:`mx-chat-notice__remedy`,children:t.remedy})]})}function Lw(e){let{part:t,retryText:n,onRetry:r}=e;return(0,j.jsxs)(h_,{as:`div`,className:`mx-chat-failure`,"data-code":t.code??`unknown`,message:t.userMessage,error:t,operation:`Answer the last message`,unsavedInput:n===``?void 0:{message:n},origin:`chat/ChatFailurePart`,children:[(0,j.jsx)(`p`,{className:`mx-chat-failure__sentence`,children:t.userMessage}),t.remedy===null?null:(0,j.jsx)(`p`,{className:`mx-chat-failure__remedy`,children:t.remedy}),n===``?null:(0,j.jsx)(b_,{type:`button`,size:`sm`,variant:`outline`,className:`mx-chat-focusable`,onClick:()=>r(n),children:`Try again`})]})}function Rw(e){return(0,j.jsx)(Nw,{part:e.part,defaultExpanded:e.defaultExpanded})}function zw(e){let{part:t}=e;return(0,j.jsx)(`div`,{"data-mx-chat-block":t.kind,"data-status":t.status,children:e.renderContent({kind:t.kind,text:t.content??``,data:t.data,streaming:t.status===`streaming`,role:e.role,messageId:e.messageId})})}function Bw(e){let t=e.part.name??e.part.fileId;return(0,j.jsx)(`span`,{className:`mx-chat-standin`,"data-mx-chat-standin":`file`,children:`Attached file: ${t}. Previews appear once the attachments capability is turned on for this chat.`})}function Vw(e){let{part:t}=e,n=t.title??t.url??t.sourceId;return(0,j.jsx)(`span`,{className:`mx-chat-standin`,"data-mx-chat-standin":`source`,children:`Source: ${n}`})}function Hw(e){return(0,j.jsx)(`span`,{className:`mx-chat-standin`,"data-mx-chat-standin":`ask-user`,children:e.part.answered?`You already answered: ${e.part.prompt}`:`The assistant is waiting for your answer: ${e.part.prompt}. This chat cannot collect it yet — answer in a chat with the approvals capability turned on, or stop this run.`})}var Uw=(0,_.memo)(function(e){let t=yi(e.messageId),n=bi(),{renderContent:r}=xi(),i=Si(),{thread:a,retry:o}=_i();if(t===void 0)return null;let s=t.status===`streaming`||t.status===`pending`,c=t.role;if(c===`user`)return(0,j.jsxs)(`article`,{className:`mx-chat-turn`,"data-role":`user`,...e.continued?{"data-continued":`true`}:{},"data-message-id":t.id,"aria-label":`Your message`,children:[(0,j.jsx)(`div`,{className:`mx-chat-turn__bubble`,children:r({kind:`markdown`,text:C(t),streaming:!1,role:c,messageId:t.id})}),Kw(t,i.renderTurnMeta),n.messageActions?(0,j.jsx)(Nf,{message:t}):null]});let l=Ti(a.getSnapshot().messages,t.id);return(0,j.jsxs)(`article`,{className:`mx-chat-turn`,"data-role":c,...e.continued?{"data-continued":`true`}:{},"data-status":t.status,"data-message-id":t.id,"aria-label":`Assistant message`,"aria-busy":s||void 0,children:[(0,j.jsxs)(`div`,{className:`mx-chat-turn__body`,children:[t.parts.map((e,a)=>{let c=i.renderPart?.(e,{message:t,index:a,streaming:s});return c===void 0?(0,j.jsx)(`div`,{children:qw(e,{message:t,streaming:s,renderContent:r,expandTools:n.expandToolCardsByDefault,showReasoning:n.showReasoningByDefault,retryText:l,onRetry:e=>o.request(e)})},Gw(e,a)):(0,j.jsx)(`div`,{children:c},Gw(e,a))}),s&&t.parts.length===0?(0,j.jsx)(`span`,{className:`mx-chat-caret`,"data-mx-chat":`waiting`,"aria-hidden":`true`}):null,Ww(t)?(0,j.jsx)(`p`,{className:`mx-chat-turn__stopped`,role:`note`,children:`Stopped`}):null]}),Kw(t,i.renderTurnMeta),n.messageActions?(0,j.jsx)(Nf,{message:t}):null]})});function Ww(e){return e.status===`cancelled`&&!e.parts.some(e=>e.type===`error`&&e.errorType===`cancelled`)}function Gw(e,t){return e.type===`tool`?`tool:${e.toolCallId}`:e.type===`render-block`?`block:${e.blockId}`:`${e.type}:${t}`}function Kw(e,t){let n=t?.(e);return n===void 0?e.metadata.modelRef===null?null:(0,j.jsx)(`div`,{className:`mx-chat-turn__meta`,children:e.metadata.modelRef}):n}function qw(e,t){switch(e.type){case`text`:return(0,j.jsx)(Pw,{part:e,renderContent:t.renderContent,streaming:t.streaming,role:t.message.role,messageId:t.message.id});case`reasoning`:return(0,j.jsx)(Fw,{part:e,defaultOpen:t.showReasoning});case`tool`:return(0,j.jsx)(Rw,{part:e,defaultExpanded:t.expandTools});case`notice`:return(0,j.jsx)(Iw,{part:e});case`error`:return(0,j.jsx)(Lw,{part:e,retryText:t.retryText,onRetry:t.onRetry});case`render-block`:return(0,j.jsx)(zw,{part:e,renderContent:t.renderContent,messageId:t.message.id,role:t.message.role});case`file`:return(0,j.jsx)(Bw,{part:e});case`source`:return(0,j.jsx)(Vw,{part:e});case`ask-user`:return(0,j.jsx)(Hw,{part:e});default:return e}}var Jw=80,Yw=40;function Xw(e){let t=e.virtualizeAbove??Jw,n=e.pageSize??Yw,r=e.label??`Conversation`,i=vi(),a=bi(),o=Si(),s=i.messages,[c,l]=(0,_.useState)(t),u=(0,_.useMemo)(()=>s.length<=c?s:s.slice(s.length-c),[s,c]),d=s.length-u.length,f=Df(a.autoScroll),{onContentChange:p}=f,m=i.snapshot.revision;(0,_.useEffect)(()=>{p()},[m,p]);let h=tT(s,i.conversationId);return(0,j.jsxs)(`div`,{className:Zw(`mx-chat__viewport`,e.className),children:[i.ephemeral&&i.ephemeralReason!==null?(0,j.jsx)(`p`,{className:`mx-chat__ephemeral`,role:`note`,children:i.ephemeralReason}):null,(0,j.jsxs)(`div`,{className:`mx-chat__scroll`,ref:f.ref,role:`log`,"aria-live":`polite`,"aria-relevant":`additions`,"aria-label":r,"data-pinned":f.pinned,tabIndex:0,children:[o.transcriptHeader??null,s.length===0?Qw(o.empty):(0,j.jsxs)(`ol`,{className:`mx-chat__messages`,children:[d>0?(0,j.jsx)(`li`,{className:`mx-chat__earlier`,children:(0,j.jsx)(`button`,{type:`button`,className:`mx-chat-quiet-button mx-chat-focusable`,onClick:()=>l(e=>e+n),children:`Show earlier messages (${d} hidden)`})}):null,u.map((e,t)=>{let n=t>0&&u[t-1]?.role===e.role;return(0,j.jsx)(`li`,{...n?{"data-continued":`true`}:{},children:(0,j.jsx)(Uw,{messageId:e.id,continued:n})},e.id)})]}),o.transcriptFooter??null]}),(0,j.jsx)(`p`,{className:`mx-chat__sr-only`,role:`status`,"aria-live":`polite`,children:h}),f.hasUnseenBelow?(0,j.jsx)(`div`,{className:`mx-chat__jump`,children:(0,j.jsx)(wf,{icon:(0,j.jsx)(Di,{}),ariaLabel:`Jump to the latest message`,tooltip:!1,onClick:f.jumpToLatest})}):null]})}function Zw(e,t){return t===void 0||t===``?e:`${e} ${t}`}function Qw(e){return typeof e==`function`?e():e===void 0?(0,j.jsx)($w,{}):e}function $w(e){return(0,j.jsxs)(`div`,{className:`mx-chat-empty`,children:[(0,j.jsx)(`span`,{className:`mx-chat-empty__title`,children:e.title??`Start the conversation`}),(0,j.jsx)(`span`,{children:e.body??`Ask a question, describe what you need, or paste something in.`})]})}var eT=/[.!?。!?]["')\]]?\s/g;function tT(e,t){let[n,r]=(0,_.useState)(``),i=(0,_.useRef)(0),a=e[e.length-1],o=a!==void 0&&a.role===`assistant`,s=o?Of(C(a)):``,c=o&&a.status!==`streaming`&&a.status!==`pending`,l=a?.id??``,u=(0,_.useRef)(l);u.current!==l&&(u.current=l,i.current=0);let d=(0,_.useRef)(t);if(d.current!==t){let e=d.current!==null;d.current=t,e&&(u.current=l,i.current=s.length,n!==``&&r(``))}return(0,_.useEffect)(()=>{if(!o)return;eT.lastIndex=0;let e=0,t=eT.exec(s);for(;t!==null;)e=t.index+t[0].length,t=eT.exec(s);let n=c?s.length:e;if(n<=i.current)return;let a=s.slice(i.current,n).trim();i.current=n,a!==``&&r(a)},[s,c,o]),n}function nT(e){return(0,j.jsx)(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,focusable:`false`,children:e})}function rT(){return nT((0,j.jsx)(`path`,{d:`M8 13V3.5M3.75 7.75 8 3.5l4.25 4.25`}))}function iT(){return nT((0,j.jsx)(`rect`,{x:`4.25`,y:`4.25`,width:`7.5`,height:`7.5`,rx:`1.5`,fill:`currentColor`,stroke:`none`}))}function aT(){return nT((0,j.jsx)(`path`,{d:`M10.6 5.1 5.9 9.8a1.7 1.7 0 0 0 2.4 2.4l4.7-4.7a3.2 3.2 0 0 0-4.5-4.5L3.6 7.9a4.7 4.7 0 0 0 6.7 6.7`}))}function oT(){return nT((0,j.jsx)(`path`,{d:`M4.5 4.5l7 7M11.5 4.5l-7 7`}))}function sT(e){return(0,j.jsx)(`ul`,{className:`mx-chat-attachments`,"aria-label":`Attachments on this message`,children:e.attachments.map(t=>(0,j.jsxs)(`li`,{className:`mx-chat-attachment`,"data-status":t.status,children:[(0,j.jsx)(`span`,{className:`mx-chat-attachment__name`,title:t.name,children:t.name}),(0,j.jsx)(`span`,{className:`mx-chat-attachment__meta`,children:t.status===`uploading`?t.progress===null?`Uploading…`:`Uploading ${Math.round(t.progress*100)}%`:t.status===`failed`?`Not attached`:ii(t.sizeBytes)}),t.status===`uploading`?(0,j.jsx)(`span`,{className:`mx-chat-attachment__bar`,role:`progressbar`,"aria-label":`Uploading ${t.name}`,...t.progress===null?{}:{"aria-valuenow":Math.round(t.progress*100),"aria-valuemin":0,"aria-valuemax":100},"data-indeterminate":t.progress===null||void 0,children:(0,j.jsx)(`span`,{className:`mx-chat-attachment__fill`,style:t.progress===null?void 0:{width:`${Math.round(t.progress*100)}%`}})}):null,t.failure===null?null:(0,j.jsx)(`span`,{className:`mx-chat-attachment__failure`,children:t.failure}),t.status===`failed`&&t.retryable?(0,j.jsx)(`button`,{type:`button`,className:`mx-chat-attachment__retry mx-chat-focusable`,onClick:()=>e.onRetry(t.key),children:`Try again`}):null,(0,j.jsx)(`button`,{type:`button`,className:`mx-chat-attachment__remove mx-chat-focusable`,"aria-label":`Remove ${t.name}`,title:`Remove ${t.name}`,onClick:()=>e.onRemove(t.key),children:(0,j.jsx)(oT,{})})]},t.key))})}function cT(e){let t=Si(),{quickset:n}=xi(),{thread:r}=_i(),i=r.getSnapshot(),a=n===null||e.busy||e.drafting?[]:n.chips({conversationId:i.conversationId,busy:e.busy,empty:i.messages.length===0}),o=t.composerControls;return o===void 0&&a.length===0?null:(0,j.jsxs)(`div`,{className:`mx-chat-run-controls`,children:[o,a.length===0?null:(0,j.jsx)(`div`,{className:`mx-chat-quickset`,role:`group`,"aria-label":`Things you could ask`,children:a.map(t=>(0,j.jsx)(`button`,{type:`button`,className:`mx-chat-quickset__chip mx-chat-focusable`,"data-quickset":t.id,onClick:()=>e.onFill(t.text),children:t.label},t.id))})]})}var lT=(0,_.createContext)(null);function uT(){let e=(0,_.useContext)(lT),t=xi();return(0,_.useMemo)(()=>e??{files:t.files,voice:t.voice},[e,t.files,t.voice])}function dT(e,t){if(e.isComposing)return`pass`;if(e.key===`Escape`)return e.isBusy?`stop`:`pass`;if(e.key!==`Enter`)return`pass`;let n=e.metaKey||e.ctrlKey;return(t===`enter`?!e.shiftKey&&!n:n)?`send`:`newline`}function fT(e,t,n){if(!Number.isFinite(t)||t<=0)return e;let r=Number.isFinite(n)&&n>0?n:0;return Math.max(1,Math.round((e-r)/t))*t+r}function pT(e){let t=(0,_.useRef)(null),n=(0,_.useCallback)(()=>{let n=t.current;if(n===null)return;let r=n.offsetHeight,i=n.scrollTop,a=getComputedStyle(n),o=Number.parseFloat(a.lineHeight),s=Number.parseFloat(a.paddingTop||`0`)+Number.parseFloat(a.paddingBottom||`0`)+Number.parseFloat(a.borderTopWidth||`0`)+Number.parseFloat(a.borderBottomWidth||`0`);n.style.transitionProperty=`none`,n.style.height=`0px`;let c=n.scrollHeight;n.style.height=`${r}px`,n.offsetHeight,n.style.transitionProperty=``,n.scrollTop=i;let l=fT(c,o,s),u=Math.max(e.minHeightPx,Math.min(l,e.maxHeightPx));u!==r&&(n.style.height=`${u}px`)},[e.maxHeightPx,e.minHeightPx]);(0,_.useLayoutEffect)(()=>{n()},[n,e.value]);let r=(0,_.useCallback)(n=>{t.current=n;let r=e.inputRef;typeof r==`function`?r(n):r!=null&&(r.current=n)},[e.inputRef]),i={maxHeight:e.maxHeightPx};return(0,j.jsx)(`textarea`,{ref:r,className:`mx-chat-composer__field`,value:e.value,rows:1,style:i,placeholder:e.placeholder,"aria-label":e.label,...e.describedBy===void 0?{}:{"aria-describedby":e.describedBy},disabled:e.disabled,autoFocus:e.autoFocus===!0,onChange:t=>e.onValueChange(t.target.value),onKeyDown:e.onKeyDown,...e.onPaste===void 0?{}:{onPaste:e.onPaste}})}function mT(e){let{files:t,maxBytes:n,notifier:r}=e,[i,a]=(0,_.useState)([]),o=(0,_.useRef)(new Map),s=(0,_.useRef)(new Map),c=(0,_.useRef)(!0);(0,_.useEffect)(()=>(c.current=!0,()=>{c.current=!1;for(let e of o.current.values())e.controller.abort();o.current.clear()}),[]);let l=(0,_.useCallback)((e,t)=>{c.current&&a(n=>n.map(n=>n.key===e?{...n,...t}:n))},[]),u=(0,_.useCallback)((e,n)=>{let r=new AbortController;o.current.set(e,{file:n,controller:r}),s.current.set(e,n),l(e,{status:`uploading`,progress:null,failure:null}),t.upload(n,{signal:r.signal,onProgress:t=>{r.signal.aborted||l(e,{progress:Math.max(0,Math.min(1,t))})}}).then(t=>{o.current.delete(e),!r.signal.aborted&&l(e,{status:`ready`,progress:1,fileId:t.fileId,previewUrl:t.previewUrl??null,mediaType:t.mediaType,failure:null})}).catch(t=>{o.current.delete(e),!r.signal.aborted&&l(e,{status:`failed`,progress:null,failure:t instanceof Error&&t.message!==``?t.message:`This file could not be uploaded.`,retryable:!0})})},[t,l]),d=(0,_.useCallback)(e=>{if(e.length===0)return;let t=[],i=[];for(let a of e){let e=x(`att`);if(a.size>n){let i=fi(a.name,n);t.push({key:e,name:a.name,sizeBytes:a.size,mediaType:a.type===``?null:a.type,status:`failed`,progress:null,fileId:null,previewUrl:null,failure:i,retryable:!1}),r.notify({level:`warning`,message:i,remedy:`Attach a smaller file, or ask an administrator to raise the limit for this workspace.`});continue}t.push({key:e,name:a.name,sizeBytes:a.size,mediaType:a.type===``?null:a.type,status:`uploading`,progress:null,fileId:null,previewUrl:null,failure:null,retryable:!0}),i.push({key:e,file:a})}a(e=>[...e,...t]);for(let e of i)u(e.key,e.file)},[n,r,u]),f=(0,_.useCallback)(e=>{let t=o.current.get(e);t!==void 0&&(t.controller.abort(),o.current.delete(e)),s.current.delete(e),a(t=>t.filter(t=>t.key!==e))},[]),p=(0,_.useCallback)(e=>{let t=s.current.get(e);t!==void 0&&u(e,t)},[u]),m=(0,_.useCallback)(()=>{for(let e of o.current.values())e.controller.abort();o.current.clear(),s.current.clear(),a([])},[]);return{attachments:i,readyFileIds:i.filter(e=>e.status===`ready`&&e.fileId!==null).map(e=>e.fileId),uploading:i.some(e=>e.status===`uploading`),add:d,remove:f,retry:p,clear:m}}var hT=24,gT=208;function _T(e){let t=e.dataTransfer?.types;return t!==void 0&&Array.from(t).includes(`Files`)}function vT(e){let t=wi(),n=bi(),{notifier:r}=xi(),i=Si(),{files:a,voice:o}=uT(),{thread:s}=_i(),c=(0,_.useRef)(null),l=(0,_.useId)(),[u,d]=(0,_.useState)(!1),[f,p]=(0,_.useState)(!1),[m,h]=(0,_.useState)(!1),g=(0,_.useRef)(0),v=(0,_.useRef)(async()=>void 0),y=mT({files:a,maxBytes:n.attachmentMaxBytes,notifier:r}),b=(0,_.useRef)(null);(0,_.useEffect)(()=>{let n=e.draftSeed;n!=null&&n!==``&&b.current!==n&&(b.current=n,t.text.trim()===``&&t.setText(n))},[e.draftSeed]);let x=(0,_.useCallback)(e=>{if(e.length!==0){if(!a.available){a.upload(e[0],{signal:new AbortController().signal,onProgress:()=>void 0}).catch(()=>void 0),h(!0);return}y.add(e)}},[y,a]),S=(0,_.useCallback)(e=>{let t=e.clipboardData?.files;t!==void 0&&t.length!==0&&(e.preventDefault(),x(Array.from(t)))},[x]),w=(0,_.useCallback)(e=>{_T(e)&&(e.preventDefault(),g.current=0,p(!1),x(Array.from(e.dataTransfer.files)))},[x]),T=(0,_.useCallback)(e=>{let r=e.nativeEvent.isComposing;if(!r&&e.key===`ArrowUp`&&t.text===``&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey){let n=s.getSnapshot().messages;for(let r=n.length-1;r>=0;--r){let i=n[r];if(i===void 0||i.role!==`user`)continue;let a=C(i);if(a===``)break;e.preventDefault(),t.setText(a);return}return}let i=dT({key:e.key,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,isComposing:r,isBusy:t.isBusy},n.sendKey);if(i===`send`){e.preventDefault(),v.current();return}i===`stop`&&(e.preventDefault(),t.stop())},[t,n.sendKey,s]),E=e.held??null,D=E===null?u?`Finish recording to send your message.`:y.uploading?`Your files are still uploading.`:null:E.reason,O=t.canSend&&D===null,k=(0,_.useCallback)(async()=>{if(!O)return;let e=t.text.trim(),n=y.readyFileIds;n.length===0?await t.send():(t.setText(``),(await s.send({text:e,fileIds:n})).accepted?y.clear():t.setText(e)),c.current?.focus()},[y,O,t,s]);v.current=k;let A=(0,_.useCallback)(e=>{e.preventDefault(),k()},[k]),M=t.isBusy?`Stop the answer`:D===null?`Send message`:D,N=t.isBusy&&n.sendWhileBusy&&t.text.trim()!==``,P=D===null?`Queue message — it sends when this answer finishes`:D,F={value:t.text,onValueChange:t.setText,busy:t.isBusy,onBusyChange:d,className:`mx-chat-composer__icon-button mx-chat-focusable`};return(0,j.jsxs)(`form`,{className:`mx-chat-composer${e.className===void 0?``:` ${e.className}`}`,"data-dragging":f||void 0,"data-busy":t.isBusy||void 0,onSubmit:A,onDragEnter:e=>{_T(e)&&(g.current+=1,p(!0))},onDragOver:e=>{_T(e)&&e.preventDefault()},onDragLeave:e=>{_T(e)&&(g.current=Math.max(0,g.current-1),g.current===0&&p(!1))},onDrop:w,children:[i.composerAbove,(0,j.jsx)(cT,{onFill:t.setText,busy:t.isBusy,drafting:t.text.trim()!==``}),(0,j.jsxs)(`div`,{className:`mx-chat-composer__shell`,children:[y.attachments.length>0?(0,j.jsx)(sT,{attachments:y.attachments,onRemove:y.remove,onRetry:y.retry}):null,(0,j.jsx)(pT,{value:t.text,onValueChange:t.setText,onKeyDown:T,onPaste:S,placeholder:e.placeholder??`Send a message`,minHeightPx:hT,maxHeightPx:gT,disabled:E!==null,label:`Message`,describedBy:l,inputRef:c,...e.autoFocus===void 0?{}:{autoFocus:e.autoFocus}}),(0,j.jsxs)(`div`,{className:`mx-chat-composer__row`,children:[(0,j.jsxs)(`div`,{className:`mx-chat-composer__left`,children:[a.available?(0,j.jsxs)(`label`,{className:`mx-chat-composer__icon-button mx-chat-focusable`,children:[(0,j.jsx)(aT,{}),(0,j.jsx)(`span`,{className:`mx-chat__sr-only`,children:`Attach files`}),(0,j.jsx)(`input`,{type:`file`,multiple:!0,"aria-label":`Attach files`,...a.accept===void 0?{}:{accept:a.accept},onChange:e=>{let t=e.target.files;t!==null&&x(Array.from(t)),e.target.value=``}})]}):null,o===null?null:o.renderButton(F),i.composerPickers,i.composerToolbar]}),(0,j.jsxs)(`div`,{className:`mx-chat-composer__right`,children:[i.composerRunControls,N?(0,j.jsx)(`button`,{type:`submit`,className:`mx-chat-composer__send mx-chat-focusable`,"data-mode":`queue`,"aria-label":P,title:P,disabled:!O,children:(0,j.jsx)(rT,{})}):null,t.isBusy?(0,j.jsx)(`button`,{type:`button`,className:`mx-chat-composer__send mx-chat-focusable`,"data-mode":`stop`,"aria-label":M,title:M,onClick:()=>void t.stop(),children:(0,j.jsx)(iT,{})}):(0,j.jsx)(`button`,{type:`submit`,className:`mx-chat-composer__send mx-chat-focusable`,"data-mode":`send`,"aria-label":M,title:M,disabled:!O,children:(0,j.jsx)(rT,{})})]})]})]}),(0,j.jsxs)(`div`,{className:`mx-chat-composer__notice`,id:l,role:`status`,"aria-live":`polite`,children:[E===null?m?(0,j.jsx)(`span`,{className:`mx-chat-standin`,children:`${li} ${ui}`}):D!==null&&t.text.trim()!==``?(0,j.jsx)(`span`,{className:`mx-chat-standin`,children:D}):t.restoredFromFailure?(0,j.jsx)(`span`,{className:`mx-chat-standin`,children:`Your message is back in the box. Send it again when you are ready.`}):null:(0,j.jsx)(`span`,{className:`mx-chat-standin`,children:E.reason}),o?.renderRecovery?.(F)??null]}),i.composerBelow,f?(0,j.jsx)(`div`,{className:`mx-chat-composer__drop`,"aria-live":`polite`,children:a.available?`Drop files to attach them to your message`:li}):null]})}function yT(e){let t=T(e.features),n=new Set,r=new Map,i=0,a=new Map,o=c(e.getSnapshot());a=s(o.messages);function s(e){let t=new Map;for(let n of e)t.set(n.id,n);return t}function c(e){let t=e.ephemeral===!0;return{conversationId:e.conversationId,messages:e.messages,status:e.status,requestId:e.requestId??null,phase:e.phase??null,ephemeral:t,ephemeralReason:t?e.ephemeralReason??`This conversation is not being saved by the application hosting it.`:null,revision:i,error:e.error??null}}let l=e.subscribe(()=>{i+=1,o=c(e.getSnapshot());let t=s(o.messages);for(let[e,n]of r)if(a.get(e)!==t.get(e))for(let e of n)e();a=t;for(let e of n)e()});return{getSnapshot:()=>o,subscribe(e){return n.add(e),()=>{n.delete(e)}},subscribeToMessage(e,t){let n=r.get(e)??new Set;return n.add(t),r.set(e,n),()=>{n.delete(t),n.size===0&&r.delete(e)}},getMessageSnapshot:e=>o.messages.find(t=>t.id===e),features:t,async send(t){return await e.onSubmit(t),{accepted:!0,refusal:null}},async cancel(){await e.onCancel?.()},setMessages(t){if(!e.onSetMessages)throw Error(`This chat thread's state is owned by the host application, which did not provide onSetMessages. Replace the transcript through the host's own store, or provide onSetMessages.`);e.onSetMessages(t)},async loadConversation(t){if(!e.onLoadConversation)throw Error(`This chat thread's state is owned by the host application, which did not provide onLoadConversation. Open the conversation through the host's own routing, or provide onLoadConversation.`);await e.onLoadConversation(t)},canStartNewConversation:e.onStartNewConversation!==void 0,settleToolCall(t){return e.onSettleToolCall?e.onSettleToolCall(t):{messages:o.messages,messageId:null,applied:!1,refusal:`This chat thread's state is owned by the host application, which did not provide onSettleToolCall. Mark the tool call done in the host's own store when it answers, or provide onSettleToolCall.`}},async startNewConversation(){if(!e.onStartNewConversation)throw Error(`This chat thread's state is owned by the host application, which did not provide onStartNewConversation. Start a new conversation through the host's own store, or provide onStartNewConversation.`);await e.onStartNewConversation()},dispose(){l?.(),l=null,n.clear(),r.clear()}}}var bT={claude:`Claude Code`,codex:`Codex`};function xT(e,t,n){return t?`${e}:${t}`:`session:${n??``}`}var ST=[`completed`,`stopped`,`failed`];function CT(e){return ST.includes(e)}function wT(e){if(!e)return null;let t=Date.parse(e);return Number.isNaN(t)?e:new Date(t).toLocaleString(void 0,{month:`short`,day:`numeric`,hour:`numeric`,minute:`2-digit`})}var TT=[/model is not supported when using codex/i,/\bmodel[\s:'"`][^.\n]{0,80}\b(?:not supported|does not exist|not available|not found)\b/i,/\bmodel_not_found\b/i,/issue with the selected model/i,/may not exist or you may not have access to it/i],ET=`Model not available on this account`;function DT(e){let t=(e??``).trim();return t!==``&&TT.some(e=>e.test(t))}function OT(e){return DT(e)?ET:e}var kT={Bash:`Run command`,Shell:`Run command`,BashOutput:`Read command output`,KillShell:`Stop command`,Read:`Read file`,Write:`Write file`,Edit:`Edit file`,MultiEdit:`Edit file`,NotebookEdit:`Edit notebook`,Glob:`Find files`,Grep:`Search code`,LS:`List folder`,WebFetch:`Fetch page`,WebSearch:`Web search`,"Web search":`Web search`,Task:`Sub-agent`,Agent:`Sub-agent`,TodoWrite:`Update plan`,Plan:`Update plan`,"Edit files":`Edit files`,ExitPlanMode:`Finish planning`,Skill:`Use skill`,ToolSearch:`Load tools`};function AT(e){let t=e.replace(/[._-]+/g,` `).replace(/([a-z\d])([A-Z])/g,`$1 $2`).replace(/\s+/g,` `).trim().toLowerCase();return t?t.charAt(0).toUpperCase()+t.slice(1):``}function jT(e){let t=/^mcp__(.+?)__(.+)$/.exec(e);return t?.[1]&&t[2]?{server:t[1],tool:t[2]}:null}function MT(e){let t=kT[e];if(t)return t;let n=jT(e);if(n)return`${AT(n.tool)||`Tool`} · ${AT(n.server)}`;let r=/^([\w-]+)\.([\w-]+)$/.exec(e);return r?.[1]&&r[2]?`${AT(r[2])} · ${AT(r[1])}`:AT(e)||`Working…`}function NT(e){let t=e.match(/^\/(?:Users|home)\/[^/]+/)?.[0];return t?`~${e.slice(t.length)}`:e}function PT(e,t=90){let n=e.replace(/\s+/g,` `).trim();return n.length>t?`${n.slice(0,t-1)}…`:n}function FT(e,t){if(typeof t!=`object`||!t)return typeof t==`string`&&t?PT(t):null;let n=t,r=(...e)=>{for(let t of e){let e=n[t];if(typeof e==`string`&&e.trim())return e}return null};switch(e){case`Bash`:case`Shell`:{let e=r(`command`,`description`);return e?PT(e):null}case`Read`:case`Write`:case`Edit`:case`MultiEdit`:case`NotebookEdit`:{let e=r(`file_path`,`notebook_path`,`path`);return e?PT(NT(e)):null}case`Glob`:case`Grep`:return r(`pattern`)?PT(r(`pattern`)):null;case`WebFetch`:return r(`url`)?PT(r(`url`)):null;case`WebSearch`:case`Web search`:return r(`query`)?PT(r(`query`)):null;case`Task`:case`Agent`:return r(`description`,`prompt`)?PT(r(`description`,`prompt`)):null;case`Edit files`:{let e=n.changes,t=Array.isArray(e)?e.map(e=>typeof e==`object`&&e?e.path:null).filter(e=>typeof e==`string`):typeof e==`object`&&e?Object.keys(e):[];return t.length?PT(t.map(NT).join(`, `)):null}default:{let e=r(`url`,`query`,`command`,`path`,`file_path`,`name`,`description`);return e?PT(e):null}}}function IT(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function LT(e){return typeof e==`string`?e:null}function RT(e){let t=IT(e)?LT(e.type):LT(e);return t===`add`||t===`create`?`created`:t===`delete`?`deleted`:t===`move`||t===`rename`?`moved`:`edited`}function zT(e){let t=new Map,n=(e,n,r)=>{let i=t.get(e);i?(i.edits.push(r),n===`deleted`&&(i.kind=`deleted`)):t.set(e,{path:e,kind:n,edits:[r]})};for(let t of e)for(let e of t.parts){if(e.type!==`tool`)continue;let t=e.input;if(!IT(t))continue;let r=e.state===`output-error`||!!e.errorText,i={toolCallId:e.toolCallId,failed:r};switch(e.toolName){case`Write`:{let e=LT(t.file_path);e&&n(e,`created`,{...i,removed:null,added:LT(t.content),diff:null});break}case`Edit`:{let e=LT(t.file_path);e&&n(e,`edited`,{...i,removed:LT(t.old_string),added:LT(t.new_string),diff:null});break}case`MultiEdit`:{let e=LT(t.file_path),r=Array.isArray(t.edits)?t.edits:[];if(e)for(let t of r.filter(IT))n(e,`edited`,{...i,removed:LT(t.old_string),added:LT(t.new_string),diff:null});break}case`NotebookEdit`:{let e=LT(t.notebook_path);e&&n(e,`edited`,{...i,removed:null,added:LT(t.new_source),diff:null});break}case`Edit files`:{let e=t.changes;if(Array.isArray(e))for(let t of e.filter(IT)){let e=LT(t.path);e&&n(e,RT(t.kind),{...i,removed:null,added:null,diff:null})}else if(IT(e))for(let[t,r]of Object.entries(e)){let e=IT(r)?LT(r.unified_diff):null;n(t,RT(r),{...i,removed:null,added:null,diff:e})}break}}}return[...t.values()]}function BT(e){let t=0,n=0,r=e=>e?e.split(`
67
67
  `).length:0;for(let i of e.edits)if(!i.failed){if(i.diff)for(let e of i.diff.split(`
68
- `))e.startsWith(`+`)&&!e.startsWith(`+++`)?t+=1:e.startsWith(`-`)&&!e.startsWith(`---`)&&(n+=1);else t+=r(i.added),n+=r(i.removed)}return{added:t,removed:n}}function VT(e,t){let n=xT(e.provider,e.providerSessionId,e.id),r=t[n]??t[xT(e.provider,null,e.id)]??{};return{key:n,kind:`session`,provider:e.provider,providerSessionId:e.providerSessionId,title:r.title||e.title,originalTitle:e.title,cwd:e.cwd,updatedAt:e.updatedAt,pinned:r.pinned===!0,hidden:r.hidden===!0,session:e,discovered:null}}function HT(e,t){let n=xT(e.provider,e.providerSessionId),r=t[n]??{};return{key:n,kind:`discovered`,provider:e.provider,providerSessionId:e.providerSessionId,title:r.title||e.title,originalTitle:e.title,cwd:e.cwd,updatedAt:e.updatedAt,pinned:r.pinned===!0,hidden:r.hidden===!0,session:null,discovered:e}}var UT=864e5;function WT(e){let t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function GT(e,t){let n=Date.parse(e);if(Number.isNaN(n))return`Older`;let r=WT(t);if(n>=r)return`Today`;if(n>=r-UT)return`Yesterday`;if(n>=r-7*UT)return`Previous 7 days`;if(n>=r-30*UT)return`Previous 30 days`;let i=new Date(n),a=new Date(t).getFullYear();return i.getFullYear()===a?i.toLocaleDateString(void 0,{month:`long`}):String(i.getFullYear())}function KT(e){if(!e)return`Unknown folder`;let t=e.split(`/`).filter(Boolean);return t[t.length-1]??e}function qT(e,t,n){let r=new Map;for(let i of e){let e=t===`date`?GT(i.updatedAt,n):i.cwd??``,a=r.get(e);a||(a={label:t===`date`?e:KT(i.cwd),entries:[]},r.set(e,a)),a.entries.push(i)}if(t===`folder`){let e=new Map;for(let t of r.values())e.set(t.label,(e.get(t.label)??0)+1);for(let[t,n]of r)(e.get(n.label)??0)>1&&t&&(n.label=t.split(`/`).filter(Boolean).slice(-2).join(`/`))}return[...r.values()]}function JT(e,t){let n=t.trim().toLowerCase();return!n||e.title.toLowerCase().includes(n)||e.originalTitle.toLowerCase().includes(n)||(e.cwd??``).toLowerCase().includes(n)}function YT(e,t){return t.updatedAt.localeCompare(e.updatedAt)}function XT(e){if(!e.providerSessionId)return null;let t=e.provider===`claude`?`claude --resume ${e.providerSessionId}`:`codex resume ${e.providerSessionId}`;return e.cwd?`cd ${/^[A-Za-z0-9_./~-]+$/.test(e.cwd)?e.cwd:`'${e.cwd.replace(/'/g,`'\\''`)}'`} && ${t}`:t}var ZT=(0,_.createContext)(null);function QT(){let e=(0,_.useContext)(ZT);if(!e)throw Error(`[@ai-matrx/coding-sessions] Render this inside <CodingSessionsProvider transport={…}> (or <CodingSessionsApp>).`);return e}function $T(){let e=QT();return(0,_.useSyncExternalStore)(e.subscribe,e.getState,e.getState)}function eE(e){let t=QT().transcript(e),[,n]=(0,_.useState)(0);return(0,_.useEffect)(()=>t.thread.subscribe(()=>n(e=>e+1)),[t]),t}function tE(){let[e,t]=(0,_.useState)(()=>Date.now());return(0,_.useEffect)(()=>{let e=setInterval(()=>t(Date.now()),6e4);return()=>clearInterval(e)},[]),e}function nE(e,t){return e?ni(e,{style:`long`,now:t,fallback:``}):``}function rE(e){if(!e)return``;let t=e.match(/^\/(?:Users|home)\/[^/]+/)?.[0],n=t?`~${e.slice(t.length)}`:e;return n.length<=48?n:`…/${n.split(`/`).slice(-3).join(`/`)}`}function iE({size:e=16,children:t,...n}){return(0,j.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,focusable:`false`,...n,children:t})}var aE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M12 5v14M5 12h14`})}),oE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2`,fill:`currentColor`,stroke:`none`})}),sE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M3 7.5A2.5 2.5 0 0 1 5.5 5H9l2 2.5h7.5A2.5 2.5 0 0 1 21 10v7.5a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5z`})}),cE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`m5 12.5 4.5 4.5L19 7.5`})}),lE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,j.jsx)(`path`,{d:`M12 7.5v5.5M12 16.5h.01`})]}),uE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M20 11a8 8 0 0 0-14.3-4.9L4 8M4 4v4h4M4 13a8 8 0 0 0 14.3 4.9L20 16M20 20v-4h-4`})}),dE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M5 12h12M13 7l5 5-5 5`}),(0,j.jsx)(`path`,{d:`M5 5v14`})]}),fE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`}),(0,j.jsx)(`path`,{d:`M12 2.5v2M12 19.5v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M2.5 12h2M19.5 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4`})]}),pE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z`})}),mE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`3`,y:`4.5`,width:`18`,height:`12`,rx:`2`}),(0,j.jsx)(`path`,{d:`M8.5 20h7M12 16.5V20`})]}),hE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M20 12.5a7.5 7.5 0 0 1-10.9 6.7L4 20.5l1.3-4.6A7.5 7.5 0 1 1 20 12.5z`})}),gE=({size:e=16,className:t})=>(0,j.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,"aria-hidden":`true`,className:`cs-spin ${t??``}`,children:[(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`,fill:`none`,stroke:`currentColor`,strokeOpacity:`0.2`,strokeWidth:`2.5`}),(0,j.jsx)(`path`,{d:`M21 12a9 9 0 0 0-9-9`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`})]}),_E=`m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z`,vE=`M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z`;function yE({provider:e,size:t=16}){return(0,j.jsx)(`svg`,{className:`cs-provider-mark cs-provider-mark--${e}`,width:t,height:t,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,"data-provider-mark":e,children:(0,j.jsx)(`path`,{d:e===`claude`?_E:vE})})}var bE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`11`,cy:`11`,r:`6.5`}),(0,j.jsx)(`path`,{d:`m20 20-4.2-4.2`})]}),xE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`5.5`,cy:`12`,r:`1.2`,fill:`currentColor`,stroke:`none`}),(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1.2`,fill:`currentColor`,stroke:`none`}),(0,j.jsx)(`circle`,{cx:`18.5`,cy:`12`,r:`1.2`,fill:`currentColor`,stroke:`none`})]}),SE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M9 4h6l-1 5 3 3v2H7v-2l3-3z`}),(0,j.jsx)(`path`,{d:`M12 14v6`})]}),CE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M3 3l18 18`}),(0,j.jsx)(`path`,{d:`M10.6 5.1A9.8 9.8 0 0 1 12 5c5 0 8.5 4.5 9.5 7a13 13 0 0 1-2.6 3.9M6.4 6.4C4.3 7.8 2.9 9.9 2.5 12c1 2.5 4.5 7 9.5 7 1.8 0 3.4-.6 4.8-1.4`}),(0,j.jsx)(`path`,{d:`M9.9 9.9a3 3 0 0 0 4.2 4.2`})]}),wE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`8.5`,y:`8.5`,width:`11`,height:`11`,rx:`2`}),(0,j.jsx)(`path`,{d:`M15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2`})]}),TE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16z`}),(0,j.jsx)(`path`,{d:`m13.5 6.5 4 4`})]}),EE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`3.5`,y:`4.5`,width:`17`,height:`15`,rx:`2.5`}),(0,j.jsx)(`path`,{d:`M9.5 4.5v15`})]}),DE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`m6.5 9.5 5.5 5.5 5.5-5.5`})}),OE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M14 3.5H7.5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V8z`}),(0,j.jsx)(`path`,{d:`M14 3.5V8h4.5`})]}),kE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M6.5 6.5l11 11M17.5 6.5l-11 11`})}),AE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`3`,y:`6.5`,width:`18`,height:`11`,rx:`2`}),(0,j.jsx)(`path`,{d:`M7 10.5h.01M11 10.5h.01M15 10.5h.01M8 14h8`})]}),jE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M6 16.5V11a6 6 0 1 1 12 0v5.5l1.5 1.5h-15z`}),(0,j.jsx)(`path`,{d:`M10 20.5a2 2 0 0 0 4 0`})]}),ME=(0,_.createContext)(()=>void 0);function NE(){return(0,_.useContext)(ME)}var PE=[{target:`finder`,label:`Finder`},{target:`vscode`,label:`VS Code`},{target:`cursor`,label:`Cursor`},{target:`terminal`,label:`Terminal`}];async function FE(e,t,n){try{await navigator.clipboard.writeText(e),t(`${n} copied.`)}catch{t(`This browser didn't allow copying. Select the text and copy it with your keyboard instead: ${e}`)}}async function IE(e,t,n){try{let r=await e.readRawTranscript(t.provider,t.providerSessionId);if(!r.available){n(r.reason);return}let i=URL.createObjectURL(new Blob([r.content],{type:`application/x-ndjson`})),a=document.createElement(`a`);a.href=i,a.download=r.fileName,a.click(),setTimeout(()=>URL.revokeObjectURL(i),1e4),n(`Downloaded ${r.fileName} (${ii(r.bytes)}).`)}catch(e){n(`Full Download failed: ${e instanceof Error?e.message:String(e)}`)}}function LE(e){let t=QT(),n=NE(),{entry:r}=e,i=e.variant===`dropdown`?{Item:uw,Separator:mw,Sub:nw,SubTrigger:sw,SubContent:cw}:{Item:Rb,Separator:Hb,Sub:jb,SubTrigger:Fb,SubContent:Ib},a=(e,i)=>{t.setPreference(r.key,e).then(()=>n(i),e=>n(`That didn't save: ${e instanceof Error?e.message:String(e)}`))},o=XT(r);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(i.Item,{onSelect:e.onRename,children:[(0,j.jsx)(TE,{size:14}),`Rename`]}),(0,j.jsxs)(i.Item,{onSelect:()=>a({pinned:!r.pinned},r.pinned?`Unpinned.`:`Pinned to the top.`),children:[(0,j.jsx)(SE,{size:14}),r.pinned?`Unpin`:`Pin to top`]}),(0,j.jsxs)(i.Item,{onSelect:()=>a({hidden:!r.hidden},r.hidden?`Back in the list.`:`Hidden from the list. Search still finds it.`),children:[(0,j.jsx)(CE,{size:14}),r.hidden?`Show in the list`:`Hide from the list`]}),r.providerSessionId||r.cwd?(0,j.jsx)(i.Separator,{}):null,r.providerSessionId?(0,j.jsxs)(i.Item,{onSelect:()=>void FE(r.providerSessionId,n,`Chat ID`),children:[(0,j.jsx)(wE,{size:14}),`Copy chat ID`]}):null,o?(0,j.jsxs)(i.Item,{onSelect:()=>void FE(o,n,`Resume command`),children:[(0,j.jsx)(wE,{size:14}),`Copy resume command`]}):null,r.providerSessionId?(0,j.jsxs)(i.Item,{onSelect:()=>void IE(t,r,n),children:[(0,j.jsx)(wE,{size:14}),`Full Download`]}):null,r.cwd?(0,j.jsxs)(i.Item,{onSelect:()=>void FE(r.cwd,n,`Folder path`),children:[(0,j.jsx)(wE,{size:14}),`Copy folder path`]}):null,r.cwd?(0,j.jsxs)(i.Sub,{children:[(0,j.jsxs)(i.SubTrigger,{className:`gap-2`,children:[(0,j.jsx)(sE,{size:14}),`Open folder in`]}),(0,j.jsx)(i.SubContent,{children:PE.map(({target:e,label:a})=>(0,j.jsx)(i.Item,{onSelect:()=>t.openFolder(r.cwd,e).catch(e=>n(e instanceof Error?e.message:String(e))),children:a},e))})]}):null]})}var RE=400;function zE(e,t){if(t){let n=t.replace(/\/+$/,``);for(let t of[n,`/private${n}`,n.replace(/^\/private(?=\/)/,``)])if(e.startsWith(`${t}/`))return e.slice(t.length+1)}return rE(e)}function BE({edit:e}){let t=[];if(e.diff)for(let n of e.diff.split(`
68
+ `))e.startsWith(`+`)&&!e.startsWith(`+++`)?t+=1:e.startsWith(`-`)&&!e.startsWith(`---`)&&(n+=1);else t+=r(i.added),n+=r(i.removed)}return{added:t,removed:n}}function VT(e,t){let n=xT(e.provider,e.providerSessionId,e.id),r=t[n]??t[xT(e.provider,null,e.id)]??{};return{key:n,kind:`session`,provider:e.provider,providerSessionId:e.providerSessionId,title:r.title||e.title,originalTitle:e.title,cwd:e.cwd,updatedAt:e.updatedAt,pinned:r.pinned===!0,hidden:r.hidden===!0,hiddenBy:r.hidden===!0?`you`:null,session:e,discovered:null}}function HT(e,t){let n=xT(e.provider,e.providerSessionId),r=t[n]??{};return{key:n,kind:`discovered`,provider:e.provider,providerSessionId:e.providerSessionId,title:r.title||e.title,originalTitle:e.title,cwd:e.cwd,updatedAt:e.updatedAt,pinned:r.pinned===!0,hidden:r.hidden===!0||r.pinned!==!0&&(e.archived===!0||e.scheduled===!0),hiddenBy:r.hidden===!0?`you`:r.pinned===!0?null:e.archived?`archived`:e.scheduled?`scheduled`:null,session:null,discovered:e}}var UT=864e5;function WT(e){let t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function GT(e,t){let n=Date.parse(e);if(Number.isNaN(n))return`Older`;let r=WT(t);if(n>=r)return`Today`;if(n>=r-UT)return`Yesterday`;if(n>=r-7*UT)return`Previous 7 days`;if(n>=r-30*UT)return`Previous 30 days`;let i=new Date(n),a=new Date(t).getFullYear();return i.getFullYear()===a?i.toLocaleDateString(void 0,{month:`long`}):String(i.getFullYear())}function KT(e){if(!e)return`Unknown folder`;let t=e.split(`/`).filter(Boolean);return t[t.length-1]??e}function qT(e,t,n){let r=new Map;for(let i of e){let e=t===`date`?GT(i.updatedAt,n):i.cwd??``,a=r.get(e);a||(a={label:t===`date`?e:KT(i.cwd),entries:[]},r.set(e,a)),a.entries.push(i)}if(t===`folder`){let e=new Map;for(let t of r.values())e.set(t.label,(e.get(t.label)??0)+1);for(let[t,n]of r)(e.get(n.label)??0)>1&&t&&(n.label=t.split(`/`).filter(Boolean).slice(-2).join(`/`))}return[...r.values()]}function JT(e,t){let n=t.trim().toLowerCase();return!n||e.title.toLowerCase().includes(n)||e.originalTitle.toLowerCase().includes(n)||(e.cwd??``).toLowerCase().includes(n)}function YT(e,t){return t.updatedAt.localeCompare(e.updatedAt)}function XT(e){if(!e.providerSessionId)return null;let t=e.provider===`claude`?`claude --resume ${e.providerSessionId}`:`codex resume ${e.providerSessionId}`;return e.cwd?`cd ${/^[A-Za-z0-9_./~-]+$/.test(e.cwd)?e.cwd:`'${e.cwd.replace(/'/g,`'\\''`)}'`} && ${t}`:t}var ZT=(0,_.createContext)(null);function QT(){let e=(0,_.useContext)(ZT);if(!e)throw Error(`[@ai-matrx/coding-sessions] Render this inside <CodingSessionsProvider transport={…}> (or <CodingSessionsApp>).`);return e}function $T(){let e=QT();return(0,_.useSyncExternalStore)(e.subscribe,e.getState,e.getState)}function eE(e){let t=QT().transcript(e),[,n]=(0,_.useState)(0);return(0,_.useEffect)(()=>t.thread.subscribe(()=>n(e=>e+1)),[t]),t}function tE(){let[e,t]=(0,_.useState)(()=>Date.now());return(0,_.useEffect)(()=>{let e=setInterval(()=>t(Date.now()),6e4);return()=>clearInterval(e)},[]),e}function nE(e,t){return e?ni(e,{style:`long`,now:t,fallback:``}):``}function rE(e){if(!e)return``;let t=e.match(/^\/(?:Users|home)\/[^/]+/)?.[0],n=t?`~${e.slice(t.length)}`:e;return n.length<=48?n:`…/${n.split(`/`).slice(-3).join(`/`)}`}function iE({size:e=16,children:t,...n}){return(0,j.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,focusable:`false`,...n,children:t})}var aE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M12 5v14M5 12h14`})}),oE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2`,fill:`currentColor`,stroke:`none`})}),sE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M3 7.5A2.5 2.5 0 0 1 5.5 5H9l2 2.5h7.5A2.5 2.5 0 0 1 21 10v7.5a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5z`})}),cE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`m5 12.5 4.5 4.5L19 7.5`})}),lE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,j.jsx)(`path`,{d:`M12 7.5v5.5M12 16.5h.01`})]}),uE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M20 11a8 8 0 0 0-14.3-4.9L4 8M4 4v4h4M4 13a8 8 0 0 0 14.3 4.9L20 16M20 20v-4h-4`})}),dE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M5 12h12M13 7l5 5-5 5`}),(0,j.jsx)(`path`,{d:`M5 5v14`})]}),fE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`}),(0,j.jsx)(`path`,{d:`M12 2.5v2M12 19.5v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M2.5 12h2M19.5 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4`})]}),pE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z`})}),mE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`3`,y:`4.5`,width:`18`,height:`12`,rx:`2`}),(0,j.jsx)(`path`,{d:`M8.5 20h7M12 16.5V20`})]}),hE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M20 12.5a7.5 7.5 0 0 1-10.9 6.7L4 20.5l1.3-4.6A7.5 7.5 0 1 1 20 12.5z`})}),gE=({size:e=16,className:t})=>(0,j.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 24 24`,"aria-hidden":`true`,className:`cs-spin ${t??``}`,children:[(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`,fill:`none`,stroke:`currentColor`,strokeOpacity:`0.2`,strokeWidth:`2.5`}),(0,j.jsx)(`path`,{d:`M21 12a9 9 0 0 0-9-9`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`})]}),_E=`m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z`,vE=`M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z`;function yE({provider:e,size:t=16}){return(0,j.jsx)(`svg`,{className:`cs-provider-mark cs-provider-mark--${e}`,width:t,height:t,viewBox:`0 0 24 24`,fill:`currentColor`,"aria-hidden":`true`,"data-provider-mark":e,children:(0,j.jsx)(`path`,{d:e===`claude`?_E:vE})})}var bE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`11`,cy:`11`,r:`6.5`}),(0,j.jsx)(`path`,{d:`m20 20-4.2-4.2`})]}),xE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`circle`,{cx:`5.5`,cy:`12`,r:`1.2`,fill:`currentColor`,stroke:`none`}),(0,j.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1.2`,fill:`currentColor`,stroke:`none`}),(0,j.jsx)(`circle`,{cx:`18.5`,cy:`12`,r:`1.2`,fill:`currentColor`,stroke:`none`})]}),SE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M9 4h6l-1 5 3 3v2H7v-2l3-3z`}),(0,j.jsx)(`path`,{d:`M12 14v6`})]}),CE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M3 3l18 18`}),(0,j.jsx)(`path`,{d:`M10.6 5.1A9.8 9.8 0 0 1 12 5c5 0 8.5 4.5 9.5 7a13 13 0 0 1-2.6 3.9M6.4 6.4C4.3 7.8 2.9 9.9 2.5 12c1 2.5 4.5 7 9.5 7 1.8 0 3.4-.6 4.8-1.4`}),(0,j.jsx)(`path`,{d:`M9.9 9.9a3 3 0 0 0 4.2 4.2`})]}),wE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`8.5`,y:`8.5`,width:`11`,height:`11`,rx:`2`}),(0,j.jsx)(`path`,{d:`M15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2`})]}),TE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M4 20h4L19 9a2.8 2.8 0 0 0-4-4L4 16z`}),(0,j.jsx)(`path`,{d:`m13.5 6.5 4 4`})]}),EE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`3.5`,y:`4.5`,width:`17`,height:`15`,rx:`2.5`}),(0,j.jsx)(`path`,{d:`M9.5 4.5v15`})]}),DE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`m6.5 9.5 5.5 5.5 5.5-5.5`})}),OE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M14 3.5H7.5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V8z`}),(0,j.jsx)(`path`,{d:`M14 3.5V8h4.5`})]}),kE=e=>(0,j.jsx)(iE,{...e,children:(0,j.jsx)(`path`,{d:`M6.5 6.5l11 11M17.5 6.5l-11 11`})}),AE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`rect`,{x:`3`,y:`6.5`,width:`18`,height:`11`,rx:`2`}),(0,j.jsx)(`path`,{d:`M7 10.5h.01M11 10.5h.01M15 10.5h.01M8 14h8`})]}),jE=e=>(0,j.jsxs)(iE,{...e,children:[(0,j.jsx)(`path`,{d:`M6 16.5V11a6 6 0 1 1 12 0v5.5l1.5 1.5h-15z`}),(0,j.jsx)(`path`,{d:`M10 20.5a2 2 0 0 0 4 0`})]}),ME=(0,_.createContext)(()=>void 0);function NE(){return(0,_.useContext)(ME)}var PE=[{target:`finder`,label:`Finder`},{target:`vscode`,label:`VS Code`},{target:`cursor`,label:`Cursor`},{target:`terminal`,label:`Terminal`}];async function FE(e,t,n){try{await navigator.clipboard.writeText(e),t(`${n} copied.`)}catch{t(`This browser didn't allow copying. Select the text and copy it with your keyboard instead: ${e}`)}}async function IE(e,t,n){try{let r=await e.readRawTranscript(t.provider,t.providerSessionId);if(!r.available){n(r.reason);return}let i=URL.createObjectURL(new Blob([r.content],{type:`application/x-ndjson`})),a=document.createElement(`a`);a.href=i,a.download=r.fileName,a.click(),setTimeout(()=>URL.revokeObjectURL(i),1e4),n(`Downloaded ${r.fileName} (${ii(r.bytes)}).`)}catch(e){n(`Full Download failed: ${e instanceof Error?e.message:String(e)}`)}}function LE(e){let t=QT(),n=NE(),{entry:r}=e,i=e.variant===`dropdown`?{Item:uw,Separator:mw,Sub:nw,SubTrigger:sw,SubContent:cw}:{Item:Rb,Separator:Hb,Sub:jb,SubTrigger:Fb,SubContent:Ib},a=(e,i)=>{t.setPreference(r.key,e).then(()=>n(i),e=>n(`That didn't save: ${e instanceof Error?e.message:String(e)}`))},o=XT(r);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(i.Item,{onSelect:e.onRename,children:[(0,j.jsx)(TE,{size:14}),`Rename`]}),(0,j.jsxs)(i.Item,{onSelect:()=>a({pinned:!r.pinned},r.pinned?`Unpinned.`:`Pinned to the top.`),children:[(0,j.jsx)(SE,{size:14}),r.pinned?`Unpin`:`Pin to top`]}),(0,j.jsxs)(i.Item,{onSelect:()=>a({hidden:!r.hidden},r.hidden?`Back in the list.`:`Hidden from the list. Search still finds it.`),children:[(0,j.jsx)(CE,{size:14}),r.hidden?`Show in the list`:`Hide from the list`]}),r.providerSessionId||r.cwd?(0,j.jsx)(i.Separator,{}):null,r.providerSessionId?(0,j.jsxs)(i.Item,{onSelect:()=>void FE(r.providerSessionId,n,`Chat ID`),children:[(0,j.jsx)(wE,{size:14}),`Copy chat ID`]}):null,o?(0,j.jsxs)(i.Item,{onSelect:()=>void FE(o,n,`Resume command`),children:[(0,j.jsx)(wE,{size:14}),`Copy resume command`]}):null,r.providerSessionId?(0,j.jsxs)(i.Item,{onSelect:()=>void IE(t,r,n),children:[(0,j.jsx)(wE,{size:14}),`Full Download`]}):null,r.cwd?(0,j.jsxs)(i.Item,{onSelect:()=>void FE(r.cwd,n,`Folder path`),children:[(0,j.jsx)(wE,{size:14}),`Copy folder path`]}):null,r.cwd?(0,j.jsxs)(i.Sub,{children:[(0,j.jsxs)(i.SubTrigger,{className:`gap-2`,children:[(0,j.jsx)(sE,{size:14}),`Open folder in`]}),(0,j.jsx)(i.SubContent,{children:PE.map(({target:e,label:a})=>(0,j.jsx)(i.Item,{onSelect:()=>t.openFolder(r.cwd,e).catch(e=>n(e instanceof Error?e.message:String(e))),children:a},e))})]}):null]})}var RE=400;function zE(e,t){if(t){let n=t.replace(/\/+$/,``);for(let t of[n,`/private${n}`,n.replace(/^\/private(?=\/)/,``)])if(e.startsWith(`${t}/`))return e.slice(t.length+1)}return rE(e)}function BE({edit:e}){let t=[];if(e.diff)for(let n of e.diff.split(`
69
69
  `))n.startsWith(`@@`)?t.push({kind:`hunk`,text:n}):n.startsWith(`+`)?t.push({kind:`add`,text:n}):n.startsWith(`-`)?t.push({kind:`del`,text:n}):n!==``&&t.push({kind:`ctx`,text:n});else{if(e.removed)for(let n of e.removed.split(`
70
70
  `))t.push({kind:`del`,text:`-${n}`});if(e.added)for(let n of e.added.split(`
71
- `))t.push({kind:`add`,text:`+${n}`})}if(t.length===0)return(0,j.jsx)(`p`,{className:`text-[12px] text-muted-foreground`,children:e.failed?`This change failed.`:`The agent didn't record the text of this change.`});let n=t.slice(0,RE);return(0,j.jsxs)(j.Fragment,{children:[e.failed?(0,j.jsx)(`p`,{className:`mb-1 text-[11.5px] text-destructive`,children:`This change failed and was not applied.`}):null,(0,j.jsx)(`pre`,{className:X(`cs-diff`,e.failed&&`opacity-60`),children:n.map((e,t)=>(0,j.jsx)(`span`,{className:X(`cs-diff__line`,e.kind!==`ctx`&&`cs-diff__line--${e.kind}`),children:e.text||` `},t))}),t.length>RE?(0,j.jsxs)(`p`,{className:`mt-1 text-[11.5px] text-muted-foreground`,children:[`Showing the first `,RE,` of `,t.length,` lines.`]}):null]})}function VE({file:e,cwd:t}){let[n,r]=(0,_.useState)(!1),i=NE(),a=BT(e),o=zE(e.path,t),s={created:`New`,edited:`Edited`,deleted:`Deleted`,moved:`Moved`}[e.kind];return(0,j.jsxs)(`li`,{className:`border-b border-border`,children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-2 px-4 py-2`,children:[(0,j.jsxs)(`button`,{type:`button`,onClick:()=>r(e=>!e),"aria-expanded":n,className:`flex min-w-0 flex-1 items-center gap-2 text-left`,children:[(0,j.jsx)(DE,{size:13,className:X(`shrink-0 transition-transform`,!n&&`-rotate-90`)}),(0,j.jsx)(OE,{size:14,className:`shrink-0 text-muted-foreground`}),(0,j.jsx)(`span`,{className:`min-w-0 truncate text-[12.5px] font-medium`,title:e.path,children:o})]}),(0,j.jsx)(`span`,{className:`shrink-0 text-[11px] text-muted-foreground`,children:s}),(0,j.jsxs)(`span`,{className:`shrink-0 font-mono text-[11px]`,children:[a.added?(0,j.jsxs)(`span`,{className:`cs-count-add`,children:[`+`,a.added]}):null,` `,a.removed?(0,j.jsxs)(`span`,{className:`cs-count-del`,children:[`−`,a.removed]}):null]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void FE(e.path,i,`File path`),"aria-label":`Copy the path of ${o}`,title:`Copy path`,children:(0,j.jsx)(OE,{size:12})})]}),n?(0,j.jsx)(`div`,{className:`space-y-3 px-4 pb-3`,children:e.edits.map((e,t)=>(0,j.jsx)(BE,{edit:e},`${e.toolCallId}-${t}`))}):null]})}function HE(e){return(0,_.useMemo)(()=>zT(e),[e])}function UE(e){return(0,j.jsxs)(`aside`,{className:`cs-changes`,"aria-label":`Files changed in this chat`,children:[(0,j.jsxs)(`div`,{className:`flex items-center justify-between border-b border-border px-4 py-3`,children:[(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-[13.5px] font-semibold`,children:`Files changed`}),(0,j.jsxs)(`p`,{className:`text-[11.5px] text-muted-foreground`,children:[e.files.length===0?`Nothing yet`:`${e.files.length} ${e.files.length===1?`file`:`files`}, from this chat's own record`,e.truncated?` · only the part of the chat shown here`:``]})]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:e.onClose,"aria-label":`Close files changed`,children:(0,j.jsx)(kE,{size:14})})]}),e.files.length===0?(0,j.jsx)(`p`,{className:`px-4 py-6 text-center text-[12.5px] leading-5 text-muted-foreground`,children:`The agent hasn't written any files in this chat yet.`}):(0,j.jsx)(`ul`,{className:`min-h-0 flex-1 overflow-y-auto`,children:e.files.map(t=>(0,j.jsx)(VE,{file:t,cwd:e.cwd},t.path))})]})}function WE(e){let t=e?.defaultModel;return t?t.source===`settings`?`${t.id}, from your settings`:`${t.id}, the built-in default`:`${e?.label??`the agent`}'s own default`}function GE(e,t){let n=e.model??t?.defaultModel?.id??`Default model`,r=e.effort??t?.defaultEffort??null;return r?`${n} · ${r}`:n}function KE(e){let[t,n]=(0,_.useState)(!1),[r,i]=(0,_.useState)(``),a=e.status?.models??[],o=e.status?.efforts??[],s=e.value.model===null||a.some(t=>t.id===e.value.model),c=t=>e.onChange({...e.value,...t});return(0,j.jsxs)(US,{open:t,onOpenChange:n,children:[(0,j.jsx)(WS,{asChild:!0,children:(0,j.jsxs)(`button`,{type:`button`,disabled:e.disabled,className:X(e.appearance===`field`?`cs-model-field`:`cs-chip-button`),"aria-label":`Model and effort: ${GE(e.value,e.status)}. Change`,title:`Model and effort`,children:[(0,j.jsx)(`span`,{className:`truncate`,children:GE(e.value,e.status)}),(0,j.jsx)(DE,{size:12,className:`shrink-0`})]})}),(0,j.jsxs)(qS,{align:`start`,className:`w-[300px] p-0`,children:[(0,j.jsxs)(`div`,{className:`max-h-[320px] overflow-y-auto p-1`,role:`listbox`,"aria-label":`Model`,children:[(0,j.jsx)(`p`,{className:`px-2 pb-1 pt-1.5 text-[11px] font-medium uppercase tracking-[0.05em] text-muted-foreground`,children:`Model`}),(0,j.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":e.value.model===null,className:`cs-option`,onClick:()=>c({model:null}),children:[(0,j.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,j.jsx)(`span`,{className:`block text-[13px]`,children:`Default`}),(0,j.jsx)(`span`,{className:`block truncate text-[11.5px] text-muted-foreground`,children:WE(e.status)})]}),e.value.model===null?(0,j.jsx)(cE,{size:14}):null]}),a.map(t=>(0,j.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":e.value.model===t.id,className:`cs-option`,onClick:()=>c({model:t.id}),children:[(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[13px]`,children:t.label}),e.value.model===t.id?(0,j.jsx)(cE,{size:14}):null]},t.id)),s?null:(0,j.jsxs)(`div`,{className:`cs-option`,"aria-selected":`true`,role:`option`,children:[(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[13px]`,children:e.value.model}),(0,j.jsx)(cE,{size:14})]}),(0,j.jsx)(`div`,{className:`flex gap-1 px-1 pb-1 pt-1.5`,children:(0,j.jsx)(`input`,{value:r,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),r.trim()&&(c({model:r.trim()}),i(``)))},placeholder:`Another model name…`,"aria-label":`Another model name`,spellCheck:!1,className:`cs-option-input`})})]}),o.length>0?(0,j.jsxs)(`div`,{className:`border-t border-border p-2`,children:[(0,j.jsx)(`p`,{className:`px-1 pb-1.5 text-[11px] font-medium uppercase tracking-[0.05em] text-muted-foreground`,children:`Thinking effort`}),(0,j.jsx)(`div`,{className:`flex flex-wrap gap-1`,role:`radiogroup`,"aria-label":`Thinking effort`,children:[null,...o].map(t=>(0,j.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":e.value.effort===t,className:X(`cs-seg`,e.value.effort===t&&`cs-seg--on`),onClick:()=>c({effort:t}),title:t===null?`Default${e.status?.defaultEffort?` (${e.status.defaultEffort}, from your settings)`:``}`:void 0,children:t===null?`Default`:t},t??`default`))})]}):null]})]})}var qE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function JE(e){return typeof e==`string`&&qE.test(e)}var YE=[`subject`,`character`,`style`,`mask`,`edit_target`,`composition_control`],XE=[`first_frame`,`last_frame`,`asset`,`style`];[...YE,...XE];var ZE={subject:{label:`Subject`,ask:`Subject reference`,explanation:`Keeps this exact product or object recognisable: shape, materials, labels.`},character:{label:`Character`,ask:`Character reference`,explanation:`Keeps this person or character looking the same.`},style:{label:`Style`,ask:`Style reference`,explanation:`Borrows only the look (colours, lighting, medium), never the content.`},mask:{label:`Mask`,ask:`Mask`,explanation:`Marks the only area of the edited image that is allowed to change.`},edit_target:{label:`Edit this`,ask:`Image to edit`,explanation:`The image being edited; everything not asked for stays the same.`},composition_control:{label:`Composition`,ask:`Composition reference`,explanation:`Follows its layout, pose and geometry, not its appearance.`},first_frame:{label:`First frame`,ask:`First frame`,explanation:`The video starts on exactly this image.`},last_frame:{label:`Last frame`,ask:`Last frame`,explanation:`The video ends on exactly this image (needs a first frame).`},asset:{label:`Asset`,ask:`Asset reference`,explanation:`Keeps this product, object or character recognisable throughout the clip.`},extend:{label:`Extend`,ask:`Video to extend`,explanation:`The new clip continues this video from its last frame.`},restyle:{label:`Restyle`,ask:`Reference video`,explanation:`Re-renders this video: same motion and timing, a new look.`},lip_sync:{label:`Lip sync`,ask:`Lip-sync audio`,explanation:`The speech the on-screen face mouths, word for word.`}};function QE(e){return typeof e==`string`&&e in ZE}var $E=[`image`,`video`,`audio`,`document`,`youtube`];function eD(e){return typeof e.control?.key==`string`&&e.control.key.length>0}function tD(e){let t=[],n=[];for(let r of e)(eD(r)?n:t).push(r);return{content:t,settings:n}}function nD(e){let{content:t,settings:n}=tD(e);if(n.length===0)return e;let r=[...t,...n];return r.every((t,n)=>t===e[n])?e:r}function rD(e){let t=e.customComponent?.type,n=e.customComponent?.imageRole;return(t===`image`||t===`video`||t===`audio`)&&QE(n)?n:null}function iD(e,t=de){let n=(e.label??``).trim();if(n!==``)return n;let r=rD(e);return r?ZE[r].ask:t(e.name)||e.name}function aD(e){if(e.helpText)return e.helpText;let t=rD(e);return t?ZE[t].explanation:void 0}function oD(e,t=de){return nD([...e??[]]).map(e=>{let n=e.customComponent?.type??`textarea`,r=e.customComponent?.options??void 0;return{name:e.name,label:iD(e,t),hint:aD(e),group:eD(e)?`settings`:`content`,required:!!e.required,component:n,options:r&&r.length>0?r:void 0,mediaKind:$E.includes(n)?n:null,role:rD(e),controlKey:eD(e)?e.control?.key??null:null,variable:e}})}function sD(e){return e}function cD(e){return`mandate:${e}`}function lD(e){return e.startsWith(`mandate:`)}var uD=[{value:`updated-desc`,label:`Recent`},{value:`created-desc`,label:`Created`},{value:`name-asc`,label:`A → Z`},{value:`name-desc`,label:`Z → A`},{value:`category-asc`,label:`Category`}],dD=[`active`,`both`,`archived`],fD=[{value:`active`,label:`Hide archived`,chip:`Archive`},{value:`both`,label:`Show all`,chip:`All + archived`},{value:`archived`,label:`Archived only`,chip:`Archived only`}];function pD(e){let t=dD.indexOf(e);return t<0?dD[0]:dD[(t+1)%dD.length]}function mD(e){return e===`active`||e===`archived`||e===`both`}var hD={tab:`mine`,sortBy:`updated-desc`,searchTerm:``,includedCats:[],includedTags:[],favFilter:`all`,archFilter:`active`,accessFilter:`any`,favoritesFirst:!0,listPage:1,sharedPage:1,serverMatchedIds:[],isServerSearching:!1,deepSearch:!1},gD=class extends Error{name=`AgentCatalogConfigError`;code;remedy;constructor(e){super(`${e.message} — ${e.remedy}`),this.code=e.code,this.remedy=e.remedy}},_D={publicTab:`Public`,systemBadge:`system`,archivedBadge:`Archived`,searchPlaceholder:`Search agents...`,currentAgentHeading:`Current agent`,emptyDefault:`No agents found`,emptyShared:`No shared agents found`,emptySystem:`No system agents found`,emptySignedOut:`Sign in to see your agents`,loading:`Loading...`,triggerFallback:`Agents`,triggerResolving:`Naming the agent…`,triggerUnnameable:`An agent this list cannot name`,hoverHint:`Hover an agent to preview its details, or click to select.`};function vD(e){return e.ok===!1}function yD(){let e=!1;return t=>{e||(e=!0,console.error("[associations] no errorSink port bound — using the package default. Bind the `errorSink` port on createAssociationsStore({ errorSink }) to route these into your diagnostics surface; until then they only reach the console.")),console.error(`[associations] ${t.code}: ${t.message}`,t.context??{})}}var bD={access_delta_probe:{token:`access_delta_probe`,schema:`iam`,table:`access_delta_probe`,label:`Access Delta Probe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},access_delta_run:{token:`access_delta_run`,schema:`iam`,table:`access_delta_run`,label:`Access Delta Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},access_request:{token:`access_request`,schema:`iam`,table:`access_requests`,label:`Access Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`System`,referencePickable:!1,titleColumn:null,contentRole:`utility`,referenceCategory:null},account_addon:{token:`account_addon`,schema:`billing`,table:`account_addon`,label:`Account Addon`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},acquisition_block:{token:`acquisition_block`,schema:`platform`,table:`acquisition_block`,label:`Acquisition Block`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},activity:{token:`activity`,schema:`platform`,table:`activity_log`,label:`Activity Log Entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_audit_log:{token:`admin_audit_log`,schema:`admin`,table:`admin_audit_log`,label:`Admin audit log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_email_log:{token:`admin_email_log`,schema:`admin`,table:`admin_email_logs`,label:`Admin email log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_markdown_sample:{token:`admin_markdown_sample`,schema:`admin`,table:`admin_markdown_samples`,label:`Admin markdown sample`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_user:{token:`admin_user`,schema:`admin`,table:`admins`,label:`Platform admin`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admission_config:{token:`admission_config`,schema:`content_ir`,table:`admission_config`,label:`Admission Config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent:{token:`agent`,schema:`agent`,table:`definition`,label:`Agent`,baseTier:1,isComponent:!1,isModule:!0,isListed:!0,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`name`,contentRole:`utility`,referenceCategory:null},agent_card:{token:`agent_card`,schema:`agent`,table:`card`,label:`Agent Card`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_definition_version:{token:`agent_definition_version`,schema:`agent`,table:`definition_version`,label:`Agent Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},agent_drift_alert:{token:`agent_drift_alert`,schema:`agent`,table:`drift_alert`,label:`Agent Drift Alert`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_exemplar:{token:`agent_exemplar`,schema:`agent`,table:`exemplar`,label:`Agent Test Case`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_mandate_note:{token:`agent_mandate_note`,schema:`agent`,table:`mandate_note`,label:`Mandate Note`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_prompt_remediation:{token:`agent_prompt_remediation`,schema:`agent`,table:`prompt_remediation`,label:`Agent Prompt Remediation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_run:{token:`agent_run`,schema:`chat`,table:`agent_run`,label:`Agent Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_run_stage:{token:`agent_run_stage`,schema:`chat`,table:`agent_run_stage`,label:`Agent Run Stage`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_schedule:{token:`agent_schedule`,schema:`scheduler`,table:`agent_schedule`,label:`Agent Schedule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_schedule_claim:{token:`agent_schedule_claim`,schema:`scheduler`,table:`agent_schedule_claim`,label:`Agent Schedule Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_shortcut:{token:`agent_shortcut`,schema:`agent`,table:`shortcut`,label:`Agent Shortcut`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},agent_surface_binding:{token:`agent_surface_binding`,schema:`platform`,table:`associations`,label:`Agent Surface Binding`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},agent_template:{token:`agent_template`,schema:`agent`,table:`template`,label:`Agent Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},agent_term_list:{token:`agent_term_list`,schema:`agent`,table:`term_list`,label:`Term List`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},agent_usage:{token:`agent_usage`,schema:`agent`,table:`usage`,label:`Agent Usage`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_api:{token:`ai_api`,schema:`ai`,table:`api`,label:`AI API`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_calls:{token:`ai_calls`,schema:`runtime`,table:`_ai_calls`,label:`AI model calls`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_endpoint:{token:`ai_endpoint`,schema:`ai`,table:`endpoint`,label:`AI Endpoint`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},ai_model:{token:`ai_model`,schema:`ai`,table:`model_definition`,label:`AI Model`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_model_alias:{token:`ai_model_alias`,schema:`ai`,table:`model_alias`,label:`AI Model Alias`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_offering:{token:`ai_offering`,schema:`ai`,table:`offering`,label:`AI Offering`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_provider:{token:`ai_provider`,schema:`ai`,table:`provider`,label:`AI Provider`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_setting:{token:`ai_setting`,schema:`ai`,table:`setting`,label:`AI Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`key`,contentRole:null,referenceCategory:null},ai_setting_profile:{token:`ai_setting_profile`,schema:`ai`,table:`setting_profile`,label:`Settings Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`AI catalog`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_translation_cell:{token:`ai_translation_cell`,schema:`ai`,table:`translation_cell`,label:`Translation Cell`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`AI catalog`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_usage_executions:{token:`ai_usage_executions`,schema:`runtime`,table:`_ai_usage_calls`,label:`AI usage by execution`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_usage_hourly:{token:`ai_usage_hourly`,schema:`runtime`,table:`_ai_usage_hourly`,label:`AI usage by hour`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_usage_hourly_watermark:{token:`ai_usage_hourly_watermark`,schema:`runtime`,table:`_ai_usage_hourly_watermark`,label:`AI usage counted through`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},analysis_result:{token:`analysis_result`,schema:`files`,table:`analysis_result`,label:`Analysis Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_form:{token:`anon_form`,schema:`custom`,table:`anon_form`,label:`Public form`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},anon_function_birth_grandfather:{token:`anon_function_birth_grandfather`,schema:`platform`,table:`anon_function_birth_grandfather`,label:`Anon Function Birth Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_hit:{token:`anon_hit`,schema:`custom`,table:`anon_hit`,label:`Anonymous rate window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_inbound:{token:`anon_inbound`,schema:`custom`,table:`anon_inbound`,label:`Inbound address`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_replay:{token:`anon_replay`,schema:`custom`,table:`anon_replay`,label:`Offline capture ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_submission:{token:`anon_submission`,schema:`custom`,table:`anon_submission`,label:`Quarantined submission`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_token:{token:`anon_token`,schema:`custom`,table:`anon_token`,label:`Embed token`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},api_field_warning:{token:`api_field_warning`,schema:`ops`,table:`api_field_warnings`,label:`API field warning`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},api_request_log:{token:`api_request_log`,schema:`ops`,table:`api_request_log`,label:`API request log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app:{token:`app`,schema:`app`,table:`definition`,label:`App`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!0,titleColumn:`name`,contentRole:`utility`,referenceCategory:null},app_config:{token:`app_config`,schema:`public`,table:`app_config`,label:`App config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_config_history:{token:`app_config_history`,schema:`public`,table:`app_config_history`,label:`App Config History`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_definition_version:{token:`app_definition_version`,schema:`app`,table:`definition_version`,label:`App Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},app_error:{token:`app_error`,schema:`app`,table:`error`,label:`App Error`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_execution:{token:`app_execution`,schema:`app`,table:`execution`,label:`App Execution`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_instance:{token:`app_instance`,schema:`public`,table:`app_instances`,label:`App Instance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_log:{token:`app_log`,schema:`ops`,table:`app_log`,label:`App Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_log_muted_pattern:{token:`app_log_muted_pattern`,schema:`ops`,table:`app_log_muted_pattern`,label:`Muted log pattern`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_log_norm_exception:{token:`app_log_norm_exception`,schema:`ops`,table:`app_log_norm_exception`,label:`Log normalisation exception`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_rate_limit:{token:`app_rate_limit`,schema:`app`,table:`rate_limit`,label:`App Rate Limit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_setting:{token:`app_setting`,schema:`public`,table:`app_settings`,label:`App Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_sync_status:{token:`app_sync_status`,schema:`public`,table:`app_sync_status`,label:`App Sync Status`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},approach:{token:`approach`,schema:`platform`,table:`approach`,label:`Approach`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},artifact:{token:`artifact`,schema:`chat`,table:`artifact`,label:`Artifact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},assessment:{token:`assessment`,schema:`education`,table:`assessment`,label:`Assessment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},assessment_item:{token:`assessment_item`,schema:`education`,table:`assessment_item`,label:`Assessment Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assessment_result:{token:`assessment_result`,schema:`education`,table:`assessment_result`,label:`Assessment Result`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assignment_session:{token:`assignment_session`,schema:`assignment`,table:`session`,label:`Assignment session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assist:{token:`assist`,schema:`platform`,table:`assists`,label:`Assist`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`platform`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},assist_producer_policy:{token:`assist_producer_policy`,schema:`platform`,table:`assist_producer_policy`,label:`Assist producer policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assist_producer_policy_history:{token:`assist_producer_policy_history`,schema:`platform`,table:`assist_producer_policy_history`,label:`Assist Producer Policy History`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},association_type:{token:`association_type`,schema:`platform`,table:`association_types`,label:`Association type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assurance_level:{token:`assurance_level`,schema:`platform`,table:`assurance_level`,label:`Assurance level`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},attempt:{token:`attempt`,schema:`assignment`,table:`attempt`,label:`Attempt`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_broken_functions:{token:`audit_broken_functions`,schema:`audit`,table:`broken_functions`,label:`Broken functions`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_canonical_findings:{token:`audit_canonical_findings`,schema:`audit`,table:`canonical_findings`,label:`Canonical findings`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_exemption:{token:`audit_exemption`,schema:`meta`,table:`audit_exemption`,label:`Audit exemption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_function_deps:{token:`audit_function_deps`,schema:`audit`,table:`function_deps`,label:`Function dependencies`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_function_runtime_probe:{token:`audit_function_runtime_probe`,schema:`audit`,table:`function_runtime_probe`,label:`Function runtime probe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_m2m_candidates:{token:`audit_m2m_candidates`,schema:`audit`,table:`m2m_candidates`,label:`M2M candidates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_refresh_log:{token:`audit_refresh_log`,schema:`audit`,table:`refresh_log`,label:`Audit refresh log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_stale_registry:{token:`audit_stale_registry`,schema:`audit`,table:`stale_registry`,label:`Stale registry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_unregistered_candidates:{token:`audit_unregistered_candidates`,schema:`audit`,table:`unregistered_candidates`,label:`Unregistered candidates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},base_entity_template:{token:`base_entity_template`,schema:`platform`,table:`_base_entity`,label:`Base entity template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},batch_cost_event:{token:`batch_cost_event`,schema:`batch`,table:`cost_event`,label:`Batch Cost Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},batch_provider_batch:{token:`batch_provider_batch`,schema:`batch`,table:`provider_batch`,label:`Provider Batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},batch_work_item:{token:`batch_work_item`,schema:`batch`,table:`work_item`,label:`Batch Work Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_capability:{token:`billing_capability`,schema:`billing`,table:`capability`,label:`Billing capability`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_capability_limit:{token:`billing_capability_limit`,schema:`billing`,table:`capability_limit`,label:`Billing capability limit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_connect_account:{token:`billing_connect_account`,schema:`billing`,table:`connect_account`,label:`Billing connect account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_coupon:{token:`billing_coupon`,schema:`billing`,table:`coupon`,label:`Coupon`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_coupon_redemption:{token:`billing_coupon_redemption`,schema:`billing`,table:`coupon_redemption`,label:`Coupon redemption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_customer:{token:`billing_customer`,schema:`billing`,table:`customer`,label:`Billing customer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_free_period_grant:{token:`billing_free_period_grant`,schema:`billing`,table:`free_period_grant`,label:`Free period grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_plan:{token:`billing_plan`,schema:`billing`,table:`plan`,label:`Billing plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_plan_limit:{token:`billing_plan_limit`,schema:`billing`,table:`plan_limit`,label:`Billing plan limit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_price:{token:`billing_price`,schema:`billing`,table:`price`,label:`Billing price`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_product:{token:`billing_product`,schema:`billing`,table:`product`,label:`Billing product`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_spend_approval:{token:`billing_spend_approval`,schema:`billing`,table:`spend_approval`,label:`Spend Approval`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_spend_guardrail:{token:`billing_spend_guardrail`,schema:`billing`,table:`spend_guardrail`,label:`Spend Guardrail`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_stripe_event:{token:`billing_stripe_event`,schema:`billing`,table:`stripe_event`,label:`Stripe webhook event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_subscription:{token:`billing_subscription`,schema:`billing`,table:`subscription`,label:`Billing subscription`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_usage_ledger:{token:`billing_usage_ledger`,schema:`billing`,table:`usage_ledger`,label:`Usage ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_usage_reset:{token:`billing_usage_reset`,schema:`billing`,table:`usage_reset`,label:`Usage reset`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_user_plan:{token:`billing_user_plan`,schema:`billing`,table:`user_plan`,label:`User plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},board:{token:`board`,schema:`projects`,table:`boards`,label:`Board`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_account_binding:{token:`browser_account_binding`,schema:`browser`,table:`account_binding`,label:`Browser Account Binding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_action_event:{token:`browser_action_event`,schema:`browser`,table:`action_event`,label:`Browser Action Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_authenticator_window:{token:`browser_authenticator_window`,schema:`browser`,table:`authenticator_window`,label:`Browser Authenticator Window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_capture:{token:`browser_capture`,schema:`browser`,table:`capture`,label:`Browser Capture`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_control_request:{token:`browser_control_request`,schema:`browser`,table:`control_request`,label:`Browser Control Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_handoff:{token:`browser_handoff`,schema:`browser`,table:`handoff`,label:`Browser Handoff`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_login_attempt:{token:`browser_login_attempt`,schema:`browser`,table:`login_attempt`,label:`Browser Login Attempt`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_login_recipe:{token:`browser_login_recipe`,schema:`browser`,table:`login_recipe`,label:`Browser Login Recipe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_profile:{token:`browser_profile`,schema:`browser`,table:`profile`,label:`Cloud Browser Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_profile_checkpoint:{token:`browser_profile_checkpoint`,schema:`browser`,table:`profile_checkpoint`,label:`Browser Profile Checkpoint`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_run:{token:`browser_run`,schema:`browser`,table:`run`,label:`Cloud Browser Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_site_observation:{token:`browser_site_observation`,schema:`browser`,table:`site_observation`,label:`Browser Site Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_site_policy:{token:`browser_site_policy`,schema:`browser`,table:`site_policy`,label:`Browser Site Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_stream_ticket:{token:`browser_stream_ticket`,schema:`browser`,table:`stream_ticket`,label:`Browser Stream Ticket`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},build_lock:{token:`build_lock`,schema:`campaign_watch`,table:`build_lock`,label:`Build Lock`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},calendar_event:{token:`calendar_event`,schema:`communication`,table:`calendar_event`,label:`Calendar event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},campaign_watch_ramp_gate_run:{token:`campaign_watch_ramp_gate_run`,schema:`campaign_watch`,table:`ramp_gate_run`,label:`Ramp gate run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},campaign_watch_switch_outbox:{token:`campaign_watch_switch_outbox`,schema:`campaign_watch`,table:`switch_outbox`,label:`Switch outbox`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},campaign_watch_switch_window:{token:`campaign_watch_switch_window`,schema:`campaign_watch`,table:`switch_window`,label:`Switch window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_comment:{token:`canvas_comment`,schema:`canvas`,table:`canvas_comments`,label:`Canvas Comment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},canvas_comment_like:{token:`canvas_comment_like`,schema:`canvas`,table:`canvas_comment_likes`,label:`Canvas Comment Like`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_item:{token:`canvas_item`,schema:`canvas`,table:`canvas_items`,label:`Canvas Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},canvas_item_state:{token:`canvas_item_state`,schema:`canvas`,table:`canvas_item_state`,label:`Canvas Item State`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_like:{token:`canvas_like`,schema:`canvas`,table:`canvas_likes`,label:`Canvas Like`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_score:{token:`canvas_score`,schema:`canvas`,table:`canvas_scores`,label:`Canvas Score`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},canvas_view:{token:`canvas_view`,schema:`canvas`,table:`canvas_views`,label:`Canvas View`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},capture_window:{token:`capture_window`,schema:`history`,table:`capture_window`,label:`Capture Window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},carrying_rule:{token:`carrying_rule`,schema:`custom`,table:`carrying_rule`,label:`Carrying Rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},catalog_entries_history:{token:`catalog_entries_history`,schema:`public`,table:`catalog_entries_history`,label:`Catalog Entries History`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},catalog_entry:{token:`catalog_entry`,schema:`public`,table:`catalog_entries`,label:`Catalog entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},category:{token:`category`,schema:`platform`,table:`categories`,label:`Category`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},change_type_default:{token:`change_type_default`,schema:`platform`,table:`change_type_default`,label:`Change type default`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},chat_user_usage_summary:{token:`chat_user_usage_summary`,schema:`chat`,table:`user_usage_summary`,label:`Chat usage summary`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},citations:{token:`citations`,schema:`legal`,table:`citations`,label:`Citations`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},class_purchase:{token:`class_purchase`,schema:`billing`,table:`class_purchase`,label:`Class Purchase`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},classifier_revision_ledger:{token:`classifier_revision_ledger`,schema:`seo`,table:`classifier_revision_ledger`,label:`Classifier Revision Ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},client_callable_door:{token:`client_callable_door`,schema:`platform`,table:`client_callable_door`,label:`Client Callable Door`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},client_callable_door_retirement:{token:`client_callable_door_retirement`,schema:`platform`,table:`client_callable_door_retirement`,label:`Client Callable Door Retirement`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},client_excluded_column_unregistered:{token:`client_excluded_column_unregistered`,schema:`platform`,table:`client_excluded_column_unregistered`,label:`Client Excluded Column Unregistered`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cmp_entry:{token:`cmp_entry`,schema:`agent`,table:`cmp_comparison_entries`,label:`Comparison Entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cmp_feedback:{token:`cmp_feedback`,schema:`agent`,table:`cmp_response_feedback`,label:`Comparison Response Feedback`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},code_file:{token:`code_file`,schema:`code`,table:`code_files`,label:`Code File`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},code_folder:{token:`code_folder`,schema:`code`,table:`code_file_folders`,label:`Code Folder`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},code_repository:{token:`code_repository`,schema:`code`,table:`code_repositories`,label:`Code Repository`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},coding_session:{token:`coding_session`,schema:`chat`,table:`coding_session`,label:`Coding Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},coding_session_entry:{token:`coding_session_entry`,schema:`chat`,table:`coding_session_entry`,label:`Coding Session Entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},comment:{token:`comment`,schema:`platform`,table:`comments`,label:`Comment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_allocation:{token:`commerce_asset_allocation`,schema:`commerce`,table:`asset_allocation`,label:`Asset Allocation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_grading:{token:`commerce_asset_grading`,schema:`commerce`,table:`asset_grading`,label:`Asset Grading`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_identifier:{token:`commerce_asset_identifier`,schema:`commerce`,table:`asset_identifier`,label:`Asset Identifier`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_lot_event:{token:`commerce_asset_lot_event`,schema:`commerce`,table:`asset_lot_event`,label:`Asset Lot Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_mandate_result:{token:`commerce_asset_mandate_result`,schema:`commerce`,table:`asset_mandate_result`,label:`Asset Mandate Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_price_factor:{token:`commerce_asset_price_factor`,schema:`commerce`,table:`asset_price_factor`,label:`Asset Price Factor`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_reshoot_request:{token:`commerce_asset_reshoot_request`,schema:`commerce`,table:`asset_reshoot_request`,label:`Asset Reshoot Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_review:{token:`commerce_asset_review`,schema:`commerce`,table:`asset_review`,label:`Asset Review`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_unknown:{token:`commerce_asset_unknown`,schema:`commerce`,table:`asset_unknown`,label:`Asset Unknown`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_certified_printer:{token:`commerce_certified_printer`,schema:`commerce`,table:`certified_printer`,label:`Certified Printer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_cloud_sync_connection:{token:`commerce_cloud_sync_connection`,schema:`commerce`,table:`cloud_sync_connection`,label:`Cloud Sync Connection`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_business_policy:{token:`commerce_ebay_business_policy`,schema:`commerce`,table:`ebay_business_policy`,label:`eBay Business Policy`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_category:{token:`commerce_ebay_category`,schema:`commerce`,table:`ebay_category`,label:`eBay Category`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_category_aspect:{token:`commerce_ebay_category_aspect`,schema:`commerce`,table:`ebay_category_aspect`,label:`eBay Category Aspect`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_category_tree:{token:`commerce_ebay_category_tree`,schema:`commerce`,table:`ebay_category_tree`,label:`eBay Category Tree`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_custom_policy:{token:`commerce_ebay_custom_policy`,schema:`commerce`,table:`ebay_custom_policy`,label:`eBay Custom Policy`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_item:{token:`commerce_ebay_inventory_item`,schema:`commerce`,table:`ebay_inventory_item`,label:`eBay Inventory Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_item_group:{token:`commerce_ebay_inventory_item_group`,schema:`commerce`,table:`ebay_inventory_item_group`,label:`eBay Inventory Item Group`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_item_group_member:{token:`commerce_ebay_inventory_item_group_member`,schema:`commerce`,table:`ebay_inventory_item_group_member`,label:`eBay Inventory Item Group Member`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_location:{token:`commerce_ebay_inventory_location`,schema:`commerce`,table:`ebay_inventory_location`,label:`eBay Inventory Location`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_listing:{token:`commerce_ebay_listing`,schema:`commerce`,table:`ebay_listing`,label:`eBay Listing`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_marketplace_policy:{token:`commerce_ebay_marketplace_policy`,schema:`commerce`,table:`ebay_marketplace_policy`,label:`eBay Marketplace Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_media_asset:{token:`commerce_ebay_media_asset`,schema:`commerce`,table:`ebay_media_asset`,label:`eBay Media Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_destination:{token:`commerce_ebay_notification_destination`,schema:`commerce`,table:`ebay_notification_destination`,label:`eBay Notification Destination`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_event:{token:`commerce_ebay_notification_event`,schema:`commerce`,table:`ebay_notification_event`,label:`eBay Notification Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_subscription:{token:`commerce_ebay_notification_subscription`,schema:`commerce`,table:`ebay_notification_subscription`,label:`eBay Notification Subscription`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_topic:{token:`commerce_ebay_notification_topic`,schema:`commerce`,table:`ebay_notification_topic`,label:`eBay Notification Topic`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_offer:{token:`commerce_ebay_offer`,schema:`commerce`,table:`ebay_offer`,label:`eBay Offer`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_order:{token:`commerce_ebay_order`,schema:`commerce`,table:`ebay_order`,label:`eBay Order`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_order_line_item:{token:`commerce_ebay_order_line_item`,schema:`commerce`,table:`ebay_order_line_item`,label:`eBay Order Line Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_shipping_fulfillment:{token:`commerce_ebay_shipping_fulfillment`,schema:`commerce`,table:`ebay_shipping_fulfillment`,label:`eBay Shipping Fulfillment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_store_category:{token:`commerce_ebay_store_category`,schema:`commerce`,table:`ebay_store_category`,label:`eBay Store Category`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_human_correction:{token:`commerce_human_correction`,schema:`commerce`,table:`human_correction`,label:`Human Correction`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_intake_artifact:{token:`commerce_intake_artifact`,schema:`commerce`,table:`intake_artifact`,label:`Intake Artifact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_intake_asset:{token:`commerce_intake_asset`,schema:`commerce`,table:`intake_asset`,label:`Intake Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_intake_batch:{token:`commerce_intake_batch`,schema:`commerce`,table:`intake_batch`,label:`Intake Batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_label_batch:{token:`commerce_label_batch`,schema:`commerce`,table:`label_batch`,label:`Label Batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_label_code:{token:`commerce_label_code`,schema:`commerce`,table:`label_code`,label:`Label Code`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_account:{token:`commerce_marketplace_account`,schema:`commerce`,table:`marketplace_account`,label:`Marketplace Account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_account_deletion_audit:{token:`commerce_marketplace_account_deletion_audit`,schema:`commerce`,table:`marketplace_account_deletion_audit`,label:`Marketplace Account Deletion Audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_api_call:{token:`commerce_marketplace_api_call`,schema:`commerce`,table:`marketplace_api_call`,label:`Marketplace API Call`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_rate_budget:{token:`commerce_marketplace_rate_budget`,schema:`commerce`,table:`marketplace_rate_budget`,label:`Marketplace Rate Budget`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_site:{token:`commerce_marketplace_site`,schema:`commerce`,table:`marketplace_site`,label:`Marketplace Site`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_sync_run:{token:`commerce_marketplace_sync_run`,schema:`commerce`,table:`marketplace_sync_run`,label:`Marketplace Sync Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_prediction_outcome:{token:`commerce_prediction_outcome`,schema:`commerce`,table:`prediction_outcome`,label:`Prediction Outcome`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_print_order:{token:`commerce_print_order`,schema:`commerce`,table:`print_order`,label:`Print Order`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product:{token:`commerce_product`,schema:`commerce`,table:`product`,label:`Product`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product_channel_ref:{token:`commerce_product_channel_ref`,schema:`commerce`,table:`product_channel_ref`,label:`Product Channel Reference`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product_media:{token:`commerce_product_media`,schema:`commerce`,table:`product_media`,label:`Product Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product_variant:{token:`commerce_product_variant`,schema:`commerce`,table:`product_variant`,label:`Product Variant`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_recall_audit:{token:`commerce_recall_audit`,schema:`commerce`,table:`recall_audit`,label:`Recall Audit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},communication_calendar_selected_snapshot_state:{token:`communication_calendar_selected_snapshot_state`,schema:`communication`,table:`calendar_selected_snapshot_state`,label:`Calendar snapshot state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},communication_channel_readiness:{token:`communication_channel_readiness`,schema:`communication`,table:`channel_readiness`,label:`Channel readiness`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},comparison_set:{token:`comparison_set`,schema:`agent`,table:`cmp_comparison_sets`,label:`Comparison Set`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},contact_medium:{token:`contact_medium`,schema:`crm`,table:`contact_medium`,label:`Contact Medium`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_value`,contentRole:`utility`,referenceCategory:null},contact_submission:{token:`contact_submission`,schema:`communication`,table:`contact_submissions`,label:`Contact Submission`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},content_certification:{token:`content_certification`,schema:`education`,table:`content_certification`,label:`Content certification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind:{token:`content_ir_kind`,schema:`content_ir`,table:`kind_definition`,label:`Content-IR Kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},content_ir_kind_component:{token:`content_ir_kind_component`,schema:`content_ir`,table:`kind_component`,label:`Kind Component`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_component_incident:{token:`content_ir_kind_component_incident`,schema:`content_ir`,table:`kind_component_incident`,label:`Kind Component Incident`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_conformance:{token:`content_ir_kind_conformance`,schema:`content_ir`,table:`kind_conformance`,label:`Shape Conformance`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_edge:{token:`content_ir_kind_edge`,schema:`content_ir`,table:`kind_edge`,label:`Content-IR Kind Edge`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_example:{token:`content_ir_kind_example`,schema:`content_ir`,table:`kind_example`,label:`Kind Example`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},content_ir_kind_instance:{token:`content_ir_kind_instance`,schema:`content_ir`,table:`kind_instance`,label:`Saved Result`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},content_ir_kind_surface:{token:`content_ir_kind_surface`,schema:`content_ir`,table:`kind_surface`,label:`Kind Surface`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_lane:{token:`content_lane`,schema:`iam`,table:`content_lane`,label:`Content Lane`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_access_log:{token:`context_access_log`,schema:`context`,table:`context_access_log`,label:`Context access log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_item:{token:`context_item`,schema:`context`,table:`context_items`,label:`Context Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},context_item_suggestion:{token:`context_item_suggestion`,schema:`rag`,table:`context_item_suggestions`,label:`Context Item Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_item_value:{token:`context_item_value`,schema:`context`,table:`context_item_values`,label:`Record Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_value_refs:{token:`context_value_refs`,schema:`context`,table:`context_value_refs`,label:`Context Value Refs`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},conversation:{token:`conversation`,schema:`chat`,table:`conversation`,label:`Conversation`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Outputs`,referencePickable:!0,titleColumn:`title`,contentRole:`destination`,referenceCategory:null},conversation_value:{token:`conversation_value`,schema:`chat`,table:`conversation_value`,label:`Conversation Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:`key`,contentRole:null,referenceCategory:null},courts:{token:`courts`,schema:`legal`,table:`courts`,label:`Courts`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},credential_attachment:{token:`credential_attachment`,schema:`users`,table:`credential_attachments`,label:`Credential attachment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},credential_item:{token:`credential_item`,schema:`users`,table:`credential_items`,label:`Credential item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},credential_mutation_receipt:{token:`credential_mutation_receipt`,schema:`users`,table:`credential_mutation_receipts`,label:`Credential Mutation Receipt`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_address:{token:`crm_address`,schema:`crm`,table:`address`,label:`Address`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},crm_affiliation:{token:`crm_affiliation`,schema:`crm`,table:`affiliation`,label:`Affiliation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},crm_blocklist_entry:{token:`crm_blocklist_entry`,schema:`crm`,table:`blocklist_entry`,label:`Blocklist Entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_contact_candidate:{token:`crm_contact_candidate`,schema:`crm`,table:`contact_candidate`,label:`Contact Candidate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_deal:{token:`crm_deal`,schema:`crm`,table:`deal`,label:`Deal`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},crm_deal_stage_event:{token:`crm_deal_stage_event`,schema:`crm`,table:`deal_stage_event`,label:`Deal Stage Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_enrichment_call:{token:`crm_enrichment_call`,schema:`crm`,table:`enrichment_call`,label:`Enrichment Call`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_interaction:{token:`crm_interaction`,schema:`crm`,table:`interaction`,label:`Interaction`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`subject`,contentRole:null,referenceCategory:null},crm_merge_candidate:{token:`crm_merge_candidate`,schema:`crm`,table:`merge_candidate`,label:`Merge Candidate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_outreach_list:{token:`crm_outreach_list`,schema:`crm`,table:`outreach_list`,label:`Outreach List`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},crm_outreach_list_member:{token:`crm_outreach_list_member`,schema:`crm`,table:`outreach_list_member`,label:`Outreach List Member`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_party_merge:{token:`crm_party_merge`,schema:`crm`,table:`party_merge`,label:`Party Merge`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_party_research:{token:`crm_party_research`,schema:`crm`,table:`party_research`,label:`Private contact research`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`CRM`,referencePickable:!1,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},crm_registry_ingest_run:{token:`crm_registry_ingest_run`,schema:`crm`,table:`registry_ingest_run`,label:`Registry Ingest Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_registry_source:{token:`crm_registry_source`,schema:`crm`,table:`registry_source`,label:`Registry Source`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_sending_claim:{token:`crm_sending_claim`,schema:`crm`,table:`sending_claim`,label:`Sending claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_sending_event:{token:`crm_sending_event`,schema:`crm`,table:`sending_event`,label:`Sending Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`subject`,contentRole:null,referenceCategory:null},crm_sending_identity:{token:`crm_sending_identity`,schema:`crm`,table:`sending_identity`,label:`Sending Identity`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_sending_identity_check:{token:`crm_sending_identity_check`,schema:`crm`,table:`sending_identity_check`,label:`Sending Check`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`check_kind`,contentRole:null,referenceCategory:null},crm_sending_policy:{token:`crm_sending_policy`,schema:`crm`,table:`sending_policy`,label:`Sending Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_agent_table_trust:{token:`custom_agent_table_trust`,schema:`custom`,table:`agent_table_trust`,label:`Agent table trust`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_agg_digest_checked:{token:`custom_agg_digest_checked`,schema:`custom`,table:`agg_digest_checked`,label:`Aggregate digest checked`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_entity_definition:{token:`custom_entity_definition`,schema:`platform`,table:`custom_entity_definition`,label:`Custom Object`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_field_definition:{token:`custom_field_definition`,schema:`platform`,table:`custom_field_definition`,label:`Custom Field`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_field_target:{token:`custom_field_target`,schema:`platform`,table:`custom_field_target`,label:`Custom Field Target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_io_outbox_consumer:{token:`custom_io_outbox_consumer`,schema:`custom`,table:`io_outbox_consumer`,label:`Outbox consumer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_io_outbox_consumption:{token:`custom_io_outbox_consumption`,schema:`custom`,table:`io_outbox_consumption`,label:`Outbox consumption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_record:{token:`custom_record`,schema:`platform`,table:`custom_record`,label:`Custom Record`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_share_tails_mine_repair:{token:`custom_share_tails_mine_repair`,schema:`custom`,table:`_share_tails_mine_repair`,label:`Share tails repair`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_template:{token:`custom_template`,schema:`custom`,table:`template`,label:`Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_template_install:{token:`custom_template_install`,schema:`custom`,table:`template_install`,label:`Template install`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_agent_memory:{token:`cx_agent_memory`,schema:`chat`,table:`agent_memory`,label:`Agent Memory`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!0,titleColumn:`key`,contentRole:null,referenceCategory:null},cx_agent_plan:{token:`cx_agent_plan`,schema:`chat`,table:`agent_plan`,label:`Agent Plan`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},cx_agent_task:{token:`cx_agent_task`,schema:`chat`,table:`agent_task`,label:`Agent Task`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},cx_code_edit:{token:`cx_code_edit`,schema:`chat`,table:`code_edit`,label:`Code Edit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_code_message_file:{token:`cx_code_message_file`,schema:`chat`,table:`code_message_file`,label:`Code Message File`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_media:{token:`cx_media`,schema:`chat`,table:`media`,label:`Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_observational_memory:{token:`cx_observational_memory`,schema:`chat`,table:`observational_memory`,label:`Observational Memory`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_observational_memory_event:{token:`cx_observational_memory_event`,schema:`chat`,table:`observational_memory_event`,label:`Observational Memory Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_pending_injection:{token:`cx_pending_injection`,schema:`chat`,table:`pending_injection`,label:`Pending Injection`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_request:{token:`cx_request`,schema:`chat`,table:`request`,label:`Conversation Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_request_snapshot:{token:`cx_request_snapshot`,schema:`chat`,table:`request_snapshot`,label:`Request Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_tool_trace:{token:`cx_tool_trace`,schema:`chat`,table:`tool_trace`,label:`Tool Trace`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_user_request:{token:`cx_user_request`,schema:`chat`,table:`user_request`,label:`User Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_user_todo:{token:`cx_user_todo`,schema:`chat`,table:`user_todo`,label:`User Todo`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},data_rights_event:{token:`data_rights_event`,schema:`education`,table:`data_rights_event`,label:`Data rights event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},data_store:{token:`data_store`,schema:`rag`,table:`data_stores`,label:`Data Store`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},data_store_members:{token:`data_store_members`,schema:`rag`,table:`data_store_members`,label:`Data Store Members`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ddl_guard_log:{token:`ddl_guard_log`,schema:`platform`,table:`ddl_guard_log`,label:`DDL guard log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},deck_suggestion:{token:`deck_suggestion`,schema:`education`,table:`deck_suggestion`,label:`Deck Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},definer_class_exemption:{token:`definer_class_exemption`,schema:`iam`,table:`definer_class_exemption`,label:`Definer Class Exemption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},definer_client_grant_grandfather:{token:`definer_client_grant_grandfather`,schema:`platform`,table:`definer_client_grant_grandfather`,label:`Definer Client Grant Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},definer_grant_baseline:{token:`definer_grant_baseline`,schema:`hr`,table:`definer_grant_baseline`,label:`Definer Grant Baseline`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},deprecated_relation:{token:`deprecated_relation`,schema:`platform`,table:`deprecated_relations`,label:`Deprecated relation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},derive_run:{token:`derive_run`,schema:`docproc`,table:`derive_runs`,label:`Derive Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dev_login_audit:{token:`dev_login_audit`,schema:`admin`,table:`dev_login_audit`,label:`Dev login audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dict_entry:{token:`dict_entry`,schema:`dictionary`,table:`dict_entries`,label:`Dictionary entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dict_provider_publication:{token:`dict_provider_publication`,schema:`dictionary`,table:`dict_provider_publication`,label:`Dict Provider Publication`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dict_setting:{token:`dict_setting`,schema:`dictionary`,table:`dict_settings`,label:`Dict Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dm_conversation:{token:`dm_conversation`,schema:`communication`,table:`dm_conversations`,label:`Direct Conversation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dm_message:{token:`dm_message`,schema:`communication`,table:`dm_messages`,label:`Direct Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dm_participant:{token:`dm_participant`,schema:`communication`,table:`dm_conversation_participants`,label:`DM Conversation Participant`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},doc_render:{token:`doc_render`,schema:`custom`,table:`doc_render`,label:`Rendered Document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},doc_signature:{token:`doc_signature`,schema:`custom`,table:`doc_signature`,label:`Document Signature`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dockets:{token:`dockets`,schema:`legal`,table:`dockets`,label:`Dockets`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},document:{token:`document`,schema:`content`,table:`document`,label:`Markdown document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:`title`,contentRole:`hybrid`,referenceCategory:null},document_version:{token:`document_version`,schema:`content`,table:`document_version`,label:`Document Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},domain_classification:{token:`domain_classification`,schema:`platform`,table:`domain_classification`,label:`Domain Classification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},edge_payload_kind:{token:`edge_payload_kind`,schema:`platform`,table:`edge_payload_kind`,label:`Edge payload kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},egress_device:{token:`egress_device`,schema:`platform`,table:`egress_device`,label:`Home connection computer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},egress_pairing:{token:`egress_pairing`,schema:`platform`,table:`egress_pairing`,label:`Home connection pairing`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},egress_ticket:{token:`egress_ticket`,schema:`platform`,table:`egress_ticket`,label:`Home connection ticket`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},emails:{token:`emails`,schema:`communication`,table:`emails`,label:`Emails`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embedding_cache:{token:`embedding_cache`,schema:`rag`,table:`embedding_cache`,label:`Embedding Cache`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_google_gemini_2_1536:{token:`embeddings_google_gemini_2_1536`,schema:`rag`,table:`embeddings_google_gemini_2_1536`,label:`Embeddings Google Gemini 2 1536`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_oai_3_small_1536:{token:`embeddings_oai_3_small_1536`,schema:`rag`,table:`embeddings_oai_3_small_1536`,label:`Embeddings Oai 3 Small 1536`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_voyage_4_large_1024:{token:`embeddings_voyage_4_large_1024`,schema:`rag`,table:`embeddings_voyage_4_large_1024`,label:`Embeddings Voyage 4 Large 1024`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_voyage_code_3_1024:{token:`embeddings_voyage_code_3_1024`,schema:`rag`,table:`embeddings_voyage_code_3_1024`,label:`Embeddings Voyage Code 3 1024`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},endpoint_family_sweep_state:{token:`endpoint_family_sweep_state`,schema:`web`,table:`endpoint_family_sweep_state`,label:`Endpoint Family Sweep State`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},engine_owner_task:{token:`engine_owner_task`,schema:`seo`,table:`engine_owner_task`,label:`Engine Owner Task`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_grant:{token:`entity_grant`,schema:`platform`,table:`entity_grants`,label:`Entity grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_protected_value:{token:`entity_protected_value`,schema:`custom`,table:`entity_protected_value`,label:`Protected field value`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_protected_value_version:{token:`entity_protected_value_version`,schema:`custom`,table:`entity_protected_value_version`,label:`Protected field value version`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_relationship:{token:`entity_relationship`,schema:`platform`,table:`entity_relationships`,label:`Entity relationship`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_type:{token:`entity_type`,schema:`platform`,table:`entity_types`,label:`Entity type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_campaign:{token:`esign_campaign`,schema:`esign`,table:`campaign`,label:`Signature campaign`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_campaign_member:{token:`esign_campaign_member`,schema:`esign`,table:`campaign_member`,label:`Campaign member`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_consent_disclosure:{token:`esign_consent_disclosure`,schema:`esign`,table:`consent_disclosure`,label:`E-sign consent disclosure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope:{token:`esign_envelope`,schema:`esign`,table:`envelope`,label:`Signature envelope`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_certificate:{token:`esign_envelope_certificate`,schema:`esign`,table:`envelope_certificate`,label:`Completion certificate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_document:{token:`esign_envelope_document`,schema:`esign`,table:`envelope_document`,label:`Envelope document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_event:{token:`esign_envelope_event`,schema:`esign`,table:`envelope_event`,label:`Envelope event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_external_ref:{token:`esign_envelope_external_ref`,schema:`esign`,table:`envelope_external_ref`,label:`Envelope external reference`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_signer:{token:`esign_envelope_signer`,schema:`esign`,table:`envelope_signer`,label:`Envelope signer`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_provider:{token:`esign_provider`,schema:`esign`,table:`provider`,label:`E-sign provider`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_provider_binding:{token:`esign_provider_binding`,schema:`esign`,table:`provider_binding`,label:`E-sign provider binding`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_signing_key:{token:`esign_signing_key`,schema:`esign`,table:`signing_key`,label:`E-sign certificate signing key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},execution_event_cursor:{token:`execution_event_cursor`,schema:`runtime`,table:`execution_event_cursor`,label:`Execution event cursor`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},extension_auth_code:{token:`extension_auth_code`,schema:`extend`,table:`extension_auth_codes`,label:`Extension auth code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},external_link:{token:`external_link`,schema:`custom`,table:`external_link`,label:`External Link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},external_source:{token:`external_source`,schema:`custom`,table:`external_source`,label:`External Source`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},extract_sweep_state:{token:`extract_sweep_state`,schema:`workflow`,table:`extract_sweep_state`,label:`Extract sweep state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},fc_card:{token:`fc_card`,schema:`education`,table:`fc_card`,label:`Flashcard`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`front`,contentRole:null,referenceCategory:null},fc_detail:{token:`fc_detail`,schema:`education`,table:`fc_detail`,label:`Flashcard Detail`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},fc_set:{token:`fc_set`,schema:`education`,table:`fc_set`,label:`Flashcard Deck`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},feature_doc:{token:`feature_doc`,schema:`admin`,table:`feature_docs`,label:`Feature Doc`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`documentation`,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},feature_knob:{token:`feature_knob`,schema:`platform`,table:`feature_knob`,label:`Feature Knob`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},feedback_comments:{token:`feedback_comments`,schema:`users`,table:`feedback_comments`,label:`Feedback Comments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},feedback_user_messages:{token:`feedback_user_messages`,schema:`users`,table:`feedback_user_messages`,label:`Feedback User Messages`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file:{token:`file`,schema:`files`,table:`files`,label:`File`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources`,referencePickable:!0,titleColumn:`file_name`,contentRole:`source`,referenceCategory:null},file_analysis:{token:`file_analysis`,schema:`files`,table:`analysis`,label:`File Analysis`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_entities:{token:`file_entities`,schema:`files`,table:`entities`,label:`Extracted Term`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},file_overrides:{token:`file_overrides`,schema:`files`,table:`overrides`,label:`File Override`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_page_annotations:{token:`file_page_annotations`,schema:`files`,table:`page_annotations`,label:`Page Annotation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},file_pages:{token:`file_pages`,schema:`files`,table:`pages`,label:`File Page`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_rag_job:{token:`file_rag_job`,schema:`files`,table:`file_rag_jobs`,label:`File RAG job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_version:{token:`file_version`,schema:`files`,table:`file_versions`,label:`File Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Sources`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_account_tier:{token:`files_account_tier`,schema:`files`,table:`account_tiers`,label:`File account tier`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_machine_written_prefix:{token:`files_machine_written_prefix`,schema:`files`,table:`machine_written_prefixes`,label:`Machine-Written Prefix`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_sync_mapping:{token:`files_sync_mapping`,schema:`files`,table:`sync_mappings`,label:`Sync Mapping`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_user_account:{token:`files_user_account`,schema:`files`,table:`user_account`,label:`File account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},flexible_data:{token:`flexible_data`,schema:`platform`,table:`flexible_data`,label:`Flexible Data`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},folder:{token:`folder`,schema:`files`,table:`folders`,label:`Folder`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources`,referencePickable:!0,titleColumn:`folder_name`,contentRole:`source`,referenceCategory:null},function_contract:{token:`function_contract`,schema:`hr`,table:`function_contract`,label:`Function Contract`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},game_badge:{token:`game_badge`,schema:`education`,table:`game_badge`,label:`Game Badge`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},game_result:{token:`game_result`,schema:`education`,table:`game_result`,label:`Game Result`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},game_room:{token:`game_room`,schema:`education`,table:`game_room`,label:`Game Room`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution:{token:`global_execution`,schema:`runtime`,table:`global_execution`,label:`Runtime Execution`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution_checkpoint:{token:`global_execution_checkpoint`,schema:`runtime`,table:`global_execution_checkpoint`,label:`Runtime Checkpoint`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution_control:{token:`global_execution_control`,schema:`runtime`,table:`global_execution_control`,label:`Global execution control`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution_event:{token:`global_execution_event`,schema:`runtime`,table:`global_execution_event`,label:`Runtime Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_meter_entry:{token:`global_meter_entry`,schema:`runtime`,table:`global_meter_entry`,label:`Runtime Meter Entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},global_origin:{token:`global_origin`,schema:`runtime`,table:`global_origin`,label:`Runtime Origin`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_request:{token:`global_request`,schema:`runtime`,table:`global_request`,label:`Runtime Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},google_document:{token:`google_document`,schema:`workbench`,table:`google_document`,label:`Google document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},growth_loop_event:{token:`growth_loop_event`,schema:`growth`,table:`loop_event`,label:`Growth Loop Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},growth_loop_run:{token:`growth_loop_run`,schema:`growth`,table:`loop_run`,label:`Growth Loop Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},growth_loop_stage_run:{token:`growth_loop_stage_run`,schema:`growth`,table:`loop_stage_run`,label:`Growth Loop Stage Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guardian_link:{token:`guardian_link`,schema:`education`,table:`guardian_link`,label:`Guardian link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guest_conversion_audit:{token:`guest_conversion_audit`,schema:`users`,table:`guest_conversion_audit`,label:`Guest conversion audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guest_execution_log:{token:`guest_execution_log`,schema:`users`,table:`guest_execution_log`,label:`Guest Execution Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guest_executions:{token:`guest_executions`,schema:`users`,table:`guest_executions`,label:`Guest Executions`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guided_checklist_run:{token:`guided_checklist_run`,schema:`platform`,table:`guided_checklist_run`,label:`Guided Checklist Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},heatmap_save:{token:`heatmap_save`,schema:`workbench`,table:`heatmap_saves`,label:`Heatmap Save`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hindsight_enrollment:{token:`hindsight_enrollment`,schema:`hindsight`,table:`enrollment`,label:`Hindsight Enrollment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},hindsight_finding:{token:`hindsight_finding`,schema:`hindsight`,table:`finding`,label:`Hindsight Finding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_regression_case:{token:`hindsight_regression_case`,schema:`hindsight`,table:`regression_case`,label:`Regression Case`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_replay:{token:`hindsight_replay`,schema:`hindsight`,table:`replay`,label:`Hindsight Replay`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_replay_step:{token:`hindsight_replay_step`,schema:`hindsight`,table:`replay_step`,label:`Wire Replay Step`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_review:{token:`hindsight_review`,schema:`hindsight`,table:`review`,label:`Hindsight Review`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_access_audit:{token:`hr_access_audit`,schema:`hr`,table:`access_audit`,label:`Access audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_access_role:{token:`hr_access_role`,schema:`hr`,table:`access_role`,label:`HR access role`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},hr_accommodation_request:{token:`hr_accommodation_request`,schema:`hr`,table:`accommodation_request`,label:`Accommodation request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_ai_evidence:{token:`hr_ai_evidence`,schema:`hr`,table:`ai_evidence`,label:`AI evidence`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_alert_routing_rule:{token:`hr_alert_routing_rule`,schema:`hr`,table:`alert_routing_rule`,label:`Alert routing rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_application:{token:`hr_application`,schema:`hr`,table:`application`,label:`Application`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_approval_authority:{token:`hr_approval_authority`,schema:`hr`,table:`approval_authority`,label:`Approval authority`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_approval_delegation:{token:`hr_approval_delegation`,schema:`hr`,table:`approval_delegation`,label:`Approval delegation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_asset:{token:`hr_asset`,schema:`hr`,table:`asset`,label:`Asset`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_asset_assignment:{token:`hr_asset_assignment`,schema:`hr`,table:`asset_assignment`,label:`Asset assignment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_attendance_exception:{token:`hr_attendance_exception`,schema:`hr`,table:`attendance_exception`,label:`Attendance exception`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_auto_close_rule:{token:`hr_auto_close_rule`,schema:`hr`,table:`auto_close_rule`,label:`Auto-close rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_availability:{token:`hr_availability`,schema:`hr`,table:`availability`,label:`Availability`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_background_check:{token:`hr_background_check`,schema:`hr`,table:`background_check`,label:`Background check`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_benefits_event:{token:`hr_benefits_event`,schema:`hr`,table:`benefits_event`,label:`Benefits event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_calculation_snapshot:{token:`hr_calculation_snapshot`,schema:`hr`,table:`calculation_snapshot`,label:`Calculation snapshot`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_candidate:{token:`hr_candidate`,schema:`hr`,table:`candidate`,label:`Candidate`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`preferred_name`,contentRole:null,referenceCategory:null},hr_candidate_conversion:{token:`hr_candidate_conversion`,schema:`hr`,table:`candidate_conversion`,label:`Candidate conversion`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_candidate_message:{token:`hr_candidate_message`,schema:`hr`,table:`candidate_message`,label:`Candidate message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_careers_portal:{token:`hr_careers_portal`,schema:`hr`,table:`careers_portal`,label:`Careers portal`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},hr_checklist_item:{token:`hr_checklist_item`,schema:`hr`,table:`checklist_item`,label:`Checklist item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_checklist_run:{token:`hr_checklist_run`,schema:`hr`,table:`checklist_run`,label:`Checklist run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_checklist_template:{token:`hr_checklist_template`,schema:`hr`,table:`checklist_template`,label:`Checklist template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_checklist_template_item:{token:`hr_checklist_template_item`,schema:`hr`,table:`checklist_template_item`,label:`Checklist template item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_compensation:{token:`hr_compensation`,schema:`hr`,table:`compensation`,label:`Compensation record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_corrective_action:{token:`hr_corrective_action`,schema:`hr`,table:`corrective_action`,label:`Corrective action`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_course:{token:`hr_course`,schema:`hr`,table:`course`,label:`Course`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_course_version:{token:`hr_course_version`,schema:`hr`,table:`course_version`,label:`Course version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_credential:{token:`hr_credential`,schema:`hr`,table:`credential`,label:`Credential`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_crew:{token:`hr_crew`,schema:`hr`,table:`crew`,label:`Crew`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_deduction_code:{token:`hr_deduction_code`,schema:`hr`,table:`deduction_code`,label:`Deduction code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_department:{token:`hr_department`,schema:`hr`,table:`department`,label:`Department`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_derived_grant:{token:`hr_derived_grant`,schema:`hr`,table:`derived_grant`,label:`Derived grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_disposition_event:{token:`hr_disposition_event`,schema:`hr`,table:`disposition_event`,label:`Disposition event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_earning_code:{token:`hr_earning_code`,schema:`hr`,table:`earning_code`,label:`Earning code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_eeo_response:{token:`hr_eeo_response`,schema:`hr`,table:`eeo_response`,label:`EEO self-identification response`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_emergency_contact:{token:`hr_emergency_contact`,schema:`hr`,table:`emergency_contact`,label:`Emergency contact`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_employee:{token:`hr_employee`,schema:`hr`,table:`employee`,label:`Employee`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:`container`,referenceCategory:null},hr_employee_private:{token:`hr_employee_private`,schema:`hr`,table:`employee_private`,label:`Employee private record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_employer_profile:{token:`hr_employer_profile`,schema:`hr`,table:`employer_profile`,label:`Employer profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`legal_name`,contentRole:null,referenceCategory:null},hr_employment:{token:`hr_employment`,schema:`hr`,table:`employment`,label:`Employment spell`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_employment_pin:{token:`hr_employment_pin`,schema:`hr`,table:`employment_pin`,label:`Employment PIN`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_engagement:{token:`hr_engagement`,schema:`hr`,table:`engagement`,label:`Engagement`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_establishment:{token:`hr_establishment`,schema:`hr`,table:`establishment`,label:`Establishment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_external_identity:{token:`hr_external_identity`,schema:`hr`,table:`external_identity`,label:`External identity`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_field_policy:{token:`hr_field_policy`,schema:`hr`,table:`field_policy`,label:`Self-service field policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_holiday:{token:`hr_holiday`,schema:`hr`,table:`holiday`,label:`Holiday`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_holiday_calendar:{token:`hr_holiday_calendar`,schema:`hr`,table:`holiday_calendar`,label:`Holiday calendar`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_i9:{token:`hr_i9`,schema:`hr`,table:`i9`,label:`Form I-9`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_i9_document:{token:`hr_i9_document`,schema:`hr`,table:`i9_document`,label:`I-9 document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_incident:{token:`hr_incident`,schema:`hr`,table:`incident`,label:`Incident`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_incident_party:{token:`hr_incident_party`,schema:`hr`,table:`incident_party`,label:`Incident party`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_interview:{token:`hr_interview`,schema:`hr`,table:`interview`,label:`Interview`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_interview_kit:{token:`hr_interview_kit`,schema:`hr`,table:`interview_kit`,label:`Interview kit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_job_title:{token:`hr_job_title`,schema:`hr`,table:`job_title`,label:`Job title`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_jurisdiction:{token:`hr_jurisdiction`,schema:`hr`,table:`jurisdiction`,label:`Jurisdiction`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_jurisdiction_rule:{token:`hr_jurisdiction_rule`,schema:`hr`,table:`jurisdiction_rule`,label:`Jurisdiction rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_jurisdiction_rule_class:{token:`hr_jurisdiction_rule_class`,schema:`hr`,table:`jurisdiction_rule_class`,label:`Jurisdiction rule class`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},hr_jurisdiction_rule_org_decision:{token:`hr_jurisdiction_rule_org_decision`,schema:`hr`,table:`jurisdiction_rule_org_decision`,label:`Jurisdiction rule org decision`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_jurisdiction_rule_test:{token:`hr_jurisdiction_rule_test`,schema:`hr`,table:`jurisdiction_rule_test`,label:`Jurisdiction rule fixture`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_kiosk_device:{token:`hr_kiosk_device`,schema:`hr`,table:`kiosk_device`,label:`Kiosk device`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_kiosk_session:{token:`hr_kiosk_session`,schema:`hr`,table:`kiosk_session`,label:`Kiosk session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_labor_target:{token:`hr_labor_target`,schema:`hr`,table:`labor_target`,label:`Labor target`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_case:{token:`hr_leave_case`,schema:`hr`,table:`leave_case`,label:`Leave case`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_enrollment:{token:`hr_leave_enrollment`,schema:`hr`,table:`leave_enrollment`,label:`Leave enrollment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_ledger:{token:`hr_leave_ledger`,schema:`hr`,table:`leave_ledger`,label:`Leave ledger entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_policy:{token:`hr_leave_policy`,schema:`hr`,table:`leave_policy`,label:`Leave policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_leave_request:{token:`hr_leave_request`,schema:`hr`,table:`leave_request`,label:`Leave request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_legal_hold:{token:`hr_legal_hold`,schema:`hr`,table:`legal_hold`,label:`Legal hold`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`matter_name`,contentRole:null,referenceCategory:null},hr_legal_hold_item:{token:`hr_legal_hold_item`,schema:`hr`,table:`legal_hold_item`,label:`Legal hold item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_location:{token:`hr_location`,schema:`hr`,table:`location`,label:`Location`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_new_hire_report:{token:`hr_new_hire_report`,schema:`hr`,table:`new_hire_report`,label:`New hire report`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_offer:{token:`hr_offer`,schema:`hr`,table:`offer`,label:`Offer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_opening:{token:`hr_opening`,schema:`hr`,table:`opening`,label:`Opening`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_overtime_alert:{token:`hr_overtime_alert`,schema:`hr`,table:`overtime_alert`,label:`Overtime alert`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_overtime_alert_rule:{token:`hr_overtime_alert_rule`,schema:`hr`,table:`overtime_alert_rule`,label:`Overtime alert rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_overtime_preapproval:{token:`hr_overtime_preapproval`,schema:`hr`,table:`overtime_preapproval`,label:`Overtime pre-approval`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_pay_group:{token:`hr_pay_group`,schema:`hr`,table:`pay_group`,label:`Pay group`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_pay_period:{token:`hr_pay_period`,schema:`hr`,table:`pay_period`,label:`Pay period`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_pay_period_employment:{token:`hr_pay_period_employment`,schema:`hr`,table:`pay_period_employment`,label:`Pay period timesheet`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_payroll_export:{token:`hr_payroll_export`,schema:`hr`,table:`payroll_export`,label:`Payroll export`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_payroll_export_line:{token:`hr_payroll_export_line`,schema:`hr`,table:`payroll_export_line`,label:`Payroll export line`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_position_assignment:{token:`hr_position_assignment`,schema:`hr`,table:`position_assignment`,label:`Position assignment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_posting:{token:`hr_posting`,schema:`hr`,table:`posting`,label:`Job posting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_posting_publication:{token:`hr_posting_publication`,schema:`hr`,table:`posting_publication`,label:`Posting publication`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_provider_binding:{token:`hr_provider_binding`,schema:`hr`,table:`provider_binding`,label:`Provider binding`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_provider_event:{token:`hr_provider_event`,schema:`hr`,table:`provider_event`,label:`Provider seam event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_provisioning_result:{token:`hr_provisioning_result`,schema:`hr`,table:`provisioning_result`,label:`Provisioning result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_punch:{token:`hr_punch`,schema:`hr`,table:`punch`,label:`Punch`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_recalculation_batch:{token:`hr_recalculation_batch`,schema:`hr`,table:`recalculation_batch`,label:`Recalculation batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_record_class:{token:`hr_record_class`,schema:`hr`,table:`record_class`,label:`Record class`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},hr_records_request:{token:`hr_records_request`,schema:`hr`,table:`records_request`,label:`Records request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_reference_check:{token:`hr_reference_check`,schema:`hr`,table:`reference_check`,label:`Reference check`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_reporting_line:{token:`hr_reporting_line`,schema:`hr`,table:`reporting_line`,label:`Reporting line`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_requisition:{token:`hr_requisition`,schema:`hr`,table:`requisition`,label:`Requisition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`requisition_number`,contentRole:null,referenceCategory:null},hr_restricted_note:{token:`hr_restricted_note`,schema:`hr`,table:`restricted_note`,label:`Restricted note`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_retention_rule:{token:`hr_retention_rule`,schema:`hr`,table:`retention_rule`,label:`Retention rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_role_assignment:{token:`hr_role_assignment`,schema:`hr`,table:`role_assignment`,label:`HR role assignment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_schedule:{token:`hr_schedule`,schema:`hr`,table:`schedule`,label:`Schedule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_schedule_change:{token:`hr_schedule_change`,schema:`hr`,table:`schedule_change`,label:`Schedule change`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_schedule_guidance:{token:`hr_schedule_guidance`,schema:`hr`,table:`schedule_guidance`,label:`Schedule guidance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_schedule_template:{token:`hr_schedule_template`,schema:`hr`,table:`schedule_template`,label:`Schedule template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_schedule_template_shift:{token:`hr_schedule_template_shift`,schema:`hr`,table:`schedule_template_shift`,label:`Schedule template shift`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_scorecard:{token:`hr_scorecard`,schema:`hr`,table:`scorecard`,label:`Scorecard`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_separation:{token:`hr_separation`,schema:`hr`,table:`separation`,label:`Separation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_shift:{token:`hr_shift`,schema:`hr`,table:`shift`,label:`Shift`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_shift_claim:{token:`hr_shift_claim`,schema:`hr`,table:`shift_claim`,label:`Shift claim`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_staffing_requirement:{token:`hr_staffing_requirement`,schema:`hr`,table:`staffing_requirement`,label:`Staffing requirement`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_survey:{token:`hr_survey`,schema:`hr`,table:`survey`,label:`Survey`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_survey_invitation:{token:`hr_survey_invitation`,schema:`hr`,table:`survey_invitation`,label:`Survey invitation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_survey_question:{token:`hr_survey_question`,schema:`hr`,table:`survey_question`,label:`Survey question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_survey_response:{token:`hr_survey_response`,schema:`hr`,table:`survey_response`,label:`Survey response`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_tax_registration:{token:`hr_tax_registration`,schema:`hr`,table:`tax_registration`,label:`Tax registration`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_tax_withholding:{token:`hr_tax_withholding`,schema:`hr`,table:`tax_withholding`,label:`Tax withholding certificate`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_time_adjustment:{token:`hr_time_adjustment`,schema:`hr`,table:`time_adjustment`,label:`Time adjustment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_training_assignment:{token:`hr_training_assignment`,schema:`hr`,table:`training_assignment`,label:`Training assignment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_training_attempt:{token:`hr_training_attempt`,schema:`hr`,table:`training_attempt`,label:`Training attempt`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_transcript_entry:{token:`hr_transcript_entry`,schema:`hr`,table:`transcript_entry`,label:`Transcript entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_verification_letter_request:{token:`hr_verification_letter_request`,schema:`hr`,table:`verification_letter_request`,label:`Verification letter request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_work_interval:{token:`hr_work_interval`,schema:`hr`,table:`work_interval`,label:`Work interval`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_binding:{token:`hr_workflow_binding`,schema:`hr`,table:`workflow_binding`,label:`HR Workflow Binding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_decision:{token:`hr_workflow_decision`,schema:`hr`,table:`workflow_decision`,label:`HR Workflow Decision`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_definition:{token:`hr_workflow_definition`,schema:`hr`,table:`workflow_definition`,label:`HR Workflow Definition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_event:{token:`hr_workflow_event`,schema:`hr`,table:`workflow_event`,label:`HR Workflow Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_failure:{token:`hr_workflow_failure`,schema:`hr`,table:`workflow_failure`,label:`HR Workflow Failure`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_flow_type:{token:`hr_workflow_flow_type`,schema:`hr`,table:`workflow_flow_type`,label:`HR Workflow Flow Type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_instance:{token:`hr_workflow_instance`,schema:`hr`,table:`workflow_instance`,label:`HR Workflow Instance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_step:{token:`hr_workflow_step`,schema:`hr`,table:`workflow_step`,label:`HR Workflow Step`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_step_definition:{token:`hr_workflow_step_definition`,schema:`hr`,table:`workflow_step_definition`,label:`HR Workflow Step Definition`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workweek:{token:`hr_workweek`,schema:`hr`,table:`workweek`,label:`Workweek`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},html_extraction:{token:`html_extraction`,schema:`api`,table:`html_extractions`,label:`HTML extraction`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_access_audit:{token:`iam_access_audit`,schema:`iam`,table:`access_audit`,label:`Access audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_api_key:{token:`iam_api_key`,schema:`iam`,table:`api_keys`,label:`API Key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_emergency_door_request:{token:`iam_emergency_door_request`,schema:`iam`,table:`emergency_door_request`,label:`Emergency access request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_org_availability_key:{token:`iam_org_availability_key`,schema:`iam`,table:`_org_availability_key`,label:`Organization availability key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_read_lane_v2_rollout:{token:`iam_read_lane_v2_rollout`,schema:`iam`,table:`read_lane_v2_rollout`,label:`Read lane v2 rollout`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},idempotency:{token:`idempotency`,schema:`files`,table:`idempotency`,label:`Idempotency`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},industry:{token:`industry`,schema:`iam`,table:`industries`,label:`Industry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},industry_curator:{token:`industry_curator`,schema:`iam`,table:`industry_curators`,label:`Industry Curator`,baseTier:2,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},infra_status:{token:`infra_status`,schema:`public`,table:`infra_status`,label:`Infra status`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ingest_runs:{token:`ingest_runs`,schema:`legal`,table:`ingest_runs`,label:`Ingest Runs`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},integration_connection:{token:`integration_connection`,schema:`users`,table:`integration_connections`,label:`Integration connection`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},integration_connection_resource:{token:`integration_connection_resource`,schema:`users`,table:`integration_connection_resources`,label:`Integration connection resource`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_decision_interview:{token:`interview_decision_interview`,schema:`interview`,table:`decision_interview`,label:`Decision Interview`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_decision_question:{token:`interview_decision_question`,schema:`interview`,table:`decision_question`,label:`Decision Question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_document_revision:{token:`interview_document_revision`,schema:`interview`,table:`document_revision`,label:`Interview Document Revision`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_hole:{token:`interview_hole`,schema:`interview`,table:`hole`,label:`Interview Adversary Hole`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_question:{token:`interview_question`,schema:`interview`,table:`question`,label:`Interview Open Question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_session:{token:`interview_session`,schema:`interview`,table:`session`,label:`Vision Interview Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_turn:{token:`interview_turn`,schema:`interview`,table:`turn`,label:`Interview Turn`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},invitation:{token:`invitation`,schema:`iam`,table:`invitations`,label:`Invitation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},invitation_code:{token:`invitation_code`,schema:`users`,table:`invitation_codes`,label:`Invitation Code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},invitation_request:{token:`invitation_request`,schema:`users`,table:`invitation_requests`,label:`Invitation Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_comment:{token:`io_comment`,schema:`custom`,table:`io_comment`,label:`Record comment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_contract:{token:`io_contract`,schema:`content_ir`,table:`io_contract`,label:`Io Contract`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_import:{token:`io_import`,schema:`custom`,table:`io_import`,label:`Import run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_outbox:{token:`io_outbox`,schema:`custom`,table:`io_outbox`,label:`Record change outbox`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},item:{token:`item`,schema:`assignment`,table:`item`,label:`Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},item_mastery:{token:`item_mastery`,schema:`education`,table:`item_mastery`,label:`Item Mastery`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},judge_verdict:{token:`judge_verdict`,schema:`platform`,table:`judge_verdict`,label:`Judge Verdict`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},jurisdiction_policy:{token:`jurisdiction_policy`,schema:`crm`,table:`jurisdiction_policy`,label:`Jurisdiction policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},keyword_classification_queue:{token:`keyword_classification_queue`,schema:`seo`,table:`keyword_classification_queue`,label:`Keyword Classification Queue`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_alert:{token:`kg_alert`,schema:`rag`,table:`kg_alerts`,label:`KG Alert`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_chunk_entities:{token:`kg_chunk_entities`,schema:`rag`,table:`kg_chunk_entities`,label:`Kg Chunk Entities`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_chunks:{token:`kg_chunks`,schema:`rag`,table:`kg_chunks`,label:`Kg Chunks`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_clusters:{token:`kg_clusters`,schema:`rag`,table:`kg_clusters`,label:`Kg Clusters`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_edges:{token:`kg_edges`,schema:`rag`,table:`kg_edges`,label:`Kg Edges`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_entities:{token:`kg_entities`,schema:`rag`,table:`kg_entities`,label:`Kg Entities`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_entity_aliases:{token:`kg_entity_aliases`,schema:`rag`,table:`kg_entity_aliases`,label:`Kg Entity Aliases`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_suggestion_ack:{token:`kg_suggestion_ack`,schema:`rag`,table:`kg_suggestion_ack`,label:`KG Suggestion Ack`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_sweep_queue:{token:`kg_sweep_queue`,schema:`rag`,table:`kg_sweep_queue`,label:`KG Sweep Queue`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_sweep_run:{token:`kg_sweep_run`,schema:`rag`,table:`kg_sweep_run`,label:`KG Sweep Run`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_sweep_state:{token:`kg_sweep_state`,schema:`rag`,table:`kg_sweep_state`,label:`KG Sweep State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_value_match:{token:`kg_value_match`,schema:`rag`,table:`kg_value_matches`,label:`KG Value Match`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_override:{token:`knob_override`,schema:`platform`,table:`knob_override`,label:`Knob Override`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_override_audit:{token:`knob_override_audit`,schema:`platform`,table:`knob_override_audit`,label:`Knob override audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_rung_lock:{token:`knob_rung_lock`,schema:`platform`,table:`knob_rung_lock`,label:`Knob Rung Lock`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_scope_kind:{token:`knob_scope_kind`,schema:`platform`,table:`knob_scope_kind`,label:`Knob scope kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_write_door:{token:`knob_write_door`,schema:`platform`,table:`knob_write_door`,label:`Knob write door`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},league_membership:{token:`league_membership`,schema:`education`,table:`league_membership`,label:`League Membership`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},learn_doc:{token:`learn_doc`,schema:`education`,table:`learn_doc`,label:`Study Guide`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},library_doc:{token:`library_doc`,schema:`rag`,table:`library_docs`,label:`Library Document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},lifecycle_archive:{token:`lifecycle_archive`,schema:`platform`,table:`lifecycle_archive`,label:`Lifecycle archive`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_archive_row:{token:`lifecycle_archive_row`,schema:`platform`,table:`lifecycle_archive_row`,label:`Lifecycle archive row`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_audit:{token:`lifecycle_audit`,schema:`platform`,table:`lifecycle_audit`,label:`Lifecycle audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_entity_plan:{token:`lifecycle_entity_plan`,schema:`platform`,table:`lifecycle_entity_plan`,label:`Lifecycle entity plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_map_build:{token:`lifecycle_map_build`,schema:`platform`,table:`lifecycle_map_build`,label:`Lifecycle map build`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_reference_map:{token:`lifecycle_reference_map`,schema:`platform`,table:`lifecycle_reference_map`,label:`Lifecycle reference map`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_run:{token:`lifecycle_run`,schema:`platform`,table:`lifecycle_run`,label:`Lifecycle run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_tier_ledger:{token:`lifecycle_tier_ledger`,schema:`platform`,table:`lifecycle_tier_ledger`,label:`Lifecycle tier ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},location:{token:`location`,schema:`seo`,table:`location`,label:`Location`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate:{token:`mandate`,schema:`mandate`,table:`definition`,label:`Mandate`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},mandate_advance_batch_row:{token:`mandate_advance_batch_row`,schema:`mandate`,table:`advance_batch_row`,label:`Pin advance batch row`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_binding:{token:`mandate_binding`,schema:`mandate`,table:`binding`,label:`Mandate Binding (new)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_candidate:{token:`mandate_candidate`,schema:`mandate`,table:`candidate`,label:`Mandate Candidate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_candidate_run:{token:`mandate_candidate_run`,schema:`mandate`,table:`candidate_run`,label:`Mandate Candidate Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_candidate_run_payload:{token:`mandate_candidate_run_payload`,schema:`mandate`,table:`candidate_run_payload`,label:`Mandate Candidate Run Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_goal_clauses:{token:`mandate_goal_clauses`,schema:`mandate`,table:`goal_clauses`,label:`Mandate Goal Clauses`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_observation:{token:`mandate_observation`,schema:`mandate`,table:`observation`,label:`Mandate Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_reference:{token:`mandate_reference`,schema:`mandate`,table:`reference`,label:`Mandate Reference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_scan:{token:`mandate_scan`,schema:`mandate`,table:`scan`,label:`Mandate Scan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_treatment:{token:`mandate_treatment`,schema:`mandate`,table:`treatment`,label:`Mandate Treatment (new)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},marketing_initiative:{token:`marketing_initiative`,schema:`marketing`,table:`initiative`,label:`Initiative`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},masterwork_corpus_item:{token:`masterwork_corpus_item`,schema:`platform`,table:`masterwork_corpus_item`,label:`Masterwork Corpus Piece`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},masterwork_run:{token:`masterwork_run`,schema:`platform`,table:`masterwork_run`,label:`Masterwork Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Masterwork`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},masterwork_run_kind:{token:`masterwork_run_kind`,schema:`platform`,table:`masterwork_run_kind`,label:`Masterwork Run Kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},masterwork_source:{token:`masterwork_source`,schema:`platform`,table:`masterwork_source`,label:`Masterwork Source`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},math_course_structure:{token:`math_course_structure`,schema:`education`,table:`math_course_structure`,label:`Math Course Structure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},math_problem:{token:`math_problem`,schema:`education`,table:`math_problems`,label:`Math problem`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},matrx_action_ledger:{token:`matrx_action_ledger`,schema:`platform`,table:`matrx_action_ledger`,label:`Action ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mcp_config:{token:`mcp_config`,schema:`tool`,table:`mcp_config`,label:`MCP config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mcp_server:{token:`mcp_server`,schema:`tool`,table:`mcp_server`,label:`MCP server`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mcp_user_conn:{token:`mcp_user_conn`,schema:`tool`,table:`mcp_user_conn`,label:`MCP user connection`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_capture_handoff:{token:`media_capture_handoff`,schema:`media`,table:`capture_handoff`,label:`Capture Handoff`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_catalog_setting:{token:`media_catalog_setting`,schema:`media`,table:`catalog_setting`,label:`Media Catalog Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_library_item:{token:`media_library_item`,schema:`media`,table:`library_item`,label:`Library Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_selection_item:{token:`media_selection_item`,schema:`media`,table:`selection_item`,label:`Selection Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_selection_job:{token:`media_selection_job`,schema:`media`,table:`selection_job`,label:`Selection Job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_source_library:{token:`media_source_library`,schema:`media`,table:`source_library`,label:`Source Library`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_call_invite:{token:`meet_call_invite`,schema:`communication`,table:`meet_call_invites`,label:`Call Invite`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_chat_message:{token:`meet_chat_message`,schema:`communication`,table:`meet_chat_messages`,label:`Meeting Chat Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_invitee:{token:`meet_invitee`,schema:`communication`,table:`meet_invitees`,label:`Meeting Invitee`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_meeting:{token:`meet_meeting`,schema:`communication`,table:`meet_meetings`,label:`Meeting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},meet_note:{token:`meet_note`,schema:`communication`,table:`meet_notes`,label:`Meeting Note`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_occurrence_override:{token:`meet_occurrence_override`,schema:`communication`,table:`meet_occurrence_overrides`,label:`Meeting Occurrence Override`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_participant:{token:`meet_participant`,schema:`communication`,table:`meet_participants`,label:`Meeting Participant`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_recording:{token:`meet_recording`,schema:`communication`,table:`meet_recordings`,label:`Meeting Recording`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_transcript_segment:{token:`meet_transcript_segment`,schema:`communication`,table:`meet_transcript_segments`,label:`Meeting Transcript Segment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},membership:{token:`membership`,schema:`iam`,table:`memberships`,label:`Membership`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},membership_grant:{token:`membership_grant`,schema:`iam`,table:`membership_grant`,label:`Membership Grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},merge_field_provenance:{token:`merge_field_provenance`,schema:`custom`,table:`merge_field_provenance`,label:`Merge Field Provenance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},message:{token:`message`,schema:`chat`,table:`message`,label:`Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},message_template:{token:`message_template`,schema:`agent`,table:`message_template`,label:`Message Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},message_template_detail:{token:`message_template_detail`,schema:`agent`,table:`message_template_detail`,label:`Message Template Detail`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meta_excluded_schema:{token:`meta_excluded_schema`,schema:`meta`,table:`excluded_schema`,label:`Excluded schema`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meta_table_stats_history:{token:`meta_table_stats_history`,schema:`meta`,table:`table_stats_history`,label:`Table stats history`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},metadata_reserved_keys:{token:`metadata_reserved_keys`,schema:`platform`,table:`metadata_reserved_keys`,label:`Metadata Reserved Keys`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},migration_log:{token:`migration_log`,schema:`history`,table:`migration_log`,label:`Migration Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mtx_media_heal_queue:{token:`mtx_media_heal_queue`,schema:`platform`,table:`mtx_media_heal_queue`,label:`Mtx Media Heal Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mtx_public_url_guard:{token:`mtx_public_url_guard`,schema:`platform`,table:`mtx_public_url_guard`,label:`Public URL guard`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ner_shadow:{token:`ner_shadow`,schema:`rag`,table:`ner_canonicalizer_shadow`,label:`NER Shadow`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},note:{token:`note`,schema:`workbench`,table:`notes`,label:`Note`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources & Outputs`,referencePickable:!0,titleColumn:`label`,contentRole:`hybrid`,referenceCategory:null},note_folder:{token:`note_folder`,schema:`workbench`,table:`note_folders`,label:`Note Folder`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},notification:{token:`notification`,schema:`communication`,table:`notification`,label:`Notification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_channel_preference:{token:`notification_channel_preference`,schema:`communication`,table:`notification_channel_preference`,label:`Notification Channel Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_event_override:{token:`notification_event_override`,schema:`communication`,table:`notification_event_override`,label:`Notification Event Override`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_event_type:{token:`notification_event_type`,schema:`communication`,table:`notification_event_type`,label:`Notification Event Type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_preference:{token:`notification_preference`,schema:`communication`,table:`notification_preference`,label:`Notification Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_submission:{token:`notification_submission`,schema:`communication`,table:`notification_submission`,label:`Self notification submission`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notify_outsider_door_baseline:{token:`notify_outsider_door_baseline`,schema:`hr`,table:`notify_outsider_door_baseline`,label:`Notify Outsider Door Baseline`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},oauth_handoff_claim:{token:`oauth_handoff_claim`,schema:`platform`,table:`_oauth_handoff_claim`,label:`Oauth Handoff Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},opinion_clusters:{token:`opinion_clusters`,schema:`legal`,table:`opinion_clusters`,label:`Opinion Clusters`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},opinions:{token:`opinions`,schema:`legal`,table:`opinions`,label:`Opinions`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_check_item:{token:`ops_check_item`,schema:`ops`,table:`check_item`,label:`Check Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_check_run:{token:`ops_check_run`,schema:`ops`,table:`check_run`,label:`Check Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_db_host_sample:{token:`ops_db_host_sample`,schema:`ops`,table:`db_host_sample`,label:`Database host sample`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_issue_class:{token:`ops_issue_class`,schema:`ops`,table:`ops_issue_class`,label:`Ops Issue Class`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_issue_event:{token:`ops_issue_event`,schema:`ops`,table:`ops_issue_event`,label:`Ops Issue Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_proof_check:{token:`ops_proof_check`,schema:`ops`,table:`proof_check`,label:`Proof Check`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_proof_run:{token:`ops_proof_run`,schema:`ops`,table:`proof_run`,label:`Proof Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_proof_scenario:{token:`ops_proof_scenario`,schema:`ops`,table:`proof_scenario`,label:`Proof Scenario`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_admin_audit:{token:`org_admin_audit`,schema:`iam`,table:`org_admin_audit`,label:`Org admin audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_change_policy:{token:`org_change_policy`,schema:`platform`,table:`org_change_policy`,label:`Org Change Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_context_ledger:{token:`org_context_ledger`,schema:`platform`,table:`org_context_ledger`,label:`Org Context Ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_industries:{token:`org_industries`,schema:`iam`,table:`org_industries`,label:`Org Industries`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_member_control:{token:`org_member_control`,schema:`iam`,table:`org_member_controls`,label:`Org member control`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_module_config:{token:`org_module_config`,schema:`platform`,table:`org_module_config`,label:`Organization module configuration`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_plan:{token:`org_plan`,schema:`billing`,table:`org_plan`,label:`Org Plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},organization:{token:`organization`,schema:`iam`,table:`organizations`,label:`Organization`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},organization_preferences:{token:`organization_preferences`,schema:`iam`,table:`organization_preferences`,label:`Organization Preferences`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},organization_visibility_version:{token:`organization_visibility_version`,schema:`custom`,table:`organization_visibility_version`,label:`Organization Visibility Version`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},output_feedback:{token:`output_feedback`,schema:`platform`,table:`output_feedback`,label:`Output Feedback`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},outreach_acceptance:{token:`outreach_acceptance`,schema:`crm`,table:`outreach_acceptance`,label:`Outreach Acceptance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_extraction_job:{token:`page_extraction_job`,schema:`docproc`,table:`page_extraction_jobs`,label:`Extraction Dataset`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},page_extraction_page_run:{token:`page_extraction_page_run`,schema:`docproc`,table:`page_extraction_page_runs`,label:`Page Extraction Page Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_extraction_results:{token:`page_extraction_results`,schema:`docproc`,table:`page_extraction_results`,label:`Page Extraction Results`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_extraction_runs:{token:`page_extraction_runs`,schema:`docproc`,table:`page_extraction_runs`,label:`Page Extraction Runs`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_intent_queue:{token:`page_intent_queue`,schema:`seo`,table:`page_intent_queue`,label:`Page Intent Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_mapping_queue:{token:`page_mapping_queue`,schema:`seo`,table:`page_mapping_queue`,label:`Page Mapping Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},part_config:{token:`part_config`,schema:`partman`,table:`part_config`,label:`Part Config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},part_config_sub:{token:`part_config_sub`,schema:`partman`,table:`part_config_sub`,label:`Part Config Sub`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},party:{token:`party`,schema:`crm`,table:`party`,label:`Contact`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:`source`,referenceCategory:null},party_contact_point:{token:`party_contact_point`,schema:`crm`,table:`party_contact_point`,label:`Contact Point`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},passkey_credential:{token:`passkey_credential`,schema:`users`,table:`passkey_credentials`,label:`Passkey credential`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pc_article:{token:`pc_article`,schema:`podcast`,table:`pc_articles`,label:`Podcast Article`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_episode:{token:`pc_episode`,schema:`podcast`,table:`pc_episodes`,label:`Podcast Episode`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_show:{token:`pc_show`,schema:`podcast`,table:`pc_shows`,label:`Podcast Show`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_studio_run:{token:`pc_studio_run`,schema:`podcast`,table:`pc_studio_runs`,label:`Podcast Studio Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_studio_run_asset:{token:`pc_studio_run_asset`,schema:`podcast`,table:`pc_studio_run_assets`,label:`Podcast Studio Run Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pdf_consolidation_log:{token:`pdf_consolidation_log`,schema:`pdf`,table:`pdf_consolidation_log`,label:`Pdf Consolidation Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pdf_redaction_audit:{token:`pdf_redaction_audit`,schema:`pdf`,table:`pdf_redaction_audits`,label:`PDF Redaction Audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pdf_redaction_key_escrow:{token:`pdf_redaction_key_escrow`,schema:`pdf`,table:`pdf_redaction_key_escrow`,label:`Pdf Redaction Key Escrow`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},permission_grant:{token:`permission_grant`,schema:`iam`,table:`permissions`,label:`Permission grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_cms_fill_item:{token:`plan_cms_fill_item`,schema:`plan`,table:`cms_fill_item`,label:`CMS Fill Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_cms_fill_job:{token:`plan_cms_fill_job`,schema:`plan`,table:`cms_fill_job`,label:`CMS Fill Job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_entity:{token:`plan_entity`,schema:`plan`,table:`entity`,label:`Plan Entity`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},plan_node:{token:`plan_node`,schema:`plan`,table:`node`,label:`Plan Node`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},plan_node_artifact:{token:`plan_node_artifact`,schema:`plan`,table:`node_artifact`,label:`Plan Node Artifact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_node_step:{token:`plan_node_step`,schema:`plan`,table:`node_step`,label:`Plan Node Step`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_profile:{token:`plan_profile`,schema:`plan`,table:`profile`,label:`Plan Vertical Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`vertical`,contentRole:null,referenceCategory:null},platform_action_request:{token:`platform_action_request`,schema:`platform`,table:`action_request`,label:`Action Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_actor_session:{token:`platform_actor_session`,schema:`platform`,table:`actor_session`,label:`Actor session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_actor_token:{token:`platform_actor_token`,schema:`platform`,table:`actor_token`,label:`Actor token`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_actor_token_event:{token:`platform_actor_token_event`,schema:`platform`,table:`actor_token_event`,label:`Actor token event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_class_approval_by_arman:{token:`platform_class_approval_by_arman`,schema:`platform`,table:`class_approval_by_arman`,label:`Class approval by Arman`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_continued_access:{token:`platform_continued_access`,schema:`platform`,table:`continued_access`,label:`Continued Access`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_census_run:{token:`platform_cutover_census_run`,schema:`platform`,table:`cutover_census_run`,label:`Cutover census run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_evaluation_replaced:{token:`platform_cutover_evaluation_replaced`,schema:`platform`,table:`cutover_evaluation_replaced`,label:`Cutover evaluation replaced`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_evaluation_write:{token:`platform_cutover_evaluation_write`,schema:`platform`,table:`cutover_evaluation_write`,label:`Cutover evaluation write`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_seam:{token:`platform_cutover_seam`,schema:`platform`,table:`cutover_seam`,label:`Cutover seam`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_seam_measure:{token:`platform_cutover_seam_measure`,schema:`platform`,table:`cutover_seam_measure`,label:`Cutover seam measure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_seam_press:{token:`platform_cutover_seam_press`,schema:`platform`,table:`cutover_seam_press`,label:`Cutover seam press`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_dated_change:{token:`platform_dated_change`,schema:`platform`,table:`dated_change`,label:`Dated Change`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_doors_only_pending_cutover:{token:`platform_doors_only_pending_cutover`,schema:`platform`,table:`doors_only_pending_cutover`,label:`Doors-only pending cutover`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_google_calendar_event_create_intent:{token:`platform_google_calendar_event_create_intent`,schema:`platform`,table:`_google_calendar_event_create_intent`,label:`Google calendar event create intent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_google_task_create_intent:{token:`platform_google_task_create_intent`,schema:`platform`,table:`_google_task_create_intent`,label:`Google task create intent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_kernel_fingerprint_record:{token:`platform_kernel_fingerprint_record`,schema:`platform`,table:`kernel_fingerprint_record`,label:`Kernel fingerprint record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_outcome_event:{token:`platform_outcome_event`,schema:`platform`,table:`outcome_event`,label:`Outcome Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_outsider_consumer:{token:`platform_outsider_consumer`,schema:`platform`,table:`outsider_consumer`,label:`Outsider consumer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_provision_base_contract_pending:{token:`platform_provision_base_contract_pending`,schema:`platform`,table:`provision_base_contract_pending`,label:`Provision base contract pending`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reachability:{token:`platform_reachability`,schema:`platform`,table:`reachability`,label:`Reachability`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reachability_rebuild_pending:{token:`platform_reachability_rebuild_pending`,schema:`platform`,table:`reachability_rebuild_pending`,label:`Reachability rebuild pending`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_realtime_topic_prefix:{token:`platform_realtime_topic_prefix`,schema:`platform`,table:`realtime_topic_prefix`,label:`Realtime topic prefix`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reference_category:{token:`platform_reference_category`,schema:`platform`,table:`reference_categories`,label:`Reference category`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reference_declaration:{token:`platform_reference_declaration`,schema:`platform`,table:`reference_declaration`,label:`Reference declaration`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_repo:{token:`platform_repo`,schema:`platform`,table:`repo`,label:`Repository`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_saved_view:{token:`platform_saved_view`,schema:`platform`,table:`saved_view`,label:`Saved view`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_schema:{token:`platform_schema`,schema:`platform`,table:`schemas`,label:`Schema`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_secure_delivery:{token:`platform_secure_delivery`,schema:`platform`,table:`secure_delivery`,label:`Secure Delivery`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_share_link:{token:`platform_share_link`,schema:`platform`,table:`share_links`,label:`Share link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_strict_class_probe:{token:`platform_strict_class_probe`,schema:`platform`,table:`strict_class_probe`,label:`Strict class probe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},podcast_race:{token:`podcast_race`,schema:`podcast`,table:`pc_race`,label:`Podcast Race Episode`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},position:{token:`position`,schema:`agent`,table:`position`,label:`Position`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},processed_document:{token:`processed_document`,schema:`docproc`,table:`processed_documents`,label:`Source`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},processed_document_page:{token:`processed_document_page`,schema:`docproc`,table:`processed_document_pages`,label:`Processed document page`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_file:{token:`product_capture_file`,schema:`workbench`,table:`product_capture_file`,label:`Product Capture File`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_item:{token:`product_capture_item`,schema:`workbench`,table:`product_capture_item`,label:`Product Capture Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_payload:{token:`product_capture_payload`,schema:`workbench`,table:`product_capture_payload`,label:`Product Capture Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_product:{token:`product_capture_product`,schema:`workbench`,table:`product_capture_product`,label:`Product Capture Product`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_question:{token:`product_capture_question`,schema:`workbench`,table:`product_capture_question`,label:`Product Capture Question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},project:{token:`project`,schema:`projects`,table:`projects`,label:`Project`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Workspaces`,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},provider_account:{token:`provider_account`,schema:`provider`,table:`account`,label:`Provider operating account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provider_account_credential:{token:`provider_account_credential`,schema:`provider`,table:`account_credential`,label:`Provider account credential association`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision:{token:`provision`,schema:`mandate`,table:`provision`,label:`Mandate Provision (new)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_generate_target:{token:`provision_generate_target`,schema:`platform`,table:`provision_generate_target`,label:`Provision Generate Target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_grant:{token:`provision_grant`,schema:`platform`,table:`provision_grant`,label:`Provision Grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_marker:{token:`provision_marker`,schema:`platform`,table:`provision_marker`,label:`Provision Marker`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_rule_message:{token:`provision_rule_message`,schema:`platform`,table:`provision_rule_message`,label:`Provision Rule Message`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_schema:{token:`provision_schema`,schema:`platform`,table:`provision_schema`,label:`Provision Schema`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_shape_debt:{token:`provision_shape_debt`,schema:`platform`,table:`provision_shape_debt`,label:`Provision Shape Debt`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_spec:{token:`provision_spec`,schema:`platform`,table:`provision_spec`,label:`Provision Spec`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_spec_grandfather:{token:`provision_spec_grandfather`,schema:`platform`,table:`provision_spec_grandfather`,label:`Provision Spec Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_vocabulary:{token:`provision_vocabulary`,schema:`platform`,table:`provision_vocabulary`,label:`Provision Vocabulary`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},purpose:{token:`purpose`,schema:`platform`,table:`purpose`,label:`Purpose`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},quiz_session:{token:`quiz_session`,schema:`education`,table:`quiz_sessions`,label:`Quiz Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:`destination`,referenceCategory:null},rag_ingest_run:{token:`rag_ingest_run`,schema:`rag`,table:`ingest_run`,label:`Ingest Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},rag_library_audit_log:{token:`rag_library_audit_log`,schema:`rag`,table:`library_audit_log`,label:`Library audit log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},rate_limit_buckets:{token:`rate_limit_buckets`,schema:`files`,table:`rate_limit_buckets`,label:`Rate Limit Buckets`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},reachability_pending:{token:`reachability_pending`,schema:`platform`,table:`reachability_pending`,label:`Reachability pending`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},recompute_queue:{token:`recompute_queue`,schema:`hr`,table:`_recompute_queue`,label:`Recompute Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},record:{token:`record`,schema:`custom`,table:`record`,label:`Record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},record_alias:{token:`record_alias`,schema:`custom`,table:`record_alias`,label:`Record Alias`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},redaction_mapping:{token:`redaction_mapping`,schema:`pdf`,table:`redaction_mapping`,label:`Redaction Mapping`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_analysis:{token:`research_analysis`,schema:`research`,table:`rs_analysis`,label:`Research Analysis`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_content:{token:`research_content`,schema:`research`,table:`rs_content`,label:`Research Content`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_context_bundle:{token:`research_context_bundle`,schema:`research`,table:`rs_context_bundle`,label:`Research Context Bundle`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`research`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},research_document:{token:`research_document`,schema:`research`,table:`rs_document`,label:`Research Document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},research_intent:{token:`research_intent`,schema:`research`,table:`research_intent`,label:`Research Intent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_keyword:{token:`research_keyword`,schema:`research`,table:`rs_keyword`,label:`Research Keyword`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_media:{token:`research_media`,schema:`research`,table:`rs_media`,label:`Research Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_source:{token:`research_source`,schema:`research`,table:`rs_source`,label:`Research Source`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},research_synthesis:{token:`research_synthesis`,schema:`research`,table:`rs_synthesis`,label:`Research Synthesis`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_tag:{token:`research_tag`,schema:`research`,table:`rs_tag`,label:`Research Tag`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},research_template:{token:`research_template`,schema:`research`,table:`rs_template`,label:`Research Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},research_topic:{token:`research_topic`,schema:`research`,table:`rs_topic`,label:`Research Topic`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},retention_policy:{token:`retention_policy`,schema:`platform`,table:`retention_policy`,label:`Retention policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},retrieval_audit:{token:`retrieval_audit`,schema:`rag`,table:`retrieval_audit`,label:`Retrieval audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},review_queue:{token:`review_queue`,schema:`agent`,table:`review_queue`,label:`Review Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},route_manifest_entry:{token:`route_manifest_entry`,schema:`platform`,table:`route_manifest`,label:`Route Manifest Entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},row_version:{token:`row_version`,schema:`history`,table:`row_versions`,label:`Row version`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},rulebook:{token:`rulebook`,schema:`platform`,table:`rulebook`,label:`Rulebook`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`Knowledge`,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},runtime_operation_stream:{token:`runtime_operation_stream`,schema:`runtime`,table:`operation_stream`,label:`Operation stream`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},runtime_operation_stream_batch:{token:`runtime_operation_stream_batch`,schema:`runtime`,table:`operation_stream_batch`,label:`Operation stream batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sandbox_instance:{token:`sandbox_instance`,schema:`public`,table:`sandbox_instances`,label:`Sandbox Instance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sch_agent_task:{token:`sch_agent_task`,schema:`scheduler`,table:`sch_agent_task`,label:`Agent Task Config`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sch_run:{token:`sch_run`,schema:`scheduler`,table:`sch_run`,label:`Task Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sch_task:{token:`sch_task`,schema:`scheduler`,table:`sch_task`,label:`Scheduled Task`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},sch_trigger:{token:`sch_trigger`,schema:`scheduler`,table:`sch_trigger`,label:`Task Trigger`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_client_exposure:{token:`schema_client_exposure`,schema:`platform`,table:`schema_client_exposure`,label:`Schema Client Exposure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_migration_ledger:{token:`schema_migration_ledger`,schema:`public`,table:`_schema_migrations`,label:`Migration ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_migration_legacy:{token:`schema_migration_legacy`,schema:`public`,table:`schema_migrations`,label:`Legacy migration ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_migration_slot_grandfather:{token:`schema_migration_slot_grandfather`,schema:`public`,table:`_schema_migration_slot_grandfather`,label:`Schema Migration Slot Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_templates:{token:`schema_templates`,schema:`workbench`,table:`schema_templates`,label:`Schema Templates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope:{token:`scope`,schema:`context`,table:`scopes`,label:`Scope`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},scope_association_suggestion:{token:`scope_association_suggestion`,schema:`rag`,table:`scope_association_suggestions`,label:`Scope Association Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_dataset_instance:{token:`scope_dataset_instance`,schema:`context`,table:`scope_dataset_instances`,label:`Scope dataset instance`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_door_registry:{token:`scope_door_registry`,schema:`context`,table:`scope_door_registry`,label:`Scope Door Registry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_item_value_suggestion:{token:`scope_item_value_suggestion`,schema:`rag`,table:`scope_item_value_suggestions`,label:`Scope Item Value Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_suggestion:{token:`scope_suggestion`,schema:`rag`,table:`scope_suggestions`,label:`Scope Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_type:{token:`scope_type`,schema:`context`,table:`scope_types`,label:`Scope Type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`slug`,contentRole:`container`,referenceCategory:null},scrape_domain:{token:`scrape_domain`,schema:`scraper`,table:`scrape_domain`,label:`Scrape Domain`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_domain_settings:{token:`scrape_domain_settings`,schema:`scraper`,table:`scrape_domain_settings`,label:`Scrape Domain Settings`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_failure_log:{token:`scrape_failure_log`,schema:`scraper`,table:`scrape_failure_log`,label:`Scrape Failure Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_parsed_page:{token:`scrape_parsed_page`,schema:`scraper`,table:`scrape_parsed_page`,label:`Parsed page`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_path_override:{token:`scrape_path_override`,schema:`scraper`,table:`scrape_path_override`,label:`Scrape Path Override`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_path_pattern:{token:`scrape_path_pattern`,schema:`scraper`,table:`scrape_path_pattern`,label:`Scrape Path Pattern`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_retry_queue:{token:`scrape_retry_queue`,schema:`scraper`,table:`scrape_retry_queue`,label:`Scrape Retry Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},search_item:{token:`search_item`,schema:`platform`,table:`search_item`,label:`Search item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_capability:{token:`seo_ai_capability`,schema:`seo`,table:`ai_capability`,label:`SEO AI capability`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_citation:{token:`seo_ai_visibility_citation`,schema:`seo`,table:`ai_visibility_citation`,label:`AI Visibility Citation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_claim:{token:`seo_ai_visibility_claim`,schema:`seo`,table:`ai_visibility_claim`,label:`AI Visibility Claim`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_panel:{token:`seo_ai_visibility_panel`,schema:`seo`,table:`ai_visibility_panel`,label:`AI Visibility Panel`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_response:{token:`seo_ai_visibility_response`,schema:`seo`,table:`ai_visibility_response`,label:`AI Visibility Response`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_signal:{token:`seo_ai_visibility_signal`,schema:`seo`,table:`ai_visibility_signal`,label:`AI Visibility Signal`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink:{token:`seo_backlink`,schema:`seo`,table:`backlink`,label:`SEO Backlink`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_change_event:{token:`seo_backlink_change_event`,schema:`seo`,table:`backlink_change_event`,label:`Backlink Change Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_dimension_snapshot:{token:`seo_backlink_dimension_snapshot`,schema:`seo`,table:`backlink_dimension_snapshot`,label:`Backlink Dimension Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_observation:{token:`seo_backlink_observation`,schema:`seo`,table:`backlink_observation`,label:`Backlink Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_snapshot:{token:`seo_backlink_snapshot`,schema:`seo`,table:`backlink_snapshot`,label:`Backlink Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_assessment:{token:`seo_change_assessment`,schema:`seo`,table:`change_assessment`,label:`SEO Change Assessment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_event:{token:`seo_change_event`,schema:`seo`,table:`change_event`,label:`SEO Change Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_item:{token:`seo_change_item`,schema:`seo`,table:`change_item`,label:`SEO Change Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_metric:{token:`seo_change_metric`,schema:`seo`,table:`change_metric`,label:`SEO Change Metric`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_set:{token:`seo_change_set`,schema:`seo`,table:`change_set`,label:`SEO Change`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:`title`,contentRole:`source`,referenceCategory:null},seo_change_theory:{token:`seo_change_theory`,schema:`seo`,table:`change_theory`,label:`SEO Change Theory`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_collection_run:{token:`seo_collection_run`,schema:`seo`,table:`collection_run`,label:`SEO Collection Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_competitor:{token:`seo_competitor`,schema:`seo`,table:`competitor`,label:`SEO Competitor`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_competitor_observation:{token:`seo_competitor_observation`,schema:`seo`,table:`competitor_observation`,label:`Competitor Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_competitor_opportunity:{token:`seo_competitor_opportunity`,schema:`seo`,table:`competitor_opportunity`,label:`Competitor Opportunity`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_coverage_mention:{token:`seo_coverage_mention`,schema:`seo`,table:`coverage_mention`,label:`Coverage Mention`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_coverage_tracker:{token:`seo_coverage_tracker`,schema:`seo`,table:`coverage_tracker`,label:`Coverage Tracker`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_dimension_value_matcher:{token:`seo_dimension_value_matcher`,schema:`seo`,table:`dimension_value_matcher`,label:`Dimension Value Matcher`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_engine_schedule:{token:`seo_engine_schedule`,schema:`seo`,table:`engine_schedule`,label:`SEO Engine Schedule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_geo_place:{token:`seo_geo_place`,schema:`seo`,table:`geo_place`,label:`Geo Place`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_gsc_dig_rule:{token:`seo_gsc_dig_rule`,schema:`seo`,table:`gsc_dig_rule`,label:`GSC Dig Rule`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword:{token:`seo_keyword`,schema:`seo`,table:`keyword`,label:`SEO Keyword`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:`phrase`,contentRole:null,referenceCategory:null},seo_keyword_class_rule:{token:`seo_keyword_class_rule`,schema:`seo`,table:`keyword_class_rule`,label:`Keyword Class Rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_edge:{token:`seo_keyword_edge`,schema:`seo`,table:`keyword_edge`,label:`Keyword Edge`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_facet:{token:`seo_keyword_facet`,schema:`seo`,table:`keyword_facet`,label:`Keyword Facet`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_market:{token:`seo_keyword_market`,schema:`seo`,table:`keyword_market`,label:`Keyword Market Data`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_market_observation:{token:`seo_keyword_market_observation`,schema:`seo`,table:`keyword_market_observation`,label:`Keyword Market Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_place:{token:`seo_keyword_place`,schema:`seo`,table:`keyword_place`,label:`Keyword Place`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_saved_view:{token:`seo_keyword_saved_view`,schema:`seo`,table:`keyword_saved_view`,label:`Keyword Saved View`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_topic:{token:`seo_keyword_topic`,schema:`seo`,table:`keyword_topic`,label:`Keyword Topic Assignment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_landscape_brief:{token:`seo_landscape_brief`,schema:`seo`,table:`landscape_brief`,label:`Competitive Landscape Brief`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_link_gap_domain:{token:`seo_link_gap_domain`,schema:`seo`,table:`link_gap_domain`,label:`Link Gap Domain`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_link_gap_match:{token:`seo_link_gap_match`,schema:`seo`,table:`link_gap_match`,label:`Link Gap Match`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_map_facet:{token:`seo_map_facet`,schema:`seo`,table:`map_facet`,label:`Topical map facet`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_map_facet_value:{token:`seo_map_facet_value`,schema:`seo`,table:`map_facet_value`,label:`Topical map facet value`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_map_topic:{token:`seo_map_topic`,schema:`seo`,table:`map_topic`,label:`Topical map topic`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_page_measurement_health:{token:`seo_page_measurement_health`,schema:`seo`,table:`page_measurement_health`,label:`Page Measurement Health`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_page_performance:{token:`seo_page_performance`,schema:`seo`,table:`page_performance`,label:`Page Performance`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_pr_moment:{token:`seo_pr_moment`,schema:`seo`,table:`pr_moment`,label:`PR Moment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_provider_call:{token:`seo_provider_call`,schema:`seo`,table:`provider_call`,label:`SEO Provider Call`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_provider_task:{token:`seo_provider_task`,schema:`seo`,table:`provider_task`,label:`SEO Provider Task`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_rank_observation:{token:`seo_rank_observation`,schema:`seo`,table:`rank_observation`,label:`Rank Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_rank_target:{token:`seo_rank_target`,schema:`seo`,table:`rank_target`,label:`SEO Rank Target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_raw_payload:{token:`seo_raw_payload`,schema:`seo`,table:`raw_payload`,label:`SEO Raw Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_referring_domain_profile:{token:`seo_referring_domain_profile`,schema:`seo`,table:`referring_domain_profile`,label:`Referring Domain Profile`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_reputation_case:{token:`seo_reputation_case`,schema:`seo`,table:`reputation_case`,label:`Reputation Case`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_search_performance_daily:{token:`seo_search_performance_daily`,schema:`seo`,table:`search_performance_daily`,label:`Search Performance Daily`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_mention:{token:`seo_serp_mention`,schema:`seo`,table:`serp_mention`,label:`SERP Prospect Mention`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_opportunity:{token:`seo_serp_opportunity`,schema:`seo`,table:`serp_opportunity`,label:`SERP Prospect Opportunity`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_result:{token:`seo_serp_result`,schema:`seo`,table:`serp_result`,label:`SERP Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_snapshot:{token:`seo_serp_snapshot`,schema:`seo`,table:`serp_snapshot`,label:`SERP Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_geo_area:{token:`seo_site_geo_area`,schema:`seo`,table:`site_geo_area`,label:`Site Geo Area`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_keyword_offering:{token:`seo_site_keyword_offering`,schema:`seo`,table:`site_keyword_offering`,label:`Site Keyword Offering`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_keyword_value:{token:`seo_site_keyword_value`,schema:`seo`,table:`site_keyword_value`,label:`Site Keyword Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_offering_value:{token:`seo_site_offering_value`,schema:`seo`,table:`site_offering_value`,label:`Site Offering Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_topic_value:{token:`seo_site_topic_value`,schema:`seo`,table:`site_topic_value`,label:`Site Topic Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_value_combo:{token:`seo_site_value_combo`,schema:`seo`,table:`site_value_combo`,label:`Site Value Combination`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_value_worth:{token:`seo_site_value_worth`,schema:`seo`,table:`site_value_worth`,label:`Site Value Worth`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_vocabulary:{token:`seo_site_vocabulary`,schema:`seo`,table:`site_vocabulary`,label:`Site Vocabulary`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_source_request:{token:`seo_source_request`,schema:`seo`,table:`source_request`,label:`SEO Source Request`,baseTier:2,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_starter_pack:{token:`seo_starter_pack`,schema:`seo`,table:`starter_pack`,label:`SEO Industry Starter Pack`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_starter_pack_item:{token:`seo_starter_pack_item`,schema:`seo`,table:`starter_pack_item`,label:`SEO Starter Pack Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_story_angle:{token:`seo_story_angle`,schema:`seo`,table:`story_angle`,label:`SEO Story Angle`,baseTier:2,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_topic:{token:`seo_topic`,schema:`seo`,table:`topic`,label:`SEO Topic`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},seo_topical_map:{token:`seo_topical_map`,schema:`seo`,table:`topical_map`,label:`Topical map`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_tracker_story:{token:`seo_tracker_story`,schema:`seo`,table:`tracker_story`,label:`Monitor Story`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_web_analytics_daily:{token:`seo_web_analytics_daily`,schema:`seo`,table:`web_analytics_daily`,label:`Web Analytics Daily`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},shareable_resource_registry:{token:`shareable_resource_registry`,schema:`platform`,table:`shareable_resource_registry`,label:`Shareable resource registry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},shared_canvas_item:{token:`shared_canvas_item`,schema:`canvas`,table:`shared_canvas_items`,label:`Shared Canvas Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},short_link:{token:`short_link`,schema:`platform`,table:`short_links`,label:`Short Link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sign_in_fk_legacy:{token:`sign_in_fk_legacy`,schema:`platform`,table:`sign_in_fk_legacy`,label:`Sign-in reference baseline`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},skill:{token:`skill`,schema:`skill`,table:`definition`,label:`Skill`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Skills`,referencePickable:!0,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},skill_detail:{token:`skill_detail`,schema:`skill`,table:`skill_detail`,label:`Skill Detail`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Skills`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},skill_render_definition:{token:`skill_render_definition`,schema:`skill`,table:`render_definition`,label:`Skill Render Definition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Skills`,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},sms_consent:{token:`sms_consent`,schema:`communication`,table:`sms_consent`,label:`SMS Consent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_conversation:{token:`sms_conversation`,schema:`communication`,table:`sms_conversations`,label:`SMS Conversation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_message:{token:`sms_message`,schema:`communication`,table:`sms_messages`,label:`SMS Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_message_media:{token:`sms_message_media`,schema:`communication`,table:`sms_media`,label:`SMS Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`file_name`,contentRole:null,referenceCategory:null},sms_notification:{token:`sms_notification`,schema:`communication`,table:`sms_notifications`,label:`SMS Notification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_notification_preference:{token:`sms_notification_preference`,schema:`communication`,table:`sms_notification_preferences`,label:`SMS Notification Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_phone_number:{token:`sms_phone_number`,schema:`communication`,table:`sms_phone_numbers`,label:`SMS Phone Number`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_rate_limits:{token:`sms_rate_limits`,schema:`communication`,table:`sms_rate_limits`,label:`Sms Rate Limits`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_webhook_logs:{token:`sms_webhook_logs`,schema:`communication`,table:`sms_webhook_logs`,label:`Sms Webhook Logs`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},soft_delete_cascade_job:{token:`soft_delete_cascade_job`,schema:`platform`,table:`soft_delete_cascade_job`,label:`Soft-delete cascade job`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},soft_delete_edge:{token:`soft_delete_edge`,schema:`platform`,table:`soft_delete_edge`,label:`Soft Delete Edge`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},source_authority:{token:`source_authority`,schema:`platform`,table:`source_authority`,label:`Source authority`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},stage_ref_kind:{token:`stage_ref_kind`,schema:`growth`,table:`stage_ref_kind`,label:`Stage reference kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},stamped_write_table:{token:`stamped_write_table`,schema:`platform`,table:`stamped_write_table`,label:`Stamped Write Table`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},structure:{token:`structure`,schema:`files`,table:`structure`,label:`Structure`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_cleaned_segments:{token:`studio_cleaned_segments`,schema:`transcripts`,table:`studio_cleaned_segments`,label:`Studio Cleaned Segments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_concept_items:{token:`studio_concept_items`,schema:`transcripts`,table:`studio_concept_items`,label:`Studio Concept Items`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_documents:{token:`studio_documents`,schema:`transcripts`,table:`studio_documents`,label:`Studio Document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},studio_module_segments:{token:`studio_module_segments`,schema:`transcripts`,table:`studio_module_segments`,label:`Studio Module Segments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_raw_segments:{token:`studio_raw_segments`,schema:`transcripts`,table:`studio_raw_segments`,label:`Studio Raw Segments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_recording_chunks:{token:`studio_recording_chunks`,schema:`transcripts`,table:`studio_recording_chunks`,label:`Studio Recording Chunk`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_recording_segments:{token:`studio_recording_segments`,schema:`transcripts`,table:`studio_recording_segments`,label:`Studio Recording Segment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_run:{token:`studio_run`,schema:`transcripts`,table:`studio_runs`,label:`Studio Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_session:{token:`studio_session`,schema:`transcripts`,table:`studio_sessions`,label:`Transcript Studio session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:`source`,referenceCategory:null},studio_session_settings:{token:`studio_session_settings`,schema:`transcripts`,table:`studio_session_settings`,label:`Studio Session Settings`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_attempt:{token:`study_attempt`,schema:`education`,table:`study_attempt`,label:`Study Attempt`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_goal:{token:`study_goal`,schema:`education`,table:`study_goal`,label:`Study Goal`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},study_media:{token:`study_media`,schema:`education`,table:`study_media`,label:`Study Media`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},study_plan:{token:`study_plan`,schema:`education`,table:`study_plan`,label:`Study Plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},study_plan_block:{token:`study_plan_block`,schema:`education`,table:`study_plan_block`,label:`Study Plan Block`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},study_plan_day:{token:`study_plan_day`,schema:`education`,table:`study_plan_day`,label:`Study Plan Day`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_reminder_context:{token:`study_reminder_context`,schema:`education`,table:`study_reminder_context`,label:`Study Reminder Context`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_reminder_delivery:{token:`study_reminder_delivery`,schema:`education`,table:`study_reminder_delivery`,label:`Study Reminder Delivery`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_session:{token:`study_session`,schema:`education`,table:`study_session`,label:`Study Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_source_chunk:{token:`study_source_chunk`,schema:`education`,table:`study_source_chunk`,label:`Study Source Chunk`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_streak:{token:`study_streak`,schema:`education`,table:`study_streak`,label:`Study streak`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_structured_section:{token:`study_structured_section`,schema:`education`,table:`study_structured_section`,label:`Study Structured Section`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},superseded_policy:{token:`superseded_policy`,schema:`iam`,table:`superseded_policy`,label:`Superseded Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},surface:{token:`surface`,schema:`ui`,table:`ui_surface`,label:`UI Surface`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},system_announcement:{token:`system_announcement`,schema:`users`,table:`system_announcements`,label:`System announcement`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_context_item:{token:`system_context_item`,schema:`context`,table:`system_context_item`,label:`System Context Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_error:{token:`system_error`,schema:`ops`,table:`system_error`,label:`System Error`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_orgs:{token:`system_orgs`,schema:`iam`,table:`system_orgs`,label:`System Orgs`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_write_failure:{token:`system_write_failure`,schema:`ops`,table:`system_write_failure`,label:`System Write Failure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},t13_backfill_ledger:{token:`t13_backfill_ledger`,schema:`ops`,table:`t13_backfill_ledger`,label:`T-13 backfill ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},t13_default_ledger:{token:`t13_default_ledger`,schema:`ops`,table:`t13_default_ledger`,label:`T-13 default ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},t13_row_column_events:{token:`t13_row_column_events`,schema:`ops`,table:`t13_row_column_events`,label:`T-13 row column events`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tag:{token:`tag`,schema:`platform`,table:`tag`,label:`Tag`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},task:{token:`task`,schema:`projects`,table:`tasks`,label:`Task`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Workspaces`,referencePickable:!0,titleColumn:`title`,contentRole:`container`,referenceCategory:null},task_user_state:{token:`task_user_state`,schema:`projects`,table:`task_user_state`,label:`Task user state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},taxonomy_node:{token:`taxonomy_node`,schema:`platform`,table:`taxonomy_node`,label:`Taxonomy node`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},team:{token:`team`,schema:`iam`,table:`team`,label:`Team`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!1,category:`Organizations`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},template_context_items:{token:`template_context_items`,schema:`context`,table:`template_context_items`,label:`Template Context Items`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},template_scope_types:{token:`template_scope_types`,schema:`context`,table:`template_scope_types`,label:`Template Scope Types`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},templates:{token:`templates`,schema:`context`,table:`templates`,label:`Templates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},test_handset_inbox:{token:`test_handset_inbox`,schema:`communication`,table:`test_handset_inbox`,label:`Test Handset Inbox`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},test_handset_verification:{token:`test_handset_verification`,schema:`communication`,table:`test_handset_verification`,label:`Test Handset Verification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},thread:{token:`thread`,schema:`projects`,table:`threads`,label:`Thread`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},tool:{token:`tool`,schema:`tool`,table:`definition`,label:`Tool`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},tool_binding:{token:`tool_binding`,schema:`tool`,table:`binding`,label:`Tool binding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_bundle:{token:`tool_bundle`,schema:`tool`,table:`bundle`,label:`Tool Bundle`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},tool_call:{token:`tool_call`,schema:`chat`,table:`tool_call`,label:`Tool Call`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_definition_version:{token:`tool_definition_version`,schema:`tool`,table:`definition_version`,label:`Tool Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},tool_executor:{token:`tool_executor`,schema:`tool`,table:`executor`,label:`Tool executor`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_surface_defaults:{token:`tool_surface_defaults`,schema:`tool`,table:`surface_defaults`,label:`Tool surface defaults`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_test_sample:{token:`tool_test_sample`,schema:`tool`,table:`test_sample`,label:`Tool Test Sample`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_ui:{token:`tool_ui`,schema:`tool`,table:`ui`,label:`Tool UI`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},tool_ui_incident:{token:`tool_ui_incident`,schema:`tool`,table:`ui_incident`,label:`Tool UI Incident`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_ui_version:{token:`tool_ui_version`,schema:`tool`,table:`ui_version`,label:`Tool UI Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},topic_placement_queue:{token:`topic_placement_queue`,schema:`seo`,table:`topic_placement_queue`,label:`Topic Placement Queue`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},transcript:{token:`transcript`,schema:`transcripts`,table:`transcripts`,label:`Transcript`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources`,referencePickable:!0,titleColumn:`title`,contentRole:`source`,referenceCategory:null},trigger_event:{token:`trigger_event`,schema:`workflow`,table:`trigger_event`,label:`Trigger Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_dataset_template:{token:`udt_dataset_template`,schema:`workbench`,table:`udt_dataset_templates`,label:`Dataset template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_dataset_template_fields:{token:`udt_dataset_template_fields`,schema:`workbench`,table:`udt_dataset_template_fields`,label:`Udt Dataset Template Fields`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_document:{token:`udt_document`,schema:`workbench`,table:`udt_documents`,label:`Cloud document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`document_name`,contentRole:`hybrid`,referenceCategory:null},udt_document_snapshot:{token:`udt_document_snapshot`,schema:`workbench`,table:`udt_document_snapshots`,label:`Document snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_workbook_snapshot:{token:`udt_workbook_snapshot`,schema:`workbench`,table:`udt_workbook_snapshots`,label:`Workbook snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_client:{token:`ui_client`,schema:`ui`,table:`ui_client`,label:`UI client`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_agent_pref:{token:`ui_surface_agent_pref`,schema:`ui`,table:`ui_surface_agent_pref`,label:`UI Surface Agent Pref`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_agent_role:{token:`ui_surface_agent_role`,schema:`ui`,table:`ui_surface_agent_role`,label:`UI surface agent role`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_client_tool:{token:`ui_surface_client_tool`,schema:`ui`,table:`ui_surface_client_tool`,label:`UI surface client tool`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_config:{token:`ui_surface_config`,schema:`ui`,table:`ui_surface_config`,label:`UI Surface Config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_item_type:{token:`ui_surface_item_type`,schema:`ui`,table:`ui_surface_item_type`,label:`UI surface item type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_value:{token:`ui_surface_value`,schema:`ui`,table:`ui_surface_value`,label:`UI surface value`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_write_target:{token:`ui_surface_write_target`,schema:`ui`,table:`ui_surface_write_target`,label:`UI surface write target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},univer_payload:{token:`univer_payload`,schema:`content`,table:`univer_payload`,label:`Univer Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},unsubscribe_token:{token:`unsubscribe_token`,schema:`crm`,table:`unsubscribe_token`,label:`Unsubscribe Token`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},uploads_inflight:{token:`uploads_inflight`,schema:`files`,table:`uploads_inflight`,label:`Uploads Inflight`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user:{token:`user`,schema:`iam`,table:`users`,label:`User`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_achievement:{token:`user_achievement`,schema:`users`,table:`user_achievements`,label:`User Achievement`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_active_context:{token:`user_active_context`,schema:`context`,table:`user_active_context`,label:`Active context`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_analysis_preference:{token:`user_analysis_preference`,schema:`users`,table:`user_analysis_preferences`,label:`User Analysis Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_email_preference:{token:`user_email_preference`,schema:`users`,table:`user_email_preferences`,label:`User Email Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_entity_state:{token:`user_entity_state`,schema:`platform`,table:`user_entity_state`,label:`User entity state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_feedback:{token:`user_feedback`,schema:`users`,table:`user_feedback`,label:`User Feedback`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_follows:{token:`user_follows`,schema:`users`,table:`user_follows`,label:`User Follows`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_form_profile:{token:`user_form_profile`,schema:`users`,table:`user_form_profile`,label:`User Form Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_markdown_sample:{token:`user_markdown_sample`,schema:`users`,table:`user_markdown_samples`,label:`User Markdown Sample`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},user_memory:{token:`user_memory`,schema:`users`,table:`user_memory`,label:`User Memory`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_preference:{token:`user_preference`,schema:`users`,table:`user_preferences`,label:`User Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_profile:{token:`user_profile`,schema:`users`,table:`profiles`,label:`User Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},user_secret:{token:`user_secret`,schema:`users`,table:`user_secrets`,label:`User secret`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_secret_audit:{token:`user_secret_audit`,schema:`users`,table:`user_secret_audit`,label:`Secret audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_secret_grant:{token:`user_secret_grant`,schema:`users`,table:`user_secret_grants`,label:`Secret grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_stat:{token:`user_stat`,schema:`users`,table:`user_stats`,label:`User Stats`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_storage_usage:{token:`user_storage_usage`,schema:`files`,table:`user_storage_usage`,label:`Storage usage`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_surface_state:{token:`user_surface_state`,schema:`users`,table:`user_surface_state`,label:`User Surface State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},vault_fill_approvals:{token:`vault_fill_approvals`,schema:`users`,table:`_vault_fill_approvals`,label:`Vault fill approvals`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},vault_fill_devices:{token:`vault_fill_devices`,schema:`users`,table:`_vault_fill_devices`,label:`Vault fill devices`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},vault_fill_nonces:{token:`vault_fill_nonces`,schema:`users`,table:`_vault_fill_nonces`,label:`Vault fill nonces`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},visibility_cache:{token:`visibility_cache`,schema:`custom`,table:`visibility_cache`,label:`Visibility Cache`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},visibility_epoch:{token:`visibility_epoch`,schema:`custom`,table:`visibility_epoch`,label:`Visibility Epoch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},voice:{token:`voice`,schema:`ai`,table:`voices`,label:`Voice`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},war_room:{token:`war_room`,schema:`projects`,table:`war_rooms`,label:`War Room`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},wbx_demo:{token:`wbx_demo`,schema:`extend`,table:`wbx_demo`,label:`Extension demo record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_guidance:{token:`wbx_guidance`,schema:`extend`,table:`wbx_guidance`,label:`Extension Guidance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_highlight:{token:`wbx_highlight`,schema:`extend`,table:`wbx_highlight`,label:`Extension Highlight`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_pattern:{token:`wbx_pattern`,schema:`extend`,table:`wbx_pattern`,label:`Extension Scrape Pattern`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},wbx_recipe:{token:`wbx_recipe`,schema:`extend`,table:`wbx_recipe`,label:`Extension recipe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_screenshot:{token:`wbx_screenshot`,schema:`extend`,table:`wbx_screenshot`,label:`Extension Screenshot`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_seo_audit:{token:`wbx_seo_audit`,schema:`extend`,table:`wbx_seo_audit`,label:`Extension SEO Audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wc_claim:{token:`wc_claim`,schema:`legal`,table:`wc_claim`,label:`WC Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wc_impairment_definition:{token:`wc_impairment_definition`,schema:`legal`,table:`wc_impairment_definition`,label:`WC Impairment Definition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},wc_injury:{token:`wc_injury`,schema:`legal`,table:`wc_injury`,label:`WC Injury`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wc_report:{token:`wc_report`,schema:`legal`,table:`wc_report`,label:`WC Report`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_analysis_item:{token:`web_analysis_item`,schema:`web`,table:`analysis_item`,label:`Analysis Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},web_brand:{token:`web_brand`,schema:`web`,table:`brand`,label:`Brand`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},web_brand_asset:{token:`web_brand_asset`,schema:`web`,table:`brand_asset`,label:`Brand Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},web_brand_offering:{token:`web_brand_offering`,schema:`web`,table:`brand_offering`,label:`Brand Offering`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_business_fact:{token:`web_business_fact`,schema:`web`,table:`business_fact`,label:`Business Fact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},web_business_location:{token:`web_business_location`,schema:`web`,table:`business_location`,label:`Business Location`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_channel_analytics_daily:{token:`web_channel_analytics_daily`,schema:`web`,table:`channel_analytics_daily`,label:`Channel analytics (daily)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_crawl_event:{token:`web_crawl_event`,schema:`web`,table:`crawl_event`,label:`Web Crawl Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_crawl_preset:{token:`web_crawl_preset`,schema:`web`,table:`crawl_preset`,label:`Web Crawl Preset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},web_crawl_schedule:{token:`web_crawl_schedule`,schema:`web`,table:`crawl_schedule`,label:`Web Crawl Schedule`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},web_crawl_session:{token:`web_crawl_session`,schema:`web`,table:`crawl_session`,label:`Crawl Session`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_crawl_url:{token:`web_crawl_url`,schema:`web`,table:`crawl_url`,label:`Web Crawl URL`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_discovered_item:{token:`web_discovered_item`,schema:`web`,table:`discovered_item`,label:`Discovered Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_finding:{token:`web_finding`,schema:`web`,table:`finding`,label:`Finding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_gsc_page_stat:{token:`web_gsc_page_stat`,schema:`web`,table:`gsc_page_stat`,label:`GSC Page Stat`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_link_edge:{token:`web_link_edge`,schema:`web`,table:`link_edge`,label:`Link Edge`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_listing_publisher:{token:`web_listing_publisher`,schema:`web`,table:`listing_publisher`,label:`Listing Publisher`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_location_listing:{token:`web_location_listing`,schema:`web`,table:`location_listing`,label:`Location Listing`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_news_item:{token:`web_news_item`,schema:`web`,table:`news_item`,label:`News Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_offering_template:{token:`web_offering_template`,schema:`web`,table:`offering_template`,label:`Offering Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_page:{token:`web_page`,schema:`web`,table:`page`,label:`Site page`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`url`,contentRole:`source`,referenceCategory:null},web_page_content:{token:`web_page_content`,schema:`web`,table:`page_content`,label:`Page Draft Content`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_page_evidence:{token:`web_page_evidence`,schema:`web`,table:`page_evidence`,label:`Web Page Evidence`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_page_sitemap:{token:`web_page_sitemap`,schema:`web`,table:`page_sitemap`,label:`Page Sitemap Membership`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_property:{token:`web_property`,schema:`web`,table:`property`,label:`Brand Property`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},web_provider:{token:`web_provider`,schema:`web`,table:`provider`,label:`Provider`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},web_result:{token:`web_result`,schema:`web`,table:`analysis_result`,label:`Analysis Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_screenshot:{token:`web_screenshot`,schema:`web`,table:`screenshot`,label:`Screenshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_site:{token:`web_site`,schema:`web`,table:`site`,label:`Site`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},web_site_endpoint_rule:{token:`web_site_endpoint_rule`,schema:`web`,table:`site_endpoint_rule`,label:`Site Endpoint Rule`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`path_prefix`,contentRole:null,referenceCategory:null},web_site_item_config:{token:`web_site_item_config`,schema:`web`,table:`site_item_config`,label:`Site Item Config`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_site_offering:{token:`web_site_offering`,schema:`web`,table:`site_offering`,label:`Site Offering`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_sitemap:{token:`web_sitemap`,schema:`web`,table:`sitemap`,label:`Sitemap`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`url`,contentRole:null,referenceCategory:null},web_snapshot:{token:`web_snapshot`,schema:`web`,table:`snapshot`,label:`Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_tag_manager_snapshot:{token:`web_tag_manager_snapshot`,schema:`web`,table:`tag_manager_snapshot`,label:`Tag Manager snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_voice_fingerprint:{token:`web_voice_fingerprint`,schema:`web`,table:`voice_fingerprint`,label:`Voice Fingerprint`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_youtube_video:{token:`web_youtube_video`,schema:`web`,table:`youtube_video`,label:`YouTube video`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},webhook_deliveries:{token:`webhook_deliveries`,schema:`files`,table:`webhook_deliveries`,label:`Webhook Deliveries`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},webhook_dispatch_state:{token:`webhook_dispatch_state`,schema:`files`,table:`webhook_dispatch_state`,label:`Webhook Dispatch State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},webhooks:{token:`webhooks`,schema:`files`,table:`webhooks`,label:`Webhooks`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wf_node_data_slot:{token:`wf_node_data_slot`,schema:`workflow`,table:`node_data_slot`,label:`Workflow Node Data Slot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},work_claim:{token:`work_claim`,schema:`platform`,table:`_work_claim`,label:`Work Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},work_item:{token:`work_item`,schema:`runtime`,table:`work_item`,label:`Runtime Work Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workbook:{token:`workbook`,schema:`workbench`,table:`udt_workbooks`,label:`Workbook`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`workbook_name`,contentRole:`hybrid`,referenceCategory:null},worker_heartbeat:{token:`worker_heartbeat`,schema:`workflow`,table:`worker_heartbeat`,label:`Worker Heartbeat`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow:{token:`workflow`,schema:`workflow`,table:`definition`,label:`Workflow`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`utility`,referenceCategory:null},workflow_card:{token:`workflow_card`,schema:`workflow`,table:`card`,label:`Workflow Card`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_checkpoint:{token:`workflow_checkpoint`,schema:`workflow`,table:`checkpoint`,label:`Workflow Checkpoint`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_comparison:{token:`workflow_comparison`,schema:`workflow`,table:`comparison`,label:`Workflow Comparison`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_definition_version:{token:`workflow_definition_version`,schema:`workflow`,table:`definition_version`,label:`Workflow Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_idempotency:{token:`workflow_idempotency`,schema:`workflow`,table:`idempotency`,label:`Workflow Idempotency`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_job:{token:`workflow_job`,schema:`workflow`,table:`job`,label:`Workflow Job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_node_events:{token:`workflow_node_events`,schema:`workflow`,table:`node_events`,label:`Workflow Node Events`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_node_outcome:{token:`workflow_node_outcome`,schema:`workflow`,table:`node_outcome`,label:`Workflow Node Outcome`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_plan:{token:`workflow_plan`,schema:`workflow`,table:`plan`,label:`Workflow Plan`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_plan_event:{token:`workflow_plan_event`,schema:`workflow`,table:`plan_event`,label:`Workflow Plan Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_plan_sample:{token:`workflow_plan_sample`,schema:`workflow`,table:`plan_sample`,label:`Workflow Plan Sample`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_recovery_audit:{token:`workflow_recovery_audit`,schema:`workflow`,table:`recovery_audit`,label:`Workflow Recovery Audit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run:{token:`workflow_run`,schema:`workflow`,table:`run`,label:`Workflow Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run_cost:{token:`workflow_run_cost`,schema:`workflow`,table:`_run_cost`,label:`Workflow run cost`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run_facts:{token:`workflow_run_facts`,schema:`workflow`,table:`_run_facts`,label:`Workflow run facts`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run_log:{token:`workflow_run_log`,schema:`workflow`,table:`run_log`,label:`Workflow Run Log`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_runtime_surface:{token:`workflow_runtime_surface`,schema:`workflow`,table:`runtime_surface`,label:`Run Surface`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_template:{token:`workflow_template`,schema:`workflow`,table:`template`,label:`Workflow Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_trigger:{token:`workflow_trigger`,schema:`workflow`,table:`trigger`,label:`Workflow Trigger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_trigger_fire:{token:`workflow_trigger_fire`,schema:`workflow`,table:`trigger_fire`,label:`Workflow Trigger Fire`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_work_item:{token:`workflow_work_item`,schema:`workflow`,table:`work_item`,label:`Work Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},working_document:{token:`working_document`,schema:`workbench`,table:`working_documents`,label:`Working Document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!0,titleColumn:`title`,contentRole:`destination`,referenceCategory:null},write_guard_key:{token:`write_guard_key`,schema:`hr`,table:`_write_guard_key`,label:`Write Guard Key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},youtube_quota_day:{token:`youtube_quota_day`,schema:`research`,table:`youtube_quota_day`,label:`Youtube Quota Day`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},youtube_search:{token:`youtube_search`,schema:`research`,table:`youtube_search`,label:`YouTube Search`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},youtube_video:{token:`youtube_video`,schema:`research`,table:`youtube_video`,label:`YouTube Video`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:`source`,referenceCategory:null}},xD=new Set(`access_delta_probe.access_delta_run.access_request.account_addon.acquisition_block.activity.admin_audit_log.admin_email_log.admin_markdown_sample.admin_user.admission_config.agent.agent_card.agent_definition_version.agent_drift_alert.agent_exemplar.agent_mandate_note.agent_prompt_remediation.agent_run.agent_run_stage.agent_schedule.agent_schedule_claim.agent_shortcut.agent_surface_binding.agent_template.agent_term_list.agent_usage.ai_api.ai_calls.ai_endpoint.ai_model.ai_model_alias.ai_offering.ai_provider.ai_setting.ai_setting_profile.ai_translation_cell.ai_usage_executions.ai_usage_hourly.ai_usage_hourly_watermark.analysis_result.anon_form.anon_function_birth_grandfather.anon_hit.anon_inbound.anon_replay.anon_submission.anon_token.api_field_warning.api_request_log.app.app_config.app_config_history.app_definition_version.app_error.app_execution.app_instance.app_log.app_log_muted_pattern.app_log_norm_exception.app_rate_limit.app_setting.app_sync_status.approach.artifact.assessment.assessment_item.assessment_result.assignment_session.assist.assist_producer_policy.assist_producer_policy_history.association_type.assurance_level.attempt.audit_broken_functions.audit_canonical_findings.audit_exemption.audit_function_deps.audit_function_runtime_probe.audit_m2m_candidates.audit_refresh_log.audit_stale_registry.audit_unregistered_candidates.base_entity_template.batch_cost_event.batch_provider_batch.batch_work_item.billing_capability.billing_capability_limit.billing_connect_account.billing_coupon.billing_coupon_redemption.billing_customer.billing_free_period_grant.billing_plan.billing_plan_limit.billing_price.billing_product.billing_spend_approval.billing_spend_guardrail.billing_stripe_event.billing_subscription.billing_usage_ledger.billing_usage_reset.billing_user_plan.board.browser_account_binding.browser_action_event.browser_authenticator_window.browser_capture.browser_control_request.browser_handoff.browser_login_attempt.browser_login_recipe.browser_profile.browser_profile_checkpoint.browser_run.browser_site_observation.browser_site_policy.browser_stream_ticket.build_lock.calendar_event.campaign_watch_ramp_gate_run.campaign_watch_switch_outbox.campaign_watch_switch_window.canvas_comment.canvas_comment_like.canvas_item.canvas_item_state.canvas_like.canvas_score.canvas_view.capture_window.carrying_rule.catalog_entries_history.catalog_entry.category.change_type_default.chat_user_usage_summary.citations.class_purchase.classifier_revision_ledger.client_callable_door.client_callable_door_retirement.client_excluded_column_unregistered.cmp_entry.cmp_feedback.code_file.code_folder.code_repository.coding_session.coding_session_entry.comment.commerce_asset_allocation.commerce_asset_grading.commerce_asset_identifier.commerce_asset_lot_event.commerce_asset_mandate_result.commerce_asset_price_factor.commerce_asset_reshoot_request.commerce_asset_review.commerce_asset_unknown.commerce_certified_printer.commerce_cloud_sync_connection.commerce_ebay_business_policy.commerce_ebay_category.commerce_ebay_category_aspect.commerce_ebay_category_tree.commerce_ebay_custom_policy.commerce_ebay_inventory_item.commerce_ebay_inventory_item_group.commerce_ebay_inventory_item_group_member.commerce_ebay_inventory_location.commerce_ebay_listing.commerce_ebay_marketplace_policy.commerce_ebay_media_asset.commerce_ebay_notification_destination.commerce_ebay_notification_event.commerce_ebay_notification_subscription.commerce_ebay_notification_topic.commerce_ebay_offer.commerce_ebay_order.commerce_ebay_order_line_item.commerce_ebay_shipping_fulfillment.commerce_ebay_store_category.commerce_human_correction.commerce_intake_artifact.commerce_intake_asset.commerce_intake_batch.commerce_label_batch.commerce_label_code.commerce_marketplace_account.commerce_marketplace_account_deletion_audit.commerce_marketplace_api_call.commerce_marketplace_rate_budget.commerce_marketplace_site.commerce_marketplace_sync_run.commerce_prediction_outcome.commerce_print_order.commerce_product.commerce_product_channel_ref.commerce_product_media.commerce_product_variant.commerce_recall_audit.communication_calendar_selected_snapshot_state.communication_channel_readiness.comparison_set.contact_medium.contact_submission.content_certification.content_ir_kind.content_ir_kind_component.content_ir_kind_component_incident.content_ir_kind_conformance.content_ir_kind_edge.content_ir_kind_example.content_ir_kind_instance.content_ir_kind_surface.content_lane.context_access_log.context_item.context_item_suggestion.context_item_value.context_value_refs.conversation.conversation_value.courts.credential_attachment.credential_item.credential_mutation_receipt.crm_address.crm_affiliation.crm_blocklist_entry.crm_contact_candidate.crm_deal.crm_deal_stage_event.crm_enrichment_call.crm_interaction.crm_merge_candidate.crm_outreach_list.crm_outreach_list_member.crm_party_merge.crm_party_research.crm_registry_ingest_run.crm_registry_source.crm_sending_claim.crm_sending_event.crm_sending_identity.crm_sending_identity_check.crm_sending_policy.custom_agent_table_trust.custom_agg_digest_checked.custom_entity_definition.custom_field_definition.custom_field_target.custom_io_outbox_consumer.custom_io_outbox_consumption.custom_record.custom_share_tails_mine_repair.custom_template.custom_template_install.cx_agent_memory.cx_agent_plan.cx_agent_task.cx_code_edit.cx_code_message_file.cx_media.cx_observational_memory.cx_observational_memory_event.cx_pending_injection.cx_request.cx_request_snapshot.cx_tool_trace.cx_user_request.cx_user_todo.data_rights_event.data_store.data_store_members.ddl_guard_log.deck_suggestion.definer_class_exemption.definer_client_grant_grandfather.definer_grant_baseline.deprecated_relation.derive_run.dev_login_audit.dict_entry.dict_provider_publication.dict_setting.dm_conversation.dm_message.dm_participant.doc_render.doc_signature.dockets.document.document_version.domain_classification.edge_payload_kind.egress_device.egress_pairing.egress_ticket.emails.embedding_cache.embeddings_google_gemini_2_1536.embeddings_oai_3_small_1536.embeddings_voyage_4_large_1024.embeddings_voyage_code_3_1024.endpoint_family_sweep_state.engine_owner_task.entity_grant.entity_protected_value.entity_protected_value_version.entity_relationship.entity_type.esign_campaign.esign_campaign_member.esign_consent_disclosure.esign_envelope.esign_envelope_certificate.esign_envelope_document.esign_envelope_event.esign_envelope_external_ref.esign_envelope_signer.esign_provider.esign_provider_binding.esign_signing_key.execution_event_cursor.extension_auth_code.external_link.external_source.extract_sweep_state.fc_card.fc_detail.fc_set.feature_doc.feature_knob.feedback_comments.feedback_user_messages.file.file_analysis.file_entities.file_overrides.file_page_annotations.file_pages.file_rag_job.file_version.files_account_tier.files_machine_written_prefix.files_sync_mapping.files_user_account.flexible_data.folder.function_contract.game_badge.game_result.game_room.global_execution.global_execution_checkpoint.global_execution_control.global_execution_event.global_meter_entry.global_origin.global_request.google_document.growth_loop_event.growth_loop_run.growth_loop_stage_run.guardian_link.guest_conversion_audit.guest_execution_log.guest_executions.guided_checklist_run.heatmap_save.hindsight_enrollment.hindsight_finding.hindsight_regression_case.hindsight_replay.hindsight_replay_step.hindsight_review.hr_access_audit.hr_access_role.hr_accommodation_request.hr_ai_evidence.hr_alert_routing_rule.hr_application.hr_approval_authority.hr_approval_delegation.hr_asset.hr_asset_assignment.hr_attendance_exception.hr_auto_close_rule.hr_availability.hr_background_check.hr_benefits_event.hr_calculation_snapshot.hr_candidate.hr_candidate_conversion.hr_candidate_message.hr_careers_portal.hr_checklist_item.hr_checklist_run.hr_checklist_template.hr_checklist_template_item.hr_compensation.hr_corrective_action.hr_course.hr_course_version.hr_credential.hr_crew.hr_deduction_code.hr_department.hr_derived_grant.hr_disposition_event.hr_earning_code.hr_eeo_response.hr_emergency_contact.hr_employee.hr_employee_private.hr_employer_profile.hr_employment.hr_employment_pin.hr_engagement.hr_establishment.hr_external_identity.hr_field_policy.hr_holiday.hr_holiday_calendar.hr_i9.hr_i9_document.hr_incident.hr_incident_party.hr_interview.hr_interview_kit.hr_job_title.hr_jurisdiction.hr_jurisdiction_rule.hr_jurisdiction_rule_class.hr_jurisdiction_rule_org_decision.hr_jurisdiction_rule_test.hr_kiosk_device.hr_kiosk_session.hr_labor_target.hr_leave_case.hr_leave_enrollment.hr_leave_ledger.hr_leave_policy.hr_leave_request.hr_legal_hold.hr_legal_hold_item.hr_location.hr_new_hire_report.hr_offer.hr_opening.hr_overtime_alert.hr_overtime_alert_rule.hr_overtime_preapproval.hr_pay_group.hr_pay_period.hr_pay_period_employment.hr_payroll_export.hr_payroll_export_line.hr_position_assignment.hr_posting.hr_posting_publication.hr_provider_binding.hr_provider_event.hr_provisioning_result.hr_punch.hr_recalculation_batch.hr_record_class.hr_records_request.hr_reference_check.hr_reporting_line.hr_requisition.hr_restricted_note.hr_retention_rule.hr_role_assignment.hr_schedule.hr_schedule_change.hr_schedule_guidance.hr_schedule_template.hr_schedule_template_shift.hr_scorecard.hr_separation.hr_shift.hr_shift_claim.hr_staffing_requirement.hr_survey.hr_survey_invitation.hr_survey_question.hr_survey_response.hr_tax_registration.hr_tax_withholding.hr_time_adjustment.hr_training_assignment.hr_training_attempt.hr_transcript_entry.hr_verification_letter_request.hr_work_interval.hr_workflow_binding.hr_workflow_decision.hr_workflow_definition.hr_workflow_event.hr_workflow_failure.hr_workflow_flow_type.hr_workflow_instance.hr_workflow_step.hr_workflow_step_definition.hr_workweek.html_extraction.iam_access_audit.iam_api_key.iam_emergency_door_request.iam_org_availability_key.iam_read_lane_v2_rollout.idempotency.industry.industry_curator.infra_status.ingest_runs.integration_connection.integration_connection_resource.interview_decision_interview.interview_decision_question.interview_document_revision.interview_hole.interview_question.interview_session.interview_turn.invitation.invitation_code.invitation_request.io_comment.io_contract.io_import.io_outbox.item.item_mastery.judge_verdict.jurisdiction_policy.keyword_classification_queue.kg_alert.kg_chunk_entities.kg_chunks.kg_clusters.kg_edges.kg_entities.kg_entity_aliases.kg_suggestion_ack.kg_sweep_queue.kg_sweep_run.kg_sweep_state.kg_value_match.knob_override.knob_override_audit.knob_rung_lock.knob_scope_kind.knob_write_door.league_membership.learn_doc.library_doc.lifecycle_archive.lifecycle_archive_row.lifecycle_audit.lifecycle_entity_plan.lifecycle_map_build.lifecycle_reference_map.lifecycle_run.lifecycle_tier_ledger.location.mandate.mandate_advance_batch_row.mandate_binding.mandate_candidate.mandate_candidate_run.mandate_candidate_run_payload.mandate_goal_clauses.mandate_observation.mandate_reference.mandate_scan.mandate_treatment.marketing_initiative.masterwork_corpus_item.masterwork_run.masterwork_run_kind.masterwork_source.math_course_structure.math_problem.matrx_action_ledger.mcp_config.mcp_server.mcp_user_conn.media_capture_handoff.media_catalog_setting.media_library_item.media_selection_item.media_selection_job.media_source_library.meet_call_invite.meet_chat_message.meet_invitee.meet_meeting.meet_note.meet_occurrence_override.meet_participant.meet_recording.meet_transcript_segment.membership.membership_grant.merge_field_provenance.message.message_template.message_template_detail.meta_excluded_schema.meta_table_stats_history.metadata_reserved_keys.migration_log.mtx_media_heal_queue.mtx_public_url_guard.ner_shadow.note.note_folder.notification.notification_channel_preference.notification_event_override.notification_event_type.notification_preference.notification_submission.notify_outsider_door_baseline.oauth_handoff_claim.opinion_clusters.opinions.ops_check_item.ops_check_run.ops_db_host_sample.ops_issue_class.ops_issue_event.ops_proof_check.ops_proof_run.ops_proof_scenario.org_admin_audit.org_change_policy.org_context_ledger.org_industries.org_member_control.org_module_config.org_plan.organization.organization_preferences.organization_visibility_version.output_feedback.outreach_acceptance.page_extraction_job.page_extraction_page_run.page_extraction_results.page_extraction_runs.page_intent_queue.page_mapping_queue.part_config.part_config_sub.party.party_contact_point.passkey_credential.pc_article.pc_episode.pc_show.pc_studio_run.pc_studio_run_asset.pdf_consolidation_log.pdf_redaction_audit.pdf_redaction_key_escrow.permission_grant.plan_cms_fill_item.plan_cms_fill_job.plan_entity.plan_node.plan_node_artifact.plan_node_step.plan_profile.platform_action_request.platform_actor_session.platform_actor_token.platform_actor_token_event.platform_class_approval_by_arman.platform_continued_access.platform_cutover_census_run.platform_cutover_evaluation_replaced.platform_cutover_evaluation_write.platform_cutover_seam.platform_cutover_seam_measure.platform_cutover_seam_press.platform_dated_change.platform_doors_only_pending_cutover.platform_google_calendar_event_create_intent.platform_google_task_create_intent.platform_kernel_fingerprint_record.platform_outcome_event.platform_outsider_consumer.platform_provision_base_contract_pending.platform_reachability.platform_reachability_rebuild_pending.platform_realtime_topic_prefix.platform_reference_category.platform_reference_declaration.platform_repo.platform_saved_view.platform_schema.platform_secure_delivery.platform_share_link.platform_strict_class_probe.podcast_race.position.processed_document.processed_document_page.product_capture_file.product_capture_item.product_capture_payload.product_capture_product.product_capture_question.project.provider_account.provider_account_credential.provision.provision_generate_target.provision_grant.provision_marker.provision_rule_message.provision_schema.provision_shape_debt.provision_spec.provision_spec_grandfather.provision_vocabulary.purpose.quiz_session.rag_ingest_run.rag_library_audit_log.rate_limit_buckets.reachability_pending.recompute_queue.record.record_alias.redaction_mapping.research_analysis.research_content.research_context_bundle.research_document.research_intent.research_keyword.research_media.research_source.research_synthesis.research_tag.research_template.research_topic.retention_policy.retrieval_audit.review_queue.route_manifest_entry.row_version.rulebook.runtime_operation_stream.runtime_operation_stream_batch.sandbox_instance.sch_agent_task.sch_run.sch_task.sch_trigger.schema_client_exposure.schema_migration_ledger.schema_migration_legacy.schema_migration_slot_grandfather.schema_templates.scope.scope_association_suggestion.scope_dataset_instance.scope_door_registry.scope_item_value_suggestion.scope_suggestion.scope_type.scrape_domain.scrape_domain_settings.scrape_failure_log.scrape_parsed_page.scrape_path_override.scrape_path_pattern.scrape_retry_queue.search_item.seo_ai_capability.seo_ai_visibility_citation.seo_ai_visibility_claim.seo_ai_visibility_panel.seo_ai_visibility_response.seo_ai_visibility_signal.seo_backlink.seo_backlink_change_event.seo_backlink_dimension_snapshot.seo_backlink_observation.seo_backlink_snapshot.seo_change_assessment.seo_change_event.seo_change_item.seo_change_metric.seo_change_set.seo_change_theory.seo_collection_run.seo_competitor.seo_competitor_observation.seo_competitor_opportunity.seo_coverage_mention.seo_coverage_tracker.seo_dimension_value_matcher.seo_engine_schedule.seo_geo_place.seo_gsc_dig_rule.seo_keyword.seo_keyword_class_rule.seo_keyword_edge.seo_keyword_facet.seo_keyword_market.seo_keyword_market_observation.seo_keyword_place.seo_keyword_saved_view.seo_keyword_topic.seo_landscape_brief.seo_link_gap_domain.seo_link_gap_match.seo_map_facet.seo_map_facet_value.seo_map_topic.seo_page_measurement_health.seo_page_performance.seo_pr_moment.seo_provider_call.seo_provider_task.seo_rank_observation.seo_rank_target.seo_raw_payload.seo_referring_domain_profile.seo_reputation_case.seo_search_performance_daily.seo_serp_mention.seo_serp_opportunity.seo_serp_result.seo_serp_snapshot.seo_site_geo_area.seo_site_keyword_offering.seo_site_keyword_value.seo_site_offering_value.seo_site_topic_value.seo_site_value_combo.seo_site_value_worth.seo_site_vocabulary.seo_source_request.seo_starter_pack.seo_starter_pack_item.seo_story_angle.seo_topic.seo_topical_map.seo_tracker_story.seo_web_analytics_daily.shareable_resource_registry.shared_canvas_item.short_link.sign_in_fk_legacy.skill.skill_detail.skill_render_definition.sms_consent.sms_conversation.sms_message.sms_message_media.sms_notification.sms_notification_preference.sms_phone_number.sms_rate_limits.sms_webhook_logs.soft_delete_cascade_job.soft_delete_edge.source_authority.stage_ref_kind.stamped_write_table.structure.studio_cleaned_segments.studio_concept_items.studio_documents.studio_module_segments.studio_raw_segments.studio_recording_chunks.studio_recording_segments.studio_run.studio_session.studio_session_settings.study_attempt.study_goal.study_media.study_plan.study_plan_block.study_plan_day.study_reminder_context.study_reminder_delivery.study_session.study_source_chunk.study_streak.study_structured_section.superseded_policy.surface.system_announcement.system_context_item.system_error.system_orgs.system_write_failure.t13_backfill_ledger.t13_default_ledger.t13_row_column_events.tag.task.task_user_state.taxonomy_node.team.template_context_items.template_scope_types.templates.test_handset_inbox.test_handset_verification.thread.tool.tool_binding.tool_bundle.tool_call.tool_definition_version.tool_executor.tool_surface_defaults.tool_test_sample.tool_ui.tool_ui_incident.tool_ui_version.topic_placement_queue.transcript.trigger_event.udt_dataset_template.udt_dataset_template_fields.udt_document.udt_document_snapshot.udt_workbook_snapshot.ui_client.ui_surface_agent_pref.ui_surface_agent_role.ui_surface_client_tool.ui_surface_config.ui_surface_item_type.ui_surface_value.ui_surface_write_target.univer_payload.unsubscribe_token.uploads_inflight.user.user_achievement.user_active_context.user_analysis_preference.user_email_preference.user_entity_state.user_feedback.user_follows.user_form_profile.user_markdown_sample.user_memory.user_preference.user_profile.user_secret.user_secret_audit.user_secret_grant.user_stat.user_storage_usage.user_surface_state.vault_fill_approvals.vault_fill_devices.vault_fill_nonces.visibility_cache.visibility_epoch.voice.war_room.wbx_demo.wbx_guidance.wbx_highlight.wbx_pattern.wbx_recipe.wbx_screenshot.wbx_seo_audit.wc_claim.wc_impairment_definition.wc_injury.wc_report.web_analysis_item.web_brand.web_brand_asset.web_brand_offering.web_business_fact.web_business_location.web_channel_analytics_daily.web_crawl_event.web_crawl_preset.web_crawl_schedule.web_crawl_session.web_crawl_url.web_discovered_item.web_finding.web_gsc_page_stat.web_link_edge.web_listing_publisher.web_location_listing.web_news_item.web_offering_template.web_page.web_page_content.web_page_evidence.web_page_sitemap.web_property.web_provider.web_result.web_screenshot.web_site.web_site_endpoint_rule.web_site_item_config.web_site_offering.web_sitemap.web_snapshot.web_tag_manager_snapshot.web_voice_fingerprint.web_youtube_video.webhook_deliveries.webhook_dispatch_state.webhooks.wf_node_data_slot.work_claim.work_item.workbook.worker_heartbeat.workflow.workflow_card.workflow_checkpoint.workflow_comparison.workflow_definition_version.workflow_idempotency.workflow_job.workflow_node_events.workflow_node_outcome.workflow_plan.workflow_plan_event.workflow_plan_sample.workflow_recovery_audit.workflow_run.workflow_run_cost.workflow_run_facts.workflow_run_log.workflow_runtime_surface.workflow_template.workflow_trigger.workflow_trigger_fire.workflow_work_item.working_document.write_guard_key.youtube_quota_day.youtube_search.youtube_video`.split(`.`));function SD(e){return typeof e==`string`&&xD.has(e)}function CD(e){return typeof e==`string`?JSON.stringify(e):e==null?String(e):JSON.stringify(e)}var wD={cx_message:`message`,cx_conversation:`conversation`,user_file:`file`,agent_app:`app`,chat_block:`message`};function TD(...e){for(let t of e)if(t)return t;return null}function ED(e){function t(t,n,r){let i=`association ${t} ${r} (got ${CD(n)})`;return e({code:`invalid_argument`,message:`[associations] invalid argument — ${i}`,context:{field:t}}),{code:`invalid_argument`,message:i}}return{checkUuid(e,n){return JE(n)?null:t(e,n,`must be a UUID`)},checkUuidArray(e,n){for(let r=0;r<n.length;r++)if(!JE(n[r]))return t(`${e}[${r}]`,n[r],`must be a UUID`);return null},checkToken(e,n){return typeof n!=`string`||n.length===0?t(e,n,`must be a non-empty entity-type token`):SD(n)?null:t(e,n,`is not a registered entity type (platform.entity_types) — add it to the registry + upgrade @ai-matrx/associations, never guess a token`)},normalizeEntityToken(t){let n=wD[t];return n?(e({code:`legacy_token_alias`,message:`[associations] phantom entity token ${JSON.stringify(t)} mapped to canonical ${JSON.stringify(n)} — fix the callsite to emit the canonical token (FOUND_DEFECTS D27)`,context:{value:t,canonical:n}}),n):t}}}function DD(e,t,n,r){let i={code:e,message:t};return n!==void 0&&(i.detail=n),r!==void 0&&(i.hint=r),{ok:!1,error:i}}function OD(e){return{ok:!0,data:e}}function kD(e){if(typeof navigator<`u`&&navigator.onLine===!1||e instanceof TypeError)return!0;if(e&&typeof e==`object`){let t=e;if(t.code||t.status)return!1;let n=`${typeof t.name==`string`?t.name:``} ${typeof t.message==`string`?t.message:``}`.toLowerCase();return n.includes(`failed to fetch`)||n.includes(`networkerror`)||n.includes(`network request failed`)||n.includes(`load failed`)||n.includes(`upstream connect error or disconnect/reset before headers`)}return!1}function AD(e){if(!e||typeof e!=`object`)return!1;let t=e;return typeof t.code==`string`&&typeof t.message==`string`}function jD(e){if(e&&typeof e==`object`){let t=e;return{pgCode:typeof t.code==`string`&&t.code?t.code:null,pgMessage:typeof t.message==`string`&&t.message?t.message:null,pgHint:typeof t.hint==`string`&&t.hint?t.hint:void 0}}return{pgCode:null,pgMessage:null,pgHint:void 0}}function MD(e){function t(t){let{pgCode:n,pgMessage:r,pgHint:i}=jD(t);if(n===`PGRST202`){let a=`demanded schema violation: the database this client is pointed at cannot answer a demanded @ai-matrx/associations RPC (PostgREST PGRST202 — function not found). This package DEMANDS the platform `+`schema (README § The demanded schema). ${r??``}`.trim();e({code:`demanded_schema_violation`,message:a,context:{pgCode:n,detail:t}});let o={code:`demanded_schema_violation`,message:a,detail:t};return i!==void 0&&(o.hint=i),o}if(kD(t)?e({code:`transport_failure`,message:`network unreachable (browser offline?)`,context:{transient:!0,detail:t}}):AD(t)||e({code:`internal`,message:r??`Unexpected error talking to the data source`,context:{detail:t}}),n===`PGRST116`)return{code:`not_found`,message:`Not found`};if(n===`42501`)return{code:`forbidden_org`,message:`Permission denied`};if(n===`PGRST301`||n===`PGRST303`)return{code:`unauthorized`,message:`Your session expired`};if(n===`57014`){let e={code:`internal`,message:`The database took too long to respond`,detail:t};return i!==void 0&&(e.hint=i),e}let a={message:r??`Unexpected error talking to the data source`,code:`internal`,detail:t};return i!==void 0&&(a.hint=i),a}function n(e){let n=t(e);return[n.code,n.message,n.detail,n.hint]}return{ok:OD,err:DD,mapPgError:t,mapPgErrorPair:n}}var ND={dataset:{label:`Table`},structured_list:{label:`Pick list`}};function PD(e){return Object.prototype.hasOwnProperty.call(ND,e)}function FD(e){return PD(e)?ND[e].label:null}var ID=`created_by`,LD=`organization_id`,RD=new Set([`utility`,`source`,`destination`,`hybrid`,`container`]);function zD(e){return e!==null&&RD.has(e)}var BD={cld_file:`file`};function VD(e){return BD[e]??e}var HD=(()=>{let e={};for(let t of Object.keys(bD)){let n=bD[t],r=`${n.schema}.${n.table}`;r in e||(e[r]=t)}return e})(),UD=(()=>{let e={};for(let t of Object.keys(bD)){let n=bD[t].table;e[n]=n in e?null:t}return e})();function WD(e,t){let n={...t??{}},r=new Set;function i(t){return r.has(t)||(r.add(t),e({code:`retired_entity_token`,message:`[entityRegistry] "${t}" is not in the live entity vocabulary (retired or renamed in platform.entity_types). The host still references it; rename the reference to the live token, or drop it. Serving a stand-in so the page can render.`,context:{token:t}})),{token:t,schema:``,table:``,label:`${t} (retired)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null}}function a(e){let t=FD(e);return t===null?null:{token:e,schema:``,table:``,label:t,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null}}function o(t){let r=bD[t]??a(t)??i(t),o=n[t],s=o?.labelPlural??`${r.label}s`,c=r.titleColumn,l=zD(r.contentRole)?r.contentRole:`destination`;r.contentRole!==null&&!zD(r.contentRole)&&e({code:`invalid_content_role`,message:`[entityRegistry] "${t}" has invalid content_role "${r.contentRole}" in platform.entity_types; using destination as a loud recovery.`,context:{token:t,contentRole:r.contentRole}});let u=o?.ownerColumn===void 0?ID:o.ownerColumn??``,d=o?.orgColumn===void 0?LD:o.orgColumn??``;return{token:t,label:r.label,labelPlural:s,schema:r.schema,table:r.table,titleColumn:c,ownerColumn:u,orgColumn:d,Icon:o?.Icon??null,hrefFor:o?.hrefFor??null,scopeable:r.scopeable,category:r.category,contentRole:l,listCandidates:o?.listCandidates??null,canListCandidates:c!==null||o?.listCandidates!==void 0}}return{registerEntityOverlay(e){for(let t of Object.keys(e)){let r=e[t];r&&(n[t]={...n[t],...r})}},getEntityInfo:o,tryGetEntityInfo(e){let t=VD(e);return SD(t)?o(t):PD(e)?o(e):null},tryGetEntityInfoByTable(e,t){let n=HD[`${e}.${t}`];return n?o(n):null},tryGetEntityInfoByUniqueTableName(e){let t=UD[e];return t?o(t):null},curatedTokens(){return Object.keys(bD).filter(e=>{let t=bD[e],r=n[e];return zD(t.contentRole)&&(t.titleColumn!=null||r?.listCandidates!==void 0)})},listableTokens(){return Object.keys(bD).filter(t=>{let r=bD[t];if(!r.referencePickable)return!1;let i=n[t],a=r.titleColumn!=null||i?.listCandidates!==void 0;return a||e({code:`unlistable_pickable_token`,message:`[entityRegistry] "${t}" is reference_pickable in platform.entity_types but has NO title_column and no host candidate source — set its title_column in the registry or register a listCandidates override.`,context:{token:t}}),a})}}}var GD={"artifact>processed_document":`source`,"calendar_event>conversation":`conversation_attached_resource`,"calendar_event>party":`attendee`,"code_file>code_repository":`in_repository`,"content_ir_kind_instance>content_ir_kind_instance":`part_of`,"conversation>party":`produced_by`,"fc_set>processed_document":`source`,"file>hr_application":`evidence`,"file>hr_employee":`personnel_document`,"file>hr_employment":`evidence`,"file>hr_incident":`evidence`,"file>hr_leave_case":`evidence`,"google_document>crm_deal":`attached_to`,"google_document>party":`attached_to`,"google_document>project":`attached_to`,"google_document>task":`attached_to`,"hr_candidate>party":`candidate_party`,"hr_course>hr_job_title":`role_curriculum`,"hr_credential>hr_job_title":`required_credential`,"hr_employee>record":`scope_member`,"hr_employee>scope":`scope_member`,"integration_connection_resource>conversation":`conversation_attached_resource`,"media_source_library>youtube_video":`catalogued_source`,"message>content_ir_kind_instance":`produced_by`,"note>calendar_event":`about`,"note>hr_candidate":`hr_note`,"note>hr_employee":`hr_note`,"organization>seo_keyword":`keyword_library`,"pc_episode>processed_document":`source`,"processed_document>code_repository":`in_repository`,"processed_document>media_source_library":`catalogued_source`,"processed_document>record":`about`,"processed_document>research_topic":`research_source`,"processed_document>scope":`about`,"processed_document>tag":`about`,"processed_document>web_site":`crawled_page`,"quiz_session>processed_document":`source`,"research_source>youtube_video":`Canonical YouTube video`,"web_youtube_video>seo_map_topic":`covers`,"youtube_video>transcript":`video_transcript`};function KD(e,t){return GD[`${e}>${t}`]}function qD(e){return{id:e.id,direction:e.direction===`incoming`?`incoming`:`outgoing`,otherType:e.other_type,otherId:e.other_id,role:e.role??null,label:e.label??null,position:e.position??null,metadata:e.metadata??{},orgId:e.organization_id??null,createdAt:e.created_at}}function JD(e){return{id:e.id,targetId:e.target_id,sourceType:e.source_type,sourceId:e.source_id,role:e.role??null,label:e.label??null,position:e.position??null,metadata:e.metadata??{},orgId:e.organization_id??null,createdAt:e.created_at}}function YD(e){return{id:e.id,sourceId:e.source_id,targetType:e.target_type,targetId:e.target_id,role:e.role??null,label:e.label??null,position:e.position??null,metadata:e.metadata??{},orgId:e.organization_id??null,createdAt:e.created_at}}function XD(e){let{dataSource:t,identity:n,guards:r}=e,{ok:i,err:a,mapPgError:o,mapPgErrorPair:s}=e.rpc,{checkToken:c,checkUuid:l,checkUuidArray:u,normalizeEntityToken:d}=r;return{async listForEntity(e,r){try{n.requireUserId();let o=d(e),u=TD(c(`type`,o),l(`id`,r));if(u)return{ok:!1,error:u};let{data:f,error:p}=await t.rpc(`assoc_for_entity`,{p_type:o,p_id:r});return p?a(...s(p)):i({edges:(Array.isArray(f)?f:[]).map(qD)})}catch(e){return{ok:!1,error:o(e)}}},async listConversationFiles(e){try{n.requireUserId();let r=l(`conversationId`,e);if(r)return{ok:!1,error:r};let{data:o,error:c}=await t.rpc(`conversation_files`,{p_conversation_id:e});return c?a(...s(c)):i({files:(Array.isArray(o)?o:[]).map(e=>({fileId:e.file_id,label:e.label??null,metadata:e.metadata??{},createdAt:e.created_at}))})}catch(e){return{ok:!1,error:o(e)}}},async listForTargets(e,r){try{n.requireUserId();let o=d(e),l=Array.from(new Set(r));if(l.length===0)return i({edges:[]});let f=TD(c(`targetType`,o),u(`targetIds`,l));if(f)return{ok:!1,error:f};let{data:p,error:m}=await t.rpc(`assoc_for_targets`,{p_target_type:o,p_target_ids:l});return m?a(...s(m)):i({edges:(Array.isArray(p)?p:[]).map(JD)})}catch(e){return{ok:!1,error:o(e)}}},async listForTargetsVisible(e,r){try{n.requireUserId();let o=d(e),l=Array.from(new Set(r));if(l.length===0)return i({edges:[]});let f=TD(c(`targetType`,o),u(`targetIds`,l));if(f)return{ok:!1,error:f};let{data:p,error:m}=await t.rpc(`assoc_members_visible`,{p_target_type:o,p_target_ids:l});return m?a(...s(m)):i({edges:(Array.isArray(p)?p:[]).map(JD)})}catch(e){return{ok:!1,error:o(e)}}},async listForSources(e,r,l){try{n.requireUserId();let o=d(e),f=l==null?void 0:d(l),p=Array.from(new Set(r));if(p.length===0)return i({edges:[]});let m=TD(c(`sourceType`,o),u(`sourceIds`,p),f?c(`targetType`,f):null);if(m)return{ok:!1,error:m};let{data:h,error:g}=await t.rpc(`assoc_for_sources`,{p_source_type:o,p_source_ids:p,...f?{p_target_type:f}:{}});return g?a(...s(g)):i({edges:(Array.isArray(h)?h:[]).map(YD)})}catch(e){return{ok:!1,error:o(e)}}},async add(e){try{n.requireUserId();let r=d(e.sourceType),o=d(e.targetType),u=TD(c(`sourceType`,r),l(`sourceId`,e.sourceId),c(`targetType`,o),l(`targetId`,e.targetId),e.orgId==null?null:l(`orgId`,e.orgId));if(u)return{ok:!1,error:u};if(r===`file`&&o===`conversation`){if(e.role!=null||e.position!=null||e.payloadKind!=null||e.payload!=null)return a(`invalid_argument`,`File conversation attachments support only the canonical role-less edge`);let{data:n,error:r}=await t.rpc(`conversation_file_add`,{p_conversation_id:e.targetId,p_file_id:e.sourceId,p_label:e.label,p_metadata:e.metadata??{},p_replace_metadata:e.replaceMetadata??!1});return r?a(...s(r)):!n||typeof n!=`string`?a(`internal`,`conversation_file_add returned no association id`):i({id:n})}if(e.replaceMetadata!=null)return a(`invalid_argument`,`replaceMetadata is supported only for file conversation attachments`);let{data:f,error:p}=await t.rpc(`assoc_add`,{p_source_type:r,p_source_id:e.sourceId,p_target_type:o,p_target_id:e.targetId,p_org_id:e.orgId,p_label:KD(r,o)??e.label,p_metadata:e.metadata??{},p_role:e.role,p_position:e.position,p_payload_kind:e.payloadKind,p_payload:e.payload??void 0});return p?a(...s(p)):!f||typeof f!=`string`?a(`internal`,`assoc_add returned no association id`):i({id:f})}catch(e){return{ok:!1,error:o(e)}}},async remove(e){try{n.requireUserId();let r=d(e.sourceType),o=d(e.targetType),u=TD(c(`sourceType`,r),l(`sourceId`,e.sourceId),c(`targetType`,o),l(`targetId`,e.targetId));if(u)return{ok:!1,error:u};if(r===`file`&&o===`conversation`){if(e.role!=null)return a(`invalid_argument`,`File conversation attachments support only the canonical role-less edge`);let{error:n}=await t.rpc(`conversation_file_remove`,{p_conversation_id:e.targetId,p_file_id:e.sourceId});return n?a(...s(n)):i(null)}let{error:f}=await t.rpc(`assoc_remove`,{p_source_type:r,p_source_id:e.sourceId,p_target_type:o,p_target_id:e.targetId,p_role:e.role});return f?a(...s(f)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async setTargets(e){try{n.requireUserId();let r=d(e.sourceType),o=d(e.targetType),f=Array.from(new Set(e.targetIds)),p=TD(c(`sourceType`,r),l(`sourceId`,e.sourceId),c(`targetType`,o),u(`targetIds`,f),e.orgId==null?null:l(`orgId`,e.orgId));if(p)return{ok:!1,error:p};let{error:m}=await t.rpc(`assoc_set_targets`,{p_source_type:r,p_source_id:e.sourceId,p_target_type:o,p_target_ids:f,p_org_id:e.orgId,p_role:e.role});return m?a(...s(m)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async addAgentResource(e){try{n.requireUserId();let r=d(e.sourceType),o=TD(l(`agentId`,e.agentId),c(`sourceType`,r),l(`sourceId`,e.sourceId));if(o)return{ok:!1,error:o};let{data:u,error:f}=await t.rpc(`agent_resource_add`,{p_agent_id:e.agentId,p_source_type:r,p_source_id:e.sourceId,p_label:e.label,p_metadata:e.metadata??{}});return f?a(...s(f)):!u||typeof u!=`string`?a(`internal`,`agent_resource_add returned no association id`):i({id:u})}catch(e){return{ok:!1,error:o(e)}}},async removeAgentResource(e){try{n.requireUserId();let r=d(e.sourceType),o=TD(l(`agentId`,e.agentId),c(`sourceType`,r),l(`sourceId`,e.sourceId));if(o)return{ok:!1,error:o};let{error:u}=await t.rpc(`agent_resource_remove`,{p_agent_id:e.agentId,p_source_type:r,p_source_id:e.sourceId});return u?a(...s(u)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async removeForEntity(e,r){try{n.requireUserId();let o=d(e),u=TD(c(`type`,o),l(`id`,r));if(u)return{ok:!1,error:u};let{error:f}=await t.rpc(`assoc_remove_for_entity`,{p_type:o,p_id:r});return f?a(...s(f)):i(null)}catch(e){return{ok:!1,error:o(e)}}}}}function ZD(e){return{id:e.id,orgId:e.organization_id??null,dimension:e.dimension,name:e.name,slug:e.slug??null,parentId:e.parent_id??null,isSystem:!!e.is_system,color:e.color??null,icon:e.icon??null,position:e.position??null,metadata:e.metadata&&typeof e.metadata==`object`&&!Array.isArray(e.metadata)?e.metadata:null}}function QD(e){let{dataSource:t,identity:n}=e,{ok:r,err:i,mapPgError:a,mapPgErrorPair:o}=e.rpc;return{async list(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_list`,{p_dimension:e});return s?i(...o(s)):r({categories:(Array.isArray(a)?a:[]).map(ZD)})}catch(e){return{ok:!1,error:a(e)}}},async create(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_create`,{p_dimension:e.dimension,p_name:e.name,p_org_id:e.orgId,p_parent_id:e.parentId??void 0,p_color:e.color??void 0,p_icon:e.icon??void 0,p_slug:e.slug??void 0});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_create returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}},async update(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_update`,{p_category_id:e.id,p_name:e.name,p_slug:e.slug??void 0,p_color:e.color??void 0,p_icon:e.icon??void 0,p_position:e.position??void 0});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_update returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}},async reparent(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_reparent`,{p_category_id:e.id,p_parent_id:e.parentId??void 0});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_reparent returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}},async delete(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_delete`,{p_category_id:e});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_delete returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}}}}function $D(e){return{entityType:e.entity_type,entityId:e.entity_id,isFavorite:e.is_favorite,isPinned:e.is_pinned,isHidden:e.is_hidden,lastViewedAt:e.last_viewed_at??null}}function eO(e){let{dataSource:t,identity:n}=e,{ok:r,err:i,mapPgError:a,mapPgErrorPair:o}=e.rpc,s={async setState(e){try{n.requireUserId();let{error:a}=await t.rpc(`ues_set`,{p_entity_type:e.entityType,p_entity_id:e.entityId,p_is_favorite:e.isFavorite,p_is_pinned:e.isPinned,p_is_hidden:e.isHidden});return a?i(...o(a)):r(null)}catch(e){return{ok:!1,error:a(e)}}},async setFavorite(e,t,n){return s.setState({entityType:e,entityId:t,isFavorite:n})},async setPinned(e,t,n){return s.setState({entityType:e,entityId:t,isPinned:n})},async setHidden(e,t,n){return s.setState({entityType:e,entityId:t,isHidden:n})},async list(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`ues_list`,{p_kind:e});return s?i(...o(s)):r({items:(Array.isArray(a)?a:[]).map($D)})}catch(e){return{ok:!1,error:a(e)}}},async getBulk(e,s){try{n.requireUserId();let a=Array.from(new Set(s)),{data:c,error:l}=await t.rpc(`ues_get_bulk`,{p_entity_type:e,p_entity_ids:a});return l?i(...o(l)):r({items:(Array.isArray(c)?c:[]).map(t=>({entityType:e,entityId:t.entity_id,isFavorite:t.is_favorite,isPinned:t.is_pinned,isHidden:t.is_hidden,lastViewedAt:t.last_viewed_at??null}))})}catch(e){return{ok:!1,error:a(e)}}},async touch(e,s){try{n.requireUserId();let{error:a}=await t.rpc(`ues_touch`,{p_entity_type:e,p_entity_id:s});return a?i(...o(a)):r(null)}catch(e){return{ok:!1,error:a(e)}}}};return s}function tO(e){let{dataSource:t,registry:n,errorSink:r}=e,i=async e=>{let{data:n,error:r}=await t.rpc(`reference_search_candidates`,e);return r?{data:null,error:r}:{data:Array.isArray(n)?n:[],error:null}};async function a(e){let{token:t,search:a,limit:o=100}=e,s=n.getEntityInfo(t);if(s.listCandidates)try{return await s.listCandidates({...a===void 0?{}:{search:a},limit:o})}catch(e){let n=e instanceof Error?e.message:`Failed to load candidates`;return r({code:`candidate_override_failed`,message:`[listAssociationCandidates] override failed for "${t}": ${n}`,context:{token:t,detail:e}}),{ok:!1,error:n}}if(!s.canListCandidates||!s.titleColumn){let e=`Entity "${t}" has no title column — set one in platform.entity_types (or register a listCandidates override) before listing candidates`;return r({code:`unlistable_token`,message:`[listAssociationCandidates] ${e}`,context:{token:t}}),{ok:!1,error:e}}let c=a?.trim()||void 0,{data:l,error:u}=await i({p_token:t,...c===void 0?{}:{p_search:c},p_limit:o});return u?(r({code:`candidate_rpc_failed`,message:`[listAssociationCandidates] candidate RPC failed for "${t}": ${u.message}`,context:{token:t,detail:u}}),{ok:!1,error:u.message}):{ok:!0,data:l.map(e=>({id:e.id,title:e.title?.trim()||`Untitled`}))}}async function o(e){let{tokens:t,search:r,perTokenLimit:i=5,concurrency:o=6}=e,s=t??n.listableTokens();if(s.length===0)return{results:[],failures:[]};let c=[],l=[],u=0;async function d(){for(;u<s.length;){let e=s[u];if(u+=1,!e)continue;let t=await a({token:e,search:r,limit:i});if(t.ok)for(let n of t.data)c.push({...n,token:e});else l.push({token:e,error:t.error})}}await Promise.all(Array.from({length:Math.min(o,s.length)},d));let f=new Map(s.map((e,t)=>[e,t]));return c.sort((e,t)=>{let n=f.get(e.token)??0,r=f.get(t.token)??0;return n===r?e.title.localeCompare(t.title):n-r}),l.sort((e,t)=>(f.get(e.token)??0)-(f.get(t.token)??0)),{results:c,failures:l}}return{callReferenceSearchCandidates:i,listAssociationCandidates:a,searchCandidatesAcrossTokens:o}}var nO=200;function rO(e,t){return`${e}:${t}`}function iO(e,t){let{registry:n,errorSink:r}=e,i=new Map;return{get(e,t){return i.get(rO(e,t))??null},prime(e,t,n){let r=n.trim();r&&i.set(rO(e,t),r)},fallback(e){return`Untitled ${n.tryGetEntityInfo(e)?.label??de(e)}`},async fetch(e,a){let o=new Map;if(a.length===0)return o;let s=n.tryGetEntityInfo(e),c=[];for(let t of a){let n=i.get(rO(e,t));n===void 0?c.push(t):o.set(t,n)}if(c.length===0||!s?.titleColumn)return o;for(let n=0;n<c.length;n+=nO){let a=c.slice(n,n+nO),{data:s,error:l}=await t.callReferenceSearchCandidates({p_token:e,p_ids:a,p_limit:a.length});if(l){r({code:`title_rpc_failed`,message:`[fetchEntityTitles] candidate RPC failed for "${e}": ${l.message}`,context:{token:e,chunkStart:n,chunkSize:a.length,detail:l}});continue}for(let t of s){let n=t.title?.trim();n&&(i.set(rO(e,t.id),n),o.set(t.id,n))}}return o}}}function aO(e,t){let{dataSource:n,registry:r,errorSink:i}=e;function a(e,t){if(!r.getEntityInfo(e).titleColumn){let n=`Entity "${e}" has no title_column in platform.entity_types — add one in the registry before ${t}`;return i({code:`missing_title_column`,message:`[entityRows] ${n}`,context:{token:e}}),{ok:!1,error:n}}return{ok:!0}}return{async createEntityRow(e,o){let s=a(e,`creating rows`);if(!s.ok)return s;let c=o.title.trim();if(!c)return{ok:!1,error:`Name is required`};let l=Object.keys(o.extraColumns??{});if(l.length>0){let t=`A new ${r.getEntityInfo(e).label} cannot be created here with ${l.join(`, `)}: the shared create door writes the name, the owner and the organization and nothing else. Create it with this feature's own create service, then attach it.`;return i({code:`entity_row_extra_columns_unsupported`,message:`[createEntityRow] extraColumns are not writable through entity_row_create for "${e}": ${l.join(`, `)}`,context:{token:e,extras:l}}),{ok:!1,error:t}}if(!o.orgId){let t=`Name the organization this ${r.getEntityInfo(e).label} belongs to.`;return i({code:`entity_row_missing_organization`,message:`[createEntityRow] no organization supplied for "${e}"; entity_row_create requires one`,context:{token:e}}),{ok:!1,error:t}}try{let{data:r,error:a}=await n.rpc(`entity_row_create`,{p_token:e,p_title:c,p_organization_id:o.orgId});if(a)return i({code:`entity_row_insert_failed`,message:`[createEntityRow] entity_row_create failed for "${e}": ${a.message}`,context:{token:e,detail:a}}),{ok:!1,error:a.message};let s=r;if(!s||typeof s.id!=`string`||!s.id)return i({code:`entity_row_insert_failed`,message:`[createEntityRow] entity_row_create returned no id for "${e}"`,context:{token:e,detail:r}}),{ok:!1,error:`The create door returned no record.`};let l=s.id,u=typeof s.title==`string`&&s.title?s.title:c;return t.prime(e,l,u),{ok:!0,data:{id:l,title:u}}}catch(t){let n=t instanceof Error?t.message:`Failed to create`;return i({code:`entity_row_insert_failed`,message:`[createEntityRow] exception for "${e}": ${n}`,context:{token:e,detail:t}}),{ok:!1,error:n}}},async renameEntityRow(e,r,o){let s=a(e,`renaming rows`);if(!s.ok)return s;let c=o.trim();if(!c)return{ok:!1,error:`Name is required`};try{let{error:a}=await n.rpc(`entity_row_rename`,{p_token:e,p_id:r,p_title:c});return a?(i({code:`entity_row_update_failed`,message:`[renameEntityRow] entity_row_rename failed for "${e}": ${a.message}`,context:{token:e,id:r,detail:a}}),{ok:!1,error:a.message}):(t.prime(e,r,c),{ok:!0})}catch(t){let n=t instanceof Error?t.message:`Failed to rename`;return i({code:`entity_row_update_failed`,message:`[renameEntityRow] exception for "${e}": ${n}`,context:{token:e,id:r,detail:t}}),{ok:!1,error:n}}}}}function oO(e,t){let n=e[0]??{code:`internal`,message:`unknown failure`};return{code:e.every(e=>e.code===n.code)?n.code:`internal`,message:`${e.length}/${t} association edge(s) failed: ${n.message}`,detail:e}}function sO(e){return[e.code,e.message,e.detail]}function cO(e){async function t(t){if(t.length===0)return OD({ids:[]});let n=await Promise.all(t.map(t=>e.add({sourceType:t.source.type,sourceId:t.source.id,targetType:t.target.type,targetId:t.target.id,...t.orgId===void 0?{}:{orgId:t.orgId},...t.label===void 0?{}:{label:t.label},...t.metadata===void 0?{}:{metadata:t.metadata},...t.role===void 0?{}:{role:t.role},...t.position===void 0?{}:{position:t.position}}))),r=[],i=[];for(let e of n)vD(e)?i.push(e.error):r.push(e.data.id);return i.length>0?DD(...sO(oO(i,t.length))):OD({ids:r})}return{linkEdges:t,async linkOneToMany({source:e,targets:n,attrs:r}){return t(n.map(t=>({source:e,target:t,...r})))},async linkManyToOne({sources:e,target:n,attrs:r}){return t(e.map(e=>({source:e,target:n,...r})))},async replaceTargets(t){return e.setTargets({sourceType:t.source.type,sourceId:t.source.id,targetType:t.targetType,targetIds:t.targetIds,...t.orgId===void 0?{}:{orgId:t.orgId},...t.role===void 0?{}:{role:t.role}})},async linkCreated(e){return t(e.targets.map(t=>({source:e.created,target:t,...e.attrs})))},async unlinkEdges(t){if(t.length===0)return OD(null);let n=await Promise.all(t.map(t=>e.remove({sourceType:t.source.type,sourceId:t.source.id,targetType:t.target.type,targetId:t.target.id,...t.role===void 0?{}:{role:t.role}}))),r=[];for(let e of n)vD(e)&&r.push(e.error);return r.length>0?DD(...sO(oO(r,t.length))):OD(null)}}}function lO(e){return{id:e.id,orgId:e.organization_id??null,entityType:e.entity_type,entityId:e.entity_id,parentId:e.parent_id??null,body:e.body,createdAt:e.created_at,updatedAt:e.updated_at,createdBy:e.created_by??null,author:{email:e.author_email??null,displayName:e.author_display_name??null,avatarUrl:e.author_avatar_url??null},authorAgent:e.author_agent_id?{id:e.author_agent_id,name:e.author_agent_name??null}:null,anchor:e.anchor&&typeof e.anchor==`object`?e.anchor:null}}function uO(e){let{dataSource:t,identity:n,guards:r}=e,{ok:i,err:a,mapPgError:o,mapPgErrorPair:s}=e.rpc;return{async listForEntity(e,c){try{n.requireUserId();let o=r.normalizeEntityToken(e),l=TD(r.checkToken(`entityType`,o),r.checkUuid(`entityId`,c));if(l)return{ok:!1,error:l};let{data:u,error:d}=await t.rpc(`cmt_list`,{p_entity_type:o,p_entity_id:c});return d?a(...s(d)):i({comments:(Array.isArray(u)?u:[]).map(lO)})}catch(e){return{ok:!1,error:o(e)}}},async add(e){try{n.requireUserId();let o=r.normalizeEntityToken(e.entityType),c=TD(r.checkToken(`entityType`,o),r.checkUuid(`entityId`,e.entityId),e.parentId==null?null:r.checkUuid(`parentId`,e.parentId));if(c)return{ok:!1,error:c};if(!e.body||e.body.trim().length===0)return a(`invalid_argument`,`comment body must be non-empty`);let{data:l,error:u}=await t.rpc(`cmt_add`,{p_entity_type:o,p_entity_id:e.entityId,p_body:e.body,p_parent_id:e.parentId??void 0,p_org_id:e.orgId??void 0,...e.anchor?{p_anchor:e.anchor}:{}});return u?a(...s(u)):!l||typeof l!=`string`?a(`internal`,`cmt_add returned no comment id`):i({id:l})}catch(e){return{ok:!1,error:o(e)}}},async edit(e,c){try{n.requireUserId();let o=r.checkUuid(`commentId`,e);if(o)return{ok:!1,error:o};if(!c||c.trim().length===0)return a(`invalid_argument`,`comment body must be non-empty`);let{error:l}=await t.rpc(`cmt_edit`,{p_id:e,p_body:c});return l?a(...s(l)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async remove(e){try{n.requireUserId();let o=r.checkUuid(`commentId`,e);if(o)return{ok:!1,error:o};let{error:c}=await t.rpc(`cmt_delete`,{p_id:e});return c?a(...s(c)):i(null)}catch(e){return{ok:!1,error:o(e)}}}}}function dO(e,t){return`${e}:${t}`}var fO=Object.freeze({status:`idle`,edges:Object.freeze([]),fetchedAt:null,error:null}),pO=Object.freeze({status:`idle`,categories:Object.freeze([]),fetchedAt:null,error:null}),mO=Object.freeze({status:`idle`,comments:Object.freeze([]),fetchedAt:null,error:null});function hO(e){if(!e||typeof e.dataSource?.rpc!=`function`)throw Error(`@ai-matrx/associations: the REQUIRED dataSource port is missing (need an object with rpc(fn, args) — a supabase-js client satisfies it structurally). The package IS data operations; there is no degraded mode without one.`);if(typeof e.identity?.requireUserId!=`function`)throw Error(`@ai-matrx/associations: the REQUIRED identity port is missing (need requireUserId(): string that THROWS when unauthenticated). Identity never comes from a store import.`);let t=typeof e.errorSink==`function`?e.errorSink:yD(),n=WD(t,e.entityOverlay),r={dataSource:e.dataSource,identity:e.identity,errorSink:t,guards:ED(t),rpc:MD(t),registry:n},i=XD(r),a=QD(r),o=eO(r),s=tO(r),c=iO(r,s),l=aO(r,c),u=cO(i),d=uO(r),f=new Map,p=new Map,m=new Map,h=new Map,g=new Map,_=new Map,v=new Map,y=new Map,b=new Map;function x(e){let t=p.get(e);if(t)for(let e of[...t])e()}function S(e){let t=g.get(e);if(t)for(let e of[...t])e()}function C(e,t){f.set(e,t),x(e)}function w(e,t){h.set(e,t),S(e)}function T(e){let t=y.get(e);if(t)for(let e of[...t])e()}function E(e,t){v.set(e,t),T(e)}async function D(e,t,n={}){let r=n.force??!1;if(!e||!t)return;let a=dO(e,t),o=f.get(a);if(!r&&o?.status===`ready`)return;let s=m.get(a);if(!r&&o?.status===`loading`&&s)return s;let c=f.get(a);C(a,{status:`loading`,edges:c?.edges??[],fetchedAt:c?.fetchedAt??null,error:c?.error??null});let l=(async()=>{try{let n=await i.listForEntity(e,t);if(vD(n)){let e=f.get(a);C(a,{status:`error`,edges:e?.edges??[],fetchedAt:e?.fetchedAt??null,error:n.error.message})}else C(a,{status:`ready`,edges:n.data.edges,fetchedAt:Date.now(),error:null})}finally{m.delete(a)}})();return m.set(a,l),l}async function O(e,t,n,r){await Promise.all([D(e,t,{force:!0}),D(n,r,{force:!0})])}async function k(e,t={}){let n=t.force??!1;if(!e)return;let r=h.get(e);if(!n&&r?.status===`ready`)return;let i=_.get(e);if(!n&&r?.status===`loading`&&i)return i;let o=h.get(e);w(e,{status:`loading`,categories:o?.categories??[],fetchedAt:o?.fetchedAt??null,error:null});let s=(async()=>{try{let t=await a.list(e);if(vD(t)){let n=h.get(e);w(e,{status:`error`,categories:n?.categories??[],fetchedAt:n?.fetchedAt??null,error:t.error.message})}else w(e,{status:`ready`,categories:t.data.categories,fetchedAt:Date.now(),error:null})}finally{_.delete(e)}})();return _.set(e,s),s}async function A(e,t,n={}){let r=n.force??!1;if(!e||!t)return;let i=dO(e,t),a=v.get(i);if(!r&&a?.status===`ready`)return;let o=b.get(i);if(!r&&a?.status===`loading`&&o)return o;let s=v.get(i);E(i,{status:`loading`,comments:s?.comments??[],fetchedAt:s?.fetchedAt??null,error:s?.error??null});let c=(async()=>{try{let n=await d.listForEntity(e,t);if(vD(n)){let e=v.get(i);E(i,{status:`error`,comments:e?.comments??[],fetchedAt:e?.fetchedAt??null,error:n.error.message})}else E(i,{status:`ready`,comments:n.data.comments,fetchedAt:Date.now(),error:null})}finally{b.delete(i)}})();return b.set(i,c),c}return{getEdges(e,t){return!e||!t?fO:f.get(dO(e,t))??fO},load:D,subscribe(e,t){let n=p.get(e);return n||(n=new Set,p.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&p.delete(e)}},async add(e){let t=await i.add(e);return vD(t)?{ok:!1,error:t.error.message}:(await O(e.sourceType,e.sourceId,e.targetType,e.targetId),{ok:!0,id:t.data.id})},async remove(e){let t=await i.remove(e);return vD(t)?{ok:!1,error:t.error.message}:(await O(e.sourceType,e.sourceId,e.targetType,e.targetId),{ok:!0})},async setTargets(e){let t=await i.setTargets(e);return vD(t)?{ok:!1,error:t.error.message}:(await D(e.sourceType,e.sourceId,{force:!0}),{ok:!0})},invalidate(e,t){let n=dO(e,t);f.delete(n)&&x(n)},invalidateAll(){let e=[...f.keys()];f.clear();for(let t of e)x(t);let t=[...h.keys()];h.clear();for(let e of t)S(e);let n=[...v.keys()];v.clear();for(let e of n)T(e)},getCategories(e){return e?h.get(e)??pO:pO},loadCategories:k,subscribeCategories(e,t){let n=g.get(e);return n||(n=new Set,g.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&g.delete(e)}},async createCategory(e){let t=await a.create(e);if(vD(t))return{ok:!1,error:t.error.message};let n={id:t.data.id,orgId:e.orgId,dimension:e.dimension,name:e.name,slug:e.slug??null,parentId:e.parentId??null,isSystem:!1,color:e.color??null,icon:e.icon??null,metadata:null,position:null},r=h.get(e.dimension),i=r?.categories??[];return i.some(e=>e.id===n.id)||w(e.dimension,{status:`ready`,categories:[...i,n],fetchedAt:r?.fetchedAt??Date.now(),error:null}),await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id}},async updateCategory(e){let t=await a.update(e);return vD(t)?{ok:!1,error:t.error.message}:(await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id})},async reparentCategory(e){let t=await a.reparent(e);return vD(t)?{ok:!1,error:t.error.message}:(await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id})},async deleteCategory(e){let t=await a.delete(e.id);return vD(t)?{ok:!1,error:t.error.message}:(await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id})},getComments(e,t){return!e||!t?mO:v.get(dO(e,t))??mO},loadComments:A,subscribeComments(e,t){let n=y.get(e);return n||(n=new Set,y.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&y.delete(e)}},async addComment(e){let t=await d.add(e);return vD(t)?{ok:!1,error:t.error.message}:(await A(e.entityType,e.entityId,{force:!0}),{ok:!0,id:t.data.id})},async editComment(e){let t=await d.edit(e.id,e.body);return vD(t)?{ok:!1,error:t.error.message}:(await A(e.entityType,e.entityId,{force:!0}),{ok:!0,id:e.id})},async deleteComment(e){let t=await d.remove(e.id);return vD(t)?{ok:!1,error:t.error.message}:(await A(e.entityType,e.entityId,{force:!0}),{ok:!0,id:e.id})},invalidateComments(e,t){let n=dO(e,t);v.delete(n)&&T(n)},titles:c,favorites:o,candidates:s,entityRows:l,helpers:u,registry:n,services:{associations:i,categories:a,comments:d},registerEntityOverlay:n.registerEntityOverlay,errorSink:t,dataSource:e.dataSource,identity:e.identity}}var gO=1e3,_O=5e5,vO=class extends Error{label;collected;expected;constructor(e,t,n,r){super(`readAllRows(${e}): ${r} — collected ${t}`+(n===null?``:` of ${n}`)+`. Refusing to return a partial list: a truncated read used for an existence/diff decision produces a confidently WRONG answer.`),this.label=e,this.collected=t,this.expected=n,this.name=`IncompleteReadError`}};async function yO(e,t){let n=t.pageSize??gO,r=t.maxRows??_O,i=[],a=null;for(let o=0;;o+=n){let s=await e({from:o,to:o+n-1});if(s.error)throw Error(`readAllRows(${t.label}): query failed — ${s.error.message}`);let c=s.data??[];if(i.push(...c),typeof s.count==`number`&&(a=s.count),a===null){if(c.length<n)return i;throw new vO(t.label,i.length,null,`the query returned no count — pass { count: "exact" } to select() so completeness can be verified`)}if(i.length>=a)break;if(c.length===0)throw new vO(t.label,i.length,a,`a page came back empty before the declared total was reached`);if(i.length>r)throw new vO(t.label,i.length,a,`exceeded the ${r}-row safety limit`)}if(i.length!==a)throw new vO(t.label,i.length,a,`final row count does not match the total the server reported`);return i}function bO(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function xO(e){return typeof e==`string`?e:null}function SO(e){return e===!0}function CO(e){return typeof e==`boolean`?e:null}function wO(e){return Array.isArray(e)?e.filter(e=>typeof e==`string`):[]}function TO(e){return e===`builtin`?`builtin`:`user`}function EO(e){if(!bO(e))return null;let t=e.depth_budget,n=e.member_count;return{mode:xO(e.mode)??`supervisor`,tagline:xO(e.tagline),depthBudget:typeof t==`number`&&Number.isFinite(t)&&t>0?t:null,memberCount:typeof n==`number`&&Number.isFinite(n)&&n>=0?n:0,memberTitles:wO(e.member_titles)}}function DO(e){if(!bO(e))return null;let t=xO(e.id);return t?{id:sD(t),name:xO(e.name),description:xO(e.description),category:xO(e.category),tags:wO(e.tags),agentType:TO(e.agent_type),modelId:xO(e.model_id),isActive:SO(e.is_active),isArchived:SO(e.is_archived),isFavorite:!1,createdBy:xO(e.created_by),organizationId:xO(e.organization_id),taskId:xO(e.task_id),sourceAgentId:xO(e.source_agent_id),createdAt:xO(e.created_at),updatedAt:xO(e.updated_at),isOwner:CO(e.is_owner),accessLevel:xO(e.access_level),sharedByEmail:xO(e.shared_by_email),orchestra:EO(e.orchestra),...`offering_id`in e?{offeringId:xO(e.offering_id)}:{},...`organization_name`in e?{organizationName:xO(e.organization_name)}:{}}:null}var OO=1e3,kO=class extends Error{name=`AgentCatalogReadError`;source;constructor(e,t){super(`${e}: ${t}`),this.source=e}};function AO(e){return e.code?`${e.message} (${e.code})`:e.message}async function jO(e){let t=await yO(({from:t,to:n})=>Promise.resolve(e.rpc(`agx_get_list_full`,{},{count:`exact`}).order(`id`,{ascending:!0}).range(t,n)).then(e=>({data:Array.isArray(e.data)?e.data:null,error:e.error,count:e.count??null})),{label:`agx_get_list_full`,pageSize:OO}),n=[],r=0;for(let e of t){let t=DO(e);t?n.push(t):r+=1}if(r>0)throw new kO(`agx_get_list_full`,`${r} row(s) came back without an id and were refused. A row that cannot be identified cannot be selected, so the catalogue is not trustworthy — check the RPC's return shape.`);return n}async function MO(e,t){let n=t.query.trim();if(!n)return{ids:[],rows:[]};let{data:r,error:i}=await e.rpc(`agx_search`,{p_query:n,p_deep:t.deep??!1,p_limit:t.limit??50,p_offset:0});if(i)throw new kO(`agx_search`,AO(i));let a=[];if(Array.isArray(r))for(let e of r){let t=DO(e);t&&a.push(t)}return{ids:a.map(e=>e.id),rows:a}}async function NO(e,t){try{let n=(await MO(e,{query:t,limit:5})).rows.find(e=>e.id===t);if(n)return n}catch{}let{data:n,error:r}=await e.rpc(`agx_resolve_agent_address`,{p_ids:[t]});if(r)throw new kO(`agx_resolve_agent_address`,AO(r));if(!Array.isArray(n))return null;for(let e of n){if(typeof e!=`object`||!e)continue;let n=e;if(n.agent_id!==t)continue;let r=n.agent_name;return DO({id:t,name:typeof r==`string`?r:null,agent_type:n.agent_type,is_active:!0})}return null}var PO=`agent`;async function FO(e,t,n){if(t.length===0)return t;let r=null;try{let i=await e.getBulk(PO,t.map(e=>e.id));i.ok?r=new Set(i.data.items.filter(e=>e.isFavorite).map(e=>e.entityId)):n(i.error.message)}catch(e){n(e instanceof Error?e.message:String(e))}return t.map(e=>{let t=r?.has(e.id)??!1;return e.isFavorite===t?e:{...e,isFavorite:t}})}async function IO(e,t,n){let r=await e.setFavorite(PO,t,n);if(!r.ok)throw new kO(`user_entity_state (ues_set)`,r.error.code?`${r.error.message} (${r.error.code})`:r.error.message)}var LO=`ai-matrx.agents.catalog.default-row:`,RO=class extends Error{name=`MandateDefaultRowError`;mandateKey;remedy;constructor(e){super(`${e.message} — ${e.remedy}`),this.mandateKey=e.mandateKey,this.remedy=e.remedy}};function zO(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function BO(e,t){if(!zO(t))throw new RO({mandateKey:e,message:`mandate "${e}": the resolution endpoint did not return an object`,remedy:`check that the transport points at the AI Matrx server and that GET /mandates/{key}/resolution is reachable`});let n=t.agent_id,r=t.definition_agent_id,i=t.provenance,a=t.holder_type;return{mandateKey:typeof t.mandate_key==`string`?t.mandate_key:e,holderType:typeof a==`string`?a:`agent`,agentId:typeof n==`string`?n:null,isVersion:t.is_version===!0,definitionAgentId:typeof r==`string`?r:null,provenance:typeof i==`string`?i:`system`}}async function VO(e,t){let n=`/mandates/${encodeURIComponent(t)}/resolution`,r=await e.fetch(n,{method:`GET`,headers:{Accept:`application/json`}});if(!r.ok)throw new RO({mandateKey:t,message:`mandate "${t}": the server refused to resolve it (HTTP ${r.status})`,remedy:r.status===404?`the mandate does not exist — check the key this picker was given`:`check the caller's session and organization context, then retry`});return BO(t,await r.json())}function HO(){let e=new Map;return{getItem:t=>e.get(t)??null,setItem:(t,n)=>{e.set(t,n)},removeItem:t=>{e.delete(t)}}}function UO(){try{let e=globalThis.localStorage;if(e){let t=`${LO}__probe__`;return e.setItem(t,`1`),e.removeItem(t),e}}catch{}return HO()}function WO(e,t){try{if(!t)return null;let n=JSON.parse(t);if(!zO(n))return null;let r=n.holderId,i=n.holderName;if(typeof r!=`string`||typeof i!=`string`)return null;let a=n.holderDescription,o=n.provenance,s=n.at;return{mandateKey:e,holderId:r,holderName:i,holderDescription:typeof a==`string`?a:null,provenance:typeof o==`string`?o:`system`,at:typeof s==`number`?s:0}}catch{return null}}async function GO(e,t){let n;try{n=await e.getItem(LO+t)}catch{return null}return WO(t,n)}async function KO(e,t){try{await e.setItem(LO+t.mandateKey,JSON.stringify(t))}catch{}}function qO(e){return{id:cD(e.mandateKey),name:e.holderName,description:e.holderDescription,category:null,tags:[],agentType:`builtin`,modelId:null,isActive:!0,isArchived:!1,isFavorite:!1,createdBy:null,organizationId:null,taskId:null,sourceAgentId:e.holderId,createdAt:null,updatedAt:null,isOwner:null,accessLevel:null,sharedByEmail:null,orchestra:null,mandateKey:e.mandateKey}}function JO(e,t){return e?e.holderId===t.holderId?e.holderName===t.holderName?null:`The default agent for "${t.mandateKey}" was renamed: "${e.holderName}" is now "${t.holderName}".`:`The default agent for "${t.mandateKey}" changed: this screen was showing "${e.holderName}", and the platform now resolves it to "${t.holderName}". The list below is correct; anything that cached the old name is not.`:null}async function YO(e){let{mandateKey:t,transport:n,client:r,storage:i,lookupRow:a}=e,o=await GO(i,t),s=await VO(n,t);if(s.holderType!==`agent`)throw new RO({mandateKey:t,message:`mandate "${t}": the ${s.provenance} rung names a ${s.holderType} Holder, and an agent picker can only offer an agent`,remedy:`rebind the ${s.provenance} rung to an agent, or drop defaultMandateKey from this picker`});let c=s.definitionAgentId??s.agentId;if(!c)throw new RO({mandateKey:t,message:`mandate "${t}": the server resolved it without naming an agent`,remedy:`bind the ${s.provenance} rung to an agent`});let l=await a(c);if(l||=await NO(r,c)??void 0,!l||!l.name)throw new RO({mandateKey:t,message:`mandate "${t}": its Holder resolved, but nothing this caller can read could name that agent`,remedy:`grant this user access to the Holder, or make it a platform agent — the picker will not print a placeholder name in its place`});let u={mandateKey:t,holderId:c,holderName:l.name,holderDescription:l.description,provenance:s.provenance,at:Date.now()},d=JO(o,u);return await KO(i,u),{resolved:u,row:qO(u),drift:d}}var XO=Symbol.for(`ai-matrx.agents.catalog`);function ZO(){let e=globalThis,t=e[XO];return t||(t={catalogs:new Map,listInFlight:new Map,listFetchedAt:new Map,defaultRows:new Map},e[XO]=t),t}var QO=`00000000-0000-0000-0000-000000000000`,$O=`agx_this_function_does_not_exist_probe`,ek={agx_get_list_full:{},agx_search:{p_query:`__probe__`,p_deep:!1,p_limit:1,p_offset:0},agx_resolve_agent_address:{p_ids:[QO]},ues_get_bulk:{p_entity_type:`agent`,p_entity_ids:[QO]}};function tk(e){if(!e||typeof e!=`object`)return!1;let t=e.code;return t===`PGRST202`||t===`42883`}async function nk(e,t={}){let{selfTest:n=!1,throwOnViolation:r=!0}=t,i=Object.keys(ek);n&&i.push($O);let a=[],o=[],s=[],c=null;for(let t of i){let n=ek[t]??{};try{let{data:r,error:i}=await e.rpc(t,n);t===`agx_get_list_full`&&i==null&&(c=rk(r)),i==null?s.push(t):tk(i)?a.push(t):s.push(t)}catch(e){o.push({fn:t,error:e})}}if(n){let e=a.includes($O),t=a.indexOf($O);t>=0&&a.splice(t,1);let n=s.indexOf($O);if(n>=0&&s.splice(n,1),!e)throw Error(`assertAgentCatalogSchema self-test FAILED: the fabricated function "${$O}" did not come back as missing. This probe cannot currently fail, so its green result proves nothing — the client is swallowing or faking errors.`)}if(o.length>0)throw Error(`assertAgentCatalogSchema could not complete: ${o.length} probe call(s) failed to reach the database (${o.map(e=>e.fn).join(`, `)}). This is NOT a schema verdict — fix connectivity and re-run.`);let l=a.length===0,u={ok:l,missing:a,unreachable:o,answered:s,orchestraColumn:c};if(!l&&r)throw Error(`DEMANDED SCHEMA VIOLATION: the database this client points at cannot answer ${a.length} demanded function(s): ${a.join(`, `)}. @ai-matrx/agents/catalog cannot render a correct picker against it — point the client at Matrx Main, or apply the agx_* migrations.`);return u}function rk(e){return!Array.isArray(e)||e.length===0?null:e.some(e=>typeof e==`object`&&!!e&&Object.prototype.hasOwnProperty.call(e,`orchestra`))}var ik=9e5,ak=144e5;function ok(){let e=!1;return t=>{e||(e=!0,console.error("[@ai-matrx/agents/catalog] no errorSink is bound, so failures are only reaching the console. Pass `errorSink` to createAgentCatalog to route them into your diagnostics surface.")),console.error(`[@ai-matrx/agents/catalog] ${t.code}: ${t.message}`,{...t.context??{}})}}function sk(e){return e instanceof Error?e.message:String(e)}function ck(e){if(!e||typeof e!=`object`)throw new gD({code:`missing_config`,message:`createAgentCatalog was called without a config object`,remedy:`pass { client, identity }`});if(!e.client||typeof e.client.rpc!=`function`)throw new gD({code:`missing_client`,message:`createAgentCatalog needs a Supabase client — it IS the catalogue read`,remedy:"pass `client` (a supabase-js client, or anything with rpc() and schema().from())"});if(!e.identity||typeof e.identity.requireUserId!=`function`)throw new gD({code:`missing_identity`,message:`createAgentCatalog needs to know who is asking`,remedy:"pass `identity: { requireUserId() }` — never a silent anonymous read"});let t=e.defaults?.archiveFilter;if(t!==void 0&&!mD(t))throw new gD({code:`invalid_archive_default`,message:`defaults.archiveFilter was ${JSON.stringify(t)}, which is not one of the three states of the platform archive filter`,remedy:`pass "active" (hide archived), "both" (show all) or "archived" (archived only)`});let n={...hD,...t?{archFilter:t}:{}},r=e.catalogId??`default`,i=e.client,a=e.identity,o=e.errorSink??ok(),s=e.notifier,c=e.storage??UO(),l=e.transport,u=e.favorites??hO({dataSource:i,identity:a,errorSink:o}).favorites;function d(e){o({code:`favorite_read_failed`,message:`your starred agents could not be read (${e}); every star is shown unset until the next catalogue load`,context:{catalogId:r}})}let f={..._D,...e.labels??{}},p=ZO();p.catalogs.has(r)&&o({code:`catalog_replaced`,message:`a second agent catalog was created under id "${r}" and has REPLACED the first. Two catalogs with one id share a freshness stamp and an in-flight promise; give each one its own \`catalogId\`.`});let m={rows:[],byId:{},status:`idle`,error:null,consumers:{},defaultRows:{}},h=new Set;function g(e){m=e;for(let e of h)e()}function _(e){if(e.length===0)return;let t={...m.byId};for(let n of e)t[n.id]=n;g({...m,byId:t,rows:Object.values(t)})}function v(e){let t={};for(let n of e)t[n.id]=n;g({...m,byId:t,rows:Object.values(t)})}let y=!1;function b(){if(typeof a.getUserId==`function`)return a.getUserId();try{return a.requireUserId()}catch(e){return y||(y=!0,o({code:`identity_unavailable`,message:`identity.requireUserId() threw, so the picker is treating this session as signed out and opening on the public catalogue. Favoriting is unavailable until a session exists.`,context:{detail:sk(e)}})),null}}function x(){let e=p.listFetchedAt.get(r);return e!==void 0&&Date.now()-e<ik}function S(){let e=p.listFetchedAt.get(r);return e===void 0||Date.now()-e>ak}async function C(){if(b()===null){m.rows.length>0&&v([]),g({...m,status:`succeeded`,error:null});return}g({...m,status:`loading`,error:null});try{v(await FO(u,await jO(i),d)),g({...m,status:`succeeded`,error:null}),p.listFetchedAt.set(r,Date.now())}catch(e){let t=sk(e);throw g({...m,status:`failed`,error:t}),o({code:`list_read_failed`,message:`the agent catalogue could not be read: ${t}`,context:{catalogId:r}}),e}}async function w(e){if(!(e?.force??!1)&&x())return;let t=p.listInFlight.get(r);if(t)return t;let n=C().finally(()=>{p.listInFlight.get(r)===n&&p.listInFlight.delete(r)});return p.listInFlight.set(r,n),n}function T(e){return m.consumers[e]??n}function E(e,t){g({...m,consumers:{...m.consumers,[e]:t}})}function D(e,t){m.consumers[e]||E(e,{...n,...t??{}})}function O(e){if(!m.consumers[e])return;let t={...m.consumers};delete t[e],g({...m,consumers:t})}function k(e,t){E(e,{...m.consumers[e]??{...n},...t,listPage:1,sharedPage:1})}function A(e,t,n){let r=m.consumers[e];r&&E(e,t===`list`?{...r,listPage:n}:{...r,sharedPage:n})}function j(e,t){let r=m.consumers[e]??{...n},i={...r};t.matchedIds!==void 0&&(i.serverMatchedIds=t.matchedIds),t.isSearching!==void 0&&(i.isServerSearching=t.isSearching),(i.serverMatchedIds!==r.serverMatchedIds||i.isServerSearching!==r.isServerSearching)&&E(e,i)}function M(e){m.consumers[e]&&E(e,{...n})}async function N(e,t=!1){let n=await MO(i,{query:e,deep:t});return _(await FO(u,n.rows,d)),n.ids}async function P(e,t){let n=m.byId[e];if(!n){o({code:`favorite_unknown_agent`,message:`cannot favorite ${e}: it is not in this catalogue`});return}_([{...n,isFavorite:t}]);try{await IO(u,e,t)}catch(r){throw _([n]),o({code:`favorite_write_failed`,message:`the favorite could not be saved: ${sk(r)}`,context:{agentId:e,isFavorite:t}}),s?.({level:`error`,title:`Favorite not saved`,message:`The star was put back because the change could not be saved. Check your connection and try again.`}),r}}function F(e,t){g({...m,defaultRows:{...m.defaultRows,[e]:t}})}let I=new Set;function L(e){if(!e||I.has(e))return;let t=m.defaultRows[e];if(!t||t.error){if(!l)throw new gD({code:`missing_transport`,message:`a picker asked for the default row of mandate "${e}", but this catalog has no transport`,remedy:"pass `transport` (createMatrxTransport from @ai-matrx/agents/matrx) to createAgentCatalog — clients never walk the mandate ladder themselves, they ask the server"});I.add(e),F(e,{mandateKey:e,row:null,resolved:null,loading:!0,drift:null,error:null}),(async()=>{try{let t=await YO({mandateKey:e,transport:l,client:i,storage:c,errorSink:o,lookupRow:async e=>{let t=m.byId[e];if(t)return t;let n=p.listInFlight.get(r);if(n)return await n.catch(()=>void 0),m.byId[e]}});ZO().defaultRows.set(`${r}::${e}`,t.resolved),F(e,{mandateKey:e,row:t.row,resolved:t.resolved,loading:!1,drift:t.drift,error:null}),t.drift&&(o({code:`default_row_drift`,message:t.drift,context:{mandateKey:e,holderId:t.resolved.holderId}}),s?.({level:`warning`,title:`The default agent changed`,message:t.drift}))}catch(t){let n=t instanceof RO?t.message:sk(t);F(e,{mandateKey:e,row:null,resolved:null,loading:!1,drift:null,error:n}),o({code:`default_row_unresolved`,message:n,context:{mandateKey:e}})}finally{I.delete(e)}})()}}function ee(e){return m.defaultRows[e]}function te(e){let t=m.defaultRows[e];t&&t.drift&&F(e,{...t,drift:null})}function ne(e){if(!e||I.has(e))return;let{[e]:t,...n}=m.defaultRows;g({...m,defaultRows:n}),L(e)}let re={catalogId:r,labels:f,errorSink:o,notifier:s,canResolveMandates:l!==void 0,consumerDefaults:n,getState:()=>m,subscribe:e=>(h.add(e),()=>{h.delete(e)}),getAgent:e=>m.byId[e],getUserIdOrNull:b,ensureLoaded:w,isFresh:x,isStale:S,getConsumer:T,registerConsumer:D,unregisterConsumer:O,setConsumerFilter:k,setConsumerPage:A,setConsumerServerSearch:j,resetConsumerFilters:M,searchServer:N,setFavorite:P,ensureDefaultRow:L,getDefaultRow:ee,dismissDefaultRowDrift:te,retryDefaultRow:ne,assertSchema:e=>nk(i,e)};return p.catalogs.set(r,re),re}var lk={supervisor:`supervisor`,sequential:`in order`,parallel:`together`,dag:`custom flow`};function uk(e){return lk[e]??e}function dk(e){let t=e.memberCount;return`Orchestra · ${uk(e.mode)} · ${t} ${t===1?`member`:`members`}`}function fk(e){let t=e.depthBudget;return typeof t!=`number`||t<=0?null:`Team members can call helpers up to ${t} ${t===1?`level`:`levels`} deep`}function pk(e,t=3){let n=e.memberTitles;if(n.length===0)return null;let r=n.slice(0,t),i=n.length-r.length;return`Delegates to: ${r.join(`, `)}${i>0?` +${i} more`:``}`}function mk(e,t){switch(e){case`system`:return t.emptySystem;case`shared`:return t.emptyShared;default:return t.emptyDefault}}function hk(e){return e.userId?e.agentsLoaded?e.ownedCount===0:!1:!0}function gk(e){return fD.find(t=>t.value===e)?.chip??`Archive`}function _k(e){return fD.find(t=>t.value===e)?.label??`Hide archived`}function vk(e){return`Archive filter: ${_k(e).toLowerCase()}. Click for ${_k(pD(e)).toLowerCase()}`}function yk(e){let{count:t,archFilter:n,archivedHiddenCount:r}=e;if(n===`archived`)return`${t} archived shown`;let i=`${t} agent${t===1?``:`s`}`;return n===`both`?`${i} · archived shown`:r>0?`${i} · ${r} archived hidden`:i}function bk(e,t){let n=t.trim().toLowerCase();if(!n)return 0;let r=0,i=(e.name??``).toLowerCase(),a=(e.description??``).toLowerCase();i===n?r+=1e4:i.startsWith(n)?r+=5e3:xk(i,n)?r+=3e3:i.includes(n)&&(r+=2e3),a===n?r+=1e3:a.includes(n)&&(r+=500),e.category?.toLowerCase().includes(n)&&(r+=300),e.tags?.some(e=>e.toLowerCase().includes(n))&&(r+=300),e.modelId?.toLowerCase().includes(n)&&(r+=100),e.agentType?.toLowerCase().includes(n)&&(r+=100),e.outputFormat?.toLowerCase().includes(n)&&(r+=100);let o=e.id.toLowerCase();if(o===n?r+=1e5:o.includes(n)&&(r+=5e3),e.sharedByEmail?.toLowerCase().includes(n)&&(r+=200),r===0&&n.includes(` `)){let t=n.split(/\s+/).filter(Boolean),o=0,s=0;for(let n of t){let t=i.includes(n);(t||a.includes(n)||(e.category?.toLowerCase().includes(n)??!1)||(e.tags?.some(e=>e.toLowerCase().includes(n))??!1))&&(o+=1,s+=t?400:100)}o===t.length&&(r+=s)}return r}function xk(e,t){let n=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);return RegExp(`\\b${n}\\b`).test(e)}function Sk(e,t){return bk(e,t)>0}function Ck(e){let t,n,r=!1;return i=>((!r||t!==i)&&(n=e(i),t=i,r=!0),n)}function wk(e){let t,n,r,i=!1;return(a,o)=>((!i||t!==a||n!==o)&&(r=e(a,o),t=a,n=o,i=!0),r)}function Tk(e,t){let n=e.id??``,r=t.id??``;return n<r?-1:+(n>r)}function Ek(e,t,n){let r=Dk(e,t,n);return!Number.isFinite(r)||r===0?Tk(e,t):r}function Dk(e,t,n){switch(n){case`name-asc`:return(e.name??``).localeCompare(t.name??``);case`name-desc`:return(t.name??``).localeCompare(e.name??``);case`created-desc`:return+new Date(t.createdAt??0)-new Date(e.createdAt??0);case`category-asc`:return(e.category??``).localeCompare(t.category??``);default:return+new Date(t.updatedAt??0)-new Date(e.updatedAt??0)}}var Ok=Ck(e=>{let t=new Set;for(let n of e)n.agentType===`user`&&n.category&&t.add(n.category);return Array.from(t).sort()}),kk=Ck(e=>{let t=new Set;for(let n of e)n.agentType===`builtin`&&n.category&&t.add(n.category);return Array.from(t).sort()}),Ak=Ck(e=>{let t=new Set;for(let n of e)n.agentType===`user`&&n.tags?.forEach(e=>t.add(e));return Array.from(t).sort()}),jk=Ck(e=>{let t=new Set;for(let n of e)n.agentType===`builtin`&&n.tags?.forEach(e=>t.add(e));return Array.from(t).sort()}),Mk=Ck(e=>e.filter(e=>e.agentType===`user`)),Nk=Ck(e=>e.filter(e=>e.agentType===`builtin`));function Pk(e,t){let{searchTerm:n,sortBy:r,favFilter:i,favoritesFirst:a}=t;if(n){let i=new Map;e.forEach(e=>{i.set(e.id,bk(e,n))});let a=new Map;return t.serverMatchedIds.forEach((e,t)=>a.set(e,t)),[...e].sort((e,t)=>{let n=i.get(e.id)??0,o=i.get(t.id)??0;if(o!==n)return o-n;if(n===0){let n=a.get(e.id),r=a.get(t.id);if(n!==void 0&&r!==void 0&&n!==r)return n-r}return Ek(e,t,r)})}return[...e].sort((e,t)=>{if(a&&i===`all`){let n=+!!e.isFavorite,r=+!!t.isFavorite;if(r!==n)return r-n}return Ek(e,t,r)})}function Fk(e,t){let{searchTerm:n,includedCats:r,includedTags:i,favFilter:a,archFilter:o,accessFilter:s,tab:c}=t,l=new Set(t.serverMatchedIds);return Pk(e.filter(e=>{if(c===`mine`&&e.isOwner!==!0||c===`shared`&&(e.isOwner!==!1||e.accessLevel==null)||!Rk(e,o)||a===`yes`&&!e.isFavorite||a===`no`&&e.isFavorite||s===`owned`&&e.isOwner!==!0||s===`shared`&&e.isOwner!==!1||s===`editable`&&e.accessLevel!==`owner`&&e.accessLevel!==`admin`&&e.accessLevel!==`editor`)return!1;if(r.length>0){let t=e.category;if(!t){if(!r.includes(`__none__`))return!1}else if(!r.includes(t))return!1}if(i.length>0){if(!e.tags?.length){if(!i.includes(`__none__`))return!1}else if(!e.tags?.some(e=>i.includes(e)))return!1}return!(n&&!Sk(e,n)&&!l.has(e.id))}),t)}function Ik(e,t){let{searchTerm:n,favFilter:r,archFilter:i,includedCats:a,includedTags:o}=t,s=new Set(t.serverMatchedIds);return Pk(e.filter(e=>{if(!Rk(e,i)||r===`yes`&&!e.isFavorite||r===`no`&&e.isFavorite)return!1;if(a.length>0){let t=e.category;if(!t){if(!a.includes(`__none__`))return!1}else if(!a.includes(t))return!1}if(o.length>0){if(!e.tags?.length){if(!o.includes(`__none__`))return!1}else if(!e.tags?.some(e=>o.includes(e)))return!1}return!(n&&!Sk(e,n)&&!s.has(e.id))}),t)}var Lk=(e=!1)=>wk((t,n)=>{let r=Mk(t),i=Nk(t);return n.tab===`system`?Ik(i,n):e&&n.tab===`all`?[...Fk(r,n),...Ik(i,n)]:Fk(r,n)});function Rk(e,t){return t===`active`?!e.isArchived:t!==`archived`||!!e.isArchived}function zk(e,t){let n=0;for(let r of e)r.agentType===`builtin`&&Rk(r,t)&&(n+=1);return n}function Bk(e,t,n){let r=0;for(let i of e)i.agentType===`user`&&Rk(i,t)&&n(i)&&(r+=1);return r}var Vk=e=>e.isOwner===!0,Hk=e=>e.isOwner===!1&&e.accessLevel!=null,Uk=()=>!0,Wk=wk((e,t)=>({mine:Bk(e,t,Vk),shared:Bk(e,t,Hk),all:Bk(e,t,Uk),system:zk(e,t)})),Gk=(0,_.createContext)(null);function Kk({catalog:e,platform:t,children:n,...r}){let i=(0,_.useMemo)(()=>({catalog:e,platform:t,...r}),[e,t,r.navigate,r.LinkComponent,r.renderModelRef,r.openPeek,r.popoverContainer]);return(0,j.jsx)(Gk.Provider,{value:i,children:n})}function qk(){let e=(0,_.useContext)(Gk);if(!e)throw Error(`@ai-matrx/agents/catalog: no <AgentCatalogProvider> is mounted above this component. Create the catalog once with createAgentCatalog({ client, identity }) and mount <AgentCatalogProvider catalog={catalog}> at the top of your tree.`);return e}function Jk(){return qk().catalog}function Yk(){let e=qk(),t=e.navigate,n=e.platform.navigate;return{navigate:(0,_.useCallback)(e=>{if(t){t(e);return}n(e)},[t,n]),LinkComponent:e.LinkComponent??e.platform.LinkComponent,renderModelRef:e.renderModelRef??e.platform.renderModelRef,openPeek:e.openPeek,popoverContainer:e.popoverContainer}}function Xk(e){let t=Jk(),n=(0,_.useCallback)(()=>e(t.getState()),[t,e]);return(0,_.useSyncExternalStore)(t.subscribe,n,n)}function Zk(){return Xk(Qk)}var Qk=e=>e.rows,$k={navigate:e=>{typeof window<`u`&&window.location.assign(e)},LinkComponent:({children:e,...t})=>(0,j.jsx)(`a`,{...t,children:e}),renderModelRef:({modelId:e,className:t})=>(0,j.jsx)(`span`,{className:t,children:e})};function eA({catalog:e,children:t,...n}){let r=(0,_.useMemo)(()=>$k,[]);return(0,j.jsx)(Kk,{catalog:e,platform:r,...n,children:t})}var tA=250,nA=2;function rA(e,t){let n=Jk(),r=n.consumerDefaults,i=Xk((0,_.useCallback)(t=>t.consumers[e]??r,[e,r])),a=(0,_.useRef)(t);a.current=t,(0,_.useEffect)(()=>{let t=a.current,r={...t?.initialTab?{tab:t.initialTab}:{},...t?.initialArchFilter?{archFilter:t.initialArchFilter}:{}};return n.registerConsumer(e,Object.keys(r).length>0?r:void 0),()=>{a.current?.unregisterOnUnmount&&n.unregisterConsumer(e)}},[e,n]);let o=(0,_.useCallback)(t=>n.setConsumerFilter(e,{searchTerm:t}),[e,n]),s=(0,_.useCallback)(t=>n.setConsumerFilter(e,{deepSearch:t}),[e,n]),c=(0,_.useCallback)(t=>n.setConsumerFilter(e,{sortBy:t}),[e,n]),l=(0,_.useCallback)(t=>n.setConsumerFilter(e,{tab:t}),[e,n]),u=(0,_.useCallback)(t=>n.setConsumerFilter(e,{favFilter:t}),[e,n]),d=(0,_.useCallback)(t=>n.setConsumerFilter(e,{archFilter:t}),[e,n]),f=(0,_.useCallback)(t=>n.setConsumerFilter(e,{accessFilter:t}),[e,n]),p=(0,_.useCallback)(t=>{let r=n.getConsumer(e).includedCats,i=r.includes(t)?r.filter(e=>e!==t):[...r,t];n.setConsumerFilter(e,{includedCats:i})},[e,n]),m=(0,_.useCallback)(t=>{let r=n.getConsumer(e).includedTags,i=r.includes(t)?r.filter(e=>e!==t):[...r,t];n.setConsumerFilter(e,{includedTags:i})},[e,n]),h=(0,_.useCallback)(t=>n.setConsumerFilter(e,{includedCats:t}),[e,n]),g=(0,_.useCallback)(t=>n.setConsumerFilter(e,{includedTags:t}),[e,n]),v=(0,_.useCallback)(()=>n.setConsumerFilter(e,{favoritesFirst:!n.getConsumer(e).favoritesFirst}),[e,n]),y=(0,_.useCallback)(()=>n.setConsumerPage(e,`list`,n.getConsumer(e).listPage+1),[e,n]),b=(0,_.useCallback)(()=>n.setConsumerPage(e,`shared`,n.getConsumer(e).sharedPage+1),[e,n]),x=(0,_.useCallback)(()=>n.resetConsumerFilters(e),[e,n]),[S,C]=(0,_.useState)(!1),[w,T]=(0,_.useState)(null),E=(0,_.useRef)(0),D=i.searchTerm,O=i.deepSearch;(0,_.useEffect)(()=>{let e=D.trim();if(e.length<nA){C(!1),T(null);return}let t=++E.current;C(!0);let r=setTimeout(()=>{n.searchServer(e,O).then(e=>{t===E.current&&(T(e),C(!1))}).catch(r=>{t===E.current&&(n.errorSink({code:`server_search_failed`,message:`agent search failed: ${r instanceof Error?r.message:String(r)}`,context:{query:e,deep:O}}),C(!1))})},tA);return()=>clearTimeout(r)},[D,O,n]),(0,_.useEffect)(()=>{n.setConsumerServerSearch(e,{matchedIds:w??[],isSearching:S})},[e,n,w,S]);let k=i.searchTerm!==``||i.includedCats.length>0||i.includedTags.length>0||i.favFilter!==`all`||i.archFilter!==r.archFilter||i.accessFilter!==`any`||!i.favoritesFirst;return{tab:i.tab,sortBy:i.sortBy,searchTerm:i.searchTerm,includedCats:i.includedCats,includedTags:i.includedTags,favFilter:i.favFilter,archFilter:i.archFilter,archFilterDefault:r.archFilter,accessFilter:i.accessFilter,favoritesFirst:i.favoritesFirst,listPage:i.listPage,sharedPage:i.sharedPage,state:i,hasActiveFilters:k,deepSearch:i.deepSearch,isServerSearching:i.isServerSearching,setSearchTerm:o,setDeepSearch:s,setSortBy:c,setTab:l,setFavFilter:u,setArchFilter:d,setAccessFilter:f,toggleCategory:p,toggleTag:m,setIncludedCats:h,setIncludedTags:g,toggleFavoritesFirst:v,loadMoreList:y,loadMoreShared:b,resetFilters:x}}function iA(e,t,n){return t.length===0||t.includes(e)?null:n&&t.includes(n)?n:t[0]??null}var aA=[];function oA({consumerId:e,onSelect:t,navigateTo:n,activeAgentIdOverride:r,initialTab:i,includeSystemInAll:a=!1,visibleTabs:o,initialArchFilter:s,excludeAgentIds:c=aA,defaultMandateKey:l,agentFilter:u}){let d=Jk(),{navigate:f}=Yk(),p=(0,_.useRef)(!1),[m,h]=(0,_.useState)(null),g=(0,_.useRef)(null),v=(0,_.useRef)(!1),y=rA(e,{unregisterOnUnmount:!0,...s?{initialArchFilter:s}:{}}),b=Zk(),x=d.getUserIdOrNull(),S=Wk(b,y.state.archFilter),C=S.mine,w=(0,_.useMemo)(()=>Lk(a),[a])(b,y.state),T=(0,_.useMemo)(()=>new Set(c),[c]),[E,D]=(0,_.useState)(null),O=u&&E!==u.label?u:null,k=O?.test,A=(0,_.useCallback)(e=>T.size===0&&!k?e:e.filter(e=>!T.has(e.id)&&(!k||k(e))),[T,k]),j=(0,_.useCallback)(()=>{u&&(u.onClear?u.onClear():D(u.label))},[u]),M=(0,_.useCallback)(()=>D(null),[]),N=A(w),P=(0,_.useMemo)(()=>Lk(a),[a]),F=(0,_.useMemo)(()=>({...y.state,archFilter:`archived`}),[y.state]),I=y.archFilter===`active`?A(P(b,F)).length:0,L=Xk(sA),ee=r??null,te=ee?d.getAgent(ee):void 0,ne=y.tab===`system`,re=ne?kk(b):Ok(b),ie=ne?jk(b):Ak(b),ae=S,oe=L===`loading`,se=L===`succeeded`||L===`failed`,ce=(0,_.useCallback)(()=>{p.current||(p.current=!0,d.ensureLoaded().catch(()=>{}))},[d]),le=Xk((0,_.useCallback)(e=>l?e.defaultRows[l]:void 0,[l]));(0,_.useEffect)(()=>{l&&d.ensureDefaultRow(l)},[d,l]),(0,_.useEffect)(()=>{if(!v.current){if(i){v.current=!0,y.tab!==i&&y.setTab(i);return}if(y.tab!==`mine`){v.current=!0;return}if(!hk({userId:x,ownedCount:C,agentsLoaded:se})){(!x||se)&&(v.current=!0);return}y.setTab(`system`),v.current=!0}},[x,C,se,i,y.tab,y.setTab]);let ue=o?o.join(`,`):``;(0,_.useEffect)(()=>{if(!ue)return;let e=iA(y.tab,ue.split(`,`),i);e&&y.setTab(e)},[ue,i,y.tab,y.setTab]),(0,_.useEffect)(()=>{ce()},[ce]);let R=(0,_.useCallback)(r=>{t?t(r.id):n?f(n.replace(`{id}`,r.id)):d.errorSink({code:`select_has_nowhere_to_go`,message:`an agent was chosen but this picker was given neither onSelect nor navigateTo, so the choice went nowhere.`,context:{consumerId:e,agentId:r.id}})},[t,n,f,d,e]),de=(y.sortBy===`updated-desc`?0:1)+ +(y.includedCats.length>0)+ +(y.includedTags.length>0)+(y.favFilter===`all`?0:1)+(y.archFilter===y.archFilterDefault?0:1),z=(0,_.useCallback)((e,t)=>{t||(g.current&&=(clearTimeout(g.current),null),h(e))},[]),B=(0,_.useCallback)((e,t)=>{m?.id===e.id&&(g.current=setTimeout(()=>{h(null),t()},900))},[m]),fe=(0,_.useCallback)(()=>{g.current&&=(clearTimeout(g.current),null)},[]),pe=(0,_.useCallback)(e=>{g.current=setTimeout(()=>{h(null),e()},900)},[]);return(0,_.useEffect)(()=>()=>{g.current&&clearTimeout(g.current)},[]),{agents:N,archivedHiddenCount:I,footerLabel:yk({count:N.length,archFilter:y.archFilter,archivedHiddenCount:I}),isLoading:oe,activeAgentId:ee,pinnedAgent:te??null,defaultRow:le??null,agentFilterLabel:O?.label??null,clearAgentFilter:j,resumeAgentFilter:M,allCategories:re,allTags:ie,consumer:y,tabCounts:ae,activeFilterCount:de,hoveredAgent:m,setHoveredAgent:h,ensureLoaded:ce,handleSelectAgent:R,handleAgentHover:z,handleAgentHoverEnd:B,handleDetailPanelMouseEnter:fe,handleDetailPanelMouseLeave:pe}}var sA=e=>e.status,cA={star:{paths:[`M11.5 3.2a.6.6 0 0 1 1 0l2.3 4.7 5.2.8a.6.6 0 0 1 .3 1l-3.8 3.7.9 5.2a.6.6 0 0 1-.9.6L12 16.8l-4.6 2.4a.6.6 0 0 1-.9-.6l.9-5.2-3.8-3.7a.6.6 0 0 1 .3-1l5.2-.8Z`],fillable:!0},chevronRight:{paths:[`m9 18 6-6-6-6`]},chevronDown:{paths:[`m6 9 6 6 6-6`]},search:{paths:[`m21 21-4.3-4.3`],circles:[{cx:11,cy:11,r:8}]},x:{paths:[`M18 6 6 18`,`m6 6 12 12`]},check:{paths:[`M20 6 9 17l-5-5`]},arrowUpDown:{paths:[`m21 16-4 4-4-4`,`M17 20V4`,`m3 8 4-4 4 4`,`M7 4v16`]},folder:{paths:[`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`]},tag:{paths:[`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`],circles:[{cx:7.5,cy:7.5,r:.5,filled:!0}]},rotateCcw:{paths:[`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,`M3 3v5h5`]},loader:{paths:[`M21 12a9 9 0 1 1-6.219-8.56`]},alertTriangle:{paths:[`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,`M12 9v4`,`M12 17h.01`]},music4:{paths:[`M9 18V5l12-2v13`,`m9 9 12-2`],circles:[{cx:6,cy:18,r:3},{cx:18,cy:16,r:3}]},clock:{paths:[`M12 6v6l4 2`],circles:[{cx:12,cy:12,r:10}]},globe:{paths:[`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,`M2 12h20`],circles:[{cx:12,cy:12,r:10}]},users:{paths:[`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,`M22 21v-2a4 4 0 0 0-3-3.87`,`M16 3.13a4 4 0 0 1 0 7.75`],circles:[{cx:9,cy:7,r:4}]},externalLink:{paths:[`M15 3h6v6`,`M10 14 21 3`,`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`]},messageCircle:{paths:[`M7.9 20A9 9 0 1 0 4 16.1L2 22Z`]},rocket:{paths:[`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91 0`,`m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2`,`M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0`,`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`]},archive:{paths:[`M3 3h18a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z`,`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,`M10 12h4`]},circleCheck:{paths:[`m9 12 2 2 4-4`],circles:[{cx:12,cy:12,r:10}]}};Object.keys(cA);function lA({children:e,...t}){return(0,j.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,...t,children:e})}function uA({name:e,filled:t}){let n=cA[e];return(0,j.jsxs)(j.Fragment,{children:[n.paths.map((e,r)=>(0,j.jsx)(`path`,{d:e,...t&&n.fillable?{fill:`currentColor`}:{}},`p${r}`)),(n.circles??[]).map((e,t)=>(0,j.jsx)(`circle`,{cx:e.cx,cy:e.cy,r:e.r,...e.filled?{fill:`currentColor`}:{}},`c${t}`))]})}function dA(e){return function(t){return(0,j.jsx)(lA,{...t,children:(0,j.jsx)(uA,{name:e,filled:!1})})}}function fA({filled:e=!1,...t}){return(0,j.jsx)(lA,{...t,fill:e?`currentColor`:`none`,children:(0,j.jsx)(uA,{name:`star`,filled:e})})}var pA=dA(`chevronRight`),mA=dA(`chevronDown`),hA=dA(`search`),gA=dA(`x`),_A=dA(`check`),vA=dA(`arrowUpDown`),yA=dA(`folder`),bA=dA(`tag`),xA=dA(`rotateCcw`),SA=dA(`archive`),CA=dA(`loader`),wA=dA(`users`),TA=dA(`clock`),EA=dA(`globe`),DA=dA(`externalLink`),OA=dA(`messageCircle`),kA=dA(`rocket`),AA=dA(`alertTriangle`),jA=dA(`music4`);function MA(e){return(0,j.jsxs)(lA,{...e,children:[(0,j.jsx)(`path`,{d:`M14 4.1 12 6`}),(0,j.jsx)(`path`,{d:`m5.1 8-2.9-.8`}),(0,j.jsx)(`path`,{d:`m6 12-1.9 2`}),(0,j.jsx)(`path`,{d:`M7.2 2.2 8 5.1`}),(0,j.jsx)(`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`})]})}var NA=({ref:e,value:t,onChange:n,placeholder:r})=>(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5 h-7 px-2 rounded-md bg-muted/40 border border-border/50`,children:[(0,j.jsx)(hA,{className:`w-3 h-3 text-muted-foreground shrink-0`}),(0,j.jsx)(`input`,{ref:e,type:`text`,value:t,onChange:e=>n(e.target.value),placeholder:r,className:`flex-1 bg-transparent text-xs text-foreground placeholder:text-muted-foreground/50 outline-none min-w-0`,style:{fontSize:`16px`}}),t&&(0,j.jsx)(`button`,{type:`button`,onClick:()=>n(``),className:`text-muted-foreground hover:text-foreground`,"aria-label":`Clear search`,children:(0,j.jsx)(gA,{className:`w-3 h-3`})})]});function PA({icon:e,label:t,active:n,focused:r,onClick:i,ariaLabel:a,testId:o}){return(0,j.jsxs)(`button`,{type:`button`,onClick:i,...a?{"aria-label":a}:{},...o?{"data-testid":o}:{},className:X(`inline-flex items-center gap-1 h-6 px-1.5 rounded text-[11px] font-medium shrink-0 transition-colors`,r?`bg-primary/15 text-primary border border-primary/30 ring-1 ring-primary/20`:n?`bg-primary/10 text-primary border border-primary/20`:`text-muted-foreground hover:text-foreground hover:bg-muted/50 border border-transparent`),children:[(0,j.jsx)(e,{className:`w-3 h-3`}),(0,j.jsx)(`span`,{children:t})]})}function FA({label:e,selected:t,onClick:n}){return(0,j.jsxs)(`button`,{type:`button`,onClick:n,className:X(`flex items-center w-full px-3 py-2 text-xs transition-colors`,`hover:bg-muted/50 active:bg-muted/70`,t&&`text-primary font-medium`),children:[(0,j.jsx)(`span`,{className:`flex-1 text-left`,children:e}),t&&(0,j.jsx)(_A,{className:`w-3.5 h-3.5 text-primary shrink-0`})]})}function IA({label:e,checked:t,onClick:n}){return(0,j.jsxs)(`button`,{type:`button`,onClick:n,className:`flex items-center gap-2 w-full px-3 py-1.5 text-xs hover:bg-muted/50 active:bg-muted/70 transition-colors`,children:[(0,j.jsx)(`div`,{className:X(`w-3.5 h-3.5 rounded-sm border flex items-center justify-center shrink-0 transition-colors`,t?`bg-primary border-primary`:`border-muted-foreground/30`),children:t&&(0,j.jsx)(_A,{className:`w-2.5 h-2.5 text-primary-foreground`})}),(0,j.jsx)(`span`,{className:`flex-1 text-left truncate`,children:e})]})}function LA({title:e,onClose:t}){return(0,j.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-2 border-b border-border shrink-0`,children:[(0,j.jsx)(`span`,{className:`text-xs font-semibold text-foreground`,children:e}),(0,j.jsx)(`button`,{type:`button`,onClick:t,className:`w-5 h-5 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors`,"aria-label":`Close`,children:(0,j.jsx)(gA,{className:`w-3.5 h-3.5`})})]})}function RA({consumer:e,allCategories:t,search:n,setSearch:r,onClose:i}){let a=t.filter(e=>!n||e.toLowerCase().includes(n.toLowerCase()));return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(LA,{title:`Categories`,onClose:i}),(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1 shrink-0`,children:(0,j.jsx)(NA,{value:n,onChange:r,placeholder:`Filter categories...`})}),e.includedCats.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>e.setIncludedCats([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left shrink-0`,children:[`Clear (`,e.includedCats.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto flex-1`,children:a.length===0?(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground text-center py-6`,children:`No categories`}):a.map(t=>(0,j.jsx)(IA,{label:t,checked:e.includedCats.includes(t),onClick:()=>e.toggleCategory(t)},t))})]})}function zA({id:e,variant:t=`card`,disabled:n}){let r=Jk(),i=Xk((0,_.useCallback)(t=>t.byId[e],[e]))?.isFavorite??!1,a=t=>{t.stopPropagation(),!n&&r.setFavorite(e,!i).catch(()=>{})},o=i?`Remove from favorites`:`Add to favorites`;return t===`list`?(0,j.jsx)(`button`,{type:`button`,className:X(`flex-shrink-0 p-0.5 rounded transition-all duration-150`,`focus:outline-none focus-visible:ring-2 focus-visible:ring-primary`,n?`cursor-not-allowed`:`hover:scale-110 cursor-pointer`),onClick:a,disabled:n,title:o,"aria-label":i?`Remove from favorites`:`Add to favorites`,children:(0,j.jsx)(fA,{filled:i,className:X(`h-3.5 w-3.5 transition-all duration-150`,i?`matrx-agent-star-on`:`text-muted-foreground/40 hover:matrx-agent-star-on`)})}):(0,j.jsx)(`button`,{type:`button`,className:X(`absolute top-2.5 right-2.5 z-10 p-0.5 rounded transition-all duration-150`,`focus:outline-none focus-visible:ring-2 focus-visible:ring-primary`,n?`cursor-not-allowed`:`hover:scale-110 cursor-pointer`,i?`matrx-agent-star-on`:`text-muted-foreground/40 hover:matrx-agent-star-on`),onClick:a,disabled:n,title:o,"aria-label":i?`Remove from favorites`:`Add to favorites`,children:(0,j.jsx)(fA,{filled:i,className:`w-4 h-4 transition-all duration-150`})})}function BA({agent:e,onSelect:t}){let{LinkComponent:n,renderModelRef:r,openPeek:i}=Yk(),a=e.updatedAt?new Date(e.updatedAt):null,o=e.createdAt?new Date(e.createdAt):null,s=lD(e.id),c=e=>e?e.toLocaleDateString(void 0,{month:`short`,day:`numeric`,year:`numeric`}):null;return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(`div`,{className:`px-4 pt-4 pb-3`,children:(0,j.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,j.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,j.jsx)(`h3`,{className:`text-sm font-semibold text-foreground leading-tight break-words`,children:e.name||`Untitled`}),e.isFavorite&&(0,j.jsx)(`div`,{className:`flex items-center gap-1 mt-0.5`,children:(0,j.jsx)(`span`,{className:`text-[11px] matrx-agent-star-on`,children:`Pinned to favorites`})})]}),!s&&(0,j.jsx)(zA,{id:e.id,variant:`list`})]})}),(0,j.jsx)(`div`,{className:`h-px bg-border mx-3`}),(0,j.jsxs)(`div`,{className:`flex-1 overflow-y-auto px-4 py-3 space-y-3`,children:[e.orchestra&&(0,j.jsxs)(`div`,{className:`rounded-md border border-primary/20 bg-primary/5 px-2.5 py-2`,children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,j.jsx)(jA,{className:`w-3.5 h-3.5 text-primary shrink-0`}),(0,j.jsx)(`span`,{className:`text-[11px] font-medium text-primary`,children:dk(e.orchestra)})]}),e.orchestra.tagline&&(0,j.jsx)(`p`,{className:`mt-1 text-xs text-foreground/80 leading-relaxed`,children:e.orchestra.tagline}),pk(e.orchestra)&&(0,j.jsx)(`p`,{className:`mt-1 text-[11px] text-muted-foreground`,title:`Delegates to: ${e.orchestra.memberTitles.join(`, `)}`,children:pk(e.orchestra)}),fk(e.orchestra)&&(0,j.jsx)(`p`,{className:`mt-0.5 text-[11px] text-muted-foreground`,children:fk(e.orchestra)})]}),e.description&&(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`p`,{className:`text-[11px] font-medium text-muted-foreground uppercase tracking-wider mb-1`,children:`Description`}),(0,j.jsx)(`p`,{className:`text-xs text-foreground/80 leading-relaxed`,children:e.description})]}),e.category&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(yA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsx)(`span`,{className:`text-xs text-foreground/80`,children:e.category})]}),e.tags&&e.tags.length>0&&(0,j.jsxs)(`div`,{children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5 mb-1.5`,children:[(0,j.jsx)(bA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsx)(`span`,{className:`text-[11px] font-medium text-muted-foreground`,children:`Tags`})]}),(0,j.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.tags.map(e=>(0,j.jsx)(`span`,{className:`inline-flex items-center h-5 px-1.5 rounded text-[10px] font-medium bg-muted text-muted-foreground`,children:e},e))})]}),e.accessLevel&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[e.isOwner===!1?(0,j.jsx)(wA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}):(0,j.jsx)(EA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsxs)(`div`,{className:`flex flex-col`,children:[(0,j.jsx)(`span`,{className:`text-xs text-foreground/80 capitalize`,children:e.accessLevel===`owner`?`You own this`:`Shared — ${e.accessLevel}`}),e.sharedByEmail&&(0,j.jsxs)(`span`,{className:`text-[10px] text-muted-foreground`,children:[`by `,e.sharedByEmail]})]})]}),e.modelId&&(0,j.jsx)(`div`,{className:`flex items-center gap-2`,children:r({modelId:e.modelId,...e.offeringId===void 0?{}:{offeringId:e.offeringId},className:`max-w-full text-xs text-foreground/80`})}),(a||o)&&(0,j.jsxs)(`div`,{className:`pt-1 space-y-1`,children:[a&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(TA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsxs)(`span`,{className:`text-[11px] text-muted-foreground`,children:[`Updated `,c(a)]})]}),o&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(TA,{className:`w-3.5 h-3.5 text-muted-foreground/50 shrink-0`}),(0,j.jsxs)(`span`,{className:`text-[11px] text-muted-foreground/70`,children:[`Created `,c(o)]})]})]})]}),(0,j.jsx)(`div`,{className:`h-px bg-border mx-3 mt-auto`}),(0,j.jsxs)(`div`,{className:`px-3 py-2 shrink-0 flex items-center gap-1.5`,children:[(0,j.jsx)(`button`,{type:`button`,onClick:t,className:`flex-1 h-7 rounded-md bg-primary text-primary-foreground text-[11px] font-medium hover:bg-primary/90 active:bg-primary/80 transition-colors`,children:`Select`}),i&&(0,j.jsx)(`button`,{type:`button`,onClick:t=>{t.stopPropagation(),i(e)},title:`Sneak Peek`,"aria-label":`Sneak Peek`,className:VA,children:(0,j.jsx)(kA,{className:`w-3.5 h-3.5`})}),!s&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n,{href:`/chat/a/${e.id}`,onClick:e=>e.stopPropagation(),title:`Open in chat`,"aria-label":`Open in chat`,className:VA,children:(0,j.jsx)(OA,{className:`w-3.5 h-3.5`})}),(0,j.jsx)(n,{href:`/agents/go/${e.id}`,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>e.stopPropagation(),title:`Open in new tab`,"aria-label":`Open in new tab`,className:X(VA,`hover:text-foreground`),children:(0,j.jsx)(DA,{className:`w-3.5 h-3.5`})})]})]})]})}var VA=`flex items-center justify-center h-7 w-7 rounded-md border border-border bg-background text-muted-foreground hover:text-primary hover:bg-muted/50 transition-colors shrink-0`;function HA(e,t={}){if(!e||typeof window>`u`)return null;let n=t.full??528,r=t.minUsable??300,i=t.gap??16,a=window.innerHeight-e.getBoundingClientRect().bottom-i;return a>=n?null:a>=r?`${Math.floor(a)}px`:null}function UA(e,t,n={}){if(!e||typeof window>`u`||t!==`left`&&t!==`right`)return t;let r=n.width??680,i=n.gap??16,a=e.getBoundingClientRect(),o={left:a.left-i,right:window.innerWidth-a.right-i};if(o[t]>=r)return t;let s=t===`left`?`right`:`left`;return o[s]>=r?s:`bottom`}function WA({consumer:e,allCategories:t,allTags:n,activeFilterCount:r,isMobile:i,rightPanel:a,onFilterChipClick:o,onReset:s}){return(0,j.jsxs)(`div`,{className:`flex items-center gap-1 px-2 pb-1.5 overflow-x-auto matrx-agent-scrollbar-none shrink-0`,children:[(0,j.jsx)(PA,{icon:vA,label:uD.find(t=>t.value===e.sortBy)?.label??`Sort`,active:e.sortBy!==`updated-desc`,focused:!i&&a===`sort`,onClick:()=>o(`sort`)}),(0,j.jsx)(PA,{icon:fA,label:e.favFilter===`no`?`No Favs`:`Favs`,active:e.favFilter!==`all`,onClick:()=>{let t=e.favFilter===`all`?`yes`:e.favFilter===`yes`?`no`:`all`;e.setFavFilter(t)}}),(0,j.jsx)(PA,{icon:SA,label:gk(e.archFilter),active:e.archFilter!==e.archFilterDefault,ariaLabel:vk(e.archFilter),testId:`agent-archive-filter`,onClick:()=>e.setArchFilter(pD(e.archFilter))}),t.length>0&&(0,j.jsx)(PA,{icon:yA,label:e.includedCats.length>0?`${e.includedCats.length}`:`Category`,active:e.includedCats.length>0,focused:!i&&a===`categories`,onClick:()=>o(`categories`)}),n.length>0&&(0,j.jsx)(PA,{icon:bA,label:e.includedTags.length>0?`${e.includedTags.length}`:`Tags`,active:e.includedTags.length>0,focused:!i&&a===`tags`,onClick:()=>o(`tags`)}),r>0&&(0,j.jsx)(`button`,{type:`button`,onClick:s,"aria-label":`Reset filters`,className:`flex items-center gap-0.5 h-6 px-1.5 rounded text-[11px] text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors shrink-0`,children:(0,j.jsx)(xA,{className:`w-3 h-3`})})]})}function GA({consumer:e,tabCounts:t,systemTabLabel:n,visibleTabs:r}){let{labels:i}=Jk(),a=[{value:`mine`,label:`Mine`,countKey:`mine`},{value:`shared`,label:`Shared`,countKey:`shared`},{value:`all`,label:`All`,countKey:`all`},{value:`system`,label:i.publicTab,countKey:`system`}];return(0,j.jsx)(`div`,{className:`flex items-center gap-0.5 px-2 pb-1 overflow-x-auto matrx-agent-scrollbar-none shrink-0`,role:`tablist`,"aria-label":`Agent ownership`,children:a.filter(({value:e})=>!r||r.includes(e)).map(({value:r,label:i,countKey:a})=>{let o=r===`system`?n??i:i,s=e.tab===r,c=t[a];return(0,j.jsxs)(`button`,{type:`button`,role:`tab`,"aria-selected":s,onClick:()=>e.setTab(r),className:X(`inline-flex items-center gap-1 rounded-md px-2 py-1 text-[10px] font-medium transition-colors shrink-0`,s?`bg-primary text-primary-foreground`:`text-muted-foreground hover:text-foreground hover:bg-muted/50`),children:[(0,j.jsx)(`span`,{children:o}),(0,j.jsx)(`span`,{className:X(`tabular-nums opacity-70`,s&&`opacity-90`),children:c})]},r)})})}function KA({agent:e,isActive:t,isHovered:n,isMobile:r,href:i,onClick:a,onHover:o,onHoverEnd:s,onDetailPress:c}){let{LinkComponent:l}=Yk(),{labels:u}=Jk(),d=i??`/agents/go/${e.id}`;return(0,j.jsxs)(`div`,{"data-testid":`agent-row-${e.id}`,className:X(`flex items-center w-full text-left transition-colors group`,`hover:bg-muted/50 active:bg-muted/70`,t&&`bg-primary/5`,!r&&n&&`bg-muted/40`),onMouseEnter:r?void 0:o,onMouseLeave:r?void 0:s,children:[(0,j.jsxs)(l,{href:d,onClick:e=>{e.metaKey||e.ctrlKey||(e.preventDefault(),a())},className:`flex items-center gap-2 flex-1 min-w-0 px-3 py-2`,children:[e.isFavorite&&(0,j.jsx)(fA,{filled:!0,className:`w-3 h-3 matrx-agent-star-on shrink-0`}),(0,j.jsx)(`span`,{className:X(`text-[13px] font-medium truncate`,t?`text-primary`:`text-foreground`),title:e.name||`Untitled`,children:e.name||`Untitled`}),e.organizationName?(0,j.jsx)(`span`,{"data-testid":`agent-org-${e.id}`,className:`text-[10px] text-muted-foreground truncate min-w-0 shrink`,title:e.organizationName,children:e.organizationName}):null,e.orchestra&&(0,j.jsxs)(`span`,{className:`flex shrink-0 items-center gap-0.5 rounded-sm bg-primary/10 px-1 py-px text-[9px] font-medium text-primary`,title:pk(e.orchestra)??dk(e.orchestra),children:[(0,j.jsx)(jA,{className:`w-2.5 h-2.5`}),e.orchestra.memberCount]}),e.isArchived?(0,j.jsx)(`span`,{"data-testid":`agent-archived-badge-${e.id}`,className:`text-[9px] font-medium text-muted-foreground bg-muted px-1 py-px rounded shrink-0 ml-auto`,children:u.archivedBadge}):null,e.agentType===`builtin`?(0,j.jsx)(`span`,{className:X(`text-[9px] font-medium text-primary bg-primary/10 px-1 py-px rounded shrink-0`,!e.isArchived&&`ml-auto`),children:u.systemBadge}):e.isOwner===!1?(0,j.jsx)(`span`,{className:X(`text-[9px] text-muted-foreground bg-muted px-1 py-px rounded shrink-0`,!e.isArchived&&`ml-auto`),children:`shared`}):null]}),r&&(0,j.jsx)(`button`,{type:`button`,"aria-label":`Show details`,onClick:e=>{e.stopPropagation(),c()},className:`flex items-center justify-center w-10 h-full shrink-0 text-muted-foreground/40 active:text-muted-foreground`,children:(0,j.jsx)(pA,{className:`w-4 h-4`})})]})}function qA({agents:e,isLoading:t,consumer:n,activeAgentId:r,allCategories:i,allTags:a,inputRef:o,onSelectAgent:s,resolveAgentHref:c,onReset:l,activeFilterCount:u,isMobile:d,hoveredAgent:f,onAgentHover:p,onAgentHoverEnd:m,onDetailPress:h,onFilterChipClick:g,rightPanel:v,tabCounts:y,visibleTabs:b,systemTabLabel:x,pinnedAgent:S=null,defaultRow:C=null,listOpen:w=!1,archivedHiddenCount:T=0,agentFilterLabel:E=null,onClearAgentFilter:D}){let O=Jk(),k=(0,_.useRef)(null);(0,_.useEffect)(()=>{w&&S&&k.current?.scrollTo({top:0})},[w,S?.id]);let{labels:A}=O,M=O.getUserIdOrNull()===null?A.emptySignedOut:mk(n.tab,A),N=C?.row??null;return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1 shrink-0`,children:(0,j.jsx)(NA,{ref:o,value:n.searchTerm,onChange:n.setSearchTerm,placeholder:A.searchPlaceholder})}),(0,j.jsx)(GA,{consumer:n,tabCounts:y,systemTabLabel:x,visibleTabs:b}),(0,j.jsx)(WA,{consumer:n,allCategories:i,allTags:a,activeFilterCount:u,isMobile:d,rightPanel:v,onFilterChipClick:g,onReset:l}),E&&(0,j.jsxs)(`div`,{"data-testid":`agent-list-host-filter`,className:`mx-2 mb-1.5 flex h-6 items-center gap-2 rounded-md bg-primary/10 px-2 shrink-0`,children:[(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[11px] font-medium text-primary`,children:E}),D&&(0,j.jsx)(`button`,{type:`button`,onClick:D,className:`shrink-0 text-[11px] text-muted-foreground hover:text-foreground transition-colors`,children:`Show all`})]}),C?.drift&&(0,j.jsxs)(`div`,{role:`status`,className:`matrx-agent-drift-banner mx-2 mb-1.5 flex items-start gap-2 rounded-md px-2 py-1.5 shrink-0`,children:[(0,j.jsx)(AA,{className:`w-3.5 h-3.5 shrink-0 mt-px`}),(0,j.jsx)(`span`,{className:`text-[11px] leading-snug flex-1`,children:C.drift}),(0,j.jsx)(`button`,{type:`button`,"aria-label":`Dismiss`,onClick:()=>O.dismissDefaultRowDrift(C.mandateKey),className:`shrink-0 opacity-70 hover:opacity-100`,children:(0,j.jsx)(gA,{className:`w-3 h-3`})})]}),C?.error&&(0,j.jsxs)(h_,{as:`div`,className:`matrx-agent-drift-banner mx-2 mb-1.5 flex items-start gap-2 rounded-md px-2 py-1.5 shrink-0`,message:C.error,operation:`Load the default agent for ${C.mandateKey}`,origin:`agents/AgentListContent`,children:[(0,j.jsx)(AA,{className:`w-3.5 h-3.5 shrink-0 mt-px`}),(0,j.jsx)(`span`,{className:`text-[11px] leading-snug flex-1`,children:C.error}),(0,j.jsx)(`button`,{type:`button`,onClick:()=>O.retryDefaultRow(C.mandateKey),className:`shrink-0 text-[11px] font-medium underline underline-offset-2 opacity-80 hover:opacity-100`,children:`Try again`})]}),(0,j.jsx)(`div`,{className:`h-px bg-border shrink-0`}),(0,j.jsx)(`div`,{ref:k,className:`overflow-y-auto flex-1 min-h-0`,children:t?(0,j.jsxs)(`div`,{className:`flex items-center justify-center py-8 gap-2 text-muted-foreground`,children:[(0,j.jsx)(CA,{className:`w-4 h-4 matrx-agent-spin`}),(0,j.jsx)(`span`,{className:`text-xs`,children:A.loading})]}):e.length===0&&!S&&!N?(0,j.jsx)(`div`,{className:`flex flex-col items-center py-8 text-muted-foreground`,children:(0,j.jsx)(`span`,{className:`text-xs`,children:M})}):(0,j.jsxs)(`div`,{className:`py-0.5`,children:[N&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-3 pt-1.5 pb-0.5`,children:(0,j.jsx)(`span`,{className:`text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:`Default`})}),(0,j.jsx)(KA,{agent:N,isActive:N.id===r,isHovered:f?.id===N.id,isMobile:d,onClick:()=>s(N),href:c?.(N),onHover:()=>p(N),onHoverEnd:()=>m(N),onDetailPress:()=>h(N)},`default-${N.id}`),(0,j.jsx)(`div`,{className:`mx-2 my-0.5 h-px bg-border`})]}),S&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-3 pt-1.5 pb-0.5`,children:(0,j.jsx)(`span`,{className:`text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:A.currentAgentHeading})}),(0,j.jsx)(KA,{agent:S,isActive:!0,isHovered:f?.id===S.id,isMobile:d,onClick:()=>s(S),href:c?.(S),onHover:()=>p(S),onHoverEnd:()=>m(S),onDetailPress:()=>h(S)},`pinned-${S.id}`),(0,j.jsx)(`div`,{className:`mx-2 my-0.5 h-px bg-border`})]}),e.map(e=>(0,j.jsx)(KA,{agent:e,isActive:e.id===r,isHovered:f?.id===e.id,isMobile:d,onClick:()=>s(e),href:c?.(e),onHover:()=>p(e),onHoverEnd:()=>m(e),onDetailPress:()=>h(e)},e.id)),e.length===0&&(S||N)&&(0,j.jsx)(`div`,{className:`flex flex-col items-center py-4 text-muted-foreground`,children:(0,j.jsx)(`span`,{className:`text-xs`,children:M})})]})}),(0,j.jsx)(`div`,{className:`h-px bg-border shrink-0`}),(0,j.jsxs)(`div`,{className:`flex items-center justify-between px-2.5 py-1.5 shrink-0`,children:[(0,j.jsx)(`span`,{"data-testid":`agent-list-footer`,className:`text-[10px] text-muted-foreground tabular-nums`,children:yk({count:e.length,archFilter:n.archFilter,archivedHiddenCount:T})}),n.searchTerm&&(0,j.jsx)(`button`,{type:`button`,onClick:()=>n.setSearchTerm(``),className:`text-[10px] text-muted-foreground hover:text-foreground transition-colors`,children:`Clear search`})]})]})}function JA({view:e,consumer:t,allCategories:n,allTags:r,catSearch:i,setCatSearch:a,tagSearch:o,setTagSearch:s,onBack:c}){return(0,j.jsxs)(`div`,{className:`flex flex-col`,children:[(0,j.jsxs)(`button`,{type:`button`,onClick:c,className:`flex items-center gap-1.5 px-3 py-2.5 text-sm font-medium text-primary hover:bg-muted/30 transition-colors border-b border-border shrink-0`,children:[(0,j.jsx)(pA,{className:`w-4 h-4 rotate-180`}),e===`sort`?`Sort`:e===`categories`?`Categories`:`Tags`]}),e===`sort`&&uD.map(e=>(0,j.jsx)(FA,{label:e.label,selected:t.sortBy===e.value,onClick:()=>{t.setSortBy(e.value),c()}},e.value)),e===`categories`&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1`,children:(0,j.jsx)(NA,{value:i,onChange:a,placeholder:`Filter categories...`})}),t.includedCats.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>t.setIncludedCats([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left`,children:[`Clear (`,t.includedCats.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto max-h-[300px]`,children:n.filter(e=>!i||e.toLowerCase().includes(i.toLowerCase())).map(e=>(0,j.jsx)(IA,{label:e,checked:t.includedCats.includes(e),onClick:()=>t.toggleCategory(e)},e))})]}),e===`tags`&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1`,children:(0,j.jsx)(NA,{value:o,onChange:s,placeholder:`Filter tags...`})}),t.includedTags.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>t.setIncludedTags([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left`,children:[`Clear (`,t.includedTags.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto max-h-[300px]`,children:r.filter(e=>!o||e.toLowerCase().includes(o.toLowerCase())).map(e=>(0,j.jsx)(IA,{label:e,checked:t.includedTags.includes(e),onClick:()=>t.toggleTag(e)},e))})]})]})}function YA({consumer:e,onClose:t}){return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(LA,{title:`Sort By`,onClose:t}),(0,j.jsx)(`div`,{className:`overflow-y-auto flex-1`,children:uD.map(t=>(0,j.jsx)(FA,{label:t.label,selected:e.sortBy===t.value,onClick:()=>e.setSortBy(t.value)},t.value))})]})}function XA({consumer:e,allTags:t,search:n,setSearch:r,onClose:i}){let a=t.filter(e=>!n||e.toLowerCase().includes(n.toLowerCase()));return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(LA,{title:`Tags`,onClose:i}),(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1 shrink-0`,children:(0,j.jsx)(NA,{value:n,onChange:r,placeholder:`Filter tags...`})}),e.includedTags.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>e.setIncludedTags([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left shrink-0`,children:[`Clear (`,e.includedTags.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto flex-1`,children:a.length===0?(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground text-center py-6`,children:`No tags`}):a.map(t=>(0,j.jsx)(IA,{label:t,checked:e.includedTags.includes(t),onClick:()=>e.toggleTag(t)},t))})]})}var ZA=`680px`;function QA({core:e,visibleTabs:t,systemTabLabel:n,includeSystemInAll:r=!1,resolveAgentHref:i,showPinnedAgent:a=!0,autoFocusSearch:o=!0,onAfterSelect:s,className:c}){let l=D_(),{labels:u}=Jk(),[d,f]=(0,_.useState)(null),[p,m]=(0,_.useState)(``),[h,g]=(0,_.useState)(``),[v,y]=(0,_.useState)(null),[b,x]=(0,_.useState)(null),S=(0,_.useRef)(null),{agents:C,archivedHiddenCount:w,isLoading:T,activeAgentId:E,pinnedAgent:D,defaultRow:O,agentFilterLabel:k,clearAgentFilter:A,allCategories:M,allTags:N,consumer:P,tabCounts:F,activeFilterCount:I,hoveredAgent:L,setHoveredAgent:ee,ensureLoaded:te,handleSelectAgent:ne,handleAgentHover:re,handleAgentHoverEnd:ie,handleDetailPanelMouseEnter:ae,handleDetailPanelMouseLeave:oe}=e;(0,_.useEffect)(()=>{if(te(),!o)return;let e=setTimeout(()=>S.current?.focus(),50);return()=>clearTimeout(e)},[te,o]);let se=(0,_.useRef)(!1);(0,_.useEffect)(()=>{se.current||l||!D||(se.current=!0,d===null&&(ee(D),f(`detail`)))},[D,l,d,ee]);let ce=e=>{ne(e),y(null),x(null),s?.(e)},le=e=>{l?x(e):f(d===e?null:e)},ue=(0,_.useCallback)(e=>{if(l)return;let t=d===`sort`||d===`categories`||d===`tags`;re(e,t),t||f(`detail`)},[l,d,re]),R=(0,_.useCallback)(e=>{l||d===`detail`&&ie(e,()=>f(null))},[l,d,ie]),de=(0,_.useCallback)(()=>{oe(()=>f(null))},[oe]),z=n??(r?`System`:void 0),B=(0,j.jsx)(qA,{agents:C,isLoading:T,consumer:P,activeAgentId:E,allCategories:M,allTags:N,inputRef:S,onSelectAgent:ce,...i?{resolveAgentHref:i}:{},onReset:P.resetFilters,activeFilterCount:I,isMobile:l,hoveredAgent:L,onAgentHover:ue,onAgentHoverEnd:R,onDetailPress:y,onFilterChipClick:le,rightPanel:d,tabCounts:F,archivedHiddenCount:w,...t?{visibleTabs:t}:{},...z?{systemTabLabel:z}:{},pinnedAgent:a?D:null,defaultRow:O,agentFilterLabel:k,onClearAgentFilter:A,listOpen:!0});return l?(0,j.jsx)(`div`,{className:X(`flex min-h-0 flex-1 flex-col overflow-hidden`,c),children:v?(0,j.jsxs)(`div`,{className:`flex flex-col overflow-hidden`,children:[(0,j.jsxs)(`button`,{type:`button`,onClick:()=>y(null),className:`flex items-center gap-1.5 px-3 py-2.5 text-sm font-medium text-primary hover:bg-muted/30 transition-colors border-b border-border shrink-0`,children:[(0,j.jsx)(pA,{className:`w-4 h-4 rotate-180`}),`Back`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto`,children:(0,j.jsx)(BA,{agent:v,onSelect:()=>ce(v)})})]}):b?(0,j.jsx)(JA,{view:b,consumer:P,allCategories:M,allTags:N,catSearch:p,setCatSearch:m,tagSearch:h,setTagSearch:g,onBack:()=>{x(null),m(``),g(``)}}):B}):(0,j.jsxs)(`div`,{className:X(`flex h-full`,c),children:[(0,j.jsx)(`div`,{className:`flex flex-col min-w-[340px] flex-1 border-r border-border`,children:B}),(0,j.jsxs)(`div`,{className:`h-full w-[340px] shrink-0 overflow-hidden flex flex-col`,onMouseEnter:d===`detail`?ae:void 0,onMouseLeave:d===`detail`?de:void 0,children:[d===`detail`&&L&&(0,j.jsx)(`div`,{className:`h-full matrx-agent-fade-in`,children:(0,j.jsx)(BA,{agent:L,onSelect:()=>ce(L)})},L.id),d===`sort`&&(0,j.jsx)(YA,{consumer:P,onClose:()=>f(null)}),d===`categories`&&(0,j.jsx)(RA,{consumer:P,allCategories:M,search:p,setSearch:m,onClose:()=>{f(null),m(``)}}),d===`tags`&&(0,j.jsx)(XA,{consumer:P,allTags:N,search:h,setSearch:g,onClose:()=>{f(null),g(``)}}),d===null&&(0,j.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center`,children:[(0,j.jsx)(MA,{className:`h-6 w-6 text-muted-foreground/40`}),(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground/70 leading-relaxed`,children:u.hoverHint})]})]})]})}var $A=`agent-list-dropdown`;function ej({onSelect:e,navigateTo:t,className:n,label:r,triggerSlot:i,noBorder:a=!1,compact:o=!1,activeAgentId:s,contentSide:c,consumerId:l=$A,initialTab:u,includeSystemInAll:d=!1,visibleTabs:f,systemTabLabel:p,resolveAgentHref:m,showPinnedAgent:h=!0,excludeAgentIds:g,defaultMandateKey:v,agentFilter:y}){let b=D_(),{labels:x}=Jk(),{popoverContainer:S}=Yk(),[C,w]=(0,_.useState)(!1),T=(0,_.useRef)(null),[E,D]=(0,_.useState)(null),[O,k]=(0,_.useState)(c),A=oA({consumerId:l,...e?{onSelect:e}:{},...t?{navigateTo:t}:{},...s===void 0?{}:{activeAgentIdOverride:s},...u?{initialTab:u}:{},includeSystemInAll:d,...f?{visibleTabs:f}:{},...g?{excludeAgentIds:g}:{},...v?{defaultMandateKey:v}:{},...y?{agentFilter:y}:{}}),{pinnedAgent:M,defaultRow:N,activeAgentId:P,isLoading:F,activeFilterCount:I}=A,L=N?.row?.id===P?N.row:null,ee=r??M?.name??L?.name??(P?F?x.triggerResolving:x.triggerUnnameable:x.triggerFallback),te=!!P&&ee.trim().length>0&&ee!==`Select an agent`&&ee!==x.triggerFallback,ne=e=>{w(e),e&&(A.resumeAgentFilter(),D(c||b?null:HA(T.current)),k(c&&!b?UA(T.current,c):c))},re=(0,_.useMemo)(()=>{if(m)return m;if(t)return e=>t.replace(`{id}`,e.id)},[t,m]),ie=i??(0,j.jsxs)(`button`,{type:`button`,className:X(`inline-flex items-center rounded-md text-xs font-medium transition-colors`,`bg-background hover:bg-muted/50 text-foreground/80 hover:text-foreground`,o?`h-5 gap-1 px-1.5`:`h-7 gap-1.5 px-2.5`,!a&&`border border-border`,n),children:[(0,j.jsx)(`span`,{className:`min-w-0 max-w-[200px] flex-1 truncate text-left`,children:ee}),I>0&&(0,j.jsx)(`span`,{className:`flex items-center justify-center w-4 h-4 rounded-md bg-primary text-primary-foreground text-[10px]`,children:I}),(0,j.jsx)(mA,{className:`w-3 h-3 text-muted-foreground/60`})]}),ae=e=>te?(0,j.jsxs)(md,{...C?{open:!1}:{},children:[(0,j.jsx)(e,{asChild:!0,ref:T,children:(0,j.jsx)(hd,{asChild:!0,children:ie})}),(0,j.jsx)(gd,{side:`bottom`,className:`max-w-xs`,children:ee})]}):(0,j.jsx)(e,{asChild:!0,ref:T,children:ie}),oe=(0,j.jsx)(QA,{core:A,includeSystemInAll:d,showPinnedAgent:h,onAfterSelect:()=>w(!1),...f?{visibleTabs:f}:{},...p?{systemTabLabel:p}:{},...re?{resolveAgentHref:re}:{}});return b?(0,j.jsxs)(e_,{open:C,onOpenChange:ne,children:[ae(t_),(0,j.jsxs)(c_,{className:`h-[85dvh]`,children:[(0,j.jsx)(l_,{className:`sr-only`,children:`Select Agent`}),(0,j.jsx)(`div`,{className:`flex flex-col overflow-hidden flex-1 min-h-0`,children:oe})]})]}):(0,j.jsxs)(US,{open:C,onOpenChange:ne,modal:!1,children:[ae(WS),(0,j.jsx)(qS,{...O?{side:O}:E?{side:`bottom`}:{},align:`start`,sideOffset:4,collisionPadding:12,sticky:`always`,...S?{container:S}:{},className:`p-0 overflow-hidden`,style:{width:ZA,height:E??`528px`,maxHeight:E??`min(528px, var(--radix-popper-available-height, 528px))`},children:oe})]})}var tj=`Sign in to AI Matrx to use your agents`,nj=`latest`;function rj(e){let t=n=>{let r=()=>e.call(`agentCatalogRpc`,n).then(e=>({data:e.data,error:e.error?{message:e.error.message,...e.error.code?{code:e.error.code}:{},details:e.error.details??null,hint:e.error.hint??null}:null,count:e.count??null}));return{then:(e,t)=>r().then(e,t),range:(e,r)=>t({...n,range:[e,r]}),order:(e,r)=>t({...n,order:{column:e,ascending:r?.ascending!==!1}})}};return{rpc:(e,n,r)=>t({fn:e,...n?{args:n}:{},...r?.count?{count:r.count}:{}})}}function ij(e,t){let[n,r]=(0,_.useState)(null);return(0,_.useEffect)(()=>{if(!t)return;let n=!0;return e.call(`agentAccess`).then(e=>n&&r(e)).catch(()=>n&&r({signedIn:!1,userId:null,organizationId:null,configured:!1})),()=>{n=!1}},[e,t]),n}function aj(e,t,n){let r=(0,_.useRef)(n);return r.current=n,(0,_.useMemo)(()=>t?ck({client:rj(e),identity:{requireUserId:()=>t,getUserId:()=>t},catalogId:`coding-sessions:${t}`,errorSink:e=>{console.error(`[coding-sessions] agent catalogue: ${e.code}: ${e.message}`),e.code===`list_read_failed`&&r.current(`Couldn't load your agents. Reopen to retry.`)}}):null,[e,t])}function oj(e){return e.flatMap(e=>typeof e.name==`string`?[e]:[])}function sj(e){let t=ij(e.transport,e.open),[n,r]=(0,_.useState)(null),[i,a]=(0,_.useState)(null),o=aj(e.transport,t?.signedIn?t.userId:null,a),s=e.value?.agentId??null;(0,_.useEffect)(()=>{if(r(null),a(null),!s)return;let t=!0;return e.transport.call(`agentDetails`,s).then(e=>t&&r(e)).catch(e=>t&&a(e instanceof Error?e.message:String(e))),()=>{t=!1}},[s,e.transport]);let{onDetails:c}=e;(0,_.useEffect)(()=>{c?.(n)},[n,c]);let l=(0,_.useMemo)(()=>oD(oj(n?.variables??[])),[n]);if(t===null)return(0,j.jsx)(`div`,{className:`cs-skeleton h-9 rounded-lg`});if(!t.signedIn||!o)return(0,j.jsx)(`p`,{className:`text-[12.5px] text-muted-foreground`,children:tj});let u=(t,n)=>{e.value&&e.onChange({...e.value,variables:{...e.value.variables??{},[t]:n}})};return(0,j.jsxs)(`div`,{className:`space-y-3`,children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(pd,{children:(0,j.jsx)(eA,{catalog:o,children:(0,j.jsx)(ej,{consumerId:`coding-sessions-new-session`,activeAgentId:s,label:n?.name??(s?`Loading…`:`None`),onSelect:t=>e.onChange({agentId:t,versionId:null,variables:{}})})})}),s?(0,j.jsx)(b_,{type:`button`,size:`sm`,variant:`ghost`,onClick:()=>e.onChange(null),children:`Remove`}):null]}),i?(0,j.jsx)(`p`,{className:`text-[12px] text-destructive`,children:i}):null,n&&e.value?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(`span`,{className:`w-[72px] shrink-0 text-[12px] text-muted-foreground`,children:`Version`}),(0,j.jsxs)(oS,{value:e.value.versionId??nj,onValueChange:t=>e.value&&e.onChange({...e.value,versionId:t===nj?null:t}),children:[(0,j.jsx)(uS,{className:`h-8 w-[200px] text-[12.5px]`,"aria-label":`Agent version`,children:(0,j.jsx)(sS,{})}),(0,j.jsxs)(pS,{children:[(0,j.jsx)(hS,{value:nj,children:n.latestVersionNumber===null?`Latest`:`Latest (v${n.latestVersionNumber})`}),n.versions.map(e=>(0,j.jsxs)(hS,{value:e.id,children:[`v`,e.versionNumber]},e.id))]})]})]}),l.map(t=>{let n=e.value?.variables?.[t.name],r=typeof n==`string`?n:``,i=`cs-agent-var-${t.name}`,a=e.missing===t.name;return(0,j.jsxs)(`div`,{className:`space-y-1`,children:[(0,j.jsxs)(`label`,{htmlFor:i,className:`text-[12px] font-medium`,children:[t.label,t.required?(0,j.jsx)(`span`,{className:`text-muted-foreground`,children:` · required`}):null]}),t.options&&t.options.length>0?(0,j.jsxs)(oS,{value:r,onValueChange:e=>u(t.name,e),children:[(0,j.jsx)(uS,{id:i,className:`h-8 text-[12.5px]`,"aria-invalid":a||void 0,children:(0,j.jsx)(sS,{placeholder:`Choose…`})}),(0,j.jsx)(pS,{children:t.options.map(e=>(0,j.jsx)(hS,{value:e,children:e},e))})]}):t.variable.customComponent?.type===`textarea`?(0,j.jsx)(Ow,{id:i,rows:2,value:r,onChange:e=>u(t.name,e.target.value),placeholder:t.hint??``,"aria-invalid":a||void 0}):(0,j.jsx)(gw,{id:i,value:r,onChange:e=>u(t.name,e.target.value),placeholder:t.hint??``,"aria-invalid":a||void 0}),a?(0,j.jsx)(`p`,{className:`text-[12px] text-destructive`,children:`Fill this in to use the agent`}):null]},t.name)})]}):null]})}function cj(e,t){if(!e||!t)return null;for(let n of oD(oj(e.variables))){if(!n.required)continue;let e=t.variables?.[n.name];if(typeof e!=`string`||!e.trim())return n.name}return null}var lj={instructions:`Instructions`,skills:`Skills`,tools:`Tools`};function uj(e){let t=e.loaded.map(e=>e.part===`instructions`?`${lj.instructions} ${e.loaded===1?`✓`:`—`}`:`${lj[e.part]} ${e.loaded}/${e.total}`);return`${e.name}${e.versionNumber===null?``:` v${e.versionNumber}`} · ${t.join(` · `)}`}function dj(e){let{agent:t}=e,n=NE(),[r,i]=(0,_.useState)(!1),[a,o]=(0,_.useState)(!1),[s,c]=(0,_.useState)(null),[l,u]=(0,_.useState)(null);(0,_.useEffect)(()=>{if(!r)return;let n=!0;return e.transport.call(`agentAccess`).then(e=>n&&u(e)).catch(()=>void 0),t&&e.transport.call(`agentDetails`,t.agentId).then(e=>{n&&e.latestVersionId&&e.latestVersionNumber!==null&&c({id:e.latestVersionId,number:e.latestVersionNumber})}).catch(()=>void 0),()=>{n=!1}},[r,t,e.transport]);let d=async(t,r)=>{try{await e.transport.call(`setAgent`,e.sessionId,t),n(r),e.onChange()}catch(e){n(`That didn't change: ${e instanceof Error?e.message:String(e)}`)}},f=t&&s&&t.versionNumber!==null&&s.number>t.versionNumber?s:null,p=!t||t.loaded.every(e=>e.loaded===e.total),m=l?.signedIn??!1;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(ew,{open:r,onOpenChange:i,children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsxs)(`button`,{type:`button`,className:X(`cs-agent-chip`,t?`cs-agent-chip--set`:`cs-agent-chip--none`,!p&&`cs-agent-chip--partial`),"data-testid":`cs-agent-chip`,"aria-label":t?`AI Matrx agent: ${t.name}`:`Add an AI Matrx agent`,children:[t?uj(t):`No agent`,f?(0,j.jsx)(`span`,{className:`cs-agent-chip-dot`,"aria-label":`Update available`}):null,(0,j.jsx)(DE,{size:12,className:`ml-1 inline shrink-0`})]})}),(0,j.jsxs)(lw,{align:`end`,className:`w-[320px]`,children:[t?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(pw,{className:`truncate`,children:[t.name,t.versionNumber===null?``:` · v${t.versionNumber}`]}),(0,j.jsxs)(`div`,{className:`cs-agent-parts`,children:[t.blockDue?(0,j.jsx)(`p`,{className:`text-[12px] text-muted-foreground`,children:`Sent with your next message`}):null,(0,j.jsx)(fj,{title:`Skills`,items:t.skills??[]}),(0,j.jsx)(fj,{title:`Tools`,items:t.tools??[]}),t.unavailable.length>0?(0,j.jsx)(fj,{title:`Not loaded`,items:t.unavailable.map(e=>`${e.name} — ${e.reason}`)}):null]}),(0,j.jsx)(mw,{})]}):null,m?(0,j.jsxs)(j.Fragment,{children:[f&&t?(0,j.jsxs)(uw,{onSelect:()=>void d({agentId:t.agentId,versionId:f.id,variables:t.variables??{}},`The next message uses ${t.name} v${f.number}.`),children:[`Update to v`,f.number]}):null,(0,j.jsx)(uw,{onSelect:()=>o(!0),children:t?`Change agent…`:`Choose agent…`}),t?(0,j.jsx)(uw,{onSelect:()=>void d(null,`The next message runs without an agent.`),children:`Remove agent`}):null]}):l?(0,j.jsx)(`p`,{className:`px-2 py-1.5 text-[12px] text-muted-foreground`,children:tj}):null]})]}),(0,j.jsx)(pj,{transport:e.transport,open:a,onOpenChange:o,title:t?`Change agent`:`Choose an agent`,action:`Use this agent`,onConfirm:e=>d(e,`The next message uses the new agent.`)})]})}function fj({title:e,items:t}){return(0,j.jsxs)(`div`,{children:[(0,j.jsxs)(`p`,{className:`text-[11.5px] font-medium text-muted-foreground`,children:[e,` · `,t.length]}),t.length>0?(0,j.jsx)(`ul`,{className:`cs-agent-part-list`,children:t.map(e=>(0,j.jsx)(`li`,{className:`truncate`,title:e,children:e},e))}):null]})}function pj(e){let[t,n]=(0,_.useState)(null),[r,i]=(0,_.useState)(null),[a,o]=(0,_.useState)(null),[s,c]=(0,_.useState)(!1);(0,_.useEffect)(()=>{e.open&&(n(null),o(null))},[e.open]);let l=async()=>{if(!t)return;let n=cj(r,t);if(o(n),!n){c(!0);try{await e.onConfirm(t),e.onOpenChange(!1)}finally{c(!1)}}};return(0,j.jsx)(ZS,{open:e.open,onOpenChange:e.onOpenChange,children:(0,j.jsxs)(dC,{className:`max-w-[480px]`,children:[(0,j.jsx)(fC,{children:(0,j.jsx)(mC,{children:e.title})}),(0,j.jsx)(sj,{transport:e.transport,open:e.open,value:t,onChange:e=>{n(e),o(null)},missing:a,onDetails:i}),(0,j.jsxs)(pC,{children:[(0,j.jsx)(b_,{type:`button`,variant:`ghost`,onClick:()=>e.onOpenChange(!1),children:`Cancel`}),t?(0,j.jsx)(b_,{type:`button`,disabled:s,onClick:()=>void l(),children:e.action}):null]})]})})}function mj(e,t,n){try{let r=localStorage.getItem(e);return t.includes(r??``)?r:n}catch{return n}}function hj(e,t){try{localStorage.setItem(e,t)}catch{}}function gj({children:e,action:t}){return(0,j.jsxs)(`div`,{"data-cs-section-label":!0,className:`flex h-8 items-center justify-between px-3 pt-3`,children:[(0,j.jsx)(`span`,{className:`text-[12px] font-medium text-muted-foreground`,children:e}),t]})}function _j({children:e}){return(0,j.jsx)(`div`,{className:`truncate px-4 pb-0.5 pt-2.5 text-[12px] font-medium text-muted-foreground`,children:e})}function vj(e){let[t,n]=(0,_.useState)(e.initial),r=(0,_.useRef)(!1),i=t=>{r.current||(r.current=!0,e.onDone(t))};return(0,j.jsx)(`input`,{autoFocus:!0,value:t,onChange:e=>n(e.target.value),onFocus:e=>e.currentTarget.select(),onKeyDown:e=>{e.key===`Enter`&&i(t),e.key===`Escape`&&i(null)},onBlur:()=>i(t),"aria-label":`New name for this chat`,className:`cs-rename-input`})}function yj(e){return e.kind===`session`&&e.session?`#s/${e.session.id}`:e.providerSessionId?`#d/${e.provider}/${e.providerSessionId}`:``}function bj(e){let t=QT(),n=NE(),[r,i]=(0,_.useState)(!1),[a,o]=(0,_.useState)(!1),{entry:s}=e;return(0,j.jsxs)(kb,{children:[(0,j.jsx)(Ab,{asChild:!0,children:(0,j.jsxs)(`div`,{className:X(`cs-row group`,e.active&&`cs-row--active`,a&&`cs-row--menu`),"data-hidden":s.hidden||void 0,"data-cs-row":s.key,"data-cs-target":yj(s),"data-cs-provider":s.provider,"data-cs-title":s.title,"data-cs-live":e.live?`true`:void 0,"data-cs-active":e.active?`true`:void 0,children:[(0,j.jsx)(`button`,{type:`button`,onClick:e.onSelect,className:`cs-row__hit`,"aria-current":e.active?`true`:void 0,"aria-label":s.title,title:s.title===s.originalTitle?s.title:`${s.title}\n(${s.originalTitle})`}),(0,j.jsx)(`span`,{className:`pointer-events-none mt-0.5 shrink-0`,children:e.live?(0,j.jsx)(gE,{size:16,className:`text-primary`}):(0,j.jsx)(yE,{provider:s.provider,size:16})}),(0,j.jsxs)(`span`,{className:`cs-row__body`,children:[r?(0,j.jsx)(`span`,{className:`pointer-events-auto relative z-10 block`,children:(0,j.jsx)(vj,{initial:s.title,onDone:e=>{if(i(!1),e===null||e.trim()===s.title)return;let r=e.trim()===``||e.trim()===s.originalTitle?null:e;t.setPreference(s.key,{title:r}).catch(e=>n(`The new name didn't save: ${e instanceof Error?e.message:String(e)}`))}})}):(0,j.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,j.jsx)(`span`,{className:`min-w-0 truncate text-[13px] font-medium leading-5`,children:s.title}),s.pinned?(0,j.jsx)(SE,{size:11,className:`shrink-0 text-muted-foreground`,"aria-label":`Pinned`}):null]}),(0,j.jsx)(`span`,{className:`block truncate text-[11.5px] leading-4 text-muted-foreground`,children:e.meta}),e.snippet?(0,j.jsx)(`span`,{className:`cs-row__snippet`,children:e.snippet}):null]}),r?null:(0,j.jsxs)(`span`,{className:`cs-row__actions`,children:[e.takeover,(0,j.jsxs)(ew,{open:a,onOpenChange:o,children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,"aria-label":`More for ${s.title}`,title:`More`,children:(0,j.jsx)(xE,{size:15})})}),(0,j.jsx)(lw,{align:`start`,className:`w-60`,onCloseAutoFocus:e=>e.preventDefault(),children:(0,j.jsx)(LE,{entry:s,variant:`dropdown`,onRename:()=>i(!0)})})]})]})]})}),(0,j.jsx)(Lb,{className:`w-60`,onCloseAutoFocus:e=>e.preventDefault(),children:(0,j.jsx)(LE,{entry:s,variant:`context`,onRename:()=>i(!0)})})]})}function xj(){return(0,j.jsx)(`div`,{className:`space-y-1.5 px-3 py-2`,"aria-hidden":`true`,children:[0,1,2].map(e=>(0,j.jsx)(`div`,{className:`cs-skeleton h-9 rounded-lg`},e))})}function Sj({text:e,query:t}){let n=t.trim().toLowerCase();if(!n)return e;let r=e.toLowerCase().indexOf(n);return r<0?e:(0,j.jsxs)(j.Fragment,{children:[e.slice(0,r),(0,j.jsx)(`mark`,{className:`cs-mark`,children:e.slice(r,r+n.length)}),e.slice(r+n.length)]})}var Cj={query:``,loading:!1,error:null,hits:[],scanned:0,total:0,nextCursor:null};function wj(e){let t=QT(),[n,r]=(0,_.useState)(Cj),i=(0,_.useRef)(e);i.current=e;let a=(0,_.useCallback)(async(e,n,a)=>{r(t=>({...a?t:Cj,query:e,loading:!0,error:null}));try{let o=await t.search(e,n);if(i.current.trim()!==e)return;r(t=>({query:e,loading:!1,error:null,hits:a?[...t.hits,...o.hits]:o.hits,scanned:(a?t.scanned:n)+o.scanned,total:o.total,nextCursor:o.nextCursor}))}catch(t){if(i.current.trim()!==e)return;r(e=>({...e,loading:!1,error:t instanceof Error?t.message:String(t)}))}},[t]);return(0,_.useEffect)(()=>{let t=e.trim();if(t.length<2){r(Cj);return}let n=setTimeout(()=>void a(t,0,!1),350);return()=>clearTimeout(n)},[e,a]),[n,(0,_.useCallback)(()=>{n.nextCursor!==null&&!n.loading&&a(n.query,n.nextCursor,!0)},[a,n.nextCursor,n.loading,n.query])]}function Tj(e){return{provider:e.provider,providerSessionId:e.providerSessionId,cwd:e.cwd,title:e.title,updatedAt:e.updatedAt,source:null,activeElsewhere:null}}function Ej(e){let t=QT(),n=$T(),r=tE(),[i,a]=(0,_.useState)(``),[o,s]=wj(i),[c,l]=(0,_.useState)(()=>mj(`coding-sessions.group`,[`date`,`folder`],`date`)),[u,d]=(0,_.useState)(!1),[f,p]=(0,_.useState)(null),[m,h]=(0,_.useState)(null),g=n.preferences,v=n.sessions.data,y=e=>{let t=n.runs[e];return t!==void 0&&!CT(t.status)},{ours:b,others:x,hiddenCount:S}=(0,_.useMemo)(()=>{let e=v.map(e=>VT(e,g)),t=new Set(v.map(e=>e.providerSessionId).filter(Boolean)),r=n.discovered.data.filter(e=>!t.has(e.providerSessionId)).map(e=>HT(e,g));return{ours:e,others:r,hiddenCount:[...e,...r].filter(e=>e.hidden).length}},[v,n.discovered.data,g]),C=e=>u||!e.hidden,w=[...b,...x].filter(e=>e.pinned&&C(e)).sort(YT),T=b.filter(e=>!e.pinned&&e.session&&y(e.session.id)&&C(e)),E=b.filter(e=>!e.pinned&&!(e.session&&y(e.session.id))&&C(e)),D=x.filter(e=>!e.pinned&&C(e)),O=e=>{l(e),hj(`coding-sessions.group`,e)},k=t=>{t.session?e.select({kind:`session`,id:t.session.id}):t.providerSessionId&&e.select({kind:`discovered`,provider:t.provider,id:t.providerSessionId})},A=t=>t.session?e.selection.kind===`session`&&e.selection.id===t.session.id:e.selection.kind===`discovered`&&e.selection.id===t.providerSessionId,M=async n=>{p(n.providerSessionId),h(null);try{let r=await t.takeover(n);e.select({kind:`session`,id:r.id})}catch(e){h({id:n.providerSessionId,message:e instanceof Error?e.message:String(e)})}finally{p(null)}},N=(e,t)=>{let i=e.session?y(e.session.id):!1,a=e.session?n.runs[e.session.id]:void 0,o=e.discovered,s;if(i)s=`${bT[e.provider]} is working…`;else if(o?.activeElsewhere)s=(0,j.jsxs)(`span`,{className:`cs-live-elsewhere`,children:[(0,j.jsx)(`span`,{className:`cs-live-dot`,"aria-hidden":`true`}),`Running in `,bT[e.provider]]});else{let n=a?a.status===`failed`?`Failed · `:a.status===`stopped`?`Stopped · `:``:``,i=e.cwd?rE(e.cwd):`unknown folder`;s=`${n}${e.kind===`discovered`?`${bT[e.provider]} · `:``}${c===`folder`&&!t?``:`${i} · `}${nE(e.updatedAt,r)}`}return(0,j.jsxs)(`div`,{children:[(0,j.jsx)(bj,{entry:e,active:A(e),onSelect:()=>k(e),live:i,meta:s,snippet:t?.snippet,takeover:o?.cwd?(0,j.jsxs)(`button`,{type:`button`,className:`cs-takeover-chip`,onClick:()=>o.activeElsewhere?k(e):void M(o),title:o.activeElsewhere?o.activeElsewhere.message:`Continue this chat here`,disabled:f===o.providerSessionId,children:[f===o.providerSessionId?(0,j.jsx)(gE,{size:11}):null,`Take over`]}):null}),m&&o&&m.id===o.providerSessionId?(0,j.jsx)(`p`,{className:`mx-4 mb-1 text-[11.5px] text-destructive`,children:m.message}):null]},e.key)},P=e=>qT(e,c,r).map(e=>(0,j.jsxs)(`div`,{role:`group`,"aria-label":e.label,children:[(0,j.jsx)(_j,{children:e.label}),e.entries.map(e=>N(e))]},e.label)),F=i.trim().length>0,I=F?[...b,...x].filter(e=>JT(e,i)).sort(YT):[],L=new Set(I.map(e=>e.key)),ee=new Map([...b,...x].map(e=>[e.key,e])),te=o.hits.filter(e=>!L.has(xT(e.provider,e.providerSessionId))),ne=t=>{let n=ee.get(xT(t.provider,t.providerSessionId));if(n){k(n);return}e.onFound(Tj(t)),e.select({kind:`discovered`,provider:t.provider,id:t.providerSessionId})},re=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(gj,{children:`Chats`}),I.length===0?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-muted-foreground`,children:`No listed chat has that in its name or folder.`}):I.map(e=>N(e,{query:i})),(0,j.jsx)(gj,{children:`In conversations`}),i.trim().length<2?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-muted-foreground`,children:`Type at least two letters to search what was said.`}):(0,j.jsxs)(j.Fragment,{children:[te.map(t=>{let n=ee.get(xT(t.provider,t.providerSessionId)),r=n??HT(Tj(t),g);return(0,j.jsx)(`div`,{onClickCapture:n?void 0:()=>e.onFound(Tj(t)),children:N(r,{query:i,snippet:t.snippet?(0,j.jsx)(Sj,{text:t.snippet,query:i}):void 0})},`hit:${r.key}`)}),(0,j.jsx)(`div`,{className:`px-4 py-2 text-[11.5px] leading-4 text-muted-foreground`,role:`status`,"aria-live":`polite`,children:o.error?(0,j.jsxs)(`span`,{className:`text-destructive`,children:[`Search stopped: `,o.error]}):o.loading?(0,j.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,j.jsx)(gE,{size:12}),` Searching your chats…`]}):o.query?(0,j.jsxs)(j.Fragment,{children:[te.length===0&&o.hits.length===0?`Nothing found. `:null,o.nextCursor===null?`Searched all ${o.total.toLocaleString()} chats on this computer.`:`Searched the ${o.scanned.toLocaleString()} most recent of ${o.total.toLocaleString()} chats.`,o.nextCursor===null?null:(0,j.jsx)(`button`,{type:`button`,className:`cs-link ml-1`,onClick:s,children:`Search older chats`})]}):null})]})]}),ie=(0,j.jsxs)(j.Fragment,{children:[w.length>0?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(gj,{children:`Pinned`}),w.map(e=>N(e))]}):null,T.length>0?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(gj,{children:`Running`}),T.map(e=>N(e))]}):null,(0,j.jsx)(gj,{children:`Recent`}),n.sessions.loading&&n.sessions.loadedAt===null?(0,j.jsx)(xj,{}):n.sessions.error?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-destructive`,children:n.sessions.error}):E.length===0?T.length===0?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] leading-5 text-muted-foreground`,children:`Sessions you start or take over here will appear here.`}):null:E.map(e=>N(e)),(0,j.jsx)(gj,{action:(0,j.jsxs)(`span`,{className:`flex items-center gap-0.5`,children:[(0,j.jsxs)(ew,{children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button cs-icon-button--text`,"aria-label":`How to list your other chats`,children:c===`date`?`By date`:`By folder`})}),(0,j.jsxs)(lw,{align:`end`,className:`w-52`,children:[(0,j.jsx)(pw,{children:`Group your other chats`}),(0,j.jsxs)(rw,{value:c,onValueChange:e=>O(e),children:[(0,j.jsx)(fw,{value:`date`,children:`By date`}),(0,j.jsx)(fw,{value:`folder`,children:`By folder`})]}),(0,j.jsx)(mw,{}),(0,j.jsx)(uw,{onSelect:()=>d(e=>!e),children:u?`Leave hidden chats out`:`Show hidden chats${S?` (${S})`:``}`})]})]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void t.refreshDiscovered(),"aria-label":`Look again for your other chats`,title:`Look again`,children:n.discovered.loading?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(uE,{size:13})})]}),children:`Your other chats`}),n.discovered.loading&&n.discovered.loadedAt===null?(0,j.jsx)(xj,{}):n.discovered.error?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-destructive`,children:n.discovered.error}):D.length===0?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] leading-5 text-muted-foreground`,children:x.length>0?`Every chat found here is pinned or hidden.`:`No other Claude Code or Codex chats were found on this computer.`}):(0,j.jsxs)(j.Fragment,{children:[P(D),n.discovered.data.length>=n.discoveredLimit?(0,j.jsx)(`div`,{className:`px-3 pt-2`,children:(0,j.jsxs)(b_,{variant:`ghost`,size:`sm`,className:`w-full text-muted-foreground`,onClick:()=>void t.showMoreDiscovered(),disabled:n.discovered.loading,children:[n.discovered.loading?(0,j.jsx)(gE,{size:13}):null,`Show older chats`]})}):null]}),u?null:S>0?(0,j.jsxs)(`button`,{type:`button`,className:`cs-link mx-4 mt-3 text-[11.5px]`,onClick:()=>d(!0),children:[S,` hidden `,S===1?`chat`:`chats`,` — show`]}):null]});return(0,j.jsxs)(`aside`,{className:`cs-sidebar flex h-full shrink-0 flex-col border-r border-border bg-sidebar-background`,style:{width:e.width},"aria-label":`Sessions`,children:[(0,j.jsxs)(`div`,{className:`flex items-center justify-between gap-2 px-4 pb-2 pt-3.5`,children:[(0,j.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,j.jsx)(`span`,{className:`cs-app-mark`,"aria-hidden":`true`}),(0,j.jsx)(`span`,{className:`truncate text-[14px] font-semibold tracking-[-0.01em]`,children:`Coding sessions`})]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:e.onCollapse,"aria-label":`Hide the sidebar (⌘B)`,title:`Hide sidebar ⌘B`,children:(0,j.jsx)(EE,{size:15})})]}),(0,j.jsxs)(`div`,{className:`space-y-1.5 px-3 pb-1`,children:[(0,j.jsxs)(b_,{className:`w-full justify-start gap-2`,variant:`outline`,size:`sm`,onClick:e.onNew,children:[(0,j.jsx)(aE,{size:15}),`New session`,(0,j.jsx)(`kbd`,{className:`cs-kbd ml-auto`,children:`⌥⌘N`})]}),(0,j.jsxs)(`div`,{className:`cs-search`,children:[(0,j.jsx)(bE,{size:14,className:`cs-search__icon`}),(0,j.jsx)(`input`,{ref:e.searchRef,type:`search`,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{if(e.key===`Escape`&&(i?a(``):e.currentTarget.blur(),e.preventDefault()),e.key===`Enter`){let e=I[0],t=te[0];e?k(e):t&&ne(t)}},placeholder:`Search chats`,"aria-label":`Search chats by name, folder or what was said`,spellCheck:!1,className:`cs-search__input`}),i?(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button cs-search__clear`,onClick:()=>a(``),"aria-label":`Clear search`,children:(0,j.jsx)(kE,{size:13})}):(0,j.jsx)(`kbd`,{className:`cs-search__kbd`,children:`⌘K`})]})]}),(0,j.jsx)(`nav`,{className:`min-h-0 flex-1 overflow-y-auto pb-3`,children:F?re:ie}),e.footer]})}function Dj(){let e=[],t=null,n=0,r=null,i=new Map;function a(t,n,r){let i={...t.message,parts:n,status:r??t.message.status};t.message=i;let a=e.findIndex(e=>e.id===i.id);a>=0&&(e[a]=i)}function o(){if(t)return t;n+=1;let r=S({id:`turn-${n}-${e.length}`,role:`assistant`,status:`streaming`});return e.push(r),t={message:r,index:new Map},t}function s(e,t){let n=o(),r=[...n.message.parts],i=n.index.get(e);i===void 0?(n.index.set(e,r.length),r.push(t(null))):r[i]=t(r[i]??null),a(n,r)}function c(e){if(!t)return;let n=t;a(n,n.message.parts.map(t=>{if(t.type===`reasoning`&&t.state===`streaming`)return{...t,state:`done`};if(t.type===`tool`&&t.state===`input-available`&&e!==`streaming`){if(e===`cancelled`)return{...t,state:`output-error`,errorText:`Stopped before this finished.`};if(e===`error`)return{...t,state:`output-error`,errorText:`The run ended before this finished.`}}return t}),e),t=null}let l={apply(n){switch(n.kind){case`user`:c(`complete`),e.push(S({id:`user-${n.id}`,role:`user`,parts:[{type:`text`,text:n.text}],status:`complete`,metadata:n.at?{createdAt:n.at}:void 0}));return;case`text-delta`:s(n.id,e=>e&&e.type===`text`?{type:`text`,text:e.text+n.text}:{type:`text`,text:n.text});return;case`text`:s(n.id,()=>({type:`text`,text:n.text}));return;case`reasoning`:s(n.id,()=>({type:`reasoning`,text:n.text,state:`done`}));return;case`tool-call`:{let r=FT(n.name,n.input),a=r?[{toolName:n.name,message:r,percent:null,at:null}]:[];s(n.id,e=>e&&e.type===`tool`?{...e,input:n.input,progress:a}:{type:`tool`,toolCallId:n.id,toolName:n.name,state:`input-available`,input:n.input,output:null,errorText:null,progress:a,delegated:!1});let o=t;if(o){let t=o.index.get(n.id),r=e.findIndex(e=>e.id===o.message.id);t!==void 0&&r>=0&&i.set(n.id,{messageIndex:r,partIndex:t})}return}case`tool-result`:{let r=i.get(n.id);if(!r){s(n.id,()=>({type:`tool`,toolCallId:n.id,toolName:`Tool`,state:n.isError?`output-error`:`output-available`,input:null,output:n.isError?null:n.output,errorText:n.isError?n.output||`The tool reported an error.`:null,progress:[],delegated:!1}));return}let a=e[r.messageIndex],o=a?.parts[r.partIndex];if(!a||!o||o.type!==`tool`)return;let c=n.isError?{...o,state:`output-error`,errorText:n.output||`The tool reported an error.`,output:null}:{...o,state:`output-available`,output:n.output},l=[...a.parts];l[r.partIndex]=c;let u={...a,parts:l};e[r.messageIndex]=u,t&&t.message.id===u.id&&(t.message=u);return}case`usage`:r={usage:n.usage,costUsd:n.costUsd};return;case`notice`:s(n.id,()=>({type:`notice`,level:n.level===`warning`?`medium`:`info`,code:null,userMessage:n.text,remedy:null}));return;case`error`:{let e=OT(n.text);if(t?.message.parts.some(t=>t.type===`error`&&t.message.trim()===e.trim()))return;s(n.id,()=>({type:`error`,errorType:`provider`,code:null,message:e,userMessage:e,recoverable:!0,remedy:null}));return}}},applyAll(e){for(let t of e)l.apply(t)},beginTurn(){o()},endTurn(n,r){n===`failed`&&r&&l.apply({kind:`error`,id:`run-error-${e.length}`,text:r}),n===`stopped`&&t&&l.apply({kind:`notice`,id:`run-stopped-${e.length}`,level:`info`,text:`You stopped this run.`}),c(n===`stopped`?`cancelled`:n===`failed`?`error`:`complete`)},messages(){return e.slice()},lastUsage(){return r}};return l}var Oj=60,kj=25165824;function Aj(e){return{data:e,loading:!1,error:null,loadedAt:null}}function jj(e){return e instanceof Error?e.message:String(e)}var Mj=class{sessionId;client;thread;builder=Dj();messages=[];listeners=new Set;seqMark=0;pending=[];activeRunId=null;activity=null;state={loading:!0,unavailable:null,truncated:!1};maxBytes=kj;constructor(e,t){this.sessionId=e,this.client=t,this.thread=yT({getSnapshot:()=>({messages:this.messages,status:this.status(),conversationId:this.sessionId,ephemeral:!1}),features:{surface:{sendWhileBusy:!0}},subscribe:e=>(this.listeners.add(e),()=>{this.listeners.delete(e)}),onSubmit:async e=>{await this.client.send(this.sessionId,e.text)},onCancel:async()=>{let e=this.client.getState().runs[this.sessionId];e&&!CT(e.status)&&await this.client.stop(e.runId)}})}status(){let e=this.client.getState().runs[this.sessionId];return e?e.status===`starting`?`submitted`:e.status===`running`?`streaming`:`idle`:`idle`}notify(){this.messages=this.builder.messages();for(let e of this.listeners)e()}async loadEarlier(){this.state.truncated&&!this.state.loadingEarlier&&(this.maxBytes*=4,this.state={...this.state,loadingEarlier:!0},this.notify(),await this.load(!0))}async load(e=!1){e||(this.state={loading:!0,unavailable:null,truncated:!1},this.notify());try{let e=await this.client.transport.call(`history`,this.sessionId,{maxBytes:this.maxBytes});this.builder=Dj(),this.builder.applyAll(e.items),this.seqMark=e.seq;let t=this.client.getState().runs[this.sessionId];t&&!CT(t.status)?(this.activeRunId=t.runId,this.builder.beginTurn()):this.builder.endTurn(`completed`),this.state={loading:!1,unavailable:e.unavailable,truncated:e.truncated};let n=this.pending;this.pending=[];for(let e of n)this.onEvent(e.event)}catch(e){this.state={loading:!1,unavailable:jj(e),truncated:!1}}this.notify()}onEvent(e){if(this.state.loading){e.type===`item`&&this.pending.push({seq:e.seq,event:e});return}if(e.type===`item`){if(e.seq<=this.seqMark)return;this.seqMark=e.seq,this.builder.apply(e.item),e.item.kind===`user`&&(this.activeRunId=e.runId,this.builder.beginTurn()),this.activity=Nj(this.activity,e.item),this.notify();return}if(e.type===`run`){let t=e.run;CT(t.status)&&(this.activity=null,this.activeRunId===t.runId?(this.builder.endTurn(t.status,t.error),this.activeRunId=null):t.status===`failed`&&t.error&&this.builder.endTurn(`failed`,t.error)),this.notify()}}};function Nj(e,t){switch(t.kind){case`user`:return`Thinking…`;case`text-delta`:return`Writing…`;case`text`:case`reasoning`:case`tool-result`:return`Thinking…`;case`tool-call`:{let e=FT(t.name,t.input);return`${MT(t.name)}${e?` — ${e}`:``}`}default:return e}}var Pj=class{transport;state;listeners=new Set;transcripts=new Map;finishedListeners=new Set;onRunFinished=e=>(this.finishedListeners.add(e),()=>{this.finishedListeners.delete(e)});constructor(e){this.transport=e,this.state={connection:e.status(),providers:Aj([]),sessions:Aj([]),discovered:Aj([]),folders:Aj([]),runs:{},preferences:{},discoveredLimit:Oj},e.onStatus(e=>{let t=this.state.connection.state===`open`;this.set({connection:e}),e.state===`open`&&!t&&this.refreshAll()}),e.subscribe(e=>this.onEvent(e))}getState=()=>this.state;subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});set(e){this.state={...this.state,...e};for(let e of this.listeners)e()}onEvent(e){if(e.type===`session`){let t=this.state.sessions.data.filter(t=>t.id!==e.session.id);t.unshift(e.session),t.sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt)),this.set({sessions:{...this.state.sessions,data:t}})}else if(e.type===`run`){let t=this.state.runs[e.run.sessionId];if(this.set({runs:{...this.state.runs,[e.run.sessionId]:e.run}}),CT(e.run.status)&&(!t||t.runId!==e.run.runId||!CT(t.status))){let t=this.state.sessions.data.find(t=>t.id===e.run.sessionId)??null;for(let n of this.finishedListeners)n({run:e.run,session:t})}}else if(e.type===`preferences`){this.set({preferences:e.preferences});return}let t=e.type===`session`?e.session.id:e.type===`run`?e.run.sessionId:e.sessionId;this.transcripts.get(t)?.onEvent(e)}async load(e,t){this.set({[e]:{...this.state[e],loading:!0,error:null}});try{let n=await t();this.set({[e]:{data:n,loading:!1,error:null,loadedAt:Date.now()}})}catch(t){this.set({[e]:{...this.state[e],loading:!1,error:jj(t)}})}}refreshProviders=()=>this.load(`providers`,()=>this.transport.call(`providers`));refreshDiscovered=()=>this.load(`discovered`,()=>this.transport.call(`discoverSessions`,{limit:this.state.discoveredLimit}));showMoreDiscovered=async()=>{this.set({discoveredLimit:this.state.discoveredLimit+Oj}),await this.refreshDiscovered()};refreshPreferences=async()=>{try{this.set({preferences:await this.transport.call(`chatPreferences`)})}catch{}};setPreference=async(e,t)=>{let n=this.state.preferences,r={...n[e],...t};this.set({preferences:{...n,[e]:r}});try{this.set({preferences:await this.transport.call(`setChatPreference`,e,t)})}catch(e){throw this.set({preferences:n}),e}};search(e,t=0){return this.transport.call(`searchChats`,e,{cursor:t,limit:30})}readRawTranscript(e,t){return this.transport.call(`readRawTranscript`,e,t)}openFolder(e,t){return this.transport.call(`openFolder`,e,t)}setSessionOptions(e,t){return this.transport.call(`setSessionOptions`,e,t)}refreshFolders=()=>this.load(`folders`,()=>this.transport.call(`recentFolders`));refreshSessions=async()=>{await this.load(`sessions`,()=>this.transport.call(`listSessions`));let e={};await Promise.all(this.state.sessions.data.map(async t=>{let n=await this.transport.call(`listRuns`,t.id).catch(()=>[]),r=n[n.length-1];r&&(e[t.id]=r)})),this.set({runs:{...e,...this.pickLive()}})};pickLive(){let e={};for(let[t,n]of Object.entries(this.state.runs))CT(n.status)||(e[t]=n);return e}refreshAll=async()=>{await Promise.all([this.refreshSessions(),this.refreshProviders(),this.refreshDiscovered(),this.refreshFolders(),this.refreshPreferences()]);for(let e of this.transcripts.values())e.load()};transcript(e){let t=this.transcripts.get(e);return t||(t=new Mj(e,this),this.transcripts.set(e,t),t.load()),t}async readPreview(e,t,n){try{let r=await this.transport.call(`readTranscript`,e,t,n?{maxBytes:n}:void 0),i=Dj();return i.applyAll(r.items),i.endTurn(`completed`),{loading:!1,messages:i.messages(),unavailable:r.unavailable,truncated:r.truncated}}catch(e){return{loading:!1,messages:[],unavailable:jj(e),truncated:!1}}}start(e){return this.transport.call(`start`,e)}takeover(e,t){return this.transport.call(`takeover`,{provider:e.provider,providerSessionId:e.providerSessionId,cwd:e.cwd??``,title:e.title,...t?{agent:t}:{}})}send(e,t){return this.transport.call(`send`,e,t)}stop(e){return this.transport.call(`stop`,e)}},Fj=[`agent`,`folder`,`prompt`];async function Ij(e){let t={},n=e.provider;if(n&&(!n.installed||!n.loggedIn)&&(t.agent=`${n.problem??`${n.label} can't run here yet.`} ${n.fix??``}`.trim()),!e.folder.trim())t.folder=`Choose a folder, or type one, for it to work in.`;else try{let n=await e.checkFolder(e.folder);n.exists?n.isDirectory||(t.folder=`That path is a file, not a folder.`):(t.folder=`That folder doesn't exist on this computer.`,t.createFolder=n.path)}catch(e){t.folder=`Couldn't check that folder: ${e instanceof Error?e.message:String(e)}`}return e.prompt.trim()||(t.prompt=`Tell it what to do first.`),t}function Lj(e){return Fj.find(t=>e[t]!==void 0)??null}function Rj({transport:e,children:t}){let[n]=(0,_.useState)(()=>new Pj(e));return(0,_.useEffect)(()=>{e.status().state===`open`&&n.refreshAll()},[n,e]),(0,j.jsx)(ZT.Provider,{value:n,children:t})}function zj(){if(typeof location>`u`)return{kind:`none`};let[e,t,n]=location.hash.replace(/^#/,``).split(`/`);return e===`s`&&t?{kind:`session`,id:t}:e===`d`&&(t===`claude`||t===`codex`)&&n?{kind:`discovered`,provider:t,id:n}:{kind:`none`}}function Bj(e){if(typeof history>`u`)return;let t=e.kind===`session`?`#s/${e.id}`:e.kind===`discovered`?`#d/${e.provider}/${e.id}`:``;history.replaceState(null,``,`${location.pathname}${location.search}${t}`)}function Vj(){try{let e=localStorage.getItem(`coding-sessions.theme`);return e===`light`||e===`dark`?e:`system`}catch{return`system`}}function Hj(){let[e,t]=(0,_.useState)(Vj);return(0,_.useEffect)(()=>{let t=typeof window.matchMedia==`function`?window.matchMedia(`(prefers-color-scheme: dark)`):null,n=()=>{let n=e===`dark`||e===`system`&&t?.matches===!0;document.documentElement.classList.toggle(`dark`,n),document.documentElement.setAttribute(`data-theme`,n?`dark`:`light`)};return n(),t?.addEventListener(`change`,n),()=>t?.removeEventListener(`change`,n)},[e]),[e,(0,_.useCallback)(e=>{t(e);try{localStorage.setItem(`coding-sessions.theme`,e)}catch{}},[])]}var Uj={starting:`Starting`,running:`Working`,completed:`Done`,stopped:`Stopped`,failed:`Failed`};function Wj({run:e}){if(!e)return null;let t=!CT(e.status);return(0,j.jsxs)(`span`,{className:X(`cs-pill`,`cs-pill--${e.status}`),children:[t?(0,j.jsx)(`span`,{className:`cs-pill__dot`,"aria-hidden":`true`}):null,Uj[e.status]]})}function Gj(){let{connection:e}=$T();if(e.state===`open`)return null;let t=e.state===`closed`;return(0,j.jsxs)(`div`,{role:`status`,className:X(`flex items-center gap-2 border-b px-4 py-2 text-[13px]`,t?`border-destructive/30 bg-destructive/10 text-destructive`:`border-border bg-muted/60 text-muted-foreground`),children:[t?(0,j.jsx)(lE,{size:15}):(0,j.jsx)(gE,{size:14}),(0,j.jsx)(`span`,{children:t?e.reason:`Connecting to the coding sessions host…`})]})}function Kj(e){let t=$T(),n=QT(),r={system:`light`,light:`dark`,dark:`system`},i={system:`Match system`,light:`Light`,dark:`Dark`};return(0,j.jsx)(`div`,{className:`border-t border-border px-3 py-2.5`,children:(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,j.jsx)(`div`,{className:`flex min-w-0 flex-1 flex-wrap gap-1.5`,children:t.providers.loading&&t.providers.loadedAt===null?(0,j.jsx)(`span`,{className:`text-[11.5px] text-muted-foreground`,children:`Checking Claude Code and Codex…`}):t.providers.data.map(e=>{let t=e.lastProblem?wT(e.lastProblem.until):null,n=e.lastProblem?e.lastProblem.kind===`signed-out`?`· sign in again`:`· limit${t?` until ${t}`:``}`:null,r=e.problem?`${e.problem} ${e.fix??``}`.trim():[$j(e)??e.label,e.plan,eM(e)].filter(Boolean).join(` · `);return(0,j.jsxs)(`span`,{className:X(`cs-provider-chip`,e.ready?``:`cs-provider-chip--problem`),title:n&&!e.problem?`${r} ${n}`:r,children:[(0,j.jsx)(yE,{provider:e.provider,size:13}),e.label,n?(0,j.jsx)(`span`,{className:`cs-provider-chip__note`,children:n}):null,e.ready?(0,j.jsx)(cE,{size:12}):(0,j.jsx)(lE,{size:12})]},e.provider)})}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void n.refreshProviders(),"aria-label":`Check Claude Code and Codex again`,title:`Check again`,children:t.providers.loading?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(uE,{size:13})}),e.extra,(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>e.setTheme(r[e.theme]),"aria-label":`Theme: ${i[e.theme]}. Switch to ${i[r[e.theme]]}.`,title:`Theme: ${i[e.theme]}`,children:e.theme===`system`?(0,j.jsx)(mE,{size:14}):e.theme===`light`?(0,j.jsx)(fE,{size:14}):(0,j.jsx)(pE,{size:14})})]})})}function qj(){let e=(0,_.useContext)(ME);return(0,_.useMemo)(()=>({notify(t){e(t.message)}}),[e])}function Jj(e,t,n=null){let r=QT(),[i,a]=(0,_.useState)(n);return(0,_.useEffect)(()=>{if(!e||!t){a(null);return}let n=!1,i=()=>r.transport.call(`sessionActivity`,e,t).then(e=>{n||a(e)}).catch(()=>void 0);i();let o=setInterval(i,1e4);return()=>{n=!0,clearInterval(o)}},[r,e,t]),i}function Yj(e,t){let n=QT(),[r,i]=(0,_.useState)(null);return(0,_.useEffect)(()=>{let t=!1;return n.transport.call(`listRuns`,e).then(e=>{if(t)return;let n=0,r=null,a=null;for(let t of e)t.usage&&(n+=t.usage.inputTokens+t.usage.outputTokens+t.usage.cachedInputTokens),t.costUsd!==null&&(r=(r??0)+t.costUsd),a=t.billing??a;i(n>0||r!==null?{tokens:n,cost:r,billing:a,runs:e.length}:null)}).catch(()=>void 0),()=>{t=!0}},[n,e,t]),r}function Xj(e){return(0,j.jsxs)(ew,{children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button shrink-0`,"aria-label":`More for this chat`,title:`More`,children:(0,j.jsx)(xE,{size:16})})}),(0,j.jsxs)(lw,{align:`end`,className:`w-64`,onCloseAutoFocus:e=>e.preventDefault(),children:[e.onChanges?(0,j.jsxs)(uw,{onSelect:e.onChanges,children:[(0,j.jsx)(OE,{size:14}),e.changesOpen?`Hide changed files`:`Files this chat changed`]}):null,(0,j.jsx)(LE,{entry:e.entry,variant:`dropdown`,onRename:e.onRename})]})]})}function Zj(e){let t=QT(),n=(0,_.useContext)(ME),[r,i]=(0,_.useState)(e.entry.title);(0,_.useEffect)(()=>i(e.entry.title),[e.entry.title,e.renaming]);let a=(0,_.useRef)(null);if((0,_.useEffect)(()=>{if(!e.renaming)return;let t=setTimeout(()=>{let e=a.current;e&&document.activeElement!==e&&(e.focus(),e.select())},0);return()=>clearTimeout(t)},[e.renaming]),!e.renaming)return(0,j.jsx)(`h1`,{className:`truncate text-[15px] font-semibold leading-5 tracking-[-0.01em]`,title:e.entry.title===e.entry.originalTitle?e.entry.title:`${e.entry.title} (${e.entry.originalTitle})`,onDoubleClick:()=>e.setRenaming(!0),children:e.entry.title});let o=()=>{e.setRenaming(!1);let i=r.trim();if(i===e.entry.title)return;let a=i===``||i===e.entry.originalTitle?null:i;t.setPreference(e.entry.key,{title:a}).catch(e=>n(`The new name didn't save: ${e instanceof Error?e.message:String(e)}`))};return(0,j.jsx)(`input`,{ref:a,autoFocus:!0,value:r,onChange:e=>i(e.target.value),onFocus:e=>e.currentTarget.select(),onBlur:o,onKeyDown:t=>{t.key===`Enter`&&o(),t.key===`Escape`&&e.setRenaming(!1)},"aria-label":`New name for this chat`,className:`cs-rename-input !m-0 !h-6 !text-[15px] !font-semibold`})}function Qj(e){return(0,j.jsxs)(`p`,{className:`mx-auto mt-3 flex items-center gap-2 text-[12px] text-muted-foreground`,children:[`This chat is very long — showing its most recent part.`,(0,j.jsx)(`button`,{type:`button`,className:`cs-link`,onClick:e.onEarlier,disabled:e.loading,children:e.loading?`Reading…`:`Show earlier`})]})}function $j(e){return e.version?`${e.label} ${e.version}${e.binary?` · ${e.binary.sourceLabel}`:``}`:null}function eM(e){return e.binary?.newer?`Newer: ${e.binary.newer.version} ${e.binary.newer.sourceLabel}`:null}function tM({session:e,changesOpen:t,setChangesOpen:n}){let r=QT(),i=$T(),a=(0,_.useContext)(ME),o=eE(e.id),s=i.runs[e.id],c=s!==void 0&&!CT(s.status),l=qj(),u=i.providers.data.find(t=>t.provider===e.provider)??null,d=u&&(!u.installed||!u.loggedIn)?u:null,f=!d&&u?.lastProblem?u:null,p=s?.status===`failed`&&DT(s.error),[m,h]=(0,_.useState)(!1),[g,v]=(0,_.useState)(!1),y=Jj(e.origin===`takeover`&&!c?e.provider:null,e.providerSessionId),b=VT(e,i.preferences),x=o.thread.getSnapshot().messages,S=HE(x),C=Yj(e.id,`${s?.runId??``}:${s?.status??``}`);(0,_.useEffect)(()=>{c||h(!1)},[c]);let w=async()=>{s&&(h(!0),await r.stop(s.runId).catch(()=>h(!1)))},T=t=>{r.setSessionOptions(e.id,{model:t.model,effort:t.effort}).then(()=>a(`The next message uses ${GE(t,u)}.`)).catch(e=>a(`That didn't save: ${e instanceof Error?e.message:String(e)}`))},E=C?`${ci(C.tokens,{style:`compact`})} tokens${C.cost===null?``:` · ${oi(C.cost)}`}`:null,D=C?`${ci(C.tokens)} tokens over ${C.runs} ${C.runs===1?`message`:`messages`} sent from here.`+(C.cost===null?``:C.billing===`subscription`?` ${oi(C.cost)} is what this would cost at API prices — it's covered by your ${u?.plan??``} plan.`.replace(` `,` `):` Billed ${oi(C.cost)} to your API key.`):``;return(0,j.jsxs)(`div`,{className:`flex min-w-0 flex-1`,children:[(0,j.jsxs)(`section`,{className:`flex min-w-0 flex-1 flex-col`,"aria-label":b.title,children:[(0,j.jsxs)(`header`,{className:`@container/header flex items-center gap-2 border-b border-border px-5 pt-2.5 pb-2.5`,children:[(0,j.jsx)(yE,{provider:e.provider,size:22}),(0,j.jsxs)(`div`,{className:`min-w-0 flex-1 overflow-hidden`,children:[(0,j.jsx)(Zj,{entry:b,renaming:g,setRenaming:v}),(0,j.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1 text-[12px] leading-5 text-muted-foreground`,children:[(0,j.jsx)(`span`,{className:`shrink-0`,children:bT[e.provider]}),(0,j.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,j.jsx)(KE,{status:u,value:{model:e.model,effort:e.effort??null},onChange:T}),(0,j.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,j.jsx)(sE,{size:12,className:`shrink-0`}),(0,j.jsx)(`span`,{className:`min-w-[4rem] truncate`,title:e.cwd,children:rE(e.cwd)}),E?(0,j.jsxs)(`span`,{className:`shrink-0`,title:D,children:[`· `,E]}):null]})]}),(0,j.jsx)(dj,{transport:r.transport,sessionId:e.id,agent:e.agent??null,onChange:()=>void 0}),(0,j.jsxs)(`button`,{type:`button`,className:X(`cs-chip-button shrink-0 @max-[620px]/header:hidden`,t&&`cs-chip-button--on`),onClick:()=>n(!t),"aria-pressed":t,title:`Files this chat changed`,children:[(0,j.jsx)(OE,{size:13}),S.length>0?`${S.length} ${S.length===1?`file`:`files`} changed`:`Changes`]}),(0,j.jsx)(Wj,{run:s}),c?(0,j.jsxs)(b_,{variant:`outline`,size:`sm`,onClick:()=>void w(),disabled:m,className:`gap-1.5`,title:`Stop Esc`,children:[m?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(oE,{size:13}),m?`Stopping…`:`Stop`]}):null,(0,j.jsx)(Xj,{entry:b,onRename:()=>v(!0),onChanges:()=>n(!t),changesOpen:t})]}),(0,j.jsx)(`div`,{className:`mx-chat flex min-h-0 flex-1 flex-col`,children:(0,j.jsxs)(gi,{thread:o.thread,ports:{notifier:l,toolLabel:MT},children:[(0,j.jsx)(`div`,{className:`min-h-0 flex-1 overflow-hidden`,children:o.state.loading?(0,j.jsxs)(`div`,{className:`flex h-full items-center justify-center gap-2 text-[13px] text-muted-foreground`,children:[(0,j.jsx)(gE,{size:15}),` Loading the conversation…`]}):(0,j.jsxs)(`div`,{className:`flex h-full flex-col`,children:[o.state.unavailable?(0,j.jsx)(`p`,{className:`mx-auto mt-4 max-w-[720px] rounded-lg border border-border bg-muted/50 px-4 py-2.5 text-[13px] text-muted-foreground`,children:o.state.unavailable}):null,o.state.truncated?(0,j.jsx)(Qj,{loading:o.state.loadingEarlier===!0,onEarlier:()=>void o.loadEarlier()}):null,x.length===0&&!c?(0,j.jsx)(`div`,{className:`flex flex-1 items-center justify-center text-[13px] text-muted-foreground`,children:e.origin===`takeover`?`You've taken over this chat. Send a message to continue it.`:`Nothing here yet.`}):(0,j.jsx)(Xw,{className:`min-h-0 flex-1`,label:`Conversation: ${b.title}`})]})}),(0,j.jsxs)(`div`,{"data-cs-composer":!0,className:`mx-auto w-full max-w-[820px] px-4 pb-4`,children:[f?(0,j.jsxs)(`div`,{className:`mb-2 flex items-start gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[f.problem,` `,f.fix]})]}):null,p&&!d?(0,j.jsxs)(`div`,{className:`mb-2 flex items-center gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,role:`alert`,children:[(0,j.jsx)(lE,{size:15,className:`shrink-0 text-warning`}),(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,title:s?.error??void 0,children:ET}),(0,j.jsx)(KE,{status:u,value:{model:e.model,effort:e.effort??null},onChange:T})]}):null,d?(0,j.jsxs)(`div`,{className:`mb-2 flex items-start gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[d.problem,` `,d.fix]})]}):null,(0,j.jsx)(`div`,{className:`cs-activity`,role:`status`,"aria-live":`polite`,"data-idle":!c||void 0,children:c?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(gE,{size:13}),(0,j.jsx)(`span`,{className:`truncate`,children:s?.status===`starting`?`Starting ${bT[e.provider]}…`:o.activity??`Thinking…`}),(0,j.jsx)(`span`,{className:`ml-auto shrink-0 text-[11px] opacity-70`,children:`Esc to stop`})]}):null}),y?(0,j.jsxs)(`div`,{className:`mb-2 flex items-start gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[y.message,` A message sent here would put a second agent on the same chat.`]})]}):null,e.queued.length>0?(0,j.jsx)(`ul`,{className:`mb-2 space-y-1.5`,"aria-label":`Queued messages`,children:e.queued.map((e,t)=>(0,j.jsxs)(`li`,{className:`cs-queued`,children:[(0,j.jsx)(`span`,{className:`cs-queued__label`,children:`Queued · sends when this run finishes`}),(0,j.jsx)(`span`,{className:`cs-queued__text`,children:e})]},`${t}-${e.slice(0,16)}`))}):null,(0,j.jsx)(vT,{placeholder:`Message ${bT[e.provider]}…`,autoFocus:!0,...d?{held:{reason:`${d.problem} ${d.fix??``}`.trim()}}:{}})]})]})})]}),t?(0,j.jsx)(UE,{files:S,cwd:e.cwd,truncated:o.state.truncated,onClose:()=>n(!1)}):null]})}function nM(e,t){let n=(0,_.useRef)({messages:[],listeners:new Set}),r=(0,_.useRef)(t);return r.current=t,[(0,_.useMemo)(()=>yT({getSnapshot:()=>({messages:n.current.messages,status:`idle`,conversationId:e}),subscribe:e=>(n.current.listeners.add(e),()=>{n.current.listeners.delete(e)}),onSubmit:()=>r.current()}),[e]),(0,_.useCallback)(e=>{n.current.messages=e;for(let e of n.current.listeners)e()},[])]}function rM(e){let t=QT(),n=$T(),r=(0,_.useContext)(ME),i=tE(),[a,o]=(0,_.useState)({loading:!0,messages:[],unavailable:null,truncated:!1}),[s,c]=(0,_.useState)(!1),[l,u]=(0,_.useState)(null),[d,f]=(0,_.useState)(!1),[p,m]=(0,_.useState)(!1),[h,g]=(0,_.useState)(void 0),[v,y]=(0,_.useState)(!1),b=Jj(e.provider,e.id,e.session?.activeElsewhere??null),x=HE(a.messages),S=e.session,[C,w]=nM(e.id,()=>r(S?.cwd?`This chat is read-only until you take it over. Press Take over to continue it here.`:`This chat is read-only here: it doesn't record its folder, so it can't be continued.`));(0,_.useEffect)(()=>{let n=!1,r=r=>t.readPreview(e.provider,e.id,h).then(e=>{n||(w(e.messages),o(e),r&&y(!1))});h===void 0&&o({loading:!0,messages:[],unavailable:null,truncated:!1}),r(!0);let i=b?setInterval(()=>void r(!1),8e3):null;return()=>{n=!0,i&&clearInterval(i)}},[t,e.provider,e.id,h,b!==null,w]);let T=qj(),E=HT(S??{provider:e.provider,providerSessionId:e.id,cwd:null,title:`Chat`,updatedAt:``,source:null,activeElsewhere:null},n.preferences),D=()=>{b?f(!0):A()},[O,k]=(0,_.useState)(!1),A=async n=>{if(S){f(!1),c(!0),u(null);try{let r=await t.takeover(S,n);e.onTakenOver(r.id)}catch(e){u(e instanceof Error?e.message:String(e))}finally{c(!1)}}};return(0,j.jsxs)(`div`,{className:`flex min-w-0 flex-1`,children:[(0,j.jsxs)(`section`,{className:`flex min-w-0 flex-1 flex-col`,"aria-label":E.title,children:[(0,j.jsxs)(`header`,{className:`@container/header flex items-center gap-2 border-b border-border px-5 pt-2.5 pb-2.5`,children:[(0,j.jsx)(yE,{provider:e.provider,size:22}),(0,j.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,j.jsx)(Zj,{entry:E,renaming:p,setRenaming:m}),(0,j.jsxs)(`p`,{className:`flex items-center gap-1.5 truncate text-[12px] leading-4 text-muted-foreground`,children:[(0,j.jsx)(`span`,{children:bT[e.provider]}),S?.cwd?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,j.jsx)(sE,{size:12}),(0,j.jsx)(`span`,{className:`truncate`,title:S.cwd,children:rE(S.cwd)})]}):null,S?(0,j.jsxs)(`span`,{children:[`· last active `,nE(S.updatedAt,i)]}):null]})]}),x.length>0?(0,j.jsxs)(`button`,{type:`button`,className:`cs-chip-button`,onClick:()=>e.setChangesOpen(!e.changesOpen),"aria-pressed":e.changesOpen,title:`Files this chat changed`,children:[(0,j.jsx)(OE,{size:13}),`${x.length} ${x.length===1?`file`:`files`} changed`]}):null,S?.cwd?(0,j.jsxs)(b_,{size:`sm`,variant:b?`outline`:`default`,onClick:D,disabled:s,className:`gap-1.5`,title:b?b.message:void 0,children:[s?(0,j.jsx)(gE,{size:13}):b?(0,j.jsx)(lE,{size:14,className:`text-warning`}):(0,j.jsx)(dE,{size:14}),b?`Take over anyway…`:`Take over`]}):null,S?.cwd&&!b?(0,j.jsx)(b_,{size:`sm`,variant:`outline`,onClick:()=>k(!0),disabled:s,children:`Continue with agent…`}):null,(0,j.jsx)(pj,{transport:t.transport,open:O,onOpenChange:k,title:`Continue with an agent`,action:`Take over with this agent`,onConfirm:e=>A(e)}),S?(0,j.jsx)(Xj,{entry:E,onRename:()=>m(!0)}):null]}),b?(0,j.jsxs)(`div`,{role:`status`,className:`flex items-start gap-2 border-b border-warning/40 bg-warning/10 px-5 py-2.5 text-[13px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[(0,j.jsx)(`span`,{className:`font-medium`,children:b.message}),` Taking it over now would put two agents on the same chat, and they could overwrite each other's work. Finish or stop it there first if you can. This preview follows it as it runs.`]})]}):null,(0,j.jsx)(ZS,{open:d,onOpenChange:f,children:(0,j.jsxs)(dC,{className:`max-w-[460px]`,children:[(0,j.jsxs)(fC,{children:[(0,j.jsxs)(mC,{children:[`This chat is running right now in `,bT[e.provider]]}),(0,j.jsxs)(hC,{children:[b?.message,` If you take it over, two agents will work in the same conversation at once and may overwrite each other's changes.`]})]}),(0,j.jsxs)(pC,{children:[(0,j.jsx)(b_,{variant:`ghost`,onClick:()=>f(!1),children:`Cancel`}),(0,j.jsx)(b_,{variant:`destructive`,onClick:()=>void A(),children:`Take over anyway`})]})]})}),l?(0,j.jsx)(`p`,{className:`border-b border-destructive/30 bg-destructive/10 px-5 py-2 text-[13px] text-destructive`,children:l}):null,S&&!S.cwd?(0,j.jsx)(`p`,{className:`border-b border-border bg-muted/50 px-5 py-2 text-[13px] text-muted-foreground`,children:`This chat doesn't record which folder it ran in, so it can't be continued from here.`}):null,(0,j.jsxs)(`div`,{className:`mx-chat flex min-h-0 flex-1 flex-col`,children:[a.loading?(0,j.jsxs)(`div`,{className:`flex flex-1 items-center justify-center gap-2 text-[13px] text-muted-foreground`,children:[(0,j.jsx)(gE,{size:15}),` Reading this chat…`]}):a.unavailable?(0,j.jsx)(`div`,{className:`flex flex-1 items-center justify-center px-6 text-center text-[13px] text-muted-foreground`,children:a.unavailable}):(0,j.jsxs)(gi,{thread:C,ports:{notifier:T,toolLabel:MT},children:[a.truncated?(0,j.jsx)(Qj,{loading:v,onEarlier:()=>{y(!0),g(e=>(e??25165824)*4)}}):null,(0,j.jsx)(Xw,{className:`min-h-0 flex-1`,label:`Chat preview`})]}),S?.cwd?(0,j.jsxs)(`div`,{className:`border-t border-border bg-muted/30 px-5 py-3 text-center text-[13px] text-muted-foreground`,children:[`This chat was started in `,bT[e.provider],`.`,` `,(0,j.jsx)(`button`,{type:`button`,className:`font-medium text-foreground underline-offset-4 hover:underline`,onClick:D,children:`Take it over`}),` `,`to continue it here — it stays in your `,bT[e.provider],` history too.`]}):null]})]}),e.changesOpen&&x.length>0?(0,j.jsx)(UE,{files:x,cwd:S?.cwd??null,truncated:a.truncated,onClose:()=>e.setChangesOpen(!1)}):null]})}function iM(e){let t=e.status.ready;return(0,j.jsxs)(`button`,{type:`button`,onClick:e.onSelect,"aria-pressed":e.selected,className:X(`flex flex-1 flex-col gap-1.5 rounded-xl border px-3.5 py-3 text-left transition-colors`,e.selected?`border-primary bg-primary/5 ring-1 ring-primary`:`border-border hover:bg-accent/50`),children:[(0,j.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(yE,{provider:e.status.provider,size:18}),(0,j.jsx)(`span`,{className:`text-[13.5px] font-semibold`,children:e.status.label})]}),t?(0,j.jsxs)(`span`,{className:`flex items-center gap-1 text-[12px] text-success`,children:[(0,j.jsx)(cE,{size:13}),e.status.billing===`subscription`?`Signed in${e.status.plan?` · ${e.status.plan} plan`:``}`:`Signed in with an API key (billed per use)`]}):(0,j.jsxs)(`span`,{className:`flex items-start gap-1 text-[12px] leading-4 text-warning`,children:[(0,j.jsx)(lE,{size:13,className:`mt-px shrink-0`}),e.status.problem]}),e.status.quota.filter(e=>e.usedPercent!==null).length>0?(0,j.jsx)(`span`,{className:`text-[11.5px] leading-4 text-muted-foreground`,children:e.status.quota.filter(e=>e.usedPercent!==null).map(e=>`${e.label}: ${e.usedPercent}% used`).join(` · `)}):null]})}function aM({id:e,children:t}){return(0,j.jsxs)(`p`,{id:e,role:`alert`,className:`flex items-start gap-1.5 text-[12.5px] leading-5 text-destructive`,children:[(0,j.jsx)(lE,{size:14,className:`mt-0.5 shrink-0`}),(0,j.jsx)(`span`,{children:t})]})}function oM(e){let t=QT(),n=$T(),r=tE(),[i,a]=(0,_.useState)(`claude`),[o,s]=(0,_.useState)(``),[c,l]=(0,_.useState)({model:null,effort:null}),[u,d]=(0,_.useState)(``),[f,p]=(0,_.useState)({}),[m,h]=(0,_.useState)(null),[g,v]=(0,_.useState)(!1),[y,b]=(0,_.useState)(!1),[x,S]=(0,_.useState)(null),[C,w]=(0,_.useState)(null),[T,E]=(0,_.useState)(null),D=(0,_.useRef)(null),O=(0,_.useRef)(null),k=(0,_.useRef)(null);(0,_.useEffect)(()=>{e.open&&(h(null),p({}),t.refreshProviders(),t.refreshFolders())},[e.open,t]),(0,_.useEffect)(()=>{!o&&n.folders.data[0]?.exists&&s(n.folders.data[0].path)},[n.folders.data,o]),(0,_.useEffect)(()=>{let e=n.providers.data.filter(e=>e.ready),t=n.providers.data.find(e=>e.provider===i);t&&!t.ready&&e[0]&&a(e[0].provider)},[n.providers.loadedAt]);let A=n.providers.data.find(e=>e.provider===i)??null,M=e=>{e===`prompt`?D.current?.focus():e===`folder`?O.current?.focus():e===`agent`&&k.current?.querySelector(`button`)?.focus()},N=async()=>{if(g)return;h(null);let n=await Ij({provider:A,folder:o,prompt:u,checkFolder:e=>t.transport.call(`checkFolder`,e)});p(n);let r=Lj(n);if(r){M(r);return}let a=cj(C,x);if(E(a),a){document.getElementById(`cs-agent-var-${a}`)?.focus();return}v(!0);try{let n=await t.start({provider:i,cwd:o.trim(),prompt:u,model:c.model,effort:c.effort,...x?{agent:x}:{}});d(``),e.onStarted(n.session.id)}catch(e){h(e instanceof Error?e.message:String(e))}finally{v(!1)}},P=async()=>{if(f.createFolder){b(!0);try{let e=await t.transport.call(`createFolder`,f.createFolder);s(e.path),p(e=>{let t={...e};return delete t.folder,delete t.createFolder,t}),t.refreshFolders(),O.current?.focus()}catch(e){p(t=>({...t,folder:`Couldn't create it: ${e instanceof Error?e.message:String(e)}`}))}finally{b(!1)}}},F=e=>p(t=>{if(t[e]===void 0)return t;let n={...t};return delete n[e],e===`folder`&&delete n.createFolder,n});return(0,j.jsx)(ZS,{open:e.open,onOpenChange:e.onOpenChange,children:(0,j.jsxs)(dC,{className:`max-w-[560px]`,children:[(0,j.jsxs)(fC,{children:[(0,j.jsx)(mC,{children:`New coding session`}),(0,j.jsxs)(hC,{children:[`Runs on your own `,i===`claude`?`Claude`:`ChatGPT`,` sign-in, in a folder on this computer.`]})]}),(0,j.jsxs)(`form`,{noValidate:!0,onSubmit:e=>{e.preventDefault(),N()},className:`flex min-h-0 flex-col`,children:[(0,j.jsxs)(`div`,{className:`cs-dialog-body space-y-5 py-1 pr-1`,children:[(0,j.jsxs)(`fieldset`,{className:`space-y-2`,ref:k,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`Agent`}),n.providers.loading&&n.providers.loadedAt===null?(0,j.jsxs)(`div`,{className:`flex gap-2`,children:[(0,j.jsx)(`div`,{className:`cs-skeleton h-[68px] flex-1 rounded-xl`}),(0,j.jsx)(`div`,{className:`cs-skeleton h-[68px] flex-1 rounded-xl`})]}):n.providers.error?(0,j.jsx)(`p`,{className:`text-[12.5px] text-destructive`,children:n.providers.error}):(0,j.jsx)(`div`,{className:`flex gap-2`,children:n.providers.data.map(e=>(0,j.jsx)(iM,{status:e,selected:e.provider===i,onSelect:()=>{e.provider!==i&&l({model:null,effort:null}),a(e.provider),F(`agent`)}},e.provider))}),f.agent?(0,j.jsx)(aM,{id:`cs-err-agent`,children:f.agent}):A&&!A.ready&&A.fix?(0,j.jsxs)(`p`,{className:`text-[12px] leading-4 text-muted-foreground`,children:[A.fix,A.installed&&A.loggedIn?` You can still try — the run will say if it's still blocked.`:``]}):null]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`AI Matrx agent`}),(0,j.jsx)(sj,{transport:t.transport,open:e.open,value:x,onChange:e=>{S(e),E(null)},missing:T,onDetails:w})]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`Folder`}),n.folders.data.length>0?(0,j.jsx)(`div`,{className:`max-h-[132px] space-y-0.5 overflow-y-auto rounded-lg border border-border p-1`,children:n.folders.data.map(e=>(0,j.jsxs)(`button`,{type:`button`,onClick:()=>{s(e.path),F(`folder`)},disabled:!e.exists,title:e.exists?e.path:`${e.path} no longer exists`,className:X(`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-[12.5px]`,o===e.path?`bg-accent text-accent-foreground`:`hover:bg-accent/50`,!e.exists&&`opacity-50`),children:[(0,j.jsx)(sE,{size:14,className:`shrink-0 text-muted-foreground`}),(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:rE(e.path)}),(0,j.jsx)(`span`,{className:`shrink-0 text-[11px] text-muted-foreground`,children:e.exists?nE(e.lastUsedAt,r):`missing`})]},e.path))}):n.folders.loading?(0,j.jsx)(`div`,{className:`cs-skeleton h-10 rounded-lg`}):null,(0,j.jsx)(gw,{ref:O,value:o,onChange:e=>{s(e.target.value),F(`folder`)},placeholder:`Or type a folder path, like ~/code/my-app`,"aria-label":`Folder path`,"aria-invalid":f.folder?!0:void 0,"aria-describedby":f.folder?`cs-err-folder`:void 0,spellCheck:!1}),f.folder?(0,j.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1`,children:[(0,j.jsx)(aM,{id:`cs-err-folder`,children:f.folder}),f.createFolder?(0,j.jsxs)(b_,{type:`button`,size:`sm`,variant:`outline`,onClick:()=>void P(),disabled:y,className:`gap-1.5`,children:[y?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(sE,{size:13}),`Create this folder`]}):null]}):null]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`What should it do?`}),(0,j.jsx)(Ow,{ref:D,value:u,onChange:e=>{d(e.target.value),F(`prompt`)},onKeyDown:e=>{e.key===`Enter`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),N())},placeholder:`Describe the change, the bug, or the question…`,rows:4,"aria-label":`First message`,"aria-invalid":f.prompt?!0:void 0,"aria-describedby":f.prompt?`cs-err-prompt`:void 0}),f.prompt?(0,j.jsx)(aM,{id:`cs-err-prompt`,children:f.prompt}):null]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`Model and thinking effort`}),(0,j.jsx)(KE,{status:A,value:c,onChange:l,appearance:`field`}),(0,j.jsxs)(`p`,{className:`text-[11.5px] leading-4 text-muted-foreground`,children:[`Default is `,WE(A),`. You can change it later from the chat's header.`]})]}),m?(0,j.jsx)(aM,{id:`cs-err-start`,children:m}):null]}),(0,j.jsxs)(pC,{className:`pt-4`,children:[(0,j.jsx)(b_,{type:`button`,variant:`ghost`,onClick:()=>e.onOpenChange(!1),children:`Cancel`}),(0,j.jsxs)(b_,{type:`submit`,disabled:g,className:`gap-1.5`,children:[g?(0,j.jsx)(gE,{size:14}):null,g?`Starting…`:`Start session`,g?null:(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌘↵`})]})]})]})]})})}function sM({onNew:e}){let t=$T();return(0,j.jsx)(`section`,{className:`flex flex-1 items-center justify-center px-6`,children:(0,j.jsxs)(`div`,{className:`w-full max-w-[460px] text-center`,children:[(0,j.jsx)(`span`,{className:`mx-auto mb-4 flex h-11 w-11 items-center justify-center rounded-2xl bg-primary/10 text-primary`,children:(0,j.jsx)(hE,{size:22})}),(0,j.jsx)(`h1`,{className:`text-[15px] font-semibold leading-5 tracking-[-0.01em]`,children:`Drive Claude Code and Codex from here`}),(0,j.jsx)(`p`,{className:`mx-auto mt-2 max-w-[400px] text-[13.5px] leading-6 text-muted-foreground`,children:`Start a session in any folder, or pick up a chat you began somewhere else. Everything runs on your own subscriptions — no API keys.`}),(0,j.jsxs)(b_,{className:`mt-5 gap-1.5`,onClick:e,children:[(0,j.jsx)(aE,{size:15}),`New session`]}),(0,j.jsxs)(`p`,{className:`mt-3 text-[12px] text-muted-foreground`,children:[(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌥⌘N`}),` new session · `,(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌘K`}),` search your chats ·`,` `,(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌘/`}),` all shortcuts`]}),(0,j.jsx)(`div`,{className:`mt-6 flex flex-wrap justify-center gap-2 text-left`,children:t.providers.data.map(e=>(0,j.jsxs)(`div`,{"data-provider-card":e.provider,title:e.installed&&e.version?[$j(e),eM(e)??e.binary?.path].filter(Boolean).join(` · `):void 0,className:`flex w-[260px] items-start gap-2.5 rounded-lg border border-border bg-card px-3 py-2.5`,children:[(0,j.jsx)(yE,{provider:e.provider,size:16}),(0,j.jsxs)(`div`,{className:`min-w-0 flex-1 leading-5`,children:[(0,j.jsx)(`span`,{className:`block truncate text-[14px] font-semibold`,children:e.label}),e.ready?(0,j.jsxs)(`span`,{className:`block truncate text-[12px] text-muted-foreground`,children:[`Ready`,e.plan?` on your ${e.plan} plan`:``,e.billing===`api`?` (API key, billed per use)`:``]}):(0,j.jsxs)(`span`,{className:`block text-[12px] text-muted-foreground`,children:[e.problem,` `,e.fix]})]}),e.ready?(0,j.jsx)(cE,{size:15,className:`mt-0.5 text-success`}):(0,j.jsx)(lE,{size:15,className:`mt-0.5 text-warning`})]},e.provider))})]})})}function cM(){let[e,t]=(0,_.useState)(null),n=(0,_.useRef)(null);(0,_.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[]);let r=(0,_.useCallback)((e,r=null)=>{t({text:e,sessionId:r}),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>t(null),6e3)},[]),i=(0,_.useCallback)(()=>{n.current&&clearTimeout(n.current),t(null)},[]);return{text:e?.text??null,sessionId:e?.sessionId??null,show:r,dismiss:i}}function lM({text:e}){let t=(0,_.useRef)(null);return(0,_.useLayoutEffect)(()=>{let e=t.current,n=e?.parentElement;if(!e||!n)return;let r=n.querySelector(`[data-cs-composer]`),i=r?n.getBoundingClientRect().bottom-r.getBoundingClientRect().top+8:20;e.style.setProperty(`--cs-toast-bottom`,`${Math.max(20,Math.round(i))}px`)},[e]),e?(0,j.jsx)(`div`,{ref:t,role:`status`,"data-cs-toast":!0,className:`cs-toast`,children:e}):null}var uM=300,dM=220,fM=560;function pM(e){return Math.round(Math.min(fM,Math.max(dM,e)))}function mM(){let[e,t]=(0,_.useState)(()=>{try{let e=Number(localStorage.getItem(`coding-sessions.sidebar-width`));return Number.isFinite(e)&&e>0?pM(e):uM}catch{return uM}}),[n,r]=(0,_.useState)(()=>{try{return localStorage.getItem(`coding-sessions.sidebar-collapsed`)===`1`}catch{return!1}});return{width:e,setWidth:(0,_.useCallback)(e=>{let n=pM(e);t(n);try{localStorage.setItem(`coding-sessions.sidebar-width`,String(n))}catch{}},[]),collapsed:n,setCollapsed:(0,_.useCallback)(e=>{r(e);try{localStorage.setItem(`coding-sessions.sidebar-collapsed`,e?`1`:`0`)}catch{}},[])}}function hM(e){let[t,n]=(0,_.useState)(!1);return(0,j.jsx)(`div`,{className:X(`cs-resizer`,t&&`cs-resizer--dragging`),children:(0,j.jsx)(`button`,{type:`button`,className:`cs-resizer__grip`,role:`separator`,"aria-orientation":`vertical`,"aria-label":`Resize the sidebar`,"aria-valuenow":e.width,"aria-valuemin":dM,"aria-valuemax":fM,title:`Drag to resize · double-click to reset`,onDoubleClick:()=>e.setWidth(uM),onKeyDown:t=>{t.key===`ArrowLeft`&&e.setWidth(e.width-16),t.key===`ArrowRight`&&e.setWidth(e.width+16)},onPointerDown:t=>{t.preventDefault();let r=t.clientX,i=e.width;n(!0),document.body.style.cursor=`col-resize`,document.body.style.userSelect=`none`;let a=t=>e.setWidth(i+t.clientX-r),o=()=>{n(!1),document.body.style.cursor=``,document.body.style.userSelect=``,window.removeEventListener(`pointermove`,a),window.removeEventListener(`pointerup`,o)};window.addEventListener(`pointermove`,a),window.addEventListener(`pointerup`,o)}})})}var gM=[{keys:`⌘K`,what:`Search chats`},{keys:`⌥⌘N`,what:`New session`},{keys:`Enter`,what:`Send (Shift+Enter for a new line)`},{keys:`Esc`,what:`Stop the run in the open chat`},{keys:`⌘B`,what:`Show or hide the sidebar`},{keys:`⌥↑ / ⌥↓`,what:`Previous or next chat in the list`},{keys:`⌘/`,what:`These shortcuts`}];function _M(e){return(0,j.jsx)(ZS,{open:e.open,onOpenChange:e.onOpenChange,children:(0,j.jsxs)(dC,{className:`max-w-[420px]`,children:[(0,j.jsxs)(fC,{children:[(0,j.jsx)(mC,{children:`Keyboard shortcuts`}),(0,j.jsx)(hC,{children:`Ctrl works in place of ⌘ on Windows and Linux.`})]}),(0,j.jsx)(`dl`,{className:`divide-y divide-border text-[13px]`,children:gM.map(e=>(0,j.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-2`,children:[(0,j.jsx)(`dt`,{className:`text-muted-foreground`,children:e.what}),(0,j.jsx)(`dd`,{children:(0,j.jsx)(`kbd`,{className:`rounded border border-border px-1.5 py-0.5 font-sans text-[12px]`,children:e.keys})})]},e.keys))})]})})}var vM=`Coding sessions`;function yM(e,t){let{show:n,dismiss:r,sessionId:i}=t,a=$T();(0,_.useEffect)(()=>{if(!i)return;let t=a.runs[i];(e===i||t&&(t.status===`starting`||t.status===`running`))&&r()},[i,e,a.runs,r]);let o=QT(),s=(0,_.useRef)(0),c=(0,_.useRef)(e);c.current=e,(0,_.useEffect)(()=>{let e=()=>{document.visibilityState===`visible`&&(s.current=0,document.title=vM)};document.addEventListener(`visibilitychange`,e);let t=o.onRunFinished(({run:e,session:t})=>{let r=t?.title??`A session`,i=e.status===`completed`?`finished`:e.status===`failed`?`failed`:`was stopped`,a=`${bT[e.provider]} ${i}: ${r}`;if(document.visibilityState===`hidden`){if(s.current+=1,document.title=`(${s.current}) ${vM}`,typeof Notification<`u`&&Notification.permission===`granted`){let t=new Notification(a,e.error?{tag:e.runId,body:OT(e.error)}:{tag:e.runId});t.onclick=()=>{window.focus(),location.hash=`#s/${e.sessionId}`,t.close()}}}else c.current!==e.sessionId&&e.status!==`stopped`&&n(a,e.sessionId)});return()=>{t(),document.removeEventListener(`visibilitychange`,e)}},[o,n])}function bM(){let e=typeof Notification<`u`,[t,n]=(0,_.useState)(e?Notification.permission:`denied`);return!e||t===`granted`?null:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void Notification.requestPermission().then(n),"aria-label":t===`denied`?`Notifications are blocked for this page in your browser's site settings`:`Notify me when a run finishes`,title:t===`denied`?`Notifications are blocked in your browser's site settings`:`Notify me when a run finishes`,disabled:t===`denied`,children:(0,j.jsx)(jE,{size:14})})}function xM(e){let t=e;return t?t.isContentEditable||t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.tagName===`SELECT`:!1}function SM(){let e=QT(),t=$T(),[n,r]=(0,_.useState)(zj),[i,a]=(0,_.useState)(!1),[o,s]=(0,_.useState)(!1),[c,l]=(0,_.useState)(!1),[u,d]=(0,_.useState)({}),[f,p]=Hj(),m=cM(),h=m.show,g=mM(),v=(0,_.useRef)(null),y=(0,_.useCallback)(e=>{r(e),Bj(e)},[]);(0,_.useEffect)(()=>{let e=()=>r(zj());return window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)},[]),yM(n.kind===`session`?n.id:null,m);let b=n.kind===`session`?t.sessions.data.find(e=>e.id===n.id)??null:null,x=n.kind===`discovered`?t.discovered.data.find(e=>e.providerSessionId===n.id)??u[`${n.provider}:${n.id}`]??null:null,S=b?t.runs[b.id]:void 0,C=S!==void 0&&!CT(S.status),w=(0,_.useMemo)(()=>{let e=new Set(t.sessions.data.map(e=>e.providerSessionId).filter(Boolean));return[...t.sessions.data.map(e=>({kind:`session`,id:e.id})),...t.discovered.data.filter(t=>!e.has(t.providerSessionId)).map(e=>({kind:`discovered`,provider:e.provider,id:e.providerSessionId}))]},[t.sessions.data,t.discovered.data]);(0,_.useEffect)(()=>{let t=t=>{let r=t.metaKey||t.ctrlKey,i=t.key.toLowerCase();if(r&&!t.shiftKey&&!t.altKey&&i===`k`){t.preventDefault(),g.setCollapsed(!1),requestAnimationFrame(()=>{v.current?.focus(),v.current?.select()});return}if(r&&t.altKey&&(i===`n`||t.code===`KeyN`)||r&&t.shiftKey&&i===`o`){t.preventDefault(),a(!0);return}if(r&&!t.shiftKey&&!t.altKey&&i===`b`){t.preventDefault(),g.setCollapsed(!g.collapsed);return}if(r&&i===`/`){t.preventDefault(),s(!0);return}if(t.altKey&&!r&&(t.key===`ArrowUp`||t.key===`ArrowDown`)){let e=w.findIndex(e=>(e.kind===`session`&&n.kind===`session`||e.kind===`discovered`&&n.kind===`discovered`)&&e.id===n.id),r=w[t.key===`ArrowUp`?Math.max(0,e-1):Math.min(w.length-1,e+1)];r&&(t.preventDefault(),y(r));return}if(t.key===`Escape`&&C&&S&&!t.defaultPrevented){if(document.querySelector(`[role="dialog"], [role="menu"], [data-radix-popper-content-wrapper]`)||t.target===v.current)return;t.preventDefault(),e.stop(S.runId),h(`Stopping…`);return}t.key===`?`&&!xM(t.target)&&s(!0)};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[e,g,C,S,w,n,y,h]);let T;return T=n.kind===`session`?b?(0,j.jsx)(tM,{session:b,changesOpen:c,setChangesOpen:l},b.id):t.sessions.loadedAt===null?(0,j.jsxs)(`div`,{className:`flex flex-1 items-center justify-center gap-2 text-[13px] text-muted-foreground`,children:[(0,j.jsx)(gE,{size:15}),` Loading…`]}):(0,j.jsx)(`div`,{className:`flex flex-1 items-center justify-center text-[13px] text-muted-foreground`,children:`That session is not in the list anymore.`}):n.kind===`discovered`?(0,j.jsx)(rM,{session:x,provider:n.provider,id:n.id,onTakenOver:e=>y({kind:`session`,id:e}),changesOpen:c,setChangesOpen:l},`${n.provider}:${n.id}`):(0,j.jsx)(sM,{onNew:()=>a(!0)}),(0,j.jsx)(ME.Provider,{value:h,children:(0,j.jsxs)(`div`,{className:`cs-app flex h-full flex-col bg-background text-foreground`,children:[(0,j.jsx)(Gj,{}),(0,j.jsxs)(`div`,{className:`flex min-h-0 flex-1`,children:[g.collapsed?(0,j.jsxs)(`div`,{className:`flex flex-col items-center gap-1 border-r border-border bg-muted/30 px-1.5 py-3`,children:[(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>g.setCollapsed(!1),"aria-label":`Show the sidebar (⌘B)`,title:`Show sidebar ⌘B`,children:(0,j.jsx)(EE,{size:15})}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>a(!0),"aria-label":`New session`,title:`New session ⌥⌘N`,children:(0,j.jsx)(aE,{size:15})})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Ej,{selection:n,select:y,onNew:()=>a(!0),onCollapse:()=>g.setCollapsed(!0),width:g.width,searchRef:v,onFound:e=>d(t=>({...t,[`${e.provider}:${e.providerSessionId}`]:e})),footer:(0,j.jsx)(Kj,{theme:f,setTheme:p,extra:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(bM,{}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>s(!0),"aria-label":`Keyboard shortcuts (⌘/)`,title:`Keyboard shortcuts ⌘/`,children:(0,j.jsx)(AE,{size:14})})]})})}),(0,j.jsx)(hM,{width:g.width,setWidth:g.setWidth})]}),(0,j.jsxs)(`main`,{className:`relative flex min-w-0 flex-1`,children:[T,(0,j.jsx)(lM,{text:m.text})]})]}),(0,j.jsx)(oM,{open:i,onOpenChange:a,onStarted:e=>{a(!1),y({kind:`session`,id:e})}}),(0,j.jsx)(_M,{open:o,onOpenChange:s})]})})}function CM({transport:e}){return(0,j.jsx)(Rj,{transport:e,children:(0,j.jsx)(SM,{})})}var wM=`coding-sessions.token`;function TM(){let e=new URL(location.href),t=e.searchParams.get(`token`);if(t){try{sessionStorage.setItem(wM,t)}catch{}return e.searchParams.delete(`token`),history.replaceState(null,``,`${e.pathname}${e.search}${e.hash}`),t}try{return sessionStorage.getItem(wM)}catch{return null}}var EM=(0,v.createRoot)(document.getElementById(`root`)),DM=TM();if(!DM)EM.render((0,j.jsx)(`div`,{className:`flex h-full items-center justify-center p-8`,children:(0,j.jsxs)(`div`,{className:`max-w-[440px] text-center`,children:[(0,j.jsx)(`h1`,{className:`text-[18px] font-semibold`,children:`This link is missing its access code`}),(0,j.jsx)(`p`,{className:`mt-2 text-[13.5px] leading-6 text-muted-foreground`,children:`Open the coding sessions page from the full link AI Matrx gave you — it ends in a long access code that keeps other websites from reaching your coding agents.`})]})}));else{let e=y({token:DM});EM.render((0,j.jsx)(_.StrictMode,{children:(0,j.jsx)(CM,{transport:e})}))}
71
+ `))t.push({kind:`add`,text:`+${n}`})}if(t.length===0)return(0,j.jsx)(`p`,{className:`text-[12px] text-muted-foreground`,children:e.failed?`This change failed.`:`The agent didn't record the text of this change.`});let n=t.slice(0,RE);return(0,j.jsxs)(j.Fragment,{children:[e.failed?(0,j.jsx)(`p`,{className:`mb-1 text-[11.5px] text-destructive`,children:`This change failed and was not applied.`}):null,(0,j.jsx)(`pre`,{className:X(`cs-diff`,e.failed&&`opacity-60`),children:n.map((e,t)=>(0,j.jsx)(`span`,{className:X(`cs-diff__line`,e.kind!==`ctx`&&`cs-diff__line--${e.kind}`),children:e.text||` `},t))}),t.length>RE?(0,j.jsxs)(`p`,{className:`mt-1 text-[11.5px] text-muted-foreground`,children:[`Showing the first `,RE,` of `,t.length,` lines.`]}):null]})}function VE({file:e,cwd:t}){let[n,r]=(0,_.useState)(!1),i=NE(),a=BT(e),o=zE(e.path,t),s={created:`New`,edited:`Edited`,deleted:`Deleted`,moved:`Moved`}[e.kind];return(0,j.jsxs)(`li`,{className:`border-b border-border`,children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-2 px-4 py-2`,children:[(0,j.jsxs)(`button`,{type:`button`,onClick:()=>r(e=>!e),"aria-expanded":n,className:`flex min-w-0 flex-1 items-center gap-2 text-left`,children:[(0,j.jsx)(DE,{size:13,className:X(`shrink-0 transition-transform`,!n&&`-rotate-90`)}),(0,j.jsx)(OE,{size:14,className:`shrink-0 text-muted-foreground`}),(0,j.jsx)(`span`,{className:`min-w-0 truncate text-[12.5px] font-medium`,title:e.path,children:o})]}),(0,j.jsx)(`span`,{className:`shrink-0 text-[11px] text-muted-foreground`,children:s}),(0,j.jsxs)(`span`,{className:`shrink-0 font-mono text-[11px]`,children:[a.added?(0,j.jsxs)(`span`,{className:`cs-count-add`,children:[`+`,a.added]}):null,` `,a.removed?(0,j.jsxs)(`span`,{className:`cs-count-del`,children:[`−`,a.removed]}):null]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void FE(e.path,i,`File path`),"aria-label":`Copy the path of ${o}`,title:`Copy path`,children:(0,j.jsx)(OE,{size:12})})]}),n?(0,j.jsx)(`div`,{className:`space-y-3 px-4 pb-3`,children:e.edits.map((e,t)=>(0,j.jsx)(BE,{edit:e},`${e.toolCallId}-${t}`))}):null]})}function HE(e){return(0,_.useMemo)(()=>zT(e),[e])}function UE(e){return(0,j.jsxs)(`aside`,{className:`cs-changes`,"aria-label":`Files changed in this chat`,children:[(0,j.jsxs)(`div`,{className:`flex items-center justify-between border-b border-border px-4 py-3`,children:[(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`h2`,{className:`text-[13.5px] font-semibold`,children:`Files changed`}),(0,j.jsxs)(`p`,{className:`text-[11.5px] text-muted-foreground`,children:[e.files.length===0?`Nothing yet`:`${e.files.length} ${e.files.length===1?`file`:`files`}, from this chat's own record`,e.truncated?` · only the part of the chat shown here`:``]})]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:e.onClose,"aria-label":`Close files changed`,children:(0,j.jsx)(kE,{size:14})})]}),e.files.length===0?(0,j.jsx)(`p`,{className:`px-4 py-6 text-center text-[12.5px] leading-5 text-muted-foreground`,children:`The agent hasn't written any files in this chat yet.`}):(0,j.jsx)(`ul`,{className:`min-h-0 flex-1 overflow-y-auto`,children:e.files.map(t=>(0,j.jsx)(VE,{file:t,cwd:e.cwd},t.path))})]})}function WE(e){let t=e?.defaultModel;return t?t.source===`settings`?`${t.id}, from your settings`:`${t.id}, the built-in default`:`${e?.label??`the agent`}'s own default`}function GE(e,t){let n=e.model??t?.defaultModel?.id??`Default model`,r=e.effort??t?.defaultEffort??null;return r?`${n} · ${r}`:n}function KE(e){let[t,n]=(0,_.useState)(!1),[r,i]=(0,_.useState)(``),a=e.status?.models??[],o=e.status?.efforts??[],s=e.value.model===null||a.some(t=>t.id===e.value.model),c=t=>e.onChange({...e.value,...t});return(0,j.jsxs)(US,{open:t,onOpenChange:n,children:[(0,j.jsx)(WS,{asChild:!0,children:(0,j.jsxs)(`button`,{type:`button`,disabled:e.disabled,className:X(e.appearance===`field`?`cs-model-field`:`cs-chip-button`),"aria-label":`Model and effort: ${GE(e.value,e.status)}. Change`,title:`Model and effort`,children:[(0,j.jsx)(`span`,{className:`truncate`,children:GE(e.value,e.status)}),(0,j.jsx)(DE,{size:12,className:`shrink-0`})]})}),(0,j.jsxs)(qS,{align:`start`,className:`w-[300px] p-0`,children:[(0,j.jsxs)(`div`,{className:`max-h-[320px] overflow-y-auto p-1`,role:`listbox`,"aria-label":`Model`,children:[(0,j.jsx)(`p`,{className:`px-2 pb-1 pt-1.5 text-[11px] font-medium uppercase tracking-[0.05em] text-muted-foreground`,children:`Model`}),(0,j.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":e.value.model===null,className:`cs-option`,onClick:()=>c({model:null}),children:[(0,j.jsxs)(`span`,{className:`min-w-0 flex-1`,children:[(0,j.jsx)(`span`,{className:`block text-[13px]`,children:`Default`}),(0,j.jsx)(`span`,{className:`block truncate text-[11.5px] text-muted-foreground`,children:WE(e.status)})]}),e.value.model===null?(0,j.jsx)(cE,{size:14}):null]}),a.map(t=>(0,j.jsxs)(`button`,{type:`button`,role:`option`,"aria-selected":e.value.model===t.id,className:`cs-option`,onClick:()=>c({model:t.id}),children:[(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[13px]`,children:t.label}),e.value.model===t.id?(0,j.jsx)(cE,{size:14}):null]},t.id)),s?null:(0,j.jsxs)(`div`,{className:`cs-option`,"aria-selected":`true`,role:`option`,children:[(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[13px]`,children:e.value.model}),(0,j.jsx)(cE,{size:14})]}),(0,j.jsx)(`div`,{className:`flex gap-1 px-1 pb-1 pt-1.5`,children:(0,j.jsx)(`input`,{value:r,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),e.stopPropagation(),r.trim()&&(c({model:r.trim()}),i(``)))},placeholder:`Another model name…`,"aria-label":`Another model name`,spellCheck:!1,className:`cs-option-input`})})]}),o.length>0?(0,j.jsxs)(`div`,{className:`border-t border-border p-2`,children:[(0,j.jsx)(`p`,{className:`px-1 pb-1.5 text-[11px] font-medium uppercase tracking-[0.05em] text-muted-foreground`,children:`Thinking effort`}),(0,j.jsx)(`div`,{className:`flex flex-wrap gap-1`,role:`radiogroup`,"aria-label":`Thinking effort`,children:[null,...o].map(t=>(0,j.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":e.value.effort===t,className:X(`cs-seg`,e.value.effort===t&&`cs-seg--on`),onClick:()=>c({effort:t}),title:t===null?`Default${e.status?.defaultEffort?` (${e.status.defaultEffort}, from your settings)`:``}`:void 0,children:t===null?`Default`:t},t??`default`))})]}):null]})]})}var qE=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function JE(e){return typeof e==`string`&&qE.test(e)}var YE=[`subject`,`character`,`style`,`mask`,`edit_target`,`composition_control`],XE=[`first_frame`,`last_frame`,`asset`,`style`];[...YE,...XE];var ZE={subject:{label:`Subject`,ask:`Subject reference`,explanation:`Keeps this exact product or object recognisable: shape, materials, labels.`},character:{label:`Character`,ask:`Character reference`,explanation:`Keeps this person or character looking the same.`},style:{label:`Style`,ask:`Style reference`,explanation:`Borrows only the look (colours, lighting, medium), never the content.`},mask:{label:`Mask`,ask:`Mask`,explanation:`Marks the only area of the edited image that is allowed to change.`},edit_target:{label:`Edit this`,ask:`Image to edit`,explanation:`The image being edited; everything not asked for stays the same.`},composition_control:{label:`Composition`,ask:`Composition reference`,explanation:`Follows its layout, pose and geometry, not its appearance.`},first_frame:{label:`First frame`,ask:`First frame`,explanation:`The video starts on exactly this image.`},last_frame:{label:`Last frame`,ask:`Last frame`,explanation:`The video ends on exactly this image (needs a first frame).`},asset:{label:`Asset`,ask:`Asset reference`,explanation:`Keeps this product, object or character recognisable throughout the clip.`},extend:{label:`Extend`,ask:`Video to extend`,explanation:`The new clip continues this video from its last frame.`},restyle:{label:`Restyle`,ask:`Reference video`,explanation:`Re-renders this video: same motion and timing, a new look.`},lip_sync:{label:`Lip sync`,ask:`Lip-sync audio`,explanation:`The speech the on-screen face mouths, word for word.`}};function QE(e){return typeof e==`string`&&e in ZE}var $E=[`image`,`video`,`audio`,`document`,`youtube`];function eD(e){return typeof e.control?.key==`string`&&e.control.key.length>0}function tD(e){let t=[],n=[];for(let r of e)(eD(r)?n:t).push(r);return{content:t,settings:n}}function nD(e){let{content:t,settings:n}=tD(e);if(n.length===0)return e;let r=[...t,...n];return r.every((t,n)=>t===e[n])?e:r}function rD(e){let t=e.customComponent?.type,n=e.customComponent?.imageRole;return(t===`image`||t===`video`||t===`audio`)&&QE(n)?n:null}function iD(e,t=de){let n=(e.label??``).trim();if(n!==``)return n;let r=rD(e);return r?ZE[r].ask:t(e.name)||e.name}function aD(e){if(e.helpText)return e.helpText;let t=rD(e);return t?ZE[t].explanation:void 0}function oD(e,t=de){return nD([...e??[]]).map(e=>{let n=e.customComponent?.type??`textarea`,r=e.customComponent?.options??void 0;return{name:e.name,label:iD(e,t),hint:aD(e),group:eD(e)?`settings`:`content`,required:!!e.required,component:n,options:r&&r.length>0?r:void 0,mediaKind:$E.includes(n)?n:null,role:rD(e),controlKey:eD(e)?e.control?.key??null:null,variable:e}})}function sD(e){return e}function cD(e){return`mandate:${e}`}function lD(e){return e.startsWith(`mandate:`)}var uD=[{value:`updated-desc`,label:`Recent`},{value:`created-desc`,label:`Created`},{value:`name-asc`,label:`A → Z`},{value:`name-desc`,label:`Z → A`},{value:`category-asc`,label:`Category`}],dD=[`active`,`both`,`archived`],fD=[{value:`active`,label:`Hide archived`,chip:`Archive`},{value:`both`,label:`Show all`,chip:`All + archived`},{value:`archived`,label:`Archived only`,chip:`Archived only`}];function pD(e){let t=dD.indexOf(e);return t<0?dD[0]:dD[(t+1)%dD.length]}function mD(e){return e===`active`||e===`archived`||e===`both`}var hD={tab:`mine`,sortBy:`updated-desc`,searchTerm:``,includedCats:[],includedTags:[],favFilter:`all`,archFilter:`active`,accessFilter:`any`,favoritesFirst:!0,listPage:1,sharedPage:1,serverMatchedIds:[],isServerSearching:!1,deepSearch:!1},gD=class extends Error{name=`AgentCatalogConfigError`;code;remedy;constructor(e){super(`${e.message} — ${e.remedy}`),this.code=e.code,this.remedy=e.remedy}},_D={publicTab:`Public`,systemBadge:`system`,archivedBadge:`Archived`,searchPlaceholder:`Search agents...`,currentAgentHeading:`Current agent`,emptyDefault:`No agents found`,emptyShared:`No shared agents found`,emptySystem:`No system agents found`,emptySignedOut:`Sign in to see your agents`,loading:`Loading...`,triggerFallback:`Agents`,triggerResolving:`Naming the agent…`,triggerUnnameable:`An agent this list cannot name`,hoverHint:`Hover an agent to preview its details, or click to select.`};function vD(e){return e.ok===!1}function yD(){let e=!1;return t=>{e||(e=!0,console.error("[associations] no errorSink port bound — using the package default. Bind the `errorSink` port on createAssociationsStore({ errorSink }) to route these into your diagnostics surface; until then they only reach the console.")),console.error(`[associations] ${t.code}: ${t.message}`,t.context??{})}}var bD={access_delta_probe:{token:`access_delta_probe`,schema:`iam`,table:`access_delta_probe`,label:`Access Delta Probe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},access_delta_run:{token:`access_delta_run`,schema:`iam`,table:`access_delta_run`,label:`Access Delta Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},access_request:{token:`access_request`,schema:`iam`,table:`access_requests`,label:`Access Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`System`,referencePickable:!1,titleColumn:null,contentRole:`utility`,referenceCategory:null},account_addon:{token:`account_addon`,schema:`billing`,table:`account_addon`,label:`Account Addon`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},acquisition_block:{token:`acquisition_block`,schema:`platform`,table:`acquisition_block`,label:`Acquisition Block`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},activity:{token:`activity`,schema:`platform`,table:`activity_log`,label:`Activity Log Entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_audit_log:{token:`admin_audit_log`,schema:`admin`,table:`admin_audit_log`,label:`Admin audit log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_email_log:{token:`admin_email_log`,schema:`admin`,table:`admin_email_logs`,label:`Admin email log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_markdown_sample:{token:`admin_markdown_sample`,schema:`admin`,table:`admin_markdown_samples`,label:`Admin markdown sample`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admin_user:{token:`admin_user`,schema:`admin`,table:`admins`,label:`Platform admin`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},admission_config:{token:`admission_config`,schema:`content_ir`,table:`admission_config`,label:`Admission Config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent:{token:`agent`,schema:`agent`,table:`definition`,label:`Agent`,baseTier:1,isComponent:!1,isModule:!0,isListed:!0,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`name`,contentRole:`utility`,referenceCategory:null},agent_card:{token:`agent_card`,schema:`agent`,table:`card`,label:`Agent Card`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_definition_version:{token:`agent_definition_version`,schema:`agent`,table:`definition_version`,label:`Agent Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},agent_drift_alert:{token:`agent_drift_alert`,schema:`agent`,table:`drift_alert`,label:`Agent Drift Alert`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_exemplar:{token:`agent_exemplar`,schema:`agent`,table:`exemplar`,label:`Agent Test Case`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_mandate_note:{token:`agent_mandate_note`,schema:`agent`,table:`mandate_note`,label:`Mandate Note`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_prompt_remediation:{token:`agent_prompt_remediation`,schema:`agent`,table:`prompt_remediation`,label:`Agent Prompt Remediation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_run:{token:`agent_run`,schema:`chat`,table:`agent_run`,label:`Agent Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_run_stage:{token:`agent_run_stage`,schema:`chat`,table:`agent_run_stage`,label:`Agent Run Stage`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_schedule:{token:`agent_schedule`,schema:`scheduler`,table:`agent_schedule`,label:`Agent Schedule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_schedule_claim:{token:`agent_schedule_claim`,schema:`scheduler`,table:`agent_schedule_claim`,label:`Agent Schedule Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},agent_shortcut:{token:`agent_shortcut`,schema:`agent`,table:`shortcut`,label:`Agent Shortcut`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},agent_surface_binding:{token:`agent_surface_binding`,schema:`platform`,table:`associations`,label:`Agent Surface Binding`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},agent_template:{token:`agent_template`,schema:`agent`,table:`template`,label:`Agent Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},agent_term_list:{token:`agent_term_list`,schema:`agent`,table:`term_list`,label:`Term List`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},agent_usage:{token:`agent_usage`,schema:`agent`,table:`usage`,label:`Agent Usage`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Agents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_api:{token:`ai_api`,schema:`ai`,table:`api`,label:`AI API`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_calls:{token:`ai_calls`,schema:`runtime`,table:`_ai_calls`,label:`AI model calls`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_endpoint:{token:`ai_endpoint`,schema:`ai`,table:`endpoint`,label:`AI Endpoint`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},ai_model:{token:`ai_model`,schema:`ai`,table:`model_definition`,label:`AI Model`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_model_alias:{token:`ai_model_alias`,schema:`ai`,table:`model_alias`,label:`AI Model Alias`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_offering:{token:`ai_offering`,schema:`ai`,table:`offering`,label:`AI Offering`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_provider:{token:`ai_provider`,schema:`ai`,table:`provider`,label:`AI Provider`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_setting:{token:`ai_setting`,schema:`ai`,table:`setting`,label:`AI Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`key`,contentRole:null,referenceCategory:null},ai_setting_profile:{token:`ai_setting_profile`,schema:`ai`,table:`setting_profile`,label:`Settings Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`AI catalog`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},ai_translation_cell:{token:`ai_translation_cell`,schema:`ai`,table:`translation_cell`,label:`Translation Cell`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`AI catalog`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_usage_executions:{token:`ai_usage_executions`,schema:`runtime`,table:`_ai_usage_calls`,label:`AI usage by execution`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_usage_hourly:{token:`ai_usage_hourly`,schema:`runtime`,table:`_ai_usage_hourly`,label:`AI usage by hour`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ai_usage_hourly_watermark:{token:`ai_usage_hourly_watermark`,schema:`runtime`,table:`_ai_usage_hourly_watermark`,label:`AI usage counted through`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},analysis_result:{token:`analysis_result`,schema:`files`,table:`analysis_result`,label:`Analysis Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_form:{token:`anon_form`,schema:`custom`,table:`anon_form`,label:`Public form`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},anon_function_birth_grandfather:{token:`anon_function_birth_grandfather`,schema:`platform`,table:`anon_function_birth_grandfather`,label:`Anon Function Birth Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_hit:{token:`anon_hit`,schema:`custom`,table:`anon_hit`,label:`Anonymous rate window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_inbound:{token:`anon_inbound`,schema:`custom`,table:`anon_inbound`,label:`Inbound address`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_replay:{token:`anon_replay`,schema:`custom`,table:`anon_replay`,label:`Offline capture ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_submission:{token:`anon_submission`,schema:`custom`,table:`anon_submission`,label:`Quarantined submission`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},anon_token:{token:`anon_token`,schema:`custom`,table:`anon_token`,label:`Embed token`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},api_field_warning:{token:`api_field_warning`,schema:`ops`,table:`api_field_warnings`,label:`API field warning`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},api_request_log:{token:`api_request_log`,schema:`ops`,table:`api_request_log`,label:`API request log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app:{token:`app`,schema:`app`,table:`definition`,label:`App`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!0,titleColumn:`name`,contentRole:`utility`,referenceCategory:null},app_config:{token:`app_config`,schema:`public`,table:`app_config`,label:`App config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_config_history:{token:`app_config_history`,schema:`public`,table:`app_config_history`,label:`App Config History`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_definition_version:{token:`app_definition_version`,schema:`app`,table:`definition_version`,label:`App Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},app_error:{token:`app_error`,schema:`app`,table:`error`,label:`App Error`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_execution:{token:`app_execution`,schema:`app`,table:`execution`,label:`App Execution`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_instance:{token:`app_instance`,schema:`public`,table:`app_instances`,label:`App Instance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_log:{token:`app_log`,schema:`ops`,table:`app_log`,label:`App Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_log_muted_pattern:{token:`app_log_muted_pattern`,schema:`ops`,table:`app_log_muted_pattern`,label:`Muted log pattern`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_log_norm_exception:{token:`app_log_norm_exception`,schema:`ops`,table:`app_log_norm_exception`,label:`Log normalisation exception`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_rate_limit:{token:`app_rate_limit`,schema:`app`,table:`rate_limit`,label:`App Rate Limit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Apps`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_setting:{token:`app_setting`,schema:`public`,table:`app_settings`,label:`App Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},app_sync_status:{token:`app_sync_status`,schema:`public`,table:`app_sync_status`,label:`App Sync Status`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},approach:{token:`approach`,schema:`platform`,table:`approach`,label:`Approach`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},artifact:{token:`artifact`,schema:`chat`,table:`artifact`,label:`Artifact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},assessment:{token:`assessment`,schema:`education`,table:`assessment`,label:`Assessment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},assessment_item:{token:`assessment_item`,schema:`education`,table:`assessment_item`,label:`Assessment Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assessment_result:{token:`assessment_result`,schema:`education`,table:`assessment_result`,label:`Assessment Result`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assignment_session:{token:`assignment_session`,schema:`assignment`,table:`session`,label:`Assignment session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assist:{token:`assist`,schema:`platform`,table:`assists`,label:`Assist`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`platform`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},assist_producer_policy:{token:`assist_producer_policy`,schema:`platform`,table:`assist_producer_policy`,label:`Assist producer policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assist_producer_policy_history:{token:`assist_producer_policy_history`,schema:`platform`,table:`assist_producer_policy_history`,label:`Assist Producer Policy History`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},association_type:{token:`association_type`,schema:`platform`,table:`association_types`,label:`Association type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},assurance_level:{token:`assurance_level`,schema:`platform`,table:`assurance_level`,label:`Assurance level`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},attempt:{token:`attempt`,schema:`assignment`,table:`attempt`,label:`Attempt`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_broken_functions:{token:`audit_broken_functions`,schema:`audit`,table:`broken_functions`,label:`Broken functions`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_canonical_findings:{token:`audit_canonical_findings`,schema:`audit`,table:`canonical_findings`,label:`Canonical findings`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_exemption:{token:`audit_exemption`,schema:`meta`,table:`audit_exemption`,label:`Audit exemption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_function_deps:{token:`audit_function_deps`,schema:`audit`,table:`function_deps`,label:`Function dependencies`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_function_runtime_probe:{token:`audit_function_runtime_probe`,schema:`audit`,table:`function_runtime_probe`,label:`Function runtime probe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_m2m_candidates:{token:`audit_m2m_candidates`,schema:`audit`,table:`m2m_candidates`,label:`M2M candidates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_refresh_log:{token:`audit_refresh_log`,schema:`audit`,table:`refresh_log`,label:`Audit refresh log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_stale_registry:{token:`audit_stale_registry`,schema:`audit`,table:`stale_registry`,label:`Stale registry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},audit_unregistered_candidates:{token:`audit_unregistered_candidates`,schema:`audit`,table:`unregistered_candidates`,label:`Unregistered candidates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},base_entity_template:{token:`base_entity_template`,schema:`platform`,table:`_base_entity`,label:`Base entity template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},batch_cost_event:{token:`batch_cost_event`,schema:`batch`,table:`cost_event`,label:`Batch Cost Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},batch_provider_batch:{token:`batch_provider_batch`,schema:`batch`,table:`provider_batch`,label:`Provider Batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},batch_work_item:{token:`batch_work_item`,schema:`batch`,table:`work_item`,label:`Batch Work Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_capability:{token:`billing_capability`,schema:`billing`,table:`capability`,label:`Billing capability`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_capability_limit:{token:`billing_capability_limit`,schema:`billing`,table:`capability_limit`,label:`Billing capability limit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_connect_account:{token:`billing_connect_account`,schema:`billing`,table:`connect_account`,label:`Billing connect account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_coupon:{token:`billing_coupon`,schema:`billing`,table:`coupon`,label:`Coupon`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_coupon_redemption:{token:`billing_coupon_redemption`,schema:`billing`,table:`coupon_redemption`,label:`Coupon redemption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_customer:{token:`billing_customer`,schema:`billing`,table:`customer`,label:`Billing customer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_free_period_grant:{token:`billing_free_period_grant`,schema:`billing`,table:`free_period_grant`,label:`Free period grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_plan:{token:`billing_plan`,schema:`billing`,table:`plan`,label:`Billing plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_plan_limit:{token:`billing_plan_limit`,schema:`billing`,table:`plan_limit`,label:`Billing plan limit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_price:{token:`billing_price`,schema:`billing`,table:`price`,label:`Billing price`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_product:{token:`billing_product`,schema:`billing`,table:`product`,label:`Billing product`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_spend_approval:{token:`billing_spend_approval`,schema:`billing`,table:`spend_approval`,label:`Spend Approval`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_spend_guardrail:{token:`billing_spend_guardrail`,schema:`billing`,table:`spend_guardrail`,label:`Spend Guardrail`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_stripe_event:{token:`billing_stripe_event`,schema:`billing`,table:`stripe_event`,label:`Stripe webhook event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_subscription:{token:`billing_subscription`,schema:`billing`,table:`subscription`,label:`Billing subscription`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_usage_ledger:{token:`billing_usage_ledger`,schema:`billing`,table:`usage_ledger`,label:`Usage ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_usage_reset:{token:`billing_usage_reset`,schema:`billing`,table:`usage_reset`,label:`Usage reset`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},billing_user_plan:{token:`billing_user_plan`,schema:`billing`,table:`user_plan`,label:`User plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},block_state:{token:`block_state`,schema:`platform`,table:`block_states`,label:`Block State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},board:{token:`board`,schema:`projects`,table:`boards`,label:`Board`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_account_binding:{token:`browser_account_binding`,schema:`browser`,table:`account_binding`,label:`Browser Account Binding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_action_event:{token:`browser_action_event`,schema:`browser`,table:`action_event`,label:`Browser Action Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_authenticator_window:{token:`browser_authenticator_window`,schema:`browser`,table:`authenticator_window`,label:`Browser Authenticator Window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_capture:{token:`browser_capture`,schema:`browser`,table:`capture`,label:`Browser Capture`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_control_request:{token:`browser_control_request`,schema:`browser`,table:`control_request`,label:`Browser Control Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_handoff:{token:`browser_handoff`,schema:`browser`,table:`handoff`,label:`Browser Handoff`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_login_attempt:{token:`browser_login_attempt`,schema:`browser`,table:`login_attempt`,label:`Browser Login Attempt`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_login_recipe:{token:`browser_login_recipe`,schema:`browser`,table:`login_recipe`,label:`Browser Login Recipe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_profile:{token:`browser_profile`,schema:`browser`,table:`profile`,label:`Cloud Browser Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_profile_checkpoint:{token:`browser_profile_checkpoint`,schema:`browser`,table:`profile_checkpoint`,label:`Browser Profile Checkpoint`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_run:{token:`browser_run`,schema:`browser`,table:`run`,label:`Cloud Browser Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_site_observation:{token:`browser_site_observation`,schema:`browser`,table:`site_observation`,label:`Browser Site Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_site_policy:{token:`browser_site_policy`,schema:`browser`,table:`site_policy`,label:`Browser Site Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},browser_stream_ticket:{token:`browser_stream_ticket`,schema:`browser`,table:`stream_ticket`,label:`Browser Stream Ticket`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},build_lock:{token:`build_lock`,schema:`campaign_watch`,table:`build_lock`,label:`Build Lock`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},calendar_event:{token:`calendar_event`,schema:`communication`,table:`calendar_event`,label:`Calendar event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},campaign_watch_ramp_gate_run:{token:`campaign_watch_ramp_gate_run`,schema:`campaign_watch`,table:`ramp_gate_run`,label:`Ramp gate run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},campaign_watch_switch_outbox:{token:`campaign_watch_switch_outbox`,schema:`campaign_watch`,table:`switch_outbox`,label:`Switch outbox`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},campaign_watch_switch_window:{token:`campaign_watch_switch_window`,schema:`campaign_watch`,table:`switch_window`,label:`Switch window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_comment:{token:`canvas_comment`,schema:`canvas`,table:`canvas_comments`,label:`Canvas Comment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},canvas_comment_like:{token:`canvas_comment_like`,schema:`canvas`,table:`canvas_comment_likes`,label:`Canvas Comment Like`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_item:{token:`canvas_item`,schema:`canvas`,table:`canvas_items`,label:`Canvas Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},canvas_item_state:{token:`canvas_item_state`,schema:`canvas`,table:`canvas_item_state`,label:`Canvas Item State`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_like:{token:`canvas_like`,schema:`canvas`,table:`canvas_likes`,label:`Canvas Like`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},canvas_score:{token:`canvas_score`,schema:`canvas`,table:`canvas_scores`,label:`Canvas Score`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},canvas_view:{token:`canvas_view`,schema:`canvas`,table:`canvas_views`,label:`Canvas View`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},capture_window:{token:`capture_window`,schema:`history`,table:`capture_window`,label:`Capture Window`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},carrying_rule:{token:`carrying_rule`,schema:`custom`,table:`carrying_rule`,label:`Carrying Rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},catalog_entries_history:{token:`catalog_entries_history`,schema:`public`,table:`catalog_entries_history`,label:`Catalog Entries History`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},catalog_entry:{token:`catalog_entry`,schema:`public`,table:`catalog_entries`,label:`Catalog entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},category:{token:`category`,schema:`platform`,table:`categories`,label:`Category`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},change_type_default:{token:`change_type_default`,schema:`platform`,table:`change_type_default`,label:`Change type default`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},chat_user_usage_summary:{token:`chat_user_usage_summary`,schema:`chat`,table:`user_usage_summary`,label:`Chat usage summary`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},citations:{token:`citations`,schema:`legal`,table:`citations`,label:`Citations`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},class_purchase:{token:`class_purchase`,schema:`billing`,table:`class_purchase`,label:`Class Purchase`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},classifier_revision_ledger:{token:`classifier_revision_ledger`,schema:`seo`,table:`classifier_revision_ledger`,label:`Classifier Revision Ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},client_callable_door:{token:`client_callable_door`,schema:`platform`,table:`client_callable_door`,label:`Client Callable Door`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},client_callable_door_retirement:{token:`client_callable_door_retirement`,schema:`platform`,table:`client_callable_door_retirement`,label:`Client Callable Door Retirement`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},client_excluded_column_unregistered:{token:`client_excluded_column_unregistered`,schema:`platform`,table:`client_excluded_column_unregistered`,label:`Client Excluded Column Unregistered`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cmp_entry:{token:`cmp_entry`,schema:`agent`,table:`cmp_comparison_entries`,label:`Comparison Entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cmp_feedback:{token:`cmp_feedback`,schema:`agent`,table:`cmp_response_feedback`,label:`Comparison Response Feedback`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},code_file:{token:`code_file`,schema:`code`,table:`code_files`,label:`Code File`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},code_folder:{token:`code_folder`,schema:`code`,table:`code_file_folders`,label:`Code Folder`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},code_repository:{token:`code_repository`,schema:`code`,table:`code_repositories`,label:`Code Repository`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},coding_session:{token:`coding_session`,schema:`chat`,table:`coding_session`,label:`Coding Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},coding_session_entry:{token:`coding_session_entry`,schema:`chat`,table:`coding_session_entry`,label:`Coding Session Entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},comment:{token:`comment`,schema:`platform`,table:`comments`,label:`Comment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_allocation:{token:`commerce_asset_allocation`,schema:`commerce`,table:`asset_allocation`,label:`Asset Allocation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_grading:{token:`commerce_asset_grading`,schema:`commerce`,table:`asset_grading`,label:`Asset Grading`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_identifier:{token:`commerce_asset_identifier`,schema:`commerce`,table:`asset_identifier`,label:`Asset Identifier`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_lot_event:{token:`commerce_asset_lot_event`,schema:`commerce`,table:`asset_lot_event`,label:`Asset Lot Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_mandate_result:{token:`commerce_asset_mandate_result`,schema:`commerce`,table:`asset_mandate_result`,label:`Asset Mandate Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_price_factor:{token:`commerce_asset_price_factor`,schema:`commerce`,table:`asset_price_factor`,label:`Asset Price Factor`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_reshoot_request:{token:`commerce_asset_reshoot_request`,schema:`commerce`,table:`asset_reshoot_request`,label:`Asset Reshoot Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_review:{token:`commerce_asset_review`,schema:`commerce`,table:`asset_review`,label:`Asset Review`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_asset_unknown:{token:`commerce_asset_unknown`,schema:`commerce`,table:`asset_unknown`,label:`Asset Unknown`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_certified_printer:{token:`commerce_certified_printer`,schema:`commerce`,table:`certified_printer`,label:`Certified Printer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_cloud_sync_connection:{token:`commerce_cloud_sync_connection`,schema:`commerce`,table:`cloud_sync_connection`,label:`Cloud Sync Connection`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_business_policy:{token:`commerce_ebay_business_policy`,schema:`commerce`,table:`ebay_business_policy`,label:`eBay Business Policy`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_category:{token:`commerce_ebay_category`,schema:`commerce`,table:`ebay_category`,label:`eBay Category`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_category_aspect:{token:`commerce_ebay_category_aspect`,schema:`commerce`,table:`ebay_category_aspect`,label:`eBay Category Aspect`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_category_tree:{token:`commerce_ebay_category_tree`,schema:`commerce`,table:`ebay_category_tree`,label:`eBay Category Tree`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_custom_policy:{token:`commerce_ebay_custom_policy`,schema:`commerce`,table:`ebay_custom_policy`,label:`eBay Custom Policy`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_item:{token:`commerce_ebay_inventory_item`,schema:`commerce`,table:`ebay_inventory_item`,label:`eBay Inventory Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_item_group:{token:`commerce_ebay_inventory_item_group`,schema:`commerce`,table:`ebay_inventory_item_group`,label:`eBay Inventory Item Group`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_item_group_member:{token:`commerce_ebay_inventory_item_group_member`,schema:`commerce`,table:`ebay_inventory_item_group_member`,label:`eBay Inventory Item Group Member`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_inventory_location:{token:`commerce_ebay_inventory_location`,schema:`commerce`,table:`ebay_inventory_location`,label:`eBay Inventory Location`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_listing:{token:`commerce_ebay_listing`,schema:`commerce`,table:`ebay_listing`,label:`eBay Listing`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_marketplace_policy:{token:`commerce_ebay_marketplace_policy`,schema:`commerce`,table:`ebay_marketplace_policy`,label:`eBay Marketplace Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_media_asset:{token:`commerce_ebay_media_asset`,schema:`commerce`,table:`ebay_media_asset`,label:`eBay Media Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_destination:{token:`commerce_ebay_notification_destination`,schema:`commerce`,table:`ebay_notification_destination`,label:`eBay Notification Destination`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_event:{token:`commerce_ebay_notification_event`,schema:`commerce`,table:`ebay_notification_event`,label:`eBay Notification Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_subscription:{token:`commerce_ebay_notification_subscription`,schema:`commerce`,table:`ebay_notification_subscription`,label:`eBay Notification Subscription`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_notification_topic:{token:`commerce_ebay_notification_topic`,schema:`commerce`,table:`ebay_notification_topic`,label:`eBay Notification Topic`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_offer:{token:`commerce_ebay_offer`,schema:`commerce`,table:`ebay_offer`,label:`eBay Offer`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_order:{token:`commerce_ebay_order`,schema:`commerce`,table:`ebay_order`,label:`eBay Order`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_order_line_item:{token:`commerce_ebay_order_line_item`,schema:`commerce`,table:`ebay_order_line_item`,label:`eBay Order Line Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_shipping_fulfillment:{token:`commerce_ebay_shipping_fulfillment`,schema:`commerce`,table:`ebay_shipping_fulfillment`,label:`eBay Shipping Fulfillment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_ebay_store_category:{token:`commerce_ebay_store_category`,schema:`commerce`,table:`ebay_store_category`,label:`eBay Store Category`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_human_correction:{token:`commerce_human_correction`,schema:`commerce`,table:`human_correction`,label:`Human Correction`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_intake_artifact:{token:`commerce_intake_artifact`,schema:`commerce`,table:`intake_artifact`,label:`Intake Artifact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_intake_asset:{token:`commerce_intake_asset`,schema:`commerce`,table:`intake_asset`,label:`Intake Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_intake_batch:{token:`commerce_intake_batch`,schema:`commerce`,table:`intake_batch`,label:`Intake Batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_label_batch:{token:`commerce_label_batch`,schema:`commerce`,table:`label_batch`,label:`Label Batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_label_code:{token:`commerce_label_code`,schema:`commerce`,table:`label_code`,label:`Label Code`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_account:{token:`commerce_marketplace_account`,schema:`commerce`,table:`marketplace_account`,label:`Marketplace Account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_account_deletion_audit:{token:`commerce_marketplace_account_deletion_audit`,schema:`commerce`,table:`marketplace_account_deletion_audit`,label:`Marketplace Account Deletion Audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_api_call:{token:`commerce_marketplace_api_call`,schema:`commerce`,table:`marketplace_api_call`,label:`Marketplace API Call`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_rate_budget:{token:`commerce_marketplace_rate_budget`,schema:`commerce`,table:`marketplace_rate_budget`,label:`Marketplace Rate Budget`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_site:{token:`commerce_marketplace_site`,schema:`commerce`,table:`marketplace_site`,label:`Marketplace Site`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_marketplace_sync_run:{token:`commerce_marketplace_sync_run`,schema:`commerce`,table:`marketplace_sync_run`,label:`Marketplace Sync Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_prediction_outcome:{token:`commerce_prediction_outcome`,schema:`commerce`,table:`prediction_outcome`,label:`Prediction Outcome`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_print_order:{token:`commerce_print_order`,schema:`commerce`,table:`print_order`,label:`Print Order`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product:{token:`commerce_product`,schema:`commerce`,table:`product`,label:`Product`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product_channel_ref:{token:`commerce_product_channel_ref`,schema:`commerce`,table:`product_channel_ref`,label:`Product Channel Reference`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product_media:{token:`commerce_product_media`,schema:`commerce`,table:`product_media`,label:`Product Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_product_variant:{token:`commerce_product_variant`,schema:`commerce`,table:`product_variant`,label:`Product Variant`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},commerce_recall_audit:{token:`commerce_recall_audit`,schema:`commerce`,table:`recall_audit`,label:`Recall Audit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},communication_calendar_selected_snapshot_state:{token:`communication_calendar_selected_snapshot_state`,schema:`communication`,table:`calendar_selected_snapshot_state`,label:`Calendar snapshot state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},communication_channel_readiness:{token:`communication_channel_readiness`,schema:`communication`,table:`channel_readiness`,label:`Channel readiness`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},comparison_set:{token:`comparison_set`,schema:`agent`,table:`cmp_comparison_sets`,label:`Comparison Set`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},contact_medium:{token:`contact_medium`,schema:`crm`,table:`contact_medium`,label:`Contact Medium`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_value`,contentRole:`utility`,referenceCategory:null},contact_submission:{token:`contact_submission`,schema:`communication`,table:`contact_submissions`,label:`Contact Submission`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},content_certification:{token:`content_certification`,schema:`education`,table:`content_certification`,label:`Content certification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind:{token:`content_ir_kind`,schema:`content_ir`,table:`kind_definition`,label:`Content-IR Kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},content_ir_kind_component:{token:`content_ir_kind_component`,schema:`content_ir`,table:`kind_component`,label:`Kind Component`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_component_incident:{token:`content_ir_kind_component_incident`,schema:`content_ir`,table:`kind_component_incident`,label:`Kind Component Incident`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_conformance:{token:`content_ir_kind_conformance`,schema:`content_ir`,table:`kind_conformance`,label:`Shape Conformance`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_edge:{token:`content_ir_kind_edge`,schema:`content_ir`,table:`kind_edge`,label:`Content-IR Kind Edge`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_ir_kind_example:{token:`content_ir_kind_example`,schema:`content_ir`,table:`kind_example`,label:`Kind Example`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},content_ir_kind_instance:{token:`content_ir_kind_instance`,schema:`content_ir`,table:`kind_instance`,label:`Saved Result`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},content_ir_kind_surface:{token:`content_ir_kind_surface`,schema:`content_ir`,table:`kind_surface`,label:`Kind Surface`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},content_lane:{token:`content_lane`,schema:`iam`,table:`content_lane`,label:`Content Lane`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_access_log:{token:`context_access_log`,schema:`context`,table:`context_access_log`,label:`Context access log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_item:{token:`context_item`,schema:`context`,table:`context_items`,label:`Context Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},context_item_suggestion:{token:`context_item_suggestion`,schema:`rag`,table:`context_item_suggestions`,label:`Context Item Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_item_value:{token:`context_item_value`,schema:`context`,table:`context_item_values`,label:`Record Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},context_value_refs:{token:`context_value_refs`,schema:`context`,table:`context_value_refs`,label:`Context Value Refs`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},conversation:{token:`conversation`,schema:`chat`,table:`conversation`,label:`Conversation`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Outputs`,referencePickable:!0,titleColumn:`title`,contentRole:`destination`,referenceCategory:null},conversation_value:{token:`conversation_value`,schema:`chat`,table:`conversation_value`,label:`Conversation Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:`key`,contentRole:null,referenceCategory:null},courts:{token:`courts`,schema:`legal`,table:`courts`,label:`Courts`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},credential_attachment:{token:`credential_attachment`,schema:`users`,table:`credential_attachments`,label:`Credential attachment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},credential_item:{token:`credential_item`,schema:`users`,table:`credential_items`,label:`Credential item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},credential_mutation_receipt:{token:`credential_mutation_receipt`,schema:`users`,table:`credential_mutation_receipts`,label:`Credential Mutation Receipt`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_address:{token:`crm_address`,schema:`crm`,table:`address`,label:`Address`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},crm_affiliation:{token:`crm_affiliation`,schema:`crm`,table:`affiliation`,label:`Affiliation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},crm_blocklist_entry:{token:`crm_blocklist_entry`,schema:`crm`,table:`blocklist_entry`,label:`Blocklist Entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_contact_candidate:{token:`crm_contact_candidate`,schema:`crm`,table:`contact_candidate`,label:`Contact Candidate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_deal:{token:`crm_deal`,schema:`crm`,table:`deal`,label:`Deal`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},crm_deal_stage_event:{token:`crm_deal_stage_event`,schema:`crm`,table:`deal_stage_event`,label:`Deal Stage Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_enrichment_call:{token:`crm_enrichment_call`,schema:`crm`,table:`enrichment_call`,label:`Enrichment Call`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_interaction:{token:`crm_interaction`,schema:`crm`,table:`interaction`,label:`Interaction`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`subject`,contentRole:null,referenceCategory:null},crm_merge_candidate:{token:`crm_merge_candidate`,schema:`crm`,table:`merge_candidate`,label:`Merge Candidate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_outreach_list:{token:`crm_outreach_list`,schema:`crm`,table:`outreach_list`,label:`Outreach List`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},crm_outreach_list_member:{token:`crm_outreach_list_member`,schema:`crm`,table:`outreach_list_member`,label:`Outreach List Member`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_party_merge:{token:`crm_party_merge`,schema:`crm`,table:`party_merge`,label:`Party Merge`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_party_research:{token:`crm_party_research`,schema:`crm`,table:`party_research`,label:`Private contact research`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`CRM`,referencePickable:!1,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},crm_registry_ingest_run:{token:`crm_registry_ingest_run`,schema:`crm`,table:`registry_ingest_run`,label:`Registry Ingest Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_registry_source:{token:`crm_registry_source`,schema:`crm`,table:`registry_source`,label:`Registry Source`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_sending_claim:{token:`crm_sending_claim`,schema:`crm`,table:`sending_claim`,label:`Sending claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_sending_event:{token:`crm_sending_event`,schema:`crm`,table:`sending_event`,label:`Sending Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`subject`,contentRole:null,referenceCategory:null},crm_sending_identity:{token:`crm_sending_identity`,schema:`crm`,table:`sending_identity`,label:`Sending Identity`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},crm_sending_identity_check:{token:`crm_sending_identity_check`,schema:`crm`,table:`sending_identity_check`,label:`Sending Check`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`check_kind`,contentRole:null,referenceCategory:null},crm_sending_policy:{token:`crm_sending_policy`,schema:`crm`,table:`sending_policy`,label:`Sending Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_agent_table_trust:{token:`custom_agent_table_trust`,schema:`custom`,table:`agent_table_trust`,label:`Agent table trust`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_agg_digest_checked:{token:`custom_agg_digest_checked`,schema:`custom`,table:`agg_digest_checked`,label:`Aggregate digest checked`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_field_definition:{token:`custom_field_definition`,schema:`platform`,table:`custom_field_definition`,label:`Custom Field`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_field_target:{token:`custom_field_target`,schema:`platform`,table:`custom_field_target`,label:`Custom Field Target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_io_outbox_consumer:{token:`custom_io_outbox_consumer`,schema:`custom`,table:`io_outbox_consumer`,label:`Outbox consumer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_io_outbox_consumption:{token:`custom_io_outbox_consumption`,schema:`custom`,table:`io_outbox_consumption`,label:`Outbox consumption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_share_tails_mine_repair:{token:`custom_share_tails_mine_repair`,schema:`custom`,table:`_share_tails_mine_repair`,label:`Share tails repair`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_template:{token:`custom_template`,schema:`custom`,table:`template`,label:`Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},custom_template_install:{token:`custom_template_install`,schema:`custom`,table:`template_install`,label:`Template install`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_agent_memory:{token:`cx_agent_memory`,schema:`chat`,table:`agent_memory`,label:`Agent Memory`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!0,titleColumn:`key`,contentRole:null,referenceCategory:null},cx_agent_plan:{token:`cx_agent_plan`,schema:`chat`,table:`agent_plan`,label:`Agent Plan`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},cx_agent_task:{token:`cx_agent_task`,schema:`chat`,table:`agent_task`,label:`Agent Task`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},cx_code_edit:{token:`cx_code_edit`,schema:`chat`,table:`code_edit`,label:`Code Edit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_code_message_file:{token:`cx_code_message_file`,schema:`chat`,table:`code_message_file`,label:`Code Message File`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_media:{token:`cx_media`,schema:`chat`,table:`media`,label:`Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_observational_memory:{token:`cx_observational_memory`,schema:`chat`,table:`observational_memory`,label:`Observational Memory`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_observational_memory_event:{token:`cx_observational_memory_event`,schema:`chat`,table:`observational_memory_event`,label:`Observational Memory Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_pending_injection:{token:`cx_pending_injection`,schema:`chat`,table:`pending_injection`,label:`Pending Injection`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_request:{token:`cx_request`,schema:`chat`,table:`request`,label:`Conversation Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_request_snapshot:{token:`cx_request_snapshot`,schema:`chat`,table:`request_snapshot`,label:`Request Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_tool_trace:{token:`cx_tool_trace`,schema:`chat`,table:`tool_trace`,label:`Tool Trace`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_user_request:{token:`cx_user_request`,schema:`chat`,table:`user_request`,label:`User Request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},cx_user_todo:{token:`cx_user_todo`,schema:`chat`,table:`user_todo`,label:`User Todo`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},data_rights_event:{token:`data_rights_event`,schema:`education`,table:`data_rights_event`,label:`Data rights event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},data_store:{token:`data_store`,schema:`rag`,table:`data_stores`,label:`Data Store`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},data_store_members:{token:`data_store_members`,schema:`rag`,table:`data_store_members`,label:`Data Store Members`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ddl_guard_log:{token:`ddl_guard_log`,schema:`platform`,table:`ddl_guard_log`,label:`DDL guard log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},deck_suggestion:{token:`deck_suggestion`,schema:`education`,table:`deck_suggestion`,label:`Deck Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},definer_class_exemption:{token:`definer_class_exemption`,schema:`iam`,table:`definer_class_exemption`,label:`Definer Class Exemption`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},definer_client_grant_grandfather:{token:`definer_client_grant_grandfather`,schema:`platform`,table:`definer_client_grant_grandfather`,label:`Definer Client Grant Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},definer_grant_baseline:{token:`definer_grant_baseline`,schema:`hr`,table:`definer_grant_baseline`,label:`Definer Grant Baseline`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},deprecated_relation:{token:`deprecated_relation`,schema:`platform`,table:`deprecated_relations`,label:`Deprecated relation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},derive_run:{token:`derive_run`,schema:`docproc`,table:`derive_runs`,label:`Derive Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dev_login_audit:{token:`dev_login_audit`,schema:`admin`,table:`dev_login_audit`,label:`Dev login audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dict_entry:{token:`dict_entry`,schema:`dictionary`,table:`dict_entries`,label:`Dictionary entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dict_provider_publication:{token:`dict_provider_publication`,schema:`dictionary`,table:`dict_provider_publication`,label:`Dict Provider Publication`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dict_setting:{token:`dict_setting`,schema:`dictionary`,table:`dict_settings`,label:`Dict Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dm_conversation:{token:`dm_conversation`,schema:`communication`,table:`dm_conversations`,label:`Direct Conversation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dm_message:{token:`dm_message`,schema:`communication`,table:`dm_messages`,label:`Direct Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dm_participant:{token:`dm_participant`,schema:`communication`,table:`dm_conversation_participants`,label:`DM Conversation Participant`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},doc_render:{token:`doc_render`,schema:`custom`,table:`doc_render`,label:`Rendered Document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},doc_signature:{token:`doc_signature`,schema:`custom`,table:`doc_signature`,label:`Document Signature`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},dockets:{token:`dockets`,schema:`legal`,table:`dockets`,label:`Dockets`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},document:{token:`document`,schema:`content`,table:`document`,label:`Markdown document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`Documents`,referencePickable:!0,titleColumn:`title`,contentRole:`hybrid`,referenceCategory:null},document_version:{token:`document_version`,schema:`content`,table:`document_version`,label:`Document Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},domain_classification:{token:`domain_classification`,schema:`platform`,table:`domain_classification`,label:`Domain Classification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},edge_payload_kind:{token:`edge_payload_kind`,schema:`platform`,table:`edge_payload_kind`,label:`Edge payload kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},egress_device:{token:`egress_device`,schema:`platform`,table:`egress_device`,label:`Home connection computer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},egress_pairing:{token:`egress_pairing`,schema:`platform`,table:`egress_pairing`,label:`Home connection pairing`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},egress_ticket:{token:`egress_ticket`,schema:`platform`,table:`egress_ticket`,label:`Home connection ticket`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},emails:{token:`emails`,schema:`communication`,table:`emails`,label:`Emails`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embedding_cache:{token:`embedding_cache`,schema:`rag`,table:`embedding_cache`,label:`Embedding Cache`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_google_gemini_2_1536:{token:`embeddings_google_gemini_2_1536`,schema:`rag`,table:`embeddings_google_gemini_2_1536`,label:`Embeddings Google Gemini 2 1536`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_oai_3_small_1536:{token:`embeddings_oai_3_small_1536`,schema:`rag`,table:`embeddings_oai_3_small_1536`,label:`Embeddings Oai 3 Small 1536`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_voyage_4_large_1024:{token:`embeddings_voyage_4_large_1024`,schema:`rag`,table:`embeddings_voyage_4_large_1024`,label:`Embeddings Voyage 4 Large 1024`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},embeddings_voyage_code_3_1024:{token:`embeddings_voyage_code_3_1024`,schema:`rag`,table:`embeddings_voyage_code_3_1024`,label:`Embeddings Voyage Code 3 1024`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},endpoint_family_sweep_state:{token:`endpoint_family_sweep_state`,schema:`web`,table:`endpoint_family_sweep_state`,label:`Endpoint Family Sweep State`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},engine_owner_task:{token:`engine_owner_task`,schema:`seo`,table:`engine_owner_task`,label:`Engine Owner Task`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_grant:{token:`entity_grant`,schema:`platform`,table:`entity_grants`,label:`Entity grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_protected_value:{token:`entity_protected_value`,schema:`custom`,table:`entity_protected_value`,label:`Protected field value`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_protected_value_version:{token:`entity_protected_value_version`,schema:`custom`,table:`entity_protected_value_version`,label:`Protected field value version`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_relationship:{token:`entity_relationship`,schema:`platform`,table:`entity_relationships`,label:`Entity relationship`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},entity_type:{token:`entity_type`,schema:`platform`,table:`entity_types`,label:`Entity type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_campaign:{token:`esign_campaign`,schema:`esign`,table:`campaign`,label:`Signature campaign`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_campaign_member:{token:`esign_campaign_member`,schema:`esign`,table:`campaign_member`,label:`Campaign member`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_consent_disclosure:{token:`esign_consent_disclosure`,schema:`esign`,table:`consent_disclosure`,label:`E-sign consent disclosure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope:{token:`esign_envelope`,schema:`esign`,table:`envelope`,label:`Signature envelope`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_certificate:{token:`esign_envelope_certificate`,schema:`esign`,table:`envelope_certificate`,label:`Completion certificate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_document:{token:`esign_envelope_document`,schema:`esign`,table:`envelope_document`,label:`Envelope document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_event:{token:`esign_envelope_event`,schema:`esign`,table:`envelope_event`,label:`Envelope event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_external_ref:{token:`esign_envelope_external_ref`,schema:`esign`,table:`envelope_external_ref`,label:`Envelope external reference`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_envelope_signer:{token:`esign_envelope_signer`,schema:`esign`,table:`envelope_signer`,label:`Envelope signer`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_provider:{token:`esign_provider`,schema:`esign`,table:`provider`,label:`E-sign provider`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_provider_binding:{token:`esign_provider_binding`,schema:`esign`,table:`provider_binding`,label:`E-sign provider binding`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},esign_signing_key:{token:`esign_signing_key`,schema:`esign`,table:`signing_key`,label:`E-sign certificate signing key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},execution_event_cursor:{token:`execution_event_cursor`,schema:`runtime`,table:`execution_event_cursor`,label:`Execution event cursor`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},extension_auth_code:{token:`extension_auth_code`,schema:`extend`,table:`extension_auth_codes`,label:`Extension auth code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},external_link:{token:`external_link`,schema:`custom`,table:`external_link`,label:`External Link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},external_source:{token:`external_source`,schema:`custom`,table:`external_source`,label:`External Source`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},extract_sweep_state:{token:`extract_sweep_state`,schema:`workflow`,table:`extract_sweep_state`,label:`Extract sweep state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},fc_card:{token:`fc_card`,schema:`education`,table:`fc_card`,label:`Flashcard`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`front`,contentRole:null,referenceCategory:null},fc_detail:{token:`fc_detail`,schema:`education`,table:`fc_detail`,label:`Flashcard Detail`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},fc_set:{token:`fc_set`,schema:`education`,table:`fc_set`,label:`Flashcard Deck`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},feature_doc:{token:`feature_doc`,schema:`admin`,table:`feature_docs`,label:`Feature Doc`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`documentation`,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},feature_knob:{token:`feature_knob`,schema:`platform`,table:`feature_knob`,label:`Feature Knob`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},feedback_comments:{token:`feedback_comments`,schema:`users`,table:`feedback_comments`,label:`Feedback Comments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},feedback_user_messages:{token:`feedback_user_messages`,schema:`users`,table:`feedback_user_messages`,label:`Feedback User Messages`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file:{token:`file`,schema:`files`,table:`files`,label:`File`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources`,referencePickable:!0,titleColumn:`file_name`,contentRole:`source`,referenceCategory:null},file_analysis:{token:`file_analysis`,schema:`files`,table:`analysis`,label:`File Analysis`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_entities:{token:`file_entities`,schema:`files`,table:`entities`,label:`Extracted Term`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},file_overrides:{token:`file_overrides`,schema:`files`,table:`overrides`,label:`File Override`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_page_annotations:{token:`file_page_annotations`,schema:`files`,table:`page_annotations`,label:`Page Annotation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},file_pages:{token:`file_pages`,schema:`files`,table:`pages`,label:`File Page`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_rag_job:{token:`file_rag_job`,schema:`files`,table:`file_rag_jobs`,label:`File RAG job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},file_version:{token:`file_version`,schema:`files`,table:`file_versions`,label:`File Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:`Sources`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_account_tier:{token:`files_account_tier`,schema:`files`,table:`account_tiers`,label:`File account tier`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_machine_written_prefix:{token:`files_machine_written_prefix`,schema:`files`,table:`machine_written_prefixes`,label:`Machine-Written Prefix`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_sync_mapping:{token:`files_sync_mapping`,schema:`files`,table:`sync_mappings`,label:`Sync Mapping`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},files_user_account:{token:`files_user_account`,schema:`files`,table:`user_account`,label:`File account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},folder:{token:`folder`,schema:`files`,table:`folders`,label:`Folder`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources`,referencePickable:!0,titleColumn:`folder_name`,contentRole:`source`,referenceCategory:null},function_contract:{token:`function_contract`,schema:`hr`,table:`function_contract`,label:`Function Contract`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},game_badge:{token:`game_badge`,schema:`education`,table:`game_badge`,label:`Game Badge`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},game_result:{token:`game_result`,schema:`education`,table:`game_result`,label:`Game Result`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},game_room:{token:`game_room`,schema:`education`,table:`game_room`,label:`Game Room`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution:{token:`global_execution`,schema:`runtime`,table:`global_execution`,label:`Runtime Execution`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution_checkpoint:{token:`global_execution_checkpoint`,schema:`runtime`,table:`global_execution_checkpoint`,label:`Runtime Checkpoint`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution_control:{token:`global_execution_control`,schema:`runtime`,table:`global_execution_control`,label:`Global execution control`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_execution_event:{token:`global_execution_event`,schema:`runtime`,table:`global_execution_event`,label:`Runtime Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_meter_entry:{token:`global_meter_entry`,schema:`runtime`,table:`global_meter_entry`,label:`Runtime Meter Entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},global_origin:{token:`global_origin`,schema:`runtime`,table:`global_origin`,label:`Runtime Origin`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},global_request:{token:`global_request`,schema:`runtime`,table:`global_request`,label:`Runtime Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},google_document:{token:`google_document`,schema:`workbench`,table:`google_document`,label:`Google document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},growth_loop_event:{token:`growth_loop_event`,schema:`growth`,table:`loop_event`,label:`Growth Loop Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},growth_loop_run:{token:`growth_loop_run`,schema:`growth`,table:`loop_run`,label:`Growth Loop Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},growth_loop_stage_run:{token:`growth_loop_stage_run`,schema:`growth`,table:`loop_stage_run`,label:`Growth Loop Stage Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guardian_link:{token:`guardian_link`,schema:`education`,table:`guardian_link`,label:`Guardian link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guest_conversion_audit:{token:`guest_conversion_audit`,schema:`users`,table:`guest_conversion_audit`,label:`Guest conversion audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guest_execution_log:{token:`guest_execution_log`,schema:`users`,table:`guest_execution_log`,label:`Guest Execution Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guest_executions:{token:`guest_executions`,schema:`users`,table:`guest_executions`,label:`Guest Executions`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},guided_checklist_run:{token:`guided_checklist_run`,schema:`platform`,table:`guided_checklist_run`,label:`Guided Checklist Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},heatmap_save:{token:`heatmap_save`,schema:`workbench`,table:`heatmap_saves`,label:`Heatmap Save`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hindsight_enrollment:{token:`hindsight_enrollment`,schema:`hindsight`,table:`enrollment`,label:`Hindsight Enrollment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},hindsight_finding:{token:`hindsight_finding`,schema:`hindsight`,table:`finding`,label:`Hindsight Finding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_regression_case:{token:`hindsight_regression_case`,schema:`hindsight`,table:`regression_case`,label:`Regression Case`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_replay:{token:`hindsight_replay`,schema:`hindsight`,table:`replay`,label:`Hindsight Replay`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_replay_step:{token:`hindsight_replay_step`,schema:`hindsight`,table:`replay_step`,label:`Wire Replay Step`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hindsight_review:{token:`hindsight_review`,schema:`hindsight`,table:`review`,label:`Hindsight Review`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_access_audit:{token:`hr_access_audit`,schema:`hr`,table:`access_audit`,label:`Access audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_access_role:{token:`hr_access_role`,schema:`hr`,table:`access_role`,label:`HR access role`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},hr_accommodation_request:{token:`hr_accommodation_request`,schema:`hr`,table:`accommodation_request`,label:`Accommodation request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_ai_evidence:{token:`hr_ai_evidence`,schema:`hr`,table:`ai_evidence`,label:`AI evidence`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_alert_routing_rule:{token:`hr_alert_routing_rule`,schema:`hr`,table:`alert_routing_rule`,label:`Alert routing rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_application:{token:`hr_application`,schema:`hr`,table:`application`,label:`Application`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_approval_authority:{token:`hr_approval_authority`,schema:`hr`,table:`approval_authority`,label:`Approval authority`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_approval_delegation:{token:`hr_approval_delegation`,schema:`hr`,table:`approval_delegation`,label:`Approval delegation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_asset:{token:`hr_asset`,schema:`hr`,table:`asset`,label:`Asset`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_asset_assignment:{token:`hr_asset_assignment`,schema:`hr`,table:`asset_assignment`,label:`Asset assignment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_attendance_exception:{token:`hr_attendance_exception`,schema:`hr`,table:`attendance_exception`,label:`Attendance exception`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_auto_close_rule:{token:`hr_auto_close_rule`,schema:`hr`,table:`auto_close_rule`,label:`Auto-close rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_availability:{token:`hr_availability`,schema:`hr`,table:`availability`,label:`Availability`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_background_check:{token:`hr_background_check`,schema:`hr`,table:`background_check`,label:`Background check`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_benefits_event:{token:`hr_benefits_event`,schema:`hr`,table:`benefits_event`,label:`Benefits event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_calculation_snapshot:{token:`hr_calculation_snapshot`,schema:`hr`,table:`calculation_snapshot`,label:`Calculation snapshot`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_candidate:{token:`hr_candidate`,schema:`hr`,table:`candidate`,label:`Candidate`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`preferred_name`,contentRole:null,referenceCategory:null},hr_candidate_conversion:{token:`hr_candidate_conversion`,schema:`hr`,table:`candidate_conversion`,label:`Candidate conversion`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_candidate_message:{token:`hr_candidate_message`,schema:`hr`,table:`candidate_message`,label:`Candidate message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_careers_portal:{token:`hr_careers_portal`,schema:`hr`,table:`careers_portal`,label:`Careers portal`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},hr_checklist_item:{token:`hr_checklist_item`,schema:`hr`,table:`checklist_item`,label:`Checklist item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_checklist_run:{token:`hr_checklist_run`,schema:`hr`,table:`checklist_run`,label:`Checklist run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_checklist_template:{token:`hr_checklist_template`,schema:`hr`,table:`checklist_template`,label:`Checklist template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_checklist_template_item:{token:`hr_checklist_template_item`,schema:`hr`,table:`checklist_template_item`,label:`Checklist template item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_compensation:{token:`hr_compensation`,schema:`hr`,table:`compensation`,label:`Compensation record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_corrective_action:{token:`hr_corrective_action`,schema:`hr`,table:`corrective_action`,label:`Corrective action`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_course:{token:`hr_course`,schema:`hr`,table:`course`,label:`Course`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_course_version:{token:`hr_course_version`,schema:`hr`,table:`course_version`,label:`Course version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_credential:{token:`hr_credential`,schema:`hr`,table:`credential`,label:`Credential`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_crew:{token:`hr_crew`,schema:`hr`,table:`crew`,label:`Crew`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_deduction_code:{token:`hr_deduction_code`,schema:`hr`,table:`deduction_code`,label:`Deduction code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_department:{token:`hr_department`,schema:`hr`,table:`department`,label:`Department`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_derived_grant:{token:`hr_derived_grant`,schema:`hr`,table:`derived_grant`,label:`Derived grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_disposition_event:{token:`hr_disposition_event`,schema:`hr`,table:`disposition_event`,label:`Disposition event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_earning_code:{token:`hr_earning_code`,schema:`hr`,table:`earning_code`,label:`Earning code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_eeo_response:{token:`hr_eeo_response`,schema:`hr`,table:`eeo_response`,label:`EEO self-identification response`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_emergency_contact:{token:`hr_emergency_contact`,schema:`hr`,table:`emergency_contact`,label:`Emergency contact`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_employee:{token:`hr_employee`,schema:`hr`,table:`employee`,label:`Employee`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:`container`,referenceCategory:null},hr_employee_private:{token:`hr_employee_private`,schema:`hr`,table:`employee_private`,label:`Employee private record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_employer_profile:{token:`hr_employer_profile`,schema:`hr`,table:`employer_profile`,label:`Employer profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`legal_name`,contentRole:null,referenceCategory:null},hr_employment:{token:`hr_employment`,schema:`hr`,table:`employment`,label:`Employment spell`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_employment_pin:{token:`hr_employment_pin`,schema:`hr`,table:`employment_pin`,label:`Employment PIN`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_engagement:{token:`hr_engagement`,schema:`hr`,table:`engagement`,label:`Engagement`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_establishment:{token:`hr_establishment`,schema:`hr`,table:`establishment`,label:`Establishment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_external_identity:{token:`hr_external_identity`,schema:`hr`,table:`external_identity`,label:`External identity`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_field_policy:{token:`hr_field_policy`,schema:`hr`,table:`field_policy`,label:`Self-service field policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_holiday:{token:`hr_holiday`,schema:`hr`,table:`holiday`,label:`Holiday`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_holiday_calendar:{token:`hr_holiday_calendar`,schema:`hr`,table:`holiday_calendar`,label:`Holiday calendar`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_i9:{token:`hr_i9`,schema:`hr`,table:`i9`,label:`Form I-9`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_i9_document:{token:`hr_i9_document`,schema:`hr`,table:`i9_document`,label:`I-9 document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_incident:{token:`hr_incident`,schema:`hr`,table:`incident`,label:`Incident`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_incident_party:{token:`hr_incident_party`,schema:`hr`,table:`incident_party`,label:`Incident party`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_interview:{token:`hr_interview`,schema:`hr`,table:`interview`,label:`Interview`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_interview_kit:{token:`hr_interview_kit`,schema:`hr`,table:`interview_kit`,label:`Interview kit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_job_title:{token:`hr_job_title`,schema:`hr`,table:`job_title`,label:`Job title`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_jurisdiction:{token:`hr_jurisdiction`,schema:`hr`,table:`jurisdiction`,label:`Jurisdiction`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_jurisdiction_rule:{token:`hr_jurisdiction_rule`,schema:`hr`,table:`jurisdiction_rule`,label:`Jurisdiction rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_jurisdiction_rule_class:{token:`hr_jurisdiction_rule_class`,schema:`hr`,table:`jurisdiction_rule_class`,label:`Jurisdiction rule class`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},hr_jurisdiction_rule_org_decision:{token:`hr_jurisdiction_rule_org_decision`,schema:`hr`,table:`jurisdiction_rule_org_decision`,label:`Jurisdiction rule org decision`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_jurisdiction_rule_test:{token:`hr_jurisdiction_rule_test`,schema:`hr`,table:`jurisdiction_rule_test`,label:`Jurisdiction rule fixture`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_kiosk_device:{token:`hr_kiosk_device`,schema:`hr`,table:`kiosk_device`,label:`Kiosk device`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_kiosk_session:{token:`hr_kiosk_session`,schema:`hr`,table:`kiosk_session`,label:`Kiosk session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_labor_target:{token:`hr_labor_target`,schema:`hr`,table:`labor_target`,label:`Labor target`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_case:{token:`hr_leave_case`,schema:`hr`,table:`leave_case`,label:`Leave case`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_enrollment:{token:`hr_leave_enrollment`,schema:`hr`,table:`leave_enrollment`,label:`Leave enrollment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_ledger:{token:`hr_leave_ledger`,schema:`hr`,table:`leave_ledger`,label:`Leave ledger entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_leave_policy:{token:`hr_leave_policy`,schema:`hr`,table:`leave_policy`,label:`Leave policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_leave_request:{token:`hr_leave_request`,schema:`hr`,table:`leave_request`,label:`Leave request`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_legal_hold:{token:`hr_legal_hold`,schema:`hr`,table:`legal_hold`,label:`Legal hold`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`matter_name`,contentRole:null,referenceCategory:null},hr_legal_hold_item:{token:`hr_legal_hold_item`,schema:`hr`,table:`legal_hold_item`,label:`Legal hold item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_location:{token:`hr_location`,schema:`hr`,table:`location`,label:`Location`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_new_hire_report:{token:`hr_new_hire_report`,schema:`hr`,table:`new_hire_report`,label:`New hire report`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_offer:{token:`hr_offer`,schema:`hr`,table:`offer`,label:`Offer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_opening:{token:`hr_opening`,schema:`hr`,table:`opening`,label:`Opening`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_overtime_alert:{token:`hr_overtime_alert`,schema:`hr`,table:`overtime_alert`,label:`Overtime alert`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_overtime_alert_rule:{token:`hr_overtime_alert_rule`,schema:`hr`,table:`overtime_alert_rule`,label:`Overtime alert rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_overtime_preapproval:{token:`hr_overtime_preapproval`,schema:`hr`,table:`overtime_preapproval`,label:`Overtime pre-approval`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_pay_group:{token:`hr_pay_group`,schema:`hr`,table:`pay_group`,label:`Pay group`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_pay_period:{token:`hr_pay_period`,schema:`hr`,table:`pay_period`,label:`Pay period`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_pay_period_employment:{token:`hr_pay_period_employment`,schema:`hr`,table:`pay_period_employment`,label:`Pay period timesheet`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_payroll_export:{token:`hr_payroll_export`,schema:`hr`,table:`payroll_export`,label:`Payroll export`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_payroll_export_line:{token:`hr_payroll_export_line`,schema:`hr`,table:`payroll_export_line`,label:`Payroll export line`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_position_assignment:{token:`hr_position_assignment`,schema:`hr`,table:`position_assignment`,label:`Position assignment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_posting:{token:`hr_posting`,schema:`hr`,table:`posting`,label:`Job posting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_posting_publication:{token:`hr_posting_publication`,schema:`hr`,table:`posting_publication`,label:`Posting publication`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_provider_binding:{token:`hr_provider_binding`,schema:`hr`,table:`provider_binding`,label:`Provider binding`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_provider_event:{token:`hr_provider_event`,schema:`hr`,table:`provider_event`,label:`Provider seam event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_provisioning_result:{token:`hr_provisioning_result`,schema:`hr`,table:`provisioning_result`,label:`Provisioning result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_punch:{token:`hr_punch`,schema:`hr`,table:`punch`,label:`Punch`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_recalculation_batch:{token:`hr_recalculation_batch`,schema:`hr`,table:`recalculation_batch`,label:`Recalculation batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_record_class:{token:`hr_record_class`,schema:`hr`,table:`record_class`,label:`Record class`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},hr_records_request:{token:`hr_records_request`,schema:`hr`,table:`records_request`,label:`Records request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_reference_check:{token:`hr_reference_check`,schema:`hr`,table:`reference_check`,label:`Reference check`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_reporting_line:{token:`hr_reporting_line`,schema:`hr`,table:`reporting_line`,label:`Reporting line`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_requisition:{token:`hr_requisition`,schema:`hr`,table:`requisition`,label:`Requisition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`requisition_number`,contentRole:null,referenceCategory:null},hr_restricted_note:{token:`hr_restricted_note`,schema:`hr`,table:`restricted_note`,label:`Restricted note`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_retention_rule:{token:`hr_retention_rule`,schema:`hr`,table:`retention_rule`,label:`Retention rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_role_assignment:{token:`hr_role_assignment`,schema:`hr`,table:`role_assignment`,label:`HR role assignment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_schedule:{token:`hr_schedule`,schema:`hr`,table:`schedule`,label:`Schedule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_schedule_change:{token:`hr_schedule_change`,schema:`hr`,table:`schedule_change`,label:`Schedule change`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_schedule_guidance:{token:`hr_schedule_guidance`,schema:`hr`,table:`schedule_guidance`,label:`Schedule guidance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},hr_schedule_template:{token:`hr_schedule_template`,schema:`hr`,table:`schedule_template`,label:`Schedule template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_schedule_template_shift:{token:`hr_schedule_template_shift`,schema:`hr`,table:`schedule_template_shift`,label:`Schedule template shift`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_scorecard:{token:`hr_scorecard`,schema:`hr`,table:`scorecard`,label:`Scorecard`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_separation:{token:`hr_separation`,schema:`hr`,table:`separation`,label:`Separation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_shift:{token:`hr_shift`,schema:`hr`,table:`shift`,label:`Shift`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_shift_claim:{token:`hr_shift_claim`,schema:`hr`,table:`shift_claim`,label:`Shift claim`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_staffing_requirement:{token:`hr_staffing_requirement`,schema:`hr`,table:`staffing_requirement`,label:`Staffing requirement`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_survey:{token:`hr_survey`,schema:`hr`,table:`survey`,label:`Survey`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},hr_survey_invitation:{token:`hr_survey_invitation`,schema:`hr`,table:`survey_invitation`,label:`Survey invitation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_survey_question:{token:`hr_survey_question`,schema:`hr`,table:`survey_question`,label:`Survey question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_survey_response:{token:`hr_survey_response`,schema:`hr`,table:`survey_response`,label:`Survey response`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_tax_registration:{token:`hr_tax_registration`,schema:`hr`,table:`tax_registration`,label:`Tax registration`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_tax_withholding:{token:`hr_tax_withholding`,schema:`hr`,table:`tax_withholding`,label:`Tax withholding certificate`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_time_adjustment:{token:`hr_time_adjustment`,schema:`hr`,table:`time_adjustment`,label:`Time adjustment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_training_assignment:{token:`hr_training_assignment`,schema:`hr`,table:`training_assignment`,label:`Training assignment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_training_attempt:{token:`hr_training_attempt`,schema:`hr`,table:`training_attempt`,label:`Training attempt`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_transcript_entry:{token:`hr_transcript_entry`,schema:`hr`,table:`transcript_entry`,label:`Transcript entry`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_verification_letter_request:{token:`hr_verification_letter_request`,schema:`hr`,table:`verification_letter_request`,label:`Verification letter request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_work_interval:{token:`hr_work_interval`,schema:`hr`,table:`work_interval`,label:`Work interval`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_binding:{token:`hr_workflow_binding`,schema:`hr`,table:`workflow_binding`,label:`HR Workflow Binding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_decision:{token:`hr_workflow_decision`,schema:`hr`,table:`workflow_decision`,label:`HR Workflow Decision`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_definition:{token:`hr_workflow_definition`,schema:`hr`,table:`workflow_definition`,label:`HR Workflow Definition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_event:{token:`hr_workflow_event`,schema:`hr`,table:`workflow_event`,label:`HR Workflow Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_failure:{token:`hr_workflow_failure`,schema:`hr`,table:`workflow_failure`,label:`HR Workflow Failure`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_flow_type:{token:`hr_workflow_flow_type`,schema:`hr`,table:`workflow_flow_type`,label:`HR Workflow Flow Type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_instance:{token:`hr_workflow_instance`,schema:`hr`,table:`workflow_instance`,label:`HR Workflow Instance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_step:{token:`hr_workflow_step`,schema:`hr`,table:`workflow_step`,label:`HR Workflow Step`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workflow_step_definition:{token:`hr_workflow_step_definition`,schema:`hr`,table:`workflow_step_definition`,label:`HR Workflow Step Definition`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},hr_workweek:{token:`hr_workweek`,schema:`hr`,table:`workweek`,label:`Workweek`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},html_extraction:{token:`html_extraction`,schema:`api`,table:`html_extractions`,label:`HTML extraction`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_access_audit:{token:`iam_access_audit`,schema:`iam`,table:`access_audit`,label:`Access audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_api_key:{token:`iam_api_key`,schema:`iam`,table:`api_keys`,label:`API Key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_emergency_door_request:{token:`iam_emergency_door_request`,schema:`iam`,table:`emergency_door_request`,label:`Emergency access request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_org_availability_key:{token:`iam_org_availability_key`,schema:`iam`,table:`_org_availability_key`,label:`Organization availability key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},iam_read_lane_v2_rollout:{token:`iam_read_lane_v2_rollout`,schema:`iam`,table:`read_lane_v2_rollout`,label:`Read lane v2 rollout`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},idempotency:{token:`idempotency`,schema:`files`,table:`idempotency`,label:`Idempotency`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},industry:{token:`industry`,schema:`iam`,table:`industries`,label:`Industry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},industry_curator:{token:`industry_curator`,schema:`iam`,table:`industry_curators`,label:`Industry Curator`,baseTier:2,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},infra_status:{token:`infra_status`,schema:`public`,table:`infra_status`,label:`Infra status`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ingest_runs:{token:`ingest_runs`,schema:`legal`,table:`ingest_runs`,label:`Ingest Runs`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},integration_connection:{token:`integration_connection`,schema:`users`,table:`integration_connections`,label:`Integration connection`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},integration_connection_resource:{token:`integration_connection_resource`,schema:`users`,table:`integration_connection_resources`,label:`Integration connection resource`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_decision_interview:{token:`interview_decision_interview`,schema:`interview`,table:`decision_interview`,label:`Decision Interview`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_decision_question:{token:`interview_decision_question`,schema:`interview`,table:`decision_question`,label:`Decision Question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_document_revision:{token:`interview_document_revision`,schema:`interview`,table:`document_revision`,label:`Interview Document Revision`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_hole:{token:`interview_hole`,schema:`interview`,table:`hole`,label:`Interview Adversary Hole`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_question:{token:`interview_question`,schema:`interview`,table:`question`,label:`Interview Open Question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_session:{token:`interview_session`,schema:`interview`,table:`session`,label:`Vision Interview Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},interview_turn:{token:`interview_turn`,schema:`interview`,table:`turn`,label:`Interview Turn`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},invitation:{token:`invitation`,schema:`iam`,table:`invitations`,label:`Invitation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},invitation_code:{token:`invitation_code`,schema:`users`,table:`invitation_codes`,label:`Invitation Code`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},invitation_request:{token:`invitation_request`,schema:`users`,table:`invitation_requests`,label:`Invitation Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_comment:{token:`io_comment`,schema:`custom`,table:`io_comment`,label:`Record comment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_contract:{token:`io_contract`,schema:`content_ir`,table:`io_contract`,label:`Io Contract`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_import:{token:`io_import`,schema:`custom`,table:`io_import`,label:`Import run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},io_outbox:{token:`io_outbox`,schema:`custom`,table:`io_outbox`,label:`Record change outbox`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},item:{token:`item`,schema:`assignment`,table:`item`,label:`Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},item_mastery:{token:`item_mastery`,schema:`education`,table:`item_mastery`,label:`Item Mastery`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},judge_verdict:{token:`judge_verdict`,schema:`platform`,table:`judge_verdict`,label:`Judge Verdict`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},jurisdiction_policy:{token:`jurisdiction_policy`,schema:`crm`,table:`jurisdiction_policy`,label:`Jurisdiction policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},keyword_classification_queue:{token:`keyword_classification_queue`,schema:`seo`,table:`keyword_classification_queue`,label:`Keyword Classification Queue`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_alert:{token:`kg_alert`,schema:`rag`,table:`kg_alerts`,label:`KG Alert`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_chunk_entities:{token:`kg_chunk_entities`,schema:`rag`,table:`kg_chunk_entities`,label:`Kg Chunk Entities`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_chunks:{token:`kg_chunks`,schema:`rag`,table:`kg_chunks`,label:`Kg Chunks`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_clusters:{token:`kg_clusters`,schema:`rag`,table:`kg_clusters`,label:`Kg Clusters`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_edges:{token:`kg_edges`,schema:`rag`,table:`kg_edges`,label:`Kg Edges`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_entities:{token:`kg_entities`,schema:`rag`,table:`kg_entities`,label:`Kg Entities`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_entity_aliases:{token:`kg_entity_aliases`,schema:`rag`,table:`kg_entity_aliases`,label:`Kg Entity Aliases`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_suggestion_ack:{token:`kg_suggestion_ack`,schema:`rag`,table:`kg_suggestion_ack`,label:`KG Suggestion Ack`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_sweep_queue:{token:`kg_sweep_queue`,schema:`rag`,table:`kg_sweep_queue`,label:`KG Sweep Queue`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_sweep_run:{token:`kg_sweep_run`,schema:`rag`,table:`kg_sweep_run`,label:`KG Sweep Run`,baseTier:3,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_sweep_state:{token:`kg_sweep_state`,schema:`rag`,table:`kg_sweep_state`,label:`KG Sweep State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},kg_value_match:{token:`kg_value_match`,schema:`rag`,table:`kg_value_matches`,label:`KG Value Match`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_override:{token:`knob_override`,schema:`platform`,table:`knob_override`,label:`Knob Override`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_override_audit:{token:`knob_override_audit`,schema:`platform`,table:`knob_override_audit`,label:`Knob override audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_rung_lock:{token:`knob_rung_lock`,schema:`platform`,table:`knob_rung_lock`,label:`Knob Rung Lock`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_scope_kind:{token:`knob_scope_kind`,schema:`platform`,table:`knob_scope_kind`,label:`Knob scope kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},knob_write_door:{token:`knob_write_door`,schema:`platform`,table:`knob_write_door`,label:`Knob write door`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},league_membership:{token:`league_membership`,schema:`education`,table:`league_membership`,label:`League Membership`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},learn_doc:{token:`learn_doc`,schema:`education`,table:`learn_doc`,label:`Study Guide`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},library_doc:{token:`library_doc`,schema:`rag`,table:`library_docs`,label:`Library Document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},lifecycle_archive:{token:`lifecycle_archive`,schema:`platform`,table:`lifecycle_archive`,label:`Lifecycle archive`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_archive_row:{token:`lifecycle_archive_row`,schema:`platform`,table:`lifecycle_archive_row`,label:`Lifecycle archive row`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_audit:{token:`lifecycle_audit`,schema:`platform`,table:`lifecycle_audit`,label:`Lifecycle audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_entity_plan:{token:`lifecycle_entity_plan`,schema:`platform`,table:`lifecycle_entity_plan`,label:`Lifecycle entity plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_map_build:{token:`lifecycle_map_build`,schema:`platform`,table:`lifecycle_map_build`,label:`Lifecycle map build`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_reference_map:{token:`lifecycle_reference_map`,schema:`platform`,table:`lifecycle_reference_map`,label:`Lifecycle reference map`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_run:{token:`lifecycle_run`,schema:`platform`,table:`lifecycle_run`,label:`Lifecycle run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},lifecycle_tier_ledger:{token:`lifecycle_tier_ledger`,schema:`platform`,table:`lifecycle_tier_ledger`,label:`Lifecycle tier ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},location:{token:`location`,schema:`seo`,table:`location`,label:`Location`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate:{token:`mandate`,schema:`mandate`,table:`definition`,label:`Mandate`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},mandate_advance_batch_row:{token:`mandate_advance_batch_row`,schema:`mandate`,table:`advance_batch_row`,label:`Pin advance batch row`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_binding:{token:`mandate_binding`,schema:`mandate`,table:`binding`,label:`Mandate Binding (new)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_candidate:{token:`mandate_candidate`,schema:`mandate`,table:`candidate`,label:`Mandate Candidate`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_candidate_run:{token:`mandate_candidate_run`,schema:`mandate`,table:`candidate_run`,label:`Mandate Candidate Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_candidate_run_payload:{token:`mandate_candidate_run_payload`,schema:`mandate`,table:`candidate_run_payload`,label:`Mandate Candidate Run Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_goal_clauses:{token:`mandate_goal_clauses`,schema:`mandate`,table:`goal_clauses`,label:`Mandate Goal Clauses`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_observation:{token:`mandate_observation`,schema:`mandate`,table:`observation`,label:`Mandate Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_reference:{token:`mandate_reference`,schema:`mandate`,table:`reference`,label:`Mandate Reference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_scan:{token:`mandate_scan`,schema:`mandate`,table:`scan`,label:`Mandate Scan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mandate_treatment:{token:`mandate_treatment`,schema:`mandate`,table:`treatment`,label:`Mandate Treatment (new)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},marketing_initiative:{token:`marketing_initiative`,schema:`marketing`,table:`initiative`,label:`Initiative`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},masterwork_corpus_item:{token:`masterwork_corpus_item`,schema:`platform`,table:`masterwork_corpus_item`,label:`Masterwork Corpus Piece`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},masterwork_run:{token:`masterwork_run`,schema:`platform`,table:`masterwork_run`,label:`Masterwork Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Masterwork`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},masterwork_run_kind:{token:`masterwork_run_kind`,schema:`platform`,table:`masterwork_run_kind`,label:`Masterwork Run Kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},masterwork_source:{token:`masterwork_source`,schema:`platform`,table:`masterwork_source`,label:`Masterwork Source`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},math_course_structure:{token:`math_course_structure`,schema:`education`,table:`math_course_structure`,label:`Math Course Structure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},math_problem:{token:`math_problem`,schema:`education`,table:`math_problems`,label:`Math problem`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},matrx_action_ledger:{token:`matrx_action_ledger`,schema:`platform`,table:`matrx_action_ledger`,label:`Action ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mcp_config:{token:`mcp_config`,schema:`tool`,table:`mcp_config`,label:`MCP config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mcp_server:{token:`mcp_server`,schema:`tool`,table:`mcp_server`,label:`MCP server`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mcp_user_conn:{token:`mcp_user_conn`,schema:`tool`,table:`mcp_user_conn`,label:`MCP user connection`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_capture_handoff:{token:`media_capture_handoff`,schema:`media`,table:`capture_handoff`,label:`Capture Handoff`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_catalog_setting:{token:`media_catalog_setting`,schema:`media`,table:`catalog_setting`,label:`Media Catalog Setting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_library_item:{token:`media_library_item`,schema:`media`,table:`library_item`,label:`Library Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_selection_item:{token:`media_selection_item`,schema:`media`,table:`selection_item`,label:`Selection Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_selection_job:{token:`media_selection_job`,schema:`media`,table:`selection_job`,label:`Selection Job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},media_source_library:{token:`media_source_library`,schema:`media`,table:`source_library`,label:`Source Library`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_call_invite:{token:`meet_call_invite`,schema:`communication`,table:`meet_call_invites`,label:`Call Invite`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_chat_message:{token:`meet_chat_message`,schema:`communication`,table:`meet_chat_messages`,label:`Meeting Chat Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_invitee:{token:`meet_invitee`,schema:`communication`,table:`meet_invitees`,label:`Meeting Invitee`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_meeting:{token:`meet_meeting`,schema:`communication`,table:`meet_meetings`,label:`Meeting`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},meet_note:{token:`meet_note`,schema:`communication`,table:`meet_notes`,label:`Meeting Note`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_occurrence_override:{token:`meet_occurrence_override`,schema:`communication`,table:`meet_occurrence_overrides`,label:`Meeting Occurrence Override`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_participant:{token:`meet_participant`,schema:`communication`,table:`meet_participants`,label:`Meeting Participant`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_recording:{token:`meet_recording`,schema:`communication`,table:`meet_recordings`,label:`Meeting Recording`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meet_transcript_segment:{token:`meet_transcript_segment`,schema:`communication`,table:`meet_transcript_segments`,label:`Meeting Transcript Segment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},membership:{token:`membership`,schema:`iam`,table:`memberships`,label:`Membership`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},membership_grant:{token:`membership_grant`,schema:`iam`,table:`membership_grant`,label:`Membership Grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},merge_field_provenance:{token:`merge_field_provenance`,schema:`custom`,table:`merge_field_provenance`,label:`Merge Field Provenance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},message:{token:`message`,schema:`chat`,table:`message`,label:`Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},message_template:{token:`message_template`,schema:`agent`,table:`message_template`,label:`Message Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},message_template_detail:{token:`message_template_detail`,schema:`agent`,table:`message_template_detail`,label:`Message Template Detail`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meta_excluded_schema:{token:`meta_excluded_schema`,schema:`meta`,table:`excluded_schema`,label:`Excluded schema`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},meta_table_stats_history:{token:`meta_table_stats_history`,schema:`meta`,table:`table_stats_history`,label:`Table stats history`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},metadata_reserved_keys:{token:`metadata_reserved_keys`,schema:`platform`,table:`metadata_reserved_keys`,label:`Metadata Reserved Keys`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},migration_log:{token:`migration_log`,schema:`history`,table:`migration_log`,label:`Migration Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mtx_media_heal_queue:{token:`mtx_media_heal_queue`,schema:`platform`,table:`mtx_media_heal_queue`,label:`Mtx Media Heal Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},mtx_public_url_guard:{token:`mtx_public_url_guard`,schema:`platform`,table:`mtx_public_url_guard`,label:`Public URL guard`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ner_shadow:{token:`ner_shadow`,schema:`rag`,table:`ner_canonicalizer_shadow`,label:`NER Shadow`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},note:{token:`note`,schema:`workbench`,table:`notes`,label:`Note`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources & Outputs`,referencePickable:!0,titleColumn:`label`,contentRole:`hybrid`,referenceCategory:null},note_folder:{token:`note_folder`,schema:`workbench`,table:`note_folders`,label:`Note Folder`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},notification:{token:`notification`,schema:`communication`,table:`notification`,label:`Notification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_channel_preference:{token:`notification_channel_preference`,schema:`communication`,table:`notification_channel_preference`,label:`Notification Channel Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_event_override:{token:`notification_event_override`,schema:`communication`,table:`notification_event_override`,label:`Notification Event Override`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_event_type:{token:`notification_event_type`,schema:`communication`,table:`notification_event_type`,label:`Notification Event Type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_preference:{token:`notification_preference`,schema:`communication`,table:`notification_preference`,label:`Notification Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notification_submission:{token:`notification_submission`,schema:`communication`,table:`notification_submission`,label:`Self notification submission`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},notify_outsider_door_baseline:{token:`notify_outsider_door_baseline`,schema:`hr`,table:`notify_outsider_door_baseline`,label:`Notify Outsider Door Baseline`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},oauth_handoff_claim:{token:`oauth_handoff_claim`,schema:`platform`,table:`_oauth_handoff_claim`,label:`Oauth Handoff Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},opinion_clusters:{token:`opinion_clusters`,schema:`legal`,table:`opinion_clusters`,label:`Opinion Clusters`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},opinions:{token:`opinions`,schema:`legal`,table:`opinions`,label:`Opinions`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_check_item:{token:`ops_check_item`,schema:`ops`,table:`check_item`,label:`Check Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_check_run:{token:`ops_check_run`,schema:`ops`,table:`check_run`,label:`Check Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_db_host_sample:{token:`ops_db_host_sample`,schema:`ops`,table:`db_host_sample`,label:`Database host sample`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_issue_class:{token:`ops_issue_class`,schema:`ops`,table:`ops_issue_class`,label:`Ops Issue Class`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_issue_event:{token:`ops_issue_event`,schema:`ops`,table:`ops_issue_event`,label:`Ops Issue Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_proof_check:{token:`ops_proof_check`,schema:`ops`,table:`proof_check`,label:`Proof Check`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_proof_run:{token:`ops_proof_run`,schema:`ops`,table:`proof_run`,label:`Proof Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ops_proof_scenario:{token:`ops_proof_scenario`,schema:`ops`,table:`proof_scenario`,label:`Proof Scenario`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_admin_audit:{token:`org_admin_audit`,schema:`iam`,table:`org_admin_audit`,label:`Org admin audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_change_policy:{token:`org_change_policy`,schema:`platform`,table:`org_change_policy`,label:`Org Change Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_context_ledger:{token:`org_context_ledger`,schema:`platform`,table:`org_context_ledger`,label:`Org Context Ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_industries:{token:`org_industries`,schema:`iam`,table:`org_industries`,label:`Org Industries`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_member_control:{token:`org_member_control`,schema:`iam`,table:`org_member_controls`,label:`Org member control`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_module_config:{token:`org_module_config`,schema:`platform`,table:`org_module_config`,label:`Organization module configuration`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},org_plan:{token:`org_plan`,schema:`billing`,table:`org_plan`,label:`Org Plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},organization:{token:`organization`,schema:`iam`,table:`organizations`,label:`Organization`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},organization_preferences:{token:`organization_preferences`,schema:`iam`,table:`organization_preferences`,label:`Organization Preferences`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},organization_visibility_version:{token:`organization_visibility_version`,schema:`custom`,table:`organization_visibility_version`,label:`Organization Visibility Version`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},output_feedback:{token:`output_feedback`,schema:`platform`,table:`output_feedback`,label:`Output Feedback`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},outreach_acceptance:{token:`outreach_acceptance`,schema:`crm`,table:`outreach_acceptance`,label:`Outreach Acceptance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_extraction_job:{token:`page_extraction_job`,schema:`docproc`,table:`page_extraction_jobs`,label:`Extraction Dataset`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},page_extraction_page_run:{token:`page_extraction_page_run`,schema:`docproc`,table:`page_extraction_page_runs`,label:`Page Extraction Page Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_extraction_results:{token:`page_extraction_results`,schema:`docproc`,table:`page_extraction_results`,label:`Page Extraction Results`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_extraction_runs:{token:`page_extraction_runs`,schema:`docproc`,table:`page_extraction_runs`,label:`Page Extraction Runs`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_intent_queue:{token:`page_intent_queue`,schema:`seo`,table:`page_intent_queue`,label:`Page Intent Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},page_mapping_queue:{token:`page_mapping_queue`,schema:`seo`,table:`page_mapping_queue`,label:`Page Mapping Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},part_config:{token:`part_config`,schema:`partman`,table:`part_config`,label:`Part Config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},part_config_sub:{token:`part_config_sub`,schema:`partman`,table:`part_config_sub`,label:`Part Config Sub`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},party:{token:`party`,schema:`crm`,table:`party`,label:`Contact`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:`source`,referenceCategory:null},party_contact_point:{token:`party_contact_point`,schema:`crm`,table:`party_contact_point`,label:`Contact Point`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},passkey_credential:{token:`passkey_credential`,schema:`users`,table:`passkey_credentials`,label:`Passkey credential`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pc_article:{token:`pc_article`,schema:`podcast`,table:`pc_articles`,label:`Podcast Article`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_episode:{token:`pc_episode`,schema:`podcast`,table:`pc_episodes`,label:`Podcast Episode`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_show:{token:`pc_show`,schema:`podcast`,table:`pc_shows`,label:`Podcast Show`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_studio_run:{token:`pc_studio_run`,schema:`podcast`,table:`pc_studio_runs`,label:`Podcast Studio Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},pc_studio_run_asset:{token:`pc_studio_run_asset`,schema:`podcast`,table:`pc_studio_run_assets`,label:`Podcast Studio Run Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pdf_consolidation_log:{token:`pdf_consolidation_log`,schema:`pdf`,table:`pdf_consolidation_log`,label:`Pdf Consolidation Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pdf_redaction_audit:{token:`pdf_redaction_audit`,schema:`pdf`,table:`pdf_redaction_audits`,label:`PDF Redaction Audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},pdf_redaction_key_escrow:{token:`pdf_redaction_key_escrow`,schema:`pdf`,table:`pdf_redaction_key_escrow`,label:`Pdf Redaction Key Escrow`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},permission_grant:{token:`permission_grant`,schema:`iam`,table:`permissions`,label:`Permission grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_cms_fill_item:{token:`plan_cms_fill_item`,schema:`plan`,table:`cms_fill_item`,label:`CMS Fill Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_cms_fill_job:{token:`plan_cms_fill_job`,schema:`plan`,table:`cms_fill_job`,label:`CMS Fill Job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_entity:{token:`plan_entity`,schema:`plan`,table:`entity`,label:`Plan Entity`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},plan_node:{token:`plan_node`,schema:`plan`,table:`node`,label:`Plan Node`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},plan_node_artifact:{token:`plan_node_artifact`,schema:`plan`,table:`node_artifact`,label:`Plan Node Artifact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_node_step:{token:`plan_node_step`,schema:`plan`,table:`node_step`,label:`Plan Node Step`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},plan_profile:{token:`plan_profile`,schema:`plan`,table:`profile`,label:`Plan Vertical Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`vertical`,contentRole:null,referenceCategory:null},platform_action_request:{token:`platform_action_request`,schema:`platform`,table:`action_request`,label:`Action Request`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_actor_session:{token:`platform_actor_session`,schema:`platform`,table:`actor_session`,label:`Actor session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_actor_token:{token:`platform_actor_token`,schema:`platform`,table:`actor_token`,label:`Actor token`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_actor_token_event:{token:`platform_actor_token_event`,schema:`platform`,table:`actor_token_event`,label:`Actor token event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_class_approval_by_arman:{token:`platform_class_approval_by_arman`,schema:`platform`,table:`class_approval_by_arman`,label:`Class approval by Arman`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_continued_access:{token:`platform_continued_access`,schema:`platform`,table:`continued_access`,label:`Continued Access`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_census_run:{token:`platform_cutover_census_run`,schema:`platform`,table:`cutover_census_run`,label:`Cutover census run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_evaluation_replaced:{token:`platform_cutover_evaluation_replaced`,schema:`platform`,table:`cutover_evaluation_replaced`,label:`Cutover evaluation replaced`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_evaluation_write:{token:`platform_cutover_evaluation_write`,schema:`platform`,table:`cutover_evaluation_write`,label:`Cutover evaluation write`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_seam:{token:`platform_cutover_seam`,schema:`platform`,table:`cutover_seam`,label:`Cutover seam`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_seam_measure:{token:`platform_cutover_seam_measure`,schema:`platform`,table:`cutover_seam_measure`,label:`Cutover seam measure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_cutover_seam_press:{token:`platform_cutover_seam_press`,schema:`platform`,table:`cutover_seam_press`,label:`Cutover seam press`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_dated_change:{token:`platform_dated_change`,schema:`platform`,table:`dated_change`,label:`Dated Change`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_doors_only_pending_cutover:{token:`platform_doors_only_pending_cutover`,schema:`platform`,table:`doors_only_pending_cutover`,label:`Doors-only pending cutover`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_google_calendar_event_create_intent:{token:`platform_google_calendar_event_create_intent`,schema:`platform`,table:`_google_calendar_event_create_intent`,label:`Google calendar event create intent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_google_task_create_intent:{token:`platform_google_task_create_intent`,schema:`platform`,table:`_google_task_create_intent`,label:`Google task create intent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_kernel_fingerprint_record:{token:`platform_kernel_fingerprint_record`,schema:`platform`,table:`kernel_fingerprint_record`,label:`Kernel fingerprint record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_outcome_event:{token:`platform_outcome_event`,schema:`platform`,table:`outcome_event`,label:`Outcome Event`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_outsider_consumer:{token:`platform_outsider_consumer`,schema:`platform`,table:`outsider_consumer`,label:`Outsider consumer`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_provision_base_contract_pending:{token:`platform_provision_base_contract_pending`,schema:`platform`,table:`provision_base_contract_pending`,label:`Provision base contract pending`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reachability:{token:`platform_reachability`,schema:`platform`,table:`reachability`,label:`Reachability`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reachability_rebuild_pending:{token:`platform_reachability_rebuild_pending`,schema:`platform`,table:`reachability_rebuild_pending`,label:`Reachability rebuild pending`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_realtime_topic_prefix:{token:`platform_realtime_topic_prefix`,schema:`platform`,table:`realtime_topic_prefix`,label:`Realtime topic prefix`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reference_category:{token:`platform_reference_category`,schema:`platform`,table:`reference_categories`,label:`Reference category`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_reference_declaration:{token:`platform_reference_declaration`,schema:`platform`,table:`reference_declaration`,label:`Reference declaration`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_repo:{token:`platform_repo`,schema:`platform`,table:`repo`,label:`Repository`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_saved_view:{token:`platform_saved_view`,schema:`platform`,table:`saved_view`,label:`Saved view`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_schema:{token:`platform_schema`,schema:`platform`,table:`schemas`,label:`Schema`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_secure_delivery:{token:`platform_secure_delivery`,schema:`platform`,table:`secure_delivery`,label:`Secure Delivery`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_share_link:{token:`platform_share_link`,schema:`platform`,table:`share_links`,label:`Share link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},platform_strict_class_probe:{token:`platform_strict_class_probe`,schema:`platform`,table:`strict_class_probe`,label:`Strict class probe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},podcast_race:{token:`podcast_race`,schema:`podcast`,table:`pc_race`,label:`Podcast Race Episode`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},position:{token:`position`,schema:`agent`,table:`position`,label:`Position`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},processed_document:{token:`processed_document`,schema:`docproc`,table:`processed_documents`,label:`Source`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},processed_document_page:{token:`processed_document_page`,schema:`docproc`,table:`processed_document_pages`,label:`Processed document page`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_file:{token:`product_capture_file`,schema:`workbench`,table:`product_capture_file`,label:`Product Capture File`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_item:{token:`product_capture_item`,schema:`workbench`,table:`product_capture_item`,label:`Product Capture Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_payload:{token:`product_capture_payload`,schema:`workbench`,table:`product_capture_payload`,label:`Product Capture Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_product:{token:`product_capture_product`,schema:`workbench`,table:`product_capture_product`,label:`Product Capture Product`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},product_capture_question:{token:`product_capture_question`,schema:`workbench`,table:`product_capture_question`,label:`Product Capture Question`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},project:{token:`project`,schema:`projects`,table:`projects`,label:`Project`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Workspaces`,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},provider_account:{token:`provider_account`,schema:`provider`,table:`account`,label:`Provider operating account`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provider_account_credential:{token:`provider_account_credential`,schema:`provider`,table:`account_credential`,label:`Provider account credential association`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision:{token:`provision`,schema:`mandate`,table:`provision`,label:`Mandate Provision (new)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_generate_target:{token:`provision_generate_target`,schema:`platform`,table:`provision_generate_target`,label:`Provision Generate Target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_grant:{token:`provision_grant`,schema:`platform`,table:`provision_grant`,label:`Provision Grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_marker:{token:`provision_marker`,schema:`platform`,table:`provision_marker`,label:`Provision Marker`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_rule_message:{token:`provision_rule_message`,schema:`platform`,table:`provision_rule_message`,label:`Provision Rule Message`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_schema:{token:`provision_schema`,schema:`platform`,table:`provision_schema`,label:`Provision Schema`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_shape_debt:{token:`provision_shape_debt`,schema:`platform`,table:`provision_shape_debt`,label:`Provision Shape Debt`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_spec:{token:`provision_spec`,schema:`platform`,table:`provision_spec`,label:`Provision Spec`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_spec_grandfather:{token:`provision_spec_grandfather`,schema:`platform`,table:`provision_spec_grandfather`,label:`Provision Spec Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},provision_vocabulary:{token:`provision_vocabulary`,schema:`platform`,table:`provision_vocabulary`,label:`Provision Vocabulary`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},purpose:{token:`purpose`,schema:`platform`,table:`purpose`,label:`Purpose`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},quiz_session:{token:`quiz_session`,schema:`education`,table:`quiz_sessions`,label:`Quiz Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:`destination`,referenceCategory:null},rag_ingest_run:{token:`rag_ingest_run`,schema:`rag`,table:`ingest_run`,label:`Ingest Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},rag_library_audit_log:{token:`rag_library_audit_log`,schema:`rag`,table:`library_audit_log`,label:`Library audit log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},rate_limit_buckets:{token:`rate_limit_buckets`,schema:`files`,table:`rate_limit_buckets`,label:`Rate Limit Buckets`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},reachability_pending:{token:`reachability_pending`,schema:`platform`,table:`reachability_pending`,label:`Reachability pending`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},recompute_queue:{token:`recompute_queue`,schema:`hr`,table:`_recompute_queue`,label:`Recompute Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},record:{token:`record`,schema:`custom`,table:`record`,label:`Record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Custom Data`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},record_alias:{token:`record_alias`,schema:`custom`,table:`record_alias`,label:`Record Alias`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},redaction_mapping:{token:`redaction_mapping`,schema:`pdf`,table:`redaction_mapping`,label:`Redaction Mapping`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_analysis:{token:`research_analysis`,schema:`research`,table:`rs_analysis`,label:`Research Analysis`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_content:{token:`research_content`,schema:`research`,table:`rs_content`,label:`Research Content`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_context_bundle:{token:`research_context_bundle`,schema:`research`,table:`rs_context_bundle`,label:`Research Context Bundle`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`research`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},research_document:{token:`research_document`,schema:`research`,table:`rs_document`,label:`Research Document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},research_intent:{token:`research_intent`,schema:`research`,table:`research_intent`,label:`Research Intent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_keyword:{token:`research_keyword`,schema:`research`,table:`rs_keyword`,label:`Research Keyword`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_media:{token:`research_media`,schema:`research`,table:`rs_media`,label:`Research Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_source:{token:`research_source`,schema:`research`,table:`rs_source`,label:`Research Source`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},research_synthesis:{token:`research_synthesis`,schema:`research`,table:`rs_synthesis`,label:`Research Synthesis`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},research_tag:{token:`research_tag`,schema:`research`,table:`rs_tag`,label:`Research Tag`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},research_template:{token:`research_template`,schema:`research`,table:`rs_template`,label:`Research Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},research_topic:{token:`research_topic`,schema:`research`,table:`rs_topic`,label:`Research Topic`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},retention_policy:{token:`retention_policy`,schema:`platform`,table:`retention_policy`,label:`Retention policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},retrieval_audit:{token:`retrieval_audit`,schema:`rag`,table:`retrieval_audit`,label:`Retrieval audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},review_queue:{token:`review_queue`,schema:`agent`,table:`review_queue`,label:`Review Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},route_manifest_entry:{token:`route_manifest_entry`,schema:`platform`,table:`route_manifest`,label:`Route Manifest Entry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},row_version:{token:`row_version`,schema:`history`,table:`row_versions`,label:`Row version`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},rulebook:{token:`rulebook`,schema:`platform`,table:`rulebook`,label:`Rulebook`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`Knowledge`,referencePickable:!0,titleColumn:`name`,contentRole:`source`,referenceCategory:null},runtime_operation_stream:{token:`runtime_operation_stream`,schema:`runtime`,table:`operation_stream`,label:`Operation stream`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},runtime_operation_stream_batch:{token:`runtime_operation_stream_batch`,schema:`runtime`,table:`operation_stream_batch`,label:`Operation stream batch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sandbox_instance:{token:`sandbox_instance`,schema:`public`,table:`sandbox_instances`,label:`Sandbox Instance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sch_agent_task:{token:`sch_agent_task`,schema:`scheduler`,table:`sch_agent_task`,label:`Agent Task Config`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sch_run:{token:`sch_run`,schema:`scheduler`,table:`sch_run`,label:`Task Run`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sch_task:{token:`sch_task`,schema:`scheduler`,table:`sch_task`,label:`Scheduled Task`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},sch_trigger:{token:`sch_trigger`,schema:`scheduler`,table:`sch_trigger`,label:`Task Trigger`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_client_exposure:{token:`schema_client_exposure`,schema:`platform`,table:`schema_client_exposure`,label:`Schema Client Exposure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_migration_ledger:{token:`schema_migration_ledger`,schema:`public`,table:`_schema_migrations`,label:`Migration ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_migration_legacy:{token:`schema_migration_legacy`,schema:`public`,table:`schema_migrations`,label:`Legacy migration ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_migration_slot_grandfather:{token:`schema_migration_slot_grandfather`,schema:`public`,table:`_schema_migration_slot_grandfather`,label:`Schema Migration Slot Grandfather`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},schema_templates:{token:`schema_templates`,schema:`workbench`,table:`schema_templates`,label:`Schema Templates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope:{token:`scope`,schema:`context`,table:`scopes`,label:`Scope`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`container`,referenceCategory:null},scope_association_suggestion:{token:`scope_association_suggestion`,schema:`rag`,table:`scope_association_suggestions`,label:`Scope Association Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_dataset_instance:{token:`scope_dataset_instance`,schema:`context`,table:`scope_dataset_instances`,label:`Scope dataset instance`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_door_registry:{token:`scope_door_registry`,schema:`context`,table:`scope_door_registry`,label:`Scope Door Registry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_item_value_suggestion:{token:`scope_item_value_suggestion`,schema:`rag`,table:`scope_item_value_suggestions`,label:`Scope Item Value Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_suggestion:{token:`scope_suggestion`,schema:`rag`,table:`scope_suggestions`,label:`Scope Suggestion`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scope_type:{token:`scope_type`,schema:`context`,table:`scope_types`,label:`Scope Type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`slug`,contentRole:`container`,referenceCategory:null},scrape_domain:{token:`scrape_domain`,schema:`scraper`,table:`scrape_domain`,label:`Scrape Domain`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_domain_settings:{token:`scrape_domain_settings`,schema:`scraper`,table:`scrape_domain_settings`,label:`Scrape Domain Settings`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_failure_log:{token:`scrape_failure_log`,schema:`scraper`,table:`scrape_failure_log`,label:`Scrape Failure Log`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_parsed_page:{token:`scrape_parsed_page`,schema:`scraper`,table:`scrape_parsed_page`,label:`Parsed page`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_path_override:{token:`scrape_path_override`,schema:`scraper`,table:`scrape_path_override`,label:`Scrape Path Override`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_path_pattern:{token:`scrape_path_pattern`,schema:`scraper`,table:`scrape_path_pattern`,label:`Scrape Path Pattern`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},scrape_retry_queue:{token:`scrape_retry_queue`,schema:`scraper`,table:`scrape_retry_queue`,label:`Scrape Retry Queue`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},search_item:{token:`search_item`,schema:`platform`,table:`search_item`,label:`Search item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_capability:{token:`seo_ai_capability`,schema:`seo`,table:`ai_capability`,label:`SEO AI capability`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_citation:{token:`seo_ai_visibility_citation`,schema:`seo`,table:`ai_visibility_citation`,label:`AI Visibility Citation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_claim:{token:`seo_ai_visibility_claim`,schema:`seo`,table:`ai_visibility_claim`,label:`AI Visibility Claim`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_panel:{token:`seo_ai_visibility_panel`,schema:`seo`,table:`ai_visibility_panel`,label:`AI Visibility Panel`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_response:{token:`seo_ai_visibility_response`,schema:`seo`,table:`ai_visibility_response`,label:`AI Visibility Response`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_ai_visibility_signal:{token:`seo_ai_visibility_signal`,schema:`seo`,table:`ai_visibility_signal`,label:`AI Visibility Signal`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink:{token:`seo_backlink`,schema:`seo`,table:`backlink`,label:`SEO Backlink`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_change_event:{token:`seo_backlink_change_event`,schema:`seo`,table:`backlink_change_event`,label:`Backlink Change Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_dimension_snapshot:{token:`seo_backlink_dimension_snapshot`,schema:`seo`,table:`backlink_dimension_snapshot`,label:`Backlink Dimension Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_observation:{token:`seo_backlink_observation`,schema:`seo`,table:`backlink_observation`,label:`Backlink Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_backlink_snapshot:{token:`seo_backlink_snapshot`,schema:`seo`,table:`backlink_snapshot`,label:`Backlink Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_assessment:{token:`seo_change_assessment`,schema:`seo`,table:`change_assessment`,label:`SEO Change Assessment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_event:{token:`seo_change_event`,schema:`seo`,table:`change_event`,label:`SEO Change Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_item:{token:`seo_change_item`,schema:`seo`,table:`change_item`,label:`SEO Change Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_metric:{token:`seo_change_metric`,schema:`seo`,table:`change_metric`,label:`SEO Change Metric`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_change_set:{token:`seo_change_set`,schema:`seo`,table:`change_set`,label:`SEO Change`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:`title`,contentRole:`source`,referenceCategory:null},seo_change_theory:{token:`seo_change_theory`,schema:`seo`,table:`change_theory`,label:`SEO Change Theory`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_collection_run:{token:`seo_collection_run`,schema:`seo`,table:`collection_run`,label:`SEO Collection Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_competitor:{token:`seo_competitor`,schema:`seo`,table:`competitor`,label:`SEO Competitor`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_competitor_observation:{token:`seo_competitor_observation`,schema:`seo`,table:`competitor_observation`,label:`Competitor Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_competitor_opportunity:{token:`seo_competitor_opportunity`,schema:`seo`,table:`competitor_opportunity`,label:`Competitor Opportunity`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_coverage_mention:{token:`seo_coverage_mention`,schema:`seo`,table:`coverage_mention`,label:`Coverage Mention`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_coverage_tracker:{token:`seo_coverage_tracker`,schema:`seo`,table:`coverage_tracker`,label:`Coverage Tracker`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_dimension_value_matcher:{token:`seo_dimension_value_matcher`,schema:`seo`,table:`dimension_value_matcher`,label:`Dimension Value Matcher`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_engine_schedule:{token:`seo_engine_schedule`,schema:`seo`,table:`engine_schedule`,label:`SEO Engine Schedule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_geo_place:{token:`seo_geo_place`,schema:`seo`,table:`geo_place`,label:`Geo Place`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_gsc_dig_rule:{token:`seo_gsc_dig_rule`,schema:`seo`,table:`gsc_dig_rule`,label:`GSC Dig Rule`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword:{token:`seo_keyword`,schema:`seo`,table:`keyword`,label:`SEO Keyword`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:`phrase`,contentRole:null,referenceCategory:null},seo_keyword_class_rule:{token:`seo_keyword_class_rule`,schema:`seo`,table:`keyword_class_rule`,label:`Keyword Class Rule`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_edge:{token:`seo_keyword_edge`,schema:`seo`,table:`keyword_edge`,label:`Keyword Edge`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_facet:{token:`seo_keyword_facet`,schema:`seo`,table:`keyword_facet`,label:`Keyword Facet`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_market:{token:`seo_keyword_market`,schema:`seo`,table:`keyword_market`,label:`Keyword Market Data`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_market_observation:{token:`seo_keyword_market_observation`,schema:`seo`,table:`keyword_market_observation`,label:`Keyword Market Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_place:{token:`seo_keyword_place`,schema:`seo`,table:`keyword_place`,label:`Keyword Place`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_saved_view:{token:`seo_keyword_saved_view`,schema:`seo`,table:`keyword_saved_view`,label:`Keyword Saved View`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_keyword_topic:{token:`seo_keyword_topic`,schema:`seo`,table:`keyword_topic`,label:`Keyword Topic Assignment`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_landscape_brief:{token:`seo_landscape_brief`,schema:`seo`,table:`landscape_brief`,label:`Competitive Landscape Brief`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_link_gap_domain:{token:`seo_link_gap_domain`,schema:`seo`,table:`link_gap_domain`,label:`Link Gap Domain`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_link_gap_match:{token:`seo_link_gap_match`,schema:`seo`,table:`link_gap_match`,label:`Link Gap Match`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_map_facet:{token:`seo_map_facet`,schema:`seo`,table:`map_facet`,label:`Topical map facet`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_map_facet_value:{token:`seo_map_facet_value`,schema:`seo`,table:`map_facet_value`,label:`Topical map facet value`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_map_topic:{token:`seo_map_topic`,schema:`seo`,table:`map_topic`,label:`Topical map topic`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_page_measurement_health:{token:`seo_page_measurement_health`,schema:`seo`,table:`page_measurement_health`,label:`Page Measurement Health`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_page_performance:{token:`seo_page_performance`,schema:`seo`,table:`page_performance`,label:`Page Performance`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_pr_moment:{token:`seo_pr_moment`,schema:`seo`,table:`pr_moment`,label:`PR Moment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_provider_call:{token:`seo_provider_call`,schema:`seo`,table:`provider_call`,label:`SEO Provider Call`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_provider_task:{token:`seo_provider_task`,schema:`seo`,table:`provider_task`,label:`SEO Provider Task`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_rank_observation:{token:`seo_rank_observation`,schema:`seo`,table:`rank_observation`,label:`Rank Observation`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_rank_target:{token:`seo_rank_target`,schema:`seo`,table:`rank_target`,label:`SEO Rank Target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_raw_payload:{token:`seo_raw_payload`,schema:`seo`,table:`raw_payload`,label:`SEO Raw Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_referring_domain_profile:{token:`seo_referring_domain_profile`,schema:`seo`,table:`referring_domain_profile`,label:`Referring Domain Profile`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_reputation_case:{token:`seo_reputation_case`,schema:`seo`,table:`reputation_case`,label:`Reputation Case`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_search_performance_daily:{token:`seo_search_performance_daily`,schema:`seo`,table:`search_performance_daily`,label:`Search Performance Daily`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_mention:{token:`seo_serp_mention`,schema:`seo`,table:`serp_mention`,label:`SERP Prospect Mention`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_opportunity:{token:`seo_serp_opportunity`,schema:`seo`,table:`serp_opportunity`,label:`SERP Prospect Opportunity`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_result:{token:`seo_serp_result`,schema:`seo`,table:`serp_result`,label:`SERP Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_serp_snapshot:{token:`seo_serp_snapshot`,schema:`seo`,table:`serp_snapshot`,label:`SERP Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_geo_area:{token:`seo_site_geo_area`,schema:`seo`,table:`site_geo_area`,label:`Site Geo Area`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_keyword_offering:{token:`seo_site_keyword_offering`,schema:`seo`,table:`site_keyword_offering`,label:`Site Keyword Offering`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_keyword_value:{token:`seo_site_keyword_value`,schema:`seo`,table:`site_keyword_value`,label:`Site Keyword Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_offering_value:{token:`seo_site_offering_value`,schema:`seo`,table:`site_offering_value`,label:`Site Offering Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_topic_value:{token:`seo_site_topic_value`,schema:`seo`,table:`site_topic_value`,label:`Site Topic Value`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_value_combo:{token:`seo_site_value_combo`,schema:`seo`,table:`site_value_combo`,label:`Site Value Combination`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_value_worth:{token:`seo_site_value_worth`,schema:`seo`,table:`site_value_worth`,label:`Site Value Worth`,baseTier:1,isComponent:!0,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_site_vocabulary:{token:`seo_site_vocabulary`,schema:`seo`,table:`site_vocabulary`,label:`Site Vocabulary`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_source_request:{token:`seo_source_request`,schema:`seo`,table:`source_request`,label:`SEO Source Request`,baseTier:2,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_starter_pack:{token:`seo_starter_pack`,schema:`seo`,table:`starter_pack`,label:`SEO Industry Starter Pack`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_starter_pack_item:{token:`seo_starter_pack_item`,schema:`seo`,table:`starter_pack_item`,label:`SEO Starter Pack Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_story_angle:{token:`seo_story_angle`,schema:`seo`,table:`story_angle`,label:`SEO Story Angle`,baseTier:2,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_topic:{token:`seo_topic`,schema:`seo`,table:`topic`,label:`SEO Topic`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`seo`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},seo_topical_map:{token:`seo_topical_map`,schema:`seo`,table:`topical_map`,label:`Topical map`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:`seo`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_tracker_story:{token:`seo_tracker_story`,schema:`seo`,table:`tracker_story`,label:`Monitor Story`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},seo_web_analytics_daily:{token:`seo_web_analytics_daily`,schema:`seo`,table:`web_analytics_daily`,label:`Web Analytics Daily`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`marketing`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},shareable_resource_registry:{token:`shareable_resource_registry`,schema:`platform`,table:`shareable_resource_registry`,label:`Shareable resource registry`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},shared_canvas_item:{token:`shared_canvas_item`,schema:`canvas`,table:`shared_canvas_items`,label:`Shared Canvas Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},short_link:{token:`short_link`,schema:`platform`,table:`short_links`,label:`Short Link`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sign_in_fk_legacy:{token:`sign_in_fk_legacy`,schema:`platform`,table:`sign_in_fk_legacy`,label:`Sign-in reference baseline`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},skill:{token:`skill`,schema:`skill`,table:`definition`,label:`Skill`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Skills`,referencePickable:!0,titleColumn:`label`,contentRole:`utility`,referenceCategory:null},skill_detail:{token:`skill_detail`,schema:`skill`,table:`skill_detail`,label:`Skill Detail`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Skills`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},skill_render_definition:{token:`skill_render_definition`,schema:`skill`,table:`render_definition`,label:`Skill Render Definition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Skills`,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},sms_consent:{token:`sms_consent`,schema:`communication`,table:`sms_consent`,label:`SMS Consent`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_conversation:{token:`sms_conversation`,schema:`communication`,table:`sms_conversations`,label:`SMS Conversation`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_message:{token:`sms_message`,schema:`communication`,table:`sms_messages`,label:`SMS Message`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_message_media:{token:`sms_message_media`,schema:`communication`,table:`sms_media`,label:`SMS Media`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`file_name`,contentRole:null,referenceCategory:null},sms_notification:{token:`sms_notification`,schema:`communication`,table:`sms_notifications`,label:`SMS Notification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_notification_preference:{token:`sms_notification_preference`,schema:`communication`,table:`sms_notification_preferences`,label:`SMS Notification Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_phone_number:{token:`sms_phone_number`,schema:`communication`,table:`sms_phone_numbers`,label:`SMS Phone Number`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_rate_limits:{token:`sms_rate_limits`,schema:`communication`,table:`sms_rate_limits`,label:`Sms Rate Limits`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},sms_webhook_logs:{token:`sms_webhook_logs`,schema:`communication`,table:`sms_webhook_logs`,label:`Sms Webhook Logs`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},soft_delete_cascade_job:{token:`soft_delete_cascade_job`,schema:`platform`,table:`soft_delete_cascade_job`,label:`Soft-delete cascade job`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},soft_delete_edge:{token:`soft_delete_edge`,schema:`platform`,table:`soft_delete_edge`,label:`Soft Delete Edge`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},source_authority:{token:`source_authority`,schema:`platform`,table:`source_authority`,label:`Source authority`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},space_payload:{token:`space_payload`,schema:`content`,table:`space_payload`,label:`Space Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},stage_ref_kind:{token:`stage_ref_kind`,schema:`growth`,table:`stage_ref_kind`,label:`Stage reference kind`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},stamped_write_table:{token:`stamped_write_table`,schema:`platform`,table:`stamped_write_table`,label:`Stamped Write Table`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},structure:{token:`structure`,schema:`files`,table:`structure`,label:`Structure`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_cleaned_segments:{token:`studio_cleaned_segments`,schema:`transcripts`,table:`studio_cleaned_segments`,label:`Studio Cleaned Segments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_concept_items:{token:`studio_concept_items`,schema:`transcripts`,table:`studio_concept_items`,label:`Studio Concept Items`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_documents:{token:`studio_documents`,schema:`transcripts`,table:`studio_documents`,label:`Studio Document`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},studio_module_segments:{token:`studio_module_segments`,schema:`transcripts`,table:`studio_module_segments`,label:`Studio Module Segments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_raw_segments:{token:`studio_raw_segments`,schema:`transcripts`,table:`studio_raw_segments`,label:`Studio Raw Segments`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_recording_chunks:{token:`studio_recording_chunks`,schema:`transcripts`,table:`studio_recording_chunks`,label:`Studio Recording Chunk`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_recording_segments:{token:`studio_recording_segments`,schema:`transcripts`,table:`studio_recording_segments`,label:`Studio Recording Segment`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_run:{token:`studio_run`,schema:`transcripts`,table:`studio_runs`,label:`Studio Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},studio_session:{token:`studio_session`,schema:`transcripts`,table:`studio_sessions`,label:`Transcript Studio session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:`source`,referenceCategory:null},studio_session_settings:{token:`studio_session_settings`,schema:`transcripts`,table:`studio_session_settings`,label:`Studio Session Settings`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_attempt:{token:`study_attempt`,schema:`education`,table:`study_attempt`,label:`Study Attempt`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_goal:{token:`study_goal`,schema:`education`,table:`study_goal`,label:`Study Goal`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},study_media:{token:`study_media`,schema:`education`,table:`study_media`,label:`Study Media`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},study_plan:{token:`study_plan`,schema:`education`,table:`study_plan`,label:`Study Plan`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},study_plan_block:{token:`study_plan_block`,schema:`education`,table:`study_plan_block`,label:`Study Plan Block`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},study_plan_day:{token:`study_plan_day`,schema:`education`,table:`study_plan_day`,label:`Study Plan Day`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_reminder_context:{token:`study_reminder_context`,schema:`education`,table:`study_reminder_context`,label:`Study Reminder Context`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_reminder_delivery:{token:`study_reminder_delivery`,schema:`education`,table:`study_reminder_delivery`,label:`Study Reminder Delivery`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_session:{token:`study_session`,schema:`education`,table:`study_session`,label:`Study Session`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_source_chunk:{token:`study_source_chunk`,schema:`education`,table:`study_source_chunk`,label:`Study Source Chunk`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_streak:{token:`study_streak`,schema:`education`,table:`study_streak`,label:`Study streak`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},study_structured_section:{token:`study_structured_section`,schema:`education`,table:`study_structured_section`,label:`Study Structured Section`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},superseded_policy:{token:`superseded_policy`,schema:`iam`,table:`superseded_policy`,label:`Superseded Policy`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},surface:{token:`surface`,schema:`ui`,table:`ui_surface`,label:`UI Surface`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},system_announcement:{token:`system_announcement`,schema:`users`,table:`system_announcements`,label:`System announcement`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_context_item:{token:`system_context_item`,schema:`context`,table:`system_context_item`,label:`System Context Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_error:{token:`system_error`,schema:`ops`,table:`system_error`,label:`System Error`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_orgs:{token:`system_orgs`,schema:`iam`,table:`system_orgs`,label:`System Orgs`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},system_write_failure:{token:`system_write_failure`,schema:`ops`,table:`system_write_failure`,label:`System Write Failure`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},t13_backfill_ledger:{token:`t13_backfill_ledger`,schema:`ops`,table:`t13_backfill_ledger`,label:`T-13 backfill ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},t13_default_ledger:{token:`t13_default_ledger`,schema:`ops`,table:`t13_default_ledger`,label:`T-13 default ledger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},t13_row_column_events:{token:`t13_row_column_events`,schema:`ops`,table:`t13_row_column_events`,label:`T-13 row column events`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tag:{token:`tag`,schema:`platform`,table:`tag`,label:`Tag`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},task:{token:`task`,schema:`projects`,table:`tasks`,label:`Task`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Workspaces`,referencePickable:!0,titleColumn:`title`,contentRole:`container`,referenceCategory:null},task_user_state:{token:`task_user_state`,schema:`projects`,table:`task_user_state`,label:`Task user state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},taxonomy_node:{token:`taxonomy_node`,schema:`platform`,table:`taxonomy_node`,label:`Taxonomy node`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},team:{token:`team`,schema:`iam`,table:`team`,label:`Team`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!1,category:`Organizations`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},template_context_items:{token:`template_context_items`,schema:`context`,table:`template_context_items`,label:`Template Context Items`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},template_scope_types:{token:`template_scope_types`,schema:`context`,table:`template_scope_types`,label:`Template Scope Types`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},templates:{token:`templates`,schema:`context`,table:`templates`,label:`Templates`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},test_handset_inbox:{token:`test_handset_inbox`,schema:`communication`,table:`test_handset_inbox`,label:`Test Handset Inbox`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},test_handset_verification:{token:`test_handset_verification`,schema:`communication`,table:`test_handset_verification`,label:`Test Handset Verification`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},thread:{token:`thread`,schema:`projects`,table:`threads`,label:`Thread`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},tool:{token:`tool`,schema:`tool`,table:`definition`,label:`Tool`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},tool_binding:{token:`tool_binding`,schema:`tool`,table:`binding`,label:`Tool binding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_bundle:{token:`tool_bundle`,schema:`tool`,table:`bundle`,label:`Tool Bundle`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},tool_call:{token:`tool_call`,schema:`chat`,table:`tool_call`,label:`Tool Call`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_definition_version:{token:`tool_definition_version`,schema:`tool`,table:`definition_version`,label:`Tool Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},tool_executor:{token:`tool_executor`,schema:`tool`,table:`executor`,label:`Tool executor`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_surface_defaults:{token:`tool_surface_defaults`,schema:`tool`,table:`surface_defaults`,label:`Tool surface defaults`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_test_sample:{token:`tool_test_sample`,schema:`tool`,table:`test_sample`,label:`Tool Test Sample`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_ui:{token:`tool_ui`,schema:`tool`,table:`ui`,label:`Tool UI`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},tool_ui_incident:{token:`tool_ui_incident`,schema:`tool`,table:`ui_incident`,label:`Tool UI Incident`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},tool_ui_version:{token:`tool_ui_version`,schema:`tool`,table:`ui_version`,label:`Tool UI Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Tools`,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},topic_placement_queue:{token:`topic_placement_queue`,schema:`seo`,table:`topic_placement_queue`,label:`Topic Placement Queue`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},transcript:{token:`transcript`,schema:`transcripts`,table:`transcripts`,label:`Transcript`,baseTier:1,isComponent:!1,isModule:!0,isListed:!1,scopeable:!0,category:`Sources`,referencePickable:!0,titleColumn:`title`,contentRole:`source`,referenceCategory:null},trigger_event:{token:`trigger_event`,schema:`workflow`,table:`trigger_event`,label:`Trigger Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_dataset_template:{token:`udt_dataset_template`,schema:`workbench`,table:`udt_dataset_templates`,label:`Dataset template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_dataset_template_fields:{token:`udt_dataset_template_fields`,schema:`workbench`,table:`udt_dataset_template_fields`,label:`Udt Dataset Template Fields`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_document:{token:`udt_document`,schema:`workbench`,table:`udt_documents`,label:`Cloud document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`document_name`,contentRole:`hybrid`,referenceCategory:null},udt_document_snapshot:{token:`udt_document_snapshot`,schema:`workbench`,table:`udt_document_snapshots`,label:`Document snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},udt_workbook_snapshot:{token:`udt_workbook_snapshot`,schema:`workbench`,table:`udt_workbook_snapshots`,label:`Workbook snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_client:{token:`ui_client`,schema:`ui`,table:`ui_client`,label:`UI client`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_action:{token:`ui_surface_action`,schema:`ui`,table:`ui_surface_action`,label:`Surface Action`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_agent_pref:{token:`ui_surface_agent_pref`,schema:`ui`,table:`ui_surface_agent_pref`,label:`UI Surface Agent Pref`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_agent_role:{token:`ui_surface_agent_role`,schema:`ui`,table:`ui_surface_agent_role`,label:`UI surface agent role`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_client_tool:{token:`ui_surface_client_tool`,schema:`ui`,table:`ui_surface_client_tool`,label:`UI surface client tool`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_config:{token:`ui_surface_config`,schema:`ui`,table:`ui_surface_config`,label:`UI Surface Config`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_item_type:{token:`ui_surface_item_type`,schema:`ui`,table:`ui_surface_item_type`,label:`UI surface item type`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_value:{token:`ui_surface_value`,schema:`ui`,table:`ui_surface_value`,label:`UI surface value`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},ui_surface_write_target:{token:`ui_surface_write_target`,schema:`ui`,table:`ui_surface_write_target`,label:`UI surface write target`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},univer_payload:{token:`univer_payload`,schema:`content`,table:`univer_payload`,label:`Univer Payload`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:`Documents`,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},unsubscribe_token:{token:`unsubscribe_token`,schema:`crm`,table:`unsubscribe_token`,label:`Unsubscribe Token`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},uploads_inflight:{token:`uploads_inflight`,schema:`files`,table:`uploads_inflight`,label:`Uploads Inflight`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user:{token:`user`,schema:`iam`,table:`users`,label:`User`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_achievement:{token:`user_achievement`,schema:`users`,table:`user_achievements`,label:`User Achievement`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_active_context:{token:`user_active_context`,schema:`context`,table:`user_active_context`,label:`Active context`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_analysis_preference:{token:`user_analysis_preference`,schema:`users`,table:`user_analysis_preferences`,label:`User Analysis Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_email_preference:{token:`user_email_preference`,schema:`users`,table:`user_email_preferences`,label:`User Email Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_entity_state:{token:`user_entity_state`,schema:`platform`,table:`user_entity_state`,label:`User entity state`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_feedback:{token:`user_feedback`,schema:`users`,table:`user_feedback`,label:`User Feedback`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_follows:{token:`user_follows`,schema:`users`,table:`user_follows`,label:`User Follows`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_form_profile:{token:`user_form_profile`,schema:`users`,table:`user_form_profile`,label:`User Form Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_markdown_sample:{token:`user_markdown_sample`,schema:`users`,table:`user_markdown_samples`,label:`User Markdown Sample`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},user_memory:{token:`user_memory`,schema:`users`,table:`user_memory`,label:`User Memory`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_preference:{token:`user_preference`,schema:`users`,table:`user_preferences`,label:`User Preference`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_profile:{token:`user_profile`,schema:`users`,table:`profiles`,label:`User Profile`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`display_name`,contentRole:null,referenceCategory:null},user_secret:{token:`user_secret`,schema:`users`,table:`user_secrets`,label:`User secret`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_secret_audit:{token:`user_secret_audit`,schema:`users`,table:`user_secret_audit`,label:`Secret audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_secret_grant:{token:`user_secret_grant`,schema:`users`,table:`user_secret_grants`,label:`Secret grant`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_stat:{token:`user_stat`,schema:`users`,table:`user_stats`,label:`User Stats`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_storage_usage:{token:`user_storage_usage`,schema:`files`,table:`user_storage_usage`,label:`Storage usage`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},user_surface_state:{token:`user_surface_state`,schema:`users`,table:`user_surface_state`,label:`User Surface State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},vault_fill_approvals:{token:`vault_fill_approvals`,schema:`users`,table:`_vault_fill_approvals`,label:`Vault fill approvals`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},vault_fill_devices:{token:`vault_fill_devices`,schema:`users`,table:`_vault_fill_devices`,label:`Vault fill devices`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},vault_fill_nonces:{token:`vault_fill_nonces`,schema:`users`,table:`_vault_fill_nonces`,label:`Vault fill nonces`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},visibility_cache:{token:`visibility_cache`,schema:`custom`,table:`visibility_cache`,label:`Visibility Cache`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},visibility_epoch:{token:`visibility_epoch`,schema:`custom`,table:`visibility_epoch`,label:`Visibility Epoch`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},voice:{token:`voice`,schema:`ai`,table:`voices`,label:`Voice`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},war_room:{token:`war_room`,schema:`projects`,table:`war_rooms`,label:`War Room`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`title`,contentRole:null,referenceCategory:null},wbx_demo:{token:`wbx_demo`,schema:`extend`,table:`wbx_demo`,label:`Extension demo record`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_guidance:{token:`wbx_guidance`,schema:`extend`,table:`wbx_guidance`,label:`Extension Guidance`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_highlight:{token:`wbx_highlight`,schema:`extend`,table:`wbx_highlight`,label:`Extension Highlight`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_pattern:{token:`wbx_pattern`,schema:`extend`,table:`wbx_pattern`,label:`Extension Scrape Pattern`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},wbx_recipe:{token:`wbx_recipe`,schema:`extend`,table:`wbx_recipe`,label:`Extension recipe`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_screenshot:{token:`wbx_screenshot`,schema:`extend`,table:`wbx_screenshot`,label:`Extension Screenshot`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wbx_seo_audit:{token:`wbx_seo_audit`,schema:`extend`,table:`wbx_seo_audit`,label:`Extension SEO Audit`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wc_claim:{token:`wc_claim`,schema:`legal`,table:`wc_claim`,label:`WC Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wc_impairment_definition:{token:`wc_impairment_definition`,schema:`legal`,table:`wc_impairment_definition`,label:`WC Impairment Definition`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},wc_injury:{token:`wc_injury`,schema:`legal`,table:`wc_injury`,label:`WC Injury`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wc_report:{token:`wc_report`,schema:`legal`,table:`wc_report`,label:`WC Report`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_analysis_item:{token:`web_analysis_item`,schema:`web`,table:`analysis_item`,label:`Analysis Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},web_brand:{token:`web_brand`,schema:`web`,table:`brand`,label:`Brand`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},web_brand_asset:{token:`web_brand_asset`,schema:`web`,table:`brand_asset`,label:`Brand Asset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:null,referenceCategory:null},web_brand_offering:{token:`web_brand_offering`,schema:`web`,table:`brand_offering`,label:`Brand Offering`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_business_fact:{token:`web_business_fact`,schema:`web`,table:`business_fact`,label:`Business Fact`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`label`,contentRole:null,referenceCategory:null},web_business_location:{token:`web_business_location`,schema:`web`,table:`business_location`,label:`Business Location`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_channel_analytics_daily:{token:`web_channel_analytics_daily`,schema:`web`,table:`channel_analytics_daily`,label:`Channel analytics (daily)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_crawl_event:{token:`web_crawl_event`,schema:`web`,table:`crawl_event`,label:`Web Crawl Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_crawl_preset:{token:`web_crawl_preset`,schema:`web`,table:`crawl_preset`,label:`Web Crawl Preset`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},web_crawl_schedule:{token:`web_crawl_schedule`,schema:`web`,table:`crawl_schedule`,label:`Web Crawl Schedule`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},web_crawl_session:{token:`web_crawl_session`,schema:`web`,table:`crawl_session`,label:`Crawl Session`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_crawl_url:{token:`web_crawl_url`,schema:`web`,table:`crawl_url`,label:`Web Crawl URL`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_discovered_item:{token:`web_discovered_item`,schema:`web`,table:`discovered_item`,label:`Discovered Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_finding:{token:`web_finding`,schema:`web`,table:`finding`,label:`Finding`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_gsc_page_stat:{token:`web_gsc_page_stat`,schema:`web`,table:`gsc_page_stat`,label:`GSC Page Stat`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_link_edge:{token:`web_link_edge`,schema:`web`,table:`link_edge`,label:`Link Edge`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_listing_publisher:{token:`web_listing_publisher`,schema:`web`,table:`listing_publisher`,label:`Listing Publisher`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_location_listing:{token:`web_location_listing`,schema:`web`,table:`location_listing`,label:`Location Listing`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_news_item:{token:`web_news_item`,schema:`web`,table:`news_item`,label:`News Item`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_offering_template:{token:`web_offering_template`,schema:`web`,table:`offering_template`,label:`Offering Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_page:{token:`web_page`,schema:`web`,table:`page`,label:`Site page`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`url`,contentRole:`source`,referenceCategory:null},web_page_content:{token:`web_page_content`,schema:`web`,table:`page_content`,label:`Page Draft Content`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_page_evidence:{token:`web_page_evidence`,schema:`web`,table:`page_evidence`,label:`Web Page Evidence`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_page_sitemap:{token:`web_page_sitemap`,schema:`web`,table:`page_sitemap`,label:`Page Sitemap Membership`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_property:{token:`web_property`,schema:`web`,table:`property`,label:`Brand Property`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`display_name`,contentRole:null,referenceCategory:null},web_provider:{token:`web_provider`,schema:`web`,table:`provider`,label:`Provider`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`label`,contentRole:null,referenceCategory:null},web_result:{token:`web_result`,schema:`web`,table:`analysis_result`,label:`Analysis Result`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_screenshot:{token:`web_screenshot`,schema:`web`,table:`screenshot`,label:`Screenshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_site:{token:`web_site`,schema:`web`,table:`site`,label:`Site`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},web_site_endpoint_rule:{token:`web_site_endpoint_rule`,schema:`web`,table:`site_endpoint_rule`,label:`Site Endpoint Rule`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`path_prefix`,contentRole:null,referenceCategory:null},web_site_item_config:{token:`web_site_item_config`,schema:`web`,table:`site_item_config`,label:`Site Item Config`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_site_offering:{token:`web_site_offering`,schema:`web`,table:`site_offering`,label:`Site Offering`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_sitemap:{token:`web_sitemap`,schema:`web`,table:`sitemap`,label:`Sitemap`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`url`,contentRole:null,referenceCategory:null},web_snapshot:{token:`web_snapshot`,schema:`web`,table:`snapshot`,label:`Snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_tag_manager_snapshot:{token:`web_tag_manager_snapshot`,schema:`web`,table:`tag_manager_snapshot`,label:`Tag Manager snapshot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_voice_fingerprint:{token:`web_voice_fingerprint`,schema:`web`,table:`voice_fingerprint`,label:`Voice Fingerprint`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},web_youtube_video:{token:`web_youtube_video`,schema:`web`,table:`youtube_video`,label:`YouTube video`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},webhook_deliveries:{token:`webhook_deliveries`,schema:`files`,table:`webhook_deliveries`,label:`Webhook Deliveries`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},webhook_dispatch_state:{token:`webhook_dispatch_state`,schema:`files`,table:`webhook_dispatch_state`,label:`Webhook Dispatch State`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},webhooks:{token:`webhooks`,schema:`files`,table:`webhooks`,label:`Webhooks`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},wf_node_data_slot:{token:`wf_node_data_slot`,schema:`workflow`,table:`node_data_slot`,label:`Workflow Node Data Slot`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},work_claim:{token:`work_claim`,schema:`platform`,table:`_work_claim`,label:`Work Claim`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},work_item:{token:`work_item`,schema:`runtime`,table:`work_item`,label:`Runtime Work Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workbook:{token:`workbook`,schema:`workbench`,table:`udt_workbooks`,label:`Workbook`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!0,titleColumn:`workbook_name`,contentRole:`hybrid`,referenceCategory:null},worker_heartbeat:{token:`worker_heartbeat`,schema:`workflow`,table:`worker_heartbeat`,label:`Worker Heartbeat`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow:{token:`workflow`,schema:`workflow`,table:`definition`,label:`Workflow`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:`utility`,referenceCategory:null},workflow_card:{token:`workflow_card`,schema:`workflow`,table:`card`,label:`Workflow Card`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_checkpoint:{token:`workflow_checkpoint`,schema:`workflow`,table:`checkpoint`,label:`Workflow Checkpoint`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_comparison:{token:`workflow_comparison`,schema:`workflow`,table:`comparison`,label:`Workflow Comparison`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_definition_version:{token:`workflow_definition_version`,schema:`workflow`,table:`definition_version`,label:`Workflow Definition Version`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_idempotency:{token:`workflow_idempotency`,schema:`workflow`,table:`idempotency`,label:`Workflow Idempotency`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_job:{token:`workflow_job`,schema:`workflow`,table:`job`,label:`Workflow Job`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_node_events:{token:`workflow_node_events`,schema:`workflow`,table:`node_events`,label:`Workflow Node Events`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_node_outcome:{token:`workflow_node_outcome`,schema:`workflow`,table:`node_outcome`,label:`Workflow Node Outcome`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_plan:{token:`workflow_plan`,schema:`workflow`,table:`plan`,label:`Workflow Plan`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_plan_event:{token:`workflow_plan_event`,schema:`workflow`,table:`plan_event`,label:`Workflow Plan Event`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_plan_sample:{token:`workflow_plan_sample`,schema:`workflow`,table:`plan_sample`,label:`Workflow Plan Sample`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_recovery_audit:{token:`workflow_recovery_audit`,schema:`workflow`,table:`recovery_audit`,label:`Workflow Recovery Audit`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run:{token:`workflow_run`,schema:`workflow`,table:`run`,label:`Workflow Run`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run_cost:{token:`workflow_run_cost`,schema:`workflow`,table:`_run_cost`,label:`Workflow run cost`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run_facts:{token:`workflow_run_facts`,schema:`workflow`,table:`_run_facts`,label:`Workflow run facts`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_run_log:{token:`workflow_run_log`,schema:`workflow`,table:`run_log`,label:`Workflow Run Log`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_runtime_surface:{token:`workflow_runtime_surface`,schema:`workflow`,table:`runtime_surface`,label:`Run Surface`,baseTier:1,isComponent:!1,isModule:!1,isListed:!0,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_template:{token:`workflow_template`,schema:`workflow`,table:`template`,label:`Workflow Template`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_trigger:{token:`workflow_trigger`,schema:`workflow`,table:`trigger`,label:`Workflow Trigger`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!0,titleColumn:`name`,contentRole:null,referenceCategory:null},workflow_trigger_fire:{token:`workflow_trigger_fire`,schema:`workflow`,table:`trigger_fire`,label:`Workflow Trigger Fire`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},workflow_work_item:{token:`workflow_work_item`,schema:`workflow`,table:`work_item`,label:`Work Item`,baseTier:1,isComponent:!0,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},working_document:{token:`working_document`,schema:`workbench`,table:`working_documents`,label:`Working Document`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:`Conversations`,referencePickable:!0,titleColumn:`title`,contentRole:`destination`,referenceCategory:null},write_guard_key:{token:`write_guard_key`,schema:`hr`,table:`_write_guard_key`,label:`Write Guard Key`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},youtube_quota_day:{token:`youtube_quota_day`,schema:`research`,table:`youtube_quota_day`,label:`Youtube Quota Day`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},youtube_search:{token:`youtube_search`,schema:`research`,table:`youtube_search`,label:`YouTube Search`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null},youtube_video:{token:`youtube_video`,schema:`research`,table:`youtube_video`,label:`YouTube Video`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!0,category:null,referencePickable:!1,titleColumn:`title`,contentRole:`source`,referenceCategory:null}},xD=new Set(`access_delta_probe.access_delta_run.access_request.account_addon.acquisition_block.activity.admin_audit_log.admin_email_log.admin_markdown_sample.admin_user.admission_config.agent.agent_card.agent_definition_version.agent_drift_alert.agent_exemplar.agent_mandate_note.agent_prompt_remediation.agent_run.agent_run_stage.agent_schedule.agent_schedule_claim.agent_shortcut.agent_surface_binding.agent_template.agent_term_list.agent_usage.ai_api.ai_calls.ai_endpoint.ai_model.ai_model_alias.ai_offering.ai_provider.ai_setting.ai_setting_profile.ai_translation_cell.ai_usage_executions.ai_usage_hourly.ai_usage_hourly_watermark.analysis_result.anon_form.anon_function_birth_grandfather.anon_hit.anon_inbound.anon_replay.anon_submission.anon_token.api_field_warning.api_request_log.app.app_config.app_config_history.app_definition_version.app_error.app_execution.app_instance.app_log.app_log_muted_pattern.app_log_norm_exception.app_rate_limit.app_setting.app_sync_status.approach.artifact.assessment.assessment_item.assessment_result.assignment_session.assist.assist_producer_policy.assist_producer_policy_history.association_type.assurance_level.attempt.audit_broken_functions.audit_canonical_findings.audit_exemption.audit_function_deps.audit_function_runtime_probe.audit_m2m_candidates.audit_refresh_log.audit_stale_registry.audit_unregistered_candidates.base_entity_template.batch_cost_event.batch_provider_batch.batch_work_item.billing_capability.billing_capability_limit.billing_connect_account.billing_coupon.billing_coupon_redemption.billing_customer.billing_free_period_grant.billing_plan.billing_plan_limit.billing_price.billing_product.billing_spend_approval.billing_spend_guardrail.billing_stripe_event.billing_subscription.billing_usage_ledger.billing_usage_reset.billing_user_plan.block_state.board.browser_account_binding.browser_action_event.browser_authenticator_window.browser_capture.browser_control_request.browser_handoff.browser_login_attempt.browser_login_recipe.browser_profile.browser_profile_checkpoint.browser_run.browser_site_observation.browser_site_policy.browser_stream_ticket.build_lock.calendar_event.campaign_watch_ramp_gate_run.campaign_watch_switch_outbox.campaign_watch_switch_window.canvas_comment.canvas_comment_like.canvas_item.canvas_item_state.canvas_like.canvas_score.canvas_view.capture_window.carrying_rule.catalog_entries_history.catalog_entry.category.change_type_default.chat_user_usage_summary.citations.class_purchase.classifier_revision_ledger.client_callable_door.client_callable_door_retirement.client_excluded_column_unregistered.cmp_entry.cmp_feedback.code_file.code_folder.code_repository.coding_session.coding_session_entry.comment.commerce_asset_allocation.commerce_asset_grading.commerce_asset_identifier.commerce_asset_lot_event.commerce_asset_mandate_result.commerce_asset_price_factor.commerce_asset_reshoot_request.commerce_asset_review.commerce_asset_unknown.commerce_certified_printer.commerce_cloud_sync_connection.commerce_ebay_business_policy.commerce_ebay_category.commerce_ebay_category_aspect.commerce_ebay_category_tree.commerce_ebay_custom_policy.commerce_ebay_inventory_item.commerce_ebay_inventory_item_group.commerce_ebay_inventory_item_group_member.commerce_ebay_inventory_location.commerce_ebay_listing.commerce_ebay_marketplace_policy.commerce_ebay_media_asset.commerce_ebay_notification_destination.commerce_ebay_notification_event.commerce_ebay_notification_subscription.commerce_ebay_notification_topic.commerce_ebay_offer.commerce_ebay_order.commerce_ebay_order_line_item.commerce_ebay_shipping_fulfillment.commerce_ebay_store_category.commerce_human_correction.commerce_intake_artifact.commerce_intake_asset.commerce_intake_batch.commerce_label_batch.commerce_label_code.commerce_marketplace_account.commerce_marketplace_account_deletion_audit.commerce_marketplace_api_call.commerce_marketplace_rate_budget.commerce_marketplace_site.commerce_marketplace_sync_run.commerce_prediction_outcome.commerce_print_order.commerce_product.commerce_product_channel_ref.commerce_product_media.commerce_product_variant.commerce_recall_audit.communication_calendar_selected_snapshot_state.communication_channel_readiness.comparison_set.contact_medium.contact_submission.content_certification.content_ir_kind.content_ir_kind_component.content_ir_kind_component_incident.content_ir_kind_conformance.content_ir_kind_edge.content_ir_kind_example.content_ir_kind_instance.content_ir_kind_surface.content_lane.context_access_log.context_item.context_item_suggestion.context_item_value.context_value_refs.conversation.conversation_value.courts.credential_attachment.credential_item.credential_mutation_receipt.crm_address.crm_affiliation.crm_blocklist_entry.crm_contact_candidate.crm_deal.crm_deal_stage_event.crm_enrichment_call.crm_interaction.crm_merge_candidate.crm_outreach_list.crm_outreach_list_member.crm_party_merge.crm_party_research.crm_registry_ingest_run.crm_registry_source.crm_sending_claim.crm_sending_event.crm_sending_identity.crm_sending_identity_check.crm_sending_policy.custom_agent_table_trust.custom_agg_digest_checked.custom_field_definition.custom_field_target.custom_io_outbox_consumer.custom_io_outbox_consumption.custom_share_tails_mine_repair.custom_template.custom_template_install.cx_agent_memory.cx_agent_plan.cx_agent_task.cx_code_edit.cx_code_message_file.cx_media.cx_observational_memory.cx_observational_memory_event.cx_pending_injection.cx_request.cx_request_snapshot.cx_tool_trace.cx_user_request.cx_user_todo.data_rights_event.data_store.data_store_members.ddl_guard_log.deck_suggestion.definer_class_exemption.definer_client_grant_grandfather.definer_grant_baseline.deprecated_relation.derive_run.dev_login_audit.dict_entry.dict_provider_publication.dict_setting.dm_conversation.dm_message.dm_participant.doc_render.doc_signature.dockets.document.document_version.domain_classification.edge_payload_kind.egress_device.egress_pairing.egress_ticket.emails.embedding_cache.embeddings_google_gemini_2_1536.embeddings_oai_3_small_1536.embeddings_voyage_4_large_1024.embeddings_voyage_code_3_1024.endpoint_family_sweep_state.engine_owner_task.entity_grant.entity_protected_value.entity_protected_value_version.entity_relationship.entity_type.esign_campaign.esign_campaign_member.esign_consent_disclosure.esign_envelope.esign_envelope_certificate.esign_envelope_document.esign_envelope_event.esign_envelope_external_ref.esign_envelope_signer.esign_provider.esign_provider_binding.esign_signing_key.execution_event_cursor.extension_auth_code.external_link.external_source.extract_sweep_state.fc_card.fc_detail.fc_set.feature_doc.feature_knob.feedback_comments.feedback_user_messages.file.file_analysis.file_entities.file_overrides.file_page_annotations.file_pages.file_rag_job.file_version.files_account_tier.files_machine_written_prefix.files_sync_mapping.files_user_account.folder.function_contract.game_badge.game_result.game_room.global_execution.global_execution_checkpoint.global_execution_control.global_execution_event.global_meter_entry.global_origin.global_request.google_document.growth_loop_event.growth_loop_run.growth_loop_stage_run.guardian_link.guest_conversion_audit.guest_execution_log.guest_executions.guided_checklist_run.heatmap_save.hindsight_enrollment.hindsight_finding.hindsight_regression_case.hindsight_replay.hindsight_replay_step.hindsight_review.hr_access_audit.hr_access_role.hr_accommodation_request.hr_ai_evidence.hr_alert_routing_rule.hr_application.hr_approval_authority.hr_approval_delegation.hr_asset.hr_asset_assignment.hr_attendance_exception.hr_auto_close_rule.hr_availability.hr_background_check.hr_benefits_event.hr_calculation_snapshot.hr_candidate.hr_candidate_conversion.hr_candidate_message.hr_careers_portal.hr_checklist_item.hr_checklist_run.hr_checklist_template.hr_checklist_template_item.hr_compensation.hr_corrective_action.hr_course.hr_course_version.hr_credential.hr_crew.hr_deduction_code.hr_department.hr_derived_grant.hr_disposition_event.hr_earning_code.hr_eeo_response.hr_emergency_contact.hr_employee.hr_employee_private.hr_employer_profile.hr_employment.hr_employment_pin.hr_engagement.hr_establishment.hr_external_identity.hr_field_policy.hr_holiday.hr_holiday_calendar.hr_i9.hr_i9_document.hr_incident.hr_incident_party.hr_interview.hr_interview_kit.hr_job_title.hr_jurisdiction.hr_jurisdiction_rule.hr_jurisdiction_rule_class.hr_jurisdiction_rule_org_decision.hr_jurisdiction_rule_test.hr_kiosk_device.hr_kiosk_session.hr_labor_target.hr_leave_case.hr_leave_enrollment.hr_leave_ledger.hr_leave_policy.hr_leave_request.hr_legal_hold.hr_legal_hold_item.hr_location.hr_new_hire_report.hr_offer.hr_opening.hr_overtime_alert.hr_overtime_alert_rule.hr_overtime_preapproval.hr_pay_group.hr_pay_period.hr_pay_period_employment.hr_payroll_export.hr_payroll_export_line.hr_position_assignment.hr_posting.hr_posting_publication.hr_provider_binding.hr_provider_event.hr_provisioning_result.hr_punch.hr_recalculation_batch.hr_record_class.hr_records_request.hr_reference_check.hr_reporting_line.hr_requisition.hr_restricted_note.hr_retention_rule.hr_role_assignment.hr_schedule.hr_schedule_change.hr_schedule_guidance.hr_schedule_template.hr_schedule_template_shift.hr_scorecard.hr_separation.hr_shift.hr_shift_claim.hr_staffing_requirement.hr_survey.hr_survey_invitation.hr_survey_question.hr_survey_response.hr_tax_registration.hr_tax_withholding.hr_time_adjustment.hr_training_assignment.hr_training_attempt.hr_transcript_entry.hr_verification_letter_request.hr_work_interval.hr_workflow_binding.hr_workflow_decision.hr_workflow_definition.hr_workflow_event.hr_workflow_failure.hr_workflow_flow_type.hr_workflow_instance.hr_workflow_step.hr_workflow_step_definition.hr_workweek.html_extraction.iam_access_audit.iam_api_key.iam_emergency_door_request.iam_org_availability_key.iam_read_lane_v2_rollout.idempotency.industry.industry_curator.infra_status.ingest_runs.integration_connection.integration_connection_resource.interview_decision_interview.interview_decision_question.interview_document_revision.interview_hole.interview_question.interview_session.interview_turn.invitation.invitation_code.invitation_request.io_comment.io_contract.io_import.io_outbox.item.item_mastery.judge_verdict.jurisdiction_policy.keyword_classification_queue.kg_alert.kg_chunk_entities.kg_chunks.kg_clusters.kg_edges.kg_entities.kg_entity_aliases.kg_suggestion_ack.kg_sweep_queue.kg_sweep_run.kg_sweep_state.kg_value_match.knob_override.knob_override_audit.knob_rung_lock.knob_scope_kind.knob_write_door.league_membership.learn_doc.library_doc.lifecycle_archive.lifecycle_archive_row.lifecycle_audit.lifecycle_entity_plan.lifecycle_map_build.lifecycle_reference_map.lifecycle_run.lifecycle_tier_ledger.location.mandate.mandate_advance_batch_row.mandate_binding.mandate_candidate.mandate_candidate_run.mandate_candidate_run_payload.mandate_goal_clauses.mandate_observation.mandate_reference.mandate_scan.mandate_treatment.marketing_initiative.masterwork_corpus_item.masterwork_run.masterwork_run_kind.masterwork_source.math_course_structure.math_problem.matrx_action_ledger.mcp_config.mcp_server.mcp_user_conn.media_capture_handoff.media_catalog_setting.media_library_item.media_selection_item.media_selection_job.media_source_library.meet_call_invite.meet_chat_message.meet_invitee.meet_meeting.meet_note.meet_occurrence_override.meet_participant.meet_recording.meet_transcript_segment.membership.membership_grant.merge_field_provenance.message.message_template.message_template_detail.meta_excluded_schema.meta_table_stats_history.metadata_reserved_keys.migration_log.mtx_media_heal_queue.mtx_public_url_guard.ner_shadow.note.note_folder.notification.notification_channel_preference.notification_event_override.notification_event_type.notification_preference.notification_submission.notify_outsider_door_baseline.oauth_handoff_claim.opinion_clusters.opinions.ops_check_item.ops_check_run.ops_db_host_sample.ops_issue_class.ops_issue_event.ops_proof_check.ops_proof_run.ops_proof_scenario.org_admin_audit.org_change_policy.org_context_ledger.org_industries.org_member_control.org_module_config.org_plan.organization.organization_preferences.organization_visibility_version.output_feedback.outreach_acceptance.page_extraction_job.page_extraction_page_run.page_extraction_results.page_extraction_runs.page_intent_queue.page_mapping_queue.part_config.part_config_sub.party.party_contact_point.passkey_credential.pc_article.pc_episode.pc_show.pc_studio_run.pc_studio_run_asset.pdf_consolidation_log.pdf_redaction_audit.pdf_redaction_key_escrow.permission_grant.plan_cms_fill_item.plan_cms_fill_job.plan_entity.plan_node.plan_node_artifact.plan_node_step.plan_profile.platform_action_request.platform_actor_session.platform_actor_token.platform_actor_token_event.platform_class_approval_by_arman.platform_continued_access.platform_cutover_census_run.platform_cutover_evaluation_replaced.platform_cutover_evaluation_write.platform_cutover_seam.platform_cutover_seam_measure.platform_cutover_seam_press.platform_dated_change.platform_doors_only_pending_cutover.platform_google_calendar_event_create_intent.platform_google_task_create_intent.platform_kernel_fingerprint_record.platform_outcome_event.platform_outsider_consumer.platform_provision_base_contract_pending.platform_reachability.platform_reachability_rebuild_pending.platform_realtime_topic_prefix.platform_reference_category.platform_reference_declaration.platform_repo.platform_saved_view.platform_schema.platform_secure_delivery.platform_share_link.platform_strict_class_probe.podcast_race.position.processed_document.processed_document_page.product_capture_file.product_capture_item.product_capture_payload.product_capture_product.product_capture_question.project.provider_account.provider_account_credential.provision.provision_generate_target.provision_grant.provision_marker.provision_rule_message.provision_schema.provision_shape_debt.provision_spec.provision_spec_grandfather.provision_vocabulary.purpose.quiz_session.rag_ingest_run.rag_library_audit_log.rate_limit_buckets.reachability_pending.recompute_queue.record.record_alias.redaction_mapping.research_analysis.research_content.research_context_bundle.research_document.research_intent.research_keyword.research_media.research_source.research_synthesis.research_tag.research_template.research_topic.retention_policy.retrieval_audit.review_queue.route_manifest_entry.row_version.rulebook.runtime_operation_stream.runtime_operation_stream_batch.sandbox_instance.sch_agent_task.sch_run.sch_task.sch_trigger.schema_client_exposure.schema_migration_ledger.schema_migration_legacy.schema_migration_slot_grandfather.schema_templates.scope.scope_association_suggestion.scope_dataset_instance.scope_door_registry.scope_item_value_suggestion.scope_suggestion.scope_type.scrape_domain.scrape_domain_settings.scrape_failure_log.scrape_parsed_page.scrape_path_override.scrape_path_pattern.scrape_retry_queue.search_item.seo_ai_capability.seo_ai_visibility_citation.seo_ai_visibility_claim.seo_ai_visibility_panel.seo_ai_visibility_response.seo_ai_visibility_signal.seo_backlink.seo_backlink_change_event.seo_backlink_dimension_snapshot.seo_backlink_observation.seo_backlink_snapshot.seo_change_assessment.seo_change_event.seo_change_item.seo_change_metric.seo_change_set.seo_change_theory.seo_collection_run.seo_competitor.seo_competitor_observation.seo_competitor_opportunity.seo_coverage_mention.seo_coverage_tracker.seo_dimension_value_matcher.seo_engine_schedule.seo_geo_place.seo_gsc_dig_rule.seo_keyword.seo_keyword_class_rule.seo_keyword_edge.seo_keyword_facet.seo_keyword_market.seo_keyword_market_observation.seo_keyword_place.seo_keyword_saved_view.seo_keyword_topic.seo_landscape_brief.seo_link_gap_domain.seo_link_gap_match.seo_map_facet.seo_map_facet_value.seo_map_topic.seo_page_measurement_health.seo_page_performance.seo_pr_moment.seo_provider_call.seo_provider_task.seo_rank_observation.seo_rank_target.seo_raw_payload.seo_referring_domain_profile.seo_reputation_case.seo_search_performance_daily.seo_serp_mention.seo_serp_opportunity.seo_serp_result.seo_serp_snapshot.seo_site_geo_area.seo_site_keyword_offering.seo_site_keyword_value.seo_site_offering_value.seo_site_topic_value.seo_site_value_combo.seo_site_value_worth.seo_site_vocabulary.seo_source_request.seo_starter_pack.seo_starter_pack_item.seo_story_angle.seo_topic.seo_topical_map.seo_tracker_story.seo_web_analytics_daily.shareable_resource_registry.shared_canvas_item.short_link.sign_in_fk_legacy.skill.skill_detail.skill_render_definition.sms_consent.sms_conversation.sms_message.sms_message_media.sms_notification.sms_notification_preference.sms_phone_number.sms_rate_limits.sms_webhook_logs.soft_delete_cascade_job.soft_delete_edge.source_authority.space_payload.stage_ref_kind.stamped_write_table.structure.studio_cleaned_segments.studio_concept_items.studio_documents.studio_module_segments.studio_raw_segments.studio_recording_chunks.studio_recording_segments.studio_run.studio_session.studio_session_settings.study_attempt.study_goal.study_media.study_plan.study_plan_block.study_plan_day.study_reminder_context.study_reminder_delivery.study_session.study_source_chunk.study_streak.study_structured_section.superseded_policy.surface.system_announcement.system_context_item.system_error.system_orgs.system_write_failure.t13_backfill_ledger.t13_default_ledger.t13_row_column_events.tag.task.task_user_state.taxonomy_node.team.template_context_items.template_scope_types.templates.test_handset_inbox.test_handset_verification.thread.tool.tool_binding.tool_bundle.tool_call.tool_definition_version.tool_executor.tool_surface_defaults.tool_test_sample.tool_ui.tool_ui_incident.tool_ui_version.topic_placement_queue.transcript.trigger_event.udt_dataset_template.udt_dataset_template_fields.udt_document.udt_document_snapshot.udt_workbook_snapshot.ui_client.ui_surface_action.ui_surface_agent_pref.ui_surface_agent_role.ui_surface_client_tool.ui_surface_config.ui_surface_item_type.ui_surface_value.ui_surface_write_target.univer_payload.unsubscribe_token.uploads_inflight.user.user_achievement.user_active_context.user_analysis_preference.user_email_preference.user_entity_state.user_feedback.user_follows.user_form_profile.user_markdown_sample.user_memory.user_preference.user_profile.user_secret.user_secret_audit.user_secret_grant.user_stat.user_storage_usage.user_surface_state.vault_fill_approvals.vault_fill_devices.vault_fill_nonces.visibility_cache.visibility_epoch.voice.war_room.wbx_demo.wbx_guidance.wbx_highlight.wbx_pattern.wbx_recipe.wbx_screenshot.wbx_seo_audit.wc_claim.wc_impairment_definition.wc_injury.wc_report.web_analysis_item.web_brand.web_brand_asset.web_brand_offering.web_business_fact.web_business_location.web_channel_analytics_daily.web_crawl_event.web_crawl_preset.web_crawl_schedule.web_crawl_session.web_crawl_url.web_discovered_item.web_finding.web_gsc_page_stat.web_link_edge.web_listing_publisher.web_location_listing.web_news_item.web_offering_template.web_page.web_page_content.web_page_evidence.web_page_sitemap.web_property.web_provider.web_result.web_screenshot.web_site.web_site_endpoint_rule.web_site_item_config.web_site_offering.web_sitemap.web_snapshot.web_tag_manager_snapshot.web_voice_fingerprint.web_youtube_video.webhook_deliveries.webhook_dispatch_state.webhooks.wf_node_data_slot.work_claim.work_item.workbook.worker_heartbeat.workflow.workflow_card.workflow_checkpoint.workflow_comparison.workflow_definition_version.workflow_idempotency.workflow_job.workflow_node_events.workflow_node_outcome.workflow_plan.workflow_plan_event.workflow_plan_sample.workflow_recovery_audit.workflow_run.workflow_run_cost.workflow_run_facts.workflow_run_log.workflow_runtime_surface.workflow_template.workflow_trigger.workflow_trigger_fire.workflow_work_item.working_document.write_guard_key.youtube_quota_day.youtube_search.youtube_video`.split(`.`));function SD(e){return typeof e==`string`&&xD.has(e)}function CD(e){return typeof e==`string`?JSON.stringify(e):e==null?String(e):JSON.stringify(e)}var wD={cx_message:`message`,cx_conversation:`conversation`,user_file:`file`,agent_app:`app`,chat_block:`message`};function TD(...e){for(let t of e)if(t)return t;return null}function ED(e){function t(t,n,r){let i=`association ${t} ${r} (got ${CD(n)})`;return e({code:`invalid_argument`,message:`[associations] invalid argument — ${i}`,context:{field:t}}),{code:`invalid_argument`,message:i}}return{checkUuid(e,n){return JE(n)?null:t(e,n,`must be a UUID`)},checkUuidArray(e,n){for(let r=0;r<n.length;r++)if(!JE(n[r]))return t(`${e}[${r}]`,n[r],`must be a UUID`);return null},checkToken(e,n){return typeof n!=`string`||n.length===0?t(e,n,`must be a non-empty entity-type token`):SD(n)?null:t(e,n,`is not a registered entity type (platform.entity_types) — add it to the registry + upgrade @ai-matrx/associations, never guess a token`)},normalizeEntityToken(t){let n=wD[t];return n?(e({code:`legacy_token_alias`,message:`[associations] phantom entity token ${JSON.stringify(t)} mapped to canonical ${JSON.stringify(n)} — fix the callsite to emit the canonical token (FOUND_DEFECTS D27)`,context:{value:t,canonical:n}}),n):t}}}function DD(e,t,n,r){let i={code:e,message:t};return n!==void 0&&(i.detail=n),r!==void 0&&(i.hint=r),{ok:!1,error:i}}function OD(e){return{ok:!0,data:e}}function kD(e){if(typeof navigator<`u`&&navigator.onLine===!1||e instanceof TypeError)return!0;if(e&&typeof e==`object`){let t=e;if(t.code||t.status)return!1;let n=`${typeof t.name==`string`?t.name:``} ${typeof t.message==`string`?t.message:``}`.toLowerCase();return n.includes(`failed to fetch`)||n.includes(`networkerror`)||n.includes(`network request failed`)||n.includes(`load failed`)||n.includes(`upstream connect error or disconnect/reset before headers`)}return!1}function AD(e){if(!e||typeof e!=`object`)return!1;let t=e;return typeof t.code==`string`&&typeof t.message==`string`}function jD(e){if(e&&typeof e==`object`){let t=e;return{pgCode:typeof t.code==`string`&&t.code?t.code:null,pgMessage:typeof t.message==`string`&&t.message?t.message:null,pgHint:typeof t.hint==`string`&&t.hint?t.hint:void 0}}return{pgCode:null,pgMessage:null,pgHint:void 0}}function MD(e){function t(t){let{pgCode:n,pgMessage:r,pgHint:i}=jD(t);if(n===`PGRST202`){let a=`demanded schema violation: the database this client is pointed at cannot answer a demanded @ai-matrx/associations RPC (PostgREST PGRST202 — function not found). This package DEMANDS the platform `+`schema (README § The demanded schema). ${r??``}`.trim();e({code:`demanded_schema_violation`,message:a,context:{pgCode:n,detail:t}});let o={code:`demanded_schema_violation`,message:a,detail:t};return i!==void 0&&(o.hint=i),o}if(kD(t)?e({code:`transport_failure`,message:`network unreachable (browser offline?)`,context:{transient:!0,detail:t}}):AD(t)||e({code:`internal`,message:r??`Unexpected error talking to the data source`,context:{detail:t}}),n===`PGRST116`)return{code:`not_found`,message:`Not found`};if(n===`42501`)return{code:`forbidden_org`,message:`Permission denied`};if(n===`PGRST301`||n===`PGRST303`)return{code:`unauthorized`,message:`Your session expired`};if(n===`57014`){let e={code:`internal`,message:`The database took too long to respond`,detail:t};return i!==void 0&&(e.hint=i),e}let a={message:r??`Unexpected error talking to the data source`,code:`internal`,detail:t};return i!==void 0&&(a.hint=i),a}function n(e){let n=t(e);return[n.code,n.message,n.detail,n.hint]}return{ok:OD,err:DD,mapPgError:t,mapPgErrorPair:n}}var ND={dataset:{label:`Table`},structured_list:{label:`Pick list`}};function PD(e){return Object.prototype.hasOwnProperty.call(ND,e)}function FD(e){return PD(e)?ND[e].label:null}var ID=`created_by`,LD=`organization_id`,RD=new Set([`utility`,`source`,`destination`,`hybrid`,`container`]);function zD(e){return e!==null&&RD.has(e)}var BD={cld_file:`file`};function VD(e){return BD[e]??e}var HD=(()=>{let e={};for(let t of Object.keys(bD)){let n=bD[t],r=`${n.schema}.${n.table}`;r in e||(e[r]=t)}return e})(),UD=(()=>{let e={};for(let t of Object.keys(bD)){let n=bD[t].table;e[n]=n in e?null:t}return e})();function WD(e,t){let n={...t??{}},r=new Set;function i(t){return r.has(t)||(r.add(t),e({code:`retired_entity_token`,message:`[entityRegistry] "${t}" is not in the live entity vocabulary (retired or renamed in platform.entity_types). The host still references it; rename the reference to the live token, or drop it. Serving a stand-in so the page can render.`,context:{token:t}})),{token:t,schema:``,table:``,label:`${t} (retired)`,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null}}function a(e){let t=FD(e);return t===null?null:{token:e,schema:``,table:``,label:t,baseTier:1,isComponent:!1,isModule:!1,isListed:!1,scopeable:!1,category:null,referencePickable:!1,titleColumn:null,contentRole:null,referenceCategory:null}}function o(t){let r=bD[t]??a(t)??i(t),o=n[t],s=o?.labelPlural??`${r.label}s`,c=r.titleColumn,l=zD(r.contentRole)?r.contentRole:`destination`;r.contentRole!==null&&!zD(r.contentRole)&&e({code:`invalid_content_role`,message:`[entityRegistry] "${t}" has invalid content_role "${r.contentRole}" in platform.entity_types; using destination as a loud recovery.`,context:{token:t,contentRole:r.contentRole}});let u=o?.ownerColumn===void 0?ID:o.ownerColumn??``,d=o?.orgColumn===void 0?LD:o.orgColumn??``;return{token:t,label:r.label,labelPlural:s,schema:r.schema,table:r.table,titleColumn:c,ownerColumn:u,orgColumn:d,Icon:o?.Icon??null,hrefFor:o?.hrefFor??null,scopeable:r.scopeable,category:r.category,contentRole:l,listCandidates:o?.listCandidates??null,canListCandidates:c!==null||o?.listCandidates!==void 0}}return{registerEntityOverlay(e){for(let t of Object.keys(e)){let r=e[t];r&&(n[t]={...n[t],...r})}},getEntityInfo:o,tryGetEntityInfo(e){let t=VD(e);return SD(t)?o(t):PD(e)?o(e):null},tryGetEntityInfoByTable(e,t){let n=HD[`${e}.${t}`];return n?o(n):null},tryGetEntityInfoByUniqueTableName(e){let t=UD[e];return t?o(t):null},curatedTokens(){return Object.keys(bD).filter(e=>{let t=bD[e],r=n[e];return zD(t.contentRole)&&(t.titleColumn!=null||r?.listCandidates!==void 0)})},listableTokens(){return Object.keys(bD).filter(t=>{let r=bD[t];if(!r.referencePickable)return!1;let i=n[t],a=r.titleColumn!=null||i?.listCandidates!==void 0;return a||e({code:`unlistable_pickable_token`,message:`[entityRegistry] "${t}" is reference_pickable in platform.entity_types but has NO title_column and no host candidate source — set its title_column in the registry or register a listCandidates override.`,context:{token:t}}),a})}}}var GD={"artifact>processed_document":[`source`],"calendar_event>conversation":[`conversation_attached_resource`],"calendar_event>party":[`attendee`],"code_file>code_repository":[`in_repository`],"content_ir_kind_instance>content_ir_kind_instance":[`part_of`],"conversation>party":[`produced_by`],"document>category":[`labeled`],"document>document":[`mentions`,`sub_page`],"document>record":[`embeds`],"fc_set>processed_document":[`source`],"file>hr_application":[`evidence`],"file>hr_employee":[`personnel_document`],"file>hr_employment":[`evidence`],"file>hr_incident":[`evidence`],"file>hr_leave_case":[`evidence`],"google_document>crm_deal":[`attached_to`],"google_document>party":[`attached_to`],"google_document>project":[`attached_to`],"google_document>task":[`attached_to`],"hr_candidate>party":[`candidate_party`],"hr_course>hr_job_title":[`role_curriculum`],"hr_credential>hr_job_title":[`required_credential`],"hr_employee>record":[`scope_member`],"hr_employee>scope":[`scope_member`],"integration_connection_resource>conversation":[`conversation_attached_resource`],"media_source_library>youtube_video":[`catalogued_source`],"message>content_ir_kind_instance":[`produced_by`],"note>calendar_event":[`about`],"note>hr_candidate":[`hr_note`],"note>hr_employee":[`hr_note`],"organization>seo_keyword":[`keyword_library`],"pc_episode>processed_document":[`source`],"processed_document>code_repository":[`in_repository`],"processed_document>media_source_library":[`catalogued_source`],"processed_document>record":[`about`],"processed_document>research_topic":[`research_source`],"processed_document>scope":[`about`],"processed_document>tag":[`about`],"processed_document>web_site":[`crawled_page`],"quiz_session>processed_document":[`source`],"record>document":[`row_body`],"research_source>youtube_video":[`Canonical YouTube video`],"web_youtube_video>seo_map_topic":[`covers`],"youtube_video>transcript":[`video_transcript`]};function KD(e,t){return GD[`${e}>${t}`]??[]}function qD(e,t,n){let r=KD(e,t);if(r.length===1)return r[0];if(n&&r.includes(n))return n}function JD(e){return{id:e.id,direction:e.direction===`incoming`?`incoming`:`outgoing`,otherType:e.other_type,otherId:e.other_id,role:e.role??null,label:e.label??null,position:e.position??null,metadata:e.metadata??{},orgId:e.organization_id??null,createdAt:e.created_at}}function YD(e){return{id:e.id,targetId:e.target_id,sourceType:e.source_type,sourceId:e.source_id,role:e.role??null,label:e.label??null,position:e.position??null,metadata:e.metadata??{},orgId:e.organization_id??null,createdAt:e.created_at}}function XD(e){return{id:e.id,sourceId:e.source_id,targetType:e.target_type,targetId:e.target_id,role:e.role??null,label:e.label??null,position:e.position??null,metadata:e.metadata??{},orgId:e.organization_id??null,createdAt:e.created_at}}function ZD(e){let{dataSource:t,identity:n,guards:r}=e,{ok:i,err:a,mapPgError:o,mapPgErrorPair:s}=e.rpc,{checkToken:c,checkUuid:l,checkUuidArray:u,normalizeEntityToken:d}=r;return{async listForEntity(e,r){try{n.requireUserId();let o=d(e),u=TD(c(`type`,o),l(`id`,r));if(u)return{ok:!1,error:u};let{data:f,error:p}=await t.rpc(`assoc_for_entity`,{p_type:o,p_id:r});return p?a(...s(p)):i({edges:(Array.isArray(f)?f:[]).map(JD)})}catch(e){return{ok:!1,error:o(e)}}},async listConversationFiles(e){try{n.requireUserId();let r=l(`conversationId`,e);if(r)return{ok:!1,error:r};let{data:o,error:c}=await t.rpc(`conversation_files`,{p_conversation_id:e});return c?a(...s(c)):i({files:(Array.isArray(o)?o:[]).map(e=>({fileId:e.file_id,label:e.label??null,metadata:e.metadata??{},createdAt:e.created_at}))})}catch(e){return{ok:!1,error:o(e)}}},async listForTargets(e,r){try{n.requireUserId();let o=d(e),l=Array.from(new Set(r));if(l.length===0)return i({edges:[]});let f=TD(c(`targetType`,o),u(`targetIds`,l));if(f)return{ok:!1,error:f};let{data:p,error:m}=await t.rpc(`assoc_for_targets`,{p_target_type:o,p_target_ids:l});return m?a(...s(m)):i({edges:(Array.isArray(p)?p:[]).map(YD)})}catch(e){return{ok:!1,error:o(e)}}},async listForTargetsVisible(e,r){try{n.requireUserId();let o=d(e),l=Array.from(new Set(r));if(l.length===0)return i({edges:[]});let f=TD(c(`targetType`,o),u(`targetIds`,l));if(f)return{ok:!1,error:f};let{data:p,error:m}=await t.rpc(`assoc_members_visible`,{p_target_type:o,p_target_ids:l});return m?a(...s(m)):i({edges:(Array.isArray(p)?p:[]).map(YD)})}catch(e){return{ok:!1,error:o(e)}}},async listForSources(e,r,l){try{n.requireUserId();let o=d(e),f=l==null?void 0:d(l),p=Array.from(new Set(r));if(p.length===0)return i({edges:[]});let m=TD(c(`sourceType`,o),u(`sourceIds`,p),f?c(`targetType`,f):null);if(m)return{ok:!1,error:m};let{data:h,error:g}=await t.rpc(`assoc_for_sources`,{p_source_type:o,p_source_ids:p,...f?{p_target_type:f}:{}});return g?a(...s(g)):i({edges:(Array.isArray(h)?h:[]).map(XD)})}catch(e){return{ok:!1,error:o(e)}}},async add(e){try{n.requireUserId();let r=d(e.sourceType),o=d(e.targetType),u=TD(c(`sourceType`,r),l(`sourceId`,e.sourceId),c(`targetType`,o),l(`targetId`,e.targetId),e.orgId==null?null:l(`orgId`,e.orgId));if(u)return{ok:!1,error:u};if(r===`file`&&o===`conversation`){if(e.role!=null||e.position!=null||e.payloadKind!=null||e.payload!=null)return a(`invalid_argument`,`File conversation attachments support only the canonical role-less edge`);let{data:n,error:r}=await t.rpc(`conversation_file_add`,{p_conversation_id:e.targetId,p_file_id:e.sourceId,p_label:e.label,p_metadata:e.metadata??{},p_replace_metadata:e.replaceMetadata??!1});return r?a(...s(r)):!n||typeof n!=`string`?a(`internal`,`conversation_file_add returned no association id`):i({id:n})}if(e.replaceMetadata!=null)return a(`invalid_argument`,`replaceMetadata is supported only for file conversation attachments`);let{data:f,error:p}=await t.rpc(`assoc_add`,{p_source_type:r,p_source_id:e.sourceId,p_target_type:o,p_target_id:e.targetId,p_org_id:e.orgId,p_label:qD(r,o,e.label)??e.label,p_metadata:e.metadata??{},p_role:e.role,p_position:e.position,p_payload_kind:e.payloadKind,p_payload:e.payload??void 0});return p?a(...s(p)):!f||typeof f!=`string`?a(`internal`,`assoc_add returned no association id`):i({id:f})}catch(e){return{ok:!1,error:o(e)}}},async remove(e){try{n.requireUserId();let r=d(e.sourceType),o=d(e.targetType),u=TD(c(`sourceType`,r),l(`sourceId`,e.sourceId),c(`targetType`,o),l(`targetId`,e.targetId));if(u)return{ok:!1,error:u};if(r===`file`&&o===`conversation`){if(e.role!=null)return a(`invalid_argument`,`File conversation attachments support only the canonical role-less edge`);let{error:n}=await t.rpc(`conversation_file_remove`,{p_conversation_id:e.targetId,p_file_id:e.sourceId});return n?a(...s(n)):i(null)}let{error:f}=await t.rpc(`assoc_remove`,{p_source_type:r,p_source_id:e.sourceId,p_target_type:o,p_target_id:e.targetId,p_role:e.role});return f?a(...s(f)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async setTargets(e){try{n.requireUserId();let r=d(e.sourceType),o=d(e.targetType),f=Array.from(new Set(e.targetIds)),p=TD(c(`sourceType`,r),l(`sourceId`,e.sourceId),c(`targetType`,o),u(`targetIds`,f),e.orgId==null?null:l(`orgId`,e.orgId));if(p)return{ok:!1,error:p};let{error:m}=await t.rpc(`assoc_set_targets`,{p_source_type:r,p_source_id:e.sourceId,p_target_type:o,p_target_ids:f,p_org_id:e.orgId,p_role:e.role});return m?a(...s(m)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async addAgentResource(e){try{n.requireUserId();let r=d(e.sourceType),o=TD(l(`agentId`,e.agentId),c(`sourceType`,r),l(`sourceId`,e.sourceId));if(o)return{ok:!1,error:o};let{data:u,error:f}=await t.rpc(`agent_resource_add`,{p_agent_id:e.agentId,p_source_type:r,p_source_id:e.sourceId,p_label:e.label,p_metadata:e.metadata??{}});return f?a(...s(f)):!u||typeof u!=`string`?a(`internal`,`agent_resource_add returned no association id`):i({id:u})}catch(e){return{ok:!1,error:o(e)}}},async removeAgentResource(e){try{n.requireUserId();let r=d(e.sourceType),o=TD(l(`agentId`,e.agentId),c(`sourceType`,r),l(`sourceId`,e.sourceId));if(o)return{ok:!1,error:o};let{error:u}=await t.rpc(`agent_resource_remove`,{p_agent_id:e.agentId,p_source_type:r,p_source_id:e.sourceId});return u?a(...s(u)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async removeForEntity(e,r){try{n.requireUserId();let o=d(e),u=TD(c(`type`,o),l(`id`,r));if(u)return{ok:!1,error:u};let{error:f}=await t.rpc(`assoc_remove_for_entity`,{p_type:o,p_id:r});return f?a(...s(f)):i(null)}catch(e){return{ok:!1,error:o(e)}}}}}function QD(e){return{id:e.id,orgId:e.organization_id??null,dimension:e.dimension,name:e.name,slug:e.slug??null,parentId:e.parent_id??null,isSystem:!!e.is_system,color:e.color??null,icon:e.icon??null,position:e.position??null,metadata:e.metadata&&typeof e.metadata==`object`&&!Array.isArray(e.metadata)?e.metadata:null}}function $D(e){let{dataSource:t,identity:n}=e,{ok:r,err:i,mapPgError:a,mapPgErrorPair:o}=e.rpc;return{async list(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_list`,{p_dimension:e});return s?i(...o(s)):r({categories:(Array.isArray(a)?a:[]).map(QD)})}catch(e){return{ok:!1,error:a(e)}}},async create(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_create`,{p_dimension:e.dimension,p_name:e.name,p_org_id:e.orgId,p_parent_id:e.parentId??void 0,p_color:e.color??void 0,p_icon:e.icon??void 0,p_slug:e.slug??void 0});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_create returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}},async update(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_update`,{p_category_id:e.id,p_name:e.name,p_slug:e.slug??void 0,p_color:e.color??void 0,p_icon:e.icon??void 0,p_position:e.position??void 0});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_update returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}},async reparent(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_reparent`,{p_category_id:e.id,p_parent_id:e.parentId??void 0});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_reparent returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}},async delete(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`cat_delete`,{p_category_id:e});return s?i(...o(s)):!a||typeof a!=`string`?i(`internal`,`cat_delete returned no category id`):r({id:a})}catch(e){return{ok:!1,error:a(e)}}}}}function eO(e){return{entityType:e.entity_type,entityId:e.entity_id,isFavorite:e.is_favorite,isPinned:e.is_pinned,isHidden:e.is_hidden,lastViewedAt:e.last_viewed_at??null}}function tO(e){let{dataSource:t,identity:n}=e,{ok:r,err:i,mapPgError:a,mapPgErrorPair:o}=e.rpc,s={async setState(e){try{n.requireUserId();let{error:a}=await t.rpc(`ues_set`,{p_entity_type:e.entityType,p_entity_id:e.entityId,p_is_favorite:e.isFavorite,p_is_pinned:e.isPinned,p_is_hidden:e.isHidden});return a?i(...o(a)):r(null)}catch(e){return{ok:!1,error:a(e)}}},async setFavorite(e,t,n){return s.setState({entityType:e,entityId:t,isFavorite:n})},async setPinned(e,t,n){return s.setState({entityType:e,entityId:t,isPinned:n})},async setHidden(e,t,n){return s.setState({entityType:e,entityId:t,isHidden:n})},async list(e){try{n.requireUserId();let{data:a,error:s}=await t.rpc(`ues_list`,{p_kind:e});return s?i(...o(s)):r({items:(Array.isArray(a)?a:[]).map(eO)})}catch(e){return{ok:!1,error:a(e)}}},async getBulk(e,s){try{n.requireUserId();let a=Array.from(new Set(s)),{data:c,error:l}=await t.rpc(`ues_get_bulk`,{p_entity_type:e,p_entity_ids:a});return l?i(...o(l)):r({items:(Array.isArray(c)?c:[]).map(t=>({entityType:e,entityId:t.entity_id,isFavorite:t.is_favorite,isPinned:t.is_pinned,isHidden:t.is_hidden,lastViewedAt:t.last_viewed_at??null}))})}catch(e){return{ok:!1,error:a(e)}}},async touch(e,s){try{n.requireUserId();let{error:a}=await t.rpc(`ues_touch`,{p_entity_type:e,p_entity_id:s});return a?i(...o(a)):r(null)}catch(e){return{ok:!1,error:a(e)}}}};return s}function nO(e){let{dataSource:t,registry:n,errorSink:r}=e,i=async e=>{let{data:n,error:r}=await t.rpc(`reference_search_candidates`,e);return r?{data:null,error:r}:{data:Array.isArray(n)?n:[],error:null}};async function a(e){let{token:t,search:a,limit:o=100}=e,s=n.getEntityInfo(t);if(s.listCandidates)try{return await s.listCandidates({...a===void 0?{}:{search:a},limit:o})}catch(e){let n=e instanceof Error?e.message:`Failed to load candidates`;return r({code:`candidate_override_failed`,message:`[listAssociationCandidates] override failed for "${t}": ${n}`,context:{token:t,detail:e}}),{ok:!1,error:n}}if(!s.canListCandidates||!s.titleColumn){let e=`Entity "${t}" has no title column — set one in platform.entity_types (or register a listCandidates override) before listing candidates`;return r({code:`unlistable_token`,message:`[listAssociationCandidates] ${e}`,context:{token:t}}),{ok:!1,error:e}}let c=a?.trim()||void 0,{data:l,error:u}=await i({p_token:t,...c===void 0?{}:{p_search:c},p_limit:o});return u?(r({code:`candidate_rpc_failed`,message:`[listAssociationCandidates] candidate RPC failed for "${t}": ${u.message}`,context:{token:t,detail:u}}),{ok:!1,error:u.message}):{ok:!0,data:l.map(e=>({id:e.id,title:e.title?.trim()||`Untitled`}))}}async function o(e){let{tokens:t,search:r,perTokenLimit:i=5,concurrency:o=6}=e,s=t??n.listableTokens();if(s.length===0)return{results:[],failures:[]};let c=[],l=[],u=0;async function d(){for(;u<s.length;){let e=s[u];if(u+=1,!e)continue;let t=await a({token:e,search:r,limit:i});if(t.ok)for(let n of t.data)c.push({...n,token:e});else l.push({token:e,error:t.error})}}await Promise.all(Array.from({length:Math.min(o,s.length)},d));let f=new Map(s.map((e,t)=>[e,t]));return c.sort((e,t)=>{let n=f.get(e.token)??0,r=f.get(t.token)??0;return n===r?e.title.localeCompare(t.title):n-r}),l.sort((e,t)=>(f.get(e.token)??0)-(f.get(t.token)??0)),{results:c,failures:l}}return{callReferenceSearchCandidates:i,listAssociationCandidates:a,searchCandidatesAcrossTokens:o}}var rO=200;function iO(e,t){return`${e}:${t}`}function aO(e,t){let{registry:n,errorSink:r}=e,i=new Map;return{get(e,t){return i.get(iO(e,t))??null},prime(e,t,n){let r=n.trim();r&&i.set(iO(e,t),r)},fallback(e){return`Untitled ${n.tryGetEntityInfo(e)?.label??de(e)}`},async fetch(e,a){let o=new Map;if(a.length===0)return o;let s=n.tryGetEntityInfo(e),c=[];for(let t of a){let n=i.get(iO(e,t));n===void 0?c.push(t):o.set(t,n)}if(c.length===0||!s?.titleColumn)return o;for(let n=0;n<c.length;n+=rO){let a=c.slice(n,n+rO),{data:s,error:l}=await t.callReferenceSearchCandidates({p_token:e,p_ids:a,p_limit:a.length});if(l){r({code:`title_rpc_failed`,message:`[fetchEntityTitles] candidate RPC failed for "${e}": ${l.message}`,context:{token:e,chunkStart:n,chunkSize:a.length,detail:l}});continue}for(let t of s){let n=t.title?.trim();n&&(i.set(iO(e,t.id),n),o.set(t.id,n))}}return o}}}function oO(e,t){let{dataSource:n,registry:r,errorSink:i}=e;function a(e,t){if(!r.getEntityInfo(e).titleColumn){let n=`Entity "${e}" has no title_column in platform.entity_types — add one in the registry before ${t}`;return i({code:`missing_title_column`,message:`[entityRows] ${n}`,context:{token:e}}),{ok:!1,error:n}}return{ok:!0}}return{async createEntityRow(e,o){let s=a(e,`creating rows`);if(!s.ok)return s;let c=o.title.trim();if(!c)return{ok:!1,error:`Name is required`};let l=Object.keys(o.extraColumns??{});if(l.length>0){let t=`A new ${r.getEntityInfo(e).label} cannot be created here with ${l.join(`, `)}: the shared create door writes the name, the owner and the organization and nothing else. Create it with this feature's own create service, then attach it.`;return i({code:`entity_row_extra_columns_unsupported`,message:`[createEntityRow] extraColumns are not writable through entity_row_create for "${e}": ${l.join(`, `)}`,context:{token:e,extras:l}}),{ok:!1,error:t}}if(!o.orgId){let t=`Name the organization this ${r.getEntityInfo(e).label} belongs to.`;return i({code:`entity_row_missing_organization`,message:`[createEntityRow] no organization supplied for "${e}"; entity_row_create requires one`,context:{token:e}}),{ok:!1,error:t}}try{let{data:r,error:a}=await n.rpc(`entity_row_create`,{p_token:e,p_title:c,p_organization_id:o.orgId});if(a)return i({code:`entity_row_insert_failed`,message:`[createEntityRow] entity_row_create failed for "${e}": ${a.message}`,context:{token:e,detail:a}}),{ok:!1,error:a.message};let s=r;if(!s||typeof s.id!=`string`||!s.id)return i({code:`entity_row_insert_failed`,message:`[createEntityRow] entity_row_create returned no id for "${e}"`,context:{token:e,detail:r}}),{ok:!1,error:`The create door returned no record.`};let l=s.id,u=typeof s.title==`string`&&s.title?s.title:c;return t.prime(e,l,u),{ok:!0,data:{id:l,title:u}}}catch(t){let n=t instanceof Error?t.message:`Failed to create`;return i({code:`entity_row_insert_failed`,message:`[createEntityRow] exception for "${e}": ${n}`,context:{token:e,detail:t}}),{ok:!1,error:n}}},async renameEntityRow(e,r,o){let s=a(e,`renaming rows`);if(!s.ok)return s;let c=o.trim();if(!c)return{ok:!1,error:`Name is required`};try{let{error:a}=await n.rpc(`entity_row_rename`,{p_token:e,p_id:r,p_title:c});return a?(i({code:`entity_row_update_failed`,message:`[renameEntityRow] entity_row_rename failed for "${e}": ${a.message}`,context:{token:e,id:r,detail:a}}),{ok:!1,error:a.message}):(t.prime(e,r,c),{ok:!0})}catch(t){let n=t instanceof Error?t.message:`Failed to rename`;return i({code:`entity_row_update_failed`,message:`[renameEntityRow] exception for "${e}": ${n}`,context:{token:e,id:r,detail:t}}),{ok:!1,error:n}}}}}function sO(e,t){let n=e[0]??{code:`internal`,message:`unknown failure`};return{code:e.every(e=>e.code===n.code)?n.code:`internal`,message:`${e.length}/${t} association edge(s) failed: ${n.message}`,detail:e}}function cO(e){return[e.code,e.message,e.detail]}function lO(e){async function t(t){if(t.length===0)return OD({ids:[]});let n=await Promise.all(t.map(t=>e.add({sourceType:t.source.type,sourceId:t.source.id,targetType:t.target.type,targetId:t.target.id,...t.orgId===void 0?{}:{orgId:t.orgId},...t.label===void 0?{}:{label:t.label},...t.metadata===void 0?{}:{metadata:t.metadata},...t.role===void 0?{}:{role:t.role},...t.position===void 0?{}:{position:t.position}}))),r=[],i=[];for(let e of n)vD(e)?i.push(e.error):r.push(e.data.id);return i.length>0?DD(...cO(sO(i,t.length))):OD({ids:r})}return{linkEdges:t,async linkOneToMany({source:e,targets:n,attrs:r}){return t(n.map(t=>({source:e,target:t,...r})))},async linkManyToOne({sources:e,target:n,attrs:r}){return t(e.map(e=>({source:e,target:n,...r})))},async replaceTargets(t){return e.setTargets({sourceType:t.source.type,sourceId:t.source.id,targetType:t.targetType,targetIds:t.targetIds,...t.orgId===void 0?{}:{orgId:t.orgId},...t.role===void 0?{}:{role:t.role}})},async linkCreated(e){return t(e.targets.map(t=>({source:e.created,target:t,...e.attrs})))},async unlinkEdges(t){if(t.length===0)return OD(null);let n=await Promise.all(t.map(t=>e.remove({sourceType:t.source.type,sourceId:t.source.id,targetType:t.target.type,targetId:t.target.id,...t.role===void 0?{}:{role:t.role}}))),r=[];for(let e of n)vD(e)&&r.push(e.error);return r.length>0?DD(...cO(sO(r,t.length))):OD(null)}}}function uO(e){return{id:e.id,orgId:e.organization_id??null,entityType:e.entity_type,entityId:e.entity_id,parentId:e.parent_id??null,body:e.body,createdAt:e.created_at,updatedAt:e.updated_at,createdBy:e.created_by??null,author:{email:e.author_email??null,displayName:e.author_display_name??null,avatarUrl:e.author_avatar_url??null},authorAgent:e.author_agent_id?{id:e.author_agent_id,name:e.author_agent_name??null}:null,anchor:e.anchor&&typeof e.anchor==`object`?e.anchor:null}}function dO(e){let{dataSource:t,identity:n,guards:r}=e,{ok:i,err:a,mapPgError:o,mapPgErrorPair:s}=e.rpc;return{async listForEntity(e,c){try{n.requireUserId();let o=r.normalizeEntityToken(e),l=TD(r.checkToken(`entityType`,o),r.checkUuid(`entityId`,c));if(l)return{ok:!1,error:l};let{data:u,error:d}=await t.rpc(`cmt_list`,{p_entity_type:o,p_entity_id:c});return d?a(...s(d)):i({comments:(Array.isArray(u)?u:[]).map(uO)})}catch(e){return{ok:!1,error:o(e)}}},async add(e){try{n.requireUserId();let o=r.normalizeEntityToken(e.entityType),c=TD(r.checkToken(`entityType`,o),r.checkUuid(`entityId`,e.entityId),e.parentId==null?null:r.checkUuid(`parentId`,e.parentId));if(c)return{ok:!1,error:c};if(!e.body||e.body.trim().length===0)return a(`invalid_argument`,`comment body must be non-empty`);let{data:l,error:u}=await t.rpc(`cmt_add`,{p_entity_type:o,p_entity_id:e.entityId,p_body:e.body,p_parent_id:e.parentId??void 0,p_org_id:e.orgId??void 0,...e.anchor?{p_anchor:e.anchor}:{}});return u?a(...s(u)):!l||typeof l!=`string`?a(`internal`,`cmt_add returned no comment id`):i({id:l})}catch(e){return{ok:!1,error:o(e)}}},async edit(e,c){try{n.requireUserId();let o=r.checkUuid(`commentId`,e);if(o)return{ok:!1,error:o};if(!c||c.trim().length===0)return a(`invalid_argument`,`comment body must be non-empty`);let{error:l}=await t.rpc(`cmt_edit`,{p_id:e,p_body:c});return l?a(...s(l)):i(null)}catch(e){return{ok:!1,error:o(e)}}},async remove(e){try{n.requireUserId();let o=r.checkUuid(`commentId`,e);if(o)return{ok:!1,error:o};let{error:c}=await t.rpc(`cmt_delete`,{p_id:e});return c?a(...s(c)):i(null)}catch(e){return{ok:!1,error:o(e)}}}}}function fO(e,t){return`${e}:${t}`}var pO=Object.freeze({status:`idle`,edges:Object.freeze([]),fetchedAt:null,error:null}),mO=Object.freeze({status:`idle`,categories:Object.freeze([]),fetchedAt:null,error:null}),hO=Object.freeze({status:`idle`,comments:Object.freeze([]),fetchedAt:null,error:null});function gO(e){if(!e||typeof e.dataSource?.rpc!=`function`)throw Error(`@ai-matrx/associations: the REQUIRED dataSource port is missing (need an object with rpc(fn, args) — a supabase-js client satisfies it structurally). The package IS data operations; there is no degraded mode without one.`);if(typeof e.identity?.requireUserId!=`function`)throw Error(`@ai-matrx/associations: the REQUIRED identity port is missing (need requireUserId(): string that THROWS when unauthenticated). Identity never comes from a store import.`);let t=typeof e.errorSink==`function`?e.errorSink:yD(),n=WD(t,e.entityOverlay),r={dataSource:e.dataSource,identity:e.identity,errorSink:t,guards:ED(t),rpc:MD(t),registry:n},i=ZD(r),a=$D(r),o=tO(r),s=nO(r),c=aO(r,s),l=oO(r,c),u=lO(i),d=dO(r),f=new Map,p=new Map,m=new Map,h=new Map,g=new Map,_=new Map,v=new Map,y=new Map,b=new Map;function x(e){let t=p.get(e);if(t)for(let e of[...t])e()}function S(e){let t=g.get(e);if(t)for(let e of[...t])e()}function C(e,t){f.set(e,t),x(e)}function w(e,t){h.set(e,t),S(e)}function T(e){let t=y.get(e);if(t)for(let e of[...t])e()}function E(e,t){v.set(e,t),T(e)}async function D(e,t,n={}){let r=n.force??!1;if(!e||!t)return;let a=fO(e,t),o=f.get(a);if(!r&&o?.status===`ready`)return;let s=m.get(a);if(!r&&o?.status===`loading`&&s)return s;let c=f.get(a);C(a,{status:`loading`,edges:c?.edges??[],fetchedAt:c?.fetchedAt??null,error:c?.error??null});let l=(async()=>{try{let n=await i.listForEntity(e,t);if(vD(n)){let e=f.get(a);C(a,{status:`error`,edges:e?.edges??[],fetchedAt:e?.fetchedAt??null,error:n.error.message})}else C(a,{status:`ready`,edges:n.data.edges,fetchedAt:Date.now(),error:null})}finally{m.delete(a)}})();return m.set(a,l),l}async function O(e,t,n,r){await Promise.all([D(e,t,{force:!0}),D(n,r,{force:!0})])}async function k(e,t={}){let n=t.force??!1;if(!e)return;let r=h.get(e);if(!n&&r?.status===`ready`)return;let i=_.get(e);if(!n&&r?.status===`loading`&&i)return i;let o=h.get(e);w(e,{status:`loading`,categories:o?.categories??[],fetchedAt:o?.fetchedAt??null,error:null});let s=(async()=>{try{let t=await a.list(e);if(vD(t)){let n=h.get(e);w(e,{status:`error`,categories:n?.categories??[],fetchedAt:n?.fetchedAt??null,error:t.error.message})}else w(e,{status:`ready`,categories:t.data.categories,fetchedAt:Date.now(),error:null})}finally{_.delete(e)}})();return _.set(e,s),s}async function A(e,t,n={}){let r=n.force??!1;if(!e||!t)return;let i=fO(e,t),a=v.get(i);if(!r&&a?.status===`ready`)return;let o=b.get(i);if(!r&&a?.status===`loading`&&o)return o;let s=v.get(i);E(i,{status:`loading`,comments:s?.comments??[],fetchedAt:s?.fetchedAt??null,error:s?.error??null});let c=(async()=>{try{let n=await d.listForEntity(e,t);if(vD(n)){let e=v.get(i);E(i,{status:`error`,comments:e?.comments??[],fetchedAt:e?.fetchedAt??null,error:n.error.message})}else E(i,{status:`ready`,comments:n.data.comments,fetchedAt:Date.now(),error:null})}finally{b.delete(i)}})();return b.set(i,c),c}return{getEdges(e,t){return!e||!t?pO:f.get(fO(e,t))??pO},load:D,subscribe(e,t){let n=p.get(e);return n||(n=new Set,p.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&p.delete(e)}},async add(e){let t=await i.add(e);return vD(t)?{ok:!1,error:t.error.message}:(await O(e.sourceType,e.sourceId,e.targetType,e.targetId),{ok:!0,id:t.data.id})},async remove(e){let t=await i.remove(e);return vD(t)?{ok:!1,error:t.error.message}:(await O(e.sourceType,e.sourceId,e.targetType,e.targetId),{ok:!0})},async setTargets(e){let t=await i.setTargets(e);return vD(t)?{ok:!1,error:t.error.message}:(await D(e.sourceType,e.sourceId,{force:!0}),{ok:!0})},invalidate(e,t){let n=fO(e,t);f.delete(n)&&x(n)},invalidateAll(){let e=[...f.keys()];f.clear();for(let t of e)x(t);let t=[...h.keys()];h.clear();for(let e of t)S(e);let n=[...v.keys()];v.clear();for(let e of n)T(e)},getCategories(e){return e?h.get(e)??mO:mO},loadCategories:k,subscribeCategories(e,t){let n=g.get(e);return n||(n=new Set,g.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&g.delete(e)}},async createCategory(e){let t=await a.create(e);if(vD(t))return{ok:!1,error:t.error.message};let n={id:t.data.id,orgId:e.orgId,dimension:e.dimension,name:e.name,slug:e.slug??null,parentId:e.parentId??null,isSystem:!1,color:e.color??null,icon:e.icon??null,metadata:null,position:null},r=h.get(e.dimension),i=r?.categories??[];return i.some(e=>e.id===n.id)||w(e.dimension,{status:`ready`,categories:[...i,n],fetchedAt:r?.fetchedAt??Date.now(),error:null}),await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id}},async updateCategory(e){let t=await a.update(e);return vD(t)?{ok:!1,error:t.error.message}:(await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id})},async reparentCategory(e){let t=await a.reparent(e);return vD(t)?{ok:!1,error:t.error.message}:(await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id})},async deleteCategory(e){let t=await a.delete(e.id);return vD(t)?{ok:!1,error:t.error.message}:(await k(e.dimension,{force:!0}),{ok:!0,id:t.data.id})},getComments(e,t){return!e||!t?hO:v.get(fO(e,t))??hO},loadComments:A,subscribeComments(e,t){let n=y.get(e);return n||(n=new Set,y.set(e,n)),n.add(t),()=>{n.delete(t),n.size===0&&y.delete(e)}},async addComment(e){let t=await d.add(e);return vD(t)?{ok:!1,error:t.error.message}:(await A(e.entityType,e.entityId,{force:!0}),{ok:!0,id:t.data.id})},async editComment(e){let t=await d.edit(e.id,e.body);return vD(t)?{ok:!1,error:t.error.message}:(await A(e.entityType,e.entityId,{force:!0}),{ok:!0,id:e.id})},async deleteComment(e){let t=await d.remove(e.id);return vD(t)?{ok:!1,error:t.error.message}:(await A(e.entityType,e.entityId,{force:!0}),{ok:!0,id:e.id})},invalidateComments(e,t){let n=fO(e,t);v.delete(n)&&T(n)},titles:c,favorites:o,candidates:s,entityRows:l,helpers:u,registry:n,services:{associations:i,categories:a,comments:d},registerEntityOverlay:n.registerEntityOverlay,errorSink:t,dataSource:e.dataSource,identity:e.identity}}var _O=1e3,vO=5e5,yO=class extends Error{label;collected;expected;constructor(e,t,n,r){super(`readAllRows(${e}): ${r} — collected ${t}`+(n===null?``:` of ${n}`)+`. Refusing to return a partial list: a truncated read used for an existence/diff decision produces a confidently WRONG answer.`),this.label=e,this.collected=t,this.expected=n,this.name=`IncompleteReadError`}};async function bO(e,t){let n=t.pageSize??_O,r=t.maxRows??vO,i=[],a=null;for(let o=0;;o+=n){let s=await e({from:o,to:o+n-1});if(s.error)throw Error(`readAllRows(${t.label}): query failed — ${s.error.message}`);let c=s.data??[];if(i.push(...c),typeof s.count==`number`&&(a=s.count),a===null){if(c.length<n)return i;throw new yO(t.label,i.length,null,`the query returned no count — pass { count: "exact" } to select() so completeness can be verified`)}if(i.length>=a)break;if(c.length===0)throw new yO(t.label,i.length,a,`a page came back empty before the declared total was reached`);if(i.length>r)throw new yO(t.label,i.length,a,`exceeded the ${r}-row safety limit`)}if(i.length!==a)throw new yO(t.label,i.length,a,`final row count does not match the total the server reported`);return i}function xO(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function SO(e){return typeof e==`string`?e:null}function CO(e){return e===!0}function wO(e){return typeof e==`boolean`?e:null}function TO(e){return Array.isArray(e)?e.filter(e=>typeof e==`string`):[]}function EO(e){return e===`builtin`?`builtin`:`user`}function DO(e){if(!xO(e))return null;let t=e.depth_budget,n=e.member_count;return{mode:SO(e.mode)??`supervisor`,tagline:SO(e.tagline),depthBudget:typeof t==`number`&&Number.isFinite(t)&&t>0?t:null,memberCount:typeof n==`number`&&Number.isFinite(n)&&n>=0?n:0,memberTitles:TO(e.member_titles)}}function OO(e){if(!xO(e))return null;let t=SO(e.id);return t?{id:sD(t),name:SO(e.name),description:SO(e.description),category:SO(e.category),tags:TO(e.tags),agentType:EO(e.agent_type),modelId:SO(e.model_id),isActive:CO(e.is_active),isArchived:CO(e.is_archived),isFavorite:!1,createdBy:SO(e.created_by),organizationId:SO(e.organization_id),taskId:SO(e.task_id),sourceAgentId:SO(e.source_agent_id),createdAt:SO(e.created_at),updatedAt:SO(e.updated_at),isOwner:wO(e.is_owner),accessLevel:SO(e.access_level),sharedByEmail:SO(e.shared_by_email),orchestra:DO(e.orchestra),...`offering_id`in e?{offeringId:SO(e.offering_id)}:{},...`organization_name`in e?{organizationName:SO(e.organization_name)}:{}}:null}var kO=1e3,AO=class extends Error{name=`AgentCatalogReadError`;source;constructor(e,t){super(`${e}: ${t}`),this.source=e}};function jO(e){return e.code?`${e.message} (${e.code})`:e.message}async function MO(e){let t=await bO(({from:t,to:n})=>Promise.resolve(e.rpc(`agx_get_list_full`,{},{count:`exact`}).order(`id`,{ascending:!0}).range(t,n)).then(e=>({data:Array.isArray(e.data)?e.data:null,error:e.error,count:e.count??null})),{label:`agx_get_list_full`,pageSize:kO}),n=[],r=0;for(let e of t){let t=OO(e);t?n.push(t):r+=1}if(r>0)throw new AO(`agx_get_list_full`,`${r} row(s) came back without an id and were refused. A row that cannot be identified cannot be selected, so the catalogue is not trustworthy — check the RPC's return shape.`);return n}async function NO(e,t){let n=t.query.trim();if(!n)return{ids:[],rows:[]};let{data:r,error:i}=await e.rpc(`agx_search`,{p_query:n,p_deep:t.deep??!1,p_limit:t.limit??50,p_offset:0});if(i)throw new AO(`agx_search`,jO(i));let a=[];if(Array.isArray(r))for(let e of r){let t=OO(e);t&&a.push(t)}return{ids:a.map(e=>e.id),rows:a}}async function PO(e,t){try{let n=(await NO(e,{query:t,limit:5})).rows.find(e=>e.id===t);if(n)return n}catch{}let{data:n,error:r}=await e.rpc(`agx_resolve_agent_address`,{p_ids:[t]});if(r)throw new AO(`agx_resolve_agent_address`,jO(r));if(!Array.isArray(n))return null;for(let e of n){if(typeof e!=`object`||!e)continue;let n=e;if(n.agent_id!==t)continue;let r=n.agent_name;return OO({id:t,name:typeof r==`string`?r:null,agent_type:n.agent_type,is_active:!0})}return null}var FO=`agent`;async function IO(e,t,n){if(t.length===0)return t;let r=null;try{let i=await e.getBulk(FO,t.map(e=>e.id));i.ok?r=new Set(i.data.items.filter(e=>e.isFavorite).map(e=>e.entityId)):n(i.error.message)}catch(e){n(e instanceof Error?e.message:String(e))}return t.map(e=>{let t=r?.has(e.id)??!1;return e.isFavorite===t?e:{...e,isFavorite:t}})}async function LO(e,t,n){let r=await e.setFavorite(FO,t,n);if(!r.ok)throw new AO(`user_entity_state (ues_set)`,r.error.code?`${r.error.message} (${r.error.code})`:r.error.message)}var RO=`ai-matrx.agents.catalog.default-row:`,zO=class extends Error{name=`MandateDefaultRowError`;mandateKey;remedy;constructor(e){super(`${e.message} — ${e.remedy}`),this.mandateKey=e.mandateKey,this.remedy=e.remedy}};function BO(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function VO(e,t){if(!BO(t))throw new zO({mandateKey:e,message:`mandate "${e}": the resolution endpoint did not return an object`,remedy:`check that the transport points at the AI Matrx server and that GET /mandates/{key}/resolution is reachable`});let n=t.agent_id,r=t.definition_agent_id,i=t.provenance,a=t.holder_type;return{mandateKey:typeof t.mandate_key==`string`?t.mandate_key:e,holderType:typeof a==`string`?a:`agent`,agentId:typeof n==`string`?n:null,isVersion:t.is_version===!0,definitionAgentId:typeof r==`string`?r:null,provenance:typeof i==`string`?i:`system`}}async function HO(e,t){let n=`/mandates/${encodeURIComponent(t)}/resolution`,r=await e.fetch(n,{method:`GET`,headers:{Accept:`application/json`}});if(!r.ok)throw new zO({mandateKey:t,message:`mandate "${t}": the server refused to resolve it (HTTP ${r.status})`,remedy:r.status===404?`the mandate does not exist — check the key this picker was given`:`check the caller's session and organization context, then retry`});return VO(t,await r.json())}function UO(){let e=new Map;return{getItem:t=>e.get(t)??null,setItem:(t,n)=>{e.set(t,n)},removeItem:t=>{e.delete(t)}}}function WO(){try{let e=globalThis.localStorage;if(e){let t=`${RO}__probe__`;return e.setItem(t,`1`),e.removeItem(t),e}}catch{}return UO()}function GO(e,t){try{if(!t)return null;let n=JSON.parse(t);if(!BO(n))return null;let r=n.holderId,i=n.holderName;if(typeof r!=`string`||typeof i!=`string`)return null;let a=n.holderDescription,o=n.provenance,s=n.at;return{mandateKey:e,holderId:r,holderName:i,holderDescription:typeof a==`string`?a:null,provenance:typeof o==`string`?o:`system`,at:typeof s==`number`?s:0}}catch{return null}}async function KO(e,t){let n;try{n=await e.getItem(RO+t)}catch{return null}return GO(t,n)}async function qO(e,t){try{await e.setItem(RO+t.mandateKey,JSON.stringify(t))}catch{}}function JO(e){return{id:cD(e.mandateKey),name:e.holderName,description:e.holderDescription,category:null,tags:[],agentType:`builtin`,modelId:null,isActive:!0,isArchived:!1,isFavorite:!1,createdBy:null,organizationId:null,taskId:null,sourceAgentId:e.holderId,createdAt:null,updatedAt:null,isOwner:null,accessLevel:null,sharedByEmail:null,orchestra:null,mandateKey:e.mandateKey}}function YO(e,t){return e?e.holderId===t.holderId?e.holderName===t.holderName?null:`The default agent for "${t.mandateKey}" was renamed: "${e.holderName}" is now "${t.holderName}".`:`The default agent for "${t.mandateKey}" changed: this screen was showing "${e.holderName}", and the platform now resolves it to "${t.holderName}". The list below is correct; anything that cached the old name is not.`:null}async function XO(e){let{mandateKey:t,transport:n,client:r,storage:i,lookupRow:a}=e,o=await KO(i,t),s=await HO(n,t);if(s.holderType!==`agent`)throw new zO({mandateKey:t,message:`mandate "${t}": the ${s.provenance} rung names a ${s.holderType} Holder, and an agent picker can only offer an agent`,remedy:`rebind the ${s.provenance} rung to an agent, or drop defaultMandateKey from this picker`});let c=s.definitionAgentId??s.agentId;if(!c)throw new zO({mandateKey:t,message:`mandate "${t}": the server resolved it without naming an agent`,remedy:`bind the ${s.provenance} rung to an agent`});let l=await a(c);if(l||=await PO(r,c)??void 0,!l||!l.name)throw new zO({mandateKey:t,message:`mandate "${t}": its Holder resolved, but nothing this caller can read could name that agent`,remedy:`grant this user access to the Holder, or make it a platform agent — the picker will not print a placeholder name in its place`});let u={mandateKey:t,holderId:c,holderName:l.name,holderDescription:l.description,provenance:s.provenance,at:Date.now()},d=YO(o,u);return await qO(i,u),{resolved:u,row:JO(u),drift:d}}var ZO=Symbol.for(`ai-matrx.agents.catalog`);function QO(){let e=globalThis,t=e[ZO];return t||(t={catalogs:new Map,listInFlight:new Map,listFetchedAt:new Map,defaultRows:new Map},e[ZO]=t),t}var $O=`00000000-0000-0000-0000-000000000000`,ek=`agx_this_function_does_not_exist_probe`,tk={agx_get_list_full:{},agx_search:{p_query:`__probe__`,p_deep:!1,p_limit:1,p_offset:0},agx_resolve_agent_address:{p_ids:[$O]},ues_get_bulk:{p_entity_type:`agent`,p_entity_ids:[$O]}};function nk(e){if(!e||typeof e!=`object`)return!1;let t=e.code;return t===`PGRST202`||t===`42883`}async function rk(e,t={}){let{selfTest:n=!1,throwOnViolation:r=!0}=t,i=Object.keys(tk);n&&i.push(ek);let a=[],o=[],s=[],c=null;for(let t of i){let n=tk[t]??{};try{let{data:r,error:i}=await e.rpc(t,n);t===`agx_get_list_full`&&i==null&&(c=ik(r)),i==null?s.push(t):nk(i)?a.push(t):s.push(t)}catch(e){o.push({fn:t,error:e})}}if(n){let e=a.includes(ek),t=a.indexOf(ek);t>=0&&a.splice(t,1);let n=s.indexOf(ek);if(n>=0&&s.splice(n,1),!e)throw Error(`assertAgentCatalogSchema self-test FAILED: the fabricated function "${ek}" did not come back as missing. This probe cannot currently fail, so its green result proves nothing — the client is swallowing or faking errors.`)}if(o.length>0)throw Error(`assertAgentCatalogSchema could not complete: ${o.length} probe call(s) failed to reach the database (${o.map(e=>e.fn).join(`, `)}). This is NOT a schema verdict — fix connectivity and re-run.`);let l=a.length===0,u={ok:l,missing:a,unreachable:o,answered:s,orchestraColumn:c};if(!l&&r)throw Error(`DEMANDED SCHEMA VIOLATION: the database this client points at cannot answer ${a.length} demanded function(s): ${a.join(`, `)}. @ai-matrx/agents/catalog cannot render a correct picker against it — point the client at Matrx Main, or apply the agx_* migrations.`);return u}function ik(e){return!Array.isArray(e)||e.length===0?null:e.some(e=>typeof e==`object`&&!!e&&Object.prototype.hasOwnProperty.call(e,`orchestra`))}var ak=9e5,ok=144e5;function sk(){let e=!1;return t=>{e||(e=!0,console.error("[@ai-matrx/agents/catalog] no errorSink is bound, so failures are only reaching the console. Pass `errorSink` to createAgentCatalog to route them into your diagnostics surface.")),console.error(`[@ai-matrx/agents/catalog] ${t.code}: ${t.message}`,{...t.context??{}})}}function ck(e){return e instanceof Error?e.message:String(e)}function lk(e){if(!e||typeof e!=`object`)throw new gD({code:`missing_config`,message:`createAgentCatalog was called without a config object`,remedy:`pass { client, identity }`});if(!e.client||typeof e.client.rpc!=`function`)throw new gD({code:`missing_client`,message:`createAgentCatalog needs a Supabase client — it IS the catalogue read`,remedy:"pass `client` (a supabase-js client, or anything with rpc() and schema().from())"});if(!e.identity||typeof e.identity.requireUserId!=`function`)throw new gD({code:`missing_identity`,message:`createAgentCatalog needs to know who is asking`,remedy:"pass `identity: { requireUserId() }` — never a silent anonymous read"});let t=e.defaults?.archiveFilter;if(t!==void 0&&!mD(t))throw new gD({code:`invalid_archive_default`,message:`defaults.archiveFilter was ${JSON.stringify(t)}, which is not one of the three states of the platform archive filter`,remedy:`pass "active" (hide archived), "both" (show all) or "archived" (archived only)`});let n={...hD,...t?{archFilter:t}:{}},r=e.catalogId??`default`,i=e.client,a=e.identity,o=e.errorSink??sk(),s=e.notifier,c=e.storage??WO(),l=e.transport,u=e.favorites??gO({dataSource:i,identity:a,errorSink:o}).favorites;function d(e){o({code:`favorite_read_failed`,message:`your starred agents could not be read (${e}); every star is shown unset until the next catalogue load`,context:{catalogId:r}})}let f={..._D,...e.labels??{}},p=QO();p.catalogs.has(r)&&o({code:`catalog_replaced`,message:`a second agent catalog was created under id "${r}" and has REPLACED the first. Two catalogs with one id share a freshness stamp and an in-flight promise; give each one its own \`catalogId\`.`});let m={rows:[],byId:{},status:`idle`,error:null,consumers:{},defaultRows:{}},h=new Set;function g(e){m=e;for(let e of h)e()}function _(e){if(e.length===0)return;let t={...m.byId};for(let n of e)t[n.id]=n;g({...m,byId:t,rows:Object.values(t)})}function v(e){let t={};for(let n of e)t[n.id]=n;g({...m,byId:t,rows:Object.values(t)})}let y=!1;function b(){if(typeof a.getUserId==`function`)return a.getUserId();try{return a.requireUserId()}catch(e){return y||(y=!0,o({code:`identity_unavailable`,message:`identity.requireUserId() threw, so the picker is treating this session as signed out and opening on the public catalogue. Favoriting is unavailable until a session exists.`,context:{detail:ck(e)}})),null}}function x(){let e=p.listFetchedAt.get(r);return e!==void 0&&Date.now()-e<ak}function S(){let e=p.listFetchedAt.get(r);return e===void 0||Date.now()-e>ok}async function C(){if(b()===null){m.rows.length>0&&v([]),g({...m,status:`succeeded`,error:null});return}g({...m,status:`loading`,error:null});try{v(await IO(u,await MO(i),d)),g({...m,status:`succeeded`,error:null}),p.listFetchedAt.set(r,Date.now())}catch(e){let t=ck(e);throw g({...m,status:`failed`,error:t}),o({code:`list_read_failed`,message:`the agent catalogue could not be read: ${t}`,context:{catalogId:r}}),e}}async function w(e){if(!(e?.force??!1)&&x())return;let t=p.listInFlight.get(r);if(t)return t;let n=C().finally(()=>{p.listInFlight.get(r)===n&&p.listInFlight.delete(r)});return p.listInFlight.set(r,n),n}function T(e){return m.consumers[e]??n}function E(e,t){g({...m,consumers:{...m.consumers,[e]:t}})}function D(e,t){m.consumers[e]||E(e,{...n,...t??{}})}function O(e){if(!m.consumers[e])return;let t={...m.consumers};delete t[e],g({...m,consumers:t})}function k(e,t){E(e,{...m.consumers[e]??{...n},...t,listPage:1,sharedPage:1})}function A(e,t,n){let r=m.consumers[e];r&&E(e,t===`list`?{...r,listPage:n}:{...r,sharedPage:n})}function j(e,t){let r=m.consumers[e]??{...n},i={...r};t.matchedIds!==void 0&&(i.serverMatchedIds=t.matchedIds),t.isSearching!==void 0&&(i.isServerSearching=t.isSearching),(i.serverMatchedIds!==r.serverMatchedIds||i.isServerSearching!==r.isServerSearching)&&E(e,i)}function M(e){m.consumers[e]&&E(e,{...n})}async function N(e,t=!1){let n=await NO(i,{query:e,deep:t});return _(await IO(u,n.rows,d)),n.ids}async function P(e,t){let n=m.byId[e];if(!n){o({code:`favorite_unknown_agent`,message:`cannot favorite ${e}: it is not in this catalogue`});return}_([{...n,isFavorite:t}]);try{await LO(u,e,t)}catch(r){throw _([n]),o({code:`favorite_write_failed`,message:`the favorite could not be saved: ${ck(r)}`,context:{agentId:e,isFavorite:t}}),s?.({level:`error`,title:`Favorite not saved`,message:`The star was put back because the change could not be saved. Check your connection and try again.`}),r}}function F(e,t){g({...m,defaultRows:{...m.defaultRows,[e]:t}})}let I=new Set;function L(e){if(!e||I.has(e))return;let t=m.defaultRows[e];if(!t||t.error){if(!l)throw new gD({code:`missing_transport`,message:`a picker asked for the default row of mandate "${e}", but this catalog has no transport`,remedy:"pass `transport` (createMatrxTransport from @ai-matrx/agents/matrx) to createAgentCatalog — clients never walk the mandate ladder themselves, they ask the server"});I.add(e),F(e,{mandateKey:e,row:null,resolved:null,loading:!0,drift:null,error:null}),(async()=>{try{let t=await XO({mandateKey:e,transport:l,client:i,storage:c,errorSink:o,lookupRow:async e=>{let t=m.byId[e];if(t)return t;let n=p.listInFlight.get(r);if(n)return await n.catch(()=>void 0),m.byId[e]}});QO().defaultRows.set(`${r}::${e}`,t.resolved),F(e,{mandateKey:e,row:t.row,resolved:t.resolved,loading:!1,drift:t.drift,error:null}),t.drift&&(o({code:`default_row_drift`,message:t.drift,context:{mandateKey:e,holderId:t.resolved.holderId}}),s?.({level:`warning`,title:`The default agent changed`,message:t.drift}))}catch(t){let n=t instanceof zO?t.message:ck(t);F(e,{mandateKey:e,row:null,resolved:null,loading:!1,drift:null,error:n}),o({code:`default_row_unresolved`,message:n,context:{mandateKey:e}})}finally{I.delete(e)}})()}}function ee(e){return m.defaultRows[e]}function te(e){let t=m.defaultRows[e];t&&t.drift&&F(e,{...t,drift:null})}function ne(e){if(!e||I.has(e))return;let{[e]:t,...n}=m.defaultRows;g({...m,defaultRows:n}),L(e)}let re={catalogId:r,labels:f,errorSink:o,notifier:s,canResolveMandates:l!==void 0,consumerDefaults:n,getState:()=>m,subscribe:e=>(h.add(e),()=>{h.delete(e)}),getAgent:e=>m.byId[e],getUserIdOrNull:b,ensureLoaded:w,isFresh:x,isStale:S,getConsumer:T,registerConsumer:D,unregisterConsumer:O,setConsumerFilter:k,setConsumerPage:A,setConsumerServerSearch:j,resetConsumerFilters:M,searchServer:N,setFavorite:P,ensureDefaultRow:L,getDefaultRow:ee,dismissDefaultRowDrift:te,retryDefaultRow:ne,assertSchema:e=>rk(i,e)};return p.catalogs.set(r,re),re}var uk={supervisor:`supervisor`,sequential:`in order`,parallel:`together`,dag:`custom flow`};function dk(e){return uk[e]??e}function fk(e){let t=e.memberCount;return`Orchestra · ${dk(e.mode)} · ${t} ${t===1?`member`:`members`}`}function pk(e){let t=e.depthBudget;return typeof t!=`number`||t<=0?null:`Team members can call helpers up to ${t} ${t===1?`level`:`levels`} deep`}function mk(e,t=3){let n=e.memberTitles;if(n.length===0)return null;let r=n.slice(0,t),i=n.length-r.length;return`Delegates to: ${r.join(`, `)}${i>0?` +${i} more`:``}`}function hk(e,t){switch(e){case`system`:return t.emptySystem;case`shared`:return t.emptyShared;default:return t.emptyDefault}}function gk(e){return e.userId?e.agentsLoaded?e.ownedCount===0:!1:!0}function _k(e){return fD.find(t=>t.value===e)?.chip??`Archive`}function vk(e){return fD.find(t=>t.value===e)?.label??`Hide archived`}function yk(e){return`Archive filter: ${vk(e).toLowerCase()}. Click for ${vk(pD(e)).toLowerCase()}`}function bk(e){let{count:t,archFilter:n,archivedHiddenCount:r}=e;if(n===`archived`)return`${t} archived shown`;let i=`${t} agent${t===1?``:`s`}`;return n===`both`?`${i} · archived shown`:r>0?`${i} · ${r} archived hidden`:i}function xk(e,t){let n=t.trim().toLowerCase();if(!n)return 0;let r=0,i=(e.name??``).toLowerCase(),a=(e.description??``).toLowerCase();i===n?r+=1e4:i.startsWith(n)?r+=5e3:Sk(i,n)?r+=3e3:i.includes(n)&&(r+=2e3),a===n?r+=1e3:a.includes(n)&&(r+=500),e.category?.toLowerCase().includes(n)&&(r+=300),e.tags?.some(e=>e.toLowerCase().includes(n))&&(r+=300),e.modelId?.toLowerCase().includes(n)&&(r+=100),e.agentType?.toLowerCase().includes(n)&&(r+=100),e.outputFormat?.toLowerCase().includes(n)&&(r+=100);let o=e.id.toLowerCase();if(o===n?r+=1e5:o.includes(n)&&(r+=5e3),e.sharedByEmail?.toLowerCase().includes(n)&&(r+=200),r===0&&n.includes(` `)){let t=n.split(/\s+/).filter(Boolean),o=0,s=0;for(let n of t){let t=i.includes(n);(t||a.includes(n)||(e.category?.toLowerCase().includes(n)??!1)||(e.tags?.some(e=>e.toLowerCase().includes(n))??!1))&&(o+=1,s+=t?400:100)}o===t.length&&(r+=s)}return r}function Sk(e,t){let n=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);return RegExp(`\\b${n}\\b`).test(e)}function Ck(e,t){return xk(e,t)>0}function wk(e){let t,n,r=!1;return i=>((!r||t!==i)&&(n=e(i),t=i,r=!0),n)}function Tk(e){let t,n,r,i=!1;return(a,o)=>((!i||t!==a||n!==o)&&(r=e(a,o),t=a,n=o,i=!0),r)}function Ek(e,t){let n=e.id??``,r=t.id??``;return n<r?-1:+(n>r)}function Dk(e,t,n){let r=Ok(e,t,n);return!Number.isFinite(r)||r===0?Ek(e,t):r}function Ok(e,t,n){switch(n){case`name-asc`:return(e.name??``).localeCompare(t.name??``);case`name-desc`:return(t.name??``).localeCompare(e.name??``);case`created-desc`:return+new Date(t.createdAt??0)-new Date(e.createdAt??0);case`category-asc`:return(e.category??``).localeCompare(t.category??``);default:return+new Date(t.updatedAt??0)-new Date(e.updatedAt??0)}}var kk=wk(e=>{let t=new Set;for(let n of e)n.agentType===`user`&&n.category&&t.add(n.category);return Array.from(t).sort()}),Ak=wk(e=>{let t=new Set;for(let n of e)n.agentType===`builtin`&&n.category&&t.add(n.category);return Array.from(t).sort()}),jk=wk(e=>{let t=new Set;for(let n of e)n.agentType===`user`&&n.tags?.forEach(e=>t.add(e));return Array.from(t).sort()}),Mk=wk(e=>{let t=new Set;for(let n of e)n.agentType===`builtin`&&n.tags?.forEach(e=>t.add(e));return Array.from(t).sort()}),Nk=wk(e=>e.filter(e=>e.agentType===`user`)),Pk=wk(e=>e.filter(e=>e.agentType===`builtin`));function Fk(e,t){let{searchTerm:n,sortBy:r,favFilter:i,favoritesFirst:a}=t;if(n){let i=new Map;e.forEach(e=>{i.set(e.id,xk(e,n))});let a=new Map;return t.serverMatchedIds.forEach((e,t)=>a.set(e,t)),[...e].sort((e,t)=>{let n=i.get(e.id)??0,o=i.get(t.id)??0;if(o!==n)return o-n;if(n===0){let n=a.get(e.id),r=a.get(t.id);if(n!==void 0&&r!==void 0&&n!==r)return n-r}return Dk(e,t,r)})}return[...e].sort((e,t)=>{if(a&&i===`all`){let n=+!!e.isFavorite,r=+!!t.isFavorite;if(r!==n)return r-n}return Dk(e,t,r)})}function Ik(e,t){let{searchTerm:n,includedCats:r,includedTags:i,favFilter:a,archFilter:o,accessFilter:s,tab:c}=t,l=new Set(t.serverMatchedIds);return Fk(e.filter(e=>{if(c===`mine`&&e.isOwner!==!0||c===`shared`&&(e.isOwner!==!1||e.accessLevel==null)||!zk(e,o)||a===`yes`&&!e.isFavorite||a===`no`&&e.isFavorite||s===`owned`&&e.isOwner!==!0||s===`shared`&&e.isOwner!==!1||s===`editable`&&e.accessLevel!==`owner`&&e.accessLevel!==`admin`&&e.accessLevel!==`editor`)return!1;if(r.length>0){let t=e.category;if(!t){if(!r.includes(`__none__`))return!1}else if(!r.includes(t))return!1}if(i.length>0){if(!e.tags?.length){if(!i.includes(`__none__`))return!1}else if(!e.tags?.some(e=>i.includes(e)))return!1}return!(n&&!Ck(e,n)&&!l.has(e.id))}),t)}function Lk(e,t){let{searchTerm:n,favFilter:r,archFilter:i,includedCats:a,includedTags:o}=t,s=new Set(t.serverMatchedIds);return Fk(e.filter(e=>{if(!zk(e,i)||r===`yes`&&!e.isFavorite||r===`no`&&e.isFavorite)return!1;if(a.length>0){let t=e.category;if(!t){if(!a.includes(`__none__`))return!1}else if(!a.includes(t))return!1}if(o.length>0){if(!e.tags?.length){if(!o.includes(`__none__`))return!1}else if(!e.tags?.some(e=>o.includes(e)))return!1}return!(n&&!Ck(e,n)&&!s.has(e.id))}),t)}var Rk=(e=!1)=>Tk((t,n)=>{let r=Nk(t),i=Pk(t);return n.tab===`system`?Lk(i,n):e&&n.tab===`all`?[...Ik(r,n),...Lk(i,n)]:Ik(r,n)});function zk(e,t){return t===`active`?!e.isArchived:t!==`archived`||!!e.isArchived}function Bk(e,t){let n=0;for(let r of e)r.agentType===`builtin`&&zk(r,t)&&(n+=1);return n}function Vk(e,t,n){let r=0;for(let i of e)i.agentType===`user`&&zk(i,t)&&n(i)&&(r+=1);return r}var Hk=e=>e.isOwner===!0,Uk=e=>e.isOwner===!1&&e.accessLevel!=null,Wk=()=>!0,Gk=Tk((e,t)=>({mine:Vk(e,t,Hk),shared:Vk(e,t,Uk),all:Vk(e,t,Wk),system:Bk(e,t)})),Kk=(0,_.createContext)(null);function qk({catalog:e,platform:t,children:n,...r}){let i=(0,_.useMemo)(()=>({catalog:e,platform:t,...r}),[e,t,r.navigate,r.LinkComponent,r.renderModelRef,r.openPeek,r.popoverContainer]);return(0,j.jsx)(Kk.Provider,{value:i,children:n})}function Jk(){let e=(0,_.useContext)(Kk);if(!e)throw Error(`@ai-matrx/agents/catalog: no <AgentCatalogProvider> is mounted above this component. Create the catalog once with createAgentCatalog({ client, identity }) and mount <AgentCatalogProvider catalog={catalog}> at the top of your tree.`);return e}function Yk(){return Jk().catalog}function Xk(){let e=Jk(),t=e.navigate,n=e.platform.navigate;return{navigate:(0,_.useCallback)(e=>{if(t){t(e);return}n(e)},[t,n]),LinkComponent:e.LinkComponent??e.platform.LinkComponent,renderModelRef:e.renderModelRef??e.platform.renderModelRef,openPeek:e.openPeek,popoverContainer:e.popoverContainer}}function Zk(e){let t=Yk(),n=(0,_.useCallback)(()=>e(t.getState()),[t,e]);return(0,_.useSyncExternalStore)(t.subscribe,n,n)}function Qk(){return Zk($k)}var $k=e=>e.rows,eA={navigate:e=>{typeof window<`u`&&window.location.assign(e)},LinkComponent:({children:e,...t})=>(0,j.jsx)(`a`,{...t,children:e}),renderModelRef:({modelId:e,className:t})=>(0,j.jsx)(`span`,{className:t,children:e})};function tA({catalog:e,children:t,...n}){let r=(0,_.useMemo)(()=>eA,[]);return(0,j.jsx)(qk,{catalog:e,platform:r,...n,children:t})}var nA=250,rA=2;function iA(e,t){let n=Yk(),r=n.consumerDefaults,i=Zk((0,_.useCallback)(t=>t.consumers[e]??r,[e,r])),a=(0,_.useRef)(t);a.current=t,(0,_.useEffect)(()=>{let t=a.current,r={...t?.initialTab?{tab:t.initialTab}:{},...t?.initialArchFilter?{archFilter:t.initialArchFilter}:{}};return n.registerConsumer(e,Object.keys(r).length>0?r:void 0),()=>{a.current?.unregisterOnUnmount&&n.unregisterConsumer(e)}},[e,n]);let o=(0,_.useCallback)(t=>n.setConsumerFilter(e,{searchTerm:t}),[e,n]),s=(0,_.useCallback)(t=>n.setConsumerFilter(e,{deepSearch:t}),[e,n]),c=(0,_.useCallback)(t=>n.setConsumerFilter(e,{sortBy:t}),[e,n]),l=(0,_.useCallback)(t=>n.setConsumerFilter(e,{tab:t}),[e,n]),u=(0,_.useCallback)(t=>n.setConsumerFilter(e,{favFilter:t}),[e,n]),d=(0,_.useCallback)(t=>n.setConsumerFilter(e,{archFilter:t}),[e,n]),f=(0,_.useCallback)(t=>n.setConsumerFilter(e,{accessFilter:t}),[e,n]),p=(0,_.useCallback)(t=>{let r=n.getConsumer(e).includedCats,i=r.includes(t)?r.filter(e=>e!==t):[...r,t];n.setConsumerFilter(e,{includedCats:i})},[e,n]),m=(0,_.useCallback)(t=>{let r=n.getConsumer(e).includedTags,i=r.includes(t)?r.filter(e=>e!==t):[...r,t];n.setConsumerFilter(e,{includedTags:i})},[e,n]),h=(0,_.useCallback)(t=>n.setConsumerFilter(e,{includedCats:t}),[e,n]),g=(0,_.useCallback)(t=>n.setConsumerFilter(e,{includedTags:t}),[e,n]),v=(0,_.useCallback)(()=>n.setConsumerFilter(e,{favoritesFirst:!n.getConsumer(e).favoritesFirst}),[e,n]),y=(0,_.useCallback)(()=>n.setConsumerPage(e,`list`,n.getConsumer(e).listPage+1),[e,n]),b=(0,_.useCallback)(()=>n.setConsumerPage(e,`shared`,n.getConsumer(e).sharedPage+1),[e,n]),x=(0,_.useCallback)(()=>n.resetConsumerFilters(e),[e,n]),[S,C]=(0,_.useState)(!1),[w,T]=(0,_.useState)(null),E=(0,_.useRef)(0),D=i.searchTerm,O=i.deepSearch;(0,_.useEffect)(()=>{let e=D.trim();if(e.length<rA){C(!1),T(null);return}let t=++E.current;C(!0);let r=setTimeout(()=>{n.searchServer(e,O).then(e=>{t===E.current&&(T(e),C(!1))}).catch(r=>{t===E.current&&(n.errorSink({code:`server_search_failed`,message:`agent search failed: ${r instanceof Error?r.message:String(r)}`,context:{query:e,deep:O}}),C(!1))})},nA);return()=>clearTimeout(r)},[D,O,n]),(0,_.useEffect)(()=>{n.setConsumerServerSearch(e,{matchedIds:w??[],isSearching:S})},[e,n,w,S]);let k=i.searchTerm!==``||i.includedCats.length>0||i.includedTags.length>0||i.favFilter!==`all`||i.archFilter!==r.archFilter||i.accessFilter!==`any`||!i.favoritesFirst;return{tab:i.tab,sortBy:i.sortBy,searchTerm:i.searchTerm,includedCats:i.includedCats,includedTags:i.includedTags,favFilter:i.favFilter,archFilter:i.archFilter,archFilterDefault:r.archFilter,accessFilter:i.accessFilter,favoritesFirst:i.favoritesFirst,listPage:i.listPage,sharedPage:i.sharedPage,state:i,hasActiveFilters:k,deepSearch:i.deepSearch,isServerSearching:i.isServerSearching,setSearchTerm:o,setDeepSearch:s,setSortBy:c,setTab:l,setFavFilter:u,setArchFilter:d,setAccessFilter:f,toggleCategory:p,toggleTag:m,setIncludedCats:h,setIncludedTags:g,toggleFavoritesFirst:v,loadMoreList:y,loadMoreShared:b,resetFilters:x}}function aA(e,t,n){return t.length===0||t.includes(e)?null:n&&t.includes(n)?n:t[0]??null}var oA=[];function sA({consumerId:e,onSelect:t,navigateTo:n,activeAgentIdOverride:r,initialTab:i,includeSystemInAll:a=!1,visibleTabs:o,initialArchFilter:s,excludeAgentIds:c=oA,defaultMandateKey:l,agentFilter:u}){let d=Yk(),{navigate:f}=Xk(),p=(0,_.useRef)(!1),[m,h]=(0,_.useState)(null),g=(0,_.useRef)(null),v=(0,_.useRef)(!1),y=iA(e,{unregisterOnUnmount:!0,...s?{initialArchFilter:s}:{}}),b=Qk(),x=d.getUserIdOrNull(),S=Gk(b,y.state.archFilter),C=S.mine,w=(0,_.useMemo)(()=>Rk(a),[a])(b,y.state),T=(0,_.useMemo)(()=>new Set(c),[c]),[E,D]=(0,_.useState)(null),O=u&&E!==u.label?u:null,k=O?.test,A=(0,_.useCallback)(e=>T.size===0&&!k?e:e.filter(e=>!T.has(e.id)&&(!k||k(e))),[T,k]),j=(0,_.useCallback)(()=>{u&&(u.onClear?u.onClear():D(u.label))},[u]),M=(0,_.useCallback)(()=>D(null),[]),N=A(w),P=(0,_.useMemo)(()=>Rk(a),[a]),F=(0,_.useMemo)(()=>({...y.state,archFilter:`archived`}),[y.state]),I=y.archFilter===`active`?A(P(b,F)).length:0,L=Zk(cA),ee=r??null,te=ee?d.getAgent(ee):void 0,ne=y.tab===`system`,re=ne?Ak(b):kk(b),ie=ne?Mk(b):jk(b),ae=S,oe=L===`loading`,se=L===`succeeded`||L===`failed`,ce=(0,_.useCallback)(()=>{p.current||(p.current=!0,d.ensureLoaded().catch(()=>{}))},[d]),le=Zk((0,_.useCallback)(e=>l?e.defaultRows[l]:void 0,[l]));(0,_.useEffect)(()=>{l&&d.ensureDefaultRow(l)},[d,l]),(0,_.useEffect)(()=>{if(!v.current){if(i){v.current=!0,y.tab!==i&&y.setTab(i);return}if(y.tab!==`mine`){v.current=!0;return}if(!gk({userId:x,ownedCount:C,agentsLoaded:se})){(!x||se)&&(v.current=!0);return}y.setTab(`system`),v.current=!0}},[x,C,se,i,y.tab,y.setTab]);let ue=o?o.join(`,`):``;(0,_.useEffect)(()=>{if(!ue)return;let e=aA(y.tab,ue.split(`,`),i);e&&y.setTab(e)},[ue,i,y.tab,y.setTab]),(0,_.useEffect)(()=>{ce()},[ce]);let R=(0,_.useCallback)(r=>{t?t(r.id):n?f(n.replace(`{id}`,r.id)):d.errorSink({code:`select_has_nowhere_to_go`,message:`an agent was chosen but this picker was given neither onSelect nor navigateTo, so the choice went nowhere.`,context:{consumerId:e,agentId:r.id}})},[t,n,f,d,e]),de=(y.sortBy===`updated-desc`?0:1)+ +(y.includedCats.length>0)+ +(y.includedTags.length>0)+(y.favFilter===`all`?0:1)+(y.archFilter===y.archFilterDefault?0:1),z=(0,_.useCallback)((e,t)=>{t||(g.current&&=(clearTimeout(g.current),null),h(e))},[]),B=(0,_.useCallback)((e,t)=>{m?.id===e.id&&(g.current=setTimeout(()=>{h(null),t()},900))},[m]),fe=(0,_.useCallback)(()=>{g.current&&=(clearTimeout(g.current),null)},[]),pe=(0,_.useCallback)(e=>{g.current=setTimeout(()=>{h(null),e()},900)},[]);return(0,_.useEffect)(()=>()=>{g.current&&clearTimeout(g.current)},[]),{agents:N,archivedHiddenCount:I,footerLabel:bk({count:N.length,archFilter:y.archFilter,archivedHiddenCount:I}),isLoading:oe,activeAgentId:ee,pinnedAgent:te??null,defaultRow:le??null,agentFilterLabel:O?.label??null,clearAgentFilter:j,resumeAgentFilter:M,allCategories:re,allTags:ie,consumer:y,tabCounts:ae,activeFilterCount:de,hoveredAgent:m,setHoveredAgent:h,ensureLoaded:ce,handleSelectAgent:R,handleAgentHover:z,handleAgentHoverEnd:B,handleDetailPanelMouseEnter:fe,handleDetailPanelMouseLeave:pe}}var cA=e=>e.status,lA={star:{paths:[`M11.5 3.2a.6.6 0 0 1 1 0l2.3 4.7 5.2.8a.6.6 0 0 1 .3 1l-3.8 3.7.9 5.2a.6.6 0 0 1-.9.6L12 16.8l-4.6 2.4a.6.6 0 0 1-.9-.6l.9-5.2-3.8-3.7a.6.6 0 0 1 .3-1l5.2-.8Z`],fillable:!0},chevronRight:{paths:[`m9 18 6-6-6-6`]},chevronDown:{paths:[`m6 9 6 6 6-6`]},search:{paths:[`m21 21-4.3-4.3`],circles:[{cx:11,cy:11,r:8}]},x:{paths:[`M18 6 6 18`,`m6 6 12 12`]},check:{paths:[`M20 6 9 17l-5-5`]},arrowUpDown:{paths:[`m21 16-4 4-4-4`,`M17 20V4`,`m3 8 4-4 4 4`,`M7 4v16`]},folder:{paths:[`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`]},tag:{paths:[`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`],circles:[{cx:7.5,cy:7.5,r:.5,filled:!0}]},rotateCcw:{paths:[`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,`M3 3v5h5`]},loader:{paths:[`M21 12a9 9 0 1 1-6.219-8.56`]},alertTriangle:{paths:[`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,`M12 9v4`,`M12 17h.01`]},music4:{paths:[`M9 18V5l12-2v13`,`m9 9 12-2`],circles:[{cx:6,cy:18,r:3},{cx:18,cy:16,r:3}]},clock:{paths:[`M12 6v6l4 2`],circles:[{cx:12,cy:12,r:10}]},globe:{paths:[`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,`M2 12h20`],circles:[{cx:12,cy:12,r:10}]},users:{paths:[`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,`M22 21v-2a4 4 0 0 0-3-3.87`,`M16 3.13a4 4 0 0 1 0 7.75`],circles:[{cx:9,cy:7,r:4}]},externalLink:{paths:[`M15 3h6v6`,`M10 14 21 3`,`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`]},messageCircle:{paths:[`M7.9 20A9 9 0 1 0 4 16.1L2 22Z`]},rocket:{paths:[`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91 0`,`m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2`,`M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0`,`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`]},archive:{paths:[`M3 3h18a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z`,`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,`M10 12h4`]},circleCheck:{paths:[`m9 12 2 2 4-4`],circles:[{cx:12,cy:12,r:10}]}};Object.keys(lA);function uA({children:e,...t}){return(0,j.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,...t,children:e})}function dA({name:e,filled:t}){let n=lA[e];return(0,j.jsxs)(j.Fragment,{children:[n.paths.map((e,r)=>(0,j.jsx)(`path`,{d:e,...t&&n.fillable?{fill:`currentColor`}:{}},`p${r}`)),(n.circles??[]).map((e,t)=>(0,j.jsx)(`circle`,{cx:e.cx,cy:e.cy,r:e.r,...e.filled?{fill:`currentColor`}:{}},`c${t}`))]})}function fA(e){return function(t){return(0,j.jsx)(uA,{...t,children:(0,j.jsx)(dA,{name:e,filled:!1})})}}function pA({filled:e=!1,...t}){return(0,j.jsx)(uA,{...t,fill:e?`currentColor`:`none`,children:(0,j.jsx)(dA,{name:`star`,filled:e})})}var mA=fA(`chevronRight`),hA=fA(`chevronDown`),gA=fA(`search`),_A=fA(`x`),vA=fA(`check`),yA=fA(`arrowUpDown`),bA=fA(`folder`),xA=fA(`tag`),SA=fA(`rotateCcw`),CA=fA(`archive`),wA=fA(`loader`),TA=fA(`users`),EA=fA(`clock`),DA=fA(`globe`),OA=fA(`externalLink`),kA=fA(`messageCircle`),AA=fA(`rocket`),jA=fA(`alertTriangle`),MA=fA(`music4`);function NA(e){return(0,j.jsxs)(uA,{...e,children:[(0,j.jsx)(`path`,{d:`M14 4.1 12 6`}),(0,j.jsx)(`path`,{d:`m5.1 8-2.9-.8`}),(0,j.jsx)(`path`,{d:`m6 12-1.9 2`}),(0,j.jsx)(`path`,{d:`M7.2 2.2 8 5.1`}),(0,j.jsx)(`path`,{d:`M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z`})]})}var PA=({ref:e,value:t,onChange:n,placeholder:r})=>(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5 h-7 px-2 rounded-md bg-muted/40 border border-border/50`,children:[(0,j.jsx)(gA,{className:`w-3 h-3 text-muted-foreground shrink-0`}),(0,j.jsx)(`input`,{ref:e,type:`text`,value:t,onChange:e=>n(e.target.value),placeholder:r,className:`flex-1 bg-transparent text-xs text-foreground placeholder:text-muted-foreground/50 outline-none min-w-0`,style:{fontSize:`16px`}}),t&&(0,j.jsx)(`button`,{type:`button`,onClick:()=>n(``),className:`text-muted-foreground hover:text-foreground`,"aria-label":`Clear search`,children:(0,j.jsx)(_A,{className:`w-3 h-3`})})]});function FA({icon:e,label:t,active:n,focused:r,onClick:i,ariaLabel:a,testId:o}){return(0,j.jsxs)(`button`,{type:`button`,onClick:i,...a?{"aria-label":a}:{},...o?{"data-testid":o}:{},className:X(`inline-flex items-center gap-1 h-6 px-1.5 rounded text-[11px] font-medium shrink-0 transition-colors`,r?`bg-primary/15 text-primary border border-primary/30 ring-1 ring-primary/20`:n?`bg-primary/10 text-primary border border-primary/20`:`text-muted-foreground hover:text-foreground hover:bg-muted/50 border border-transparent`),children:[(0,j.jsx)(e,{className:`w-3 h-3`}),(0,j.jsx)(`span`,{children:t})]})}function IA({label:e,selected:t,onClick:n}){return(0,j.jsxs)(`button`,{type:`button`,onClick:n,className:X(`flex items-center w-full px-3 py-2 text-xs transition-colors`,`hover:bg-muted/50 active:bg-muted/70`,t&&`text-primary font-medium`),children:[(0,j.jsx)(`span`,{className:`flex-1 text-left`,children:e}),t&&(0,j.jsx)(vA,{className:`w-3.5 h-3.5 text-primary shrink-0`})]})}function LA({label:e,checked:t,onClick:n}){return(0,j.jsxs)(`button`,{type:`button`,onClick:n,className:`flex items-center gap-2 w-full px-3 py-1.5 text-xs hover:bg-muted/50 active:bg-muted/70 transition-colors`,children:[(0,j.jsx)(`div`,{className:X(`w-3.5 h-3.5 rounded-sm border flex items-center justify-center shrink-0 transition-colors`,t?`bg-primary border-primary`:`border-muted-foreground/30`),children:t&&(0,j.jsx)(vA,{className:`w-2.5 h-2.5 text-primary-foreground`})}),(0,j.jsx)(`span`,{className:`flex-1 text-left truncate`,children:e})]})}function RA({title:e,onClose:t}){return(0,j.jsxs)(`div`,{className:`flex items-center justify-between px-3 py-2 border-b border-border shrink-0`,children:[(0,j.jsx)(`span`,{className:`text-xs font-semibold text-foreground`,children:e}),(0,j.jsx)(`button`,{type:`button`,onClick:t,className:`w-5 h-5 rounded flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors`,"aria-label":`Close`,children:(0,j.jsx)(_A,{className:`w-3.5 h-3.5`})})]})}function zA({consumer:e,allCategories:t,search:n,setSearch:r,onClose:i}){let a=t.filter(e=>!n||e.toLowerCase().includes(n.toLowerCase()));return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(RA,{title:`Categories`,onClose:i}),(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1 shrink-0`,children:(0,j.jsx)(PA,{value:n,onChange:r,placeholder:`Filter categories...`})}),e.includedCats.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>e.setIncludedCats([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left shrink-0`,children:[`Clear (`,e.includedCats.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto flex-1`,children:a.length===0?(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground text-center py-6`,children:`No categories`}):a.map(t=>(0,j.jsx)(LA,{label:t,checked:e.includedCats.includes(t),onClick:()=>e.toggleCategory(t)},t))})]})}function BA({id:e,variant:t=`card`,disabled:n}){let r=Yk(),i=Zk((0,_.useCallback)(t=>t.byId[e],[e]))?.isFavorite??!1,a=t=>{t.stopPropagation(),!n&&r.setFavorite(e,!i).catch(()=>{})},o=i?`Remove from favorites`:`Add to favorites`;return t===`list`?(0,j.jsx)(`button`,{type:`button`,className:X(`flex-shrink-0 p-0.5 rounded transition-all duration-150`,`focus:outline-none focus-visible:ring-2 focus-visible:ring-primary`,n?`cursor-not-allowed`:`hover:scale-110 cursor-pointer`),onClick:a,disabled:n,title:o,"aria-label":i?`Remove from favorites`:`Add to favorites`,children:(0,j.jsx)(pA,{filled:i,className:X(`h-3.5 w-3.5 transition-all duration-150`,i?`matrx-agent-star-on`:`text-muted-foreground/40 hover:matrx-agent-star-on`)})}):(0,j.jsx)(`button`,{type:`button`,className:X(`absolute top-2.5 right-2.5 z-10 p-0.5 rounded transition-all duration-150`,`focus:outline-none focus-visible:ring-2 focus-visible:ring-primary`,n?`cursor-not-allowed`:`hover:scale-110 cursor-pointer`,i?`matrx-agent-star-on`:`text-muted-foreground/40 hover:matrx-agent-star-on`),onClick:a,disabled:n,title:o,"aria-label":i?`Remove from favorites`:`Add to favorites`,children:(0,j.jsx)(pA,{filled:i,className:`w-4 h-4 transition-all duration-150`})})}function VA({agent:e,onSelect:t}){let{LinkComponent:n,renderModelRef:r,openPeek:i}=Xk(),a=e.updatedAt?new Date(e.updatedAt):null,o=e.createdAt?new Date(e.createdAt):null,s=lD(e.id),c=e=>e?e.toLocaleDateString(void 0,{month:`short`,day:`numeric`,year:`numeric`}):null;return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(`div`,{className:`px-4 pt-4 pb-3`,children:(0,j.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,j.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,j.jsx)(`h3`,{className:`text-sm font-semibold text-foreground leading-tight break-words`,children:e.name||`Untitled`}),e.isFavorite&&(0,j.jsx)(`div`,{className:`flex items-center gap-1 mt-0.5`,children:(0,j.jsx)(`span`,{className:`text-[11px] matrx-agent-star-on`,children:`Pinned to favorites`})})]}),!s&&(0,j.jsx)(BA,{id:e.id,variant:`list`})]})}),(0,j.jsx)(`div`,{className:`h-px bg-border mx-3`}),(0,j.jsxs)(`div`,{className:`flex-1 overflow-y-auto px-4 py-3 space-y-3`,children:[e.orchestra&&(0,j.jsxs)(`div`,{className:`rounded-md border border-primary/20 bg-primary/5 px-2.5 py-2`,children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,j.jsx)(MA,{className:`w-3.5 h-3.5 text-primary shrink-0`}),(0,j.jsx)(`span`,{className:`text-[11px] font-medium text-primary`,children:fk(e.orchestra)})]}),e.orchestra.tagline&&(0,j.jsx)(`p`,{className:`mt-1 text-xs text-foreground/80 leading-relaxed`,children:e.orchestra.tagline}),mk(e.orchestra)&&(0,j.jsx)(`p`,{className:`mt-1 text-[11px] text-muted-foreground`,title:`Delegates to: ${e.orchestra.memberTitles.join(`, `)}`,children:mk(e.orchestra)}),pk(e.orchestra)&&(0,j.jsx)(`p`,{className:`mt-0.5 text-[11px] text-muted-foreground`,children:pk(e.orchestra)})]}),e.description&&(0,j.jsxs)(`div`,{children:[(0,j.jsx)(`p`,{className:`text-[11px] font-medium text-muted-foreground uppercase tracking-wider mb-1`,children:`Description`}),(0,j.jsx)(`p`,{className:`text-xs text-foreground/80 leading-relaxed`,children:e.description})]}),e.category&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(bA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsx)(`span`,{className:`text-xs text-foreground/80`,children:e.category})]}),e.tags&&e.tags.length>0&&(0,j.jsxs)(`div`,{children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5 mb-1.5`,children:[(0,j.jsx)(xA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsx)(`span`,{className:`text-[11px] font-medium text-muted-foreground`,children:`Tags`})]}),(0,j.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:e.tags.map(e=>(0,j.jsx)(`span`,{className:`inline-flex items-center h-5 px-1.5 rounded text-[10px] font-medium bg-muted text-muted-foreground`,children:e},e))})]}),e.accessLevel&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[e.isOwner===!1?(0,j.jsx)(TA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}):(0,j.jsx)(DA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsxs)(`div`,{className:`flex flex-col`,children:[(0,j.jsx)(`span`,{className:`text-xs text-foreground/80 capitalize`,children:e.accessLevel===`owner`?`You own this`:`Shared — ${e.accessLevel}`}),e.sharedByEmail&&(0,j.jsxs)(`span`,{className:`text-[10px] text-muted-foreground`,children:[`by `,e.sharedByEmail]})]})]}),e.modelId&&(0,j.jsx)(`div`,{className:`flex items-center gap-2`,children:r({modelId:e.modelId,...e.offeringId===void 0?{}:{offeringId:e.offeringId},className:`max-w-full text-xs text-foreground/80`})}),(a||o)&&(0,j.jsxs)(`div`,{className:`pt-1 space-y-1`,children:[a&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(EA,{className:`w-3.5 h-3.5 text-muted-foreground shrink-0`}),(0,j.jsxs)(`span`,{className:`text-[11px] text-muted-foreground`,children:[`Updated `,c(a)]})]}),o&&(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(EA,{className:`w-3.5 h-3.5 text-muted-foreground/50 shrink-0`}),(0,j.jsxs)(`span`,{className:`text-[11px] text-muted-foreground/70`,children:[`Created `,c(o)]})]})]})]}),(0,j.jsx)(`div`,{className:`h-px bg-border mx-3 mt-auto`}),(0,j.jsxs)(`div`,{className:`px-3 py-2 shrink-0 flex items-center gap-1.5`,children:[(0,j.jsx)(`button`,{type:`button`,onClick:t,className:`flex-1 h-7 rounded-md bg-primary text-primary-foreground text-[11px] font-medium hover:bg-primary/90 active:bg-primary/80 transition-colors`,children:`Select`}),i&&(0,j.jsx)(`button`,{type:`button`,onClick:t=>{t.stopPropagation(),i(e)},title:`Sneak Peek`,"aria-label":`Sneak Peek`,className:HA,children:(0,j.jsx)(AA,{className:`w-3.5 h-3.5`})}),!s&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n,{href:`/chat/a/${e.id}`,onClick:e=>e.stopPropagation(),title:`Open in chat`,"aria-label":`Open in chat`,className:HA,children:(0,j.jsx)(kA,{className:`w-3.5 h-3.5`})}),(0,j.jsx)(n,{href:`/agents/go/${e.id}`,target:`_blank`,rel:`noopener noreferrer`,onClick:e=>e.stopPropagation(),title:`Open in new tab`,"aria-label":`Open in new tab`,className:X(HA,`hover:text-foreground`),children:(0,j.jsx)(OA,{className:`w-3.5 h-3.5`})})]})]})]})}var HA=`flex items-center justify-center h-7 w-7 rounded-md border border-border bg-background text-muted-foreground hover:text-primary hover:bg-muted/50 transition-colors shrink-0`;function UA(e,t={}){if(!e||typeof window>`u`)return null;let n=t.full??528,r=t.minUsable??300,i=t.gap??16,a=window.innerHeight-e.getBoundingClientRect().bottom-i;return a>=n?null:a>=r?`${Math.floor(a)}px`:null}function WA(e,t,n={}){if(!e||typeof window>`u`||t!==`left`&&t!==`right`)return t;let r=n.width??680,i=n.gap??16,a=e.getBoundingClientRect(),o={left:a.left-i,right:window.innerWidth-a.right-i};if(o[t]>=r)return t;let s=t===`left`?`right`:`left`;return o[s]>=r?s:`bottom`}function GA({consumer:e,allCategories:t,allTags:n,activeFilterCount:r,isMobile:i,rightPanel:a,onFilterChipClick:o,onReset:s}){return(0,j.jsxs)(`div`,{className:`flex items-center gap-1 px-2 pb-1.5 overflow-x-auto matrx-agent-scrollbar-none shrink-0`,children:[(0,j.jsx)(FA,{icon:yA,label:uD.find(t=>t.value===e.sortBy)?.label??`Sort`,active:e.sortBy!==`updated-desc`,focused:!i&&a===`sort`,onClick:()=>o(`sort`)}),(0,j.jsx)(FA,{icon:pA,label:e.favFilter===`no`?`No Favs`:`Favs`,active:e.favFilter!==`all`,onClick:()=>{let t=e.favFilter===`all`?`yes`:e.favFilter===`yes`?`no`:`all`;e.setFavFilter(t)}}),(0,j.jsx)(FA,{icon:CA,label:_k(e.archFilter),active:e.archFilter!==e.archFilterDefault,ariaLabel:yk(e.archFilter),testId:`agent-archive-filter`,onClick:()=>e.setArchFilter(pD(e.archFilter))}),t.length>0&&(0,j.jsx)(FA,{icon:bA,label:e.includedCats.length>0?`${e.includedCats.length}`:`Category`,active:e.includedCats.length>0,focused:!i&&a===`categories`,onClick:()=>o(`categories`)}),n.length>0&&(0,j.jsx)(FA,{icon:xA,label:e.includedTags.length>0?`${e.includedTags.length}`:`Tags`,active:e.includedTags.length>0,focused:!i&&a===`tags`,onClick:()=>o(`tags`)}),r>0&&(0,j.jsx)(`button`,{type:`button`,onClick:s,"aria-label":`Reset filters`,className:`flex items-center gap-0.5 h-6 px-1.5 rounded text-[11px] text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors shrink-0`,children:(0,j.jsx)(SA,{className:`w-3 h-3`})})]})}function KA({consumer:e,tabCounts:t,systemTabLabel:n,visibleTabs:r}){let{labels:i}=Yk(),a=[{value:`mine`,label:`Mine`,countKey:`mine`},{value:`shared`,label:`Shared`,countKey:`shared`},{value:`all`,label:`All`,countKey:`all`},{value:`system`,label:i.publicTab,countKey:`system`}];return(0,j.jsx)(`div`,{className:`flex items-center gap-0.5 px-2 pb-1 overflow-x-auto matrx-agent-scrollbar-none shrink-0`,role:`tablist`,"aria-label":`Agent ownership`,children:a.filter(({value:e})=>!r||r.includes(e)).map(({value:r,label:i,countKey:a})=>{let o=r===`system`?n??i:i,s=e.tab===r,c=t[a];return(0,j.jsxs)(`button`,{type:`button`,role:`tab`,"aria-selected":s,onClick:()=>e.setTab(r),className:X(`inline-flex items-center gap-1 rounded-md px-2 py-1 text-[10px] font-medium transition-colors shrink-0`,s?`bg-primary text-primary-foreground`:`text-muted-foreground hover:text-foreground hover:bg-muted/50`),children:[(0,j.jsx)(`span`,{children:o}),(0,j.jsx)(`span`,{className:X(`tabular-nums opacity-70`,s&&`opacity-90`),children:c})]},r)})})}function qA({agent:e,isActive:t,isHovered:n,isMobile:r,href:i,onClick:a,onHover:o,onHoverEnd:s,onDetailPress:c}){let{LinkComponent:l}=Xk(),{labels:u}=Yk(),d=i??`/agents/go/${e.id}`;return(0,j.jsxs)(`div`,{"data-testid":`agent-row-${e.id}`,className:X(`flex items-center w-full text-left transition-colors group`,`hover:bg-muted/50 active:bg-muted/70`,t&&`bg-primary/5`,!r&&n&&`bg-muted/40`),onMouseEnter:r?void 0:o,onMouseLeave:r?void 0:s,children:[(0,j.jsxs)(l,{href:d,onClick:e=>{e.metaKey||e.ctrlKey||(e.preventDefault(),a())},className:`flex items-center gap-2 flex-1 min-w-0 px-3 py-2`,children:[e.isFavorite&&(0,j.jsx)(pA,{filled:!0,className:`w-3 h-3 matrx-agent-star-on shrink-0`}),(0,j.jsx)(`span`,{className:X(`text-[13px] font-medium truncate`,t?`text-primary`:`text-foreground`),title:e.name||`Untitled`,children:e.name||`Untitled`}),e.organizationName?(0,j.jsx)(`span`,{"data-testid":`agent-org-${e.id}`,className:`text-[10px] text-muted-foreground truncate min-w-0 shrink`,title:e.organizationName,children:e.organizationName}):null,e.orchestra&&(0,j.jsxs)(`span`,{className:`flex shrink-0 items-center gap-0.5 rounded-sm bg-primary/10 px-1 py-px text-[9px] font-medium text-primary`,title:mk(e.orchestra)??fk(e.orchestra),children:[(0,j.jsx)(MA,{className:`w-2.5 h-2.5`}),e.orchestra.memberCount]}),e.isArchived?(0,j.jsx)(`span`,{"data-testid":`agent-archived-badge-${e.id}`,className:`text-[9px] font-medium text-muted-foreground bg-muted px-1 py-px rounded shrink-0 ml-auto`,children:u.archivedBadge}):null,e.agentType===`builtin`?(0,j.jsx)(`span`,{className:X(`text-[9px] font-medium text-primary bg-primary/10 px-1 py-px rounded shrink-0`,!e.isArchived&&`ml-auto`),children:u.systemBadge}):e.isOwner===!1?(0,j.jsx)(`span`,{className:X(`text-[9px] text-muted-foreground bg-muted px-1 py-px rounded shrink-0`,!e.isArchived&&`ml-auto`),children:`shared`}):null]}),r&&(0,j.jsx)(`button`,{type:`button`,"aria-label":`Show details`,onClick:e=>{e.stopPropagation(),c()},className:`flex items-center justify-center w-10 h-full shrink-0 text-muted-foreground/40 active:text-muted-foreground`,children:(0,j.jsx)(mA,{className:`w-4 h-4`})})]})}function JA({agents:e,isLoading:t,consumer:n,activeAgentId:r,allCategories:i,allTags:a,inputRef:o,onSelectAgent:s,resolveAgentHref:c,onReset:l,activeFilterCount:u,isMobile:d,hoveredAgent:f,onAgentHover:p,onAgentHoverEnd:m,onDetailPress:h,onFilterChipClick:g,rightPanel:v,tabCounts:y,visibleTabs:b,systemTabLabel:x,pinnedAgent:S=null,defaultRow:C=null,listOpen:w=!1,archivedHiddenCount:T=0,agentFilterLabel:E=null,onClearAgentFilter:D}){let O=Yk(),k=(0,_.useRef)(null);(0,_.useEffect)(()=>{w&&S&&k.current?.scrollTo({top:0})},[w,S?.id]);let{labels:A}=O,M=O.getUserIdOrNull()===null?A.emptySignedOut:hk(n.tab,A),N=C?.row??null;return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1 shrink-0`,children:(0,j.jsx)(PA,{ref:o,value:n.searchTerm,onChange:n.setSearchTerm,placeholder:A.searchPlaceholder})}),(0,j.jsx)(KA,{consumer:n,tabCounts:y,systemTabLabel:x,visibleTabs:b}),(0,j.jsx)(GA,{consumer:n,allCategories:i,allTags:a,activeFilterCount:u,isMobile:d,rightPanel:v,onFilterChipClick:g,onReset:l}),E&&(0,j.jsxs)(`div`,{"data-testid":`agent-list-host-filter`,className:`mx-2 mb-1.5 flex h-6 items-center gap-2 rounded-md bg-primary/10 px-2 shrink-0`,children:[(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[11px] font-medium text-primary`,children:E}),D&&(0,j.jsx)(`button`,{type:`button`,onClick:D,className:`shrink-0 text-[11px] text-muted-foreground hover:text-foreground transition-colors`,children:`Show all`})]}),C?.drift&&(0,j.jsxs)(`div`,{role:`status`,className:`matrx-agent-drift-banner mx-2 mb-1.5 flex items-start gap-2 rounded-md px-2 py-1.5 shrink-0`,children:[(0,j.jsx)(jA,{className:`w-3.5 h-3.5 shrink-0 mt-px`}),(0,j.jsx)(`span`,{className:`text-[11px] leading-snug flex-1`,children:C.drift}),(0,j.jsx)(`button`,{type:`button`,"aria-label":`Dismiss`,onClick:()=>O.dismissDefaultRowDrift(C.mandateKey),className:`shrink-0 opacity-70 hover:opacity-100`,children:(0,j.jsx)(_A,{className:`w-3 h-3`})})]}),C?.error&&(0,j.jsxs)(h_,{as:`div`,className:`matrx-agent-drift-banner mx-2 mb-1.5 flex items-start gap-2 rounded-md px-2 py-1.5 shrink-0`,message:C.error,operation:`Load the default agent for ${C.mandateKey}`,origin:`agents/AgentListContent`,children:[(0,j.jsx)(jA,{className:`w-3.5 h-3.5 shrink-0 mt-px`}),(0,j.jsx)(`span`,{className:`text-[11px] leading-snug flex-1`,children:C.error}),(0,j.jsx)(`button`,{type:`button`,onClick:()=>O.retryDefaultRow(C.mandateKey),className:`shrink-0 text-[11px] font-medium underline underline-offset-2 opacity-80 hover:opacity-100`,children:`Try again`})]}),(0,j.jsx)(`div`,{className:`h-px bg-border shrink-0`}),(0,j.jsx)(`div`,{ref:k,className:`overflow-y-auto flex-1 min-h-0`,children:t?(0,j.jsxs)(`div`,{className:`flex items-center justify-center py-8 gap-2 text-muted-foreground`,children:[(0,j.jsx)(wA,{className:`w-4 h-4 matrx-agent-spin`}),(0,j.jsx)(`span`,{className:`text-xs`,children:A.loading})]}):e.length===0&&!S&&!N?(0,j.jsx)(`div`,{className:`flex flex-col items-center py-8 text-muted-foreground`,children:(0,j.jsx)(`span`,{className:`text-xs`,children:M})}):(0,j.jsxs)(`div`,{className:`py-0.5`,children:[N&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-3 pt-1.5 pb-0.5`,children:(0,j.jsx)(`span`,{className:`text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:`Default`})}),(0,j.jsx)(qA,{agent:N,isActive:N.id===r,isHovered:f?.id===N.id,isMobile:d,onClick:()=>s(N),href:c?.(N),onHover:()=>p(N),onHoverEnd:()=>m(N),onDetailPress:()=>h(N)},`default-${N.id}`),(0,j.jsx)(`div`,{className:`mx-2 my-0.5 h-px bg-border`})]}),S&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-3 pt-1.5 pb-0.5`,children:(0,j.jsx)(`span`,{className:`text-[10px] font-medium uppercase tracking-wide text-muted-foreground`,children:A.currentAgentHeading})}),(0,j.jsx)(qA,{agent:S,isActive:!0,isHovered:f?.id===S.id,isMobile:d,onClick:()=>s(S),href:c?.(S),onHover:()=>p(S),onHoverEnd:()=>m(S),onDetailPress:()=>h(S)},`pinned-${S.id}`),(0,j.jsx)(`div`,{className:`mx-2 my-0.5 h-px bg-border`})]}),e.map(e=>(0,j.jsx)(qA,{agent:e,isActive:e.id===r,isHovered:f?.id===e.id,isMobile:d,onClick:()=>s(e),href:c?.(e),onHover:()=>p(e),onHoverEnd:()=>m(e),onDetailPress:()=>h(e)},e.id)),e.length===0&&(S||N)&&(0,j.jsx)(`div`,{className:`flex flex-col items-center py-4 text-muted-foreground`,children:(0,j.jsx)(`span`,{className:`text-xs`,children:M})})]})}),(0,j.jsx)(`div`,{className:`h-px bg-border shrink-0`}),(0,j.jsxs)(`div`,{className:`flex items-center justify-between px-2.5 py-1.5 shrink-0`,children:[(0,j.jsx)(`span`,{"data-testid":`agent-list-footer`,className:`text-[10px] text-muted-foreground tabular-nums`,children:bk({count:e.length,archFilter:n.archFilter,archivedHiddenCount:T})}),n.searchTerm&&(0,j.jsx)(`button`,{type:`button`,onClick:()=>n.setSearchTerm(``),className:`text-[10px] text-muted-foreground hover:text-foreground transition-colors`,children:`Clear search`})]})]})}function YA({view:e,consumer:t,allCategories:n,allTags:r,catSearch:i,setCatSearch:a,tagSearch:o,setTagSearch:s,onBack:c}){return(0,j.jsxs)(`div`,{className:`flex flex-col`,children:[(0,j.jsxs)(`button`,{type:`button`,onClick:c,className:`flex items-center gap-1.5 px-3 py-2.5 text-sm font-medium text-primary hover:bg-muted/30 transition-colors border-b border-border shrink-0`,children:[(0,j.jsx)(mA,{className:`w-4 h-4 rotate-180`}),e===`sort`?`Sort`:e===`categories`?`Categories`:`Tags`]}),e===`sort`&&uD.map(e=>(0,j.jsx)(IA,{label:e.label,selected:t.sortBy===e.value,onClick:()=>{t.setSortBy(e.value),c()}},e.value)),e===`categories`&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1`,children:(0,j.jsx)(PA,{value:i,onChange:a,placeholder:`Filter categories...`})}),t.includedCats.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>t.setIncludedCats([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left`,children:[`Clear (`,t.includedCats.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto max-h-[300px]`,children:n.filter(e=>!i||e.toLowerCase().includes(i.toLowerCase())).map(e=>(0,j.jsx)(LA,{label:e,checked:t.includedCats.includes(e),onClick:()=>t.toggleCategory(e)},e))})]}),e===`tags`&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1`,children:(0,j.jsx)(PA,{value:o,onChange:s,placeholder:`Filter tags...`})}),t.includedTags.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>t.setIncludedTags([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left`,children:[`Clear (`,t.includedTags.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto max-h-[300px]`,children:r.filter(e=>!o||e.toLowerCase().includes(o.toLowerCase())).map(e=>(0,j.jsx)(LA,{label:e,checked:t.includedTags.includes(e),onClick:()=>t.toggleTag(e)},e))})]})]})}function XA({consumer:e,onClose:t}){return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(RA,{title:`Sort By`,onClose:t}),(0,j.jsx)(`div`,{className:`overflow-y-auto flex-1`,children:uD.map(t=>(0,j.jsx)(IA,{label:t.label,selected:e.sortBy===t.value,onClick:()=>e.setSortBy(t.value)},t.value))})]})}function ZA({consumer:e,allTags:t,search:n,setSearch:r,onClose:i}){let a=t.filter(e=>!n||e.toLowerCase().includes(n.toLowerCase()));return(0,j.jsxs)(`div`,{className:`flex flex-col h-full`,children:[(0,j.jsx)(RA,{title:`Tags`,onClose:i}),(0,j.jsx)(`div`,{className:`px-2 pt-2 pb-1 shrink-0`,children:(0,j.jsx)(PA,{value:n,onChange:r,placeholder:`Filter tags...`})}),e.includedTags.length>0&&(0,j.jsxs)(`button`,{type:`button`,onClick:()=>e.setIncludedTags([]),className:`mx-2 mb-1 h-6 rounded text-[11px] font-medium text-primary hover:bg-muted/50 transition-colors text-left shrink-0`,children:[`Clear (`,e.includedTags.length,`)`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto flex-1`,children:a.length===0?(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground text-center py-6`,children:`No tags`}):a.map(t=>(0,j.jsx)(LA,{label:t,checked:e.includedTags.includes(t),onClick:()=>e.toggleTag(t)},t))})]})}var QA=`680px`;function $A({core:e,visibleTabs:t,systemTabLabel:n,includeSystemInAll:r=!1,resolveAgentHref:i,showPinnedAgent:a=!0,autoFocusSearch:o=!0,onAfterSelect:s,className:c}){let l=D_(),{labels:u}=Yk(),[d,f]=(0,_.useState)(null),[p,m]=(0,_.useState)(``),[h,g]=(0,_.useState)(``),[v,y]=(0,_.useState)(null),[b,x]=(0,_.useState)(null),S=(0,_.useRef)(null),{agents:C,archivedHiddenCount:w,isLoading:T,activeAgentId:E,pinnedAgent:D,defaultRow:O,agentFilterLabel:k,clearAgentFilter:A,allCategories:M,allTags:N,consumer:P,tabCounts:F,activeFilterCount:I,hoveredAgent:L,setHoveredAgent:ee,ensureLoaded:te,handleSelectAgent:ne,handleAgentHover:re,handleAgentHoverEnd:ie,handleDetailPanelMouseEnter:ae,handleDetailPanelMouseLeave:oe}=e;(0,_.useEffect)(()=>{if(te(),!o)return;let e=setTimeout(()=>S.current?.focus(),50);return()=>clearTimeout(e)},[te,o]);let se=(0,_.useRef)(!1);(0,_.useEffect)(()=>{se.current||l||!D||(se.current=!0,d===null&&(ee(D),f(`detail`)))},[D,l,d,ee]);let ce=e=>{ne(e),y(null),x(null),s?.(e)},le=e=>{l?x(e):f(d===e?null:e)},ue=(0,_.useCallback)(e=>{if(l)return;let t=d===`sort`||d===`categories`||d===`tags`;re(e,t),t||f(`detail`)},[l,d,re]),R=(0,_.useCallback)(e=>{l||d===`detail`&&ie(e,()=>f(null))},[l,d,ie]),de=(0,_.useCallback)(()=>{oe(()=>f(null))},[oe]),z=n??(r?`System`:void 0),B=(0,j.jsx)(JA,{agents:C,isLoading:T,consumer:P,activeAgentId:E,allCategories:M,allTags:N,inputRef:S,onSelectAgent:ce,...i?{resolveAgentHref:i}:{},onReset:P.resetFilters,activeFilterCount:I,isMobile:l,hoveredAgent:L,onAgentHover:ue,onAgentHoverEnd:R,onDetailPress:y,onFilterChipClick:le,rightPanel:d,tabCounts:F,archivedHiddenCount:w,...t?{visibleTabs:t}:{},...z?{systemTabLabel:z}:{},pinnedAgent:a?D:null,defaultRow:O,agentFilterLabel:k,onClearAgentFilter:A,listOpen:!0});return l?(0,j.jsx)(`div`,{className:X(`flex min-h-0 flex-1 flex-col overflow-hidden`,c),children:v?(0,j.jsxs)(`div`,{className:`flex flex-col overflow-hidden`,children:[(0,j.jsxs)(`button`,{type:`button`,onClick:()=>y(null),className:`flex items-center gap-1.5 px-3 py-2.5 text-sm font-medium text-primary hover:bg-muted/30 transition-colors border-b border-border shrink-0`,children:[(0,j.jsx)(mA,{className:`w-4 h-4 rotate-180`}),`Back`]}),(0,j.jsx)(`div`,{className:`overflow-y-auto`,children:(0,j.jsx)(VA,{agent:v,onSelect:()=>ce(v)})})]}):b?(0,j.jsx)(YA,{view:b,consumer:P,allCategories:M,allTags:N,catSearch:p,setCatSearch:m,tagSearch:h,setTagSearch:g,onBack:()=>{x(null),m(``),g(``)}}):B}):(0,j.jsxs)(`div`,{className:X(`flex h-full`,c),children:[(0,j.jsx)(`div`,{className:`flex flex-col min-w-[340px] flex-1 border-r border-border`,children:B}),(0,j.jsxs)(`div`,{className:`h-full w-[340px] shrink-0 overflow-hidden flex flex-col`,onMouseEnter:d===`detail`?ae:void 0,onMouseLeave:d===`detail`?de:void 0,children:[d===`detail`&&L&&(0,j.jsx)(`div`,{className:`h-full matrx-agent-fade-in`,children:(0,j.jsx)(VA,{agent:L,onSelect:()=>ce(L)})},L.id),d===`sort`&&(0,j.jsx)(XA,{consumer:P,onClose:()=>f(null)}),d===`categories`&&(0,j.jsx)(zA,{consumer:P,allCategories:M,search:p,setSearch:m,onClose:()=>{f(null),m(``)}}),d===`tags`&&(0,j.jsx)(ZA,{consumer:P,allTags:N,search:h,setSearch:g,onClose:()=>{f(null),g(``)}}),d===null&&(0,j.jsxs)(`div`,{className:`flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center`,children:[(0,j.jsx)(NA,{className:`h-6 w-6 text-muted-foreground/40`}),(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground/70 leading-relaxed`,children:u.hoverHint})]})]})]})}var ej=`agent-list-dropdown`;function tj({onSelect:e,navigateTo:t,className:n,label:r,triggerSlot:i,noBorder:a=!1,compact:o=!1,activeAgentId:s,contentSide:c,consumerId:l=ej,initialTab:u,includeSystemInAll:d=!1,visibleTabs:f,systemTabLabel:p,resolveAgentHref:m,showPinnedAgent:h=!0,excludeAgentIds:g,defaultMandateKey:v,agentFilter:y}){let b=D_(),{labels:x}=Yk(),{popoverContainer:S}=Xk(),[C,w]=(0,_.useState)(!1),T=(0,_.useRef)(null),[E,D]=(0,_.useState)(null),[O,k]=(0,_.useState)(c),A=sA({consumerId:l,...e?{onSelect:e}:{},...t?{navigateTo:t}:{},...s===void 0?{}:{activeAgentIdOverride:s},...u?{initialTab:u}:{},includeSystemInAll:d,...f?{visibleTabs:f}:{},...g?{excludeAgentIds:g}:{},...v?{defaultMandateKey:v}:{},...y?{agentFilter:y}:{}}),{pinnedAgent:M,defaultRow:N,activeAgentId:P,isLoading:F,activeFilterCount:I}=A,L=N?.row?.id===P?N.row:null,ee=r??M?.name??L?.name??(P?F?x.triggerResolving:x.triggerUnnameable:x.triggerFallback),te=!!P&&ee.trim().length>0&&ee!==`Select an agent`&&ee!==x.triggerFallback,ne=e=>{w(e),e&&(A.resumeAgentFilter(),D(c||b?null:UA(T.current)),k(c&&!b?WA(T.current,c):c))},re=(0,_.useMemo)(()=>{if(m)return m;if(t)return e=>t.replace(`{id}`,e.id)},[t,m]),ie=i??(0,j.jsxs)(`button`,{type:`button`,className:X(`inline-flex items-center rounded-md text-xs font-medium transition-colors`,`bg-background hover:bg-muted/50 text-foreground/80 hover:text-foreground`,o?`h-5 gap-1 px-1.5`:`h-7 gap-1.5 px-2.5`,!a&&`border border-border`,n),children:[(0,j.jsx)(`span`,{className:`min-w-0 max-w-[200px] flex-1 truncate text-left`,children:ee}),I>0&&(0,j.jsx)(`span`,{className:`flex items-center justify-center w-4 h-4 rounded-md bg-primary text-primary-foreground text-[10px]`,children:I}),(0,j.jsx)(hA,{className:`w-3 h-3 text-muted-foreground/60`})]}),ae=e=>te?(0,j.jsxs)(md,{...C?{open:!1}:{},children:[(0,j.jsx)(e,{asChild:!0,ref:T,children:(0,j.jsx)(hd,{asChild:!0,children:ie})}),(0,j.jsx)(gd,{side:`bottom`,className:`max-w-xs`,children:ee})]}):(0,j.jsx)(e,{asChild:!0,ref:T,children:ie}),oe=(0,j.jsx)($A,{core:A,includeSystemInAll:d,showPinnedAgent:h,onAfterSelect:()=>w(!1),...f?{visibleTabs:f}:{},...p?{systemTabLabel:p}:{},...re?{resolveAgentHref:re}:{}});return b?(0,j.jsxs)(e_,{open:C,onOpenChange:ne,children:[ae(t_),(0,j.jsxs)(c_,{className:`h-[85dvh]`,children:[(0,j.jsx)(l_,{className:`sr-only`,children:`Select Agent`}),(0,j.jsx)(`div`,{className:`flex flex-col overflow-hidden flex-1 min-h-0`,children:oe})]})]}):(0,j.jsxs)(US,{open:C,onOpenChange:ne,modal:!1,children:[ae(WS),(0,j.jsx)(qS,{...O?{side:O}:E?{side:`bottom`}:{},align:`start`,sideOffset:4,collisionPadding:12,sticky:`always`,...S?{container:S}:{},className:`p-0 overflow-hidden`,style:{width:QA,height:E??`528px`,maxHeight:E??`min(528px, var(--radix-popper-available-height, 528px))`},children:oe})]})}var nj=`Sign in to AI Matrx to use your agents`,rj=`latest`;function ij(e){let t=n=>{let r=()=>e.call(`agentCatalogRpc`,n).then(e=>({data:e.data,error:e.error?{message:e.error.message,...e.error.code?{code:e.error.code}:{},details:e.error.details??null,hint:e.error.hint??null}:null,count:e.count??null}));return{then:(e,t)=>r().then(e,t),range:(e,r)=>t({...n,range:[e,r]}),order:(e,r)=>t({...n,order:{column:e,ascending:r?.ascending!==!1}})}};return{rpc:(e,n,r)=>t({fn:e,...n?{args:n}:{},...r?.count?{count:r.count}:{}})}}function aj(e,t){let[n,r]=(0,_.useState)(null);return(0,_.useEffect)(()=>{if(!t)return;let n=!0;return e.call(`agentAccess`).then(e=>n&&r(e)).catch(()=>n&&r({signedIn:!1,userId:null,organizationId:null,configured:!1})),()=>{n=!1}},[e,t]),n}function oj(e,t,n){let r=(0,_.useRef)(n);return r.current=n,(0,_.useMemo)(()=>t?lk({client:ij(e),identity:{requireUserId:()=>t,getUserId:()=>t},catalogId:`coding-sessions:${t}`,errorSink:e=>{console.error(`[coding-sessions] agent catalogue: ${e.code}: ${e.message}`),e.code===`list_read_failed`&&r.current(`Couldn't load your agents. Reopen to retry.`)}}):null,[e,t])}function sj(e){return e.flatMap(e=>typeof e.name==`string`?[e]:[])}function cj(e){let t=aj(e.transport,e.open),[n,r]=(0,_.useState)(null),[i,a]=(0,_.useState)(null),o=oj(e.transport,t?.signedIn?t.userId:null,a),s=e.value?.agentId??null;(0,_.useEffect)(()=>{if(r(null),a(null),!s)return;let t=!0;return e.transport.call(`agentDetails`,s).then(e=>t&&r(e)).catch(e=>t&&a(e instanceof Error?e.message:String(e))),()=>{t=!1}},[s,e.transport]);let{onDetails:c}=e;(0,_.useEffect)(()=>{c?.(n)},[n,c]);let l=(0,_.useMemo)(()=>oD(sj(n?.variables??[])),[n]);if(t===null)return(0,j.jsx)(`div`,{className:`cs-skeleton h-9 rounded-lg`});if(!t.signedIn||!o)return(0,j.jsx)(`p`,{className:`text-[12.5px] text-muted-foreground`,children:nj});let u=(t,n)=>{e.value&&e.onChange({...e.value,variables:{...e.value.variables??{},[t]:n}})};return(0,j.jsxs)(`div`,{className:`space-y-3`,children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(pd,{children:(0,j.jsx)(tA,{catalog:o,children:(0,j.jsx)(tj,{consumerId:`coding-sessions-new-session`,activeAgentId:s,label:n?.name??(s?`Loading…`:`None`),onSelect:t=>e.onChange({agentId:t,versionId:null,variables:{}})})})}),s?(0,j.jsx)(b_,{type:`button`,size:`sm`,variant:`ghost`,onClick:()=>e.onChange(null),children:`Remove`}):null]}),i?(0,j.jsx)(`p`,{className:`text-[12px] text-destructive`,children:i}):null,n&&e.value?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(`span`,{className:`w-[72px] shrink-0 text-[12px] text-muted-foreground`,children:`Version`}),(0,j.jsxs)(oS,{value:e.value.versionId??rj,onValueChange:t=>e.value&&e.onChange({...e.value,versionId:t===rj?null:t}),children:[(0,j.jsx)(uS,{className:`h-8 w-[200px] text-[12.5px]`,"aria-label":`Agent version`,children:(0,j.jsx)(sS,{})}),(0,j.jsxs)(pS,{children:[(0,j.jsx)(hS,{value:rj,children:n.latestVersionNumber===null?`Latest`:`Latest (v${n.latestVersionNumber})`}),n.versions.map(e=>(0,j.jsxs)(hS,{value:e.id,children:[`v`,e.versionNumber]},e.id))]})]})]}),l.map(t=>{let n=e.value?.variables?.[t.name],r=typeof n==`string`?n:``,i=`cs-agent-var-${t.name}`,a=e.missing===t.name;return(0,j.jsxs)(`div`,{className:`space-y-1`,children:[(0,j.jsxs)(`label`,{htmlFor:i,className:`text-[12px] font-medium`,children:[t.label,t.required?(0,j.jsx)(`span`,{className:`text-muted-foreground`,children:` · required`}):null]}),t.options&&t.options.length>0?(0,j.jsxs)(oS,{value:r,onValueChange:e=>u(t.name,e),children:[(0,j.jsx)(uS,{id:i,className:`h-8 text-[12.5px]`,"aria-invalid":a||void 0,children:(0,j.jsx)(sS,{placeholder:`Choose…`})}),(0,j.jsx)(pS,{children:t.options.map(e=>(0,j.jsx)(hS,{value:e,children:e},e))})]}):t.variable.customComponent?.type===`textarea`?(0,j.jsx)(Ow,{id:i,rows:2,value:r,onChange:e=>u(t.name,e.target.value),placeholder:t.hint??``,"aria-invalid":a||void 0}):(0,j.jsx)(gw,{id:i,value:r,onChange:e=>u(t.name,e.target.value),placeholder:t.hint??``,"aria-invalid":a||void 0}),a?(0,j.jsx)(`p`,{className:`text-[12px] text-destructive`,children:`Fill this in to use the agent`}):null]},t.name)})]}):null]})}function lj(e,t){if(!e||!t)return null;for(let n of oD(sj(e.variables))){if(!n.required)continue;let e=t.variables?.[n.name];if(typeof e!=`string`||!e.trim())return n.name}return null}var uj={instructions:`Instructions`,skills:`Skills`,tools:`Tools`};function dj(e){let t=e.loaded.map(e=>e.part===`instructions`?`${uj.instructions} ${e.loaded===1?`✓`:`—`}`:`${uj[e.part]} ${e.loaded}/${e.total}`);return`${e.name}${e.versionNumber===null?``:` v${e.versionNumber}`} · ${t.join(` · `)}`}function fj(e){let{agent:t}=e,n=NE(),[r,i]=(0,_.useState)(!1),[a,o]=(0,_.useState)(!1),[s,c]=(0,_.useState)(null),[l,u]=(0,_.useState)(null);(0,_.useEffect)(()=>{if(!r)return;let n=!0;return e.transport.call(`agentAccess`).then(e=>n&&u(e)).catch(()=>void 0),t&&e.transport.call(`agentDetails`,t.agentId).then(e=>{n&&e.latestVersionId&&e.latestVersionNumber!==null&&c({id:e.latestVersionId,number:e.latestVersionNumber})}).catch(()=>void 0),()=>{n=!1}},[r,t,e.transport]);let d=async(t,r)=>{try{await e.transport.call(`setAgent`,e.sessionId,t),n(r),e.onChange()}catch(e){n(`That didn't change: ${e instanceof Error?e.message:String(e)}`)}},f=t&&s&&t.versionNumber!==null&&s.number>t.versionNumber?s:null,p=!t||t.loaded.every(e=>e.loaded===e.total),m=l?.signedIn??!1;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(ew,{open:r,onOpenChange:i,children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsxs)(`button`,{type:`button`,className:X(`cs-agent-chip`,t?`cs-agent-chip--set`:`cs-agent-chip--none`,!p&&`cs-agent-chip--partial`),"data-testid":`cs-agent-chip`,"aria-label":t?`AI Matrx agent: ${t.name}`:`Add an AI Matrx agent`,children:[t?dj(t):`No agent`,f?(0,j.jsx)(`span`,{className:`cs-agent-chip-dot`,"aria-label":`Update available`}):null,(0,j.jsx)(DE,{size:12,className:`ml-1 inline shrink-0`})]})}),(0,j.jsxs)(lw,{align:`end`,className:`w-[320px]`,children:[t?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(pw,{className:`truncate`,children:[t.name,t.versionNumber===null?``:` · v${t.versionNumber}`]}),(0,j.jsxs)(`div`,{className:`cs-agent-parts`,children:[t.blockDue?(0,j.jsx)(`p`,{className:`text-[12px] text-muted-foreground`,children:`Sent with your next message`}):null,(0,j.jsx)(pj,{title:`Skills`,items:t.skills??[]}),(0,j.jsx)(pj,{title:`Tools`,items:t.tools??[]}),t.unavailable.length>0?(0,j.jsx)(pj,{title:`Not loaded`,items:t.unavailable.map(e=>`${e.name} — ${e.reason}`)}):null]}),(0,j.jsx)(mw,{})]}):null,m?(0,j.jsxs)(j.Fragment,{children:[f&&t?(0,j.jsxs)(uw,{onSelect:()=>void d({agentId:t.agentId,versionId:f.id,variables:t.variables??{}},`The next message uses ${t.name} v${f.number}.`),children:[`Update to v`,f.number]}):null,(0,j.jsx)(uw,{onSelect:()=>o(!0),children:t?`Change agent…`:`Choose agent…`}),t?(0,j.jsx)(uw,{onSelect:()=>void d(null,`The next message runs without an agent.`),children:`Remove agent`}):null]}):l?(0,j.jsx)(`p`,{className:`px-2 py-1.5 text-[12px] text-muted-foreground`,children:nj}):null]})]}),(0,j.jsx)(mj,{transport:e.transport,open:a,onOpenChange:o,title:t?`Change agent`:`Choose an agent`,action:`Use this agent`,onConfirm:e=>d(e,`The next message uses the new agent.`)})]})}function pj({title:e,items:t}){return(0,j.jsxs)(`div`,{children:[(0,j.jsxs)(`p`,{className:`text-[11.5px] font-medium text-muted-foreground`,children:[e,` · `,t.length]}),t.length>0?(0,j.jsx)(`ul`,{className:`cs-agent-part-list`,children:t.map(e=>(0,j.jsx)(`li`,{className:`truncate`,title:e,children:e},e))}):null]})}function mj(e){let[t,n]=(0,_.useState)(null),[r,i]=(0,_.useState)(null),[a,o]=(0,_.useState)(null),[s,c]=(0,_.useState)(!1);(0,_.useEffect)(()=>{e.open&&(n(null),o(null))},[e.open]);let l=async()=>{if(!t)return;let n=lj(r,t);if(o(n),!n){c(!0);try{await e.onConfirm(t),e.onOpenChange(!1)}finally{c(!1)}}};return(0,j.jsx)(ZS,{open:e.open,onOpenChange:e.onOpenChange,children:(0,j.jsxs)(dC,{className:`max-w-[480px]`,children:[(0,j.jsx)(fC,{children:(0,j.jsx)(mC,{children:e.title})}),(0,j.jsx)(cj,{transport:e.transport,open:e.open,value:t,onChange:e=>{n(e),o(null)},missing:a,onDetails:i}),(0,j.jsxs)(pC,{children:[(0,j.jsx)(b_,{type:`button`,variant:`ghost`,onClick:()=>e.onOpenChange(!1),children:`Cancel`}),t?(0,j.jsx)(b_,{type:`button`,disabled:s,onClick:()=>void l(),children:e.action}):null]})]})})}function hj(e,t,n){try{let r=localStorage.getItem(e);return t.includes(r??``)?r:n}catch{return n}}function gj(e,t){try{localStorage.setItem(e,t)}catch{}}function _j({children:e,action:t}){return(0,j.jsxs)(`div`,{"data-cs-section-label":!0,className:`flex h-8 items-center justify-between px-3 pt-3`,children:[(0,j.jsx)(`span`,{className:`text-[12px] font-medium text-muted-foreground`,children:e}),t]})}function vj({children:e}){return(0,j.jsx)(`div`,{className:`truncate px-4 pb-0.5 pt-2.5 text-[12px] font-medium text-muted-foreground`,children:e})}function yj(e){let[t,n]=(0,_.useState)(e.initial),r=(0,_.useRef)(!1),i=t=>{r.current||(r.current=!0,e.onDone(t))};return(0,j.jsx)(`input`,{autoFocus:!0,value:t,onChange:e=>n(e.target.value),onFocus:e=>e.currentTarget.select(),onKeyDown:e=>{e.key===`Enter`&&i(t),e.key===`Escape`&&i(null)},onBlur:()=>i(t),"aria-label":`New name for this chat`,className:`cs-rename-input`})}function bj(e){return e.kind===`session`&&e.session?`#s/${e.session.id}`:e.providerSessionId?`#d/${e.provider}/${e.providerSessionId}`:``}function xj(e){let t=QT(),n=NE(),[r,i]=(0,_.useState)(!1),[a,o]=(0,_.useState)(!1),{entry:s}=e;return(0,j.jsxs)(kb,{children:[(0,j.jsx)(Ab,{asChild:!0,children:(0,j.jsxs)(`div`,{className:X(`cs-row group`,e.active&&`cs-row--active`,a&&`cs-row--menu`),"data-hidden":s.hidden||void 0,"data-cs-row":s.key,"data-cs-target":bj(s),"data-cs-provider":s.provider,"data-cs-title":s.title,"data-cs-live":e.live?`true`:void 0,"data-cs-active":e.active?`true`:void 0,children:[(0,j.jsx)(`button`,{type:`button`,onClick:e.onSelect,className:`cs-row__hit`,"aria-current":e.active?`true`:void 0,"aria-label":s.title,title:s.title===s.originalTitle?s.title:`${s.title}\n(${s.originalTitle})`}),(0,j.jsx)(`span`,{className:`pointer-events-none mt-0.5 shrink-0`,children:e.live?(0,j.jsx)(gE,{size:16,className:`text-primary`}):(0,j.jsx)(yE,{provider:s.provider,size:16})}),(0,j.jsxs)(`span`,{className:`cs-row__body`,children:[r?(0,j.jsx)(`span`,{className:`pointer-events-auto relative z-10 block`,children:(0,j.jsx)(yj,{initial:s.title,onDone:e=>{if(i(!1),e===null||e.trim()===s.title)return;let r=e.trim()===``||e.trim()===s.originalTitle?null:e;t.setPreference(s.key,{title:r}).catch(e=>n(`The new name didn't save: ${e instanceof Error?e.message:String(e)}`))}})}):(0,j.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,j.jsx)(`span`,{className:`min-w-0 truncate text-[13px] font-medium leading-5`,children:s.title}),s.pinned?(0,j.jsx)(SE,{size:11,className:`shrink-0 text-muted-foreground`,"aria-label":`Pinned`}):null]}),(0,j.jsx)(`span`,{className:`block truncate text-[11.5px] leading-4 text-muted-foreground`,children:e.meta}),e.snippet?(0,j.jsx)(`span`,{className:`cs-row__snippet`,children:e.snippet}):null]}),r?null:(0,j.jsxs)(`span`,{className:`cs-row__actions`,children:[e.takeover,(0,j.jsxs)(ew,{open:a,onOpenChange:o,children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,"aria-label":`More for ${s.title}`,title:`More`,children:(0,j.jsx)(xE,{size:15})})}),(0,j.jsx)(lw,{align:`start`,className:`w-60`,onCloseAutoFocus:e=>e.preventDefault(),children:(0,j.jsx)(LE,{entry:s,variant:`dropdown`,onRename:()=>i(!0)})})]})]})]})}),(0,j.jsx)(Lb,{className:`w-60`,onCloseAutoFocus:e=>e.preventDefault(),children:(0,j.jsx)(LE,{entry:s,variant:`context`,onRename:()=>i(!0)})})]})}function Sj(){return(0,j.jsx)(`div`,{className:`space-y-1.5 px-3 py-2`,"aria-hidden":`true`,children:[0,1,2].map(e=>(0,j.jsx)(`div`,{className:`cs-skeleton h-9 rounded-lg`},e))})}function Cj({text:e,query:t}){let n=t.trim().toLowerCase();if(!n)return e;let r=e.toLowerCase().indexOf(n);return r<0?e:(0,j.jsxs)(j.Fragment,{children:[e.slice(0,r),(0,j.jsx)(`mark`,{className:`cs-mark`,children:e.slice(r,r+n.length)}),e.slice(r+n.length)]})}var wj={query:``,loading:!1,error:null,hits:[],scanned:0,total:0,nextCursor:null};function Tj(e){let t=QT(),[n,r]=(0,_.useState)(wj),i=(0,_.useRef)(e);i.current=e;let a=(0,_.useCallback)(async(e,n,a)=>{r(t=>({...a?t:wj,query:e,loading:!0,error:null}));try{let o=await t.search(e,n);if(i.current.trim()!==e)return;r(t=>({query:e,loading:!1,error:null,hits:a?[...t.hits,...o.hits]:o.hits,scanned:(a?t.scanned:n)+o.scanned,total:o.total,nextCursor:o.nextCursor}))}catch(t){if(i.current.trim()!==e)return;r(e=>({...e,loading:!1,error:t instanceof Error?t.message:String(t)}))}},[t]);return(0,_.useEffect)(()=>{let t=e.trim();if(t.length<2){r(wj);return}let n=setTimeout(()=>void a(t,0,!1),350);return()=>clearTimeout(n)},[e,a]),[n,(0,_.useCallback)(()=>{n.nextCursor!==null&&!n.loading&&a(n.query,n.nextCursor,!0)},[a,n.nextCursor,n.loading,n.query])]}function Ej(e){return{provider:e.provider,providerSessionId:e.providerSessionId,cwd:e.cwd,title:e.title,updatedAt:e.updatedAt,source:null,activeElsewhere:null}}function Dj(e){let t=QT(),n=$T(),r=tE(),[i,a]=(0,_.useState)(``),[o,s]=Tj(i),[c,l]=(0,_.useState)(()=>hj(`coding-sessions.group`,[`date`,`folder`],`date`)),[u,d]=(0,_.useState)(!1),f=n.discovered.data.some(e=>e.titlePending===!0),[p,m]=(0,_.useState)(null),[h,g]=(0,_.useState)(null),v=n.preferences,y=n.sessions.data,b=e=>{let t=n.runs[e];return t!==void 0&&!CT(t.status)},{ours:x,others:S,hiddenCount:C}=(0,_.useMemo)(()=>{let e=y.map(e=>VT(e,v)),t=new Set(y.map(e=>e.providerSessionId).filter(Boolean)),r=n.discovered.data.filter(e=>!t.has(e.providerSessionId)).map(e=>HT(e,v));return{ours:e,others:r,hiddenCount:[...e,...r].filter(e=>e.hidden).length}},[y,n.discovered.data,v]),w=e=>u||!e.hidden,T=[...x,...S].filter(e=>e.pinned&&w(e)).sort(YT),E=x.filter(e=>!e.pinned&&e.session&&b(e.session.id)&&w(e)),D=x.filter(e=>!e.pinned&&!(e.session&&b(e.session.id))&&w(e)),O=S.filter(e=>!e.pinned&&w(e)),k=e=>{l(e),gj(`coding-sessions.group`,e)},A=t=>{t.session?e.select({kind:`session`,id:t.session.id}):t.providerSessionId&&e.select({kind:`discovered`,provider:t.provider,id:t.providerSessionId})},M=t=>t.session?e.selection.kind===`session`&&e.selection.id===t.session.id:e.selection.kind===`discovered`&&e.selection.id===t.providerSessionId,N=async n=>{m(n.providerSessionId),g(null);try{let r=await t.takeover(n);e.select({kind:`session`,id:r.id})}catch(e){g({id:n.providerSessionId,message:e instanceof Error?e.message:String(e)})}finally{m(null)}},P=(e,t)=>{let i=e.session?b(e.session.id):!1,a=e.session?n.runs[e.session.id]:void 0,o=e.discovered,s;if(i)s=`${bT[e.provider]} is working…`;else if(o?.activeElsewhere)s=(0,j.jsxs)(`span`,{className:`cs-live-elsewhere`,children:[(0,j.jsx)(`span`,{className:`cs-live-dot`,"aria-hidden":`true`}),`Running in `,bT[e.provider]]});else if(o?.unavailable)s=`${bT[e.provider]} · file missing · ${nE(e.updatedAt,r)}`;else{let n=a?a.status===`failed`?`Failed · `:a.status===`stopped`?`Stopped · `:``:``,i=e.cwd?rE(e.cwd):`unknown folder`;s=`${n}${e.kind===`discovered`?`${bT[e.provider]} · `:``}${c===`folder`&&!t?``:`${i} · `}${nE(e.updatedAt,r)}`}return(0,j.jsxs)(`div`,{children:[(0,j.jsx)(xj,{entry:e,active:M(e),onSelect:()=>A(e),live:i,meta:s,snippet:t?.snippet,takeover:o?.cwd?(0,j.jsxs)(`button`,{type:`button`,className:`cs-takeover-chip`,onClick:()=>o.activeElsewhere?A(e):void N(o),title:o.activeElsewhere?o.activeElsewhere.message:`Continue this chat here`,disabled:p===o.providerSessionId,children:[p===o.providerSessionId?(0,j.jsx)(gE,{size:11}):null,`Take over`]}):null}),h&&o&&h.id===o.providerSessionId?(0,j.jsx)(`p`,{className:`mx-4 mb-1 text-[11.5px] text-destructive`,children:h.message}):null]},e.key)},F=e=>qT(e,c,r).map(e=>(0,j.jsxs)(`div`,{role:`group`,"aria-label":e.label,children:[(0,j.jsx)(vj,{children:e.label}),e.entries.map(e=>P(e))]},e.label)),I=i.trim().length>0,L=I?[...x,...S].filter(e=>JT(e,i)).sort(YT):[],ee=new Set(L.map(e=>e.key)),te=new Map([...x,...S].map(e=>[e.key,e])),ne=o.hits.filter(e=>!ee.has(xT(e.provider,e.providerSessionId))),re=t=>{let n=te.get(xT(t.provider,t.providerSessionId));if(n){A(n);return}e.onFound(Ej(t)),e.select({kind:`discovered`,provider:t.provider,id:t.providerSessionId})},ie=(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(_j,{children:`Chats`}),L.length===0?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-muted-foreground`,children:`No listed chat has that in its name or folder.`}):L.map(e=>P(e,{query:i})),(0,j.jsx)(_j,{children:`In conversations`}),i.trim().length<2?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-muted-foreground`,children:`Type at least two letters to search what was said.`}):(0,j.jsxs)(j.Fragment,{children:[ne.map(t=>{let n=te.get(xT(t.provider,t.providerSessionId)),r=n??HT(Ej(t),v);return(0,j.jsx)(`div`,{onClickCapture:n?void 0:()=>e.onFound(Ej(t)),children:P(r,{query:i,snippet:t.snippet?(0,j.jsx)(Cj,{text:t.snippet,query:i}):void 0})},`hit:${r.key}`)}),(0,j.jsx)(`div`,{className:`px-4 py-2 text-[11.5px] leading-4 text-muted-foreground`,role:`status`,"aria-live":`polite`,children:o.error?(0,j.jsxs)(`span`,{className:`text-destructive`,children:[`Search stopped: `,o.error]}):o.loading?(0,j.jsxs)(`span`,{className:`inline-flex items-center gap-1.5`,children:[(0,j.jsx)(gE,{size:12}),` Searching your chats…`]}):o.query?(0,j.jsxs)(j.Fragment,{children:[ne.length===0&&o.hits.length===0?`Nothing found. `:null,o.nextCursor===null?`Searched all ${o.total.toLocaleString()} chats on this computer.`:`Searched the ${o.scanned.toLocaleString()} most recent of ${o.total.toLocaleString()} chats.`,o.nextCursor===null?null:(0,j.jsx)(`button`,{type:`button`,className:`cs-link ml-1`,onClick:s,children:`Search older chats`})]}):null})]})]}),ae=(0,j.jsxs)(j.Fragment,{children:[T.length>0?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(_j,{children:`Pinned`}),T.map(e=>P(e))]}):null,E.length>0?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(_j,{children:`Running`}),E.map(e=>P(e))]}):null,(0,j.jsx)(_j,{children:`Recent`}),n.sessions.loading&&n.sessions.loadedAt===null?(0,j.jsx)(Sj,{}):n.sessions.error?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-destructive`,children:n.sessions.error}):D.length===0?E.length===0?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] leading-5 text-muted-foreground`,children:`Sessions you start or take over here will appear here.`}):null:D.map(e=>P(e)),(0,j.jsxs)(_j,{action:(0,j.jsxs)(`span`,{className:`flex items-center gap-0.5`,children:[(0,j.jsxs)(ew,{children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button cs-icon-button--text`,"aria-label":`How to list your other chats`,children:c===`date`?`By date`:`By folder`})}),(0,j.jsxs)(lw,{align:`end`,className:`w-52`,children:[(0,j.jsx)(pw,{children:`Group your other chats`}),(0,j.jsxs)(rw,{value:c,onValueChange:e=>k(e),children:[(0,j.jsx)(fw,{value:`date`,children:`By date`}),(0,j.jsx)(fw,{value:`folder`,children:`By folder`})]}),(0,j.jsx)(mw,{}),(0,j.jsx)(uw,{onSelect:()=>d(e=>!e),children:u?`Leave hidden chats out`:`Show hidden chats${C?` (${C})`:``}`})]})]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void t.refreshDiscovered(),"aria-label":`Look again for your other chats`,title:`Look again`,children:n.discovered.loading?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(uE,{size:13})})]}),children:[`Your other chats`,f?(0,j.jsx)(`span`,{className:`ml-1 font-normal normal-case text-muted-foreground`,"data-cs-titles":`updating`,children:`· titles updating`}):null]}),n.discovered.loading&&n.discovered.loadedAt===null?(0,j.jsx)(Sj,{}):n.discovered.error?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] text-destructive`,children:n.discovered.error}):O.length===0?(0,j.jsx)(`p`,{className:`px-4 py-1 text-[12px] leading-5 text-muted-foreground`,children:S.length>0?`Every chat found here is pinned or hidden.`:`No other Claude Code or Codex chats were found on this computer.`}):(0,j.jsxs)(j.Fragment,{children:[F(O),n.discovered.data.length>=n.discoveredLimit?(0,j.jsx)(`div`,{className:`px-3 pt-2`,children:(0,j.jsxs)(b_,{variant:`ghost`,size:`sm`,className:`w-full text-muted-foreground`,onClick:()=>void t.showMoreDiscovered(),disabled:n.discovered.loading,children:[n.discovered.loading?(0,j.jsx)(gE,{size:13}):null,`Show older chats`]})}):null]}),u?null:C>0?(0,j.jsxs)(`button`,{type:`button`,className:`cs-link mx-4 mt-3 text-[11.5px]`,onClick:()=>d(!0),children:[C,` hidden `,C===1?`chat`:`chats`,` — show`]}):null]});return(0,j.jsxs)(`aside`,{className:`cs-sidebar flex h-full shrink-0 flex-col border-r border-border bg-sidebar-background`,style:{width:e.width},"aria-label":`Sessions`,children:[(0,j.jsxs)(`div`,{className:`flex items-center justify-between gap-2 px-4 pb-2 pt-3.5`,children:[(0,j.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,j.jsx)(`span`,{className:`cs-app-mark`,"aria-hidden":`true`}),(0,j.jsx)(`span`,{className:`truncate text-[14px] font-semibold tracking-[-0.01em]`,children:`Coding sessions`})]}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:e.onCollapse,"aria-label":`Hide the sidebar (⌘B)`,title:`Hide sidebar ⌘B`,children:(0,j.jsx)(EE,{size:15})})]}),(0,j.jsxs)(`div`,{className:`space-y-1.5 px-3 pb-1`,children:[(0,j.jsxs)(b_,{className:`w-full justify-start gap-2`,variant:`outline`,size:`sm`,onClick:e.onNew,children:[(0,j.jsx)(aE,{size:15}),`New session`,(0,j.jsx)(`kbd`,{className:`cs-kbd ml-auto`,children:`⌥⌘N`})]}),(0,j.jsxs)(`div`,{className:`cs-search`,children:[(0,j.jsx)(bE,{size:14,className:`cs-search__icon`}),(0,j.jsx)(`input`,{ref:e.searchRef,type:`search`,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{if(e.key===`Escape`&&(i?a(``):e.currentTarget.blur(),e.preventDefault()),e.key===`Enter`){let e=L[0],t=ne[0];e?A(e):t&&re(t)}},placeholder:`Search chats`,"aria-label":`Search chats by name, folder or what was said`,spellCheck:!1,className:`cs-search__input`}),i?(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button cs-search__clear`,onClick:()=>a(``),"aria-label":`Clear search`,children:(0,j.jsx)(kE,{size:13})}):(0,j.jsx)(`kbd`,{className:`cs-search__kbd`,children:`⌘K`})]})]}),(0,j.jsx)(`nav`,{className:`min-h-0 flex-1 overflow-y-auto pb-3`,children:I?ie:ae}),e.footer]})}function Oj(){let e=[],t=null,n=0,r=null,i=new Map;function a(t,n,r){let i={...t.message,parts:n,status:r??t.message.status};t.message=i;let a=e.findIndex(e=>e.id===i.id);a>=0&&(e[a]=i)}function o(){if(t)return t;n+=1;let r=S({id:`turn-${n}-${e.length}`,role:`assistant`,status:`streaming`});return e.push(r),t={message:r,index:new Map},t}function s(e,t){let n=o(),r=[...n.message.parts],i=n.index.get(e);i===void 0?(n.index.set(e,r.length),r.push(t(null))):r[i]=t(r[i]??null),a(n,r)}function c(e){if(!t)return;let n=t;a(n,n.message.parts.map(t=>{if(t.type===`reasoning`&&t.state===`streaming`)return{...t,state:`done`};if(t.type===`tool`&&t.state===`input-available`&&e!==`streaming`){if(e===`cancelled`)return{...t,state:`output-error`,errorText:`Stopped before this finished.`};if(e===`error`)return{...t,state:`output-error`,errorText:`The run ended before this finished.`}}return t}),e),t=null}let l={apply(n){switch(n.kind){case`user`:c(`complete`),e.push(S({id:`user-${n.id}`,role:`user`,parts:[{type:`text`,text:n.text}],status:`complete`,metadata:n.at?{createdAt:n.at}:void 0}));return;case`text-delta`:s(n.id,e=>e&&e.type===`text`?{type:`text`,text:e.text+n.text}:{type:`text`,text:n.text});return;case`text`:s(n.id,()=>({type:`text`,text:n.text}));return;case`reasoning`:s(n.id,()=>({type:`reasoning`,text:n.text,state:`done`}));return;case`tool-call`:{let r=FT(n.name,n.input),a=r?[{toolName:n.name,message:r,percent:null,at:null}]:[];s(n.id,e=>e&&e.type===`tool`?{...e,input:n.input,progress:a}:{type:`tool`,toolCallId:n.id,toolName:n.name,state:`input-available`,input:n.input,output:null,errorText:null,progress:a,delegated:!1});let o=t;if(o){let t=o.index.get(n.id),r=e.findIndex(e=>e.id===o.message.id);t!==void 0&&r>=0&&i.set(n.id,{messageIndex:r,partIndex:t})}return}case`tool-result`:{let r=i.get(n.id);if(!r){s(n.id,()=>({type:`tool`,toolCallId:n.id,toolName:`Tool`,state:n.isError?`output-error`:`output-available`,input:null,output:n.isError?null:n.output,errorText:n.isError?n.output||`The tool reported an error.`:null,progress:[],delegated:!1}));return}let a=e[r.messageIndex],o=a?.parts[r.partIndex];if(!a||!o||o.type!==`tool`)return;let c=n.isError?{...o,state:`output-error`,errorText:n.output||`The tool reported an error.`,output:null}:{...o,state:`output-available`,output:n.output},l=[...a.parts];l[r.partIndex]=c;let u={...a,parts:l};e[r.messageIndex]=u,t&&t.message.id===u.id&&(t.message=u);return}case`usage`:r={usage:n.usage,costUsd:n.costUsd};return;case`notice`:s(n.id,()=>({type:`notice`,level:n.level===`warning`?`medium`:`info`,code:null,userMessage:n.text,remedy:null}));return;case`error`:{let e=OT(n.text);if(t?.message.parts.some(t=>t.type===`error`&&t.message.trim()===e.trim()))return;s(n.id,()=>({type:`error`,errorType:`provider`,code:null,message:e,userMessage:e,recoverable:!0,remedy:null}));return}}},applyAll(e){for(let t of e)l.apply(t)},beginTurn(){o()},endTurn(n,r){n===`failed`&&r&&l.apply({kind:`error`,id:`run-error-${e.length}`,text:r}),n===`stopped`&&t&&l.apply({kind:`notice`,id:`run-stopped-${e.length}`,level:`info`,text:`You stopped this run.`}),c(n===`stopped`?`cancelled`:n===`failed`?`error`:`complete`)},messages(){return e.slice()},lastUsage(){return r}};return l}var kj=60,Aj=25165824;function jj(e){return{data:e,loading:!1,error:null,loadedAt:null}}function Mj(e){return e instanceof Error?e.message:String(e)}var Nj=class{sessionId;client;thread;builder=Oj();messages=[];listeners=new Set;seqMark=0;pending=[];activeRunId=null;activity=null;state={loading:!0,unavailable:null,truncated:!1};maxBytes=Aj;constructor(e,t){this.sessionId=e,this.client=t,this.thread=yT({getSnapshot:()=>({messages:this.messages,status:this.status(),conversationId:this.sessionId,ephemeral:!1}),features:{surface:{sendWhileBusy:!0}},subscribe:e=>(this.listeners.add(e),()=>{this.listeners.delete(e)}),onSubmit:async e=>{await this.client.send(this.sessionId,e.text)},onCancel:async()=>{let e=this.client.getState().runs[this.sessionId];e&&!CT(e.status)&&await this.client.stop(e.runId)}})}status(){let e=this.client.getState().runs[this.sessionId];return e?e.status===`starting`?`submitted`:e.status===`running`?`streaming`:`idle`:`idle`}notify(){this.messages=this.builder.messages();for(let e of this.listeners)e()}async loadEarlier(){this.state.truncated&&!this.state.loadingEarlier&&(this.maxBytes*=4,this.state={...this.state,loadingEarlier:!0},this.notify(),await this.load(!0))}async load(e=!1){e||(this.state={loading:!0,unavailable:null,truncated:!1},this.notify());try{let e=await this.client.transport.call(`history`,this.sessionId,{maxBytes:this.maxBytes});this.builder=Oj(),this.builder.applyAll(e.items),this.seqMark=e.seq;let t=this.client.getState().runs[this.sessionId];t&&!CT(t.status)?(this.activeRunId=t.runId,this.builder.beginTurn()):this.builder.endTurn(`completed`),this.state={loading:!1,unavailable:e.unavailable,truncated:e.truncated};let n=this.pending;this.pending=[];for(let e of n)this.onEvent(e.event)}catch(e){this.state={loading:!1,unavailable:Mj(e),truncated:!1}}this.notify()}onEvent(e){if(this.state.loading){e.type===`item`&&this.pending.push({seq:e.seq,event:e});return}if(e.type===`item`){if(e.seq<=this.seqMark)return;this.seqMark=e.seq,this.builder.apply(e.item),e.item.kind===`user`&&(this.activeRunId=e.runId,this.builder.beginTurn()),this.activity=Pj(this.activity,e.item),this.notify();return}if(e.type===`run`){let t=e.run;CT(t.status)&&(this.activity=null,this.activeRunId===t.runId?(this.builder.endTurn(t.status,t.error),this.activeRunId=null):t.status===`failed`&&t.error&&this.builder.endTurn(`failed`,t.error)),this.notify()}}};function Pj(e,t){switch(t.kind){case`user`:return`Thinking…`;case`text-delta`:return`Writing…`;case`text`:case`reasoning`:case`tool-result`:return`Thinking…`;case`tool-call`:{let e=FT(t.name,t.input);return`${MT(t.name)}${e?` — ${e}`:``}`}default:return e}}var Fj=class{transport;state;listeners=new Set;transcripts=new Map;finishedListeners=new Set;onRunFinished=e=>(this.finishedListeners.add(e),()=>{this.finishedListeners.delete(e)});constructor(e){this.transport=e,this.state={connection:e.status(),providers:jj([]),sessions:jj([]),discovered:jj([]),folders:jj([]),runs:{},preferences:{},discoveredLimit:kj},e.onStatus(e=>{let t=this.state.connection.state===`open`;this.set({connection:e}),e.state===`open`&&!t&&this.refreshAll()}),e.subscribe(e=>this.onEvent(e))}getState=()=>this.state;subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});set(e){this.state={...this.state,...e};for(let e of this.listeners)e()}onEvent(e){if(e.type===`session`){let t=this.state.sessions.data.filter(t=>t.id!==e.session.id);t.unshift(e.session),t.sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt)),this.set({sessions:{...this.state.sessions,data:t}})}else if(e.type===`run`){let t=this.state.runs[e.run.sessionId];if(this.set({runs:{...this.state.runs,[e.run.sessionId]:e.run}}),CT(e.run.status)&&(!t||t.runId!==e.run.runId||!CT(t.status))){let t=this.state.sessions.data.find(t=>t.id===e.run.sessionId)??null;for(let n of this.finishedListeners)n({run:e.run,session:t})}}else if(e.type===`preferences`){this.set({preferences:e.preferences});return}else if(e.type===`titles`){this.refreshDiscovered(),this.refreshSessions();return}let t=e.type===`session`?e.session.id:e.type===`run`?e.run.sessionId:e.sessionId;this.transcripts.get(t)?.onEvent(e)}async load(e,t){this.set({[e]:{...this.state[e],loading:!0,error:null}});try{let n=await t();this.set({[e]:{data:n,loading:!1,error:null,loadedAt:Date.now()}})}catch(t){this.set({[e]:{...this.state[e],loading:!1,error:Mj(t)}})}}refreshProviders=()=>this.load(`providers`,()=>this.transport.call(`providers`));refreshDiscovered=()=>this.load(`discovered`,()=>this.transport.call(`discoverSessions`,{limit:this.state.discoveredLimit}));showMoreDiscovered=async()=>{this.set({discoveredLimit:this.state.discoveredLimit+kj}),await this.refreshDiscovered()};refreshPreferences=async()=>{try{this.set({preferences:await this.transport.call(`chatPreferences`)})}catch{}};setPreference=async(e,t)=>{let n=this.state.preferences,r={...n[e],...t};this.set({preferences:{...n,[e]:r}});try{this.set({preferences:await this.transport.call(`setChatPreference`,e,t)})}catch(e){throw this.set({preferences:n}),e}};search(e,t=0){return this.transport.call(`searchChats`,e,{cursor:t,limit:30})}readRawTranscript(e,t){return this.transport.call(`readRawTranscript`,e,t)}openFolder(e,t){return this.transport.call(`openFolder`,e,t)}setSessionOptions(e,t){return this.transport.call(`setSessionOptions`,e,t)}refreshFolders=()=>this.load(`folders`,()=>this.transport.call(`recentFolders`));refreshSessions=async()=>{await this.load(`sessions`,()=>this.transport.call(`listSessions`));let e={};await Promise.all(this.state.sessions.data.map(async t=>{let n=await this.transport.call(`listRuns`,t.id).catch(()=>[]),r=n[n.length-1];r&&(e[t.id]=r)})),this.set({runs:{...e,...this.pickLive()}})};pickLive(){let e={};for(let[t,n]of Object.entries(this.state.runs))CT(n.status)||(e[t]=n);return e}refreshAll=async()=>{await Promise.all([this.refreshSessions(),this.refreshProviders(),this.refreshDiscovered(),this.refreshFolders(),this.refreshPreferences()]);for(let e of this.transcripts.values())e.load()};transcript(e){let t=this.transcripts.get(e);return t||(t=new Nj(e,this),this.transcripts.set(e,t),t.load()),t}async readPreview(e,t,n){try{let r=await this.transport.call(`readTranscript`,e,t,n?{maxBytes:n}:void 0),i=Oj();return i.applyAll(r.items),i.endTurn(`completed`),{loading:!1,messages:i.messages(),unavailable:r.unavailable,truncated:r.truncated}}catch(e){return{loading:!1,messages:[],unavailable:Mj(e),truncated:!1}}}start(e){return this.transport.call(`start`,e)}takeover(e,t){return this.transport.call(`takeover`,{provider:e.provider,providerSessionId:e.providerSessionId,cwd:e.cwd??``,title:e.title,...t?{agent:t}:{}})}send(e,t){return this.transport.call(`send`,e,t)}stop(e){return this.transport.call(`stop`,e)}},Ij=[`agent`,`folder`,`prompt`];async function Lj(e){let t={},n=e.provider;if(n&&(!n.installed||!n.loggedIn)&&(t.agent=`${n.problem??`${n.label} can't run here yet.`} ${n.fix??``}`.trim()),!e.folder.trim())t.folder=`Choose a folder, or type one, for it to work in.`;else try{let n=await e.checkFolder(e.folder);n.exists?n.isDirectory||(t.folder=`That path is a file, not a folder.`):(t.folder=`That folder doesn't exist on this computer.`,t.createFolder=n.path)}catch(e){t.folder=`Couldn't check that folder: ${e instanceof Error?e.message:String(e)}`}return e.prompt.trim()||(t.prompt=`Tell it what to do first.`),t}function Rj(e){return Ij.find(t=>e[t]!==void 0)??null}function zj({transport:e,children:t}){let[n]=(0,_.useState)(()=>new Fj(e));return(0,_.useEffect)(()=>{e.status().state===`open`&&n.refreshAll()},[n,e]),(0,j.jsx)(ZT.Provider,{value:n,children:t})}function Bj(){if(typeof location>`u`)return{kind:`none`};let[e,t,n]=location.hash.replace(/^#/,``).split(`/`);return e===`s`&&t?{kind:`session`,id:t}:e===`d`&&(t===`claude`||t===`codex`)&&n?{kind:`discovered`,provider:t,id:n}:{kind:`none`}}function Vj(e){if(typeof history>`u`)return;let t=e.kind===`session`?`#s/${e.id}`:e.kind===`discovered`?`#d/${e.provider}/${e.id}`:``;history.replaceState(null,``,`${location.pathname}${location.search}${t}`)}function Hj(){try{let e=localStorage.getItem(`coding-sessions.theme`);return e===`light`||e===`dark`?e:`system`}catch{return`system`}}function Uj(){let[e,t]=(0,_.useState)(Hj);return(0,_.useEffect)(()=>{let t=typeof window.matchMedia==`function`?window.matchMedia(`(prefers-color-scheme: dark)`):null,n=()=>{let n=e===`dark`||e===`system`&&t?.matches===!0;document.documentElement.classList.toggle(`dark`,n),document.documentElement.setAttribute(`data-theme`,n?`dark`:`light`)};return n(),t?.addEventListener(`change`,n),()=>t?.removeEventListener(`change`,n)},[e]),[e,(0,_.useCallback)(e=>{t(e);try{localStorage.setItem(`coding-sessions.theme`,e)}catch{}},[])]}var Wj={starting:`Starting`,running:`Working`,completed:`Done`,stopped:`Stopped`,failed:`Failed`};function Gj({run:e}){if(!e)return null;let t=!CT(e.status);return(0,j.jsxs)(`span`,{className:X(`cs-pill`,`cs-pill--${e.status}`),children:[t?(0,j.jsx)(`span`,{className:`cs-pill__dot`,"aria-hidden":`true`}):null,Wj[e.status]]})}function Kj(){let{connection:e}=$T();if(e.state===`open`)return null;let t=e.state===`closed`;return(0,j.jsxs)(`div`,{role:`status`,className:X(`flex items-center gap-2 border-b px-4 py-2 text-[13px]`,t?`border-destructive/30 bg-destructive/10 text-destructive`:`border-border bg-muted/60 text-muted-foreground`),children:[t?(0,j.jsx)(lE,{size:15}):(0,j.jsx)(gE,{size:14}),(0,j.jsx)(`span`,{children:t?e.reason:`Connecting to the coding sessions host…`})]})}function qj(e){let t=$T(),n=QT(),r={system:`light`,light:`dark`,dark:`system`},i={system:`Match system`,light:`Light`,dark:`Dark`};return(0,j.jsx)(`div`,{className:`border-t border-border px-3 py-2.5`,children:(0,j.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,j.jsx)(`div`,{className:`flex min-w-0 flex-1 flex-wrap gap-1.5`,children:t.providers.loading&&t.providers.loadedAt===null?(0,j.jsx)(`span`,{className:`text-[11.5px] text-muted-foreground`,children:`Checking Claude Code and Codex…`}):t.providers.data.map(e=>{let t=e.lastProblem?wT(e.lastProblem.until):null,n=e.lastProblem?e.lastProblem.kind===`signed-out`?`· sign in again`:`· limit${t?` until ${t}`:``}`:null,r=e.problem?`${e.problem} ${e.fix??``}`.trim():[eM(e)??e.label,e.plan,tM(e)].filter(Boolean).join(` · `);return(0,j.jsxs)(`span`,{className:X(`cs-provider-chip`,e.ready?``:`cs-provider-chip--problem`),title:n&&!e.problem?`${r} ${n}`:r,children:[(0,j.jsx)(yE,{provider:e.provider,size:13}),e.label,n?(0,j.jsx)(`span`,{className:`cs-provider-chip__note`,children:n}):null,e.ready?(0,j.jsx)(cE,{size:12}):(0,j.jsx)(lE,{size:12})]},e.provider)})}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void n.refreshProviders(),"aria-label":`Check Claude Code and Codex again`,title:`Check again`,children:t.providers.loading?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(uE,{size:13})}),e.extra,(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>e.setTheme(r[e.theme]),"aria-label":`Theme: ${i[e.theme]}. Switch to ${i[r[e.theme]]}.`,title:`Theme: ${i[e.theme]}`,children:e.theme===`system`?(0,j.jsx)(mE,{size:14}):e.theme===`light`?(0,j.jsx)(fE,{size:14}):(0,j.jsx)(pE,{size:14})})]})})}function Jj(){let e=(0,_.useContext)(ME);return(0,_.useMemo)(()=>({notify(t){e(t.message)}}),[e])}function Yj(e,t,n=null){let r=QT(),[i,a]=(0,_.useState)(n);return(0,_.useEffect)(()=>{if(!e||!t){a(null);return}let n=!1,i=()=>r.transport.call(`sessionActivity`,e,t).then(e=>{n||a(e)}).catch(()=>void 0);i();let o=setInterval(i,1e4);return()=>{n=!0,clearInterval(o)}},[r,e,t]),i}function Xj(e,t){let n=QT(),[r,i]=(0,_.useState)(null);return(0,_.useEffect)(()=>{let t=!1;return n.transport.call(`listRuns`,e).then(e=>{if(t)return;let n=0,r=null,a=null;for(let t of e)t.usage&&(n+=t.usage.inputTokens+t.usage.outputTokens+t.usage.cachedInputTokens),t.costUsd!==null&&(r=(r??0)+t.costUsd),a=t.billing??a;i(n>0||r!==null?{tokens:n,cost:r,billing:a,runs:e.length}:null)}).catch(()=>void 0),()=>{t=!0}},[n,e,t]),r}function Zj(e){return(0,j.jsxs)(ew,{children:[(0,j.jsx)(tw,{asChild:!0,children:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button shrink-0`,"aria-label":`More for this chat`,title:`More`,children:(0,j.jsx)(xE,{size:16})})}),(0,j.jsxs)(lw,{align:`end`,className:`w-64`,onCloseAutoFocus:e=>e.preventDefault(),children:[e.onChanges?(0,j.jsxs)(uw,{onSelect:e.onChanges,children:[(0,j.jsx)(OE,{size:14}),e.changesOpen?`Hide changed files`:`Files this chat changed`]}):null,(0,j.jsx)(LE,{entry:e.entry,variant:`dropdown`,onRename:e.onRename})]})]})}function Qj(e){let t=QT(),n=(0,_.useContext)(ME),[r,i]=(0,_.useState)(e.entry.title);(0,_.useEffect)(()=>i(e.entry.title),[e.entry.title,e.renaming]);let a=(0,_.useRef)(null);if((0,_.useEffect)(()=>{if(!e.renaming)return;let t=setTimeout(()=>{let e=a.current;e&&document.activeElement!==e&&(e.focus(),e.select())},0);return()=>clearTimeout(t)},[e.renaming]),!e.renaming)return(0,j.jsx)(`h1`,{className:`truncate text-[15px] font-semibold leading-5 tracking-[-0.01em]`,title:e.entry.title===e.entry.originalTitle?e.entry.title:`${e.entry.title} (${e.entry.originalTitle})`,onDoubleClick:()=>e.setRenaming(!0),children:e.entry.title});let o=()=>{e.setRenaming(!1);let i=r.trim();if(i===e.entry.title)return;let a=i===``||i===e.entry.originalTitle?null:i;t.setPreference(e.entry.key,{title:a}).catch(e=>n(`The new name didn't save: ${e instanceof Error?e.message:String(e)}`))};return(0,j.jsx)(`input`,{ref:a,autoFocus:!0,value:r,onChange:e=>i(e.target.value),onFocus:e=>e.currentTarget.select(),onBlur:o,onKeyDown:t=>{t.key===`Enter`&&o(),t.key===`Escape`&&e.setRenaming(!1)},"aria-label":`New name for this chat`,className:`cs-rename-input !m-0 !h-6 !text-[15px] !font-semibold`})}function $j(e){return(0,j.jsxs)(`p`,{className:`mx-auto mt-3 flex items-center gap-2 text-[12px] text-muted-foreground`,children:[`This chat is very long — showing its most recent part.`,(0,j.jsx)(`button`,{type:`button`,className:`cs-link`,onClick:e.onEarlier,disabled:e.loading,children:e.loading?`Reading…`:`Show earlier`})]})}function eM(e){return e.version?`${e.label} ${e.version}${e.binary?` · ${e.binary.sourceLabel}`:``}`:null}function tM(e){return e.binary?.newer?`Newer: ${e.binary.newer.version} ${e.binary.newer.sourceLabel}`:null}function nM({session:e,changesOpen:t,setChangesOpen:n}){let r=QT(),i=$T(),a=(0,_.useContext)(ME),o=eE(e.id),s=i.runs[e.id],c=s!==void 0&&!CT(s.status),l=Jj(),u=i.providers.data.find(t=>t.provider===e.provider)??null,d=u&&(!u.installed||!u.loggedIn)?u:null,f=!d&&u?.lastProblem?u:null,p=s?.status===`failed`&&DT(s.error),[m,h]=(0,_.useState)(!1),[g,v]=(0,_.useState)(!1),y=Yj(e.origin===`takeover`&&!c?e.provider:null,e.providerSessionId),b=VT(e,i.preferences),x=o.thread.getSnapshot().messages,S=HE(x),C=Xj(e.id,`${s?.runId??``}:${s?.status??``}`);(0,_.useEffect)(()=>{c||h(!1)},[c]);let w=async()=>{s&&(h(!0),await r.stop(s.runId).catch(()=>h(!1)))},T=t=>{r.setSessionOptions(e.id,{model:t.model,effort:t.effort}).then(()=>a(`The next message uses ${GE(t,u)}.`)).catch(e=>a(`That didn't save: ${e instanceof Error?e.message:String(e)}`))},E=C?`${ci(C.tokens,{style:`compact`})} tokens${C.cost===null?``:` · ${oi(C.cost)}`}`:null,D=C?`${ci(C.tokens)} tokens over ${C.runs} ${C.runs===1?`message`:`messages`} sent from here.`+(C.cost===null?``:C.billing===`subscription`?` ${oi(C.cost)} is what this would cost at API prices — it's covered by your ${u?.plan??``} plan.`.replace(` `,` `):` Billed ${oi(C.cost)} to your API key.`):``;return(0,j.jsxs)(`div`,{className:`flex min-w-0 flex-1`,children:[(0,j.jsxs)(`section`,{className:`flex min-w-0 flex-1 flex-col`,"aria-label":b.title,children:[(0,j.jsxs)(`header`,{className:`@container/header flex items-center gap-2 border-b border-border px-5 pt-2.5 pb-2.5`,children:[(0,j.jsx)(yE,{provider:e.provider,size:22}),(0,j.jsxs)(`div`,{className:`min-w-0 flex-1 overflow-hidden`,children:[(0,j.jsx)(Qj,{entry:b,renaming:g,setRenaming:v}),(0,j.jsxs)(`div`,{className:`flex min-w-0 items-center gap-1 text-[12px] leading-5 text-muted-foreground`,children:[(0,j.jsx)(`span`,{className:`shrink-0`,children:bT[e.provider]}),(0,j.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,j.jsx)(KE,{status:u,value:{model:e.model,effort:e.effort??null},onChange:T}),(0,j.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,j.jsx)(sE,{size:12,className:`shrink-0`}),(0,j.jsx)(`span`,{className:`min-w-[4rem] truncate`,title:e.cwd,children:rE(e.cwd)}),E?(0,j.jsxs)(`span`,{className:`shrink-0`,title:D,children:[`· `,E]}):null]})]}),(0,j.jsx)(fj,{transport:r.transport,sessionId:e.id,agent:e.agent??null,onChange:()=>void 0}),(0,j.jsxs)(`button`,{type:`button`,className:X(`cs-chip-button shrink-0 @max-[620px]/header:hidden`,t&&`cs-chip-button--on`),onClick:()=>n(!t),"aria-pressed":t,title:`Files this chat changed`,children:[(0,j.jsx)(OE,{size:13}),S.length>0?`${S.length} ${S.length===1?`file`:`files`} changed`:`Changes`]}),(0,j.jsx)(Gj,{run:s}),c?(0,j.jsxs)(b_,{variant:`outline`,size:`sm`,onClick:()=>void w(),disabled:m,className:`gap-1.5`,title:`Stop Esc`,children:[m?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(oE,{size:13}),m?`Stopping…`:`Stop`]}):null,(0,j.jsx)(Zj,{entry:b,onRename:()=>v(!0),onChanges:()=>n(!t),changesOpen:t})]}),(0,j.jsx)(`div`,{className:`mx-chat flex min-h-0 flex-1 flex-col`,children:(0,j.jsxs)(gi,{thread:o.thread,ports:{notifier:l,toolLabel:MT},children:[(0,j.jsx)(`div`,{className:`min-h-0 flex-1 overflow-hidden`,children:o.state.loading?(0,j.jsxs)(`div`,{className:`flex h-full items-center justify-center gap-2 text-[13px] text-muted-foreground`,children:[(0,j.jsx)(gE,{size:15}),` Loading the conversation…`]}):(0,j.jsxs)(`div`,{className:`flex h-full flex-col`,children:[o.state.unavailable?(0,j.jsx)(`p`,{className:`mx-auto mt-4 max-w-[720px] rounded-lg border border-border bg-muted/50 px-4 py-2.5 text-[13px] text-muted-foreground`,children:o.state.unavailable}):null,o.state.truncated?(0,j.jsx)($j,{loading:o.state.loadingEarlier===!0,onEarlier:()=>void o.loadEarlier()}):null,x.length===0&&!c?(0,j.jsx)(`div`,{className:`flex flex-1 items-center justify-center text-[13px] text-muted-foreground`,children:e.origin===`takeover`?`You've taken over this chat. Send a message to continue it.`:`Nothing here yet.`}):(0,j.jsx)(Xw,{className:`min-h-0 flex-1`,label:`Conversation: ${b.title}`})]})}),(0,j.jsxs)(`div`,{"data-cs-composer":!0,className:`mx-auto w-full max-w-[820px] px-4 pb-4`,children:[f?(0,j.jsxs)(`div`,{className:`mb-2 flex items-start gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[f.problem,` `,f.fix]})]}):null,p&&!d?(0,j.jsxs)(`div`,{className:`mb-2 flex items-center gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,role:`alert`,children:[(0,j.jsx)(lE,{size:15,className:`shrink-0 text-warning`}),(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,title:s?.error??void 0,children:ET}),(0,j.jsx)(KE,{status:u,value:{model:e.model,effort:e.effort??null},onChange:T})]}):null,d?(0,j.jsxs)(`div`,{className:`mb-2 flex items-start gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[d.problem,` `,d.fix]})]}):null,(0,j.jsx)(`div`,{className:`cs-activity`,role:`status`,"aria-live":`polite`,"data-idle":!c||void 0,children:c?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(gE,{size:13}),(0,j.jsx)(`span`,{className:`truncate`,children:s?.status===`starting`?`Starting ${bT[e.provider]}…`:o.activity??`Thinking…`}),(0,j.jsx)(`span`,{className:`ml-auto shrink-0 text-[11px] opacity-70`,children:`Esc to stop`})]}):null}),y?(0,j.jsxs)(`div`,{className:`mb-2 flex items-start gap-2 rounded-lg border border-warning/40 bg-warning/10 px-3 py-2 text-[12.5px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[y.message,` A message sent here would put a second agent on the same chat.`]})]}):null,e.queued.length>0?(0,j.jsx)(`ul`,{className:`mb-2 space-y-1.5`,"aria-label":`Queued messages`,children:e.queued.map((e,t)=>(0,j.jsxs)(`li`,{className:`cs-queued`,children:[(0,j.jsx)(`span`,{className:`cs-queued__label`,children:`Queued · sends when this run finishes`}),(0,j.jsx)(`span`,{className:`cs-queued__text`,children:e})]},`${t}-${e.slice(0,16)}`))}):null,(0,j.jsx)(vT,{placeholder:`Message ${bT[e.provider]}…`,autoFocus:!0,...d?{held:{reason:`${d.problem} ${d.fix??``}`.trim()}}:{}})]})]})})]}),t?(0,j.jsx)(UE,{files:S,cwd:e.cwd,truncated:o.state.truncated,onClose:()=>n(!1)}):null]})}function rM(e,t){let n=(0,_.useRef)({messages:[],listeners:new Set}),r=(0,_.useRef)(t);return r.current=t,[(0,_.useMemo)(()=>yT({getSnapshot:()=>({messages:n.current.messages,status:`idle`,conversationId:e}),subscribe:e=>(n.current.listeners.add(e),()=>{n.current.listeners.delete(e)}),onSubmit:()=>r.current()}),[e]),(0,_.useCallback)(e=>{n.current.messages=e;for(let e of n.current.listeners)e()},[])]}function iM(e){let t=QT(),n=$T(),r=(0,_.useContext)(ME),i=tE(),[a,o]=(0,_.useState)({loading:!0,messages:[],unavailable:null,truncated:!1}),[s,c]=(0,_.useState)(!1),[l,u]=(0,_.useState)(null),[d,f]=(0,_.useState)(!1),[p,m]=(0,_.useState)(!1),[h,g]=(0,_.useState)(void 0),[v,y]=(0,_.useState)(!1),b=Yj(e.provider,e.id,e.session?.activeElsewhere??null),x=HE(a.messages),S=e.session,[C,w]=rM(e.id,()=>r(S?.cwd?`This chat is read-only until you take it over. Press Take over to continue it here.`:`This chat is read-only here: it doesn't record its folder, so it can't be continued.`));(0,_.useEffect)(()=>{let n=!1,r=r=>t.readPreview(e.provider,e.id,h).then(e=>{n||(w(e.messages),o(e),r&&y(!1))});h===void 0&&o({loading:!0,messages:[],unavailable:null,truncated:!1}),r(!0);let i=b?setInterval(()=>void r(!1),8e3):null;return()=>{n=!0,i&&clearInterval(i)}},[t,e.provider,e.id,h,b!==null,w]);let T=Jj(),E=HT(S??{provider:e.provider,providerSessionId:e.id,cwd:null,title:`Chat`,updatedAt:``,source:null,activeElsewhere:null},n.preferences),D=()=>{b?f(!0):A()},[O,k]=(0,_.useState)(!1),A=async n=>{if(S){f(!1),c(!0),u(null);try{let r=await t.takeover(S,n);e.onTakenOver(r.id)}catch(e){u(e instanceof Error?e.message:String(e))}finally{c(!1)}}};return(0,j.jsxs)(`div`,{className:`flex min-w-0 flex-1`,children:[(0,j.jsxs)(`section`,{className:`flex min-w-0 flex-1 flex-col`,"aria-label":E.title,children:[(0,j.jsxs)(`header`,{className:`@container/header flex items-center gap-2 border-b border-border px-5 pt-2.5 pb-2.5`,children:[(0,j.jsx)(yE,{provider:e.provider,size:22}),(0,j.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,j.jsx)(Qj,{entry:E,renaming:p,setRenaming:m}),(0,j.jsxs)(`p`,{className:`flex items-center gap-1.5 truncate text-[12px] leading-4 text-muted-foreground`,children:[(0,j.jsx)(`span`,{children:bT[e.provider]}),S?.cwd?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(`span`,{"aria-hidden":`true`,children:`·`}),(0,j.jsx)(sE,{size:12}),(0,j.jsx)(`span`,{className:`truncate`,title:S.cwd,children:rE(S.cwd)})]}):null,S?(0,j.jsxs)(`span`,{children:[`· last active `,nE(S.updatedAt,i)]}):null]})]}),x.length>0?(0,j.jsxs)(`button`,{type:`button`,className:`cs-chip-button`,onClick:()=>e.setChangesOpen(!e.changesOpen),"aria-pressed":e.changesOpen,title:`Files this chat changed`,children:[(0,j.jsx)(OE,{size:13}),`${x.length} ${x.length===1?`file`:`files`} changed`]}):null,S?.cwd?(0,j.jsxs)(b_,{size:`sm`,variant:b?`outline`:`default`,onClick:D,disabled:s,className:`gap-1.5`,title:b?b.message:void 0,children:[s?(0,j.jsx)(gE,{size:13}):b?(0,j.jsx)(lE,{size:14,className:`text-warning`}):(0,j.jsx)(dE,{size:14}),b?`Take over anyway…`:`Take over`]}):null,S?.cwd&&!b?(0,j.jsx)(b_,{size:`sm`,variant:`outline`,onClick:()=>k(!0),disabled:s,children:`Continue with agent…`}):null,(0,j.jsx)(mj,{transport:t.transport,open:O,onOpenChange:k,title:`Continue with an agent`,action:`Take over with this agent`,onConfirm:e=>A(e)}),S?(0,j.jsx)(Zj,{entry:E,onRename:()=>m(!0)}):null]}),b?(0,j.jsxs)(`div`,{role:`status`,className:`flex items-start gap-2 border-b border-warning/40 bg-warning/10 px-5 py-2.5 text-[13px]`,children:[(0,j.jsx)(lE,{size:15,className:`mt-0.5 shrink-0 text-warning`}),(0,j.jsxs)(`span`,{children:[(0,j.jsx)(`span`,{className:`font-medium`,children:b.message}),` Taking it over now would put two agents on the same chat, and they could overwrite each other's work. Finish or stop it there first if you can. This preview follows it as it runs.`]})]}):null,(0,j.jsx)(ZS,{open:d,onOpenChange:f,children:(0,j.jsxs)(dC,{className:`max-w-[460px]`,children:[(0,j.jsxs)(fC,{children:[(0,j.jsxs)(mC,{children:[`This chat is running right now in `,bT[e.provider]]}),(0,j.jsxs)(hC,{children:[b?.message,` If you take it over, two agents will work in the same conversation at once and may overwrite each other's changes.`]})]}),(0,j.jsxs)(pC,{children:[(0,j.jsx)(b_,{variant:`ghost`,onClick:()=>f(!1),children:`Cancel`}),(0,j.jsx)(b_,{variant:`destructive`,onClick:()=>void A(),children:`Take over anyway`})]})]})}),l?(0,j.jsx)(`p`,{className:`border-b border-destructive/30 bg-destructive/10 px-5 py-2 text-[13px] text-destructive`,children:l}):null,S&&!S.cwd?(0,j.jsx)(`p`,{className:`border-b border-border bg-muted/50 px-5 py-2 text-[13px] text-muted-foreground`,children:`This chat doesn't record which folder it ran in, so it can't be continued from here.`}):null,(0,j.jsxs)(`div`,{className:`mx-chat flex min-h-0 flex-1 flex-col`,children:[a.loading?(0,j.jsxs)(`div`,{className:`flex flex-1 items-center justify-center gap-2 text-[13px] text-muted-foreground`,children:[(0,j.jsx)(gE,{size:15}),` Reading this chat…`]}):a.unavailable?(0,j.jsx)(`div`,{className:`flex flex-1 items-center justify-center px-6 text-center text-[13px] text-muted-foreground`,children:a.unavailable}):(0,j.jsxs)(gi,{thread:C,ports:{notifier:T,toolLabel:MT},children:[a.truncated?(0,j.jsx)($j,{loading:v,onEarlier:()=>{y(!0),g(e=>(e??25165824)*4)}}):null,(0,j.jsx)(Xw,{className:`min-h-0 flex-1`,label:`Chat preview`})]}),S?.cwd?(0,j.jsxs)(`div`,{className:`border-t border-border bg-muted/30 px-5 py-3 text-center text-[13px] text-muted-foreground`,children:[`This chat was started in `,bT[e.provider],`.`,` `,(0,j.jsx)(`button`,{type:`button`,className:`font-medium text-foreground underline-offset-4 hover:underline`,onClick:D,children:`Take it over`}),` `,`to continue it here — it stays in your `,bT[e.provider],` history too.`]}):null]})]}),e.changesOpen&&x.length>0?(0,j.jsx)(UE,{files:x,cwd:S?.cwd??null,truncated:a.truncated,onClose:()=>e.setChangesOpen(!1)}):null]})}function aM(e){let t=e.status.ready;return(0,j.jsxs)(`button`,{type:`button`,onClick:e.onSelect,"aria-pressed":e.selected,className:X(`flex flex-1 flex-col gap-1.5 rounded-xl border px-3.5 py-3 text-left transition-colors`,e.selected?`border-primary bg-primary/5 ring-1 ring-primary`:`border-border hover:bg-accent/50`),children:[(0,j.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,j.jsx)(yE,{provider:e.status.provider,size:18}),(0,j.jsx)(`span`,{className:`text-[13.5px] font-semibold`,children:e.status.label})]}),t?(0,j.jsxs)(`span`,{className:`flex items-center gap-1 text-[12px] text-success`,children:[(0,j.jsx)(cE,{size:13}),e.status.billing===`subscription`?`Signed in${e.status.plan?` · ${e.status.plan} plan`:``}`:`Signed in with an API key (billed per use)`]}):(0,j.jsxs)(`span`,{className:`flex items-start gap-1 text-[12px] leading-4 text-warning`,children:[(0,j.jsx)(lE,{size:13,className:`mt-px shrink-0`}),e.status.problem]}),e.status.quota.filter(e=>e.usedPercent!==null).length>0?(0,j.jsx)(`span`,{className:`text-[11.5px] leading-4 text-muted-foreground`,children:e.status.quota.filter(e=>e.usedPercent!==null).map(e=>`${e.label}: ${e.usedPercent}% used`).join(` · `)}):null]})}function oM({id:e,children:t}){return(0,j.jsxs)(`p`,{id:e,role:`alert`,className:`flex items-start gap-1.5 text-[12.5px] leading-5 text-destructive`,children:[(0,j.jsx)(lE,{size:14,className:`mt-0.5 shrink-0`}),(0,j.jsx)(`span`,{children:t})]})}function sM(e){let t=QT(),n=$T(),r=tE(),[i,a]=(0,_.useState)(`claude`),[o,s]=(0,_.useState)(``),[c,l]=(0,_.useState)({model:null,effort:null}),[u,d]=(0,_.useState)(``),[f,p]=(0,_.useState)({}),[m,h]=(0,_.useState)(null),[g,v]=(0,_.useState)(!1),[y,b]=(0,_.useState)(!1),[x,S]=(0,_.useState)(null),[C,w]=(0,_.useState)(null),[T,E]=(0,_.useState)(null),D=(0,_.useRef)(null),O=(0,_.useRef)(null),k=(0,_.useRef)(null);(0,_.useEffect)(()=>{e.open&&(h(null),p({}),t.refreshProviders(),t.refreshFolders())},[e.open,t]),(0,_.useEffect)(()=>{!o&&n.folders.data[0]?.exists&&s(n.folders.data[0].path)},[n.folders.data,o]),(0,_.useEffect)(()=>{let e=n.providers.data.filter(e=>e.ready),t=n.providers.data.find(e=>e.provider===i);t&&!t.ready&&e[0]&&a(e[0].provider)},[n.providers.loadedAt]);let A=n.providers.data.find(e=>e.provider===i)??null,M=e=>{e===`prompt`?D.current?.focus():e===`folder`?O.current?.focus():e===`agent`&&k.current?.querySelector(`button`)?.focus()},N=async()=>{if(g)return;h(null);let n=await Lj({provider:A,folder:o,prompt:u,checkFolder:e=>t.transport.call(`checkFolder`,e)});p(n);let r=Rj(n);if(r){M(r);return}let a=lj(C,x);if(E(a),a){document.getElementById(`cs-agent-var-${a}`)?.focus();return}v(!0);try{let n=await t.start({provider:i,cwd:o.trim(),prompt:u,model:c.model,effort:c.effort,...x?{agent:x}:{}});d(``),e.onStarted(n.session.id)}catch(e){h(e instanceof Error?e.message:String(e))}finally{v(!1)}},P=async()=>{if(f.createFolder){b(!0);try{let e=await t.transport.call(`createFolder`,f.createFolder);s(e.path),p(e=>{let t={...e};return delete t.folder,delete t.createFolder,t}),t.refreshFolders(),O.current?.focus()}catch(e){p(t=>({...t,folder:`Couldn't create it: ${e instanceof Error?e.message:String(e)}`}))}finally{b(!1)}}},F=e=>p(t=>{if(t[e]===void 0)return t;let n={...t};return delete n[e],e===`folder`&&delete n.createFolder,n});return(0,j.jsx)(ZS,{open:e.open,onOpenChange:e.onOpenChange,children:(0,j.jsxs)(dC,{className:`max-w-[560px]`,children:[(0,j.jsxs)(fC,{children:[(0,j.jsx)(mC,{children:`New coding session`}),(0,j.jsxs)(hC,{children:[`Runs on your own `,i===`claude`?`Claude`:`ChatGPT`,` sign-in, in a folder on this computer.`]})]}),(0,j.jsxs)(`form`,{noValidate:!0,onSubmit:e=>{e.preventDefault(),N()},className:`flex min-h-0 flex-col`,children:[(0,j.jsxs)(`div`,{className:`cs-dialog-body space-y-5 py-1 pr-1`,children:[(0,j.jsxs)(`fieldset`,{className:`space-y-2`,ref:k,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`Agent`}),n.providers.loading&&n.providers.loadedAt===null?(0,j.jsxs)(`div`,{className:`flex gap-2`,children:[(0,j.jsx)(`div`,{className:`cs-skeleton h-[68px] flex-1 rounded-xl`}),(0,j.jsx)(`div`,{className:`cs-skeleton h-[68px] flex-1 rounded-xl`})]}):n.providers.error?(0,j.jsx)(`p`,{className:`text-[12.5px] text-destructive`,children:n.providers.error}):(0,j.jsx)(`div`,{className:`flex gap-2`,children:n.providers.data.map(e=>(0,j.jsx)(aM,{status:e,selected:e.provider===i,onSelect:()=>{e.provider!==i&&l({model:null,effort:null}),a(e.provider),F(`agent`)}},e.provider))}),f.agent?(0,j.jsx)(oM,{id:`cs-err-agent`,children:f.agent}):A&&!A.ready&&A.fix?(0,j.jsxs)(`p`,{className:`text-[12px] leading-4 text-muted-foreground`,children:[A.fix,A.installed&&A.loggedIn?` You can still try — the run will say if it's still blocked.`:``]}):null]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`AI Matrx agent`}),(0,j.jsx)(cj,{transport:t.transport,open:e.open,value:x,onChange:e=>{S(e),E(null)},missing:T,onDetails:w})]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`Folder`}),n.folders.data.length>0?(0,j.jsx)(`div`,{className:`max-h-[132px] space-y-0.5 overflow-y-auto rounded-lg border border-border p-1`,children:n.folders.data.map(e=>(0,j.jsxs)(`button`,{type:`button`,onClick:()=>{s(e.path),F(`folder`)},disabled:!e.exists,title:e.exists?e.path:`${e.path} no longer exists`,className:X(`flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-[12.5px]`,o===e.path?`bg-accent text-accent-foreground`:`hover:bg-accent/50`,!e.exists&&`opacity-50`),children:[(0,j.jsx)(sE,{size:14,className:`shrink-0 text-muted-foreground`}),(0,j.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,children:rE(e.path)}),(0,j.jsx)(`span`,{className:`shrink-0 text-[11px] text-muted-foreground`,children:e.exists?nE(e.lastUsedAt,r):`missing`})]},e.path))}):n.folders.loading?(0,j.jsx)(`div`,{className:`cs-skeleton h-10 rounded-lg`}):null,(0,j.jsx)(gw,{ref:O,value:o,onChange:e=>{s(e.target.value),F(`folder`)},placeholder:`Or type a folder path, like ~/code/my-app`,"aria-label":`Folder path`,"aria-invalid":f.folder?!0:void 0,"aria-describedby":f.folder?`cs-err-folder`:void 0,spellCheck:!1}),f.folder?(0,j.jsxs)(`div`,{className:`flex flex-wrap items-center gap-x-3 gap-y-1`,children:[(0,j.jsx)(oM,{id:`cs-err-folder`,children:f.folder}),f.createFolder?(0,j.jsxs)(b_,{type:`button`,size:`sm`,variant:`outline`,onClick:()=>void P(),disabled:y,className:`gap-1.5`,children:[y?(0,j.jsx)(gE,{size:13}):(0,j.jsx)(sE,{size:13}),`Create this folder`]}):null]}):null]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`What should it do?`}),(0,j.jsx)(Ow,{ref:D,value:u,onChange:e=>{d(e.target.value),F(`prompt`)},onKeyDown:e=>{e.key===`Enter`&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),N())},placeholder:`Describe the change, the bug, or the question…`,rows:4,"aria-label":`First message`,"aria-invalid":f.prompt?!0:void 0,"aria-describedby":f.prompt?`cs-err-prompt`:void 0}),f.prompt?(0,j.jsx)(oM,{id:`cs-err-prompt`,children:f.prompt}):null]}),(0,j.jsxs)(`fieldset`,{className:`space-y-2`,children:[(0,j.jsx)(`legend`,{className:`mb-2 text-[12.5px] font-medium`,children:`Model and thinking effort`}),(0,j.jsx)(KE,{status:A,value:c,onChange:l,appearance:`field`}),(0,j.jsxs)(`p`,{className:`text-[11.5px] leading-4 text-muted-foreground`,children:[`Default is `,WE(A),`. You can change it later from the chat's header.`]})]}),m?(0,j.jsx)(oM,{id:`cs-err-start`,children:m}):null]}),(0,j.jsxs)(pC,{className:`pt-4`,children:[(0,j.jsx)(b_,{type:`button`,variant:`ghost`,onClick:()=>e.onOpenChange(!1),children:`Cancel`}),(0,j.jsxs)(b_,{type:`submit`,disabled:g,className:`gap-1.5`,children:[g?(0,j.jsx)(gE,{size:14}):null,g?`Starting…`:`Start session`,g?null:(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌘↵`})]})]})]})]})})}function cM({onNew:e}){let t=$T();return(0,j.jsx)(`section`,{className:`flex flex-1 items-center justify-center px-6`,children:(0,j.jsxs)(`div`,{className:`w-full max-w-[460px] text-center`,children:[(0,j.jsx)(`span`,{className:`mx-auto mb-4 flex h-11 w-11 items-center justify-center rounded-2xl bg-primary/10 text-primary`,children:(0,j.jsx)(hE,{size:22})}),(0,j.jsx)(`h1`,{className:`text-[15px] font-semibold leading-5 tracking-[-0.01em]`,children:`Drive Claude Code and Codex from here`}),(0,j.jsx)(`p`,{className:`mx-auto mt-2 max-w-[400px] text-[13.5px] leading-6 text-muted-foreground`,children:`Start a session in any folder, or pick up a chat you began somewhere else. Everything runs on your own subscriptions — no API keys.`}),(0,j.jsxs)(b_,{className:`mt-5 gap-1.5`,onClick:e,children:[(0,j.jsx)(aE,{size:15}),`New session`]}),(0,j.jsxs)(`p`,{className:`mt-3 text-[12px] text-muted-foreground`,children:[(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌥⌘N`}),` new session · `,(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌘K`}),` search your chats ·`,` `,(0,j.jsx)(`kbd`,{className:`cs-kbd`,children:`⌘/`}),` all shortcuts`]}),(0,j.jsx)(`div`,{className:`mt-6 flex flex-wrap justify-center gap-2 text-left`,children:t.providers.data.map(e=>(0,j.jsxs)(`div`,{"data-provider-card":e.provider,title:e.installed&&e.version?[eM(e),tM(e)??e.binary?.path].filter(Boolean).join(` · `):void 0,className:`flex w-[260px] items-start gap-2.5 rounded-lg border border-border bg-card px-3 py-2.5`,children:[(0,j.jsx)(yE,{provider:e.provider,size:16}),(0,j.jsxs)(`div`,{className:`min-w-0 flex-1 leading-5`,children:[(0,j.jsx)(`span`,{className:`block truncate text-[14px] font-semibold`,children:e.label}),e.ready?(0,j.jsxs)(`span`,{className:`block truncate text-[12px] text-muted-foreground`,children:[`Ready`,e.plan?` on your ${e.plan} plan`:``,e.billing===`api`?` (API key, billed per use)`:``]}):(0,j.jsxs)(`span`,{className:`block text-[12px] text-muted-foreground`,children:[e.problem,` `,e.fix]})]}),e.ready?(0,j.jsx)(cE,{size:15,className:`mt-0.5 text-success`}):(0,j.jsx)(lE,{size:15,className:`mt-0.5 text-warning`})]},e.provider))})]})})}function lM(){let[e,t]=(0,_.useState)(null),n=(0,_.useRef)(null);(0,_.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[]);let r=(0,_.useCallback)((e,r=null)=>{t({text:e,sessionId:r}),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>t(null),6e3)},[]),i=(0,_.useCallback)(()=>{n.current&&clearTimeout(n.current),t(null)},[]);return{text:e?.text??null,sessionId:e?.sessionId??null,show:r,dismiss:i}}function uM({text:e}){let t=(0,_.useRef)(null);return(0,_.useLayoutEffect)(()=>{let e=t.current,n=e?.parentElement;if(!e||!n)return;let r=n.querySelector(`[data-cs-composer]`),i=r?n.getBoundingClientRect().bottom-r.getBoundingClientRect().top+8:20;e.style.setProperty(`--cs-toast-bottom`,`${Math.max(20,Math.round(i))}px`)},[e]),e?(0,j.jsx)(`div`,{ref:t,role:`status`,"data-cs-toast":!0,className:`cs-toast`,children:e}):null}var dM=300,fM=220,pM=560;function mM(e){return Math.round(Math.min(pM,Math.max(fM,e)))}function hM(){let[e,t]=(0,_.useState)(()=>{try{let e=Number(localStorage.getItem(`coding-sessions.sidebar-width`));return Number.isFinite(e)&&e>0?mM(e):dM}catch{return dM}}),[n,r]=(0,_.useState)(()=>{try{return localStorage.getItem(`coding-sessions.sidebar-collapsed`)===`1`}catch{return!1}});return{width:e,setWidth:(0,_.useCallback)(e=>{let n=mM(e);t(n);try{localStorage.setItem(`coding-sessions.sidebar-width`,String(n))}catch{}},[]),collapsed:n,setCollapsed:(0,_.useCallback)(e=>{r(e);try{localStorage.setItem(`coding-sessions.sidebar-collapsed`,e?`1`:`0`)}catch{}},[])}}function gM(e){let[t,n]=(0,_.useState)(!1);return(0,j.jsx)(`div`,{className:X(`cs-resizer`,t&&`cs-resizer--dragging`),children:(0,j.jsx)(`button`,{type:`button`,className:`cs-resizer__grip`,role:`separator`,"aria-orientation":`vertical`,"aria-label":`Resize the sidebar`,"aria-valuenow":e.width,"aria-valuemin":fM,"aria-valuemax":pM,title:`Drag to resize · double-click to reset`,onDoubleClick:()=>e.setWidth(dM),onKeyDown:t=>{t.key===`ArrowLeft`&&e.setWidth(e.width-16),t.key===`ArrowRight`&&e.setWidth(e.width+16)},onPointerDown:t=>{t.preventDefault();let r=t.clientX,i=e.width;n(!0),document.body.style.cursor=`col-resize`,document.body.style.userSelect=`none`;let a=t=>e.setWidth(i+t.clientX-r),o=()=>{n(!1),document.body.style.cursor=``,document.body.style.userSelect=``,window.removeEventListener(`pointermove`,a),window.removeEventListener(`pointerup`,o)};window.addEventListener(`pointermove`,a),window.addEventListener(`pointerup`,o)}})})}var _M=[{keys:`⌘K`,what:`Search chats`},{keys:`⌥⌘N`,what:`New session`},{keys:`Enter`,what:`Send (Shift+Enter for a new line)`},{keys:`Esc`,what:`Stop the run in the open chat`},{keys:`⌘B`,what:`Show or hide the sidebar`},{keys:`⌥↑ / ⌥↓`,what:`Previous or next chat in the list`},{keys:`⌘/`,what:`These shortcuts`}];function vM(e){return(0,j.jsx)(ZS,{open:e.open,onOpenChange:e.onOpenChange,children:(0,j.jsxs)(dC,{className:`max-w-[420px]`,children:[(0,j.jsxs)(fC,{children:[(0,j.jsx)(mC,{children:`Keyboard shortcuts`}),(0,j.jsx)(hC,{children:`Ctrl works in place of ⌘ on Windows and Linux.`})]}),(0,j.jsx)(`dl`,{className:`divide-y divide-border text-[13px]`,children:_M.map(e=>(0,j.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-2`,children:[(0,j.jsx)(`dt`,{className:`text-muted-foreground`,children:e.what}),(0,j.jsx)(`dd`,{children:(0,j.jsx)(`kbd`,{className:`rounded border border-border px-1.5 py-0.5 font-sans text-[12px]`,children:e.keys})})]},e.keys))})]})})}var yM=`Coding sessions`;function bM(e,t){let{show:n,dismiss:r,sessionId:i}=t,a=$T();(0,_.useEffect)(()=>{if(!i)return;let t=a.runs[i];(e===i||t&&(t.status===`starting`||t.status===`running`))&&r()},[i,e,a.runs,r]);let o=QT(),s=(0,_.useRef)(0),c=(0,_.useRef)(e);c.current=e,(0,_.useEffect)(()=>{let e=()=>{document.visibilityState===`visible`&&(s.current=0,document.title=yM)};document.addEventListener(`visibilitychange`,e);let t=o.onRunFinished(({run:e,session:t})=>{let r=t?.title??`A session`,i=e.status===`completed`?`finished`:e.status===`failed`?`failed`:`was stopped`,a=`${bT[e.provider]} ${i}: ${r}`;if(document.visibilityState===`hidden`){if(s.current+=1,document.title=`(${s.current}) ${yM}`,typeof Notification<`u`&&Notification.permission===`granted`){let t=new Notification(a,e.error?{tag:e.runId,body:OT(e.error)}:{tag:e.runId});t.onclick=()=>{window.focus(),location.hash=`#s/${e.sessionId}`,t.close()}}}else c.current!==e.sessionId&&e.status!==`stopped`&&n(a,e.sessionId)});return()=>{t(),document.removeEventListener(`visibilitychange`,e)}},[o,n])}function xM(){let e=typeof Notification<`u`,[t,n]=(0,_.useState)(e?Notification.permission:`denied`);return!e||t===`granted`?null:(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>void Notification.requestPermission().then(n),"aria-label":t===`denied`?`Notifications are blocked for this page in your browser's site settings`:`Notify me when a run finishes`,title:t===`denied`?`Notifications are blocked in your browser's site settings`:`Notify me when a run finishes`,disabled:t===`denied`,children:(0,j.jsx)(jE,{size:14})})}function SM(e){let t=e;return t?t.isContentEditable||t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.tagName===`SELECT`:!1}function CM(){let e=QT(),t=$T(),[n,r]=(0,_.useState)(Bj),[i,a]=(0,_.useState)(!1),[o,s]=(0,_.useState)(!1),[c,l]=(0,_.useState)(!1),[u,d]=(0,_.useState)({}),[f,p]=Uj(),m=lM(),h=m.show,g=hM(),v=(0,_.useRef)(null),y=(0,_.useCallback)(e=>{r(e),Vj(e)},[]);(0,_.useEffect)(()=>{let e=()=>r(Bj());return window.addEventListener(`hashchange`,e),()=>window.removeEventListener(`hashchange`,e)},[]),bM(n.kind===`session`?n.id:null,m);let b=n.kind===`session`?t.sessions.data.find(e=>e.id===n.id)??null:null,x=n.kind===`discovered`?t.discovered.data.find(e=>e.providerSessionId===n.id)??u[`${n.provider}:${n.id}`]??null:null,S=b?t.runs[b.id]:void 0,C=S!==void 0&&!CT(S.status),w=(0,_.useMemo)(()=>{let e=new Set(t.sessions.data.map(e=>e.providerSessionId).filter(Boolean));return[...t.sessions.data.map(e=>({kind:`session`,id:e.id})),...t.discovered.data.filter(t=>!e.has(t.providerSessionId)).map(e=>({kind:`discovered`,provider:e.provider,id:e.providerSessionId}))]},[t.sessions.data,t.discovered.data]);(0,_.useEffect)(()=>{let t=t=>{let r=t.metaKey||t.ctrlKey,i=t.key.toLowerCase();if(r&&!t.shiftKey&&!t.altKey&&i===`k`){t.preventDefault(),g.setCollapsed(!1),requestAnimationFrame(()=>{v.current?.focus(),v.current?.select()});return}if(r&&t.altKey&&(i===`n`||t.code===`KeyN`)||r&&t.shiftKey&&i===`o`){t.preventDefault(),a(!0);return}if(r&&!t.shiftKey&&!t.altKey&&i===`b`){t.preventDefault(),g.setCollapsed(!g.collapsed);return}if(r&&i===`/`){t.preventDefault(),s(!0);return}if(t.altKey&&!r&&(t.key===`ArrowUp`||t.key===`ArrowDown`)){let e=w.findIndex(e=>(e.kind===`session`&&n.kind===`session`||e.kind===`discovered`&&n.kind===`discovered`)&&e.id===n.id),r=w[t.key===`ArrowUp`?Math.max(0,e-1):Math.min(w.length-1,e+1)];r&&(t.preventDefault(),y(r));return}if(t.key===`Escape`&&C&&S&&!t.defaultPrevented){if(document.querySelector(`[role="dialog"], [role="menu"], [data-radix-popper-content-wrapper]`)||t.target===v.current)return;t.preventDefault(),e.stop(S.runId),h(`Stopping…`);return}t.key===`?`&&!SM(t.target)&&s(!0)};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[e,g,C,S,w,n,y,h]);let T;return T=n.kind===`session`?b?(0,j.jsx)(nM,{session:b,changesOpen:c,setChangesOpen:l},b.id):t.sessions.loadedAt===null?(0,j.jsxs)(`div`,{className:`flex flex-1 items-center justify-center gap-2 text-[13px] text-muted-foreground`,children:[(0,j.jsx)(gE,{size:15}),` Loading…`]}):(0,j.jsx)(`div`,{className:`flex flex-1 items-center justify-center text-[13px] text-muted-foreground`,children:`That session is not in the list anymore.`}):n.kind===`discovered`?(0,j.jsx)(iM,{session:x,provider:n.provider,id:n.id,onTakenOver:e=>y({kind:`session`,id:e}),changesOpen:c,setChangesOpen:l},`${n.provider}:${n.id}`):(0,j.jsx)(cM,{onNew:()=>a(!0)}),(0,j.jsx)(ME.Provider,{value:h,children:(0,j.jsxs)(`div`,{className:`cs-app flex h-full flex-col bg-background text-foreground`,children:[(0,j.jsx)(Kj,{}),(0,j.jsxs)(`div`,{className:`flex min-h-0 flex-1`,children:[g.collapsed?(0,j.jsxs)(`div`,{className:`flex flex-col items-center gap-1 border-r border-border bg-muted/30 px-1.5 py-3`,children:[(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>g.setCollapsed(!1),"aria-label":`Show the sidebar (⌘B)`,title:`Show sidebar ⌘B`,children:(0,j.jsx)(EE,{size:15})}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>a(!0),"aria-label":`New session`,title:`New session ⌥⌘N`,children:(0,j.jsx)(aE,{size:15})})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(Dj,{selection:n,select:y,onNew:()=>a(!0),onCollapse:()=>g.setCollapsed(!0),width:g.width,searchRef:v,onFound:e=>d(t=>({...t,[`${e.provider}:${e.providerSessionId}`]:e})),footer:(0,j.jsx)(qj,{theme:f,setTheme:p,extra:(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(xM,{}),(0,j.jsx)(`button`,{type:`button`,className:`cs-icon-button`,onClick:()=>s(!0),"aria-label":`Keyboard shortcuts (⌘/)`,title:`Keyboard shortcuts ⌘/`,children:(0,j.jsx)(AE,{size:14})})]})})}),(0,j.jsx)(gM,{width:g.width,setWidth:g.setWidth})]}),(0,j.jsxs)(`main`,{className:`relative flex min-w-0 flex-1`,children:[T,(0,j.jsx)(uM,{text:m.text})]})]}),(0,j.jsx)(sM,{open:i,onOpenChange:a,onStarted:e=>{a(!1),y({kind:`session`,id:e})}}),(0,j.jsx)(vM,{open:o,onOpenChange:s})]})})}function wM({transport:e}){return(0,j.jsx)(zj,{transport:e,children:(0,j.jsx)(CM,{})})}var TM=`coding-sessions.token`;function EM(){let e=new URL(location.href),t=e.searchParams.get(`token`);if(t){try{sessionStorage.setItem(TM,t)}catch{}return e.searchParams.delete(`token`),history.replaceState(null,``,`${e.pathname}${e.search}${e.hash}`),t}try{return sessionStorage.getItem(TM)}catch{return null}}var DM=(0,v.createRoot)(document.getElementById(`root`)),OM=EM();if(!OM)DM.render((0,j.jsx)(`div`,{className:`flex h-full items-center justify-center p-8`,children:(0,j.jsxs)(`div`,{className:`max-w-[440px] text-center`,children:[(0,j.jsx)(`h1`,{className:`text-[18px] font-semibold`,children:`This link is missing its access code`}),(0,j.jsx)(`p`,{className:`mt-2 text-[13.5px] leading-6 text-muted-foreground`,children:`Open the coding sessions page from the full link AI Matrx gave you — it ends in a long access code that keeps other websites from reaching your coding agents.`})]})}));else{let e=y({token:OM});DM.render((0,j.jsx)(_.StrictMode,{children:(0,j.jsx)(wM,{transport:e})}))}