@dxos/plugin-testing 0.13.0 → 0.16.0-next-60712ab191a99ba90316cc4be753e9e11b17100a

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.
@@ -1,10 +1 @@
1
- import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
- import * as Capability from "@dxos/app-framework/Capability";
3
- import { meta } from "#meta";
4
- //#region src/types/StorybookCapabilities.ts
5
- var StorybookCapabilities_exports = /* @__PURE__ */ __exportAll({ LayoutState: () => LayoutState });
6
- var LayoutState = Capability.makeSingleton()(`${meta.profile.key}.state`);
7
- //#endregion
8
- export { LayoutState, StorybookCapabilities_exports as t };
9
-
10
- //# sourceMappingURL=StorybookCapabilities.mjs.map
1
+ export { t as LayoutState } from "./chunk-StorybookCapabilities.mjs";
@@ -1,19 +1 @@
1
- import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
- import { meta as meta$1 } from "#meta";
3
- import { StorybookPlugin } from "#plugin";
4
- //#region src/StorybookPlugin.ts
5
- var StorybookPlugin_exports = /* @__PURE__ */ __exportAll({
6
- make: () => make,
7
- meta: () => meta
8
- });
9
- /** Plugin metadata, available without loading the plugin body. */
10
- var meta = meta$1;
11
- /**
12
- * Constructs the plugin. Eager by design: storybook runs under vite-dev, where webkit
13
- * cannot reliably settle the lazy stub's dynamic import (see `./core.ts`).
14
- */
15
- var make = StorybookPlugin;
16
- //#endregion
17
- export { make, meta, StorybookPlugin_exports as t };
18
-
19
- //# sourceMappingURL=StorybookPlugin.mjs.map
1
+ export { n as make, r as meta } from "./chunk-StorybookPlugin.mjs";
@@ -0,0 +1,8 @@
1
+ import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
+ import { corePlugins } from "./core.mjs";
3
+ //#region src/CorePlugins.ts
4
+ var CorePlugins_exports = /* @__PURE__ */ __exportAll({ make: () => corePlugins });
5
+ //#endregion
6
+ export { CorePlugins_exports as t };
7
+
8
+ //# sourceMappingURL=chunk-CorePlugins.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-CorePlugins.mjs","names":[],"sources":["../../src/CorePlugins.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nexport { corePlugins as make } from './core.ts';\n"],"mappings":""}
@@ -0,0 +1,216 @@
1
+ import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
+ //#region src/corpus/sample-messages.ts
3
+ /**
4
+ * ~18 realistic sample messages spread across five topics (project, finance,
5
+ * scheduling, hiring, ops). Search terms such as "invoice", "meeting", "project",
6
+ * and "migration" are repeated across multiple messages so full-text search
7
+ * storybook demos return multiple hits. Consumed by plugin-inbox and
8
+ * plugin-search storybooks.
9
+ */
10
+ var SAMPLE_MESSAGES = [
11
+ {
12
+ from: {
13
+ email: "priya.natarajan@example.com",
14
+ name: "Priya Natarajan"
15
+ },
16
+ subject: "Apollo project kickoff scheduled",
17
+ body: "The Apollo project kicks off Monday at 10am. Please review the attached roadmap before the meeting so we can agree on the first sprint deadline. This project spans three teams and the deadline for phase one is set for next month.",
18
+ topic: "project",
19
+ threadId: "apollo-kickoff",
20
+ daysAgo: 12
21
+ },
22
+ {
23
+ from: {
24
+ email: "marcus.oyelaran@example.com",
25
+ name: "Marcus Oyelaran"
26
+ },
27
+ subject: "Re: Apollo project kickoff scheduled",
28
+ body: "Thanks for the summary. I have added the sprint deadline to the shared calendar and flagged two risks in the project plan that need owner sign-off before the release.",
29
+ topic: "project",
30
+ threadId: "apollo-kickoff",
31
+ daysAgo: 11
32
+ },
33
+ {
34
+ from: {
35
+ email: "diego.fuentes@example.com",
36
+ name: "Diego Fuentes"
37
+ },
38
+ subject: "Sprint 14 release notes",
39
+ body: "Sprint 14 wrapped up yesterday and the release is scheduled for Thursday. The project board shows all critical tickets closed; only the deadline for documentation updates remains open.",
40
+ topic: "project",
41
+ daysAgo: 8
42
+ },
43
+ {
44
+ from: {
45
+ email: "hannah.liu@example.com",
46
+ name: "Hannah Liu"
47
+ },
48
+ subject: "Design review moved up",
49
+ body: "The design review for the onboarding project has been moved up a week to accommodate the release deadline. Please send feedback on the mockups before Friday so the team can finalize the spec.",
50
+ topic: "project",
51
+ daysAgo: 6
52
+ },
53
+ {
54
+ from: {
55
+ email: "billing@northgate-supplies.com",
56
+ name: "Northgate Supplies Billing"
57
+ },
58
+ subject: "Invoice #12345 due Friday",
59
+ body: "This is a reminder that invoice #12345 for office equipment is due Friday. Payment can be made by wire transfer or card; let us know if you need a revised invoice with updated line items.",
60
+ topic: "finance",
61
+ threadId: "northgate-invoice",
62
+ daysAgo: 5
63
+ },
64
+ {
65
+ from: {
66
+ email: "accounts@northgate-supplies.com",
67
+ name: "Northgate Supplies Accounts"
68
+ },
69
+ subject: "Re: Invoice #12345 due Friday",
70
+ body: "We have received your payment confirmation for invoice #12345. Thank you for the prompt payment; a receipt is attached for your records.",
71
+ topic: "finance",
72
+ threadId: "northgate-invoice",
73
+ daysAgo: 4
74
+ },
75
+ {
76
+ from: {
77
+ email: "finance.ops@example.com",
78
+ name: "Finance Operations"
79
+ },
80
+ subject: "Q3 expense report reminder",
81
+ body: "Quarterly expense reports are due by the end of the week. Any outstanding reimbursement requests should include the original invoice; late submissions may delay payment processing until next cycle.",
82
+ topic: "finance",
83
+ daysAgo: 9
84
+ },
85
+ {
86
+ from: {
87
+ email: "sofia.marchetti@example.com",
88
+ name: "Sofia Marchetti"
89
+ },
90
+ subject: "Vendor contract renewal and payment terms",
91
+ body: "The vendor contract renewal includes updated payment terms, moving from net-30 to net-45. Please review the redlines and confirm before we send the signed copy back with the next invoice cycle.",
92
+ topic: "finance",
93
+ daysAgo: 15
94
+ },
95
+ {
96
+ from: {
97
+ email: "grace.kimathi@example.com",
98
+ name: "Grace Kimathi"
99
+ },
100
+ subject: "Reschedule the design review",
101
+ body: "Can we reschedule the design review meeting to Wednesday afternoon? A conflicting client meeting came up and I want to make sure the whole team can attend without rushing the agenda.",
102
+ topic: "scheduling",
103
+ daysAgo: 7
104
+ },
105
+ {
106
+ from: {
107
+ email: "tom.whitfield@example.com",
108
+ name: "Tom Whitfield"
109
+ },
110
+ subject: "Weekly sync meeting moved to Tuesdays",
111
+ body: "Starting next week, the weekly sync meeting moves from Monday to Tuesday at 9am. Please update your calendar; the room booking and video link stay the same as the previous schedule.",
112
+ topic: "scheduling",
113
+ daysAgo: 14
114
+ },
115
+ {
116
+ from: {
117
+ email: "amara.osei@example.com",
118
+ name: "Amara Osei"
119
+ },
120
+ subject: "All-hands meeting agenda for Friday",
121
+ body: "Attached is the agenda for Friday's all-hands meeting. We will cover the roadmap update, a hiring update, and open Q&A; please add topics to the shared doc if you would like time on the schedule.",
122
+ topic: "scheduling",
123
+ daysAgo: 3
124
+ },
125
+ {
126
+ from: {
127
+ email: "liu.wenjie@example.com",
128
+ name: "Liu Wenjie"
129
+ },
130
+ subject: "Confirming 1:1 schedule for next month",
131
+ body: "I would like to confirm our 1:1 schedule for next month stays biweekly on Thursdays. Let me know if you need to reschedule any of the upcoming sessions around the holiday.",
132
+ topic: "scheduling",
133
+ daysAgo: 20
134
+ },
135
+ {
136
+ from: {
137
+ email: "recruiting@example.com",
138
+ name: "Recruiting Team"
139
+ },
140
+ subject: "Interview loop for the backend candidate",
141
+ body: "We have scheduled the interview loop for the backend candidate for next Tuesday: system design, coding, and a hiring manager chat. Please confirm your interview slot and submit feedback within 24 hours.",
142
+ topic: "hiring",
143
+ threadId: "backend-candidate",
144
+ daysAgo: 10
145
+ },
146
+ {
147
+ from: {
148
+ email: "noah.bergstrom@example.com",
149
+ name: "Noah Bergstrom"
150
+ },
151
+ subject: "Re: Interview loop for the backend candidate",
152
+ body: "I finished my interview with the candidate this morning. Strong signal on system design; recommend we move to the hire decision quickly before another offer comes in.",
153
+ topic: "hiring",
154
+ threadId: "backend-candidate",
155
+ daysAgo: 9
156
+ },
157
+ {
158
+ from: {
159
+ email: "people.ops@example.com",
160
+ name: "People Ops"
161
+ },
162
+ subject: "Offer approved for product designer role",
163
+ body: "The hiring committee approved an offer for the product designer candidate. Please prepare the offer letter and coordinate with recruiting on the start date before we extend it this week.",
164
+ topic: "hiring",
165
+ daysAgo: 2
166
+ },
167
+ {
168
+ from: {
169
+ email: "ines.delgado@example.com",
170
+ name: "Ines Delgado"
171
+ },
172
+ subject: "Panel interview feedback needed",
173
+ body: "Please submit your panel interview feedback for the platform candidate by end of day. We are trying to close out the hiring decision before the candidate's other offer deadline.",
174
+ topic: "hiring",
175
+ daysAgo: 1
176
+ },
177
+ {
178
+ from: {
179
+ email: "ops.oncall@example.com",
180
+ name: "Ops On-Call"
181
+ },
182
+ subject: "Database migration window this weekend",
183
+ body: "The database migration is scheduled for this weekend during the low-traffic window. Expect brief read-only mode while the migration completes; the runbook and rollback plan are linked below.",
184
+ topic: "ops",
185
+ threadId: "db-migration",
186
+ daysAgo: 4
187
+ },
188
+ {
189
+ from: {
190
+ email: "security.team@example.com",
191
+ name: "Security Team"
192
+ },
193
+ subject: "Security audit findings summary",
194
+ body: "The quarterly security audit identified two medium-severity findings, both scheduled for remediation before the next migration cycle. Full details and the incident timeline are in the attached report.",
195
+ topic: "ops",
196
+ daysAgo: 13
197
+ },
198
+ {
199
+ from: {
200
+ email: "ops.oncall@example.com",
201
+ name: "Ops On-Call"
202
+ },
203
+ subject: "Post-incident review: brief outage",
204
+ body: "Following last night's brief outage, the incident review identified a misconfigured cache as root cause. A follow-up migration of the affected service is planned to prevent recurrence.",
205
+ topic: "ops",
206
+ threadId: "db-migration",
207
+ daysAgo: 3
208
+ }
209
+ ];
210
+ //#endregion
211
+ //#region src/Corpus.ts
212
+ var Corpus_exports = /* @__PURE__ */ __exportAll({ SAMPLE_MESSAGES: () => SAMPLE_MESSAGES });
213
+ //#endregion
214
+ export { SAMPLE_MESSAGES as n, Corpus_exports as t };
215
+
216
+ //# sourceMappingURL=chunk-Corpus.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Corpus.mjs","names":[],"sources":["../../../src/corpus/sample-messages.ts","../../../src/Corpus.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n/**\n * A single hand-authored sample message used to seed inbox/search storybooks.\n * Deliberately schema-free (no `@dxos/types`/`@dxos/echo`/`@dxos/schema`) so that\n * `@dxos/plugin-testing` — which does not depend on those packages — can host it.\n */\nexport type SampleMessage = {\n from: { email: string; name: string };\n subject: string;\n body: string;\n topic: 'project' | 'finance' | 'scheduling' | 'hiring' | 'ops';\n /** Optional thread grouping id. */\n threadId?: string;\n /** How many days before \"now\" the message was sent (for deterministic ordering). */\n daysAgo?: number;\n};\n\n/**\n * ~18 realistic sample messages spread across five topics (project, finance,\n * scheduling, hiring, ops). Search terms such as \"invoice\", \"meeting\", \"project\",\n * and \"migration\" are repeated across multiple messages so full-text search\n * storybook demos return multiple hits. Consumed by plugin-inbox and\n * plugin-search storybooks.\n */\nexport const SAMPLE_MESSAGES: SampleMessage[] = [\n {\n from: { email: 'priya.natarajan@example.com', name: 'Priya Natarajan' },\n subject: 'Apollo project kickoff scheduled',\n body: 'The Apollo project kicks off Monday at 10am. Please review the attached roadmap before the meeting so we can agree on the first sprint deadline. This project spans three teams and the deadline for phase one is set for next month.',\n topic: 'project',\n threadId: 'apollo-kickoff',\n daysAgo: 12,\n },\n {\n from: { email: 'marcus.oyelaran@example.com', name: 'Marcus Oyelaran' },\n subject: 'Re: Apollo project kickoff scheduled',\n body: 'Thanks for the summary. I have added the sprint deadline to the shared calendar and flagged two risks in the project plan that need owner sign-off before the release.',\n topic: 'project',\n threadId: 'apollo-kickoff',\n daysAgo: 11,\n },\n {\n from: { email: 'diego.fuentes@example.com', name: 'Diego Fuentes' },\n subject: 'Sprint 14 release notes',\n body: 'Sprint 14 wrapped up yesterday and the release is scheduled for Thursday. The project board shows all critical tickets closed; only the deadline for documentation updates remains open.',\n topic: 'project',\n daysAgo: 8,\n },\n {\n from: { email: 'hannah.liu@example.com', name: 'Hannah Liu' },\n subject: 'Design review moved up',\n body: 'The design review for the onboarding project has been moved up a week to accommodate the release deadline. Please send feedback on the mockups before Friday so the team can finalize the spec.',\n topic: 'project',\n daysAgo: 6,\n },\n {\n from: { email: 'billing@northgate-supplies.com', name: 'Northgate Supplies Billing' },\n subject: 'Invoice #12345 due Friday',\n body: 'This is a reminder that invoice #12345 for office equipment is due Friday. Payment can be made by wire transfer or card; let us know if you need a revised invoice with updated line items.',\n topic: 'finance',\n threadId: 'northgate-invoice',\n daysAgo: 5,\n },\n {\n from: { email: 'accounts@northgate-supplies.com', name: 'Northgate Supplies Accounts' },\n subject: 'Re: Invoice #12345 due Friday',\n body: 'We have received your payment confirmation for invoice #12345. Thank you for the prompt payment; a receipt is attached for your records.',\n topic: 'finance',\n threadId: 'northgate-invoice',\n daysAgo: 4,\n },\n {\n from: { email: 'finance.ops@example.com', name: 'Finance Operations' },\n subject: 'Q3 expense report reminder',\n body: 'Quarterly expense reports are due by the end of the week. Any outstanding reimbursement requests should include the original invoice; late submissions may delay payment processing until next cycle.',\n topic: 'finance',\n daysAgo: 9,\n },\n {\n from: { email: 'sofia.marchetti@example.com', name: 'Sofia Marchetti' },\n subject: 'Vendor contract renewal and payment terms',\n body: 'The vendor contract renewal includes updated payment terms, moving from net-30 to net-45. Please review the redlines and confirm before we send the signed copy back with the next invoice cycle.',\n topic: 'finance',\n daysAgo: 15,\n },\n {\n from: { email: 'grace.kimathi@example.com', name: 'Grace Kimathi' },\n subject: 'Reschedule the design review',\n body: 'Can we reschedule the design review meeting to Wednesday afternoon? A conflicting client meeting came up and I want to make sure the whole team can attend without rushing the agenda.',\n topic: 'scheduling',\n daysAgo: 7,\n },\n {\n from: { email: 'tom.whitfield@example.com', name: 'Tom Whitfield' },\n subject: 'Weekly sync meeting moved to Tuesdays',\n body: 'Starting next week, the weekly sync meeting moves from Monday to Tuesday at 9am. Please update your calendar; the room booking and video link stay the same as the previous schedule.',\n topic: 'scheduling',\n daysAgo: 14,\n },\n {\n from: { email: 'amara.osei@example.com', name: 'Amara Osei' },\n subject: 'All-hands meeting agenda for Friday',\n body: \"Attached is the agenda for Friday's all-hands meeting. We will cover the roadmap update, a hiring update, and open Q&A; please add topics to the shared doc if you would like time on the schedule.\",\n topic: 'scheduling',\n daysAgo: 3,\n },\n {\n from: { email: 'liu.wenjie@example.com', name: 'Liu Wenjie' },\n subject: 'Confirming 1:1 schedule for next month',\n body: 'I would like to confirm our 1:1 schedule for next month stays biweekly on Thursdays. Let me know if you need to reschedule any of the upcoming sessions around the holiday.',\n topic: 'scheduling',\n daysAgo: 20,\n },\n {\n from: { email: 'recruiting@example.com', name: 'Recruiting Team' },\n subject: 'Interview loop for the backend candidate',\n body: 'We have scheduled the interview loop for the backend candidate for next Tuesday: system design, coding, and a hiring manager chat. Please confirm your interview slot and submit feedback within 24 hours.',\n topic: 'hiring',\n threadId: 'backend-candidate',\n daysAgo: 10,\n },\n {\n from: { email: 'noah.bergstrom@example.com', name: 'Noah Bergstrom' },\n subject: 'Re: Interview loop for the backend candidate',\n body: 'I finished my interview with the candidate this morning. Strong signal on system design; recommend we move to the hire decision quickly before another offer comes in.',\n topic: 'hiring',\n threadId: 'backend-candidate',\n daysAgo: 9,\n },\n {\n from: { email: 'people.ops@example.com', name: 'People Ops' },\n subject: 'Offer approved for product designer role',\n body: 'The hiring committee approved an offer for the product designer candidate. Please prepare the offer letter and coordinate with recruiting on the start date before we extend it this week.',\n topic: 'hiring',\n daysAgo: 2,\n },\n {\n from: { email: 'ines.delgado@example.com', name: 'Ines Delgado' },\n subject: 'Panel interview feedback needed',\n body: \"Please submit your panel interview feedback for the platform candidate by end of day. We are trying to close out the hiring decision before the candidate's other offer deadline.\",\n topic: 'hiring',\n daysAgo: 1,\n },\n {\n from: { email: 'ops.oncall@example.com', name: 'Ops On-Call' },\n subject: 'Database migration window this weekend',\n body: 'The database migration is scheduled for this weekend during the low-traffic window. Expect brief read-only mode while the migration completes; the runbook and rollback plan are linked below.',\n topic: 'ops',\n threadId: 'db-migration',\n daysAgo: 4,\n },\n {\n from: { email: 'security.team@example.com', name: 'Security Team' },\n subject: 'Security audit findings summary',\n body: 'The quarterly security audit identified two medium-severity findings, both scheduled for remediation before the next migration cycle. Full details and the incident timeline are in the attached report.',\n topic: 'ops',\n daysAgo: 13,\n },\n {\n from: { email: 'ops.oncall@example.com', name: 'Ops On-Call' },\n subject: 'Post-incident review: brief outage',\n body: \"Following last night's brief outage, the incident review identified a misconfigured cache as root cause. A follow-up migration of the affected service is planned to prevent recurrence.\",\n topic: 'ops',\n threadId: 'db-migration',\n daysAgo: 3,\n },\n];\n","//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nexport * from './corpus/index.ts';\n"],"mappings":";;;;;;;;;AA2BA,IAAa,kBAAmC;CAC9C;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAAkC,MAAM;EAA6B;EACpF,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAAmC,MAAM;EAA8B;EACtF,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA2B,MAAM;EAAqB;EACrE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAkB;EACjE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA8B,MAAM;EAAiB;EACpE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA4B,MAAM;EAAe;EAChE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAc;EAC7D,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAc;EAC7D,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;AACF"}
1
+ {"version":3,"file":"chunk-Corpus.mjs","names":[],"sources":["../../src/corpus/sample-messages.ts","../../src/Corpus.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n/**\n * A single hand-authored sample message used to seed inbox/search storybooks.\n * Deliberately schema-free (no `@dxos/types`/`@dxos/echo`/`@dxos/schema`) so that\n * `@dxos/plugin-testing` — which does not depend on those packages — can host it.\n */\nexport type SampleMessage = {\n from: { email: string; name: string };\n subject: string;\n body: string;\n topic: 'project' | 'finance' | 'scheduling' | 'hiring' | 'ops';\n /** Optional thread grouping id. */\n threadId?: string;\n /** How many days before \"now\" the message was sent (for deterministic ordering). */\n daysAgo?: number;\n};\n\n/**\n * ~18 realistic sample messages spread across five topics (project, finance,\n * scheduling, hiring, ops). Search terms such as \"invoice\", \"meeting\", \"project\",\n * and \"migration\" are repeated across multiple messages so full-text search\n * storybook demos return multiple hits. Consumed by plugin-inbox and\n * plugin-search storybooks.\n */\nexport const SAMPLE_MESSAGES: SampleMessage[] = [\n {\n from: { email: 'priya.natarajan@example.com', name: 'Priya Natarajan' },\n subject: 'Apollo project kickoff scheduled',\n body: 'The Apollo project kicks off Monday at 10am. Please review the attached roadmap before the meeting so we can agree on the first sprint deadline. This project spans three teams and the deadline for phase one is set for next month.',\n topic: 'project',\n threadId: 'apollo-kickoff',\n daysAgo: 12,\n },\n {\n from: { email: 'marcus.oyelaran@example.com', name: 'Marcus Oyelaran' },\n subject: 'Re: Apollo project kickoff scheduled',\n body: 'Thanks for the summary. I have added the sprint deadline to the shared calendar and flagged two risks in the project plan that need owner sign-off before the release.',\n topic: 'project',\n threadId: 'apollo-kickoff',\n daysAgo: 11,\n },\n {\n from: { email: 'diego.fuentes@example.com', name: 'Diego Fuentes' },\n subject: 'Sprint 14 release notes',\n body: 'Sprint 14 wrapped up yesterday and the release is scheduled for Thursday. The project board shows all critical tickets closed; only the deadline for documentation updates remains open.',\n topic: 'project',\n daysAgo: 8,\n },\n {\n from: { email: 'hannah.liu@example.com', name: 'Hannah Liu' },\n subject: 'Design review moved up',\n body: 'The design review for the onboarding project has been moved up a week to accommodate the release deadline. Please send feedback on the mockups before Friday so the team can finalize the spec.',\n topic: 'project',\n daysAgo: 6,\n },\n {\n from: { email: 'billing@northgate-supplies.com', name: 'Northgate Supplies Billing' },\n subject: 'Invoice #12345 due Friday',\n body: 'This is a reminder that invoice #12345 for office equipment is due Friday. Payment can be made by wire transfer or card; let us know if you need a revised invoice with updated line items.',\n topic: 'finance',\n threadId: 'northgate-invoice',\n daysAgo: 5,\n },\n {\n from: { email: 'accounts@northgate-supplies.com', name: 'Northgate Supplies Accounts' },\n subject: 'Re: Invoice #12345 due Friday',\n body: 'We have received your payment confirmation for invoice #12345. Thank you for the prompt payment; a receipt is attached for your records.',\n topic: 'finance',\n threadId: 'northgate-invoice',\n daysAgo: 4,\n },\n {\n from: { email: 'finance.ops@example.com', name: 'Finance Operations' },\n subject: 'Q3 expense report reminder',\n body: 'Quarterly expense reports are due by the end of the week. Any outstanding reimbursement requests should include the original invoice; late submissions may delay payment processing until next cycle.',\n topic: 'finance',\n daysAgo: 9,\n },\n {\n from: { email: 'sofia.marchetti@example.com', name: 'Sofia Marchetti' },\n subject: 'Vendor contract renewal and payment terms',\n body: 'The vendor contract renewal includes updated payment terms, moving from net-30 to net-45. Please review the redlines and confirm before we send the signed copy back with the next invoice cycle.',\n topic: 'finance',\n daysAgo: 15,\n },\n {\n from: { email: 'grace.kimathi@example.com', name: 'Grace Kimathi' },\n subject: 'Reschedule the design review',\n body: 'Can we reschedule the design review meeting to Wednesday afternoon? A conflicting client meeting came up and I want to make sure the whole team can attend without rushing the agenda.',\n topic: 'scheduling',\n daysAgo: 7,\n },\n {\n from: { email: 'tom.whitfield@example.com', name: 'Tom Whitfield' },\n subject: 'Weekly sync meeting moved to Tuesdays',\n body: 'Starting next week, the weekly sync meeting moves from Monday to Tuesday at 9am. Please update your calendar; the room booking and video link stay the same as the previous schedule.',\n topic: 'scheduling',\n daysAgo: 14,\n },\n {\n from: { email: 'amara.osei@example.com', name: 'Amara Osei' },\n subject: 'All-hands meeting agenda for Friday',\n body: \"Attached is the agenda for Friday's all-hands meeting. We will cover the roadmap update, a hiring update, and open Q&A; please add topics to the shared doc if you would like time on the schedule.\",\n topic: 'scheduling',\n daysAgo: 3,\n },\n {\n from: { email: 'liu.wenjie@example.com', name: 'Liu Wenjie' },\n subject: 'Confirming 1:1 schedule for next month',\n body: 'I would like to confirm our 1:1 schedule for next month stays biweekly on Thursdays. Let me know if you need to reschedule any of the upcoming sessions around the holiday.',\n topic: 'scheduling',\n daysAgo: 20,\n },\n {\n from: { email: 'recruiting@example.com', name: 'Recruiting Team' },\n subject: 'Interview loop for the backend candidate',\n body: 'We have scheduled the interview loop for the backend candidate for next Tuesday: system design, coding, and a hiring manager chat. Please confirm your interview slot and submit feedback within 24 hours.',\n topic: 'hiring',\n threadId: 'backend-candidate',\n daysAgo: 10,\n },\n {\n from: { email: 'noah.bergstrom@example.com', name: 'Noah Bergstrom' },\n subject: 'Re: Interview loop for the backend candidate',\n body: 'I finished my interview with the candidate this morning. Strong signal on system design; recommend we move to the hire decision quickly before another offer comes in.',\n topic: 'hiring',\n threadId: 'backend-candidate',\n daysAgo: 9,\n },\n {\n from: { email: 'people.ops@example.com', name: 'People Ops' },\n subject: 'Offer approved for product designer role',\n body: 'The hiring committee approved an offer for the product designer candidate. Please prepare the offer letter and coordinate with recruiting on the start date before we extend it this week.',\n topic: 'hiring',\n daysAgo: 2,\n },\n {\n from: { email: 'ines.delgado@example.com', name: 'Ines Delgado' },\n subject: 'Panel interview feedback needed',\n body: \"Please submit your panel interview feedback for the platform candidate by end of day. We are trying to close out the hiring decision before the candidate's other offer deadline.\",\n topic: 'hiring',\n daysAgo: 1,\n },\n {\n from: { email: 'ops.oncall@example.com', name: 'Ops On-Call' },\n subject: 'Database migration window this weekend',\n body: 'The database migration is scheduled for this weekend during the low-traffic window. Expect brief read-only mode while the migration completes; the runbook and rollback plan are linked below.',\n topic: 'ops',\n threadId: 'db-migration',\n daysAgo: 4,\n },\n {\n from: { email: 'security.team@example.com', name: 'Security Team' },\n subject: 'Security audit findings summary',\n body: 'The quarterly security audit identified two medium-severity findings, both scheduled for remediation before the next migration cycle. Full details and the incident timeline are in the attached report.',\n topic: 'ops',\n daysAgo: 13,\n },\n {\n from: { email: 'ops.oncall@example.com', name: 'Ops On-Call' },\n subject: 'Post-incident review: brief outage',\n body: \"Following last night's brief outage, the incident review identified a misconfigured cache as root cause. A follow-up migration of the affected service is planned to prevent recurrence.\",\n topic: 'ops',\n threadId: 'db-migration',\n daysAgo: 3,\n },\n];\n","//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nexport * from './corpus/index.ts';\n"],"mappings":";;;;;;;;;AA2BA,IAAa,kBAAmC;CAC9C;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAAkC,MAAM;EAA6B;EACpF,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAAmC,MAAM;EAA8B;EACtF,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA2B,MAAM;EAAqB;EACrE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA+B,MAAM;EAAkB;EACtE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAkB;EACjE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA8B,MAAM;EAAiB;EACpE,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAa;EAC5D,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA4B,MAAM;EAAe;EAChE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAc;EAC7D,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA6B,MAAM;EAAgB;EAClE,SAAS;EACT,MAAM;EACN,OAAO;EACP,SAAS;CACX;CACA;EACE,MAAM;GAAE,OAAO;GAA0B,MAAM;EAAc;EAC7D,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;EACV,SAAS;CACX;AACF"}
@@ -0,0 +1,47 @@
1
+ import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
+ import * as ProcessManagerPlugin from "@dxos/app-framework/ProcessManagerPlugin";
3
+ import { AttentionPlugin } from "@dxos/plugin-attention/testing";
4
+ import { GraphPlugin } from "@dxos/plugin-graph/testing";
5
+ import { SettingsPlugin } from "@dxos/plugin-settings/testing";
6
+ import { createTestApp } from "@dxos/app-framework/testing";
7
+ //#region src/Harness.ts
8
+ var Harness_exports = /* @__PURE__ */ __exportAll({ createComposerTestApp: () => createComposerTestApp });
9
+ /**
10
+ * Headless core plugins for the test harness — the subset of `corePlugins()`
11
+ * that can be activated without a browser DOM.
12
+ */
13
+ var headlessCorePlugins = () => [
14
+ AttentionPlugin.make(),
15
+ GraphPlugin.make(),
16
+ ProcessManagerPlugin.make(),
17
+ SettingsPlugin.make()
18
+ ];
19
+ /**
20
+ * Creates a TestHarness pre-loaded with the Composer core plugins
21
+ * (Attention, Graph, ProcessManager, Settings, optionally Theme).
22
+ *
23
+ * For a ClientPlugin-backed harness, pass `ClientPlugin.make({ ... })` via `plugins`.
24
+ *
25
+ * @idiom org.dxos.plugin-testing.pluginModuleActivation
26
+ * applies: Writing a basic activation smoke-test for any Composer plugin
27
+ * instead-of: Manually inspecting PluginManager internals or relying on e2e tests for activation checks
28
+ * uses: {@link createComposerTestApp}, {@link AppActivationEvents}
29
+ * related: org.dxos.app-framework.testing.operationCapture
30
+ */
31
+ var createComposerTestApp = async (opts = {}) => {
32
+ const { plugins = [], theme = false, ...rest } = opts;
33
+ const core = headlessCorePlugins();
34
+ if (theme) {
35
+ const { ThemePlugin } = await import("@dxos/plugin-theme/testing");
36
+ const { defaultTx } = await import("@dxos/react-ui/Theme");
37
+ core.push(ThemePlugin.make({ tx: defaultTx }));
38
+ }
39
+ return createTestApp({
40
+ ...rest,
41
+ plugins: [...core, ...plugins]
42
+ });
43
+ };
44
+ //#endregion
45
+ export { createComposerTestApp as n, Harness_exports as t };
46
+
47
+ //# sourceMappingURL=chunk-Harness.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-Harness.mjs","names":[],"sources":["../../src/Harness.ts"],"sourcesContent":["//\n// Copyright 2026 DXOS.org\n//\n\n// @import-as-namespace\n\nimport type * as Plugin from '@dxos/app-framework/Plugin';\nimport * as ProcessManagerPlugin from '@dxos/app-framework/ProcessManagerPlugin';\nimport { type TestAppOptions, type TestHarness, createTestApp } from '@dxos/app-framework/testing';\nimport { AttentionPlugin } from '@dxos/plugin-attention/testing';\nimport { GraphPlugin } from '@dxos/plugin-graph/testing';\nimport { SettingsPlugin } from '@dxos/plugin-settings/testing';\n\nexport type ComposerTestAppOptions = Omit<TestAppOptions, 'plugins'> & {\n /** Plugins to register in addition to the Composer core plugins. */\n plugins?: Plugin.Plugin[];\n /**\n * Whether to include `ThemePlugin` in the core plugin set.\n * Defaults to `false` — `ThemePlugin` requires a browser DOM and breaks Node-only tests.\n * Set to `true` (with jsdom/happy-dom) when rendering React surfaces.\n */\n theme?: boolean;\n};\n\n/**\n * Headless core plugins for the test harness — the subset of `corePlugins()`\n * that can be activated without a browser DOM.\n */\nconst headlessCorePlugins = (): Plugin.Plugin[] => [\n AttentionPlugin.make(),\n GraphPlugin.make(),\n ProcessManagerPlugin.make(),\n SettingsPlugin.make(),\n];\n\n/**\n * Creates a TestHarness pre-loaded with the Composer core plugins\n * (Attention, Graph, ProcessManager, Settings, optionally Theme).\n *\n * For a ClientPlugin-backed harness, pass `ClientPlugin.make({ ... })` via `plugins`.\n *\n * @idiom org.dxos.plugin-testing.pluginModuleActivation\n * applies: Writing a basic activation smoke-test for any Composer plugin\n * instead-of: Manually inspecting PluginManager internals or relying on e2e tests for activation checks\n * uses: {@link createComposerTestApp}, {@link AppActivationEvents}\n * related: org.dxos.app-framework.testing.operationCapture\n */\nexport const createComposerTestApp = async (opts: ComposerTestAppOptions = {}): Promise<TestHarness> => {\n const { plugins = [], theme = false, ...rest } = opts;\n const core = headlessCorePlugins();\n if (theme) {\n const { ThemePlugin } = await import('@dxos/plugin-theme/testing');\n const { defaultTx } = await import('@dxos/react-ui/Theme');\n core.push(ThemePlugin.make({ tx: defaultTx }));\n }\n return createTestApp({\n ...rest,\n plugins: [...core, ...plugins],\n });\n};\n"],"mappings":";;;;;;;;;;;;AA4BA,IAAM,4BAA6C;CACjD,gBAAgB,KAAK;CACrB,YAAY,KAAK;CACjB,qBAAqB,KAAK;CAC1B,eAAe,KAAK;AACtB;;;;;;;;;;;;;AAcA,IAAa,wBAAwB,OAAO,OAA+B,CAAC,MAA4B;CACtG,MAAM,EAAE,UAAU,CAAC,GAAG,QAAQ,OAAO,GAAG,SAAS;CACjD,MAAM,OAAO,oBAAoB;CACjC,IAAI,OAAO;EACT,MAAM,EAAE,gBAAgB,MAAM,OAAO;EACrC,MAAM,EAAE,cAAc,MAAM,OAAO;EACnC,KAAK,KAAK,YAAY,KAAK,EAAE,IAAI,UAAU,CAAC,CAAC;CAC/C;CACA,OAAO,cAAc;EACnB,GAAG;EACH,SAAS,CAAC,GAAG,MAAM,GAAG,OAAO;CAC/B,CAAC;AACH"}
@@ -0,0 +1,10 @@
1
+ import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
+ import * as Capability from "@dxos/app-framework/Capability";
3
+ import { meta } from "#meta";
4
+ //#region src/types/StorybookCapabilities.ts
5
+ var StorybookCapabilities_exports = /* @__PURE__ */ __exportAll({ LayoutState: () => LayoutState });
6
+ var LayoutState = Capability.makeSingleton()(`${meta.profile.key}.state`);
7
+ //#endregion
8
+ export { StorybookCapabilities_exports as n, LayoutState as t };
9
+
10
+ //# sourceMappingURL=chunk-StorybookCapabilities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-StorybookCapabilities.mjs","names":[],"sources":["../../src/types/StorybookCapabilities.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\n// @import-as-namespace\n\nimport type * as Atom from 'effect/reactivity/Atom';\n\nimport * as Capability from '@dxos/app-framework/Capability';\nimport type * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';\nimport type * as Theme from '@dxos/react-ui/Theme';\n\nimport { meta } from '#meta';\n\nexport type LayoutStateProps = {\n sidebarState?: 'expanded' | 'collapsed' | 'closed';\n complementarySidebarState?: 'expanded' | 'collapsed' | 'closed';\n\n dialogOpen: boolean;\n dialogType?: 'default' | 'alert';\n dialogBlockAlign?: 'start' | 'center' | 'end';\n dialogOverlayClasses?: string;\n dialogOverlayStyle?: Record<string, any>;\n /** Data to be passed to the dialog Surface. */\n dialogContent?: any;\n\n popoverOpen?: boolean;\n popoverSide?: 'top' | 'right' | 'bottom' | 'left';\n popoverVariant?: 'virtual' | 'react';\n popoverAnchor?: HTMLButtonElement;\n popoverAnchorId?: string;\n popoverKind?: 'base' | 'card' | 'rename';\n popoverTitle?: Theme.Label;\n popoverContent?: any;\n\n toasts: LayoutOperation.Toast[];\n\n workspace: string;\n};\n\nexport const LayoutState = Capability.makeSingleton<Atom.Writable<LayoutStateProps>>()(`${meta.profile.key}.state`);\n"],"mappings":";;;;;AAwCA,IAAa,cAAc,WAAW,cAA+C,CAAC,CAAC,GAAG,KAAK,QAAQ,IAAI,OAAO"}
@@ -0,0 +1,19 @@
1
+ import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
+ import { meta } from "#meta";
3
+ import { StorybookPlugin } from "#plugin";
4
+ //#region src/StorybookPlugin.ts
5
+ var StorybookPlugin_exports = /* @__PURE__ */ __exportAll({
6
+ make: () => make,
7
+ meta: () => meta$1
8
+ });
9
+ /** Plugin metadata, available without loading the plugin body. */
10
+ var meta$1 = meta;
11
+ /**
12
+ * Constructs the plugin. Eager by design: storybook runs under vite-dev, where webkit
13
+ * cannot reliably settle the lazy stub's dynamic import (see `./core.ts`).
14
+ */
15
+ var make = StorybookPlugin;
16
+ //#endregion
17
+ export { make as n, meta$1 as r, StorybookPlugin_exports as t };
18
+
19
+ //# sourceMappingURL=chunk-StorybookPlugin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-StorybookPlugin.mjs","names":["meta","pluginMeta"],"sources":["../../src/StorybookPlugin.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\n// @import-as-namespace\n\nimport { meta as pluginMeta } from '#meta';\nimport { StorybookPlugin } from '#plugin';\n\n/** Plugin metadata, available without loading the plugin body. */\nexport const meta = pluginMeta;\n\n/**\n * Constructs the plugin. Eager by design: storybook runs under vite-dev, where webkit\n * cannot reliably settle the lazy stub's dynamic import (see `./core.ts`).\n */\nexport const make = StorybookPlugin;\n\nexport type { StorybookPluginOptions } from '#plugin';\n"],"mappings":";;;;;;;;;AAUA,IAAaA,SAAOC;;;;;AAMpB,IAAa,OAAO"}
@@ -1,47 +1 @@
1
- import { t as __exportAll } from "./chunk-rolldown-runtime.mjs";
2
- import * as ProcessManagerPlugin from "@dxos/app-framework/ProcessManagerPlugin";
3
- import { AttentionPlugin } from "@dxos/plugin-attention/testing";
4
- import { GraphPlugin } from "@dxos/plugin-graph/testing";
5
- import { SettingsPlugin } from "@dxos/plugin-settings/testing";
6
- import { createTestApp } from "@dxos/app-framework/testing";
7
- //#region src/Harness.ts
8
- var Harness_exports = /* @__PURE__ */ __exportAll({ createComposerTestApp: () => createComposerTestApp });
9
- /**
10
- * Headless core plugins for the test harness — the subset of `corePlugins()`
11
- * that can be activated without a browser DOM.
12
- */
13
- var headlessCorePlugins = () => [
14
- AttentionPlugin.make(),
15
- GraphPlugin.make(),
16
- ProcessManagerPlugin.make(),
17
- SettingsPlugin.make()
18
- ];
19
- /**
20
- * Creates a TestHarness pre-loaded with the Composer core plugins
21
- * (Attention, Graph, ProcessManager, Settings, optionally Theme).
22
- *
23
- * For a ClientPlugin-backed harness, pass `ClientPlugin.make({ ... })` via `plugins`.
24
- *
25
- * @idiom org.dxos.plugin-testing.pluginModuleActivation
26
- * applies: Writing a basic activation smoke-test for any Composer plugin
27
- * instead-of: Manually inspecting PluginManager internals or relying on e2e tests for activation checks
28
- * uses: {@link createComposerTestApp}, {@link AppActivationEvents}
29
- * related: org.dxos.app-framework.testing.operationCapture
30
- */
31
- var createComposerTestApp = async (opts = {}) => {
32
- const { plugins = [], theme = false, ...rest } = opts;
33
- const core = headlessCorePlugins();
34
- if (theme) {
35
- const { ThemePlugin } = await import("@dxos/plugin-theme/testing");
36
- const { defaultTx } = await import("@dxos/react-ui/Theme");
37
- core.push(ThemePlugin.make({ tx: defaultTx }));
38
- }
39
- return createTestApp({
40
- ...rest,
41
- plugins: [...core, ...plugins]
42
- });
43
- };
44
- //#endregion
45
- export { createComposerTestApp, Harness_exports as t };
46
-
47
- //# sourceMappingURL=harness.mjs.map
1
+ export { n as createComposerTestApp } from "./chunk-Harness.mjs";
@@ -1,6 +1,6 @@
1
- import { t as CorePlugins_exports } from "./ns/CorePlugins.mjs";
2
- import { t as Corpus_exports } from "./ns/Corpus.mjs";
3
- import { t as StorybookPlugin_exports } from "./StorybookPlugin.mjs";
4
- import { t as Harness_exports } from "./harness.mjs";
1
+ import { t as CorePlugins_exports } from "./chunk-CorePlugins.mjs";
2
+ import { t as Corpus_exports } from "./chunk-Corpus.mjs";
3
+ import { t as StorybookPlugin_exports } from "./chunk-StorybookPlugin.mjs";
4
+ import { t as Harness_exports } from "./chunk-Harness.mjs";
5
5
  export * from "#types";
6
6
  export { CorePlugins_exports as CorePlugins, Corpus_exports as Corpus, Harness_exports as Harness, StorybookPlugin_exports as StorybookPlugin };
@@ -1 +1 @@
1
- {"version":3,"file":"meta.mjs","names":[],"sources":["../../dx.config.ts","../../src/meta.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Config2 } from '@dxos/app-framework/config';\nimport { trim } from '@dxos/util';\n\nexport default Config2.make({\n plugin: {\n key: 'org.dxos.plugin.storybookLayout',\n name: 'Storybook',\n author: 'DXOS',\n description: trim`\n Development layout optimized for Storybook component testing and documentation.\n Provides specialized views for component development and design system exploration.\n `,\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-testing',\n tags: ['labs'],\n },\n});\n","//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Plugin from '@dxos/app-framework/Plugin';\n\nimport config from '../dx.config.ts';\n\nexport const meta = Plugin.getMetaFromConfig(config);\n"],"mappings":";;;;AAOA,IAAA,oBAAe,QAAQ,KAAK,EAC1B,QAAQ;CACN,KAAK;CACL,MAAM;CACN,QAAQ;CACR,aAAa,IAAI;;;;CAIjB,QAAQ;CACR,MAAM,CAAC,MAAM;AACf,EACF,CAAC;;;ACXD,IAAa,OAAO,OAAO,kBAAkB,iBAAM"}
1
+ {"version":3,"file":"meta.mjs","names":["config"],"sources":["../../dx.config.ts","../../src/meta.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Config2 } from '@dxos/app-framework/config';\nimport { trim } from '@dxos/util';\n\nexport default Config2.make({\n plugin: {\n key: 'org.dxos.plugin.storybookLayout',\n name: 'Storybook',\n author: 'DXOS',\n description: trim`\n Development layout optimized for Storybook component testing and documentation.\n Provides specialized views for component development and design system exploration.\n `,\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-testing',\n tags: ['labs'],\n },\n});\n","//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Plugin from '@dxos/app-framework/Plugin';\n\nimport config from '../dx.config.ts';\n\nexport const meta = Plugin.getMetaFromConfig(config);\n"],"mappings":";;;;AAOA,IAAA,oBAAe,QAAQ,KAAK,EAC1B,QAAQ;CACN,KAAK;CACL,MAAM;CACN,QAAQ;CACR,aAAa,IAAI;;;;CAIjB,QAAQ;CACR,MAAM,CAAC,MAAM;AACf,EACF,CAAC;;;ACXD,IAAa,OAAO,OAAO,kBAAkBA,iBAAM"}
@@ -1,8 +1,2 @@
1
- import { t as __exportAll } from "../chunk-rolldown-runtime.mjs";
2
- import { corePlugins } from "../core.mjs";
3
- //#region src/CorePlugins.ts
4
- var CorePlugins_exports = /* @__PURE__ */ __exportAll({ make: () => corePlugins });
5
- //#endregion
6
- export { corePlugins as make, CorePlugins_exports as t };
7
-
8
- //# sourceMappingURL=CorePlugins.mjs.map
1
+ export { corePlugins as make } from "../core.mjs";
2
+ import "../chunk-CorePlugins.mjs";