@cmmd-center/forge 0.13.15 → 0.13.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/bin.cjs +258 -836
  2. package/dist/bin.mjs +228 -806
  3. package/dist/client/assets/{CanvasPanel-RpD9Eh_S.js → CanvasPanel-uofZ5KUR.js} +2 -2
  4. package/dist/client/assets/{CompositeItem-DEIBUHJR.js → CompositeItem-C5YSRi5B.js} +2 -2
  5. package/dist/client/assets/{DiffPanel-D-NIms_l.js → DiffPanel-DBxERq43.js} +3 -3
  6. package/dist/client/assets/{DiffPanel.logic-DwoeNGnH.js → DiffPanel.logic-CVvbOj4s.js} +2 -2
  7. package/dist/client/assets/DiffPanelShell-3FSe-Ixv.js +2533 -0
  8. package/dist/client/assets/{DiffWorkerPoolProvider-DHNvSWPo.js → DiffWorkerPoolProvider-DGz1EBXf.js} +9 -9
  9. package/dist/client/assets/PullRequestCodePanel-BsTzlXhi.js +5 -0
  10. package/dist/client/assets/{Virtualizer-Cm4G15Gy.js → Virtualizer-BABEZSz9.js} +2 -2
  11. package/dist/client/assets/{canvasStateStore-NrAxDqvM.js → canvasStateStore-IBP3QM_C.js} +2 -2
  12. package/dist/client/assets/{cmmdAuthRedirect-BahlX0gF.js → cmmdAuthRedirect-Ck1QfYaS.js} +2 -2
  13. package/dist/client/assets/index-DBkypII5.js +153 -0
  14. package/dist/client/assets/index-EZbGVDT4.css +1 -0
  15. package/dist/client/assets/{popover-Z8Tvl-OD.js → popover-BQaoSlk7.js} +2 -2
  16. package/dist/client/assets/{src-BU7yHzO9.js → src-Bj8vTcnP.js} +2 -2
  17. package/dist/client/assets/{toggle-CWYdWYBn.js → toggle-CE2NHkQL.js} +2 -2
  18. package/dist/client/index.html +11 -11
  19. package/dist/forge-build.json +1 -1
  20. package/dist/runtimeBootstrap.cjs +1 -1
  21. package/dist/runtimeBootstrap.mjs +1 -1
  22. package/dist/{runtimeControlAuthority-BkVB0uAA.cjs → runtimeControlAuthority-DCitZFTk.cjs} +3 -1
  23. package/dist/{runtimeControlAuthority-E_kdeD_P.mjs → runtimeControlAuthority-DpRIoWqP.mjs} +3 -1
  24. package/package.json +1 -1
  25. package/dist/client/assets/DiffPanelShell-BI5poBl7.js +0 -2532
  26. package/dist/client/assets/PullRequestCodePanel-apgvV8hi.js +0 -5
  27. package/dist/client/assets/index-C3pC5t1K.css +0 -1
  28. package/dist/client/assets/index-DdqgGbOQ.js +0 -154
@@ -1,2 +1,2 @@
1
- import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Ha as t,Ua as n,Wa as r}from"./Stream-mUTFnSY9.js";import{Ln as i,Tn as a,b as o,et as s,gt as c,h as l,m as u,t as d,x as f}from"./CompositeItem-DEIBUHJR.js";var p=e(r(),1),m=p.createContext(void 0);function h(){return p.useContext(m)}var g=n(),_=p.forwardRef(function(e,t){let{className:n,defaultPressed:r=!1,disabled:i=!1,form:a,onPressedChange:m,pressed:_,render:v,type:y,value:b,nativeButton:x=!0,style:S,...C}=e,w=o(b||void 0),T=h(),E=T?.value??[],D=T?void 0:r,O=(i||T?.disabled)??!1,[k,A]=u({controlled:T?w!==void 0&&E.indexOf(w)>-1:_,default:D,name:`Toggle`,state:`pressed`}),{getButtonProps:j,buttonRef:M}=l({disabled:O,native:x}),N={disabled:O,pressed:k},P=[M,t],F=[{"aria-pressed":k,onClick(e){let t=!k,n=s(c,e.nativeEvent);m?.(t,n),!n.isCanceled&&(w&&T?.setGroupValue?.(w,t,n),!n.isCanceled&&A(t))}},C,j],I=f(`button`,e,{enabled:!T,state:N,ref:P,props:F}),L=p.useMemo(()=>({disabled:O,focusableWhenDisabled:!1}),[O]);return T?(0,g.jsx)(d,{tag:`button`,render:v,className:n,style:S,metadata:L,state:N,refs:P,props:F}):I}),v=t(),y=i(`[&_svg]:-mx-0.5 relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-base text-foreground outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-input/64 data-pressed:text-accent-foreground sm:text-sm [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{defaultVariants:{size:`default`,variant:`default`},variants:{size:{compact:`h-7 min-w-7 rounded-md px-[calc(--spacing(1)-1px)] text-xs before:rounded-[calc(var(--radius-md)-1px)] [&_svg:not([class*='size-'])]:size-3.5`,default:`h-9 min-w-9 px-[calc(--spacing(2)-1px)] sm:h-8 sm:min-w-8`,lg:`h-10 min-w-10 px-[calc(--spacing(2.5)-1px)] sm:h-9 sm:min-w-9`,segmented:`min-h-touch min-w-0 touch-manipulation rounded-md px-3 before:rounded-[calc(var(--radius-md)-1px)] sm:min-h-touch md:h-6 md:min-h-0 md:px-2.5 md:text-xs`,sm:`h-8 min-w-8 px-[calc(--spacing(1.5)-1px)] sm:h-7 sm:min-w-7`,xs:`h-7 min-w-7 px-[calc(--spacing(1)-1px)] sm:h-6 sm:min-w-6 rounded-md`},variant:{default:`border-transparent`,ghost:`border-transparent text-foreground shadow-none [:disabled,:active,[data-pressed]]:shadow-none before:shadow-none data-pressed:bg-accent data-pressed:text-accent-foreground disabled:opacity-100 disabled:text-muted-foreground disabled:[&_svg]:opacity-100`,outline:`border-input bg-background not-dark:bg-clip-padding shadow-xs/5 not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:data-pressed:bg-input dark:hover:bg-input/64 dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/6%)] dark:not-disabled:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/2%)] [:disabled,:active,[data-pressed]]:shadow-none`,segmented:`border-transparent text-muted-foreground shadow-none transition-colors before:shadow-none hover:bg-background/55 hover:text-foreground data-pressed:bg-background data-pressed:text-foreground data-pressed:shadow-xs/10 dark:hover:bg-input/32 dark:data-pressed:bg-input/72`}}});function b(e){let t=(0,v.c)(12),n,r,i,o;t[0]===e?(n=t[1],r=t[2],i=t[3],o=t[4]):({className:n,variant:o,size:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o);let s;t[5]!==n||t[6]!==i||t[7]!==o?(s=a(y({className:n,size:i,variant:o})),t[5]=n,t[6]=i,t[7]=o,t[8]=s):s=t[8];let c;return t[9]!==r||t[10]!==s?(c=(0,g.jsx)(_,{className:s,"data-slot":`toggle`,...r}),t[9]=r,t[10]=s,t[11]=c):c=t[11],c}export{m as n,b as t};
2
- //# sourceMappingURL=toggle-CWYdWYBn.js.map
1
+ import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Ha as t,Ua as n,Wa as r}from"./Stream-mUTFnSY9.js";import{Ln as i,Tn as a,b as o,et as s,gt as c,h as l,m as u,t as d,x as f}from"./CompositeItem-C5YSRi5B.js";var p=e(r(),1),m=p.createContext(void 0);function h(){return p.useContext(m)}var g=n(),_=p.forwardRef(function(e,t){let{className:n,defaultPressed:r=!1,disabled:i=!1,form:a,onPressedChange:m,pressed:_,render:v,type:y,value:b,nativeButton:x=!0,style:S,...C}=e,w=o(b||void 0),T=h(),E=T?.value??[],D=T?void 0:r,O=(i||T?.disabled)??!1,[k,A]=u({controlled:T?w!==void 0&&E.indexOf(w)>-1:_,default:D,name:`Toggle`,state:`pressed`}),{getButtonProps:j,buttonRef:M}=l({disabled:O,native:x}),N={disabled:O,pressed:k},P=[M,t],F=[{"aria-pressed":k,onClick(e){let t=!k,n=s(c,e.nativeEvent);m?.(t,n),!n.isCanceled&&(w&&T?.setGroupValue?.(w,t,n),!n.isCanceled&&A(t))}},C,j],I=f(`button`,e,{enabled:!T,state:N,ref:P,props:F}),L=p.useMemo(()=>({disabled:O,focusableWhenDisabled:!1}),[O]);return T?(0,g.jsx)(d,{tag:`button`,render:v,className:n,style:S,metadata:L,state:N,refs:P,props:F}):I}),v=t(),y=i(`[&_svg]:-mx-0.5 relative inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-2 whitespace-nowrap rounded-lg border font-medium text-base text-foreground outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 data-pressed:bg-input/64 data-pressed:text-accent-foreground sm:text-sm [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{defaultVariants:{size:`default`,variant:`default`},variants:{size:{compact:`h-7 min-w-7 rounded-md px-[calc(--spacing(1)-1px)] text-xs before:rounded-[calc(var(--radius-md)-1px)] [&_svg:not([class*='size-'])]:size-3.5`,default:`h-9 min-w-9 px-[calc(--spacing(2)-1px)] sm:h-8 sm:min-w-8`,lg:`h-10 min-w-10 px-[calc(--spacing(2.5)-1px)] sm:h-9 sm:min-w-9`,segmented:`min-h-touch min-w-0 touch-manipulation rounded-md px-3 before:rounded-[calc(var(--radius-md)-1px)] sm:min-h-touch md:h-6 md:min-h-0 md:px-2.5 md:text-xs`,sm:`h-8 min-w-8 px-[calc(--spacing(1.5)-1px)] sm:h-7 sm:min-w-7`,xs:`h-7 min-w-7 px-[calc(--spacing(1)-1px)] sm:h-6 sm:min-w-6 rounded-md`},variant:{default:`border-transparent`,ghost:`border-transparent text-foreground shadow-none [:disabled,:active,[data-pressed]]:shadow-none before:shadow-none data-pressed:bg-accent data-pressed:text-accent-foreground disabled:opacity-100 disabled:text-muted-foreground disabled:[&_svg]:opacity-100`,outline:`border-input bg-background not-dark:bg-clip-padding shadow-xs/5 not-disabled:not-active:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-input/32 dark:data-pressed:bg-input dark:hover:bg-input/64 dark:not-disabled:not-active:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/6%)] dark:not-disabled:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/2%)] [:disabled,:active,[data-pressed]]:shadow-none`,segmented:`border-transparent text-muted-foreground shadow-none transition-colors before:shadow-none hover:bg-background/55 hover:text-foreground data-pressed:bg-background data-pressed:text-foreground data-pressed:shadow-xs/10 dark:hover:bg-input/32 dark:data-pressed:bg-input/72`}}});function b(e){let t=(0,v.c)(12),n,r,i,o;t[0]===e?(n=t[1],r=t[2],i=t[3],o=t[4]):({className:n,variant:o,size:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o);let s;t[5]!==n||t[6]!==i||t[7]!==o?(s=a(y({className:n,size:i,variant:o})),t[5]=n,t[6]=i,t[7]=o,t[8]=s):s=t[8];let c;return t[9]!==r||t[10]!==s?(c=(0,g.jsx)(_,{className:s,"data-slot":`toggle`,...r}),t[9]=r,t[10]=s,t[11]=c):c=t[11],c}export{m as n,b as t};
2
+ //# sourceMappingURL=toggle-CE2NHkQL.js.map
@@ -108,23 +108,23 @@
108
108
  }
109
109
  </style>
110
110
  <title>Forge</title>
111
- <script type="module" crossorigin src="/assets/index-DdqgGbOQ.js"></script>
111
+ <script type="module" crossorigin src="/assets/index-DBkypII5.js"></script>
112
112
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
113
113
  <link rel="modulepreload" crossorigin href="/assets/Stream-mUTFnSY9.js">
114
114
  <link rel="modulepreload" crossorigin href="/assets/atomRegistry-C1yW8tyM.js">
115
- <link rel="modulepreload" crossorigin href="/assets/src-BU7yHzO9.js">
116
- <link rel="modulepreload" crossorigin href="/assets/CompositeItem-DEIBUHJR.js">
117
- <link rel="modulepreload" crossorigin href="/assets/popover-Z8Tvl-OD.js">
118
- <link rel="modulepreload" crossorigin href="/assets/cmmdAuthRedirect-BahlX0gF.js">
115
+ <link rel="modulepreload" crossorigin href="/assets/src-Bj8vTcnP.js">
116
+ <link rel="modulepreload" crossorigin href="/assets/CompositeItem-C5YSRi5B.js">
117
+ <link rel="modulepreload" crossorigin href="/assets/popover-BQaoSlk7.js">
118
+ <link rel="modulepreload" crossorigin href="/assets/cmmdAuthRedirect-Ck1QfYaS.js">
119
119
  <link rel="modulepreload" crossorigin href="/assets/preload-helper-Czpn1I53.js">
120
120
  <link rel="modulepreload" crossorigin href="/assets/transport-CgH8pQK3.js">
121
121
  <link rel="modulepreload" crossorigin href="/assets/workspaceReadinessAtom-D6bgTvKb.js">
122
- <link rel="modulepreload" crossorigin href="/assets/DiffPanelShell-BI5poBl7.js">
123
- <link rel="modulepreload" crossorigin href="/assets/DiffWorkerPoolProvider-DHNvSWPo.js">
124
- <link rel="modulepreload" crossorigin href="/assets/toggle-CWYdWYBn.js">
125
- <link rel="modulepreload" crossorigin href="/assets/Virtualizer-Cm4G15Gy.js">
126
- <link rel="modulepreload" crossorigin href="/assets/canvasStateStore-NrAxDqvM.js">
127
- <link rel="stylesheet" crossorigin href="/assets/index-C3pC5t1K.css">
122
+ <link rel="modulepreload" crossorigin href="/assets/DiffPanelShell-3FSe-Ixv.js">
123
+ <link rel="modulepreload" crossorigin href="/assets/DiffWorkerPoolProvider-DGz1EBXf.js">
124
+ <link rel="modulepreload" crossorigin href="/assets/toggle-CE2NHkQL.js">
125
+ <link rel="modulepreload" crossorigin href="/assets/Virtualizer-BABEZSz9.js">
126
+ <link rel="modulepreload" crossorigin href="/assets/canvasStateStore-IBP3QM_C.js">
127
+ <link rel="stylesheet" crossorigin href="/assets/index-EZbGVDT4.css">
128
128
  </head>
129
129
  <body>
130
130
  <div id="root">
@@ -1 +1 @@
1
- {"version":"0.13.15","commit":"78b0e072680ed734c4eb8337a6d38c87e7e34393"}
1
+ {"version":"0.13.17","commit":"60c000d9c894e2ef04f90b602ddc8eb49c84980a"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
4
  require("./chunk-BhaIgcZK.cjs");
5
- const require_runtimeControlAuthority = require("./runtimeControlAuthority-BkVB0uAA.cjs");
5
+ const require_runtimeControlAuthority = require("./runtimeControlAuthority-DCitZFTk.cjs");
6
6
  exports.bootstrapRuntimeControlAuthorityFromNarrowGrant = require_runtimeControlAuthority.bootstrapRuntimeControlAuthorityFromNarrowGrant;
7
7
  exports.setRuntimeGrantToken = require_runtimeControlAuthority.setRuntimeGrantToken;
8
8
  exports.verifyCmmdRuntimeTicket = require_runtimeControlAuthority.verifyCmmdRuntimeTicket;
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { c as verifyCmmdRuntimeTicket, f as setRuntimeGrantToken, n as bootstrapRuntimeControlAuthorityFromNarrowGrant } from "./runtimeControlAuthority-E_kdeD_P.mjs";
3
+ import { c as verifyCmmdRuntimeTicket, f as setRuntimeGrantToken, n as bootstrapRuntimeControlAuthorityFromNarrowGrant } from "./runtimeControlAuthority-DpRIoWqP.mjs";
4
4
  export { bootstrapRuntimeControlAuthorityFromNarrowGrant, setRuntimeGrantToken, verifyCmmdRuntimeTicket };
@@ -447,6 +447,7 @@ async function requestRuntimeControlHeartbeat(input) {
447
447
  body: JSON.stringify({
448
448
  activeTurnCount: input.activeTurnCount,
449
449
  activeSessionCount: input.activeSessionCount,
450
+ acceptingTurns: input.acceptingTurns,
450
451
  ...input.forgeGitCommit !== void 0 ? { forgeGitCommit: input.forgeGitCommit } : {},
451
452
  ...input.forgeServerVersion !== void 0 ? { forgeServerVersion: input.forgeServerVersion } : {}
452
453
  })
@@ -535,6 +536,7 @@ async function sendRuntimeControlHeartbeat(input) {
535
536
  grant,
536
537
  activeTurnCount: input.activeTurnCount,
537
538
  activeSessionCount: input.activeSessionCount,
539
+ acceptingTurns: input.acceptingTurns,
538
540
  forgeGitCommit: input.forgeGitCommit,
539
541
  forgeServerVersion: input.forgeServerVersion,
540
542
  fetchImpl: input.fetchImpl ?? fetch
@@ -642,4 +644,4 @@ Object.defineProperty(exports, "verifyCmmdScopedRuntimePayload", {
642
644
  }
643
645
  });
644
646
 
645
- //# sourceMappingURL=runtimeControlAuthority-BkVB0uAA.cjs.map
647
+ //# sourceMappingURL=runtimeControlAuthority-DCitZFTk.cjs.map
@@ -446,6 +446,7 @@ async function requestRuntimeControlHeartbeat(input) {
446
446
  body: JSON.stringify({
447
447
  activeTurnCount: input.activeTurnCount,
448
448
  activeSessionCount: input.activeSessionCount,
449
+ acceptingTurns: input.acceptingTurns,
449
450
  ...input.forgeGitCommit !== void 0 ? { forgeGitCommit: input.forgeGitCommit } : {},
450
451
  ...input.forgeServerVersion !== void 0 ? { forgeServerVersion: input.forgeServerVersion } : {}
451
452
  })
@@ -534,6 +535,7 @@ async function sendRuntimeControlHeartbeat(input) {
534
535
  grant,
535
536
  activeTurnCount: input.activeTurnCount,
536
537
  activeSessionCount: input.activeSessionCount,
538
+ acceptingTurns: input.acceptingTurns,
537
539
  forgeGitCommit: input.forgeGitCommit,
538
540
  forgeServerVersion: input.forgeServerVersion,
539
541
  fetchImpl: input.fetchImpl ?? fetch
@@ -564,4 +566,4 @@ async function sendRuntimeControlHeartbeat(input) {
564
566
  //#endregion
565
567
  export { verifyCmmdAuthRuntimeTicket as a, verifyCmmdRuntimeTicket as c, runtimeGrantToken as d, setRuntimeGrantToken as f, sendRuntimeControlHeartbeat as i, verifyCmmdRuntimeTicketRefreshProof as l, bootstrapRuntimeControlAuthorityFromNarrowGrant as n, verifyCmmdClaudeReadinessTicket as o, createReadOnceFileTokenAccessor as p, readRuntimeControlAuthority as r, verifyCmmdClaudeUsageTicket as s, bootstrapRuntimeControlAuthority as t, verifyCmmdScopedRuntimePayload as u };
566
568
 
567
- //# sourceMappingURL=runtimeControlAuthority-E_kdeD_P.mjs.map
569
+ //# sourceMappingURL=runtimeControlAuthority-DpRIoWqP.mjs.map
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "cmmd-forge": "dist/bin.mjs"
10
10
  },
11
11
  "type": "module",
12
- "version": "0.13.15",
12
+ "version": "0.13.17",
13
13
  "engines": {
14
14
  "node": "^22.16 || ^23.11 || >=24.10"
15
15
  },