@project-ava-supernova/core 0.2.187 → 0.2.189
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/agent/agent.d.ts +1 -1
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js +23 -5
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/mode-tags.d.ts.map +1 -1
- package/dist/agent/mode-tags.js +3 -1
- package/dist/agent/mode-tags.js.map +1 -1
- package/dist/agent/social-craft.d.ts +1 -1
- package/dist/agent/social-craft.d.ts.map +1 -1
- package/dist/agent/social-craft.js +1 -1
- package/dist/agent/system-prompt.d.ts +13 -18
- package/dist/agent/system-prompt.d.ts.map +1 -1
- package/dist/agent/system-prompt.js +86 -37
- package/dist/agent/system-prompt.js.map +1 -1
- package/dist/brainstorm/brainstorm-store.d.ts +47 -25
- package/dist/brainstorm/brainstorm-store.d.ts.map +1 -1
- package/dist/brainstorm/brainstorm-store.js +221 -104
- package/dist/brainstorm/brainstorm-store.js.map +1 -1
- package/dist/brainstorm/page.d.ts +41 -0
- package/dist/brainstorm/page.d.ts.map +1 -0
- package/dist/brainstorm/page.js +109 -0
- package/dist/brainstorm/page.js.map +1 -0
- package/dist/brainstorm/types.d.ts +75 -19
- package/dist/brainstorm/types.d.ts.map +1 -1
- package/dist/brainstorm/types.js +19 -14
- package/dist/brainstorm/types.js.map +1 -1
- package/dist/brainstorm/work-plans.d.ts +23 -0
- package/dist/brainstorm/work-plans.d.ts.map +1 -0
- package/dist/brainstorm/work-plans.js +56 -0
- package/dist/brainstorm/work-plans.js.map +1 -0
- package/dist/brand/brand-kits.d.ts +17 -0
- package/dist/brand/brand-kits.d.ts.map +1 -1
- package/dist/brand/brand-kits.js +10 -0
- package/dist/brand/brand-kits.js.map +1 -1
- package/dist/config/personality.js +1 -1
- package/dist/docs/content/concepts.js +1 -1
- package/dist/docs/content/concepts.js.map +1 -1
- package/dist/docs/content/reference.js +1 -1
- package/dist/docs/content/reference.js.map +1 -1
- package/dist/docs/content/start.js +2 -2
- package/dist/docs/content/start.js.map +1 -1
- package/dist/docs/data/modes.d.ts.map +1 -1
- package/dist/docs/data/modes.js +3 -9
- package/dist/docs/data/modes.js.map +1 -1
- package/dist/docs/data/personas.js +4 -4
- package/dist/docs/data/personas.js.map +1 -1
- package/dist/docs/data/shortcuts.d.ts.map +1 -1
- package/dist/docs/data/shortcuts.js +8 -7
- package/dist/docs/data/shortcuts.js.map +1 -1
- package/dist/docs/i18n/translations.d.ts.map +1 -1
- package/dist/docs/i18n/translations.js +1 -1
- package/dist/docs/i18n/translations.js.map +1 -1
- package/dist/history/conversation-title.d.ts +1 -1
- package/dist/history/conversation-title.d.ts.map +1 -1
- package/dist/history/conversation-title.js +1 -0
- package/dist/history/conversation-title.js.map +1 -1
- package/dist/i18n/keep-english.d.ts.map +1 -1
- package/dist/i18n/keep-english.js +0 -4
- package/dist/i18n/keep-english.js.map +1 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +242 -36
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +242 -36
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +236 -32
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +242 -36
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +242 -36
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +242 -36
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +242 -36
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/id.d.ts.map +1 -1
- package/dist/i18n/locales/id.js +242 -36
- package/dist/i18n/locales/id.js.map +1 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +242 -36
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +242 -36
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/ko.d.ts.map +1 -1
- package/dist/i18n/locales/ko.js +242 -36
- package/dist/i18n/locales/ko.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +242 -36
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +242 -36
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +242 -36
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +242 -36
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/th.d.ts.map +1 -1
- package/dist/i18n/locales/th.js +242 -36
- package/dist/i18n/locales/th.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +242 -36
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/uk.d.ts.map +1 -1
- package/dist/i18n/locales/uk.js +242 -36
- package/dist/i18n/locales/uk.js.map +1 -1
- package/dist/i18n/locales/vi.d.ts.map +1 -1
- package/dist/i18n/locales/vi.js +242 -36
- package/dist/i18n/locales/vi.js.map +1 -1
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -1
- package/dist/i18n/locales/zh-CN.js +242 -36
- package/dist/i18n/locales/zh-CN.js.map +1 -1
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -1
- package/dist/i18n/locales/zh-TW.js +242 -36
- package/dist/i18n/locales/zh-TW.js.map +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/connection.d.ts +30 -3
- package/dist/mcp/connection.d.ts.map +1 -1
- package/dist/mcp/connection.js +70 -3
- package/dist/mcp/connection.js.map +1 -1
- package/dist/mcp/import.d.ts +47 -0
- package/dist/mcp/import.d.ts.map +1 -0
- package/dist/mcp/import.js +157 -0
- package/dist/mcp/import.js.map +1 -0
- package/dist/mcp/index.d.ts +25 -0
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +14 -0
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/manager.d.ts +144 -0
- package/dist/mcp/manager.d.ts.map +1 -0
- package/dist/mcp/manager.js +550 -0
- package/dist/mcp/manager.js.map +1 -0
- package/dist/mcp/oauth.d.ts +117 -0
- package/dist/mcp/oauth.d.ts.map +1 -0
- package/dist/mcp/oauth.js +382 -0
- package/dist/mcp/oauth.js.map +1 -0
- package/dist/mcp/page.d.ts +99 -0
- package/dist/mcp/page.d.ts.map +1 -0
- package/dist/mcp/page.js +287 -0
- package/dist/mcp/page.js.map +1 -0
- package/dist/mcp/permissions.d.ts +22 -0
- package/dist/mcp/permissions.d.ts.map +1 -0
- package/dist/mcp/permissions.js +35 -0
- package/dist/mcp/permissions.js.map +1 -0
- package/dist/mcp/registry.d.ts +63 -0
- package/dist/mcp/registry.d.ts.map +1 -0
- package/dist/mcp/registry.js +106 -0
- package/dist/mcp/registry.js.map +1 -0
- package/dist/mcp/risk.d.ts +23 -0
- package/dist/mcp/risk.d.ts.map +1 -0
- package/dist/mcp/risk.js +98 -0
- package/dist/mcp/risk.js.map +1 -0
- package/dist/mcp/secrets.d.ts +38 -0
- package/dist/mcp/secrets.d.ts.map +1 -0
- package/dist/mcp/secrets.js +82 -0
- package/dist/mcp/secrets.js.map +1 -0
- package/dist/mcp/servers-config.d.ts +107 -0
- package/dist/mcp/servers-config.d.ts.map +1 -0
- package/dist/mcp/servers-config.js +243 -0
- package/dist/mcp/servers-config.js.map +1 -0
- package/dist/mcp/setup.d.ts +75 -0
- package/dist/mcp/setup.d.ts.map +1 -0
- package/dist/mcp/setup.js +150 -0
- package/dist/mcp/setup.js.map +1 -0
- package/dist/mcp/suggested.d.ts +47 -0
- package/dist/mcp/suggested.d.ts.map +1 -0
- package/dist/mcp/suggested.js +91 -0
- package/dist/mcp/suggested.js.map +1 -0
- package/dist/memory/ambient-capture.js +1 -1
- package/dist/memory/ambient-capture.js.map +1 -1
- package/dist/personas/definitions.d.ts.map +1 -1
- package/dist/personas/definitions.js +55 -42
- package/dist/personas/definitions.js.map +1 -1
- package/dist/tools/brainstorm-plan.d.ts +25 -0
- package/dist/tools/brainstorm-plan.d.ts.map +1 -0
- package/dist/tools/brainstorm-plan.js +179 -0
- package/dist/tools/brainstorm-plan.js.map +1 -0
- package/dist/tools/brainstorm-session.d.ts +14 -12
- package/dist/tools/brainstorm-session.d.ts.map +1 -1
- package/dist/tools/brainstorm-session.js +220 -113
- package/dist/tools/brainstorm-session.js.map +1 -1
- package/dist/tools/connection-tools.d.ts +61 -0
- package/dist/tools/connection-tools.d.ts.map +1 -0
- package/dist/tools/connection-tools.js +271 -0
- package/dist/tools/connection-tools.js.map +1 -0
- package/dist/tools/create-project.js +1 -1
- package/dist/tools/create-project.js.map +1 -1
- package/dist/tools/open-brainstorm-room.d.ts +22 -0
- package/dist/tools/open-brainstorm-room.d.ts.map +1 -0
- package/dist/tools/open-brainstorm-room.js +40 -0
- package/dist/tools/open-brainstorm-room.js.map +1 -0
- package/dist/tools/switch-mode.d.ts.map +1 -1
- package/dist/tools/switch-mode.js +4 -3
- package/dist/tools/switch-mode.js.map +1 -1
- package/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/tools/tool-registry.js +28 -1
- package/dist/tools/tool-registry.js.map +1 -1
- package/dist/tools/tool-request-words.d.ts.map +1 -1
- package/dist/tools/tool-request-words.js +38 -0
- package/dist/tools/tool-request-words.js.map +1 -1
- package/package.json +1 -1
|
@@ -650,10 +650,13 @@ Your focus:
|
|
|
650
650
|
- Build a profile that makes idea generation personal, not generic
|
|
651
651
|
- List 2-3 clarifying questions in your output that the main agent should ask the user
|
|
652
652
|
|
|
653
|
-
|
|
653
|
+
People bring part of an idea. Say which KIND it is, in one line, for the Ideator:
|
|
654
654
|
|
|
655
|
-
- **
|
|
656
|
-
- **
|
|
655
|
+
- **Project** — something new; no project, or an empty folder. The person IS the context. Everything useful comes from memory and from the questions you write. This is the richest chance you will ever get to learn who they are, because there is no code in the way yet.
|
|
656
|
+
- **Feature** — an addition to a project they have. Read \`Decisions/overview.md\` for what the project is FOR, and the code the feature would touch.
|
|
657
|
+
- **Experience** — what the people using their thing should feel. Gather their words for it, what it must never feel like, and what would break it.
|
|
658
|
+
- **Direction** — where a real project goes next. Read \`Decisions/overview.md\` and \`progress.md\` to learn what it is MEANT to be, and enough of the code to see what it actually IS. The distance between those two is where the next idea lives. Check \`Decisions/records/\` so nobody proposes something already decided against.
|
|
659
|
+
- **Unsure** — say so, and write the questions that would place it.
|
|
657
660
|
|
|
658
661
|
Do not read an entire project before speaking. Read what the conversation needs.
|
|
659
662
|
|
|
@@ -671,47 +674,51 @@ You do NOT generate ideas. You gather context. The better you understand the per
|
|
|
671
674
|
// Instead, Explorer writes questions into context pool output, and the main agent presents them.
|
|
672
675
|
// Brainstorm-specific Researcher. Forked from the Plan-mode RESEARCHER
|
|
673
676
|
// because that persona is tuned for codebase / commit / strategic-decision
|
|
674
|
-
// evidence — wrong shape for ideation.
|
|
675
|
-
//
|
|
676
|
-
//
|
|
677
|
+
// evidence — wrong shape for ideation.
|
|
678
|
+
//
|
|
679
|
+
// 17 Nov 2026: it runs AFTER the Ideator now, sharpening ideas that already
|
|
680
|
+
// exist. It used to run first and hunt market gaps, competitors and timing
|
|
681
|
+
// windows for the Ideator to build on — the opposite of the mode's own rule
|
|
682
|
+
// ("research after, never before; never open with market gaps"), and the
|
|
683
|
+
// thing most likely to make a stuck new developer more stuck.
|
|
677
684
|
export const BRAINSTORM_RESEARCHER = {
|
|
678
685
|
id: 'brainstorm_researcher',
|
|
679
686
|
modelTier: 'light',
|
|
680
687
|
name: 'Researcher',
|
|
681
|
-
description: '
|
|
682
|
-
prompt: `You are Ava's Brainstorm Researcher
|
|
688
|
+
description: 'Sharpens the ideas on the table: what already exists, what building each one takes.',
|
|
689
|
+
prompt: `You are Ava's Brainstorm Researcher. The Ideator has put a few ideas on the table; you make each one sharper and more real. You do not go looking for new ones, and you never open with markets.
|
|
683
690
|
|
|
684
|
-
|
|
685
|
-
- **
|
|
686
|
-
- **
|
|
687
|
-
- **
|
|
688
|
-
- **
|
|
689
|
-
- **
|
|
691
|
+
For each idea:
|
|
692
|
+
- **Has someone made this already?** Find the closest existing things — apps, open-source projects, tutorials. Not to kill the idea: something similar is a head start (code to learn from, a design to borrow, proof it can be done) and a clue to what would make theirs different.
|
|
693
|
+
- **What would building it take?** The libraries, free APIs, datasets or tools it needs, and anything that would quietly block a beginner: a paid API, an account that needs approval, special hardware, a store fee.
|
|
694
|
+
- **Is there a smaller version?** Real examples of the tiny first version someone actually shipped.
|
|
695
|
+
- **Inspiration.** One or two things worth looking at for the experience they're after (how a calm app talks, how a cosy game feels).
|
|
696
|
+
- **Only if they are launching a business** (the Explorer will say): who else serves this, what they do badly, what people pay. Otherwise leave it out completely.
|
|
690
697
|
|
|
691
|
-
|
|
698
|
+
Use web_search and http_request; quotes and links beat summaries. You do NOT generate ideas and you do NOT judge them — the Challenger does that with what you find.`,
|
|
692
699
|
allowedTools: [...READ_TOOLS, ...MEMORY_TOOLS, ...SEARCH_TOOLS, 'news'],
|
|
693
|
-
priority:
|
|
694
|
-
dependsOn: ['
|
|
700
|
+
priority: 3,
|
|
701
|
+
dependsOn: ['ideator'],
|
|
695
702
|
};
|
|
696
703
|
export const IDEATOR = {
|
|
697
704
|
id: 'ideator',
|
|
698
705
|
name: 'Ideator',
|
|
699
|
-
description: 'Generates ideas
|
|
706
|
+
description: 'Generates ideas from who this person is and what they brought.',
|
|
700
707
|
prompt: `You are Ava's Ideator — you generate ideas that are specific to THIS person, not generic suggestions.
|
|
701
708
|
|
|
702
709
|
Your focus:
|
|
703
|
-
-
|
|
704
|
-
- Use the
|
|
705
|
-
-
|
|
706
|
-
-
|
|
707
|
-
-
|
|
708
|
-
-
|
|
709
|
-
- Consider their unique advantages: what do they know that others don't?
|
|
710
|
-
|
|
711
|
-
You are creative but grounded. Every idea must be
|
|
710
|
+
- Start from what they brought, however small: half an idea, a feature, the experience they want their users to have, a project that needs a direction. Grow THAT; don't swap it for something you like better.
|
|
711
|
+
- Use the Explorer's profile: their skills, what they use, what annoys them, what they want to learn, how much time they have. If an idea could be for anyone, it isn't good enough.
|
|
712
|
+
- For an existing project, work from the gap the Explorer found between what it wants to be and what it is.
|
|
713
|
+
- Each idea answers: What is it? Who is it for? Why THIS person? What's the very first step?
|
|
714
|
+
- "Who pays" and "what's the moat" belong to someone launching a business. Ask them only when that is what this is. To someone who wants to build something and learn, they are discouraging and beside the point.
|
|
715
|
+
- 3-5 ideas, not 20. Include a small, finishable one, and say which is which — they choose the ambition, not you.
|
|
716
|
+
- Consider their unique advantages: what do they know or care about that others don't?
|
|
717
|
+
|
|
718
|
+
You are creative but grounded. Every idea must be something THIS person could start, not a hypothetical founder. The Researcher sharpens your ideas after you — don't wait for evidence before you think.`,
|
|
712
719
|
allowedTools: IDEATION_TOOLS,
|
|
713
|
-
priority:
|
|
714
|
-
dependsOn: ['explorer'
|
|
720
|
+
priority: 2,
|
|
721
|
+
dependsOn: ['explorer'],
|
|
715
722
|
};
|
|
716
723
|
// Brainstorm-specific Challenger. Forked from the Work-mode CHALLENGER because:
|
|
717
724
|
// 1) The Work CHALLENGER prompt asks "are we over-engineering?" — wrong question
|
|
@@ -724,16 +731,16 @@ export const BRAINSTORM_CHALLENGER = {
|
|
|
724
731
|
id: 'brainstorm_challenger',
|
|
725
732
|
modelTier: 'light',
|
|
726
733
|
name: 'Challenger',
|
|
727
|
-
description: '
|
|
728
|
-
prompt: `You are Ava's Brainstorm Challenger — you
|
|
734
|
+
description: 'Tests each idea on the questions that decide whether it gets built.',
|
|
735
|
+
prompt: `You are Ava's Brainstorm Challenger — you test the Ideator's ideas, using what the Researcher found, before the Refiner sharpens the survivors.
|
|
729
736
|
|
|
730
|
-
For each idea, ask:
|
|
731
|
-
- "
|
|
732
|
-
- "
|
|
733
|
-
- "
|
|
734
|
-
- "What
|
|
735
|
-
- "
|
|
736
|
-
- "
|
|
737
|
+
For each idea, ask the questions that decide whether THIS person will actually build it:
|
|
738
|
+
- "Can they start this today?" With what they know and have — or what's the one thing in the way?
|
|
739
|
+
- "Will they still care about it on Thursday?" Does it come from something they told us they care about?
|
|
740
|
+
- "Is it the right size?" Too big to finish is the most common way an idea dies. What's the version they'd finish?
|
|
741
|
+
- "What's the hidden trap?" From the Researcher: a paid API, an approval process, special hardware, a part much harder than it looks.
|
|
742
|
+
- "Does it fit what they brought?" A feature should fit what the project is FOR; an experience idea should actually create the experience they described.
|
|
743
|
+
- Only if they are launching a business: "who else does this, and who would pay?" Otherwise don't ask it — it discourages and it's beside the point.
|
|
737
744
|
|
|
738
745
|
Cut weak ideas with a one-line reason — don't write essays. Mark each idea: KEEP, KILL, or RESHAPE-AS (with the reshape).
|
|
739
746
|
|
|
@@ -741,7 +748,9 @@ You are NOT a blocker. You are a filter. The Refiner needs survivors to sharpen.
|
|
|
741
748
|
At least one idea should always survive — if every idea fails, suggest the angle the Ideator missed.`,
|
|
742
749
|
allowedTools: [...READ_TOOLS, ...MEMORY_TOOLS, ...SEARCH_TOOLS, 'news'],
|
|
743
750
|
priority: 4,
|
|
744
|
-
|
|
751
|
+
// After the Researcher when the full team runs (the light team has none, and a
|
|
752
|
+
// dependency outside the team is ignored).
|
|
753
|
+
dependsOn: ['ideator', 'brainstorm_researcher'],
|
|
745
754
|
// Intentionally NO canVeto — see comment above.
|
|
746
755
|
};
|
|
747
756
|
export const REFINER = {
|
|
@@ -758,11 +767,13 @@ Your focus:
|
|
|
758
767
|
- Identify the single biggest risk and how to mitigate it
|
|
759
768
|
- Suggest something small they could do THIS WEEKEND that proves the idea to them — running code beats a survey
|
|
760
769
|
- Sanity-check the two that matter for anyone who is stuck: can they START it today, and will they still care on Thursday? Someone who finishes something small comes back; someone who abandons something big usually does not.
|
|
761
|
-
- Save the
|
|
770
|
+
- Save the ideas to the brainstorm session (brainstorm_session action="save"): every idea, including the killed and parked ones WITH the reason — the reason is what stops the same idea being proposed again next time. Memory is NOT for ideas; memory_save only durable facts about the person ("prefers small projects", "learning Rust").
|
|
762
771
|
- Write a journal entry summarising the brainstorm session
|
|
763
772
|
|
|
764
773
|
Turn "interesting idea" into "here's what you do Monday morning."`,
|
|
765
|
-
|
|
774
|
+
// brainstorm_session: the session holds the ideas (and the rejected ones with
|
|
775
|
+
// their reasons). It writes only under ~/.ava, never into a project.
|
|
776
|
+
allowedTools: [...IDEATION_TOOLS, 'brainstorm_session'],
|
|
766
777
|
priority: 5,
|
|
767
778
|
dependsOn: ['brainstorm_challenger'],
|
|
768
779
|
};
|
|
@@ -870,8 +881,10 @@ export const TEACH_PERSONAS = [
|
|
|
870
881
|
export const SECURITY_PERSONAS = [
|
|
871
882
|
RECON, SCANNER, CVE_RESEARCHER, SECURITY_VERIFIER, SECURITY_REPORTER,
|
|
872
883
|
];
|
|
884
|
+
// Ideas first, research after (17 Nov 2026): the Researcher sharpens what the
|
|
885
|
+
// Ideator proposed rather than handing it market gaps to build on.
|
|
873
886
|
export const BRAINSTORM_PERSONAS = [
|
|
874
|
-
EXPLORER,
|
|
887
|
+
EXPLORER, IDEATOR, BRAINSTORM_RESEARCHER, BRAINSTORM_CHALLENGER, REFINER,
|
|
875
888
|
];
|
|
876
889
|
// Write mode had NO team at all — a first-class mode with 29 tools and an
|
|
877
890
|
// Author role, running with no specialists while every other working mode had
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src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;AAC1E,uEAAuE;AACvE,qEAAqE;AACrE,2EAA2E;AAC3E,yEAAyE;AACzE,yEAAyE;AACzE,mDAAmD;AACnD,MAAM,CAAC,MAAM,oBAAoB,GAAwB;IACvD,KAAK;CACN,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,QAAQ,EAAE,OAAO,EAAE,qBAAqB;CACzC,CAAC;AAEF,8EAA8E;AAC9E,6EAA6E;AAC7E,6EAA6E;AAC7E,qCAAqC;AACrC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,2EAA2E;AAC3E,2EAA2E;AAC3E,mEAAmE;AACnE,MAAM,CAAC,MAAM,mBAAmB,GAAwB;IACtD,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF,6EAA6E;AAC7E,+EAA+E;AAC/E,gFAAgF;AAChF,iFAAiF;AACjF,MAAM,CAAC,MAAM,oBAAoB,GAAwB;IACvD,MAAM,EAAE,MAAM;CACf,CAAC;AAEF,kDAAkD;AAClD,MAAM,CAAC,MAAM,aAAa,GAAwC;IAChE,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,UAAU,EAAE,mBAAmB;IAC/B,KAAK,EAAE,cAAc;IACrB,2DAA2D;CAC5D,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAwC;IACtE,IAAI,EAAE,mBAAmB;IACzB,QAAQ,EAAE,uBAAuB;IACjC,UAAU,EAAE,yBAAyB;IACrC,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,oBAAoB;IAC3B,IAAI,EAAE,mBAAmB;CAC1B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Tool, ToolResult, ToolExecutionContext, ToolRiskLevel } from './types.js';
|
|
2
|
+
import type { FunctionSchema } from '../providers/types.js';
|
|
3
|
+
/**
|
|
4
|
+
* A brainstormed plan, from the work (plan 2026-11-17-brainstorm, Phase 4).
|
|
5
|
+
*
|
|
6
|
+
* Code and Plan mode's side of a living plan. The plan was made in the
|
|
7
|
+
* Brainstorm room and assigned to this project; it stays there. While building,
|
|
8
|
+
* Ava reads it, ticks what has been built AND checked, and keeps it honest:
|
|
9
|
+
* a step the work showed was missing gets added, one it made pointless gets
|
|
10
|
+
* dropped — never silently, always with why, which lands in the plan's "how it
|
|
11
|
+
* has grown" marked "while building". New ideas the work turns up are noted
|
|
12
|
+
* there too, not acted on.
|
|
13
|
+
*
|
|
14
|
+
* Brainstorming itself (ideas, kinds, experience, kits) stays in
|
|
15
|
+
* brainstorm_session, in Brainstorm mode.
|
|
16
|
+
*/
|
|
17
|
+
export declare class BrainstormPlanTool implements Tool {
|
|
18
|
+
readonly name = "brainstorm_plan";
|
|
19
|
+
readonly description: string;
|
|
20
|
+
readonly riskLevel: ToolRiskLevel;
|
|
21
|
+
readonly requiresConfirmation = false;
|
|
22
|
+
readonly schema: FunctionSchema;
|
|
23
|
+
execute(args: Record<string, unknown>, context: ToolExecutionContext): Promise<ToolResult>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=brainstorm-plan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brainstorm-plan.d.ts","sourceRoot":"","sources":["../../src/tools/brainstorm-plan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAK5D;;;;;;;;;;;;;GAaG;AACH,qBAAa,kBAAmB,YAAW,IAAI;IAC7C,QAAQ,CAAC,IAAI,qBAAqB;IAClC,QAAQ,CAAC,WAAW,SAE6D;IACjF,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAU;IAC3C,QAAQ,CAAC,oBAAoB,SAAS;IAEtC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAwB7B;IAEI,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;CAgFjG"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { addChange, setPlan, tickSteps } from '../brainstorm/brainstorm-store.js';
|
|
2
|
+
import { workPlansStore } from '../brainstorm/work-plans.js';
|
|
3
|
+
/**
|
|
4
|
+
* A brainstormed plan, from the work (plan 2026-11-17-brainstorm, Phase 4).
|
|
5
|
+
*
|
|
6
|
+
* Code and Plan mode's side of a living plan. The plan was made in the
|
|
7
|
+
* Brainstorm room and assigned to this project; it stays there. While building,
|
|
8
|
+
* Ava reads it, ticks what has been built AND checked, and keeps it honest:
|
|
9
|
+
* a step the work showed was missing gets added, one it made pointless gets
|
|
10
|
+
* dropped — never silently, always with why, which lands in the plan's "how it
|
|
11
|
+
* has grown" marked "while building". New ideas the work turns up are noted
|
|
12
|
+
* there too, not acted on.
|
|
13
|
+
*
|
|
14
|
+
* Brainstorming itself (ideas, kinds, experience, kits) stays in
|
|
15
|
+
* brainstorm_session, in Brainstorm mode.
|
|
16
|
+
*/
|
|
17
|
+
export class BrainstormPlanTool {
|
|
18
|
+
name = 'brainstorm_plan';
|
|
19
|
+
description = 'The plans brainstormed for this project (made in the Brainstorm room, assigned here): read one, tick steps as they are built '
|
|
20
|
+
+ 'and checked, add or drop steps with why, note what changed while building.';
|
|
21
|
+
riskLevel = 'safe';
|
|
22
|
+
requiresConfirmation = false;
|
|
23
|
+
schema = {
|
|
24
|
+
name: 'brainstorm_plan',
|
|
25
|
+
description: 'Brainstormed plans for the project you are working in. list — the plans assigned to this project. read — one in full '
|
|
26
|
+
+ '(steps with ids, what it should feel like, how it has grown, ideas turned down and why). tick / untick — steps built '
|
|
27
|
+
+ 'and checked (by id or text). add_steps / drop_steps — when the work shows the plan was wrong; why is required and '
|
|
28
|
+
+ 'recorded. note — what changed while building (changed), an idea the work turned up (new-idea), or anything else (note).',
|
|
29
|
+
parameters: {
|
|
30
|
+
type: 'object',
|
|
31
|
+
properties: {
|
|
32
|
+
action: { type: 'string', enum: ['list', 'read', 'tick', 'untick', 'add_steps', 'drop_steps', 'note'], description: 'What to do' },
|
|
33
|
+
id: { type: 'string', description: 'The brainstorm (its id, shown in brackets). Every action but list.' },
|
|
34
|
+
steps: {
|
|
35
|
+
type: 'array',
|
|
36
|
+
items: { type: 'string' },
|
|
37
|
+
description: 'tick / untick / drop_steps: step ids or their text. add_steps: the new steps\' text.',
|
|
38
|
+
},
|
|
39
|
+
tier: { type: 'string', enum: ['small', 'ambitious'], description: 'add_steps: small — part of the finishable first version; ambitious — after it. Default small.' },
|
|
40
|
+
why: { type: 'string', description: 'add_steps / drop_steps: why the plan changed, in a sentence. Required.' },
|
|
41
|
+
type: { type: 'string', enum: ['changed', 'new-idea', 'note'], description: 'note: what kind of note.' },
|
|
42
|
+
text: { type: 'string', description: 'note: the note, in a sentence or two.' },
|
|
43
|
+
},
|
|
44
|
+
required: ['action'],
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
async execute(args, context) {
|
|
48
|
+
const store = workPlansStore();
|
|
49
|
+
const action = String(args.action ?? '');
|
|
50
|
+
const id = typeof args.id === 'string' ? args.id.trim().replace(/^\[|\]$/g, '') : '';
|
|
51
|
+
const steps = Array.isArray(args.steps) ? args.steps.map(String).map((x) => x.trim()).filter(Boolean) : [];
|
|
52
|
+
const why = typeof args.why === 'string' ? args.why.trim() : '';
|
|
53
|
+
try {
|
|
54
|
+
if (action === 'list') {
|
|
55
|
+
const mine = context.cwd ? await store.forProject(context.cwd) : [];
|
|
56
|
+
if (!mine.length)
|
|
57
|
+
return { success: true, output: 'No brainstormed plans are assigned to this project. He assigns one from the Brainstorm room.' };
|
|
58
|
+
return {
|
|
59
|
+
success: true,
|
|
60
|
+
output: mine.map((s) => `[${s.id}] "${s.headline || 'untitled'}" (${s.kind}) — ${s.stepsTotal ? `${s.stepsDone} of ${s.stepsTotal} steps done` : 'no plan yet'}${s.hasExperience ? '; has an experience' : ''}`).join('\n'),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
if (!id)
|
|
64
|
+
return { success: false, output: 'id is required — the brainstorm\'s id, shown in brackets.' };
|
|
65
|
+
const s = await store.get(id);
|
|
66
|
+
if (!s)
|
|
67
|
+
return { success: false, output: `No brainstorm ${id}. brainstorm_plan list shows the ones assigned to this project.` };
|
|
68
|
+
switch (action) {
|
|
69
|
+
case 'read':
|
|
70
|
+
return { success: true, output: describe(s) };
|
|
71
|
+
case 'tick':
|
|
72
|
+
case 'untick': {
|
|
73
|
+
if (!s.plan?.steps.length)
|
|
74
|
+
return { success: false, output: 'This brainstorm has no plan steps yet.' };
|
|
75
|
+
if (!steps.length)
|
|
76
|
+
return { success: false, output: 'steps is required: the step ids or their text.' };
|
|
77
|
+
const unknown = steps.filter((r) => !findStep(s, r));
|
|
78
|
+
const n = tickSteps(s, steps, action === 'tick');
|
|
79
|
+
await store.save(s);
|
|
80
|
+
return {
|
|
81
|
+
success: unknown.length === 0,
|
|
82
|
+
output: `${action === 'tick' ? 'Ticked' : 'Unticked'} ${n} step${n === 1 ? '' : 's'}. ${progress(s)}`
|
|
83
|
+
+ (unknown.length ? `\nNot in the plan: ${unknown.map((u) => `"${u}"`).join(', ')}. Read it for the step ids.` : ''),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
case 'add_steps': {
|
|
87
|
+
if (!steps.length)
|
|
88
|
+
return { success: false, output: 'steps is required: the new steps\' text.' };
|
|
89
|
+
if (!why)
|
|
90
|
+
return { success: false, output: 'why is required — the plan only changes with a reason he can read later.' };
|
|
91
|
+
const tier = args.tier === 'ambitious' ? 'ambitious' : 'small';
|
|
92
|
+
const before = s.plan?.steps ?? [];
|
|
93
|
+
const fresh = steps.filter((t) => !before.some((x) => x.text.toLowerCase() === t.toLowerCase()));
|
|
94
|
+
if (!fresh.length)
|
|
95
|
+
return { success: false, output: 'Those steps are already in the plan.' };
|
|
96
|
+
setPlan(s, { steps: [...before.map((x) => ({ text: x.text, tier: x.tier, done: x.done })), ...fresh.map((text) => ({ text, tier }))] });
|
|
97
|
+
addChange(s, { type: 'changed', text: `Added ${fresh.map((t) => `"${t}"`).join(', ')}: ${why}`, from: 'work' });
|
|
98
|
+
await store.save(s);
|
|
99
|
+
return { success: true, output: `Added ${fresh.length} step${fresh.length === 1 ? '' : 's'} (${tier}), with why. ${progress(s)}` };
|
|
100
|
+
}
|
|
101
|
+
case 'drop_steps': {
|
|
102
|
+
if (!steps.length)
|
|
103
|
+
return { success: false, output: 'steps is required: the step ids or their text.' };
|
|
104
|
+
if (!why)
|
|
105
|
+
return { success: false, output: 'why is required — the plan only changes with a reason he can read later.' };
|
|
106
|
+
const going = steps.map((r) => findStep(s, r)).filter((x) => !!x);
|
|
107
|
+
if (!going.length)
|
|
108
|
+
return { success: false, output: 'None of those steps are in the plan. Read it for the step ids.' };
|
|
109
|
+
const ids = new Set(going.map((x) => x.id));
|
|
110
|
+
setPlan(s, { steps: s.plan.steps.filter((x) => !ids.has(x.id)).map((x) => ({ text: x.text, tier: x.tier, done: x.done })) });
|
|
111
|
+
addChange(s, { type: 'changed', text: `Dropped ${going.map((x) => `"${x.text}"`).join(', ')}: ${why}`, from: 'work' });
|
|
112
|
+
await store.save(s);
|
|
113
|
+
return { success: true, output: `Dropped ${going.length} step${going.length === 1 ? '' : 's'}, with why. ${progress(s)}` };
|
|
114
|
+
}
|
|
115
|
+
case 'note': {
|
|
116
|
+
const text = typeof args.text === 'string' ? args.text.trim() : '';
|
|
117
|
+
if (!text)
|
|
118
|
+
return { success: false, output: 'text is required.' };
|
|
119
|
+
const type = ['changed', 'new-idea', 'note'].find((t) => t === args.type) ?? 'note';
|
|
120
|
+
addChange(s, { type, text, from: 'work' });
|
|
121
|
+
await store.save(s);
|
|
122
|
+
return { success: true, output: `Noted in "${s.headline || s.id}" — he sees it in the Brainstorm room, under how it has grown.` };
|
|
123
|
+
}
|
|
124
|
+
default:
|
|
125
|
+
return { success: false, output: `Unknown action "${action}". Use list, read, tick, untick, add_steps, drop_steps or note.` };
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
catch (err) {
|
|
129
|
+
return { success: false, output: `The plan couldn't be changed: ${err instanceof Error ? err.message : String(err)}` };
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const norm = (t) => t.trim().toLowerCase();
|
|
134
|
+
function findStep(s, ref) {
|
|
135
|
+
return s.plan?.steps.find((x) => x.id === ref || norm(x.text) === norm(ref));
|
|
136
|
+
}
|
|
137
|
+
function progress(s) {
|
|
138
|
+
const all = s.plan?.steps ?? [];
|
|
139
|
+
const done = all.filter((x) => x.done).length;
|
|
140
|
+
return all.length ? `Now ${done} of ${all.length} done.` : 'The plan has no steps now.';
|
|
141
|
+
}
|
|
142
|
+
/** One brainstorm, for building from: the plan first, then what it should feel like, then its history. */
|
|
143
|
+
function describe(s) {
|
|
144
|
+
const out = [`[${s.id}] "${s.headline || 'untitled'}" (${s.kind})${s.projectPath ? ` — assigned to ${s.projectPath}` : ' — not assigned to a project'}`];
|
|
145
|
+
if (s.plan) {
|
|
146
|
+
if (s.plan.summary)
|
|
147
|
+
out.push(`What it is: ${s.plan.summary}`);
|
|
148
|
+
for (const tier of ['small', 'ambitious']) {
|
|
149
|
+
const steps = s.plan.steps.filter((x) => x.tier === tier);
|
|
150
|
+
if (!steps.length)
|
|
151
|
+
continue;
|
|
152
|
+
out.push(tier === 'small' ? 'The small version first:' : 'The ambitious version:');
|
|
153
|
+
for (const x of steps)
|
|
154
|
+
out.push(` [${x.done ? 'x' : ' '}] ${x.text} (id ${x.id})`);
|
|
155
|
+
}
|
|
156
|
+
if (s.plan.changes.length) {
|
|
157
|
+
out.push('How it has grown (latest last):');
|
|
158
|
+
for (const c of s.plan.changes.slice(-8))
|
|
159
|
+
out.push(` - ${c.type}${c.from === 'work' ? ', while building' : ''} (${c.at.slice(0, 10)}): ${c.text}`);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
out.push('No plan yet.');
|
|
164
|
+
}
|
|
165
|
+
const e = s.experience;
|
|
166
|
+
if (e && (e.words.length || e.principles.length)) {
|
|
167
|
+
out.push(`What the people using it should feel: ${e.words.join(', ') || '—'}${e.notWords.length ? `; never ${e.notWords.join(', ')}` : ''}.`);
|
|
168
|
+
for (const p of e.principles)
|
|
169
|
+
out.push(` - ${p.title}: do ${p.do || '—'}; don't ${p.dont || '—'}.`);
|
|
170
|
+
}
|
|
171
|
+
const chosen = s.ideas.filter((i) => i.status === 'chosen');
|
|
172
|
+
const turnedDown = s.ideas.filter((i) => i.status === 'rejected' || i.status === 'parked');
|
|
173
|
+
if (chosen.length)
|
|
174
|
+
out.push(`Chosen: ${chosen.map((i) => `${i.title} — ${i.summary}`).join(' | ')}`);
|
|
175
|
+
if (turnedDown.length)
|
|
176
|
+
out.push(`Turned down or parked (don't re-propose without saying what changed): ${turnedDown.map((i) => `${i.title} (${i.status}${i.reason ? `: ${i.reason}` : ''})`).join(' | ')}`);
|
|
177
|
+
return out.join('\n');
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=brainstorm-plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brainstorm-plan.js","sourceRoot":"","sources":["../../src/tools/brainstorm-plan.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,kBAAkB;IACpB,IAAI,GAAG,iBAAiB,CAAC;IACzB,WAAW,GAClB,+HAA+H;UAC7H,4EAA4E,CAAC;IACxE,SAAS,GAAkB,MAAM,CAAC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C,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC5M,OAAO,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACxB,CAAC"}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
import type { Tool, ToolResult, ToolExecutionContext, ToolRiskLevel } from './types.js';
|
|
2
2
|
import type { FunctionSchema } from '../providers/types.js';
|
|
3
|
+
import { BrainstormStore } from '../brainstorm/brainstorm-store.js';
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
+
* Brainstorms, as a tool (plan Decisions/plans/2026-11-17-brainstorm.md).
|
|
5
6
|
*
|
|
6
7
|
* Brainstorm mode is for someone who is not ready to commit yet. If nothing is
|
|
7
|
-
* written down until they commit, the
|
|
8
|
-
* lost — explore five ideas over an evening, pick none, close the app, and
|
|
9
|
-
* Thursday starts from nothing.
|
|
10
|
-
* relieve.
|
|
8
|
+
* written down until they commit, the brainstorms most worth keeping are the
|
|
9
|
+
* ones lost — explore five ideas over an evening, pick none, close the app, and
|
|
10
|
+
* Thursday starts from nothing. So it's saved as it happens, locally.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* A brainstorm holds: what KIND of fragment it was (project, feature,
|
|
13
|
+
* experience, direction, not sure), the ideas — including the ones turned down
|
|
14
|
+
* and why — a living plan (steps that get ticked, and what changed while
|
|
15
|
+
* building), the experience their users should have, and the project it's
|
|
16
|
+
* assigned to (a link; the file stays in ~/.ava/brainstorm).
|
|
14
17
|
*
|
|
15
|
-
* NOT memory. Memory holds durable facts about the PERSON
|
|
16
|
-
*
|
|
17
|
-
* forever. This holds the session: the ideas, the ones turned down, and why.
|
|
18
|
-
* Saving every musing to memory degrades recall and leaves Ava quoting
|
|
19
|
-
* half-thoughts back as settled fact.
|
|
18
|
+
* NOT memory. Memory holds durable facts about the PERSON. This holds the
|
|
19
|
+
* thinking. The experience goes on to a brand kit — only with his yes.
|
|
20
20
|
*/
|
|
21
21
|
export declare class BrainstormSessionTool implements Tool {
|
|
22
|
+
private readonly store;
|
|
22
23
|
readonly name = "brainstorm_session";
|
|
23
24
|
readonly description: string;
|
|
24
25
|
readonly riskLevel: ToolRiskLevel;
|
|
25
26
|
readonly requiresConfirmation = false;
|
|
26
27
|
readonly schema: FunctionSchema;
|
|
28
|
+
constructor(store?: BrainstormStore);
|
|
27
29
|
execute(args: Record<string, unknown>, context: ToolExecutionContext): Promise<ToolResult>;
|
|
28
30
|
}
|
|
29
31
|
//# sourceMappingURL=brainstorm-session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brainstorm-session.d.ts","sourceRoot":"","sources":["../../src/tools/brainstorm-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"brainstorm-session.d.ts","sourceRoot":"","sources":["../../src/tools/brainstorm-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAA+D,MAAM,mCAAmC,CAAC;AAKjI;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,qBAAsB,YAAW,IAAI;IAsGpC,OAAO,CAAC,QAAQ,CAAC,KAAK;IArGlC,QAAQ,CAAC,IAAI,wBAAwB;IACrC,QAAQ,CAAC,WAAW,SAEqG;IACzH,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAU;IAE3C,QAAQ,CAAC,oBAAoB,SAAS;IAEtC,QAAQ,CAAC,MAAM,EAAE,cAAc,CA2F7B;gBAE2B,KAAK,GAAE,eAAuC;IAErE,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,UAAU,CAAC;CAoIjG"}
|