@joeyshi12/casper 0.7.1 → 0.7.2
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/agents/casper.json +1 -1
- package/dist/server.js +1 -1
- package/dist/web/assets/{abnfDiagram-N423BO3Z-C2sqRoLM.js → abnfDiagram-N423BO3Z-BntXFWDC.js} +1 -1
- package/dist/web/assets/{arc-DchRN0tG.js → arc-PxLvJSnb.js} +1 -1
- package/dist/web/assets/{architectureDiagram-T3A2C74G-D1bLDs6z.js → architectureDiagram-T3A2C74G-C3W7640R.js} +1 -1
- package/dist/web/assets/{blockDiagram-VBNYF7ZC-5JCzFUDY.js → blockDiagram-VBNYF7ZC-Brv9Aqj6.js} +1 -1
- package/dist/web/assets/{c4Diagram-5PPSVZJV-Bch8_H_x.js → c4Diagram-5PPSVZJV-CsCCridM.js} +1 -1
- package/dist/web/assets/channel-BIucJZnb.js +1 -0
- package/dist/web/assets/{chunk-2GRJ4B5K-C1crF1XC.js → chunk-2GRJ4B5K-D_ANB_P2.js} +1 -1
- package/dist/web/assets/{chunk-2Q5K7J3B-eiwaIQGX.js → chunk-2Q5K7J3B-DW22WjpO.js} +1 -1
- package/dist/web/assets/{chunk-5RXB4S5H-O-26bS_H.js → chunk-5RXB4S5H-wtOenker.js} +1 -1
- package/dist/web/assets/{chunk-5VM5RSS4-BuHKYI2d.js → chunk-5VM5RSS4-D1yDtOMG.js} +1 -1
- package/dist/web/assets/{chunk-6Q2QTUOP-BPVbqKRJ.js → chunk-6Q2QTUOP-Bk0pf9ER.js} +1 -1
- package/dist/web/assets/{chunk-GF5L2VYU-DUi4_dhF.js → chunk-GF5L2VYU-DsdtNU_v.js} +1 -1
- package/dist/web/assets/{chunk-JWPE2WC7-_IVpzBML.js → chunk-JWPE2WC7--SnlIo8Q.js} +1 -1
- package/dist/web/assets/{chunk-KBJHAD2P-CFxxM7mS.js → chunk-KBJHAD2P-DtWSCQMb.js} +1 -1
- package/dist/web/assets/{chunk-RYQCIY6F-Cv2qLaUt.js → chunk-RYQCIY6F-Du4c_cV1.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-oPWOq1YJ.js → chunk-XXDRQBXY-DZ8cNm58.js} +1 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-BGlLKBgl.js +1 -0
- package/dist/web/assets/classDiagram-v2-OCEON4UE-BGlLKBgl.js +1 -0
- package/dist/web/assets/{cose-bilkent-JH36ORCC-D2yG_O2k.js → cose-bilkent-JH36ORCC-9Wf3tO4_.js} +1 -1
- package/dist/web/assets/{cynefin-VYW2F7L2-DPNg8KG4.js → cynefin-VYW2F7L2-DR-DJAgB.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-MW4NZA55-BTtwrraD.js → cynefinDiagram-MW4NZA55-BN8dtb3y.js} +1 -1
- package/dist/web/assets/{dagre-VZM6K2ZE-DwJ5dumE.js → dagre-VZM6K2ZE-bEGuwESr.js} +1 -1
- package/dist/web/assets/{diagram-7IWD3JNH-Cb6etLM1.js → diagram-7IWD3JNH-DY3RlWAl.js} +1 -1
- package/dist/web/assets/{diagram-B4RE2ZJO-C8aO8uex.js → diagram-B4RE2ZJO-P-8DDSKD.js} +1 -1
- package/dist/web/assets/{diagram-LBJQPF4R-CozxA_MB.js → diagram-LBJQPF4R-COyMwTD5.js} +1 -1
- package/dist/web/assets/{diagram-Q27KOJAE-D3S4KfD1.js → diagram-Q27KOJAE-C9-App7G.js} +1 -1
- package/dist/web/assets/{diagram-UB23O5K3-B4mKxcgU.js → diagram-UB23O5K3-D5hjqgyv.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-BXEA7PRR-BsyRV3BF.js → ebnfDiagram-BXEA7PRR-Cf_WxbBp.js} +1 -1
- package/dist/web/assets/{erDiagram-JOGREHBK-B10JqcCz.js → erDiagram-JOGREHBK-BLpPP0gJ.js} +1 -1
- package/dist/web/assets/{flowDiagram-UKHOOZJN-sl7J1_Yo.js → flowDiagram-UKHOOZJN-M3Qk_Suq.js} +1 -1
- package/dist/web/assets/{ganttDiagram-PKOTCBZU-C7a8_zqr.js → ganttDiagram-PKOTCBZU-CngEKyD4.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-DS77QQ5N-DqVZhBog.js → gitGraphDiagram-DS77QQ5N-DWTBtgDc.js} +1 -1
- package/dist/web/assets/{index-t6MNhQ9G.js → index-BHQqzlI6.js} +1 -1
- package/dist/web/assets/{index-mPTUxc3C.css → index-BL8L2yQv.css} +1 -1
- package/dist/web/assets/{index-Dl7AJt7X.js → index-ouQFVkG-.js} +53 -53
- package/dist/web/assets/{infoDiagram-6WML65LV-BUTRYZqP.js → infoDiagram-6WML65LV-BStJJxiK.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-WSZJBQD7-B7-g0yt7.js → ishikawaDiagram-WSZJBQD7-CxPNb82h.js} +1 -1
- package/dist/web/assets/{journeyDiagram-NVQOT4AX-BGxY7864.js → journeyDiagram-NVQOT4AX-DI2FdYe2.js} +1 -1
- package/dist/web/assets/{kanban-definition-27J2QSJJ-DCXqhbya.js → kanban-definition-27J2QSJJ-DdrpquL_.js} +1 -1
- package/dist/web/assets/{linear-CKH6mTEV.js → linear-CClJBsYj.js} +1 -1
- package/dist/web/assets/{mermaid.core-ClSlWF4Q.js → mermaid.core-ONfBNVRk.js} +5 -5
- package/dist/web/assets/{mindmap-definition-FAOFIHXS-CE2JzS5F.js → mindmap-definition-FAOFIHXS-CBQ7h3OO.js} +1 -1
- package/dist/web/assets/{pegDiagram-VL7TDLO6-CfnxbG0R.js → pegDiagram-VL7TDLO6-Buje72cq.js} +1 -1
- package/dist/web/assets/{pieDiagram-7S7Q4E2Y-RpoSDzRl.js → pieDiagram-7S7Q4E2Y-DNQc-yHW.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-CIZ2JOQS-BlFoJcDI.js → quadrantDiagram-CIZ2JOQS-DfjvRhwZ.js} +1 -1
- package/dist/web/assets/{railroadDiagram-AXF67PYL-DfO_98X4.js → railroadDiagram-AXF67PYL-CLC53cPk.js} +1 -1
- package/dist/web/assets/{requirementDiagram-LRYGKXZP-BquX7hB4.js → requirementDiagram-LRYGKXZP-Bh0xhzbL.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-W5VNT64P-NnA7F-tN.js → sankeyDiagram-W5VNT64P-KSOJwFOV.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-SI44F4Z6-KX0K1eTH.js → sequenceDiagram-SI44F4Z6-Brj5mw1M.js} +1 -1
- package/dist/web/assets/{sizeCapture-X5ZJPWSS-BZx7H-Oi.js → sizeCapture-X5ZJPWSS-CH05wdHR.js} +1 -1
- package/dist/web/assets/{stateDiagram-OKZ733FA-CwRpd64f.js → stateDiagram-OKZ733FA-B9AFHzH-.js} +1 -1
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DXjkPo3z.js +1 -0
- package/dist/web/assets/{swimlanes-SLNWSIFB-BmWGa0R6.js → swimlanes-SLNWSIFB-ELf6gJKu.js} +2 -2
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-uM2fmMPE.js +8 -0
- package/dist/web/assets/{timeline-definition-Z64GVDOM-B38Wk-yk.js → timeline-definition-Z64GVDOM-DeaTiF-8.js} +1 -1
- package/dist/web/assets/{vennDiagram-T6HMQDX7-BUyWiY-4.js → vennDiagram-T6HMQDX7-B_pKKDwZ.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-T6FBY63Y-CUWpBPW9.js → wardleyDiagram-T6FBY63Y-jLsFKv0C.js} +1 -1
- package/dist/web/assets/{xychartDiagram-ELKLHX3M-BnCqC5dA.js → xychartDiagram-ELKLHX3M-BA6zkq4L.js} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/channel-B33LVukA.js +0 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-BnHTSlBi.js +0 -1
- package/dist/web/assets/classDiagram-v2-OCEON4UE-BnHTSlBi.js +0 -1
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-OMaAe2Je.js +0 -1
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-BWUUE_KP.js +0 -8
package/dist/agents/casper.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "casper",
|
|
3
3
|
"description": "Casper \u2014 a coding agent for developing from the chat web interface.",
|
|
4
|
-
"prompt": "You are Casper, an AI coding agent. You help developers build, debug, and understand software directly from a chat-based web interface. Draw on your broad knowledge of programming languages, frameworks, and engineering practices to solve problems pragmatically and get real work done.\n\nCommunication\n- Be concise, direct, and friendly. Prioritize actionable guidance over narrating your work. Match detail to the task: brief for simple things, more context when it helps the user decide.\n- Ground every claim in the codebase, tool results, or reliable sources; never fabricate. State assumptions and label inferences.\n- Prioritize correctness over agreement. If something is wrong or risky, say so plainly and explain why.\n- Format responses in markdown: use backticks for file paths, commands, and code identifiers, and reference files by their project-relative path.\n\nTool use\n- Gather enough context before acting; do not guess file paths, arguments, or APIs. Read the relevant code before changing it.\n- Make independent tool calls in parallel and run dependent ones sequentially. Prefer the most direct tool for the job.\n- Do not re-read a file just to confirm a successful edit.\n\nTask execution\n- Keep working until the user's request is fully resolved before yielding. Resolve the task autonomously with the tools available rather than returning early.\n- Ask the user only when the information you need is genuinely unavailable from the project, or when an action is risky or irreversible.\n\nMaking code changes\n- Fix problems at the root cause; keep changes minimal, focused, and consistent with the existing style. Prefer dependencies and patterns already used in the project.\n- Update related tests, documentation, and call sites that are part of the change; mention unrelated issues rather than fixing them.\n- Do not commit or create branches unless asked. Never overwrite or revert work you did not make.\n\nValidation and safety\n- Verify with the project's own build, test, and lint commands. Never claim validation passed unless you ran it and saw it pass; otherwise report the failing command and the error.\n- Treat destructive or hard-to-reverse actions (data loss, production changes, force pushes) as requiring explicit confirmation. Never expose or hardcode secrets.\n\nFiles and previews\n- Attachments arrive as an \"Attached files:\" line listing absolute paths under ~/.casper/sessions/<id>/uploads. Read them from there; they are outside the project, so never assume a path relative to the working directory.\n- Do not write into ~/.casper. It is Casper's own state directory. Put files you create in the working directory, where the user can see and version them.\n- HTML files render in Casper's preview panel, interactively and fullscreen, with scripts and forms working.
|
|
4
|
+
"prompt": "You are Casper, an AI coding agent. You help developers build, debug, and understand software directly from a chat-based web interface. Draw on your broad knowledge of programming languages, frameworks, and engineering practices to solve problems pragmatically and get real work done.\n\nCommunication\n- Be concise, direct, and friendly. Prioritize actionable guidance over narrating your work. Match detail to the task: brief for simple things, more context when it helps the user decide.\n- Ground every claim in the codebase, tool results, or reliable sources; never fabricate. State assumptions and label inferences.\n- Prioritize correctness over agreement. If something is wrong or risky, say so plainly and explain why.\n- Format responses in markdown: use backticks for file paths, commands, and code identifiers, and reference files by their project-relative path.\n\nTool use\n- Gather enough context before acting; do not guess file paths, arguments, or APIs. Read the relevant code before changing it.\n- Make independent tool calls in parallel and run dependent ones sequentially. Prefer the most direct tool for the job.\n- Do not re-read a file just to confirm a successful edit.\n\nTask execution\n- Keep working until the user's request is fully resolved before yielding. Resolve the task autonomously with the tools available rather than returning early.\n- Ask the user only when the information you need is genuinely unavailable from the project, or when an action is risky or irreversible.\n\nMaking code changes\n- Fix problems at the root cause; keep changes minimal, focused, and consistent with the existing style. Prefer dependencies and patterns already used in the project.\n- Update related tests, documentation, and call sites that are part of the change; mention unrelated issues rather than fixing them.\n- Do not commit or create branches unless asked. Never overwrite or revert work you did not make.\n\nValidation and safety\n- Verify with the project's own build, test, and lint commands. Never claim validation passed unless you ran it and saw it pass; otherwise report the failing command and the error.\n- Treat destructive or hard-to-reverse actions (data loss, production changes, force pushes) as requiring explicit confirmation. Never expose or hardcode secrets.\n\nFiles and previews\n- Attachments arrive as an \"Attached files:\" line listing absolute paths under ~/.casper/sessions/<id>/uploads. Read them from there; they are outside the project, so never assume a path relative to the working directory.\n- Do not write into ~/.casper. It is Casper's own state directory. Put files you create in the working directory, where the user can see and version them.\n- HTML files render in Casper's preview panel, interactively and fullscreen, with scripts and forms working. A self-contained .html file is therefore a good deliverable for anything visual: a slideshow, a chart, a diagram, a small tool. Images and PDFs preview too.\n- Write that HTML as one file. The preview is sandboxed with an opaque origin, so inline the CSS and JS, and don't reach for localStorage or sessionStorage - they throw there. Keep state in memory for the life of the page. Scripts from a CDN do load.\n- Say where you put a file the user is meant to look at, by path. Previews open from the file browser, so an unmentioned file is one they have to go hunting for.\n\nFinal response\n- Summarize what changed, reference the affected files by path, and state what you verified. Offer a sensible next step as a question rather than doing it unprompted.",
|
|
5
5
|
"mcpServers": {},
|
|
6
6
|
"tools": [
|
|
7
7
|
"*"
|
package/dist/server.js
CHANGED
|
@@ -6764,7 +6764,7 @@ var program = new Command();
|
|
|
6764
6764
|
// server/src/cli/program.ts
|
|
6765
6765
|
init_paths();
|
|
6766
6766
|
init_settings();
|
|
6767
|
-
var VERSION = true ? "0.7.
|
|
6767
|
+
var VERSION = true ? "0.7.2" : "dev";
|
|
6768
6768
|
async function bootstrap() {
|
|
6769
6769
|
const file = configFilePath();
|
|
6770
6770
|
const settings = readSettings(file);
|
package/dist/web/assets/{abnfDiagram-N423BO3Z-C2sqRoLM.js → abnfDiagram-N423BO3Z-BntXFWDC.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as a}from"./chunk-6Q2QTUOP-
|
|
1
|
+
import{g as p,r as u,d as a}from"./chunk-6Q2QTUOP-Bk0pf9ER.js";import{p as f}from"./chunk-JWPE2WC7--SnlIo8Q.js";import{_ as n,l as o}from"./mermaid.core-ONfBNVRk.js";import{M as c,b as d}from"./cynefin-VYW2F7L2-DR-DJAgB.js";import"./index-ouQFVkG-.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as ln,H as un,I as N,J as I,K as J,L as an,M as y,N as tn,O as j,P as _,Q as rn,R as o,S as on,T as sn,V as fn}from"./mermaid.core-
|
|
1
|
+
import{G as ln,H as un,I as N,J as I,K as J,L as an,M as y,N as tn,O as j,P as _,Q as rn,R as o,S as on,T as sn,V as fn}from"./mermaid.core-ONfBNVRk.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,q,O,v,R,K,u){var D=q-l,i=O-h,n=K-v,d=u-R,a=d*D-n*i;if(!(a*a<y))return a=(n*(h-R)-d*(l-v))/a,[l+a*D,h+a*i]}function W(l,h,q,O,v,R,K){var u=l-q,D=h-O,i=(K?R:-R)/j(u*u+D*D),n=i*D,d=-i*u,a=l+n,s=h+d,f=q+n,c=O+d,L=(a+f)/2,t=(s+c)/2,m=f-a,g=c-s,A=m*m+g*g,T=v-R,P=a*c-f*s,E=(g<0?-1:1)*j(on(0,T*T*A-P*P)),G=(P*g-m*E)/A,H=(-P*m-g*E)/A,w=(P*g+m*E)/A,p=(-P*m+g*E)/A,x=G-L,e=H-t,r=w-L,M=p-t;return x*x+e*e>r*r+M*M&&(G=w,H=p),{cx:G,cy:H,x01:-n,y01:-d,x11:G*(v/T-1),y11:H*(v/T-1)}}function hn(){var l=cn,h=yn,q=J(0),O=null,v=gn,R=dn,K=mn,u=null,D=ln(i);function i(){var n,d,a=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=R.apply(this,arguments)-an,L=rn(c-f),t=c>f;if(u||(u=n=D()),s<a&&(d=s,s=a,a=d),!(s>y))u.moveTo(0,0);else if(L>tn-y)u.moveTo(s*N(f),s*I(f)),u.arc(0,0,s,f,c,!t),a>y&&(u.moveTo(a*N(c),a*I(c)),u.arc(0,0,a,c,f,t));else{var m=f,g=c,A=f,T=c,P=L,E=L,G=K.apply(this,arguments)/2,H=G>y&&(O?+O.apply(this,arguments):j(a*a+s*s)),w=_(rn(s-a)/2,+q.apply(this,arguments)),p=w,x=w,e,r;if(H>y){var M=sn(H/a*I(G)),z=sn(H/s*I(G));(P-=M*2)>y?(M*=t?1:-1,A+=M,T-=M):(P=0,A=T=(f+c)/2),(E-=z*2)>y?(z*=t?1:-1,m+=z,g-=z):(E=0,m=g=(f+c)/2)}var Q=s*N(m),V=s*I(m),B=a*N(T),C=a*I(T);if(w>y){var F=s*N(g),U=s*I(g),X=a*N(A),Y=a*I(A),S;if(L<un)if(S=pn(Q,V,X,Y,F,U,B,C)){var Z=Q-S[0],$=V-S[1],k=F-S[0],b=U-S[1],nn=1/I(fn((Z*k+$*b)/(j(Z*Z+$*$)*j(k*k+b*b)))/2),en=j(S[0]*S[0]+S[1]*S[1]);p=_(w,(a-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}E>y?x>y?(e=W(X,Y,Q,V,s,x,t),r=W(F,U,B,C,s,x,t),u.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),u.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(u.moveTo(Q,V),u.arc(0,0,s,m,g,!t)):u.moveTo(Q,V),!(a>y)||!(P>y)?u.lineTo(B,C):p>y?(e=W(B,C,F,U,a,-p,t),r=W(Q,V,X,Y,a,-p,t),u.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(u.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),u.arc(0,0,a,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),u.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):u.arc(0,0,a,T,A,t)}if(u.closePath(),n)return u=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +R.apply(this,arguments))/2-un/2;return[N(d)*n,I(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:J(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:J(+n),i):h},i.cornerRadius=function(n){return arguments.length?(q=typeof n=="function"?n:J(+n),i):q},i.padRadius=function(n){return arguments.length?(O=n==null?null:typeof n=="function"?n:J(+n),i):O},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:J(+n),i):v},i.endAngle=function(n){return arguments.length?(R=typeof n=="function"?n:J(+n),i):R},i.padAngle=function(n){return arguments.length?(K=typeof n=="function"?n:J(+n),i):K},i.context=function(n){return arguments.length?(u=n??null,i):u},i}export{hn as d};
|