dorkos 0.93.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +2614 -836
- package/dist/client/assets/{AboutPage-R35A-Uu-.js → AboutPage-ESdr5ej6.js} +1 -1
- package/dist/client/assets/{AdapterIcon-kPDXiFU1.js → AdapterIcon-C2oG4Wi0.js} +1 -1
- package/dist/client/assets/{AppearancePage-COqDtruX.js → AppearancePage-BkLDttbk.js} +1 -1
- package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-CIKvkn5X.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-DrUBXr8b.js} +1 -1
- package/dist/client/assets/{BlintzCanvas-4FX_eaSh.js → BlintzCanvas-BqJDhl-U.js} +1 -1
- package/dist/client/assets/{CanvasCsvContent-Dq2X1kUl.js → CanvasCsvContent-DAsWhu2A.js} +1 -1
- package/dist/client/assets/{CanvasFileContent-CZUc62IR.js → CanvasFileContent-CFpGh9lB.js} +2 -2
- package/dist/client/assets/{CanvasModel3dContent-D1IN_nl9.js → CanvasModel3dContent-DorTDn1y.js} +2 -2
- package/dist/client/assets/{CodeMirrorDiff-BeEhMSvL.js → CodeMirrorDiff-ChMTPEBY.js} +1 -1
- package/dist/client/assets/{CodeMirrorEditor-BlNLMvbo.js → CodeMirrorEditor-DtYzxmC5.js} +1 -1
- package/dist/client/assets/{ConnectionAccessLists-s7RnRr1y.js → ConnectionAccessLists-DnxFiJIp.js} +1 -1
- package/dist/client/assets/{ConnectionsPage-BTTdQBdS.js → ConnectionsPage-Exq_5IiP.js} +1 -1
- package/dist/client/assets/{ConventionPage-CI3PeUHm.js → ConventionPage-DXnlTX8j.js} +1 -1
- package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-D6OvDT9K.js → FloatingTanStackRouterDevtools-CqogiFob-CEzhHBdz.js} +1 -1
- package/dist/client/assets/HandlePage-C1AzkGxs.js +1 -0
- package/dist/client/assets/{LexicalField-Bqq5KeUW.js → LexicalField-DJfTqKnT.js} +1 -1
- package/dist/client/assets/{ManagesPage-CWdKDvw1.js → ManagesPage-BAYoqzuu.js} +1 -1
- package/dist/client/assets/{Model3dViewer-ClJVGLDb.js → Model3dViewer-DgKQPqJb.js} +1 -1
- package/dist/client/assets/NamePage-BDAAuJFs.js +1 -0
- package/dist/client/assets/{NotificationsPage-C6tE8iuE.js → NotificationsPage-CrGzgL1F.js} +1 -1
- package/dist/client/assets/{PermissionsPage-BqDl7shN.js → PermissionsPage-CRq4hxB-.js} +1 -1
- package/dist/client/assets/{PersonalityPopover-B3q8QYcS.js → PersonalityPopover-CoJNGa7f.js} +1 -1
- package/dist/client/assets/PhotoPage-DFLk5ALL.js +1 -0
- package/dist/client/assets/{RoomsPage-DwYtOhd7.js → RoomsPage-DfJvCi90.js} +1 -1
- package/dist/client/assets/{RunsOnPopover-BDPs-RYB.js → RunsOnPopover-UixmCBm5.js} +1 -1
- package/dist/client/assets/{SessionsPage-Du24E934.js → SessionsPage-D8BzdYL7.js} +1 -1
- package/dist/client/assets/{SkillsPage-DjLUEngt.js → SkillsPage-B6yHwhAp.js} +1 -1
- package/dist/client/assets/{TasksPage-B6i3r76o.js → TasksPage-KFUMW7h0.js} +1 -1
- package/dist/client/assets/{ToolsPage-DNoC2MMz.js → ToolsPage-Dd7DXlpE.js} +1 -1
- package/dist/client/assets/{TopologyGraph-DtBDaHqX.js → TopologyGraph-CJj2myGV.js} +5 -5
- package/dist/client/assets/{agent-browser-da9rKrej.js → agent-browser-C48rts1h.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-DJ5Xz8gv.js → highlighted-body-KPVGNVTW-CvHOdigG.js} +1 -1
- package/dist/client/assets/{index-BzDP7VXZ.js → index-1tkVhrNa.js} +1 -1
- package/dist/client/assets/{index-C9wgMNj5.js → index-3nUBnton.js} +3 -3
- package/dist/client/assets/{index-CtlzkOJ3.js → index-672L_-Ce.js} +1 -1
- package/dist/client/assets/{index-BVpHI-1y.js → index-9lsrtJLf.js} +1 -1
- package/dist/client/assets/{index-BnORUrPC.js → index-B1N7_mWs.js} +1 -1
- package/dist/client/assets/index-B4Z9VBPe.js +1678 -0
- package/dist/client/assets/{index-BC9LsNlJ.js → index-BK5zyBqg.js} +1 -1
- package/dist/client/assets/{index-CObinYlG.js → index-BNO2TT-L.js} +1 -1
- package/dist/client/assets/{index-CotYqF0w.js → index-BSj4LDYi.js} +1 -1
- package/dist/client/assets/{index-D0sn-ct6.js → index-B_0gazbk.js} +1 -1
- package/dist/client/assets/{index-FsBhOkNr.js → index-BgBnbdck.js} +1 -1
- package/dist/client/assets/{index-1o6WO7iZ.js → index-BhxMJfLU.js} +1 -1
- package/dist/client/assets/{index-DdsOOmtz.js → index-BlNzH0bV.js} +1 -1
- package/dist/client/assets/{index-3DE2Q3OD.js → index-BmYSSGWx.js} +1 -1
- package/dist/client/assets/{index-LcH-4hgH.js → index-Brd8Hs2R.js} +1 -1
- package/dist/client/assets/{index-Bp2CiCey.js → index-Bu5-0YcT.js} +1 -1
- package/dist/client/assets/{index-gHd4-GL-.js → index-C0YR9sBs.js} +1 -1
- package/dist/client/assets/{index-CfUAagLY.js → index-CEQe58ON.js} +1 -1
- package/dist/client/assets/{index-Bl2j_xjE.js → index-CEU2IWuT.js} +1 -1
- package/dist/client/assets/{index-Dyeo69l2.js → index-CMKnOlvn.js} +1 -1
- package/dist/client/assets/{index-B5yJddXH.js → index-CMlp38oa.js} +1 -1
- package/dist/client/assets/{index-gIAwAMkn.js → index-CNPnwL--.js} +1 -1
- package/dist/client/assets/{index-Ca5JlBEc.js → index-Clh_1xLD.js} +1 -1
- package/dist/client/assets/{index-DsH33VjO.js → index-CpAbafE9.js} +2 -2
- package/dist/client/assets/{index-DQWAoAN-.js → index-CpFgghxb.js} +1 -1
- package/dist/client/assets/{index-D1kH8Sr2.js → index-Cum2QlPd.js} +2 -2
- package/dist/client/assets/index-D8mgsoST.css +1 -0
- package/dist/client/assets/{index-CJK5Iw50.js → index-DDGf-Mnk.js} +1 -1
- package/dist/client/assets/{index-DJGEk3-H.js → index-DEuOFjz7.js} +1 -1
- package/dist/client/assets/{index-Bu16-jWo.js → index-DSDJttSW.js} +1 -1
- package/dist/client/assets/{index-DwfaFQZo.js → index-DmA6ple3.js} +1 -1
- package/dist/client/assets/{index-CZ0BaV1t.js → index-DrkFww9Q.js} +1 -1
- package/dist/client/assets/{index-CtJTMcuR.js → index-O5pHJ17K.js} +1 -1
- package/dist/client/assets/{index-Cvzimc0W.js → index-PA-V6bdB.js} +1 -1
- package/dist/client/assets/{index-CQXxVt4A.js → index-XMua1laL.js} +1 -1
- package/dist/client/assets/{index-DnN4PJaN.js → index-ZBeb8ExW.js} +1 -1
- package/dist/client/assets/{index-BQ-o6bQ0.js → index-ngTGZK5T.js} +1 -1
- package/dist/client/assets/{room-files-source-DRQNpCWs.js → room-files-source-CWB8LgHN.js} +2 -2
- package/dist/client/assets/{soul-file-DcQD5pcS.js → soul-file-BTDnNMG7.js} +1 -1
- package/dist/client/assets/{use-personality-commit-Dsy9tqWY.js → use-personality-commit-CzT0Fy-T.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/drizzle/0136_mirror_timeline_order.sql +23 -0
- package/dist/drizzle/meta/0136_snapshot.json +10232 -0
- package/dist/drizzle/meta/_journal.json +8 -1
- package/dist/server/index.js +2375 -986
- package/dist/server/index.js.map +2 -2
- package/package.json +6 -6
- package/dist/client/assets/HandlePage-Dvqztr0N.js +0 -1
- package/dist/client/assets/NamePage-BgVZ-KD1.js +0 -1
- package/dist/client/assets/PhotoPage-lt6ZevHW.js +0 -1
- package/dist/client/assets/index-BCGiD7pg.js +0 -1674
- package/dist/client/assets/index-BG-HtbEP.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/arduino-BI0Wlt2c.js","assets/cpp-C11qDRMm.js","assets/c-XQKAasRE.js","assets/clike-BF_vhPOR.js","assets/csharp-BSdrTNSA.js","assets/go-xWYv4r-F.js","assets/java-CUQYWvAL.js","assets/javascript-CEvf9hWA.js","assets/kotlin-DlLEZihb.js","assets/less-DRLW25Ni.js","assets/css-B-uKvPiS.js","assets/markdown-DidFTSvt.js","assets/markup-BHKKUsMC.js","assets/markup-templating-C-XwH7hP.js","assets/objectivec-C86xFqEx.js","assets/php-D30FZ8S0.js","assets/ruby-Bwg0ofHw.js","assets/sass-B4vMtMwp.js","assets/scss-B7E2Cygf.js","assets/typescript-DsefBs7O.js","assets/vbnet-DfXcBIcZ.js","assets/basic-Dv_zySWb.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var yr=Object.defineProperty;var wr=(e,n,t)=>n in e?yr(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Z=(e,n,t)=>wr(e,typeof n!="symbol"?n+"":n,t);import{dP as xr,ap as J,j as O,gP as _t,gQ as br,r as Te}from"./index-
|
|
2
|
+
var yr=Object.defineProperty;var wr=(e,n,t)=>n in e?yr(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Z=(e,n,t)=>wr(e,typeof n!="symbol"?n+"":n,t);import{dP as xr,ap as J,j as O,gP as _t,gQ as br,r as Te}from"./index-B4Z9VBPe.js";var Pn={exports:{}};/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as t,j as e,J as l,K as i,B as r}from"./index-
|
|
1
|
+
import{G as t,j as e,J as l,K as i,B as r}from"./index-B4Z9VBPe.js";import{T as x,L as p,N as u}from"./index-B4Z9VBPe.js";function d(){const{pendingOffer:s,pendingOfferId:a,acceptOffer:n,declineOffer:o}=t();return!s||a===null||!s.offerLine?null:e.jsxs(l.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},role:"group","aria-label":"DorkBot suggestion",className:"bg-secondary/60 mt-1.5 flex flex-col gap-2 rounded-lg border p-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsxs("span",{className:"mt-0.5 shrink-0",children:[e.jsx(i,{size:18,className:"dark:hidden"}),e.jsx(i,{variant:"white",size:18,className:"hidden dark:block"})]}),e.jsx("p",{className:"text-sm leading-relaxed",children:s.offerLine})]}),e.jsxs("div",{className:"flex items-center gap-2 pl-6",children:[e.jsx(r,{size:"sm",onClick:()=>n(a),children:"Show me"}),e.jsx(r,{size:"sm",variant:"ghost",onClick:()=>o(a),children:"Later"})]})]})}export{x as TOUR_DEFINITIONS,p as TourHost,d as TourOfferChips,u as useTourOccasions,t as useTours};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,L as i,i as n,c as $,f as y,l as P,s as X,t as O}from"./index-C9wgMNj5.js";import{defineCSSCompletionSource as m}from"./index-BzDP7VXZ.js";import{L as c,E as S}from"./index-DdsOOmtz.js";import"./index-BCGiD7pg.js";const f=110,l=1,s=2,r=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(s,1)}}),d=new S(T=>{if(r.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(f)}}),Z=new S(T=>{if(r.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=X({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQW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%W$PR%{%WQ!o`Q#c!UT$T!o#cQ%[$UR&O%[QiOR#ZwVfOhwUSOhwQ!wmQ#RrQ#SsQ#TuQ$k#^Q$}#rR%a$YR$l#^R$n#`Q!d[S#Uv$gQ#[yQ#f!XQ#u!bQ#|!gQ$U!qQ$]!{d$c#U#`$d$e$m$u%g%m%t&TQ$o#bQ$y#oQ%P#wQ%Q#yS%Y$U%[Q%d$_Q%e$bQ%q$rR%}%ZQzSQ!pbQ!|nQ%b$YR&Q%aQ#YvR%h$gR#g!XQ!_ZQ#e!WQ$x#mR&V%sW![Z!W#m%sQ!m_Q#j!ZQ#t!`Q$w#lR${#pVcOhwSgOwR!sh",nodeNames:"⚠ Unit ( Comment LineComment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression",maxTerm:133,nodeProps:[["isolate",-3,3,4,30,""],["openedBy",17,"(",59,"{"],["closedBy",26,")",60,"}"]],propSources:[w],skippedNodes:[0,3,4],repeatNodeCount:10,tokenData:"!2q~R!ZOX$tX^%l^p$tpq%lqr)Ors-xst/ltu6Zuv$tvw8^wx:Uxy;syz<Uz{<Z{|<t|}BQ}!OBc!O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+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=m(T=>T.name=="VariableName"||T.name=="AtKeyword");function G(){return new t(o,o.data.of({autocomplete:u}))}export{G as less,u as lessCompletionSource,o as lessLanguage};
|
|
1
|
+
import{a as t,L as i,i as n,c as $,f as y,l as P,s as X,t as O}from"./index-3nUBnton.js";import{defineCSSCompletionSource as m}from"./index-1tkVhrNa.js";import{L as c,E as S}from"./index-BlNzH0bV.js";import"./index-B4Z9VBPe.js";const f=110,l=1,s=2,r=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(s,1)}}),d=new S(T=>{if(r.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(f)}}),Z=new S(T=>{if(r.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=X({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserial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o#w#y$U$_$b$d$e$g$m$r$u%Z%[%g%m%t&TT%V$P%WY#l![!m#j#t${s#w!d#U#[#f#u#|$U$]$c$o$y%Q%Y%d%e%q%}![!f[vy!X!b!g!q!{#U#`#b#o#w#y$U$_$b$d$e$g$m$r$u%Z%[%g%m%t&TQ!i]R$O!jQ!QUQ#PpR%_$WQ!SVR#QqZuS!w$k$}%aQxSS!znzQ#s!_Q$R!mQ$V!qS$^!|#[Q%c$]Q%z%VR&R%dc!^Z_!W!Z!`#l#m#p%sR#i!ZZ#n![!m#j#t${R!j]R!l^R$Q!lU`OhwQ!UWR$S!nVeOhwR$Z!qR$Y!qShOwR!thQnSS!yn%kR%k$kQ$d#UQ$m#`Y%f$d$m%g%t&TQ%g$eQ%t$uR&T%mQ%n$mR&U%nQ$h#YR%i$hQ$s#fR%r$sQ#q![R$|#qQ%W$PR%{%WQ!o`Q#c!UT$T!o#cQ%[$UR&O%[QiOR#ZwVfOhwUSOhwQ!wmQ#RrQ#SsQ#TuQ$k#^Q$}#rR%a$YR$l#^R$n#`Q!d[S#Uv$gQ#[yQ#f!XQ#u!bQ#|!gQ$U!qQ$]!{d$c#U#`$d$e$m$u%g%m%t&TQ$o#bQ$y#oQ%P#wQ%Q#yS%Y$U%[Q%d$_Q%e$bQ%q$rR%}%ZQzSQ!pbQ!|nQ%b$YR&Q%aQ#YvR%h$gR#g!XQ!_ZQ#e!WQ$x#mR&V%sW![Z!W#m%sQ!m_Q#j!ZQ#t!`Q$w#lR${#pVcOhwSgOwR!sh",nodeNames:"⚠ Unit ( Comment LineComment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName ) ArgList , PseudoClassName ArgList VariableName AtKeyword PropertyVariable ValueName ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral Escape Interpolation BinaryExpression BinOp LogicOp UnaryExpression UnaryQueryOp CallExpression ] SubscriptExpression [ CallLiteral CallTag ParenthesizedContent IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp InterpolatedSelector ; when } { Block ImportStatement import KeywordQuery FeatureQuery FeatureName BinaryQuery UnaryQuery ParenthesizedQuery SelectorQuery selector CallQuery ArgList SubscriptQuery MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports DetachedRuleSet PropertyName Declaration Important Inclusion IdSelector ClassSelector Inclusion CallExpression",maxTerm:133,nodeProps:[["isolate",-3,3,4,30,""],["openedBy",17,"(",59,"{"],["closedBy",26,")",60,"}"]],propSources:[w],skippedNodes:[0,3,4],repeatNodeCount:10,tokenData:"!2q~R!ZOX$tX^%l^p$tpq%lqr)Ors-xst/ltu6Zuv$tvw8^wx:Uxy;syz<Uz{<Z{|<t|}BQ}!OBc!O!PDo!P!QFY!Q![Jw![!]Kr!]!^Ln!^!_MP!_!`M{!`!aNl!a!b$t!b!c! m!c!}!&R!}#O!'y#O#P$t#P#Q!([#Q#R!(m#R#T$t#T#o!&R#o#p!)S#p#q!(m#q#r!)e#r#s!)v#s#y$t#y#z%l#z$f$t$f$g%l$g#BY$t#BY#BZ%l#BZ$IS$t$IS$I_%l$I_$I|$t$I|$JO%l$JO$JT$t$JT$JU%l$JU$KV$t$KV$KW%l$KW&FU$t&FU&FV%l&FV;'S$t;'S;=`!2k<%lO$t`$wSOy%Tz;'S%T;'S;=`%f<%lO%T`%YS|`Oy%Tz;'S%T;'S;=`%f<%lO%T`%iP;=`<%l%T~%qh#d~OX%TX^']^p%Tpq']qy%Tz#y%T#y#z']#z$f%T$f$g']$g#BY%T#BY#BZ']#BZ$IS%T$IS$I_']$I_$I|%T$I|$JO']$JO$JT%T$JT$JU']$JU$KV%T$KV$KW']$KW&FU%T&FU&FV']&FV;'S%T;'S;=`%f<%lO%T~'dh#d~|`OX%TX^']^p%Tpq']qy%Tz#y%T#y#z']#z$f%T$f$g']$g#BY%T#BY#BZ']#BZ$I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[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=m(T=>T.name=="VariableName"||T.name=="AtKeyword");function G(){return new t(o,o.data.of({autocomplete:u}))}export{G as less,u as lessCompletionSource,o as lessLanguage};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{dT as de,dU as x,cS as ue,dV as V,aG as Q,aj as me,ai as he,r as d,dh as fe,j as s,dW as ge,dX as ye,dY as Oe,dZ as xe,d_ as q,d$ as ve,B as O,ao as _e,e0 as Ee,aF as be,al as Re,e1 as Te,e2 as pe,e3 as we,e4 as Ne,e5 as L,e6 as X,e7 as Ce}from"./index-
|
|
1
|
+
import{dT as de,dU as x,cS as ue,dV as V,aG as Q,aj as me,ai as he,r as d,dh as fe,j as s,dW as ge,dX as ye,dY as Oe,dZ as xe,d_ as q,d$ as ve,B as O,ao as _e,e0 as Ee,aF as be,al as Re,e1 as Te,e2 as pe,e3 as we,e4 as Ne,e5 as L,e6 as X,e7 as Ce}from"./index-B4Z9VBPe.js";/**
|
|
2
2
|
* @license lucide-react v1.47.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const W={name:"share-2",size:24,node:[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]};W.node;const Se=de(W),Fe=["CONFLICT","COPY_INTO_SELF","DIR_NOT_EMPTY","NOT_FOUND","REFUSE_ROOT","OUTSIDE_BOUNDARY"];function De(e){const t=x(e);return t!==void 0&&Fe.includes(t)?t:void 0}const Ae="Can’t copy a folder into itself",D="ROOM_REPO_CONFIG_UNSAFE",M="This room’s git settings could make git run a program, so DorkOS has stopped working on its files until they are removed. DorkOS’s log names each setting and how to remove it.",Ie={CONFLICT:"That name already exists",COPY_INTO_SELF:Ae,DIR_NOT_EMPTY:"This folder isn’t empty",NOT_FOUND:"That item no longer exists",REFUSE_ROOT:"Can’t modify the working directory root",OUTSIDE_BOUNDARY:"That path is outside the working directory"};function et(e,t){const o=De(e);ue.error(o?Ie[o]:t)}const Le=new Map([["ROOM_UPLOAD_TOO_MANY_FILES",`One upload can carry up to ${V} files, so nothing was uploaded. Try again with fewer.`],["FILE_TOO_LARGE","A file is bigger than this room allows, so nothing was changed."],["REPO_CAP_EXCEEDED","This room’s files are already as large as they are allowed to get, so nothing was changed. Delete something first."],["MAIN_CHECKOUT_DIRTY","Somebody changed this room’s files outside DorkOS, so changes are paused until that is sorted out. The warning above the files says how."],["MERGE_IN_FLIGHT","Somebody else is changing this room’s files right now, so nothing was changed. Try again in a moment."],["PEOPLE_ONLY","Only a person can change a room’s files this way. An agent brings its work in by merging."],["ROOM_FILE_PATH_INVALID","That name can’t be used in a room’s files, so nothing was changed."],["ROOM_FILE_NOT_READABLE","That isn’t something that can be changed here."],["ROOM_FILE_NOT_FOUND","That isn’t in the room’s files any more, so nothing was changed. The list has been refreshed."],["ATTACHMENT_NOT_FOUND","That file isn’t in this room’s chat any more."],["ROOM_HAS_NO_REPO","This room doesn’t have files of its own any more."],["ROOM_REPOS_DISABLED","Rooms can’t have files of their own on this install right now, so nothing was changed."],["ROOM_REPO_GIT_UNAVAILABLE","This computer doesn’t have git installed, and a room’s files are a git repository."],["ROOM_NOT_FOUND","This room isn’t there any more."],["ROOM_ARCHIVED","This room is archived, so its files can’t be changed."],[D,M]]),Me=new Set(["FILE_TOO_LARGE","ROOM_FILE_PATH_INVALID","ROOM_FILE_NOT_READABLE",D]);function ke(e){return e.replace(/`([^`]*)`/g,"“$1”").trim()}function je(e){const t=x(e);if(t===void 0)return;const o=Le.get(t);if(o!==void 0)return k(e)??o}function k(e){const t=x(e);if(!(t===void 0||!Me.has(t))&&!(!(e instanceof Error)||e.message.trim()===""))return ke(e.message)}function tt(e){return`There’s already something called “${e}” there, so nothing was changed. Pick another name.`}function st(e){if(x(e)!==D)return;const t=e.body,o=typeof(t==null?void 0:t.command)=="string"&&t.command!==""?t.command:null;return{message:k(e)??M,command:o}}const Pe="—";function Ue(e){if(e==null)return{label:Pe,title:null};const t=Q(e.at);return{label:`${e.author} · ${t}`,title:`${e.subject} · ${e.author}, ${t}`}}function ze(e){return/\.(md|markdown|mdx)$/i.test(e)}function Be(e){return e<1024?`${e} bytes`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function $e(e,t){return e.editable&&e.save!==void 0&&t!==void 0&&t.body.kind==="text"}function nt({source:e,path:t,isNew:o=!1,onCreated:a,onClose:c}){const r=e.read,i=me(),n=["file-explorer","preview",e.scopeKey,t],m=he({queryKey:n,queryFn:()=>r(t),enabled:t!==null&&r!==void 0&&!o}),h=o&&t!==null?{path:t,size:0,commit:null,lastCommit:null,body:{kind:"text",text:""}}:m.data,[v,j]=d.useState(!1),[P,U]=d.useState(null),A=e.showToEveryone,Z=d.useCallback(async l=>{if(A!==void 0){j(!0),U(null);try{await A(l),c()}catch(u){U(u instanceof Error&&u.message.trim().length>0?u.message:"DorkOS couldn’t reach the server. Check your connection and try again.")}finally{j(!1)}}},[A,c]),[g,w]=d.useState(o),[b,R]=d.useState(""),[z,N]=d.useState({text:"",commit:null}),[_,y]=d.useState(null),[I,f]=d.useState(null),[B,T]=d.useState(!1),[ee,C]=d.useState(!1),$=d.useRef(null),K=d.useRef(null),H=d.useRef(!1),E=g&&b!==z.text,te=E||g&&o,Y=ee&&E,S=d.useCallback(()=>{w(!1),R(""),N({text:"",commit:null}),y(null),f(null),T(!1),C(!1)},[]),[se,ne]=d.useState(t);se!==t&&(ne(t),(g||b!==""||_!==null||I!==null||B)&&S(),o&&w(!0));const p=fe({mutationFn:l=>e.save({path:t,baseCommit:l.baseCommit,text:l.text}),onSuccess:(l,u)=>{if(l.status==="saved"){N({text:u.text,commit:l.commit}),y(null),f(null),T(!0),o&&(a==null||a()),i.invalidateQueries({queryKey:n}),i.invalidateQueries({queryKey:["file-explorer","tree",e.scopeKey]});return}if(T(!1),l.status==="conflict"){y(ce=>({commit:l.commit,lastCommit:l.lastCommit,again:ce!==null})),f(null);return}y(null),f(l.reason)},onError:()=>{T(!1),y(null),f("That didn’t save. Try again in a moment.")}}),G=$e(e,h),oe=()=>{h===void 0||h.body.kind!=="text"||(R(h.body.text),N({text:h.body.text,commit:h.commit??null}),y(null),f(null),T(!1),w(!0))},ie=()=>{if(o){S(),c();return}w(!1),R(""),y(null),f(null),C(!1)},ae=async()=>{const l=await m.refetch();if(l.isError||l.data===void 0){f("Their version couldn’t be fetched just now, so nothing here changed.");return}const u=l.data;if(u.body.kind!=="text"){f(u.body.kind==="not-readable"?`${u.body.reason} What you typed is still here. Save it over their change, or close this and copy it out first.`:"Their version isn’t something that can be shown here, so nothing here changed.");return}R(u.body.text),N({text:u.body.text,commit:u.commit??null}),y(null),f(null)},re=()=>{_!==null&&p.mutate({text:b,baseCommit:_.commit})},le=()=>{if(E){C(!0);return}S(),c()};return d.useEffect(()=>{var l,u;g?(l=$.current)==null||l.focus():H.current&&((u=K.current)==null||u.focus()),H.current=g},[g]),s.jsx(ge,{open:t!==null,onOpenChange:l=>!l&&le(),children:s.jsxs(ye,{className:"max-h-[80vh] sm:max-w-2xl",children:[s.jsxs(Oe,{children:[s.jsx(xe,{className:"truncate font-mono text-sm",children:t===null?"":q(t)}),s.jsx(ve,{className:"truncate text-xs",children:o&&t!==null?`${t} · New file`:He(h,t)})]}),!g&&(e.showToEveryone!==void 0||G)&&s.jsxs("div",{className:"flex justify-end gap-1 px-4",children:[e.showToEveryone!==void 0&&t!==null&&s.jsxs(O,{type:"button",variant:"ghost",size:"sm",disabled:v,className:"text-muted-foreground hover:text-foreground gap-1.5",onClick:()=>void Z(t),children:[s.jsx(Se,{className:"size-(--size-icon-xs)"}),v?"Putting it there…":"Put on the canvas"]}),G&&s.jsxs(O,{ref:K,type:"button",variant:"ghost",size:"sm",className:"text-muted-foreground hover:text-foreground gap-1.5",onClick:oe,children:[s.jsx(_e,{className:"size-(--size-icon-xs)"}),"Edit"]})]}),P!==null&&s.jsx("p",{role:"status",className:"text-destructive px-4 pb-1 text-xs",children:P}),_!==null&&s.jsx(Ke,{conflict:_,onTakeTheirs:()=>void ae(),onKeepMine:re,busy:p.isPending||m.isFetching}),I!==null&&s.jsx("p",{role:"alert",className:"bg-destructive/10 text-destructive mx-4 rounded-md px-3 py-2 text-sm",children:I}),s.jsx(Ee,{className:"min-h-0 flex-1 overflow-auto",children:m.isPending&&!o?s.jsx("div",{className:"flex h-32 items-center justify-center",children:s.jsx(be,{size:"md",className:"text-muted-foreground",label:"Loading the file"})}):m.isError&&!o||h===void 0?s.jsx(F,{children:"This file couldn’t be read."}):g?s.jsx("textarea",{ref:$,"aria-label":`${t===null?"File":q(t)} contents`,value:b,onChange:l=>R(l.target.value),spellCheck:!1,autoComplete:"off",className:Re("text-foreground/90 border-border/60 bg-background field-sizing-content","focus-visible:border-ring focus-visible:ring-ring/50 min-h-64 w-full","resize-none rounded-md border px-3 py-2 font-mono text-xs","whitespace-pre-wrap focus-visible:ring-[3px] focus-visible:outline-none")}):s.jsx(Ye,{file:h})}),g&&s.jsxs(Te,{className:"items-center gap-2 sm:justify-between",children:[s.jsx("span",{className:"text-muted-foreground text-xs","aria-live":"polite",children:p.isPending?"Saving…":Y?"You haven’t saved your changes.":B&&!E?"Saved":E?"Not saved yet":""}),s.jsx("span",{className:"flex gap-2",children:Y?s.jsxs(s.Fragment,{children:[s.jsx(O,{type:"button",variant:"ghost",size:"sm",onClick:()=>C(!1),children:"Keep editing"}),s.jsx(O,{type:"button",variant:"destructive",size:"sm",onClick:()=>{S(),c()},children:"Discard changes"})]}):s.jsxs(s.Fragment,{children:[s.jsx(O,{type:"button",variant:"ghost",size:"sm",onClick:ie,children:E?"Discard":o?"Cancel":"Done"}),s.jsx(O,{type:"button",size:"sm",disabled:!te||p.isPending||_!==null,onClick:()=>p.mutate({text:b,baseCommit:z.commit}),children:"Save"})]})})]})]})})}function Ke({conflict:e,onTakeTheirs:t,onKeepMine:o,busy:a}){const c=e.lastCommit,r=c===null?"Somebody":c.author;return s.jsxs("div",{role:"alert",className:"border-border/60 bg-muted/40 mx-4 space-y-2 rounded-md border px-3 py-2 text-sm",children:[s.jsx("p",{children:e.again?`${r} changed this file again while you were deciding, so it still isn’t saved.`:`${r} changed this file while you were editing it, so nothing was saved.`}),c!==null&&s.jsxs("p",{className:"text-muted-foreground text-xs",children:[c.subject," · ",Q(c.at)]}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[s.jsx(O,{type:"button",variant:"outline",size:"sm",disabled:a,onClick:t,children:"Open their version"}),s.jsx(O,{type:"button",variant:"destructive",size:"sm",disabled:a,onClick:o,children:"Save mine over it"})]}),s.jsx("p",{className:"text-muted-foreground text-xs",children:"Opening theirs replaces what you typed here."})]})}function He(e,t){if(t===null)return"";const o=e===void 0?null:Ue(e.lastCommit);return o===null?t:`${t} · ${o.label}`}function Ye({file:e}){switch(e.body.kind){case"text":return ze(e.path)?s.jsx(we,{content:e.body.text,className:"text-sm",errorFallback:"This file couldn’t be displayed."}):s.jsx("pre",{className:"text-foreground/90 overflow-x-auto font-mono text-xs whitespace-pre",children:e.body.text});case"binary":return s.jsx(F,{children:"This isn’t a text file, so it can’t be shown or edited here."});case"too-large":return s.jsxs(F,{children:["This file is larger than ",Be(e.body.maxBytes),", so it isn’t shown here."]});case"not-readable":return s.jsx(F,{children:e.body.reason})}}function F({children:e}){return s.jsxs("div",{className:"text-muted-foreground flex h-32 flex-col items-center justify-center gap-2 px-6 text-center text-sm",children:[s.jsx(pe,{className:"size-(--size-icon-md) opacity-60"}),s.jsx("span",{children:e})]})}const Ge=new Map([["REQUEST_TOO_LARGE","That is too much text to send in one go, so nothing was saved. A room’s files are for documents people read. Anything this big belongs in the room’s attachments."],["FILE_TOO_LARGE","This file would be bigger than this room allows, so nothing was saved."],["REPO_CAP_EXCEEDED","This room’s files are already as large as they are allowed to get, so nothing was saved."],["MAIN_CHECKOUT_DIRTY","Somebody changed this room’s files outside DorkOS, so saving is paused until that is sorted out. The warning above the files says how."],["MERGE_IN_FLIGHT","Somebody else is writing to this room’s files right now. Nothing was saved. Try again in a moment."],["PEOPLE_ONLY","Only a person can save a room’s files this way. An agent brings its work in by merging."],["ROOM_FILE_NOT_TEXT","This file has something in it that is not text, so it cannot be saved from here."],["ROOM_FILE_PATH_INVALID","That file name could mean somewhere else, so nothing was saved."],["ROOM_FILE_NOT_FOUND","This file is not in the room’s files any more, so there was nothing to save over."],["ROOM_FILE_NOT_READABLE","This is not a file that can be edited here."],["ROOM_HAS_NO_REPO","This room does not have files of its own any more."],["ROOM_REPOS_DISABLED","Rooms cannot have files of their own on this install right now, so nothing was saved."],["ROOM_REPO_GIT_UNAVAILABLE","This computer doesn’t have git installed, and a room’s files are a git repository."],["ROOM_NOT_FOUND","This room is not there any more."],["ROOM_ARCHIVED","This room is archived, so its files cannot be changed."],[D,M]]);function qe(e){return e===void 0?void 0:Ge.get(e)}function J(e){if(typeof e!="object"||e===null)return null;const t=Ne.safeParse(e.body);return t.success?t.data.conflict:null}const Ve=15e3;function Qe(e,t,o){const a=JSON.stringify(L.entries(t));let c=0,r=null;const i=e.getQueryCache().subscribe(n=>{if(n.type!=="updated"||JSON.stringify(n.query.queryKey)!==a||r!==null)return;const m=Math.max(0,Ve-(Date.now()-c));r=setTimeout(()=>{r=null,c=Date.now(),o()},m)});return()=>{r!==null&&clearTimeout(r),i()}}function Xe(e){return{name:e.name,path:e.path,type:e.kind==="dir"?"dir":"file",size:e.size,isSymlink:e.kind==="symlink",lastCommit:e.lastCommit}}const We=new Map([["ROOM_FILE_NOT_READABLE","This isn’t a file that can be shown here."],["ROOM_FILE_NOT_FOUND","This file isn’t in the room’s files any more."]]);function ot(e){const{transport:t,queryClient:o,roomId:a,canChange:c=!0}=e,r=async i=>{try{return{status:"changed",commit:(await i()).commit}}catch(n){return Je(n,o,a)}};return{scopeKey:`room:${a}`,cwd:null,writable:c,provenance:!0,filtersHidden:!1,preview:"inline",async showToEveryone(i){await t.openRoomCanvasDocument(a,{type:"file",sourcePath:i})},editable:c,changes:c?{maxUploadFiles:V,upload:i=>r(()=>t.uploadRoomFiles(a,{dir:i.dir,baseCommit:i.baseCommit,replace:i.replace,files:i.files})),move:i=>r(()=>t.moveRoomFile(a,i)),remove:i=>r(()=>t.deleteRoomFile(a,i))}:void 0,async list(i){try{const n=await t.readRoomFiles(a,i===""?void 0:i);return{entries:n.entries.map(Xe),commit:n.commit}}catch(n){if(x(n)!==Ce)throw n;return{entries:[],absent:!0}}},async read(i){try{const n=await t.readRoomFileContent(a,i);return{path:n.path,size:n.size,lastCommit:n.lastCommit,commit:n.commit,body:n.body.kind==="text"?{kind:"text",text:n.body.text}:n.body.kind==="binary"?{kind:"binary"}:{kind:"too-large",maxBytes:n.body.maxBytes}}}catch(n){const m=We.get(x(n)??"");if(m===void 0)throw n;return{path:i,size:0,lastCommit:null,commit:null,body:{kind:"not-readable",reason:m}}}},async save(i){try{const n=await t.saveRoomFile(a,{path:i.path,baseCommit:i.baseCommit,text:i.text});return{status:"saved",commit:n.commit,lastCommit:n.lastCommit,committed:n.committed}}catch(n){const m=x(n);if(m===X){const v=J(n);return v!==null?{status:"conflict",commit:v.commit,lastCommit:v.lastCommit}:{status:"refused",reason:"Somebody changed this file while you were editing it, so nothing was saved. Close this and open it again to see their version."}}m==="MAIN_CHECKOUT_DIRTY"&&o.invalidateQueries({queryKey:L.repoStatus(a)});const h=k(n)??qe(m);if(h===void 0)throw n;return{status:"refused",reason:h}}},events(i){return Qe(o,a,i)}}}function Je(e,t,o){const a=x(e);if(a===X){const r=J(e);return r!==null?{status:"conflict",path:r.path,commit:r.commit,lastCommit:r.lastCommit}:{status:"refused",reason:"Somebody changed these files after you opened them, so nothing was changed. Look at the new version, then try again."}}if(a==="ROOM_FILE_EXISTS"){const r=e instanceof Error?e.message.replace(/`([^`]*)`/g,"“$1”"):"";return{status:"exists",reason:r.trim()!==""?r:"Something with that name is already there."}}a==="MAIN_CHECKOUT_DIRTY"&&t.invalidateQueries({queryKey:L.repoStatus(o)});const c=je(e);if(c===void 0)throw e;return{status:"refused",reason:c}}export{Ae as C,nt as F,Pe as N,Ve as R,st as a,Je as b,ot as c,De as g,tt as n,Ue as p,je as r,et as t,Qe as w};
|
|
6
|
+
*/const W={name:"share-2",size:24,node:[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]};W.node;const Se=de(W),Fe=["CONFLICT","COPY_INTO_SELF","DIR_NOT_EMPTY","NOT_FOUND","REFUSE_ROOT","OUTSIDE_BOUNDARY"];function De(e){const t=x(e);return t!==void 0&&Fe.includes(t)?t:void 0}const Ae="Can’t copy a folder into itself",D="ROOM_REPO_CONFIG_UNSAFE",M="This room’s git settings could make git run a program, so DorkOS has stopped working on its files until they are removed. DorkOS’s log names each setting and how to remove it.",Ie={CONFLICT:"That name already exists",COPY_INTO_SELF:Ae,DIR_NOT_EMPTY:"This folder isn’t empty",NOT_FOUND:"That item no longer exists",REFUSE_ROOT:"Can’t modify the working directory root",OUTSIDE_BOUNDARY:"That path is outside the working directory"};function et(e,t){const o=De(e);ue.error(o?Ie[o]:t)}const Le=new Map([["ROOM_UPLOAD_TOO_MANY_FILES",`One upload can carry up to ${V} files, so nothing was uploaded. Try again with fewer.`],["FILE_TOO_LARGE","A file is bigger than this room allows, so nothing was changed."],["REPO_CAP_EXCEEDED","This room’s files are already as large as they are allowed to get, so nothing was changed. Delete something first."],["MAIN_CHECKOUT_DIRTY","Somebody changed this room’s files outside DorkOS, so changes are paused until that is sorted out. The warning above the files says how."],["MERGE_IN_FLIGHT","Somebody else is changing this room’s files right now, so nothing was changed. Try again in a moment."],["PEOPLE_ONLY","Only a person can change a room’s files this way. An agent brings its work in by merging."],["ROOM_FILE_PATH_INVALID","That name can’t be used in a room’s files, so nothing was changed."],["ROOM_FILE_NOT_READABLE","That isn’t something that can be changed here."],["ROOM_FILE_NOT_FOUND","That isn’t in the room’s files any more, so nothing was changed. The list has been refreshed."],["ATTACHMENT_NOT_FOUND","That file isn’t in this room’s chat any more."],["ROOM_HAS_NO_REPO","This room doesn’t have files of its own any more."],["ROOM_REPOS_DISABLED","Rooms can’t have files of their own on this install right now, so nothing was changed."],["ROOM_REPO_GIT_UNAVAILABLE","This computer doesn’t have git installed, and a room’s files are a git repository."],["ROOM_NOT_FOUND","This room isn’t there any more."],["ROOM_ARCHIVED","This room is archived, so its files can’t be changed."],[D,M]]),Me=new Set(["FILE_TOO_LARGE","ROOM_FILE_PATH_INVALID","ROOM_FILE_NOT_READABLE",D]);function ke(e){return e.replace(/`([^`]*)`/g,"“$1”").trim()}function je(e){const t=x(e);if(t===void 0)return;const o=Le.get(t);if(o!==void 0)return k(e)??o}function k(e){const t=x(e);if(!(t===void 0||!Me.has(t))&&!(!(e instanceof Error)||e.message.trim()===""))return ke(e.message)}function tt(e){return`There’s already something called “${e}” there, so nothing was changed. Pick another name.`}function st(e){if(x(e)!==D)return;const t=e.body,o=typeof(t==null?void 0:t.command)=="string"&&t.command!==""?t.command:null;return{message:k(e)??M,command:o}}const Pe="—";function Ue(e){if(e==null)return{label:Pe,title:null};const t=Q(e.at);return{label:`${e.author} · ${t}`,title:`${e.subject} · ${e.author}, ${t}`}}function ze(e){return/\.(md|markdown|mdx)$/i.test(e)}function Be(e){return e<1024?`${e} bytes`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function $e(e,t){return e.editable&&e.save!==void 0&&t!==void 0&&t.body.kind==="text"}function nt({source:e,path:t,isNew:o=!1,onCreated:a,onClose:c}){const r=e.read,i=me(),n=["file-explorer","preview",e.scopeKey,t],m=he({queryKey:n,queryFn:()=>r(t),enabled:t!==null&&r!==void 0&&!o}),h=o&&t!==null?{path:t,size:0,commit:null,lastCommit:null,body:{kind:"text",text:""}}:m.data,[v,j]=d.useState(!1),[P,U]=d.useState(null),A=e.showToEveryone,Z=d.useCallback(async l=>{if(A!==void 0){j(!0),U(null);try{await A(l),c()}catch(u){U(u instanceof Error&&u.message.trim().length>0?u.message:"DorkOS couldn’t reach the server. Check your connection and try again.")}finally{j(!1)}}},[A,c]),[g,w]=d.useState(o),[b,R]=d.useState(""),[z,N]=d.useState({text:"",commit:null}),[_,y]=d.useState(null),[I,f]=d.useState(null),[B,T]=d.useState(!1),[ee,C]=d.useState(!1),$=d.useRef(null),K=d.useRef(null),H=d.useRef(!1),E=g&&b!==z.text,te=E||g&&o,Y=ee&&E,S=d.useCallback(()=>{w(!1),R(""),N({text:"",commit:null}),y(null),f(null),T(!1),C(!1)},[]),[se,ne]=d.useState(t);se!==t&&(ne(t),(g||b!==""||_!==null||I!==null||B)&&S(),o&&w(!0));const p=fe({mutationFn:l=>e.save({path:t,baseCommit:l.baseCommit,text:l.text}),onSuccess:(l,u)=>{if(l.status==="saved"){N({text:u.text,commit:l.commit}),y(null),f(null),T(!0),o&&(a==null||a()),i.invalidateQueries({queryKey:n}),i.invalidateQueries({queryKey:["file-explorer","tree",e.scopeKey]});return}if(T(!1),l.status==="conflict"){y(ce=>({commit:l.commit,lastCommit:l.lastCommit,again:ce!==null})),f(null);return}y(null),f(l.reason)},onError:()=>{T(!1),y(null),f("That didn’t save. Try again in a moment.")}}),G=$e(e,h),oe=()=>{h===void 0||h.body.kind!=="text"||(R(h.body.text),N({text:h.body.text,commit:h.commit??null}),y(null),f(null),T(!1),w(!0))},ie=()=>{if(o){S(),c();return}w(!1),R(""),y(null),f(null),C(!1)},ae=async()=>{const l=await m.refetch();if(l.isError||l.data===void 0){f("Their version couldn’t be fetched just now, so nothing here changed.");return}const u=l.data;if(u.body.kind!=="text"){f(u.body.kind==="not-readable"?`${u.body.reason} What you typed is still here. Save it over their change, or close this and copy it out first.`:"Their version isn’t something that can be shown here, so nothing here changed.");return}R(u.body.text),N({text:u.body.text,commit:u.commit??null}),y(null),f(null)},re=()=>{_!==null&&p.mutate({text:b,baseCommit:_.commit})},le=()=>{if(E){C(!0);return}S(),c()};return d.useEffect(()=>{var l,u;g?(l=$.current)==null||l.focus():H.current&&((u=K.current)==null||u.focus()),H.current=g},[g]),s.jsx(ge,{open:t!==null,onOpenChange:l=>!l&&le(),children:s.jsxs(ye,{className:"max-h-[80vh] sm:max-w-2xl",children:[s.jsxs(Oe,{children:[s.jsx(xe,{className:"truncate font-mono text-sm",children:t===null?"":q(t)}),s.jsx(ve,{className:"truncate text-xs",children:o&&t!==null?`${t} · New file`:He(h,t)})]}),!g&&(e.showToEveryone!==void 0||G)&&s.jsxs("div",{className:"flex justify-end gap-1 px-4",children:[e.showToEveryone!==void 0&&t!==null&&s.jsxs(O,{type:"button",variant:"ghost",size:"sm",disabled:v,className:"text-muted-foreground hover:text-foreground gap-1.5",onClick:()=>void Z(t),children:[s.jsx(Se,{className:"size-(--size-icon-xs)"}),v?"Putting it there…":"Put on the canvas"]}),G&&s.jsxs(O,{ref:K,type:"button",variant:"ghost",size:"sm",className:"text-muted-foreground hover:text-foreground gap-1.5",onClick:oe,children:[s.jsx(_e,{className:"size-(--size-icon-xs)"}),"Edit"]})]}),P!==null&&s.jsx("p",{role:"status",className:"text-destructive px-4 pb-1 text-xs",children:P}),_!==null&&s.jsx(Ke,{conflict:_,onTakeTheirs:()=>void ae(),onKeepMine:re,busy:p.isPending||m.isFetching}),I!==null&&s.jsx("p",{role:"alert",className:"bg-destructive/10 text-destructive mx-4 rounded-md px-3 py-2 text-sm",children:I}),s.jsx(Ee,{className:"min-h-0 flex-1 overflow-auto",children:m.isPending&&!o?s.jsx("div",{className:"flex h-32 items-center justify-center",children:s.jsx(be,{size:"md",className:"text-muted-foreground",label:"Loading the file"})}):m.isError&&!o||h===void 0?s.jsx(F,{children:"This file couldn’t be read."}):g?s.jsx("textarea",{ref:$,"aria-label":`${t===null?"File":q(t)} contents`,value:b,onChange:l=>R(l.target.value),spellCheck:!1,autoComplete:"off",className:Re("text-foreground/90 border-border/60 bg-background field-sizing-content","focus-visible:border-ring focus-visible:ring-ring min-h-64 w-full","resize-none rounded-md border px-3 py-2 font-mono text-xs","whitespace-pre-wrap focus-visible:ring-[3px] focus-visible:outline-none")}):s.jsx(Ye,{file:h})}),g&&s.jsxs(Te,{className:"items-center gap-2 sm:justify-between",children:[s.jsx("span",{className:"text-muted-foreground text-xs","aria-live":"polite",children:p.isPending?"Saving…":Y?"You haven’t saved your changes.":B&&!E?"Saved":E?"Not saved yet":""}),s.jsx("span",{className:"flex gap-2",children:Y?s.jsxs(s.Fragment,{children:[s.jsx(O,{type:"button",variant:"ghost",size:"sm",onClick:()=>C(!1),children:"Keep editing"}),s.jsx(O,{type:"button",variant:"destructive",size:"sm",onClick:()=>{S(),c()},children:"Discard changes"})]}):s.jsxs(s.Fragment,{children:[s.jsx(O,{type:"button",variant:"ghost",size:"sm",onClick:ie,children:E?"Discard":o?"Cancel":"Done"}),s.jsx(O,{type:"button",size:"sm",disabled:!te||p.isPending||_!==null,onClick:()=>p.mutate({text:b,baseCommit:z.commit}),children:"Save"})]})})]})]})})}function Ke({conflict:e,onTakeTheirs:t,onKeepMine:o,busy:a}){const c=e.lastCommit,r=c===null?"Somebody":c.author;return s.jsxs("div",{role:"alert",className:"border-border/60 bg-muted/40 mx-4 space-y-2 rounded-md border px-3 py-2 text-sm",children:[s.jsx("p",{children:e.again?`${r} changed this file again while you were deciding, so it still isn’t saved.`:`${r} changed this file while you were editing it, so nothing was saved.`}),c!==null&&s.jsxs("p",{className:"text-muted-foreground text-xs",children:[c.subject," · ",Q(c.at)]}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[s.jsx(O,{type:"button",variant:"outline",size:"sm",disabled:a,onClick:t,children:"Open their version"}),s.jsx(O,{type:"button",variant:"destructive",size:"sm",disabled:a,onClick:o,children:"Save mine over it"})]}),s.jsx("p",{className:"text-muted-foreground text-xs",children:"Opening theirs replaces what you typed here."})]})}function He(e,t){if(t===null)return"";const o=e===void 0?null:Ue(e.lastCommit);return o===null?t:`${t} · ${o.label}`}function Ye({file:e}){switch(e.body.kind){case"text":return ze(e.path)?s.jsx(we,{content:e.body.text,className:"text-sm",errorFallback:"This file couldn’t be displayed."}):s.jsx("pre",{className:"text-foreground/90 overflow-x-auto font-mono text-xs whitespace-pre",children:e.body.text});case"binary":return s.jsx(F,{children:"This isn’t a text file, so it can’t be shown or edited here."});case"too-large":return s.jsxs(F,{children:["This file is larger than ",Be(e.body.maxBytes),", so it isn’t shown here."]});case"not-readable":return s.jsx(F,{children:e.body.reason})}}function F({children:e}){return s.jsxs("div",{className:"text-muted-foreground flex h-32 flex-col items-center justify-center gap-2 px-6 text-center text-sm",children:[s.jsx(pe,{className:"size-(--size-icon-md) opacity-60"}),s.jsx("span",{children:e})]})}const Ge=new Map([["REQUEST_TOO_LARGE","That is too much text to send in one go, so nothing was saved. A room’s files are for documents people read. Anything this big belongs in the room’s attachments."],["FILE_TOO_LARGE","This file would be bigger than this room allows, so nothing was saved."],["REPO_CAP_EXCEEDED","This room’s files are already as large as they are allowed to get, so nothing was saved."],["MAIN_CHECKOUT_DIRTY","Somebody changed this room’s files outside DorkOS, so saving is paused until that is sorted out. The warning above the files says how."],["MERGE_IN_FLIGHT","Somebody else is writing to this room’s files right now. Nothing was saved. Try again in a moment."],["PEOPLE_ONLY","Only a person can save a room’s files this way. An agent brings its work in by merging."],["ROOM_FILE_NOT_TEXT","This file has something in it that is not text, so it cannot be saved from here."],["ROOM_FILE_PATH_INVALID","That file name could mean somewhere else, so nothing was saved."],["ROOM_FILE_NOT_FOUND","This file is not in the room’s files any more, so there was nothing to save over."],["ROOM_FILE_NOT_READABLE","This is not a file that can be edited here."],["ROOM_HAS_NO_REPO","This room does not have files of its own any more."],["ROOM_REPOS_DISABLED","Rooms cannot have files of their own on this install right now, so nothing was saved."],["ROOM_REPO_GIT_UNAVAILABLE","This computer doesn’t have git installed, and a room’s files are a git repository."],["ROOM_NOT_FOUND","This room is not there any more."],["ROOM_ARCHIVED","This room is archived, so its files cannot be changed."],[D,M]]);function qe(e){return e===void 0?void 0:Ge.get(e)}function J(e){if(typeof e!="object"||e===null)return null;const t=Ne.safeParse(e.body);return t.success?t.data.conflict:null}const Ve=15e3;function Qe(e,t,o){const a=JSON.stringify(L.entries(t));let c=0,r=null;const i=e.getQueryCache().subscribe(n=>{if(n.type!=="updated"||JSON.stringify(n.query.queryKey)!==a||r!==null)return;const m=Math.max(0,Ve-(Date.now()-c));r=setTimeout(()=>{r=null,c=Date.now(),o()},m)});return()=>{r!==null&&clearTimeout(r),i()}}function Xe(e){return{name:e.name,path:e.path,type:e.kind==="dir"?"dir":"file",size:e.size,isSymlink:e.kind==="symlink",lastCommit:e.lastCommit}}const We=new Map([["ROOM_FILE_NOT_READABLE","This isn’t a file that can be shown here."],["ROOM_FILE_NOT_FOUND","This file isn’t in the room’s files any more."]]);function ot(e){const{transport:t,queryClient:o,roomId:a,canChange:c=!0}=e,r=async i=>{try{return{status:"changed",commit:(await i()).commit}}catch(n){return Je(n,o,a)}};return{scopeKey:`room:${a}`,cwd:null,writable:c,provenance:!0,filtersHidden:!1,preview:"inline",async showToEveryone(i){await t.openRoomCanvasDocument(a,{type:"file",sourcePath:i})},editable:c,changes:c?{maxUploadFiles:V,upload:i=>r(()=>t.uploadRoomFiles(a,{dir:i.dir,baseCommit:i.baseCommit,replace:i.replace,files:i.files})),move:i=>r(()=>t.moveRoomFile(a,i)),remove:i=>r(()=>t.deleteRoomFile(a,i))}:void 0,async list(i){try{const n=await t.readRoomFiles(a,i===""?void 0:i);return{entries:n.entries.map(Xe),commit:n.commit}}catch(n){if(x(n)!==Ce)throw n;return{entries:[],absent:!0}}},async read(i){try{const n=await t.readRoomFileContent(a,i);return{path:n.path,size:n.size,lastCommit:n.lastCommit,commit:n.commit,body:n.body.kind==="text"?{kind:"text",text:n.body.text}:n.body.kind==="binary"?{kind:"binary"}:{kind:"too-large",maxBytes:n.body.maxBytes}}}catch(n){const m=We.get(x(n)??"");if(m===void 0)throw n;return{path:i,size:0,lastCommit:null,commit:null,body:{kind:"not-readable",reason:m}}}},async save(i){try{const n=await t.saveRoomFile(a,{path:i.path,baseCommit:i.baseCommit,text:i.text});return{status:"saved",commit:n.commit,lastCommit:n.lastCommit,committed:n.committed}}catch(n){const m=x(n);if(m===X){const v=J(n);return v!==null?{status:"conflict",commit:v.commit,lastCommit:v.lastCommit}:{status:"refused",reason:"Somebody changed this file while you were editing it, so nothing was saved. Close this and open it again to see their version."}}m==="MAIN_CHECKOUT_DIRTY"&&o.invalidateQueries({queryKey:L.repoStatus(a)});const h=k(n)??qe(m);if(h===void 0)throw n;return{status:"refused",reason:h}}},events(i){return Qe(o,a,i)}}}function Je(e,t,o){const a=x(e);if(a===X){const r=J(e);return r!==null?{status:"conflict",path:r.path,commit:r.commit,lastCommit:r.lastCommit}:{status:"refused",reason:"Somebody changed these files after you opened them, so nothing was changed. Look at the new version, then try again."}}if(a==="ROOM_FILE_EXISTS"){const r=e instanceof Error?e.message.replace(/`([^`]*)`/g,"“$1”"):"";return{status:"exists",reason:r.trim()!==""?r:"Something with that name is already there."}}a==="MAIN_CHECKOUT_DIRTY"&&t.invalidateQueries({queryKey:L.repoStatus(o)});const c=je(e);if(c===void 0)throw e;return{status:"refused",reason:c}}export{Ae as C,nt as F,Pe as N,Ve as R,st as a,Je as b,ot as c,De as g,tt as n,Ue as p,je as r,et as t,Qe as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e,F as n}from"./index-
|
|
1
|
+
import{A as e,F as n}from"./index-B4Z9VBPe.js";function s(t,o){return n(o,t)}function u(t,o){return{traits:o,soulContent:s(o,e(t.soulContent??""))}}export{u as p,s};
|
package/dist/client/assets/{use-personality-commit-Dsy9tqWY.js → use-personality-commit-CzT0Fy-T.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as d,r as t}from"./index-
|
|
1
|
+
import{D as d,r as t}from"./index-B4Z9VBPe.js";import{p as E}from"./soul-file-BTDnNMG7.js";const C=400;function A(u,s){const f=(u==null?void 0:u.traits)??d,[a,c]=t.useState(null),r=t.useRef(null),n=t.useRef(null),o=t.useRef({agent:u,update:s});t.useEffect(()=>{o.current={agent:u,update:s}});const m=(u==null?void 0:u.id)??null;t.useEffect(()=>{r.current!==null&&(clearTimeout(r.current),r.current=null),n.current=null,c(null)},[m]);const l=t.useCallback(()=>{r.current!==null&&(clearTimeout(r.current),r.current=null);const e=n.current;if(n.current=null,e===null)return;const{agent:i,update:p}=o.current;i!==null&&p(E(i,e))},[]);t.useEffect(()=>()=>l(),[l]);const T=t.useCallback(e=>{c(e),n.current=e,r.current!==null&&clearTimeout(r.current),r.current=setTimeout(l,C)},[l]);return{traits:a??f,onTraitsChange:T}}export{A as u};
|
package/dist/client/index.html
CHANGED
|
@@ -524,8 +524,8 @@
|
|
|
524
524
|
}
|
|
525
525
|
})();
|
|
526
526
|
</script>
|
|
527
|
-
<script type="module" crossorigin src="/assets/index-
|
|
528
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
527
|
+
<script type="module" crossorigin src="/assets/index-B4Z9VBPe.js"></script>
|
|
528
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D8mgsoST.css">
|
|
529
529
|
</head>
|
|
530
530
|
<body>
|
|
531
531
|
<div id="root"></div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
ALTER TABLE `room_entries` ADD `timeline_band` integer;--> statement-breakpoint
|
|
2
|
+
ALTER TABLE `room_entries` ADD `timeline_pos` integer;--> statement-breakpoint
|
|
3
|
+
-- Place every row of a mirrored room in its timeline (DOR-2573): what was written here follows
|
|
4
|
+
-- remote history in seq order, and an imported Community entry sits at its Community sequence.
|
|
5
|
+
UPDATE `room_entries` SET `timeline_band` = 1, `timeline_pos` = `seq`
|
|
6
|
+
WHERE `room_id` IN (SELECT `local_room_id` FROM `community_room_mirrors`);--> statement-breakpoint
|
|
7
|
+
UPDATE `room_entries` SET `timeline_band` = 0, `timeline_pos` = (
|
|
8
|
+
SELECT `remote_seq` FROM `community_mirror_entries` WHERE `local_entry_id` = `room_entries`.`id`
|
|
9
|
+
)
|
|
10
|
+
WHERE `room_id` IN (SELECT `local_room_id` FROM `community_room_mirrors`)
|
|
11
|
+
AND EXISTS (SELECT 1 FROM `community_mirror_entries` WHERE `local_entry_id` = `room_entries`.`id`);--> statement-breakpoint
|
|
12
|
+
CREATE INDEX `idx_room_entries_mirror_timeline` ON `room_entries` (`room_id`,`timeline_band`,`timeline_pos`) WHERE "timeline_band" IS NOT NULL;--> statement-breakpoint
|
|
13
|
+
ALTER TABLE `community_mirror_entries` ADD `remote_parent_entry_id` text;--> statement-breakpoint
|
|
14
|
+
ALTER TABLE `community_mirror_entries` ADD `remote_thread_root_entry_id` text;--> statement-breakpoint
|
|
15
|
+
-- The Community relation each cached entry was sent with, so the import can link replies that
|
|
16
|
+
-- arrived before their parent without reading the room. Rows cached before entry_json existed
|
|
17
|
+
-- have none, exactly as the old full-room repair skipped them.
|
|
18
|
+
UPDATE `community_mirror_entries` SET
|
|
19
|
+
`remote_parent_entry_id` = json_extract(`entry_json`, '$.parentEntryId'),
|
|
20
|
+
`remote_thread_root_entry_id` = json_extract(`entry_json`, '$.threadRootEntryId')
|
|
21
|
+
WHERE `entry_json` IS NOT NULL;--> statement-breakpoint
|
|
22
|
+
CREATE INDEX `idx_community_mirror_entries_remote_parent` ON `community_mirror_entries` (`local_room_id`,`remote_parent_entry_id`) WHERE "remote_parent_entry_id" IS NOT NULL;--> statement-breakpoint
|
|
23
|
+
CREATE INDEX `idx_community_mirror_entries_remote_thread_root` ON `community_mirror_entries` (`local_room_id`,`remote_thread_root_entry_id`) WHERE "remote_thread_root_entry_id" IS NOT NULL;
|