@fabiofiorita/porcelain 0.76.0 → 0.78.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/README.md +1 -1
- package/package.json +1 -1
- package/server/src/cli/main.mjs +8291 -7641
- package/web/dist/assets/_-CSJHpFdT.js +1 -0
- package/web/dist/assets/_layerId-DODyO-4v.js +1 -0
- package/web/dist/assets/_paired-BQ0y29Xb.js +1 -0
- package/web/dist/assets/_paired-Bse7nsmg.js +1 -0
- package/web/dist/assets/_paired-CmZDjtRz.js +1 -0
- package/web/dist/assets/_paired-CrNFab02.js +1 -0
- package/web/dist/assets/_reviewId-CBVBAvNp.js +1 -0
- package/web/dist/assets/{_revision-1wivYK0j.js → _revision-BMXAJq_Z.js} +1 -1
- package/web/dist/assets/{_section-BQ20AKhJ.js → _section-DdvA8EEA.js} +1 -1
- package/web/dist/assets/_worktreeId-B27bXYEK.js +1 -0
- package/web/dist/assets/_worktreeId-Bse7nsmg.js +1 -0
- package/web/dist/assets/_worktreeId-C8Q6GcvL.js +1 -0
- package/web/dist/assets/_worktreeId-CmZDjtRz.js +1 -0
- package/web/dist/assets/access-E2mYEqnl.js +19 -0
- package/web/dist/assets/connected-workspace-8ch85vkt.js +1 -0
- package/web/dist/assets/desktop-actions-BPv0J8RL.js +1 -0
- package/web/dist/assets/{edit-file-rWLFkawP.js → edit-file-Bcu9LCmp.js} +20 -20
- package/web/dist/assets/{file-editor-CmaAI7mD.js → file-editor-B_jE48tv.js} +11 -11
- package/web/dist/assets/index-BHlOFndd.js +10 -0
- package/web/dist/assets/index-Bg-CecA5.css +2 -0
- package/web/dist/assets/{lazyRouteComponent-DF1peoaD.js → lazyRouteComponent-C0NLdQ95.js} +1 -1
- package/web/dist/assets/pair-Bse7nsmg.js +1 -0
- package/web/dist/assets/pair-CbpILDh2.js +1 -0
- package/web/dist/assets/review-route-CZyVDwAY.js +1 -0
- package/web/dist/assets/reviews-DCiXZMLG.js +1404 -0
- package/web/dist/assets/useMatch-CPSFM0JI.js +1 -0
- package/web/dist/assets/useRouterState-DtsAJKLm.js +1 -0
- package/web/dist/assets/workspace-error-DIuDMViV.js +1 -0
- package/web/dist/assets/{workspace-pending-DnmDeSe-.js → workspace-pending-DgQgV-cu.js} +1 -1
- package/web/dist/index.html +8 -8
- package/web/dist/assets/_-mTAQQLxa.js +0 -1
- package/web/dist/assets/_layerId-D-Ld4zoA.js +0 -1
- package/web/dist/assets/_paired-DQq2L_lM.js +0 -1
- package/web/dist/assets/_paired-DwQfzpPo.js +0 -1
- package/web/dist/assets/_paired-P-FUnX-y.js +0 -1
- package/web/dist/assets/_paired-VrOGlA1G.js +0 -1
- package/web/dist/assets/_reviewId-CR5Y2cjT.js +0 -1
- package/web/dist/assets/_worktreeId-BPp_s24t.js +0 -1
- package/web/dist/assets/_worktreeId-DQq2L_lM.js +0 -1
- package/web/dist/assets/_worktreeId-Dfp8EiPX.js +0 -1
- package/web/dist/assets/_worktreeId-P-FUnX-y.js +0 -1
- package/web/dist/assets/access-CPhumIOz.js +0 -19
- package/web/dist/assets/connected-workspace-Cqk_MV5h.js +0 -1
- package/web/dist/assets/desktop-actions-DEpOe60L.js +0 -1
- package/web/dist/assets/index-DbOyN2aI.js +0 -10
- package/web/dist/assets/index-Dz_rBtGK.css +0 -2
- package/web/dist/assets/pair-CwRRIQuD.js +0 -1
- package/web/dist/assets/pair-DQq2L_lM.js +0 -1
- package/web/dist/assets/review-route-CilLpBvt.js +0 -1
- package/web/dist/assets/reviews-Knu80SJM.js +0 -1396
- package/web/dist/assets/useMatch-CmjLPEeI.js +0 -1
- package/web/dist/assets/useRouterState-CFV0Nv_N.js +0 -1
- package/web/dist/assets/workspace-error-B0KK7kzA.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{$c as t,Bc as n,Sc as r,bc as i,nl as a}from"./access-E2mYEqnl.js";var o=e(a(),1),s=o.createContext(void 0),c=o.createContext(void 0),l={};function u(e,n){let r=o.useRef();return i=>{let a=e?.select?e.select(i):i;return e?.structuralSharing??n.options.defaultStructuralSharing?r.current=t(r.current,a):a}}function d(e){let t=r(),a=o.useContext(e.from?c:s),d=e.from??a,f=t.stores.getMatchStore(d),p=u(e,t),m=i(f,e=>e?p(e):l);if(m!==l)return m;(e.shouldThrow??!0)&&n()}export{u as n,s as r,d as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Sc as e,bc as t}from"./access-E2mYEqnl.js";import{n}from"./useMatch-CPSFM0JI.js";function r(r){let i=e({warn:r?.router===void 0}),a=r?.router||i;return t(a.stores.__store,n(r,a))}export{r as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as e,No as t,Sc as n,Tc as r,pc as i}from"./access-E2mYEqnl.js";var a=i(),o=r();function s(r){let i=(0,a.c)(5),{reset:s}=r,c=n(),l;i[0]!==s||i[1]!==c?(l=()=>{s(),c.invalidate()},i[0]=s,i[1]=c,i[2]=l):l=i[2];let u=l;t(u);let d;return i[3]===u?d=i[4]:(d=(0,o.jsx)(e,{title:`Could not display the workspace`,description:`Porcelain will retry when the connection returns or this window becomes active again.`,onRetry:u}),i[3]=u,i[4]=d),d}export{s as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Tc as e,U as t,W as n,gn as r,pc as i}from"./access-E2mYEqnl.js";var a=i(),o=e();function s(){let e=(0,a.c)(3),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,o.jsxs)(`div`,{className:`hidden w-66 shrink-0 flex-col gap-6 rounded-xl bg-sidebar p-4 md:flex`,children:[(0,o.jsx)(`span`,{className:`font-medium`,children:`Porcelain`}),[`first`,`second`,`third`].map(c)]}),e[0]=i):i=e[0];let s;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,o.jsx)(`div`,{className:`flex h-12 items-center border-b px-4`,children:(0,o.jsx)(n,{className:`h-7 w-16`})}),e[1]=s):s=e[1];let l;return e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,o.jsxs)(`div`,{role:`status`,"aria-label":`Loading environment`,className:`flex min-h-svh w-full gap-2 bg-muted p-2`,children:[i,(0,o.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col rounded-paper border bg-background`,children:[s,(0,o.jsxs)(`p`,{className:`flex items-center gap-2 px-6 pt-4 text-ui text-muted-foreground`,children:[(0,o.jsx)(r,{className:`size-3.5`}),` Loading environment…`]}),(0,o.jsx)(t,{label:`Loading workspace`,caption:!1})]})]}),e[2]=l):l=e[2],l}function c(e){return(0,o.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,o.jsx)(n,{className:`h-5 w-32`}),(0,o.jsx)(n,{className:`ml-4 h-4 w-4/5`}),(0,o.jsx)(n,{className:`ml-4 h-4 w-2/3`})]},e)}export{s as t};
|
package/web/dist/index.html
CHANGED
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
|
|
15
15
|
<meta name="theme-color" content="#171717" media="(prefers-color-scheme: dark)" />
|
|
16
16
|
<title>Porcelain</title>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-BHlOFndd.js"></script>
|
|
18
18
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
19
|
-
<link rel="modulepreload" crossorigin href="/assets/access-
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/assets/access-E2mYEqnl.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/assets/root-DLTE-HSj.js">
|
|
21
|
-
<link rel="modulepreload" crossorigin href="/assets/useMatch-
|
|
22
|
-
<link rel="modulepreload" crossorigin href="/assets/lazyRouteComponent-
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/assets/useMatch-CPSFM0JI.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/assets/lazyRouteComponent-C0NLdQ95.js">
|
|
23
23
|
<link rel="modulepreload" crossorigin href="/assets/unwrapDefault-ByDmBtHB.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="/assets/preload-helper-Czpn1I53.js">
|
|
25
25
|
<link rel="modulepreload" crossorigin href="/assets/lib-B-glQwO_.js">
|
|
26
26
|
<link rel="modulepreload" crossorigin href="/assets/hastToHtml-DaAciyEx.js">
|
|
27
27
|
<link rel="modulepreload" crossorigin href="/assets/constants-CmGPilXJ.js">
|
|
28
28
|
<link rel="modulepreload" crossorigin href="/assets/formatCSSVariablePrefix-KRh9vnZf.js">
|
|
29
|
-
<link rel="modulepreload" crossorigin href="/assets/edit-file-
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/edit-file-Bcu9LCmp.js">
|
|
30
30
|
<link rel="modulepreload" crossorigin href="/assets/resolveLanguages-D3x2m7LM.js">
|
|
31
|
-
<link rel="modulepreload" crossorigin href="/assets/reviews-
|
|
32
|
-
<link rel="modulepreload" crossorigin href="/assets/workspace-pending-
|
|
33
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/assets/reviews-DCiXZMLG.js">
|
|
32
|
+
<link rel="modulepreload" crossorigin href="/assets/workspace-pending-DgQgV-cu.js">
|
|
33
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Bg-CecA5.css">
|
|
34
34
|
</head>
|
|
35
35
|
<body>
|
|
36
36
|
<div id="root"></div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sc as e,uc as t}from"./access-CPhumIOz.js";import{t as n}from"./connected-workspace-Cqk_MV5h.js";var r=t(),i=e(),a=()=>{let e=(0,r.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,i.jsx)(n,{notice:`not-found`}),e[0]=t):t=e[0],t};export{a as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sc as e,uc as t}from"./access-CPhumIOz.js";import{t as n}from"./index-DbOyN2aI.js";import{t as r}from"./review-route-CilLpBvt.js";var i=t(),a=e();function o(){let e=(0,i.c)(7),t=n.useParams(),o,s;e[0]===t?(o=e[1],s=e[2]):({layerId:o,...s}=t,e[0]=t,e[1]=o,e[2]=s);let c=n.useSearch(),l;return e[3]!==o||e[4]!==s||e[5]!==c?(l=(0,a.jsx)(r,{...s,...c,decision:o}),e[3]=o,e[4]=s,e[5]=c,e[6]=l):l=e[6],l}export{o as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./workspace-error-B0KK7kzA.js";var t=e;export{t as errorComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ki as e,Sc as t,Yi as n,hc as r,uc as i,wn as a}from"./access-CPhumIOz.js";import{t as o}from"./useRouterState-CFV0Nv_N.js";import{k as s}from"./reviews-Knu80SJM.js";import"./edit-file-rWLFkawP.js";import{t as c}from"./connected-workspace-Cqk_MV5h.js";import{s as l}from"./index-DbOyN2aI.js";var u=i(),d=t();function f(){let t=(0,u.c)(18),i=l.useSearch(),f,m;t[0]===i?(f=t[1],m=t[2]):({worktree:m,...f}=i,t[0]=i,t[1]=f,t[2]=m);let h;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(h={select:p},t[3]=h):h=t[3];let g=o(h),{connection:_}=a(),v=s(_),y;t[4]!==v||t[5]!==m?(y=m===void 0?n(v,e(v)?.id):n(v,m),t[4]=v,t[5]=m,t[6]=y):y=t[6];let b=y;if(b&&g){let e;t[7]!==b.projectId||t[8]!==b.worktree.id?(e={projectId:b.projectId,worktreeId:b.worktree.id},t[7]=b.projectId,t[8]=b.worktree.id,t[9]=e):e=t[9];let n;t[10]!==f||t[11]!==m?(n=m===void 0?{}:f,t[10]=f,t[11]=m,t[12]=n):n=t[12];let i;return t[13]!==e||t[14]!==n?(i=(0,d.jsx)(r,{to:`/$projectId/$worktreeId`,params:e,search:n,replace:!0}),t[13]=e,t[14]=n,t[15]=i):i=t[15],i}let x=m!==void 0&&g?`missing-worktree`:void 0,S;return t[16]===x?S=t[17]:(S=(0,d.jsx)(c,{notice:x}),t[16]=x,t[17]=S),S}function p(e){return e.status===`idle`&&e.location.pathname===`/`}export{f as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./workspace-error-B0KK7kzA.js";var t=e;export{t as errorComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{$c as t,Sc as n,Tn as r,hc as i,uc as a}from"./access-CPhumIOz.js";import{t as o}from"./useRouterState-CFV0Nv_N.js";import{M as s,_ as c,a as l,g as u,h as d}from"./reviews-Knu80SJM.js";import{l as f}from"./index-DbOyN2aI.js";import{t as p}from"./desktop-actions-DEpOe60L.js";var m=e(t(),1),h=a(),g=n();function _(e){let t=(0,h.c)(3),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,g.jsx)(s,{}),t[0]=r):r=t[0];let i;return t[1]===n?i=t[2]:(i=(0,g.jsxs)(g.Fragment,{children:[r,(0,g.jsx)(l,{children:n})]}),t[1]=n,t[2]=i),i}function v(e){let t=(0,h.c)(6),{children:n}=e,[i,a]=(0,m.useState)(!0),o=r(),s;t[0]===o?s=t[1]:(s=o&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(u,{connection:o}),(0,g.jsx)(c,{connection:o})]}),t[0]=o,t[1]=s);let l;return t[2]!==n||t[3]!==i||t[4]!==s?(l=(0,g.jsx)(_,{children:(0,g.jsxs)(d,{open:i,onOpenChange:a,children:[n,s]})}),t[2]=n,t[3]=i,t[4]=s,t[5]=l):l=t[5],l}function y(){let e=(0,h.c)(4),t=r(),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={select:b},e[0]=n):n=e[0];let a=o(n),s;return e[1]!==t||e[2]!==a?(s=t?(0,g.jsxs)(v,{children:[(0,g.jsx)(f,{}),(0,g.jsx)(p,{connection:t,empty:a})]}):(0,g.jsx)(i,{to:`/pair`,replace:!0}),e[1]=t,e[2]=a,e[3]=s):s=e[3],s}function b(e){return e.location.pathname===`/`}export{y as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sc as e,uc as t}from"./access-CPhumIOz.js";import{i as n}from"./index-DbOyN2aI.js";import{t as r}from"./review-route-CilLpBvt.js";var i=t(),a=e();function o(){let e=(0,i.c)(3),t=n.useParams(),o=n.useSearch(),s;return e[0]!==t||e[1]!==o?(s=(0,a.jsx)(r,{...t,...o}),e[0]=t,e[1]=o,e[2]=s):s=e[2],s}export{o as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{En as e,Sc as t,hc as n,uc as r}from"./access-CPhumIOz.js";import"./reviews-Knu80SJM.js";import"./edit-file-rWLFkawP.js";import"./connected-workspace-Cqk_MV5h.js";import"./workspace-pending-DnmDeSe-.js";import{r as i}from"./index-DbOyN2aI.js";var a=r(),o=t();function s(){let t=(0,a.c)(9),{environmentId:r,projectId:s,worktreeId:c}=i.useParams(),l=i.useSearch();e(r);{let e;return t[0]!==l||t[1]!==c?(e=(0,o.jsx)(n,{to:`/`,search:{...l,worktree:c},replace:!0}),t[0]=l,t[1]=c,t[2]=e):e=t[2],e}}export{s as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./workspace-error-B0KK7kzA.js";var t=e;export{t as errorComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sc as e,Yi as t,hc as n,uc as r,wn as i}from"./access-CPhumIOz.js";import{k as a}from"./reviews-Knu80SJM.js";import"./edit-file-rWLFkawP.js";import{t as o}from"./connected-workspace-Cqk_MV5h.js";import{o as s}from"./index-DbOyN2aI.js";var c=r(),l=e();function u(){let e=(0,c.c)(10),{projectId:r,worktreeId:u}=s.useParams(),d=s.useSearch(),{connection:f}=i(),p=a(f),m;e[0]!==p||e[1]!==u?(m=t(p,u),e[0]=p,e[1]=u,e[2]=m):m=e[2];let h=m;if(h?.projectId!==r){let t;return e[3]!==d||e[4]!==u?(t=(0,l.jsx)(n,{to:`/`,search:{...d,worktree:u},replace:!0}),e[3]=d,e[4]=u,e[5]=t):t=e[5],t}let g;return e[6]!==p||e[7]!==d||e[8]!==h?(g=(0,l.jsx)(o,{review:{selection:h,search:d,inventory:p}}),e[6]=p,e[7]=d,e[8]=h,e[9]=g):g=e[9],g}export{u as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./workspace-error-B0KK7kzA.js";var t=e;export{t as errorComponent};
|