frizz-server 0.15.10 → 0.15.11
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/claude-agent-broker.js +434 -13
- package/dist/dev-child.js +218 -72
- package/package.json +1 -1
- package/runtime/cc-worker/bin/frizz-mcp.mjs +22 -11
- package/web-dist/assets/{abnfDiagram-VRR7QNED-CPgDRCPL.js → abnfDiagram-VRR7QNED-NqOfYLl_.js} +1 -1
- package/web-dist/assets/{arc-BHLpLJBo.js → arc-D9UsqPOW.js} +1 -1
- package/web-dist/assets/architecture-TIHT7OUA-CYx5mu8e.js +1 -0
- package/web-dist/assets/{architectureDiagram-ZJ3FMSHR-D0qwvPWx.js → architectureDiagram-ZJ3FMSHR-CRU2_T_H.js} +1 -1
- package/web-dist/assets/{blockDiagram-677ZJIJ3-C3NPa6bJ.js → blockDiagram-677ZJIJ3-DZT8OjJK.js} +1 -1
- package/web-dist/assets/{c4Diagram-LMCZKHZV-BW9GHi19.js → c4Diagram-LMCZKHZV-k-Ft1ThH.js} +1 -1
- package/web-dist/assets/channel-CD-hjjIL.js +1 -0
- package/web-dist/assets/{chunk-32BRIVSS-DHkNUXJc.js → chunk-32BRIVSS-DDMMpuZb.js} +1 -1
- package/web-dist/assets/{chunk-52WLFC77-CD7yIcMj.js → chunk-52WLFC77-BW9KF5RJ.js} +1 -1
- package/web-dist/assets/{chunk-C7G6YPKG-DCNeb-B6.js → chunk-C7G6YPKG-B4caDIAT.js} +1 -1
- package/web-dist/assets/{chunk-EX3LRPZG-YD5FxMO3.js → chunk-EX3LRPZG-Dyz0PnIY.js} +1 -1
- package/web-dist/assets/{chunk-FWX5IMBZ-XPo-YcnN.js → chunk-FWX5IMBZ-Dxhqduv9.js} +2 -2
- package/web-dist/assets/{chunk-HOUHSVGY-D6MFIjXX.js → chunk-HOUHSVGY-Du7Ln4sO.js} +1 -1
- package/web-dist/assets/{chunk-ICXQ74PX-B4YNEdT-.js → chunk-ICXQ74PX-sNRNHZp6.js} +1 -1
- package/web-dist/assets/{chunk-MOJQB5TN-DmeXNe3e.js → chunk-MOJQB5TN-BsgPysrE.js} +1 -1
- package/web-dist/assets/{chunk-OGEWGWER-DOiD4wAh.js → chunk-OGEWGWER-DZ288hvO.js} +1 -1
- package/web-dist/assets/{chunk-PUDLZKDR-1SEr54_e.js → chunk-PUDLZKDR-DuU7e-Sm.js} +1 -1
- package/web-dist/assets/{chunk-Q4XR5HBZ-CyWVwYh2.js → chunk-Q4XR5HBZ-BO2aVRAy.js} +1 -1
- package/web-dist/assets/{chunk-RYQCIY6F-ClBJ_iGr.js → chunk-RYQCIY6F-pQoqlm5b.js} +1 -1
- package/web-dist/assets/{chunk-V7JOEXUC-Bz8VXwYP.js → chunk-V7JOEXUC-DkkQI0OQ.js} +1 -1
- package/web-dist/assets/{chunk-VAUOI2AC-DawR4suA.js → chunk-VAUOI2AC-D3_hzRfs.js} +1 -1
- package/web-dist/assets/{chunk-VR4S4FIN-B-_noBva.js → chunk-VR4S4FIN-BBnj_eoh.js} +1 -1
- package/web-dist/assets/{chunk-WYO6CB5R-DL1c5T7_.js → chunk-WYO6CB5R-BqxQ9C2U.js} +1 -1
- package/web-dist/assets/{chunk-XXDRQBXY-BtfDQurg.js → chunk-XXDRQBXY-i1ZlWoHe.js} +1 -1
- package/web-dist/assets/{chunk-ZGVPDNZ5-Du753kJ-.js → chunk-ZGVPDNZ5-CsZazrsC.js} +1 -1
- package/web-dist/assets/classDiagram-OUVF2IWQ-B-BSDhSx.js +1 -0
- package/web-dist/assets/classDiagram-v2-EOCWNBFH-B-BSDhSx.js +1 -0
- package/web-dist/assets/{cose-bilkent-JH36ORCC-B92GSF8h.js → cose-bilkent-JH36ORCC-BmEzvocR.js} +1 -1
- package/web-dist/assets/{cynefin-VYW2F7L2-K0fFe9n6.js → cynefin-VYW2F7L2-DZw7i9wG.js} +1 -1
- package/web-dist/assets/{cynefinDiagram-TSTJHNR4-DPizF8tw.js → cynefinDiagram-TSTJHNR4-vngpN5Da.js} +1 -1
- package/web-dist/assets/{dagre-VKFMJZFB-CUyDVdiG.js → dagre-VKFMJZFB-DkIdWq34.js} +1 -1
- package/web-dist/assets/{diagram-FQU43EPY-B6T_JCaJ.js → diagram-FQU43EPY-BB6mK3b6.js} +1 -1
- package/web-dist/assets/{diagram-G47NLZAW-CoDvaB51.js → diagram-G47NLZAW-DNs0n26T.js} +1 -1
- package/web-dist/assets/{diagram-NH7WQ7WH-o5OSs1Ze.js → diagram-NH7WQ7WH-DOg3HmEF.js} +1 -1
- package/web-dist/assets/{diagram-OA4YK3LP-CZLlB0ak.js → diagram-OA4YK3LP-BVKuqpaY.js} +1 -1
- package/web-dist/assets/{diagram-WEI45ONY-2VF6u7pk.js → diagram-WEI45ONY-BVnqmqct.js} +1 -1
- package/web-dist/assets/{dist-C2Rccr_W.js → dist-DuviCA4e.js} +1 -1
- package/web-dist/assets/{ebnfDiagram-CCIWWBDH-D9GSCcoU.js → ebnfDiagram-CCIWWBDH-BrqvjM1n.js} +1 -1
- package/web-dist/assets/{erDiagram-Q63AITRT-BLwWP_S8.js → erDiagram-Q63AITRT-Du1wclw9.js} +1 -1
- package/web-dist/assets/eventmodeling-45OFAUF4-BPCrKw7m.js +1 -0
- package/web-dist/assets/flowDiagram-23GEKE2U-AA0QqWn2.js +1 -0
- package/web-dist/assets/{ganttDiagram-NO4QXBWP-BDe4wbPG.js → ganttDiagram-NO4QXBWP-CSiHPJrQ.js} +1 -1
- package/web-dist/assets/{gitGraph-TEB2WS4Q-DtGgkTGs.js → gitGraph-TEB2WS4Q-7-fFcwxj.js} +1 -1
- package/web-dist/assets/{gitGraphDiagram-IHSO6WYX-Cz2LctIP.js → gitGraphDiagram-IHSO6WYX-CElQAu0f.js} +1 -1
- package/web-dist/assets/index-BWqGEWRg.js +330 -0
- package/web-dist/assets/index-W88ZnKOr.css +2 -0
- package/web-dist/assets/{info-DKCQHKI2-Crwk5sJH.js → info-DKCQHKI2-CXWr1yIe.js} +1 -1
- package/web-dist/assets/{infoDiagram-FWYZ7A6U-DkHHoxhz.js → infoDiagram-FWYZ7A6U-gN_v0GbL.js} +1 -1
- package/web-dist/assets/{ishikawaDiagram-FXEZZL3T-CXMQf65c.js → ishikawaDiagram-FXEZZL3T-je5d5eKU.js} +1 -1
- package/web-dist/assets/{journeyDiagram-5HDEW3XC-BMdDsuH7.js → journeyDiagram-5HDEW3XC-CybyC_OE.js} +1 -1
- package/web-dist/assets/{kanban-definition-HUTT4EX6-BLp4VuCG.js → kanban-definition-HUTT4EX6-DthSkUsp.js} +1 -1
- package/web-dist/assets/{line-DOl515UP.js → line-C6dQfGfT.js} +1 -1
- package/web-dist/assets/{linear-DXvWeSoC.js → linear-zrRCwmn0.js} +1 -1
- package/web-dist/assets/{mermaid-parser.core-CqGam-b6.js → mermaid-parser.core-DGsIiQR5.js} +3 -3
- package/web-dist/assets/{mermaid.core-DawC2x_0.js → mermaid.core-Dk0TeuEE.js} +3 -3
- package/web-dist/assets/{mindmap-definition-LN4V7U3C-DlsS0Y-V.js → mindmap-definition-LN4V7U3C-Wo-S6GUr.js} +1 -1
- package/web-dist/assets/{packet-7NZHBO7P-CmlVYVem.js → packet-7NZHBO7P-BjJcy3q1.js} +1 -1
- package/web-dist/assets/{pegDiagram-2B236MQR-Cx0g5nsx.js → pegDiagram-2B236MQR-BBD9ezK8.js} +1 -1
- package/web-dist/assets/{pie-RZYD4A2V-C0PsjAlT.js → pie-RZYD4A2V-B9UJsCc6.js} +1 -1
- package/web-dist/assets/{pieDiagram-ENE6RG2P-CSuFf6VT.js → pieDiagram-ENE6RG2P-DvLH3PU6.js} +1 -1
- package/web-dist/assets/{quadrantDiagram-ABIIQ3AL-CuQtvBia.js → quadrantDiagram-ABIIQ3AL-BwC1BKho.js} +1 -1
- package/web-dist/assets/{radar-I7S5WNFK-gk0WSCd9.js → radar-I7S5WNFK-BziFtIY8.js} +1 -1
- package/web-dist/assets/{railroad-3IZDKUUU-CovQLWaQ.js → railroad-3IZDKUUU-DPD8gyCw.js} +1 -1
- package/web-dist/assets/railroad-abnf-AHOZXSZD-C6wFrQk2.js +1 -0
- package/web-dist/assets/railroad-ebnf-EBAXGLYW-yv1OIO4r.js +1 -0
- package/web-dist/assets/railroad-peg-LSFZ7HO6-BNocqLQb.js +1 -0
- package/web-dist/assets/{railroadDiagram-RFXS5EU6-RU1nu6mz.js → railroadDiagram-RFXS5EU6-DkS_57bW.js} +1 -1
- package/web-dist/assets/{requirementDiagram-TGXJPOKE-VoYjpOAN.js → requirementDiagram-TGXJPOKE-DT4YnV0v.js} +1 -1
- package/web-dist/assets/{sankeyDiagram-HTMAVEWB-DOVqKs1B.js → sankeyDiagram-HTMAVEWB-DMhUiLXu.js} +1 -1
- package/web-dist/assets/{sequenceDiagram-DBY2YBRQ-DWMCuKM1.js → sequenceDiagram-DBY2YBRQ-BzyFG5mU.js} +1 -1
- package/web-dist/assets/{src-T1UUKJjT.js → src-Bpw4w4N9.js} +1 -1
- package/web-dist/assets/{stateDiagram-2N3HPSRC-mvFnj-9X.js → stateDiagram-2N3HPSRC-DI7bXIvV.js} +1 -1
- package/web-dist/assets/stateDiagram-v2-6OUMAXLB-BnPQRodM.js +1 -0
- package/web-dist/assets/{swimlanes-5IMT3BWC-kRCjOJ75.js → swimlanes-5IMT3BWC-ocEwjrkf.js} +1 -1
- package/web-dist/assets/swimlanesDiagram-G3AALYLV-Cmi6u5Ox.js +8 -0
- package/web-dist/assets/{timeline-definition-FHXFAJF6-Z8oX_ic6.js → timeline-definition-FHXFAJF6-Cx606xig.js} +1 -1
- package/web-dist/assets/{treeView-QDETBFTQ-BNFv3tbG.js → treeView-QDETBFTQ-BBjaqvh7.js} +1 -1
- package/web-dist/assets/{treemap-6X3UGDF4-DFxnrL9n.js → treemap-6X3UGDF4-Bn8fQ4vt.js} +1 -1
- package/web-dist/assets/{vennDiagram-L72KCM5P-rBeP_pn_.js → vennDiagram-L72KCM5P-DaKXvRdc.js} +1 -1
- package/web-dist/assets/{wardley-OPB4EBWU-BovK6GPr.js → wardley-OPB4EBWU-CK6Oy13G.js} +1 -1
- package/web-dist/assets/{wardleyDiagram-EHGQE667-B1yRRFsz.js → wardleyDiagram-EHGQE667-esMnbbXF.js} +1 -1
- package/web-dist/assets/{xychartDiagram-FW5EYKEG-IShFUxtM.js → xychartDiagram-FW5EYKEG-D3DoqcNr.js} +1 -1
- package/web-dist/index.html +2 -2
- package/web-dist/assets/architecture-TIHT7OUA-BxHw4J0J.js +0 -1
- package/web-dist/assets/channel-CgUG0O7S.js +0 -1
- package/web-dist/assets/classDiagram-OUVF2IWQ-CpxiJqgs.js +0 -1
- package/web-dist/assets/classDiagram-v2-EOCWNBFH-CpxiJqgs.js +0 -1
- package/web-dist/assets/eventmodeling-45OFAUF4-C-XvAPEG.js +0 -1
- package/web-dist/assets/flowDiagram-23GEKE2U-DYBwekLd.js +0 -1
- package/web-dist/assets/index-B9jaLEKn.js +0 -330
- package/web-dist/assets/index-Dubos_kO.css +0 -2
- package/web-dist/assets/railroad-abnf-AHOZXSZD-DSq7zK8A.js +0 -1
- package/web-dist/assets/railroad-ebnf-EBAXGLYW-icFIsnio.js +0 -1
- package/web-dist/assets/railroad-peg-LSFZ7HO6-Csep5xwu.js +0 -1
- package/web-dist/assets/stateDiagram-v2-6OUMAXLB-BkzW7JgJ.js +0 -1
- package/web-dist/assets/swimlanesDiagram-G3AALYLV-mE9The3K.js +0 -8
package/package.json
CHANGED
|
@@ -595,10 +595,13 @@ const ASK = {
|
|
|
595
595
|
"ASKING DOES NOT END YOUR TURN. A question waits on a person, so it carries no timeout and expires " +
|
|
596
596
|
"never — but you keep working. Do everything that does NOT depend on the answer first, and register " +
|
|
597
597
|
"the question at the moment you find it rather than saving it for the end.\n\n" +
|
|
598
|
-
"AND WHEN YOU DO STOP, THE
|
|
599
|
-
"
|
|
600
|
-
"
|
|
601
|
-
"
|
|
598
|
+
"AND WHEN YOU DO STOP, THE QUESTION IS THAT REST'S SIGN-OFF — rest normally. Frizz draws the card " +
|
|
599
|
+
"at the rest that asked it whether you mention it or not, so nothing you write can hide one. The " +
|
|
600
|
+
"card draws itself at the tail of the rest the question was asked — never write the question into " +
|
|
601
|
+
"your handoff (one question, one card). AT EVERY LATER REST it is no longer your sign-off and frizz " +
|
|
602
|
+
"does not redraw it under your newer handoff: name it under `questions:` in an ```awaiting fence " +
|
|
603
|
+
"while you still need the answer (its card is drawn there), or withdraw it with `unask`. TO PLACE IT " +
|
|
604
|
+
"INSIDE YOUR PROSE instead, write " +
|
|
602
605
|
"an EMPTY fence naming the id this tool returned — ```question qst_ab12cd34 on one line, ``` on " +
|
|
603
606
|
"the next — and the card renders there. One marker per question; nothing in the body; placement is " +
|
|
604
607
|
"optional, and every answer of the rest still sends together.\n\n" +
|
|
@@ -847,22 +850,26 @@ async function activity() {
|
|
|
847
850
|
const links = Array.isArray(result?.links) ? result.links : []
|
|
848
851
|
const linksBlock = links.length === 0 ? "" : "\n\nSaved links and files (not running work; remove with unlink):\n" +
|
|
849
852
|
links.map((link) => ` ${link.id} ${link.kind}: ${link.label}\n ${link.target}`).join("\n")
|
|
850
|
-
// THE QUESTIONS
|
|
851
|
-
//
|
|
853
|
+
// THE QUESTIONS GET THEIR OWN SECTION, because they are not running work: a question waits on a
|
|
854
|
+
// person. Since 2026-10-05 a fence names the ones still needed under `questions:` (and must name every
|
|
855
|
+
// open one), so the ready-to-paste fence below carries them too.
|
|
852
856
|
const askedBlock = questions.length === 0 ? "" : (
|
|
853
857
|
`\n\n${questions.length} question${questions.length === 1 ? "" : "s"} still owed an answer:\n\n` +
|
|
854
858
|
questions.map((q) => ` question: ${q.id}\n ${String(q?.spec?.question ?? "").replace(/\s+/g, " ").slice(0, 160)}`).join("\n") +
|
|
855
859
|
"\n\nEach one blocks `done` until it is answered or withdrawn, and draws its own card at the rest " +
|
|
856
860
|
"it was asked — never write it into a handoff; an EMPTY ```question fence naming its id places it " +
|
|
857
|
-
"inside your prose. `unask` the ones since decided.
|
|
858
|
-
"
|
|
861
|
+
"inside your prose. `unask` the ones since decided. Any ```awaiting fence names EVERY open one " +
|
|
862
|
+
"under `questions:` or is refused, and at a rest after the one that asked, a question you neither " +
|
|
863
|
+
"name nor withdraw gets you bumped. In a fence: `questions: [" +
|
|
864
|
+
questions.map((q) => q.id).join(", ") + "]`"
|
|
859
865
|
)
|
|
860
866
|
if (!items.length) {
|
|
861
867
|
if (questions.length > 0) {
|
|
862
868
|
return (
|
|
863
869
|
"Nothing is RUNNING on this thread — no background shells, no sub-agents, no armed timers, no " +
|
|
864
|
-
"registered PRs.
|
|
865
|
-
"
|
|
870
|
+
"registered PRs. An ```awaiting fence can still wait on your open questions alone — " +
|
|
871
|
+
"`questions:` names the human as the wait, so it needs no other name and no `for:`." +
|
|
872
|
+
askedBlock + linksBlock
|
|
866
873
|
)
|
|
867
874
|
}
|
|
868
875
|
return (
|
|
@@ -888,6 +895,10 @@ async function activity() {
|
|
|
888
895
|
const block = Object.entries({ shells: byKind.shell, agents: byKind.agent, timers: byKind.timer, prs: byKind.pr, issues: byKind.issue })
|
|
889
896
|
.filter(([, ids]) => ids.length > 0)
|
|
890
897
|
.map(([key, ids]) => ` ${key}: [${ids.join(", ")}]`)
|
|
898
|
+
// Every open question rides the fence too: a fence that leaves one out is refused, and a fence on
|
|
899
|
+
// questions always queues, so its `needs_input:` answer is `true` whatever else it names.
|
|
900
|
+
const questionIds = questions.map((q) => q.id).filter(Boolean)
|
|
901
|
+
if (questionIds.length > 0) block.push(` questions: [${questionIds.join(", ")}]`)
|
|
891
902
|
return (
|
|
892
903
|
`${items.length} thing${items.length === 1 ? "" : "s"} running on this thread:\n\n${lines.join("\n")}\n\n` +
|
|
893
904
|
"Name the ones you are ACTUALLY waiting on in your ```awaiting fence. The frontmatter is YAML — one " +
|
|
@@ -896,7 +907,7 @@ async function activity() {
|
|
|
896
907
|
"out of their queue and needs no prose at all; `needs_input: true` puts it in their queue, with what " +
|
|
897
908
|
"to look at BELOW a `---` line (there is no `reason:` key).\n\nEverything above, as a fence:\n\n" +
|
|
898
909
|
"```awaiting\n" +
|
|
899
|
-
`${block.join("\n")}\n needs_input: false\n for: 2h\n` +
|
|
910
|
+
`${block.join("\n")}\n needs_input: ${questionIds.length > 0 ? "true" : "false"}\n for: 2h\n` +
|
|
900
911
|
"```\n\nDrop the lines you are not actually waiting on — a dev server you left running is not a wait." +
|
|
901
912
|
"\n\nA `watch` registration (marked `[watched as …]` above) keeps the WAKE across a compaction and a " +
|
|
902
913
|
"restart, but it does not replace the fence: name the work in the fence all the same." +
|
package/web-dist/assets/{abnfDiagram-VRR7QNED-CPgDRCPL.js → abnfDiagram-VRR7QNED-NqOfYLl_.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-DGsIiQR5.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as r}from"./src-Bpw4w4N9.js";import"./chunk-WYO6CB5R-BqxQ9C2U.js";import"./chunk-VAUOI2AC-D3_hzRfs.js";import{n as i,r as a,t as o}from"./chunk-MOJQB5TN-BsgPysrE.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=n(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=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 l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"./path-BWPyau1x.js";import{a as n,c as r,d as i,f as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,u as p}from"./dist-
|
|
1
|
+
import{n as e,t}from"./path-BWPyau1x.js";import{a as n,c as r,d as i,f as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,u as p}from"./dist-DuviCA4e.js";function m(e){return e.innerRadius}function h(e){return e.outerRadius}function g(e){return e.startAngle}function _(e){return e.endAngle}function v(e){return e&&e.padAngle}function y(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function b(e,t,n,r,i,a,o){var c=e-n,l=t-r,u=(o?a:-a)/d(c*c+l*l),f=u*l,p=-u*c,m=e+f,h=t+p,g=n+f,_=r+p,v=(m+g)/2,y=(h+_)/2,b=g-m,x=_-h,S=b*b+x*x,C=i-a,w=m*_-g*h,T=(x<0?-1:1)*d(s(0,C*C*S-w*w)),E=(w*x-b*T)/S,D=(-w*b-x*T)/S,O=(w*x+b*T)/S,k=(-w*b+x*T)/S,A=E-v,j=D-y,M=O-v,N=k-y;return A*A+j*j>M*M+N*N&&(E=O,D=k),{cx:E,cy:D,x01:-f,y01:-p,x11:E*(i/C-1),y11:D*(i/C-1)}}function x(){var s=m,x=h,S=e(0),C=null,w=g,T=_,E=v,D=null,O=t(k);function k(){var e,t,m=+s.apply(this,arguments),h=+x.apply(this,arguments),g=w.apply(this,arguments)-r,_=T.apply(this,arguments)-r,v=l(_-g),k=_>g;if(D||=e=O(),h<m&&(t=h,h=m,m=t),!(h>1e-12))D.moveTo(0,0);else if(v>c-1e-12)D.moveTo(h*u(g),h*a(g)),D.arc(0,0,h,g,_,!k),m>1e-12&&(D.moveTo(m*u(_),m*a(_)),D.arc(0,0,m,_,g,k));else{var A=g,j=_,M=g,N=_,P=v,F=v,I=E.apply(this,arguments)/2,L=I>1e-12&&(C?+C.apply(this,arguments):d(m*m+h*h)),R=p(l(h-m)/2,+S.apply(this,arguments)),z=R,B=R,V,H;if(L>1e-12){var U=o(L/m*a(I)),W=o(L/h*a(I));(P-=U*2)>1e-12?(U*=k?1:-1,M+=U,N-=U):(P=0,M=N=(g+_)/2),(F-=W*2)>1e-12?(W*=k?1:-1,A+=W,j-=W):(F=0,A=j=(g+_)/2)}var G=h*u(A),K=h*a(A),q=m*u(N),J=m*a(N);if(R>1e-12){var Y=h*u(j),X=h*a(j),Z=m*u(M),Q=m*a(M),$;if(v<i)if($=y(G,K,Z,Q,Y,X,q,J)){var ee=G-$[0],te=K-$[1],ne=Y-$[0],re=X-$[1],ie=1/a(f((ee*ne+te*re)/(d(ee*ee+te*te)*d(ne*ne+re*re)))/2),ae=d($[0]*$[0]+$[1]*$[1]);z=p(R,(m-ae)/(ie-1)),B=p(R,(h-ae)/(ie+1))}else z=B=0}F>1e-12?B>1e-12?(V=b(Z,Q,G,K,h,B,k),H=b(Y,X,q,J,h,B,k),D.moveTo(V.cx+V.x01,V.cy+V.y01),B<R?D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,h,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),!k),D.arc(H.cx,H.cy,B,n(H.y11,H.x11),n(H.y01,H.x01),!k))):(D.moveTo(G,K),D.arc(0,0,h,A,j,!k)):D.moveTo(G,K),!(m>1e-12)||!(P>1e-12)?D.lineTo(q,J):z>1e-12?(V=b(q,J,Y,X,m,-z,k),H=b(G,K,Z,Q,m,-z,k),D.lineTo(V.cx+V.x01,V.cy+V.y01),z<R?D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,m,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),k),D.arc(H.cx,H.cy,z,n(H.y11,H.x11),n(H.y01,H.x01),!k))):D.arc(0,0,m,N,M,k)}if(D.closePath(),e)return D=null,e+``||null}return k.centroid=function(){var e=(+s.apply(this,arguments)+ +x.apply(this,arguments))/2,t=(+w.apply(this,arguments)+ +T.apply(this,arguments))/2-i/2;return[u(t)*e,a(t)*e]},k.innerRadius=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),k):s},k.outerRadius=function(t){return arguments.length?(x=typeof t==`function`?t:e(+t),k):x},k.cornerRadius=function(t){return arguments.length?(S=typeof t==`function`?t:e(+t),k):S},k.padRadius=function(t){return arguments.length?(C=t==null?null:typeof t==`function`?t:e(+t),k):C},k.startAngle=function(t){return arguments.length?(w=typeof t==`function`?t:e(+t),k):w},k.endAngle=function(t){return arguments.length?(T=typeof t==`function`?t:e(+t),k):T},k.padAngle=function(t){return arguments.length?(E=typeof t==`function`?t:e(+t),k):E},k.context=function(e){return arguments.length?(D=e??null,k):D},k}export{x as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-BfrZ3jm6.js";import{M as e}from"./mermaid-parser.core-DGsIiQR5.js";export{e as createArchitectureServices};
|