@ttt-productions/ttt-core 0.78.15 → 0.78.16

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.
@@ -0,0 +1,12 @@
1
+ export type CenterStageRoomKey = 'hall' | 'square' | 'audition';
2
+ export interface CenterStageRoom {
3
+ readonly key: CenterStageRoomKey;
4
+ readonly name: string;
5
+ readonly verb: string;
6
+ readonly href: string;
7
+ /** One-breath description shown on the audience placard (same words the tour uses). */
8
+ readonly description: string;
9
+ }
10
+ /** The three rooms, in revolve order. Index 0 (The Hall) opens in the spotlight. */
11
+ export declare const CENTER_STAGE_ROOMS: readonly CenterStageRoom[];
12
+ //# sourceMappingURL=center-stage-rooms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"center-stage-rooms.d.ts","sourceRoot":"","sources":["../../src/constants/center-stage-rooms.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEhE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,GAAG,EAAE,kBAAkB,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,uFAAuF;IACvF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,oFAAoF;AACpF,eAAO,MAAM,kBAAkB,EAAE,SAAS,eAAe,EAyBxD,CAAC"}
@@ -0,0 +1,32 @@
1
+ // ============================================================================
2
+ // CENTER STAGE ROOMS — the pure, durable definitions of the three revolving
3
+ // landing/registration-tour rooms (Rule 36). Moved here VERBATIM from the app's
4
+ // `center-stage.tsx`. Pure data only: the emblems (`ROOM_EMBLEMS`), React
5
+ // components, engraving, and stage layout stay app-owned. Each room's `href` is
6
+ // the app route the spotlit poster navigates to.
7
+ // ============================================================================
8
+ /** The three rooms, in revolve order. Index 0 (The Hall) opens in the spotlight. */
9
+ export const CENTER_STAGE_ROOMS = [
10
+ {
11
+ key: 'hall',
12
+ name: 'The Hall',
13
+ verb: 'Watch, read & listen',
14
+ href: '/hall-library',
15
+ description: 'Home to the finished works — read original Tales, listen to Tunes, and watch Television, all made by real people and reviewed before it goes up.',
16
+ },
17
+ {
18
+ key: 'square',
19
+ name: 'The Square',
20
+ verb: "See what's happening",
21
+ href: '/square-streetz',
22
+ description: 'The community feed. Post your news, follow artisans you admire, and watch the Town Crier announce what’s happening across TTT Productions.',
23
+ },
24
+ {
25
+ key: 'audition',
26
+ name: 'The Audition Stage',
27
+ verb: 'Cast your vote',
28
+ href: '/audition-board',
29
+ description: 'Artisans post auditions for their works, and the community votes on the entries. Cast your vote — one per audition, switch it anytime.',
30
+ },
31
+ ];
32
+ //# sourceMappingURL=center-stage-rooms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"center-stage-rooms.js","sourceRoot":"","sources":["../../src/constants/center-stage-rooms.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,4EAA4E;AAC5E,gFAAgF;AAChF,0EAA0E;AAC1E,gFAAgF;AAChF,iDAAiD;AACjD,+EAA+E;AAa/E,oFAAoF;AACpF,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D;QACE,GAAG,EAAE,MAAM;QACX,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,eAAe;QACrB,WAAW,EACT,kJAAkJ;KACrJ;IACD;QACE,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,iBAAiB;QACvB,WAAW,EACT,4IAA4I;KAC/I;IACD;QACE,GAAG,EAAE,UAAU;QACf,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EACT,wIAAwI;KAC3I;CACF,CAAC","sourcesContent":["// ============================================================================\n// CENTER STAGE ROOMS — the pure, durable definitions of the three revolving\n// landing/registration-tour rooms (Rule 36). Moved here VERBATIM from the app's\n// `center-stage.tsx`. Pure data only: the emblems (`ROOM_EMBLEMS`), React\n// components, engraving, and stage layout stay app-owned. Each room's `href` is\n// the app route the spotlit poster navigates to.\n// ============================================================================\n\nexport type CenterStageRoomKey = 'hall' | 'square' | 'audition';\n\nexport interface CenterStageRoom {\n readonly key: CenterStageRoomKey;\n readonly name: string;\n readonly verb: string;\n readonly href: string;\n /** One-breath description shown on the audience placard (same words the tour uses). */\n readonly description: string;\n}\n\n/** The three rooms, in revolve order. Index 0 (The Hall) opens in the spotlight. */\nexport const CENTER_STAGE_ROOMS: readonly CenterStageRoom[] = [\n {\n key: 'hall',\n name: 'The Hall',\n verb: 'Watch, read & listen',\n href: '/hall-library',\n description:\n 'Home to the finished works — read original Tales, listen to Tunes, and watch Television, all made by real people and reviewed before it goes up.',\n },\n {\n key: 'square',\n name: 'The Square',\n verb: \"See what's happening\",\n href: '/square-streetz',\n description:\n 'The community feed. Post your news, follow artisans you admire, and watch the Town Crier announce what’s happening across TTT Productions.',\n },\n {\n key: 'audition',\n name: 'The Audition Stage',\n verb: 'Cast your vote',\n href: '/audition-board',\n description:\n 'Artisans post auditions for their works, and the community votes on the entries. Cast your vote — one per audition, switch it anytime.',\n },\n];\n"]}
@@ -0,0 +1,115 @@
1
+ /** Every member of the Company, in roster order. */
2
+ export type CompanyCharacterId = 'bill' | 'kit' | 'yorick';
3
+ /** The roster, in billing order (Bill → Kit → Yorick). */
4
+ export declare const COMPANY_CHARACTER_IDS: readonly CompanyCharacterId[];
5
+ /** Billing tiers: the founding Player, permanent Players, and Stand-Ins
6
+ * (Limited Engagement — never selectable as the companion). */
7
+ export type CompanyBillingKind = 'foundingPlayer' | 'player' | 'standIn';
8
+ /** Demoable move intents — keyed by intent from day one so future event
9
+ * performances (page-grabs, standing ovations) land as content, not code. */
10
+ export type CompanyPerformanceIntent = 'bow' | 'hop' | 'wave';
11
+ /** The performance intents, in demo-button order. The app previously
12
+ * hand-mirrored this union in two places; consumers derive from this array. */
13
+ export declare const COMPANY_PERFORMANCE_INTENTS: readonly CompanyPerformanceIntent[];
14
+ /** The characters a user may cast as their dock companion (never a Stand-In). */
15
+ export type SelectableCompanionId = 'bill' | 'kit';
16
+ /** The castable dock companions, in order. */
17
+ export declare const SELECTABLE_COMPANION_IDS: readonly SelectableCompanionId[];
18
+ /** Semantic destinations the copy can link to. Each client maps these to its
19
+ * own route/navigation — the package never carries an href in mascot copy. */
20
+ export type CompanyNavigationTarget = 'greenRoom' | 'futurePlans';
21
+ /** A single run of copy. `link` carries a semantic target, not a URL. */
22
+ export type CompanyCopySegment = {
23
+ readonly kind: 'text';
24
+ readonly text: string;
25
+ } | {
26
+ readonly kind: 'emphasis';
27
+ readonly text: string;
28
+ } | {
29
+ readonly kind: 'link';
30
+ readonly label: string;
31
+ readonly target: CompanyNavigationTarget;
32
+ };
33
+ /** A block of copy — a paragraph or a set-aside aside. */
34
+ export type CompanyCopyBlockKind = 'paragraph' | 'aside';
35
+ export interface CompanyCopyBlock {
36
+ readonly kind: CompanyCopyBlockKind;
37
+ readonly segments: readonly CompanyCopySegment[];
38
+ }
39
+ export interface CompanyPerformance {
40
+ readonly id: string;
41
+ readonly label: string;
42
+ readonly intent: CompanyPerformanceIntent;
43
+ /** Community "Choreography by" credit — null until an audition stages it. */
44
+ readonly creditUid: string | null;
45
+ }
46
+ export interface CompanyMascot {
47
+ readonly id: CompanyCharacterId;
48
+ /** Full stage name shown on nameplates + the playbill ("Bill the Understudy"). */
49
+ readonly name: string;
50
+ /** The ironic-understatement epithet (the Company tradition). */
51
+ readonly title: string;
52
+ readonly billingKind: CompanyBillingKind;
53
+ /** Billing line rendered beside the name ("Founding Player"). */
54
+ readonly billingLabel: string;
55
+ /** One-line structural descriptor (not character voice). */
56
+ readonly shortBio: string;
57
+ /** Playbill character study (human-written; the future AI personality source). */
58
+ readonly characterStudy: readonly CompanyCopyBlock[];
59
+ /** "Role originated by" — resolves live via the app when set. */
60
+ readonly originatedByUid: string | null;
61
+ /** Text shown after "Role originated by — " when originatedByUid is null. */
62
+ readonly originatedByFallback: string;
63
+ /** Whether the origination frame invites the reader ("→ your name here?"). */
64
+ readonly invitesOrigination: boolean;
65
+ /** The performances credit caption under the demo buttons. */
66
+ readonly choreographyCaption: string;
67
+ readonly performances: readonly CompanyPerformance[];
68
+ /** Rotating click lines (dock companion bubble + on-stage line pop). Each
69
+ * line is a segment run — most are a single text segment. */
70
+ readonly lines: readonly (readonly CompanyCopySegment[])[];
71
+ /** Dock speech-bubble footer segments. The character's short name is a
72
+ * `greenRoom` link segment; the app renders it as a link when signed in and
73
+ * as plain text when signed out. "one day" always links to `futurePlans`.
74
+ * Absent for Stand-Ins (Yorick — never the dock companion). */
75
+ readonly footer?: readonly CompanyCopySegment[];
76
+ /** False for Stand-Ins (Yorick) — never storable as the dock companion. */
77
+ readonly selectable: boolean;
78
+ }
79
+ /** Companion-switch snark exchange, keyed (in COMPANION_SWITCH_EXCHANGES) by the
80
+ * character switched TO. Outgoing line first (the departing companion), then the
81
+ * incoming retort. Plain strings. */
82
+ export interface CompanionSwitchExchange {
83
+ readonly outgoing: {
84
+ readonly id: SelectableCompanionId;
85
+ readonly line: string;
86
+ };
87
+ readonly incoming: {
88
+ readonly id: SelectableCompanionId;
89
+ readonly line: string;
90
+ };
91
+ }
92
+ /** Onboarding cameo lines — Company members crashing the registration tour. */
93
+ export interface OnboardingCameos {
94
+ /** Kit crashes The Audition Stage step. */
95
+ readonly kitAuditionStage: string;
96
+ /** Yorick cameos on The Hall step. */
97
+ readonly yorickHall: string;
98
+ /** The send-off curtain call — all three bow. */
99
+ readonly curtainCall: Readonly<Record<CompanyCharacterId, string>>;
100
+ }
101
+ export declare const COMPANY_MASCOTS: Readonly<Record<CompanyCharacterId, CompanyMascot>>;
102
+ /** Registry order (Bill → Kit → Yorick), reused from the roster. */
103
+ export declare const COMPANY_MASCOT_ORDER: readonly CompanyCharacterId[];
104
+ /** True when `x` is a canonical Company character id. */
105
+ export declare function isCompanyCharacterId(x: unknown): x is CompanyCharacterId;
106
+ /** True when `id` may be cast as the dock companion — driven by the mascot
107
+ * data's `selectable` field (Yorick is false). */
108
+ export declare function isSelectableCompanion(id: CompanyCharacterId): id is SelectableCompanionId;
109
+ /** The mascot record for a character id. */
110
+ export declare function getCompanyMascot(id: CompanyCharacterId): CompanyMascot;
111
+ export declare const COMPANION_SWITCH_EXCHANGES: Readonly<Record<SelectableCompanionId, readonly CompanionSwitchExchange[]>>;
112
+ export declare const YORICK_BLOCK_LINES: Readonly<Record<SelectableCompanionId, readonly string[]>>;
113
+ export declare const SIGNED_OUT_DOCK_LINES: readonly string[];
114
+ export declare const ONBOARDING_CAMEOS: OnboardingCameos;
115
+ //# sourceMappingURL=company-mascots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-mascots.d.ts","sourceRoot":"","sources":["../../src/constants/company-mascots.ts"],"names":[],"mappings":"AAyBA,oDAAoD;AACpD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE3D,0DAA0D;AAC1D,eAAO,MAAM,qBAAqB,EAAE,SAAS,kBAAkB,EAA8B,CAAC;AAE9F;gEACgE;AAChE,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzE;8EAC8E;AAC9E,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAE9D;gFACgF;AAChF,eAAO,MAAM,2BAA2B,EAAE,SAAS,wBAAwB,EAA2B,CAAC;AAEvG,iFAAiF;AACjF,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,KAAK,CAAC;AAEnD,8CAA8C;AAC9C,eAAO,MAAM,wBAAwB,EAAE,SAAS,qBAAqB,EAAoB,CAAC;AAI1F;+EAC+E;AAC/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AA4JD,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAI/E,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,oBAAoB,EAAE,SAAS,kBAAkB,EAA0B,CAAC;AAIzF,yDAAyD;AACzD,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,kBAAkB,CAExE;AAED;mDACmD;AACnD,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,kBAAkB,GAAG,EAAE,IAAI,qBAAqB,CAEzF;AAED,4CAA4C;AAC5C,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,kBAAkB,GAAG,aAAa,CAEtE;AAKD,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAC/C,MAAM,CAAC,qBAAqB,EAAE,SAAS,uBAAuB,EAAE,CAAC,CAgDlE,CAAC;AAIF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,qBAAqB,EAAE,SAAS,MAAM,EAAE,CAAC,CAazF,CAAC;AAKF,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAIlD,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,gBAU/B,CAAC"}
@@ -0,0 +1,272 @@
1
+ // ============================================================================
2
+ // THE COMPANY — canonical Green Room mascot contract + content (Rule 36).
3
+ //
4
+ // The ONE home for the pure, server-safe Company business truths (id unions,
5
+ // billing kinds, performance intents, selectability, roster order) AND the
6
+ // DJ-approved VERBATIM character content (studies, click lines, footers,
7
+ // companion-switch exchanges, Yorick block lines, signed-out dock lines,
8
+ // onboarding cameos). Moved here losslessly from the app's staging modules
9
+ // (`src/lib/company-contract` + `src/lib/company-mascots.tsx`).
10
+ //
11
+ // This module is pure data: NO React, NO JSX, NO Next links, NO CSS, NO SVG,
12
+ // NO functions inside the data. Rich copy is modelled as discriminated
13
+ // `CompanyCopySegment`s so a web renderer, a phone app, or an AI voice can each
14
+ // present the exact approved words without importing a UI framework. The app
15
+ // owns the puppets, rig, choreography, and the adapter that turns these
16
+ // segments into `<p>`, `<em>`, and route-aware links.
17
+ //
18
+ // Canonical dialogue stays a versioned code constant here (never Firestore):
19
+ // it is the personality source, the safe AI-unavailable fallback, and the
20
+ // voice-regression fixture. Never reword — curly quotes/apostrophes are
21
+ // authored exactly as they render.
22
+ // ============================================================================
23
+ /** The roster, in billing order (Bill → Kit → Yorick). */
24
+ export const COMPANY_CHARACTER_IDS = ['bill', 'kit', 'yorick'];
25
+ /** The performance intents, in demo-button order. The app previously
26
+ * hand-mirrored this union in two places; consumers derive from this array. */
27
+ export const COMPANY_PERFORMANCE_INTENTS = ['bow', 'hop', 'wave'];
28
+ /** The castable dock companions, in order. */
29
+ export const SELECTABLE_COMPANION_IDS = ['bill', 'kit'];
30
+ // ── Segment construction helpers (module-private; output is pure data) ────────
31
+ /** A line/footer that is a single plain-text run. */
32
+ const textRun = (text) => [{ kind: 'text', text }];
33
+ /** A character's dock footer, built from the one verbatim sentence. The name is
34
+ * a `greenRoom` link segment (the app renders it plain when signed out); "one
35
+ * day" always links to `futurePlans`; `tail` is the character-specific close. */
36
+ const dockFooter = (name, tail) => [
37
+ { kind: 'link', label: name, target: 'greenRoom' },
38
+ { kind: 'text', text: ' is a basic version for now — ' },
39
+ { kind: 'link', label: 'one day', target: 'futurePlans' },
40
+ { kind: 'text', text: ` ${tail}` },
41
+ ];
42
+ const SHARED_PERFORMANCES = [
43
+ { id: 'bow', label: 'Bow', intent: 'bow', creditUid: null },
44
+ { id: 'hop', label: 'Hop', intent: 'hop', creditUid: null },
45
+ { id: 'wave', label: 'Wave', intent: 'wave', creditUid: null },
46
+ ];
47
+ // The dock-footer close sentences, VERBATIM (the pre-Company Bill wording; Kit's
48
+ // from the settled spec). Curly apostrophes authored exactly as rendered.
49
+ const BILL_FOOTER_TAIL = 'we hope to make him an AI-powered guide who helps you navigate the site. He’ll never make content, just help.';
50
+ const KIT_FOOTER_TAIL = 'we hope to make him an AI-powered guide with this exact attitude. He’ll never make content. He does have opinions about yours.';
51
+ // ── Bill the Understudy — Founding Player ────────────────────────────────────
52
+ // The 14 approved lines are VERBATIM (incl. the italic emphasis in line 11).
53
+ const BILL = {
54
+ id: 'bill',
55
+ name: 'Bill the Understudy',
56
+ title: 'The Understudy',
57
+ billingKind: 'foundingPlayer',
58
+ billingLabel: 'Founding Player',
59
+ shortBio: "TTT's founding player and your first guide.",
60
+ characterStudy: [
61
+ {
62
+ kind: 'paragraph',
63
+ segments: textRun('The most enthusiastic understudy in show business, and TTT Productions’ founding player. Bill has read the whole script of this town — well, skimmed it — and rehearses every day for the role of your guide to everything here. He insists the ‘Bill’ is short for William, and that he once wrote plays in a town called Stratford. We have chosen to let him believe it. Someday he’ll answer anything you ask about this place. Today, he mostly waves.'),
64
+ },
65
+ ],
66
+ originatedByUid: null,
67
+ originatedByFallback: 'To be determined',
68
+ invitesOrigination: true,
69
+ choreographyCaption: 'Choreography by — to be determined',
70
+ performances: SHARED_PERFORMANCES,
71
+ lines: [
72
+ textRun("One day I'll help you find your perfect collaborator. Today, I mostly wave."),
73
+ textRun("I'm just an understudy for now — but someday I'll know every corner of this town."),
74
+ textRun('Rehearsing my big role: your guide to everything TTT. No spoilers.'),
75
+ textRun("They say one day I'll have real personalities. Plural. I'm excited too."),
76
+ textRun("I'll never make the art — that's your job. I'll just help you find your people."),
77
+ textRun("Every great production starts with somebody standing in the wings. That's me. Literally."),
78
+ textRun("Someday you'll ask me anything about this place and I'll actually answer. Bold, I know."),
79
+ textRun('The Town Crier gets to shout. I get to practice my bow. For now.'),
80
+ textRun("I've read the whole script of this town. Well... skimmed. I'm working on it."),
81
+ textRun('Big dreams for a stick figure: guide, helper, friend. In that order.'),
82
+ [
83
+ { kind: 'text', text: "When the curtain rises on my real role, you'll be the first to know. You " },
84
+ { kind: 'emphasis', text: 'did' },
85
+ { kind: 'text', text: ' click me first.' },
86
+ ],
87
+ textRun('Until my big debut, consider me the most enthusiastic understudy in show business.'),
88
+ textRun("Even the greatest playwright who ever lived starts over as an understudy in a town this good. That's my story, anyway."),
89
+ textRun('Four hundred years of theatre experience. My résumé? A drawing of myself.'),
90
+ ],
91
+ footer: dockFooter('Bill', BILL_FOOTER_TAIL),
92
+ selectable: true,
93
+ };
94
+ // ── Kit the Stand-In — permanent Player #2, Bill's rival ─────────────────────
95
+ const KIT = {
96
+ id: 'kit',
97
+ name: 'Kit the Stand-In',
98
+ title: 'The Stand-In',
99
+ billingKind: 'player',
100
+ billingLabel: 'Player',
101
+ shortBio: "Permanent Player #2, and Bill's rival.",
102
+ characterStudy: [
103
+ {
104
+ kind: 'paragraph',
105
+ segments: textRun('Sharp, quick, and absolutely certain he should have gone first. Kit auditioned for founding mascot, delivered the finest monologue the empty theatre had ever heard, and lost the part to a stick figure with a “trustworthy wave.” He has been gracious about it every single day since — loudly, to anyone in range. Keeps the rejection letter framed. Ask him about it. He’s dying for you to ask.'),
106
+ },
107
+ {
108
+ kind: 'aside',
109
+ segments: textRun('Loosely nodding to a certain rival playwright — brilliant, theatrical, gone too soon. One day, an AI-powered guide with this exact personality: genuinely helpful, faintly insulted by the request.'),
110
+ },
111
+ ],
112
+ originatedByUid: null,
113
+ originatedByFallback: 'To be determined',
114
+ invitesOrigination: true,
115
+ choreographyCaption: 'Choreography by — to be determined',
116
+ performances: SHARED_PERFORMANCES,
117
+ lines: [
118
+ textRun("Yes, I'm the Stand-In. Permanently. The irony isn't lost on me — it lives with me now."),
119
+ textRun("I was FIRST in line at the founding audition. They went with a stick figure who 'waves well.'"),
120
+ textRun("Bill rehearses roles nobody wrote. I've already memorized them. We are not the same."),
121
+ textRun("One day this whole town will know my name. Today it's 'the other one.' Fine."),
122
+ textRun("I don't do warm-ups. I arrive brilliant."),
123
+ textRun('Founding mascot. FOUNDING. He waved at a login page and they gave him a title.'),
124
+ textRun('My five-year plan is center stage. My five-century plan is also center stage.'),
125
+ textRun('History remembers a playwright who died before his rival got famous. Anyway. No reason.'),
126
+ textRun('Click Bill for encouragement. Click me to hear the truth, beautifully delivered.'),
127
+ textRun('I keep my rejection letter framed. Motivation is motivation.'),
128
+ textRun("You clicked me first today. I rehearsed being gracious about this — give me a moment."),
129
+ textRun("When the curtain finally rises on my lead role, act surprised. I won't."),
130
+ textRun('They say I might have been a spy in a past life. I neither confirm nor deny. Mystique.'),
131
+ textRun('The Understudy and the Stand-In on one stage. Somewhere a playwright is laughing at us both.'),
132
+ ],
133
+ footer: dockFooter('Kit', KIT_FOOTER_TAIL),
134
+ selectable: true,
135
+ };
136
+ // ── Yorick the Forgettable — Stand-In · Limited Engagement ───────────────────
137
+ // Never selectable, never the dock companion; his lines are on-stage only.
138
+ const YORICK = {
139
+ id: 'yorick',
140
+ name: 'Yorick the Forgettable',
141
+ title: 'The Forgettable',
142
+ billingKind: 'standIn',
143
+ billingLabel: 'Stand-In · Limited Engagement',
144
+ shortBio: 'A Limited Engagement Stand-In, keeping the light warm.',
145
+ characterStudy: [
146
+ {
147
+ kind: 'paragraph',
148
+ segments: textRun("A fellow of infinite jest, reduced to holding a light he isn't allowed to stand in. Yorick insists he was the funniest jester who ever lived — and unfortunately, everyone who could confirm it is unavailable for comment. He is keeping the stage warm until the role is properly cast, and he'd rather you didn't get attached. You'll forget him anyway. Everyone does. It's in the name."),
149
+ },
150
+ ],
151
+ originatedByUid: null,
152
+ originatedByFallback: 'no one will admit to it',
153
+ invitesOrigination: false,
154
+ choreographyCaption: 'Bow · Hop · Wave — borrowed from Bill, who says he can have them',
155
+ performances: SHARED_PERFORMANCES,
156
+ lines: [
157
+ textRun("Oh! A visitor. Nobody visits the Wings. I'd know — I keep the guestbook. It's empty."),
158
+ textRun("I used to kill at court, you know. Standing ovations. Kings weeping. ...You'll take my word for it."),
159
+ textRun("Don't get attached. I'm told I'm temporary. The skull agrees."),
160
+ textRun('Alas, poor me. I knew me well.'),
161
+ textRun('Infinite jest, they said. INFINITE. And yet here I am, finite-ly employed.'),
162
+ textRun("One day they'll cast this role properly and I'll be forgotten. Ahead of schedule, honestly."),
163
+ ],
164
+ selectable: false,
165
+ };
166
+ export const COMPANY_MASCOTS = {
167
+ bill: BILL,
168
+ kit: KIT,
169
+ yorick: YORICK,
170
+ };
171
+ /** Registry order (Bill → Kit → Yorick), reused from the roster. */
172
+ export const COMPANY_MASCOT_ORDER = COMPANY_CHARACTER_IDS;
173
+ // ── Pure helpers ─────────────────────────────────────────────────────────────
174
+ /** True when `x` is a canonical Company character id. */
175
+ export function isCompanyCharacterId(x) {
176
+ return typeof x === 'string' && COMPANY_CHARACTER_IDS.includes(x);
177
+ }
178
+ /** True when `id` may be cast as the dock companion — driven by the mascot
179
+ * data's `selectable` field (Yorick is false). */
180
+ export function isSelectableCompanion(id) {
181
+ return COMPANY_MASCOTS[id].selectable;
182
+ }
183
+ /** The mascot record for a character id. */
184
+ export function getCompanyMascot(id) {
185
+ return COMPANY_MASCOTS[id];
186
+ }
187
+ // ── Companion-switch snark exchanges (VERBATIM) ──────────────────────────────
188
+ // Keyed by the character being switched TO. Outgoing line first (the departing
189
+ // companion), then the incoming retort.
190
+ export const COMPANION_SWITCH_EXCHANGES = {
191
+ // Switching TO Kit — Bill exits, Kit enters.
192
+ kit: [
193
+ {
194
+ outgoing: { id: 'bill', line: "Kit?! ...No, it's fine. It's fine. I'll be in the wings. Rehearsing. Alone." },
195
+ incoming: { id: 'kit', line: 'Finally. Someone with taste.' },
196
+ },
197
+ {
198
+ outgoing: { id: 'bill', line: 'Take care of them, Kit. They click gently.' },
199
+ incoming: { id: 'kit', line: 'I know how to be adored, Bill.' },
200
+ },
201
+ {
202
+ outgoing: { id: 'bill', line: 'The understudy yields the stage. Again.' },
203
+ incoming: { id: 'kit', line: 'And yet history will say I earned it. Because I did.' },
204
+ },
205
+ {
206
+ outgoing: { id: 'bill', line: "You'll come back. They always— they usually come back." },
207
+ incoming: { id: 'kit', line: "Don't wait up." },
208
+ },
209
+ {
210
+ outgoing: { id: 'bill', line: 'Break a leg, Kit.' },
211
+ incoming: { id: 'kit', line: 'I never break anything but hearts and attendance records.' },
212
+ },
213
+ ],
214
+ // Switching TO Bill — Kit exits, Bill enters.
215
+ bill: [
216
+ {
217
+ outgoing: { id: 'kit', line: 'Unbelievable. UNBELIEVABLE.' },
218
+ incoming: { id: 'bill', line: "It's good to be back! ...He'll be alright." },
219
+ },
220
+ {
221
+ outgoing: { id: 'kit', line: "Enjoy the waving. That's all he does, you know." },
222
+ incoming: { id: 'bill', line: "I also bow now! I've been practicing." },
223
+ },
224
+ {
225
+ outgoing: { id: 'kit', line: 'I was BRILLIANT and you choose the stick figure with the cap.' },
226
+ incoming: { id: 'bill', line: "He means 'welcome back.' We're working on it." },
227
+ },
228
+ {
229
+ outgoing: { id: 'kit', line: 'Fine. FINE. The wings have better lighting anyway.' },
230
+ incoming: { id: 'bill', line: "They really don't. I'd know." },
231
+ },
232
+ {
233
+ outgoing: { id: 'kit', line: 'This is the founding audition all over again.' },
234
+ incoming: { id: 'bill', line: "You'll get the next one, Kit. ...Probably not. But maybe!" },
235
+ },
236
+ ],
237
+ };
238
+ // ── Yorick block lines (VERBATIM) ────────────────────────────────────────────
239
+ // Spoken by the ACTIVE companion when the user presses Yorick's cast button.
240
+ export const YORICK_BLOCK_LINES = {
241
+ bill: [
242
+ "Soft you now — he's a Stand-In! He's only keeping the light warm. Thou art stuck with me. Nay — blessed with me.",
243
+ "Yorick?! He doesn't even know his blocking. Literally. He asks me where to stand.",
244
+ "You can't cast Yorick — he's on a Limited Engagement. Very limited. He leaves when the real role is cast.",
245
+ 'Alas, poor choice — I knew him better than you do. Pick a Player.',
246
+ ],
247
+ kit: [
248
+ 'The skeleton crew? No. Absolutely not. You have TWO trained professionals right here.',
249
+ "He doesn't even know his blocking. I've watched him bow into the curtain. Twice.",
250
+ "Yorick's not staying. Don't get attached to the help.",
251
+ "You'd pass over ME for the temp? ...I need to sit down. On the couch he's not allowed on.",
252
+ ],
253
+ };
254
+ // ── Signed-out dock lines (VERBATIM) ─────────────────────────────────────────
255
+ // Spoken by whichever Player is on the dock when NO user is signed in — the
256
+ // pre-login pitch.
257
+ export const SIGNED_OUT_DOCK_LINES = [
258
+ "The show's inside — and it's free. No ads, just an email.",
259
+ "I'd introduce you to the whole Company, but you'll need a ticket. Tickets are free.",
260
+ 'Everything in this town is made by real people. Come see.',
261
+ ];
262
+ // ── Onboarding cameo lines (VERBATIM) ────────────────────────────────────────
263
+ export const ONBOARDING_CAMEOS = {
264
+ kitAuditionStage: "The Audition Stage. Where stars are born. I was robbed here once — anyway, you'll love it.",
265
+ yorickHall: 'The Hall — every tale, tune, and show the town keeps. Four hundred years of my material, and not one shelf. Enjoy.',
266
+ curtainCall: {
267
+ bill: 'Break a leg out there.',
268
+ kit: 'Try not to embarrass us.',
269
+ yorick: "You'll forget me. It's fine. Go.",
270
+ },
271
+ };
272
+ //# sourceMappingURL=company-mascots.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"company-mascots.js","sourceRoot":"","sources":["../../src/constants/company-mascots.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,0EAA0E;AAC1E,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,yEAAyE;AACzE,yEAAyE;AACzE,2EAA2E;AAC3E,gEAAgE;AAChE,EAAE;AACF,6EAA6E;AAC7E,uEAAuE;AACvE,gFAAgF;AAChF,6EAA6E;AAC7E,wEAAwE;AACxE,sDAAsD;AACtD,EAAE;AACF,6EAA6E;AAC7E,0EAA0E;AAC1E,wEAAwE;AACxE,mCAAmC;AACnC,+EAA+E;AAO/E,0DAA0D;AAC1D,MAAM,CAAC,MAAM,qBAAqB,GAAkC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AAU9F;gFACgF;AAChF,MAAM,CAAC,MAAM,2BAA2B,GAAwC,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;AAKvG,8CAA8C;AAC9C,MAAM,CAAC,MAAM,wBAAwB,GAAqC,CAAC,MAAM,EAAE,KAAK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AAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,EAAE;SAC/D;QACD;YACE,QAAQ,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,+CAA+C,EAAE;YAC9E,QAAQ,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,2DAA2D,EAAE;SAC5F;KACF;CACF,CAAC;AAEF,gFAAgF;AAChF,6EAA6E;AAC7E,MAAM,CAAC,MAAM,kBAAkB,GAA+D;IAC5F,IAAI,EAAE;QACJ,kHAAkH;QAClH,mFAAmF;QACnF,2GAA2G;QAC3G,mEAAmE;KACpE;IACD,GAAG,EAAE;QACH,uFAAuF;QACvF,kFAAkF;QAClF,uDAAuD;QACvD,2FAA2F;KAC5F;CACF,CAAC;AAEF,gFAAgF;AAChF,4EAA4E;AAC5E,mBAAmB;AACnB,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD,2DAA2D;IAC3D,qFAAqF;IACrF,2DAA2D;CAC5D,CAAC;AAEF,gFAAgF;AAChF,MAAM,CAAC,MAAM,iBAAiB,GAAqB;IACjD,gBAAgB,EACd,4FAA4F;IAC9F,UAAU,EACR,oHAAoH;IACtH,WAAW,EAAE;QACX,IAAI,EAAE,wBAAwB;QAC9B,GAAG,EAAE,0BAA0B;QAC/B,MAAM,EAAE,kCAAkC;KAC3C;CACF,CAAC","sourcesContent":["// ============================================================================\n// THE COMPANY — canonical Green Room mascot contract + content (Rule 36).\n//\n// The ONE home for the pure, server-safe Company business truths (id unions,\n// billing kinds, performance intents, selectability, roster order) AND the\n// DJ-approved VERBATIM character content (studies, click lines, footers,\n// companion-switch exchanges, Yorick block lines, signed-out dock lines,\n// onboarding cameos). Moved here losslessly from the app's staging modules\n// (`src/lib/company-contract` + `src/lib/company-mascots.tsx`).\n//\n// This module is pure data: NO React, NO JSX, NO Next links, NO CSS, NO SVG,\n// NO functions inside the data. Rich copy is modelled as discriminated\n// `CompanyCopySegment`s so a web renderer, a phone app, or an AI voice can each\n// present the exact approved words without importing a UI framework. The app\n// owns the puppets, rig, choreography, and the adapter that turns these\n// segments into `<p>`, `<em>`, and route-aware links.\n//\n// Canonical dialogue stays a versioned code constant here (never Firestore):\n// it is the personality source, the safe AI-unavailable fallback, and the\n// voice-regression fixture. Never reword — curly quotes/apostrophes are\n// authored exactly as they render.\n// ============================================================================\n\n// ── Contract: id unions, billing, intents, selectability ─────────────────────\n\n/** Every member of the Company, in roster order. */\nexport type CompanyCharacterId = 'bill' | 'kit' | 'yorick';\n\n/** The roster, in billing order (Bill → Kit → Yorick). */\nexport const COMPANY_CHARACTER_IDS: readonly CompanyCharacterId[] = ['bill', 'kit', 'yorick'];\n\n/** Billing tiers: the founding Player, permanent Players, and Stand-Ins\n * (Limited Engagement — never selectable as the companion). */\nexport type CompanyBillingKind = 'foundingPlayer' | 'player' | 'standIn';\n\n/** Demoable move intents — keyed by intent from day one so future event\n * performances (page-grabs, standing ovations) land as content, not code. */\nexport type CompanyPerformanceIntent = 'bow' | 'hop' | 'wave';\n\n/** The performance intents, in demo-button order. The app previously\n * hand-mirrored this union in two places; consumers derive from this array. */\nexport const COMPANY_PERFORMANCE_INTENTS: readonly CompanyPerformanceIntent[] = ['bow', 'hop', 'wave'];\n\n/** The characters a user may cast as their dock companion (never a Stand-In). */\nexport type SelectableCompanionId = 'bill' | 'kit';\n\n/** The castable dock companions, in order. */\nexport const SELECTABLE_COMPANION_IDS: readonly SelectableCompanionId[] = ['bill', 'kit'];\n\n// ── Rich-copy pure-data model ────────────────────────────────────────────────\n\n/** Semantic destinations the copy can link to. Each client maps these to its\n * own route/navigation — the package never carries an href in mascot copy. */\nexport type CompanyNavigationTarget = 'greenRoom' | 'futurePlans';\n\n/** A single run of copy. `link` carries a semantic target, not a URL. */\nexport type CompanyCopySegment =\n | { readonly kind: 'text'; readonly text: string }\n | { readonly kind: 'emphasis'; readonly text: string }\n | { readonly kind: 'link'; readonly label: string; readonly target: CompanyNavigationTarget };\n\n/** A block of copy — a paragraph or a set-aside aside. */\nexport type CompanyCopyBlockKind = 'paragraph' | 'aside';\n\nexport interface CompanyCopyBlock {\n readonly kind: CompanyCopyBlockKind;\n readonly segments: readonly CompanyCopySegment[];\n}\n\n// ── Registry shapes ──────────────────────────────────────────────────────────\n\nexport interface CompanyPerformance {\n readonly id: string;\n readonly label: string;\n readonly intent: CompanyPerformanceIntent;\n /** Community \"Choreography by\" credit — null until an audition stages it. */\n readonly creditUid: string | null;\n}\n\nexport interface CompanyMascot {\n readonly id: CompanyCharacterId;\n /** Full stage name shown on nameplates + the playbill (\"Bill the Understudy\"). */\n readonly name: string;\n /** The ironic-understatement epithet (the Company tradition). */\n readonly title: string;\n readonly billingKind: CompanyBillingKind;\n /** Billing line rendered beside the name (\"Founding Player\"). */\n readonly billingLabel: string;\n /** One-line structural descriptor (not character voice). */\n readonly shortBio: string;\n /** Playbill character study (human-written; the future AI personality source). */\n readonly characterStudy: readonly CompanyCopyBlock[];\n /** \"Role originated by\" — resolves live via the app when set. */\n readonly originatedByUid: string | null;\n /** Text shown after \"Role originated by — \" when originatedByUid is null. */\n readonly originatedByFallback: string;\n /** Whether the origination frame invites the reader (\"→ your name here?\"). */\n readonly invitesOrigination: boolean;\n /** The performances credit caption under the demo buttons. */\n readonly choreographyCaption: string;\n readonly performances: readonly CompanyPerformance[];\n /** Rotating click lines (dock companion bubble + on-stage line pop). Each\n * line is a segment run — most are a single text segment. */\n readonly lines: readonly (readonly CompanyCopySegment[])[];\n /** Dock speech-bubble footer segments. The character's short name is a\n * `greenRoom` link segment; the app renders it as a link when signed in and\n * as plain text when signed out. \"one day\" always links to `futurePlans`.\n * Absent for Stand-Ins (Yorick — never the dock companion). */\n readonly footer?: readonly CompanyCopySegment[];\n /** False for Stand-Ins (Yorick) — never storable as the dock companion. */\n readonly selectable: boolean;\n}\n\n/** Companion-switch snark exchange, keyed (in COMPANION_SWITCH_EXCHANGES) by the\n * character switched TO. Outgoing line first (the departing companion), then the\n * incoming retort. Plain strings. */\nexport interface CompanionSwitchExchange {\n readonly outgoing: { readonly id: SelectableCompanionId; readonly line: string };\n readonly incoming: { readonly id: SelectableCompanionId; readonly line: string };\n}\n\n/** Onboarding cameo lines — Company members crashing the registration tour. */\nexport interface OnboardingCameos {\n /** Kit crashes The Audition Stage step. */\n readonly kitAuditionStage: string;\n /** Yorick cameos on The Hall step. */\n readonly yorickHall: string;\n /** The send-off curtain call — all three bow. */\n readonly curtainCall: Readonly<Record<CompanyCharacterId, string>>;\n}\n\n// ── Segment construction helpers (module-private; output is pure data) ────────\n\n/** A line/footer that is a single plain-text run. */\nconst textRun = (text: string): readonly CompanyCopySegment[] => [{ kind: 'text', text }];\n\n/** A character's dock footer, built from the one verbatim sentence. The name is\n * a `greenRoom` link segment (the app renders it plain when signed out); \"one\n * day\" always links to `futurePlans`; `tail` is the character-specific close. */\nconst dockFooter = (name: string, tail: string): readonly CompanyCopySegment[] => [\n { kind: 'link', label: name, target: 'greenRoom' },\n { kind: 'text', text: ' is a basic version for now — ' },\n { kind: 'link', label: 'one day', target: 'futurePlans' },\n { kind: 'text', text: ` ${tail}` },\n];\n\nconst SHARED_PERFORMANCES: readonly CompanyPerformance[] = [\n { id: 'bow', label: 'Bow', intent: 'bow', creditUid: null },\n { id: 'hop', label: 'Hop', intent: 'hop', creditUid: null },\n { id: 'wave', label: 'Wave', intent: 'wave', creditUid: null },\n];\n\n// The dock-footer close sentences, VERBATIM (the pre-Company Bill wording; Kit's\n// from the settled spec). Curly apostrophes authored exactly as rendered.\nconst BILL_FOOTER_TAIL =\n 'we hope to make him an AI-powered guide who helps you navigate the site. He’ll never make content, just help.';\nconst KIT_FOOTER_TAIL =\n 'we hope to make him an AI-powered guide with this exact attitude. He’ll never make content. He does have opinions about yours.';\n\n// ── Bill the Understudy — Founding Player ────────────────────────────────────\n// The 14 approved lines are VERBATIM (incl. the italic emphasis in line 11).\nconst BILL: CompanyMascot = {\n id: 'bill',\n name: 'Bill the Understudy',\n title: 'The Understudy',\n billingKind: 'foundingPlayer',\n billingLabel: 'Founding Player',\n shortBio: \"TTT's founding player and your first guide.\",\n characterStudy: [\n {\n kind: 'paragraph',\n segments: textRun(\n 'The most enthusiastic understudy in show business, and TTT Productions’ founding player. Bill has read the whole script of this town — well, skimmed it — and rehearses every day for the role of your guide to everything here. He insists the ‘Bill’ is short for William, and that he once wrote plays in a town called Stratford. We have chosen to let him believe it. Someday he’ll answer anything you ask about this place. Today, he mostly waves.',\n ),\n },\n ],\n originatedByUid: null,\n originatedByFallback: 'To be determined',\n invitesOrigination: true,\n choreographyCaption: 'Choreography by — to be determined',\n performances: SHARED_PERFORMANCES,\n lines: [\n textRun(\"One day I'll help you find your perfect collaborator. Today, I mostly wave.\"),\n textRun(\"I'm just an understudy for now — but someday I'll know every corner of this town.\"),\n textRun('Rehearsing my big role: your guide to everything TTT. No spoilers.'),\n textRun(\"They say one day I'll have real personalities. Plural. I'm excited too.\"),\n textRun(\"I'll never make the art — that's your job. I'll just help you find your people.\"),\n textRun(\"Every great production starts with somebody standing in the wings. That's me. Literally.\"),\n textRun(\"Someday you'll ask me anything about this place and I'll actually answer. Bold, I know.\"),\n textRun('The Town Crier gets to shout. I get to practice my bow. For now.'),\n textRun(\"I've read the whole script of this town. Well... skimmed. I'm working on it.\"),\n textRun('Big dreams for a stick figure: guide, helper, friend. In that order.'),\n [\n { kind: 'text', text: \"When the curtain rises on my real role, you'll be the first to know. You \" },\n { kind: 'emphasis', text: 'did' },\n { kind: 'text', text: ' click me first.' },\n ],\n textRun('Until my big debut, consider me the most enthusiastic understudy in show business.'),\n textRun(\"Even the greatest playwright who ever lived starts over as an understudy in a town this good. That's my story, anyway.\"),\n textRun('Four hundred years of theatre experience. My résumé? A drawing of myself.'),\n ],\n footer: dockFooter('Bill', BILL_FOOTER_TAIL),\n selectable: true,\n};\n\n// ── Kit the Stand-In — permanent Player #2, Bill's rival ─────────────────────\nconst KIT: CompanyMascot = {\n id: 'kit',\n name: 'Kit the Stand-In',\n title: 'The Stand-In',\n billingKind: 'player',\n billingLabel: 'Player',\n shortBio: \"Permanent Player #2, and Bill's rival.\",\n characterStudy: [\n {\n kind: 'paragraph',\n segments: textRun(\n 'Sharp, quick, and absolutely certain he should have gone first. Kit auditioned for founding mascot, delivered the finest monologue the empty theatre had ever heard, and lost the part to a stick figure with a “trustworthy wave.” He has been gracious about it every single day since — loudly, to anyone in range. Keeps the rejection letter framed. Ask him about it. He’s dying for you to ask.',\n ),\n },\n {\n kind: 'aside',\n segments: textRun(\n 'Loosely nodding to a certain rival playwright — brilliant, theatrical, gone too soon. One day, an AI-powered guide with this exact personality: genuinely helpful, faintly insulted by the request.',\n ),\n },\n ],\n originatedByUid: null,\n originatedByFallback: 'To be determined',\n invitesOrigination: true,\n choreographyCaption: 'Choreography by — to be determined',\n performances: SHARED_PERFORMANCES,\n lines: [\n textRun(\"Yes, I'm the Stand-In. Permanently. The irony isn't lost on me — it lives with me now.\"),\n textRun(\"I was FIRST in line at the founding audition. They went with a stick figure who 'waves well.'\"),\n textRun(\"Bill rehearses roles nobody wrote. I've already memorized them. We are not the same.\"),\n textRun(\"One day this whole town will know my name. Today it's 'the other one.' Fine.\"),\n textRun(\"I don't do warm-ups. I arrive brilliant.\"),\n textRun('Founding mascot. FOUNDING. He waved at a login page and they gave him a title.'),\n textRun('My five-year plan is center stage. My five-century plan is also center stage.'),\n textRun('History remembers a playwright who died before his rival got famous. Anyway. No reason.'),\n textRun('Click Bill for encouragement. Click me to hear the truth, beautifully delivered.'),\n textRun('I keep my rejection letter framed. Motivation is motivation.'),\n textRun(\"You clicked me first today. I rehearsed being gracious about this — give me a moment.\"),\n textRun(\"When the curtain finally rises on my lead role, act surprised. I won't.\"),\n textRun('They say I might have been a spy in a past life. I neither confirm nor deny. Mystique.'),\n textRun('The Understudy and the Stand-In on one stage. Somewhere a playwright is laughing at us both.'),\n ],\n footer: dockFooter('Kit', KIT_FOOTER_TAIL),\n selectable: true,\n};\n\n// ── Yorick the Forgettable — Stand-In · Limited Engagement ───────────────────\n// Never selectable, never the dock companion; his lines are on-stage only.\nconst YORICK: CompanyMascot = {\n id: 'yorick',\n name: 'Yorick the Forgettable',\n title: 'The Forgettable',\n billingKind: 'standIn',\n billingLabel: 'Stand-In · Limited Engagement',\n shortBio: 'A Limited Engagement Stand-In, keeping the light warm.',\n characterStudy: [\n {\n kind: 'paragraph',\n segments: textRun(\n \"A fellow of infinite jest, reduced to holding a light he isn't allowed to stand in. Yorick insists he was the funniest jester who ever lived — and unfortunately, everyone who could confirm it is unavailable for comment. He is keeping the stage warm until the role is properly cast, and he'd rather you didn't get attached. You'll forget him anyway. Everyone does. It's in the name.\",\n ),\n },\n ],\n originatedByUid: null,\n originatedByFallback: 'no one will admit to it',\n invitesOrigination: false,\n choreographyCaption: 'Bow · Hop · Wave — borrowed from Bill, who says he can have them',\n performances: SHARED_PERFORMANCES,\n lines: [\n textRun(\"Oh! A visitor. Nobody visits the Wings. I'd know — I keep the guestbook. It's empty.\"),\n textRun(\"I used to kill at court, you know. Standing ovations. Kings weeping. ...You'll take my word for it.\"),\n textRun(\"Don't get attached. I'm told I'm temporary. The skull agrees.\"),\n textRun('Alas, poor me. I knew me well.'),\n textRun('Infinite jest, they said. INFINITE. And yet here I am, finite-ly employed.'),\n textRun(\"One day they'll cast this role properly and I'll be forgotten. Ahead of schedule, honestly.\"),\n ],\n selectable: false,\n};\n\nexport const COMPANY_MASCOTS: Readonly<Record<CompanyCharacterId, CompanyMascot>> = {\n bill: BILL,\n kit: KIT,\n yorick: YORICK,\n};\n\n/** Registry order (Bill → Kit → Yorick), reused from the roster. */\nexport const COMPANY_MASCOT_ORDER: readonly CompanyCharacterId[] = COMPANY_CHARACTER_IDS;\n\n// ── Pure helpers ─────────────────────────────────────────────────────────────\n\n/** True when `x` is a canonical Company character id. */\nexport function isCompanyCharacterId(x: unknown): x is CompanyCharacterId {\n return typeof x === 'string' && (COMPANY_CHARACTER_IDS as readonly string[]).includes(x);\n}\n\n/** True when `id` may be cast as the dock companion — driven by the mascot\n * data's `selectable` field (Yorick is false). */\nexport function isSelectableCompanion(id: CompanyCharacterId): id is SelectableCompanionId {\n return COMPANY_MASCOTS[id].selectable;\n}\n\n/** The mascot record for a character id. */\nexport function getCompanyMascot(id: CompanyCharacterId): CompanyMascot {\n return COMPANY_MASCOTS[id];\n}\n\n// ── Companion-switch snark exchanges (VERBATIM) ──────────────────────────────\n// Keyed by the character being switched TO. Outgoing line first (the departing\n// companion), then the incoming retort.\nexport const COMPANION_SWITCH_EXCHANGES: Readonly<\n Record<SelectableCompanionId, readonly CompanionSwitchExchange[]>\n> = {\n // Switching TO Kit — Bill exits, Kit enters.\n kit: [\n {\n outgoing: { id: 'bill', line: \"Kit?! ...No, it's fine. It's fine. I'll be in the wings. Rehearsing. Alone.\" },\n incoming: { id: 'kit', line: 'Finally. Someone with taste.' },\n },\n {\n outgoing: { id: 'bill', line: 'Take care of them, Kit. They click gently.' },\n incoming: { id: 'kit', line: 'I know how to be adored, Bill.' },\n },\n {\n outgoing: { id: 'bill', line: 'The understudy yields the stage. Again.' },\n incoming: { id: 'kit', line: 'And yet history will say I earned it. Because I did.' },\n },\n {\n outgoing: { id: 'bill', line: \"You'll come back. They always— they usually come back.\" },\n incoming: { id: 'kit', line: \"Don't wait up.\" },\n },\n {\n outgoing: { id: 'bill', line: 'Break a leg, Kit.' },\n incoming: { id: 'kit', line: 'I never break anything but hearts and attendance records.' },\n },\n ],\n // Switching TO Bill — Kit exits, Bill enters.\n bill: [\n {\n outgoing: { id: 'kit', line: 'Unbelievable. UNBELIEVABLE.' },\n incoming: { id: 'bill', line: \"It's good to be back! ...He'll be alright.\" },\n },\n {\n outgoing: { id: 'kit', line: \"Enjoy the waving. That's all he does, you know.\" },\n incoming: { id: 'bill', line: \"I also bow now! I've been practicing.\" },\n },\n {\n outgoing: { id: 'kit', line: 'I was BRILLIANT and you choose the stick figure with the cap.' },\n incoming: { id: 'bill', line: \"He means 'welcome back.' We're working on it.\" },\n },\n {\n outgoing: { id: 'kit', line: 'Fine. FINE. The wings have better lighting anyway.' },\n incoming: { id: 'bill', line: \"They really don't. I'd know.\" },\n },\n {\n outgoing: { id: 'kit', line: 'This is the founding audition all over again.' },\n incoming: { id: 'bill', line: \"You'll get the next one, Kit. ...Probably not. But maybe!\" },\n },\n ],\n};\n\n// ── Yorick block lines (VERBATIM) ────────────────────────────────────────────\n// Spoken by the ACTIVE companion when the user presses Yorick's cast button.\nexport const YORICK_BLOCK_LINES: Readonly<Record<SelectableCompanionId, readonly string[]>> = {\n bill: [\n \"Soft you now — he's a Stand-In! He's only keeping the light warm. Thou art stuck with me. Nay — blessed with me.\",\n \"Yorick?! He doesn't even know his blocking. Literally. He asks me where to stand.\",\n \"You can't cast Yorick — he's on a Limited Engagement. Very limited. He leaves when the real role is cast.\",\n 'Alas, poor choice — I knew him better than you do. Pick a Player.',\n ],\n kit: [\n 'The skeleton crew? No. Absolutely not. You have TWO trained professionals right here.',\n \"He doesn't even know his blocking. I've watched him bow into the curtain. Twice.\",\n \"Yorick's not staying. Don't get attached to the help.\",\n \"You'd pass over ME for the temp? ...I need to sit down. On the couch he's not allowed on.\",\n ],\n};\n\n// ── Signed-out dock lines (VERBATIM) ─────────────────────────────────────────\n// Spoken by whichever Player is on the dock when NO user is signed in — the\n// pre-login pitch.\nexport const SIGNED_OUT_DOCK_LINES: readonly string[] = [\n \"The show's inside — and it's free. No ads, just an email.\",\n \"I'd introduce you to the whole Company, but you'll need a ticket. Tickets are free.\",\n 'Everything in this town is made by real people. Come see.',\n];\n\n// ── Onboarding cameo lines (VERBATIM) ────────────────────────────────────────\nexport const ONBOARDING_CAMEOS: OnboardingCameos = {\n kitAuditionStage:\n \"The Audition Stage. Where stars are born. I was robbed here once — anyway, you'll love it.\",\n yorickHall:\n 'The Hall — every tale, tune, and show the town keeps. Four hundred years of my material, and not one shelf. Enjoy.',\n curtainCall: {\n bill: 'Break a leg out there.',\n kit: 'Try not to embarrass us.',\n yorick: \"You'll forget me. It's fine. Go.\",\n },\n};\n"]}
@@ -13,4 +13,6 @@ export * from './release-flags.js';
13
13
  export * from './retention.js';
14
14
  export * from './scheduled-jobs.js';
15
15
  export * from './storage-keys.js';
16
+ export * from './company-mascots.js';
17
+ export * from './center-stage-rooms.js';
16
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC"}
@@ -13,4 +13,6 @@ export * from './release-flags.js';
13
13
  export * from './retention.js';
14
14
  export * from './scheduled-jobs.js';
15
15
  export * from './storage-keys.js';
16
+ export * from './company-mascots.js';
17
+ export * from './center-stage-rooms.js';
16
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './app-mode.js';\nexport * from './business.js';\nexport * from './chat.js';\nexport * from './moderation.js';\nexport * from './options.js';\nexport * from './admin-labels.js';\nexport * from './craft-skill-statements.js';\nexport * from './publish-attestations.js';\nexport * from './safety-confirmation-phrases.js';\nexport * from './safety-telemetry-patterns.js';\nexport * from './pagination.js';\nexport * from './release-flags.js';\nexport * from './retention.js';\nexport * from './scheduled-jobs.js';\nexport * from './storage-keys.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './app-mode.js';\nexport * from './business.js';\nexport * from './chat.js';\nexport * from './moderation.js';\nexport * from './options.js';\nexport * from './admin-labels.js';\nexport * from './craft-skill-statements.js';\nexport * from './publish-attestations.js';\nexport * from './safety-confirmation-phrases.js';\nexport * from './safety-telemetry-patterns.js';\nexport * from './pagination.js';\nexport * from './release-flags.js';\nexport * from './retention.js';\nexport * from './scheduled-jobs.js';\nexport * from './storage-keys.js';\nexport * from './company-mascots.js';\nexport * from './center-stage-rooms.js';\n"]}
@@ -4,4 +4,19 @@ export declare const REDIRECT_PATH_KEY = "redirectPath";
4
4
  export declare const LS_VERSION_KEY = "ttt-app-version";
5
5
  /** sessionStorage key marking that a version-mismatch reload was already attempted. */
6
6
  export declare const SS_RELOAD_ATTEMPTED_KEY = "ttt-version-reload-attempted";
7
+ /** localStorage key holding the user's chosen dock companion id ('bill' | 'kit'). */
8
+ export declare const COMPANION_STORAGE_KEY = "ttt-company-companion";
9
+ /** localStorage key: 'true' when the user has hidden the dock companion entirely. */
10
+ export declare const MASCOT_HIDDEN_STORAGE_KEY = "ttt-bill-hidden";
11
+ /** localStorage key holding the last-shown dock-bubble line index (avoids an
12
+ * immediate repeat across visits). */
13
+ export declare const MASCOT_LINE_INDEX_STORAGE_KEY = "ttt-bill-line-index";
14
+ /** Same-tab window event dispatched when MASCOT_HIDDEN_STORAGE_KEY changes
15
+ * (localStorage 'storage' events do not fire in the writing tab). */
16
+ export declare const MASCOT_HIDDEN_CHANGE_EVENT = "ttt-bill-pref-change";
17
+ /** Same-tab window event dispatched when COMPANION_STORAGE_KEY changes. */
18
+ export declare const COMPANION_CHANGE_EVENT = "ttt-company-companion-change";
19
+ /** Same-tab window event dispatched when the transient dock-puppet pose changes
20
+ * (in-memory store; never persisted). */
21
+ export declare const MASCOT_POSE_CHANGE_EVENT = "ttt-bill-pose-change";
7
22
  //# sourceMappingURL=storage-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage-keys.d.ts","sourceRoot":"","sources":["../../src/constants/storage-keys.ts"],"names":[],"mappings":"AAEA,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,2FAA2F;AAC3F,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAEhD,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,iCAAiC,CAAC"}
1
+ {"version":3,"file":"storage-keys.d.ts","sourceRoot":"","sources":["../../src/constants/storage-keys.ts"],"names":[],"mappings":"AAEA,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,2FAA2F;AAC3F,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAEhD,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,iCAAiC,CAAC;AAMtE,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,qFAAqF;AACrF,eAAO,MAAM,yBAAyB,oBAAoB,CAAC;AAE3D;uCACuC;AACvC,eAAO,MAAM,6BAA6B,wBAAwB,CAAC;AAEnE;sEACsE;AACtE,eAAO,MAAM,0BAA0B,yBAAyB,CAAC;AAEjE,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,iCAAiC,CAAC;AAErE;0CAC0C;AAC1C,eAAO,MAAM,wBAAwB,yBAAyB,CAAC"}
@@ -5,4 +5,22 @@ export const REDIRECT_PATH_KEY = 'redirectPath';
5
5
  export const LS_VERSION_KEY = 'ttt-app-version';
6
6
  /** sessionStorage key marking that a version-mismatch reload was already attempted. */
7
7
  export const SS_RELOAD_ATTEMPTED_KEY = 'ttt-version-reload-attempted';
8
+ // --- Company / Green Room dock companion (device-local v1 stores) ---
9
+ // Values are byte-stable for backward compatibility — the historical 'bill'
10
+ // naming predates the Company rename and MUST NOT change.
11
+ /** localStorage key holding the user's chosen dock companion id ('bill' | 'kit'). */
12
+ export const COMPANION_STORAGE_KEY = 'ttt-company-companion';
13
+ /** localStorage key: 'true' when the user has hidden the dock companion entirely. */
14
+ export const MASCOT_HIDDEN_STORAGE_KEY = 'ttt-bill-hidden';
15
+ /** localStorage key holding the last-shown dock-bubble line index (avoids an
16
+ * immediate repeat across visits). */
17
+ export const MASCOT_LINE_INDEX_STORAGE_KEY = 'ttt-bill-line-index';
18
+ /** Same-tab window event dispatched when MASCOT_HIDDEN_STORAGE_KEY changes
19
+ * (localStorage 'storage' events do not fire in the writing tab). */
20
+ export const MASCOT_HIDDEN_CHANGE_EVENT = 'ttt-bill-pref-change';
21
+ /** Same-tab window event dispatched when COMPANION_STORAGE_KEY changes. */
22
+ export const COMPANION_CHANGE_EVENT = 'ttt-company-companion-change';
23
+ /** Same-tab window event dispatched when the transient dock-puppet pose changes
24
+ * (in-memory store; never persisted). */
25
+ export const MASCOT_POSE_CHANGE_EVENT = 'ttt-bill-pose-change';
8
26
  //# sourceMappingURL=storage-keys.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage-keys.js","sourceRoot":"","sources":["../../src/constants/storage-keys.ts"],"names":[],"mappings":"AAAA,iEAAiE;AAEjE,4FAA4F;AAC5F,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEhD,2FAA2F;AAC3F,MAAM,CAAC,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAEhD,uFAAuF;AACvF,MAAM,CAAC,MAAM,uBAAuB,GAAG,8BAA8B,CAAC","sourcesContent":["// Well-known keys used in browser sessionStorage / localStorage.\n\n/** sessionStorage key holding the path the user wanted before being redirected to login. */\nexport const REDIRECT_PATH_KEY = 'redirectPath';\n\n/** localStorage key holding the last-seen app version (used by version-gate component). */\nexport const LS_VERSION_KEY = 'ttt-app-version';\n\n/** sessionStorage key marking that a version-mismatch reload was already attempted. */\nexport const SS_RELOAD_ATTEMPTED_KEY = 'ttt-version-reload-attempted';\n"]}
1
+ {"version":3,"file":"storage-keys.js","sourceRoot":"","sources":["../../src/constants/storage-keys.ts"],"names":[],"mappings":"AAAA,iEAAiE;AAEjE,4FAA4F;AAC5F,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEhD,2FAA2F;AAC3F,MAAM,CAAC,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAEhD,uFAAuF;AACvF,MAAM,CAAC,MAAM,uBAAuB,GAAG,8BAA8B,CAAC;AAEtE,uEAAuE;AACvE,4EAA4E;AAC5E,0DAA0D;AAE1D,qFAAqF;AACrF,MAAM,CAAC,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AAE7D,qFAAqF;AACrF,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;AAE3D;uCACuC;AACvC,MAAM,CAAC,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AAEnE;sEACsE;AACtE,MAAM,CAAC,MAAM,0BAA0B,GAAG,sBAAsB,CAAC;AAEjE,2EAA2E;AAC3E,MAAM,CAAC,MAAM,sBAAsB,GAAG,8BAA8B,CAAC;AAErE;0CAC0C;AAC1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,sBAAsB,CAAC","sourcesContent":["// Well-known keys used in browser sessionStorage / localStorage.\n\n/** sessionStorage key holding the path the user wanted before being redirected to login. */\nexport const REDIRECT_PATH_KEY = 'redirectPath';\n\n/** localStorage key holding the last-seen app version (used by version-gate component). */\nexport const LS_VERSION_KEY = 'ttt-app-version';\n\n/** sessionStorage key marking that a version-mismatch reload was already attempted. */\nexport const SS_RELOAD_ATTEMPTED_KEY = 'ttt-version-reload-attempted';\n\n// --- Company / Green Room dock companion (device-local v1 stores) ---\n// Values are byte-stable for backward compatibility — the historical 'bill'\n// naming predates the Company rename and MUST NOT change.\n\n/** localStorage key holding the user's chosen dock companion id ('bill' | 'kit'). */\nexport const COMPANION_STORAGE_KEY = 'ttt-company-companion';\n\n/** localStorage key: 'true' when the user has hidden the dock companion entirely. */\nexport const MASCOT_HIDDEN_STORAGE_KEY = 'ttt-bill-hidden';\n\n/** localStorage key holding the last-shown dock-bubble line index (avoids an\n * immediate repeat across visits). */\nexport const MASCOT_LINE_INDEX_STORAGE_KEY = 'ttt-bill-line-index';\n\n/** Same-tab window event dispatched when MASCOT_HIDDEN_STORAGE_KEY changes\n * (localStorage 'storage' events do not fire in the writing tab). */\nexport const MASCOT_HIDDEN_CHANGE_EVENT = 'ttt-bill-pref-change';\n\n/** Same-tab window event dispatched when COMPANION_STORAGE_KEY changes. */\nexport const COMPANION_CHANGE_EVENT = 'ttt-company-companion-change';\n\n/** Same-tab window event dispatched when the transient dock-puppet pose changes\n * (in-memory store; never persisted). */\nexport const MASCOT_POSE_CHANGE_EVENT = 'ttt-bill-pose-change';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/ttt-core",
3
- "version": "0.78.15",
3
+ "version": "0.78.16",
4
4
  "description": "Core types, Firestore path constants, and shared constants for TTT Productions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,6 +60,14 @@
60
60
  "types": "./dist/constants/storage-keys.d.ts",
61
61
  "default": "./dist/constants/storage-keys.js"
62
62
  },
63
+ "./constants/company-mascots": {
64
+ "types": "./dist/constants/company-mascots.d.ts",
65
+ "default": "./dist/constants/company-mascots.js"
66
+ },
67
+ "./constants/center-stage-rooms": {
68
+ "types": "./dist/constants/center-stage-rooms.d.ts",
69
+ "default": "./dist/constants/center-stage-rooms.js"
70
+ },
63
71
  "./utils": {
64
72
  "types": "./dist/utils/index.d.ts",
65
73
  "default": "./dist/utils/index.js"