@cat-factory/app 0.31.0 → 0.32.1

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.
@@ -71,6 +71,28 @@ export const AGENT_ARCHETYPES: AgentArchetype[] = [
71
71
  description:
72
72
  'Triages the task after requirements are clarified — rates Complexity, Risk and Impact (0..1). Used to gate consensus and conditional companion steps, and shown as ratings on the task.',
73
73
  },
74
+ {
75
+ kind: 'requirements-brainstorm',
76
+ label: 'Requirements Brainstorm',
77
+ icon: 'i-lucide-lightbulb',
78
+ color: '#f59e0b',
79
+ category: 'design',
80
+ description:
81
+ 'A structured dialogue that turns a rough idea into crisp requirements — proposing options with explicit trade-offs and letting you choose, before the requirements review.',
82
+ // Opens the shared dedicated brainstorm window (propose options → choose → incorporate →
83
+ // re-run loop) instead of the generic prose step-detail panel.
84
+ resultView: 'brainstorm',
85
+ },
86
+ {
87
+ kind: 'architecture-brainstorm',
88
+ label: 'Architecture Brainstorm',
89
+ icon: 'i-lucide-compass',
90
+ color: '#a78bfa',
91
+ category: 'design',
92
+ description:
93
+ 'A structured dialogue that explores and finalizes a technical approach from the refined requirements — proposing options with explicit trade-offs and letting you converge, before the architect.',
94
+ resultView: 'brainstorm',
95
+ },
74
96
  {
75
97
  kind: 'architect',
76
98
  label: 'Architect',
@@ -496,3 +518,29 @@ export const STATUS_META: Record<
496
518
 
497
519
  /** Visual metadata for module sub-frames. */
498
520
  export const MODULE_META = { icon: 'i-lucide-package', color: '#a78bfa' }
521
+
522
+ /**
523
+ * Display metadata for the future-looking Follow-up companion — a per-`coder`-step toggle
524
+ * (NOT a separate agent kind), so it isn't a palette archetype. It surfaces as a blinking
525
+ * chip on the Coder step (its blinking is driven by `step.followUps` pending items) and as
526
+ * the header of its dedicated window. The builder shows a toggle for it on Coder steps,
527
+ * persisted on the pipeline's per-step `followUps` array.
528
+ */
529
+ export const FOLLOW_UP_COMPANION_META = {
530
+ label: 'Follow-up companion',
531
+ icon: 'i-lucide-compass',
532
+ color: '#f472b6',
533
+ }
534
+
535
+ /**
536
+ * Whether a Coder step has the Follow-up companion enabled, given the pipeline's per-step
537
+ * `followUps` toggle at index `i`. Enabled by default on a `coder` step (only `false`
538
+ * disables it); ignored on other kinds.
539
+ */
540
+ export function followUpCompanionEnabled(
541
+ kind: string,
542
+ followUps: (boolean | null)[] | undefined,
543
+ i: number,
544
+ ): boolean {
545
+ return kind === 'coder' && followUps?.[i] !== false
546
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.31.0",
3
+ "version": "0.32.1",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",