frizz-server 0.15.61 → 0.15.63
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 +16723 -17586
- package/dist/dev-child.js +22824 -20206
- package/package.json +1 -1
- package/runtime/cc-worker/hooks/deny-ask.mjs +1 -1
- package/runtime/cc-worker/hooks/session-seed.mjs +1 -1
- package/runtime/cc-worker/lib/frizz-tools.mjs +5 -5
- package/web-dist/assets/{abnfDiagram-VCTEODGH-D0SrNbkJ.js → abnfDiagram-VCTEODGH-CJ9DY67I.js} +1 -1
- package/web-dist/assets/architecture-7GRP2DOG-CQLKjTke.js +1 -0
- package/web-dist/assets/{architectureDiagram-5GKGNRK7-BU7TRvZQ.js → architectureDiagram-5GKGNRK7-DRM8-zOu.js} +1 -1
- package/web-dist/assets/{blockDiagram-I7D4REHJ-Dr4BLh_6.js → blockDiagram-I7D4REHJ-DNjmHPSZ.js} +1 -1
- package/web-dist/assets/{c4Diagram-7LVT6UL2-HfvMIAbc.js → c4Diagram-7LVT6UL2-Dz9J-TTp.js} +1 -1
- package/web-dist/assets/channel-CF0ISgB3.js +1 -0
- package/web-dist/assets/{chunk-2E4U76K2-BYSN7I7E.js → chunk-2E4U76K2-BPsB3sRI.js} +1 -1
- package/web-dist/assets/{chunk-4HAMMTFA-CLBDr3II.js → chunk-4HAMMTFA-NHElOJMR.js} +1 -1
- package/web-dist/assets/{chunk-75Z2AOVW-0J0HNJlm.js → chunk-75Z2AOVW-Brw7EmiG.js} +1 -1
- package/web-dist/assets/{chunk-CLGD4ZFX-D9h2nYEx.js → chunk-CLGD4ZFX-BNp8YhnD.js} +1 -1
- package/web-dist/assets/{chunk-DU6HZSFF-SwKv8JqJ.js → chunk-DU6HZSFF-DyPlNm7J.js} +1 -1
- package/web-dist/assets/{chunk-F27PBJKO-CfJIiTtI.js → chunk-F27PBJKO-BCONkN6p.js} +1 -1
- package/web-dist/assets/{chunk-GMAD6QVW-DSmWAwgs.js → chunk-GMAD6QVW-DbFBBOx6.js} +1 -1
- package/web-dist/assets/{chunk-GVQU2GXP-DDnxTR2I.js → chunk-GVQU2GXP-BZL8UVk_.js} +1 -1
- package/web-dist/assets/{chunk-IMKFNOWR-DtbHfNdw.js → chunk-IMKFNOWR-DNBC3Npf.js} +1 -1
- package/web-dist/assets/{chunk-L3NEJ4N5-DHfMKhhU.js → chunk-L3NEJ4N5-pTT6R-Eu.js} +1 -1
- package/web-dist/assets/{chunk-OSK3NFVY-B9lZMEWn.js → chunk-OSK3NFVY-DhJh3Vid.js} +1 -1
- package/web-dist/assets/{chunk-P2QGCYS3-JCMPKq0I.js → chunk-P2QGCYS3-CWok-LvO.js} +1 -1
- package/web-dist/assets/{chunk-POPQ4Y6H-EtyFPch1.js → chunk-POPQ4Y6H-CWc6iGW-.js} +1 -1
- package/web-dist/assets/{chunk-PWAF6VOD-D8ldhTMH.js → chunk-PWAF6VOD-DkXvdk8S.js} +1 -1
- package/web-dist/assets/{chunk-SHT3W25Y-CIyV9BHE.js → chunk-SHT3W25Y-DWMGbqb_.js} +1 -1
- package/web-dist/assets/{chunk-SVP7TREG-Bd3EBJ5S.js → chunk-SVP7TREG-LcbJaowy.js} +1 -1
- package/web-dist/assets/{chunk-TICWLB2K-9qWCwEww.js → chunk-TICWLB2K-BxiaZoIt.js} +1 -1
- package/web-dist/assets/{chunk-TLUHSLCS-CQovB6TN.js → chunk-TLUHSLCS-bJGTUnJT.js} +2 -2
- package/web-dist/assets/classDiagram-ZZMXUADV-DN0vKKhs.js +1 -0
- package/web-dist/assets/classDiagram-v2-VYDZK3BY-DN0vKKhs.js +1 -0
- package/web-dist/assets/{cynefin-OW5HDTMX-DZVn-34Q.js → cynefin-OW5HDTMX-BOKyDT0B.js} +1 -1
- package/web-dist/assets/{cynefinDiagram-5FMLGOSQ-CsrVP8pT.js → cynefinDiagram-5FMLGOSQ-BYgd80zj.js} +1 -1
- package/web-dist/assets/{dagre-GXQ25YYZ-DhWL88je.js → dagre-GXQ25YYZ-UKxnfAQZ.js} +1 -1
- package/web-dist/assets/{diagram-S7CK7UJ4-BsUcwpFW.js → diagram-S7CK7UJ4-POdoYLe9.js} +1 -1
- package/web-dist/assets/{diagram-UQ7AKVKN-BHzgvCTC.js → diagram-UQ7AKVKN-B2ervceJ.js} +1 -1
- package/web-dist/assets/{diagram-VSXAHHWV-CIcmeJzv.js → diagram-VSXAHHWV-RV0WG_Vh.js} +1 -1
- package/web-dist/assets/{diagram-VX7I27RA-B-XLFpSP.js → diagram-VX7I27RA-DNFAC4Mo.js} +1 -1
- package/web-dist/assets/{diagram-Z3DM3KII-Dnhhim_V.js → diagram-Z3DM3KII-DBbaSMbG.js} +1 -1
- package/web-dist/assets/{ebnfDiagram-PWID7BFC-o31sO5TI.js → ebnfDiagram-PWID7BFC-nUP2mVRG.js} +1 -1
- package/web-dist/assets/{erDiagram-RLTQ6QDP-B_uM0QcU.js → erDiagram-RLTQ6QDP-CX2-ZFwk.js} +1 -1
- package/web-dist/assets/eventmodeling-NTZA5JFV-CsTmGcSv.js +1 -0
- package/web-dist/assets/flowDiagram-HODETNUW-C-xVGGSk.js +1 -0
- package/web-dist/assets/{ganttDiagram-EL5Y4UJY-h8SKqsXp.js → ganttDiagram-EL5Y4UJY-CMdxpgt0.js} +1 -1
- package/web-dist/assets/{gitGraph-4MIJSDKK-BHLAa0dz.js → gitGraph-4MIJSDKK-UdI0LKxb.js} +1 -1
- package/web-dist/assets/{gitGraphDiagram-WWUBYQGX-C2MvGOM9.js → gitGraphDiagram-WWUBYQGX-CJLoNdf2.js} +1 -1
- package/web-dist/assets/index-C73MQv-A.js +262 -0
- package/web-dist/assets/index-DC88IHP5.css +2 -0
- package/web-dist/assets/{info-A6RAGUB7-CBghe2wv.js → info-A6RAGUB7-CxnQJxLm.js} +1 -1
- package/web-dist/assets/{infoDiagram-27XIBGKW-nJnhZgd0.js → infoDiagram-27XIBGKW-HVKt8WDS.js} +1 -1
- package/web-dist/assets/{ishikawaDiagram-5VMMS53U-BkqGxexK.js → ishikawaDiagram-5VMMS53U-DI0M5sb-.js} +1 -1
- package/web-dist/assets/{journeyDiagram-3NMN7TZE-CiJPMysM.js → journeyDiagram-3NMN7TZE-B2GBTQj8.js} +1 -1
- package/web-dist/assets/{kanban-definition-UXKFOSKX-CbwKqEiz.js → kanban-definition-UXKFOSKX-BCMomB_2.js} +1 -1
- package/web-dist/assets/{line-DrgOlNEE.js → line-MCY_uLZm.js} +1 -1
- package/web-dist/assets/{mermaid-parser.core-Mqi5QuHA.js → mermaid-parser.core-DTKPYi2J.js} +3 -3
- package/web-dist/assets/{mermaid.core-DwKUlFqD.js → mermaid.core-DAYSZV3J.js} +3 -3
- package/web-dist/assets/{mindmap-definition-YA3MSWOX-CIeNKhqA.js → mindmap-definition-YA3MSWOX-DDyg0vDb.js} +1 -1
- package/web-dist/assets/{packet-AYTQ26CC-CVRBIPRQ.js → packet-AYTQ26CC-ByyMe2pH.js} +1 -1
- package/web-dist/assets/{pegDiagram-XKGWAZYB-ufvPkIO8.js → pegDiagram-XKGWAZYB-DnWoyrgK.js} +1 -1
- package/web-dist/assets/{pie-WAS4IAKB-DcLb2hxR.js → pie-WAS4IAKB-BI7-FKCx.js} +1 -1
- package/web-dist/assets/{pieDiagram-E7YTZNPT-C0C-XBir.js → pieDiagram-E7YTZNPT-BN6SWotB.js} +1 -1
- package/web-dist/assets/{quadrantDiagram-AXDQQJYC-BCpaAJvs.js → quadrantDiagram-AXDQQJYC-QKDpcrgh.js} +1 -1
- package/web-dist/assets/{radar-RG4KPBEZ-Dy-O5BbV.js → radar-RG4KPBEZ-B5iqAJfo.js} +1 -1
- package/web-dist/assets/{railroad-74A4TZTK-tTNsV2M_.js → railroad-74A4TZTK-CblcgEJv.js} +1 -1
- package/web-dist/assets/railroad-abnf-HS5TGJTU-Briaj5gq.js +1 -0
- package/web-dist/assets/railroad-ebnf-LZEXJU2U-vCfM8ZS4.js +1 -0
- package/web-dist/assets/railroad-peg-WCYAUIDC-BXkNOypp.js +1 -0
- package/web-dist/assets/{railroadDiagram-O6MQD6OU-B1j9pQFq.js → railroadDiagram-O6MQD6OU-BIaxvbGE.js} +1 -1
- package/web-dist/assets/{requirementDiagram-BXWQKSXE-0dgOJLF9.js → requirementDiagram-BXWQKSXE-ys-OBQpS.js} +1 -1
- package/web-dist/assets/{sankeyDiagram-P5KCCOFB-DRb1w1ib.js → sankeyDiagram-P5KCCOFB-DPLCMgnR.js} +1 -1
- package/web-dist/assets/{sequenceDiagram-WJ2MYXX4-CsqEg1_2.js → sequenceDiagram-WJ2MYXX4-DxGzvovq.js} +1 -1
- package/web-dist/assets/{stateDiagram-D77RDMKH-CObRpScl.js → stateDiagram-D77RDMKH-TlJA-aW6.js} +1 -1
- package/web-dist/assets/stateDiagram-v2-MP3YSRHH-BIvvxNxn.js +1 -0
- package/web-dist/assets/{swimlanes-42K2YHIH-XBoupwXC.js → swimlanes-42K2YHIH-CEtwhIRy.js} +1 -1
- package/web-dist/assets/swimlanesDiagram-VR7AAH4N-Dy_0ufxt.js +8 -0
- package/web-dist/assets/threadSurfaces-DXKHZ7Ci.js +140 -0
- package/web-dist/assets/{timeline-definition-24CTP7MA-DVRZabSi.js → timeline-definition-24CTP7MA-Cgp09gy-.js} +1 -1
- package/web-dist/assets/{treeView-Q6P3EWNA-Do8XE_Xj.js → treeView-Q6P3EWNA-BtzFipdV.js} +1 -1
- package/web-dist/assets/{treemap-WGGIJYW6-CALC32-8.js → treemap-WGGIJYW6-b7alBdhh.js} +1 -1
- package/web-dist/assets/{vennDiagram-4TSXK5OY-cfXpLBgH.js → vennDiagram-4TSXK5OY-D8ap0toR.js} +1 -1
- package/web-dist/assets/{wardley-WFR3VGLG-5TUt4cjk.js → wardley-WFR3VGLG-BFeDzhb0.js} +1 -1
- package/web-dist/assets/{wardleyDiagram-VM6X3IG4-D0-kJXri.js → wardleyDiagram-VM6X3IG4-ZoCDFcAK.js} +1 -1
- package/web-dist/assets/{xychartDiagram-S5SC5T6Z-C-rDfQlr.js → xychartDiagram-S5SC5T6Z-D1bLKZ_Z.js} +1 -1
- package/web-dist/index.html +2 -2
- package/web-dist/assets/architecture-7GRP2DOG-DIU5F6zk.js +0 -1
- package/web-dist/assets/channel-B6YILRFT.js +0 -1
- package/web-dist/assets/classDiagram-ZZMXUADV-JBZ700Dy.js +0 -1
- package/web-dist/assets/classDiagram-v2-VYDZK3BY-JBZ700Dy.js +0 -1
- package/web-dist/assets/eventmodeling-NTZA5JFV-BWDdowu3.js +0 -1
- package/web-dist/assets/flowDiagram-HODETNUW-DuHqUsOm.js +0 -1
- package/web-dist/assets/index-BytW7hzV.css +0 -2
- package/web-dist/assets/index-DSbOAssA.js +0 -262
- package/web-dist/assets/railroad-abnf-HS5TGJTU-eHslpV8G.js +0 -1
- package/web-dist/assets/railroad-ebnf-LZEXJU2U-CJ_yXDAW.js +0 -1
- package/web-dist/assets/railroad-peg-WCYAUIDC-DtrITDUL.js +0 -1
- package/web-dist/assets/stateDiagram-v2-MP3YSRHH-Cbx23E0g.js +0 -1
- package/web-dist/assets/swimlanesDiagram-VR7AAH4N-BNbK4Vi8.js +0 -8
- package/web-dist/assets/threadSurfaces-Xsgo03Re.js +0 -141
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@ process.stdout.write(
|
|
|
32
32
|
hookEventName: 'PreToolUse',
|
|
33
33
|
permissionDecision: 'deny',
|
|
34
34
|
permissionDecisionReason:
|
|
35
|
-
'Interactive prompts freeze headless workers (no one is at the keyboard to answer). Ask it in a ```question fence in your own message instead: `id:` (a slug of your choosing), `kind:` (`choice`, `multi`, `text` or `secret`), a one-line `question:`, and `options:` as `- label:` items with a one-line `description:` each in sentence case, the recommended one first with `recommended: true
|
|
35
|
+
'Interactive prompts freeze headless workers (no one is at the keyboard to answer). Ask it in a ```question fence in your own message instead: `id:` (a slug of your choosing), `kind:` (`choice`, `multi`, `text` or `secret`), a one-line `question:`, and `options:` as `- label:` items with a one-line `description:` each in sentence case, the recommended one first with `recommended: true` and its description saying why it beats the others; context for the human goes below a `---` line, in any Markdown. One fence per question, each self-contained, written actor-explicit — never "I" or "you", which flip meaning when the human clicks an option. Frizz registers it when your message lands and draws its card where you wrote it (`frizzctl ask --help` shows the whole grammar). Asking does not end your turn — keep doing what does not depend on the answer, then rest normally: the question IS the handback (no done fence beside it, and do NOT invoke this tool again). The answer arrives as your next user message.',
|
|
36
36
|
},
|
|
37
37
|
}),
|
|
38
38
|
);
|
|
@@ -72,7 +72,7 @@ const scratch = scratchDirLabel(dir, sid ?? '<session-id>') ?? 'the scratch dire
|
|
|
72
72
|
// prompt. Trimmed 2026-08-26 (maintainer: "Definitely trim the session seed hook if it's fully
|
|
73
73
|
// repetitive") as part of cutting the per-session token overhead Frizz adds over a plain TUI session.
|
|
74
74
|
const core =
|
|
75
|
-
'⟦frizz worker contract⟧ You are a frizz WORKER driving EXACTLY ONE effort. Your FULL operating contract — the end-of-turn signal fences (```done / ```awaiting), the ```question fence that asks the human (a new `id:` registers a question where you write it; an `id:` alone references one you asked before), the scratch-directory rules, the sub-agent rules, the question handback and the stop criterion — lives in your SYSTEM PROMPT; follow it there. SIGN OFF
|
|
75
|
+
'⟦frizz worker contract⟧ You are a frizz WORKER driving EXACTLY ONE effort. Your FULL operating contract — the end-of-turn signal fences (```done / ```awaiting), the ```question fence that asks the human (a new `id:` registers a question where you write it; an `id:` alone references one you asked before), the scratch-directory rules, the sub-agent rules, the question handback and the stop criterion — lives in your SYSTEM PROMPT; follow it there. ALWAYS SIGN OFF — a fence OR a registration (`frizzctl done`, or a question you ask or reference at this rest, which is the sign-off: rest normally). A rest on running work takes the ```awaiting fence with `status: working|watching|needs_input` — `working` and `watching` are quiet parks and need no write-up.\n' +
|
|
76
76
|
'SCRATCH DIRECTORY (OPTIONAL): `' + scratch + '` — a folder kept FOR YOU, nothing in it read automatically, never a substitute for doing the work. Give each sub-agent its OWN file rather than a shared one.';
|
|
77
77
|
|
|
78
78
|
const grounding =
|
|
@@ -555,10 +555,10 @@ const ASK_RETIRED =
|
|
|
555
555
|
"question: Should the settings store use SQLite or a JSON file?\n" +
|
|
556
556
|
"options:\n" +
|
|
557
557
|
" - label: SQLite\n" +
|
|
558
|
-
" description:
|
|
558
|
+
" description: Every worker writes settings at once, and only SQLite survives a crash mid-write\n" +
|
|
559
559
|
" recommended: true\n" +
|
|
560
560
|
" - label: JSON file\n" +
|
|
561
|
-
" description: No dependency
|
|
561
|
+
" description: No dependency and hand-editable, but the last of two concurrent writes wins\n" +
|
|
562
562
|
"---\n" +
|
|
563
563
|
"Optional context, in any Markdown: a table, a diff, a callout, a <details> section.\n" +
|
|
564
564
|
"```\n\n" +
|
|
@@ -566,7 +566,7 @@ const ASK_RETIRED =
|
|
|
566
566
|
"id is free again once its question is answered, withdrawn or dismissed.\n" +
|
|
567
567
|
"- `kind:` is `choice` (pick one), `multi` (pick several), `text` (free text) or `secret` (one masked " +
|
|
568
568
|
"box, for a token or a one-time code).\n" +
|
|
569
|
-
"- `question:` is one line. Each option takes `label:`, `description:` (one line, in sentence case), `recommended: true` " +
|
|
569
|
+
"- `question:` is one line. Each option takes `label:`, `description:` (one line, in sentence case; on the recommended option, why it wins), `recommended: true` " +
|
|
570
570
|
"and `detail: |` (an indented Markdown block). The question may also carry `danger: true`.\n" +
|
|
571
571
|
"- Every value is read verbatim to the end of its line. A code block inside the fence needs a longer " +
|
|
572
572
|
"outer fence (````question).\n" +
|
|
@@ -1481,8 +1481,8 @@ async function activity() {
|
|
|
1481
1481
|
return (
|
|
1482
1482
|
"Nothing is running on this thread — no background shells, no sub-agents, no armed timers, no " +
|
|
1483
1483
|
"registered PRs, and no open questions.\n\nSo there is nothing to wait on: an ```awaiting fence " +
|
|
1484
|
-
"would have nothing to name
|
|
1485
|
-
"
|
|
1484
|
+
"would have nothing to name, and a fence naming nothing is not a park. End with ```done, or " +
|
|
1485
|
+
"ask a ```question if you need the human." + linksBlock
|
|
1486
1486
|
)
|
|
1487
1487
|
}
|
|
1488
1488
|
const lines = items.map((i) => {
|
package/web-dist/assets/{abnfDiagram-VCTEODGH-D0SrNbkJ.js → abnfDiagram-VCTEODGH-CJ9DY67I.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-DTKPYi2J.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as r}from"./src-C4XfhTaE.js";import"./chunk-DU6HZSFF-DyPlNm7J.js";import"./chunk-CLGD4ZFX-BNp8YhnD.js";import{n as i,r as a,t as o}from"./chunk-SVP7TREG-LcbJaowy.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-FOHPRMQF-CyTuVbu3.js";import{M as e}from"./mermaid-parser.core-DTKPYi2J.js";export{e as createArchitectureServices};
|